/* Options: Date: 2025-12-06 06:17:11 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://galaxymobile.api.client.prod.86degrees.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateSubscription.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class ApiServiceRequest implements IServiceRequest, IHasApiKey { /** @description The API Key required for authentication */ // @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true) public ApiKey: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IServiceRequest { } export interface IHasApiKey { ApiKey: string; } export enum WebhookSubscriptionEventType { MessageReceived = 1, } export interface ILogRequest { } export interface IServiceResponse { WasSuccessful: boolean; Description: string; Heading: string; } export class ApiServiceResponse implements IServiceResponse { public Description: string; public Heading: string; public WasSuccessful: boolean; public ModelState: Object; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/subscription", "PUT") // @Route("/subscription/{EventType}", "PUT") export class UpdateSubscription extends ApiServiceRequest implements IReturn, ILogRequest { /** @description The event type being subscribed to */ // @ApiMember(Description="The event type being subscribed to", IsRequired=true) public EventType: WebhookSubscriptionEventType; /** @description The URL we should post the event data to */ // @ApiMember(Description="The URL we should post the event data to", IsRequired=true) public SubscriptionUrl: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'UpdateSubscription'; } public getMethod() { return 'PUT'; } public createResponse() { return new ApiServiceResponse(); } }