/* Options: Date: 2024-11-21 12:07:25 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: ExportRebateCode.* //ExcludeTypes: //DefaultImports: */ export interface ICompany { CompanyId?: string; } export enum SendReceiptMethod { Email = 1, PdfExport = 2, } // @Route("/rebatecodes/{RebateCodeId}/reports", "GET") // @ValidateRequest(Validator="IsAuthenticated") export class ExportRebateCode implements ICompany { /** @description Id of the rebate code */ // @ApiMember(Description="Id of the rebate code", IsRequired=true, ParameterType="path") public RebateCodeId: 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; public SendReceiptMethod: SendReceiptMethod; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'ExportRebateCode'; } public getMethod() { return 'GET'; } public createResponse() {} }