2025-07-08 11:46:24 -04:00
|
|
|
|
// FIXME: Update this file to be null safe and then delete the line below
|
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
|
|
|
|
using System.Text.Json.Serialization;
|
2022-07-15 17:10:56 +01:00
|
|
|
|
|
|
|
|
|
|
namespace Bit.Billing.Models;
|
2022-08-29 16:06:55 -04:00
|
|
|
|
|
2022-07-15 17:10:56 +01:00
|
|
|
|
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; }
|
|
|
|
|
|
}
|
2025-07-10 08:34:45 -05:00
|
|
|
|
|
|
|
|
|
|
public class FreshdeskOnyxAiWebhookModel : FreshdeskWebhookModel
|
|
|
|
|
|
{
|
|
|
|
|
|
[JsonPropertyName("ticket_description_text")]
|
|
|
|
|
|
public string TicketDescriptionText { get; set; }
|
|
|
|
|
|
}
|