/* Options: Date: 2024-06-09 10:17:20 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://evovoice.io //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BillingReport.* //ExcludeTypes: //DefaultImports: */ export class NodeParameterMap { [key:string] : NodeParameter; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IReturn { createResponse(): T; } export class ReportRequest implements IPost { /** * The account ID this report should be run for */ // @ApiMember(Description="The account ID this report should be run for") public accountId: string; /** * The email address to notify after the report is run */ // @ApiMember(Description="The email address to notify after the report is run") public emailAddressToNotify: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum ReportStatuses { Queued = 'Queued', Running = 'Running', Completed = 'Completed', Error = 'Error', } export class ReportInfo { public id: string; public name: string; public status: ReportStatuses; public statusMessage: string; public dateCreated: string; public dateUpdated: string; public downloadLink: string; public jobId: string; public emailAddressToNotify: string; public server: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/reports/billing") export class BillingReport extends ReportRequest implements IReturn { public startDate: string; public endDate: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'BillingReport'; } public getMethod() { return 'POST'; } public createResponse() { return new ReportInfo(); } }