/* Options: Date: 2024-11-21 11:59:18 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: ExportReport.* //ExcludeTypes: //DefaultImports: */ export enum SendReceiptMethod { Email = 1, PdfExport = 2, } // @Route("/bookings/{BookingId}/reports/{ReportId}", "GET") // @ValidateRequest(Validator="IsAuthenticated") export class ExportReport { /** @description Id of the booking */ // @ApiMember(Description="Id of the booking", IsRequired=true, ParameterType="path") public BookingId: number; /** @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.") public CompanyId?: string; /** @description Id of the report */ // @ApiMember(Description="Id of the report", IsRequired=true, ParameterType="path") public ReportId: number; public SendReceiptMethod: SendReceiptMethod; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'ExportReport'; } public getMethod() { return 'GET'; } public createResponse() {} }