/* Options: Date: 2025-01-18 06:59:02 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetWebhookEndpoint.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class WebhookEndpoint { public Description: string; public Url: string; public Id: string; public Disabled: boolean; public EventTypes: string[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/webhook/endpoints/{Id}", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") export class GetWebhookEndpoint implements IReturn, ICompany { /** @description The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.", IsRequired=true, ParameterType="query") public CompanyId: string; /** @description The ID of the webhook endpoint. */ // @ApiMember(Description="The ID of the webhook endpoint.", IsRequired=true, ParameterType="path") public Id: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetWebhookEndpoint'; } public getMethod() { return 'GET'; } public createResponse() { return new WebhookEndpoint(); } }