/* Options: Date: 2025-04-03 08:59:28 Version: 8.61 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAnalyticsReports.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface IGet { } // @DataContract export class ResponseError { // @DataMember(Order=1) public errorCode: string; // @DataMember(Order=2) public fieldName: string; // @DataMember(Order=3) public message: string; // @DataMember(Order=4) public meta: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public errorCode: string; // @DataMember(Order=2) public message: string; // @DataMember(Order=3) public stackTrace: string; // @DataMember(Order=4) public errors: ResponseError[]; // @DataMember(Order=5) public meta: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class RequestSummary { // @DataMember(Order=1) public name: string; // @DataMember(Order=2) public totalRequests: number; // @DataMember(Order=3) public totalRequestLength: number; // @DataMember(Order=4) public minRequestLength: number; // @DataMember(Order=5) public maxRequestLength: number; // @DataMember(Order=6) public totalDuration: number; // @DataMember(Order=7) public minDuration: number; // @DataMember(Order=8) public maxDuration: number; // @DataMember(Order=9) public status: { [index:number]: number; }; // @DataMember(Order=10) public durations: { [index:string]: number; }; // @DataMember(Order=11) public apis: { [index:string]: number; }; // @DataMember(Order=12) public users: { [index:string]: number; }; // @DataMember(Order=13) public ips: { [index:string]: number; }; // @DataMember(Order=14) public apiKeys: { [index:string]: number; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class AnalyticsReports { // @DataMember(Order=1) public id: number; // @DataMember(Order=2) public created: string; // @DataMember(Order=3) public version: number; // @DataMember(Order=4) public apis: { [index:string]: RequestSummary; }; // @DataMember(Order=5) public users: { [index:string]: RequestSummary; }; // @DataMember(Order=6) public tags: { [index:string]: RequestSummary; }; // @DataMember(Order=7) public status: { [index:string]: RequestSummary; }; // @DataMember(Order=8) public days: { [index:string]: RequestSummary; }; // @DataMember(Order=9) public apiKeys: { [index:string]: RequestSummary; }; // @DataMember(Order=10) public ips: { [index:string]: RequestSummary; }; // @DataMember(Order=11) public browsers: { [index:string]: RequestSummary; }; // @DataMember(Order=12) public devices: { [index:string]: RequestSummary; }; // @DataMember(Order=13) public bots: { [index:string]: RequestSummary; }; // @DataMember(Order=14) public durations: { [index:string]: number; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class GetAnalyticsReportsResponse { // @DataMember(Order=1) public result: AnalyticsReports; // @DataMember(Order=2) public responseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class GetAnalyticsReports implements IReturn, IGet { // @DataMember(Order=1) public month?: string; // @DataMember(Order=2) public filter: string; // @DataMember(Order=3) public value: string; // @DataMember(Order=4) public force?: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetAnalyticsReports'; } public getMethod() { return 'GET'; } public createResponse() { return new GetAnalyticsReportsResponse(); } }