1
0
mirror of https://github.com/bitwarden/server synced 2026-01-04 09:33:40 +00:00

[EC-307] Fresh desk custom fields integration (#2114)

* Using correct ILogger on FreshdeskController

* Submitting custom fields to Freshdesk

* Set up FreshdeskController to use IHttpClientFactory

* Added unit test for FreshdeskController

* Moved ControllerCustomizeAttribute and ControllerCustomization to Common

* Modified FreshdeskController to use FreshdeskWebhookModel; Edited unit tests to use AutoFixture
This commit is contained in:
Rui Tomé
2022-07-15 17:10:56 +01:00
committed by GitHub
parent 448e255fb6
commit 6e19bfeb22
10 changed files with 140 additions and 42 deletions

View File

@@ -0,0 +1,16 @@
using System.Text.Json.Serialization;
namespace Bit.Billing.Models
{
public class FreshdeskWebhookModel
{
[JsonPropertyName("ticket_id")]
public string TicketId { get; set; }
[JsonPropertyName("ticket_contact_email")]
public string TicketContactEmail { get; set; }
[JsonPropertyName("ticket_tags")]
public string TicketTags { get; set; }
}
}