/* Options: Date: 2026-02-22 02:44:20 Version: 10.05 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: ListWebhookEndpointAttempts.* //ExcludeTypes: //DefaultImports: */ // @ts-nocheck export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class WebhookMessageAttempt { public Id: string; public MessageId: string; public EndpointId: string; public Url: string; public Status: string; public ResponseStatusCode?: number; public Timestamp: string; public TriggerType: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ListMessageAttemptsResponse { public Attempts: WebhookMessageAttempt[] = []; public Done: boolean; public Iterator?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/webhook/endpoints/{EndpointId}/attempts", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") export class ListWebhookEndpointAttempts 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 EndpointId: string; /** @description Pagination iterator. */ // @ApiMember(Description="Pagination iterator.") public Iterator?: string; /** @description Maximum number of attempts to return. */ // @ApiMember(Description="Maximum number of attempts to return.") public Limit?: number; /** @description Filter by message status. 0 = Success, 1 = Pending, 2 = Fail, 3 = Sending. */ // @ApiMember(Description="Filter by message status. 0 = Success, 1 = Pending, 2 = Fail, 3 = Sending.") public Status?: number; /** @description Filter by event types. */ // @ApiMember(Description="Filter by event types.") public EventTypes?: string[]; /** @description Filter attempts before this date. */ // @ApiMember(Description="Filter attempts before this date.") public Before?: string; /** @description Filter attempts after this date. */ // @ApiMember(Description="Filter attempts after this date.") public After?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'ListWebhookEndpointAttempts'; } public getMethod() { return 'GET'; } public createResponse() { return new ListMessageAttemptsResponse(); } }