/* Options: Date: 2026-01-13 14:45:44 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAIUsage.* //ExcludeTypes: //DefaultImports: */ export class NodeParameterMap { [key:string] : NodeParameter; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IReturn { createResponse(): T; } export interface IGet { } export class AIAccountUsage { /** @description The account ID this customer belongs to */ // @ApiMember(Description="The account ID this customer belongs to") public accountId: string; /** @description The total number of AI minutes used in the date range */ // @ApiMember(Description="The total number of AI minutes used in the date range") public aiMinutes: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AICustomerUsage { /** @description The account ID this customer belongs to */ // @ApiMember(Description="The account ID this customer belongs to") public accountId: string; /** @description The customer ID for this uage */ // @ApiMember(Description="The customer ID for this uage") public customerId: string; /** @description The total number of AI minutes used in the date range */ // @ApiMember(Description="The total number of AI minutes used in the date range") public aiMinutes: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AIUsage { public accountUsage: AIAccountUsage[]; public customerUsage: AICustomerUsage[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/ai/usage") export class GetAIUsage implements IReturn, IGet { /** @description Filter by account ID. If not specified will return entries for all customers in all accounts in the date range */ // @ApiMember(Description="Filter by account ID. If not specified will return entries for all customers in all accounts in the date range") public accountId: string; /** @description Filter by customer ID. If not specified, will return all customers for the accounts considered */ // @ApiMember(Description="Filter by customer ID. If not specified, will return all customers for the accounts considered") public customerId: string; /** @description The start of the date range to consider */ // @ApiMember(Description="The start of the date range to consider") public startDate: string; /** @description The end of the date range to consider */ // @ApiMember(Description="The end of the date range to consider") public endDate: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetAIUsage'; } public getMethod() { return 'GET'; } public createResponse() { return new AIUsage(); } }