/* Options: Date: 2025-01-18 08:39:50 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: ListWebhookMessages.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export enum Ordering { Ascending = 'ascending', Descending = 'descending', } export class ClientWebhookRequestBase { public ClientId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ListMessagesRequestDto extends ClientWebhookRequestBase { public Before?: string; public After?: string; public Channel?: string; public Iterator?: string; public Limit?: number; public Order?: Ordering; public EventTypes?: string[]; public WithContent?: boolean; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class ListMessagesResponseDto { public Data: GetMessageResponseDto[]; public Done: boolean; public Iterator: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/webhook/messages", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") export class ListWebhookMessages extends ListMessagesRequestDto 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; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'ListWebhookMessages'; } public getMethod() { return 'GET'; } public createResponse() { return new ListMessagesResponseDto(); } }