using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FrameworkDAL.DTO.MessageHub.MessageHubGenerator { // ============================================================ // INTERFACE FOR CELITIX & META // ============================================================ public interface IWhatsAppSettings { string BaseUrl { get; } string Key { get; } string WabaNumber { get; } string MessageEndpoint { get; } string PlatformName { get; } } // ============================================================ // CELITIX SETTINGS // ============================================================ public class CelitixSettings : IWhatsAppSettings { public string Enable { get; set; } public string BaseUrl { get; set; } public string MessageEndpoint { get; set; } public string WabaNumber { get; set; } public string Key { get; set; } public string ContentType { get; set; } public string WebhookSecret { get; set; } public string PlatformName { get; set; } = "Celitix"; public string? KeyHeaderName { get; set; } public string? WabaNumberHeaderName { get; set; } } // ============================================================ // META SETTINGS // ============================================================ public class MetaSettings : IWhatsAppSettings { public string Enable { get; set; } public string BaseUrl { get; set; } public string MessageEndpoint { get; set; } public string WabaNumber { get; set; } // optional public string Key { get; set; } public string HeaderName { get; set; } public string ContentType { get; set; } public string PlatformName { get; set; } = "Meta"; public object PhoneNumberId { get; set; } public string? AuthToken { get; set; } public string? DefaultTemplateName { get; set; } public string? DefaultLanguageCode { get; set; } } }