/* Options: Date: 2025-12-06 06:22:04 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://1fetch.api.client.prod.86degrees.com //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: SubscriptionEvents.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using WebService.ClientServiceModel.Base; using CommonService.Api.Operations.Base; using CommonService.Api.Operations; using BusinessLogic.Entities; using WebService.ClientServiceModel; namespace BusinessLogic.Entities { public enum WebhookSubscriptionEventType { DriverOnTheWay = 0, ArrivedAtWaypoint = 1, DepartedWaypoint = 2, OrderCompleted = 3, OrderCancelled = 4, } } namespace CommonService.Api.Operations { public partial interface IHasApiKey { string ApiKey { get; set; } } } namespace CommonService.Api.Operations.Base { public partial interface IServiceRequest { } } namespace WebService.ClientServiceModel { [Route("/subscription/events", "GET")] public partial class SubscriptionEvents : ApiServiceRequest, IReturn { } public partial class SubscriptionEventsDescription { public virtual WebhookSubscriptionEventType EventType { get; set; } public virtual string EventName { get; set; } public virtual string EventDescription { get; set; } } public partial class SubscriptionEventsResponse : ApiServiceResponse { public SubscriptionEventsResponse() { SubscriptionEventsDescriptions = new List{}; } public virtual List SubscriptionEventsDescriptions { get; set; } } } namespace WebService.ClientServiceModel.Base { public partial class ApiServiceRequest : IServiceRequest, IHasApiKey { /// ///The API Key required for authentication /// [ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true)] public virtual string ApiKey { get; set; } } public partial class ApiServiceResponse : IServiceResponse { /// ///Information about the response. /// [ApiMember(Description="Information about the response.", IsRequired=true)] public virtual string Description { get; set; } /// ///Heading or summary of the response. /// [ApiMember(Description="Heading or summary of the response.", IsRequired=true)] public virtual string Heading { get; set; } /// ///Did the intended operation for this response complete successfully? /// [ApiMember(DataType="boolean", Description="Did the intended operation for this response complete successfully?", IsRequired=true)] public virtual bool WasSuccessful { get; set; } } }