import { SdPlatformResponseBackendSystem } from "./SdPlatformResponseBackendSystem"; export declare enum SdPlatformResponseCreditMetricTimestampType { Hour = "hour", Day = "day", Month = "month" } export interface SdPlatformResponseCreditMetricDataAR { /** Number of AR downloads charged. */ readonly credits: number; } export interface SdPlatformResponseCreditMetricDataLimitedExports { /** Number of pure export requests charged. */ readonly credits: number; } export interface SdPlatformResponseCreditMetricDataLimitedOutputs { /** Number of pure output requests. */ readonly count: number; } export interface SdPlatformResponseCreditMetricDataLimitedCombined { /** Number of combined output and export requests charged. */ readonly credits: number; } export interface SdPlatformResponseCreditMetricDataLimitedSessions { /** Number of sessions. */ readonly count: number; /** Number of started 10-minute periods of sessions charged. */ readonly credits: number; /** The total duration of all sessions, in milliseconds. */ readonly duration: number; } export interface SdPlatformResponseCreditMetricDataLimitedComputations { /** Number of computations. */ readonly count: number; /** Number of finished 10-second chunks charged. */ readonly credits: number; /** Total duration of computation time, in milliseconds. */ readonly duration: number; /** Count of computations per computation time expressed in started 10-second chunks. */ readonly countPerChunks: { [key: string]: number; }; } export interface SdPlatformResponseCreditMetricDataLimited { /** Pure export requests. */ readonly exports: SdPlatformResponseCreditMetricDataLimitedExports; /** Pure output requests. */ readonly outputs: SdPlatformResponseCreditMetricDataLimitedOutputs; /** Combined output and export requests. */ readonly combined: SdPlatformResponseCreditMetricDataLimitedCombined; /** Session information. */ readonly sessions: SdPlatformResponseCreditMetricDataLimitedSessions; /** Computations information. */ readonly computations: SdPlatformResponseCreditMetricDataLimitedComputations; } export interface SdPlatformResponseCreditMetricDataDefaultExports { /** Number of pure export requests charged. */ readonly credits: number; } export interface SdPlatformResponseCreditMetricDataDefaultOutputs { /** Number of pure output requests charged. */ readonly credits: number; } export interface SdPlatformResponseCreditMetricDataDefaultCombined { /** Number of combined output and export requests charged. */ readonly credits: number; } export interface SdPlatformResponseCreditMetricDataDefaultSessions { /** Number of sessions. */ readonly count: number; /** The total duration of all sessions, in milliseconds. */ readonly duration: number; } export interface SdPlatformResponseCreditMetricDataDefaultComputations { /** Number of computations. */ readonly count: number; /** Number of finished 10-second chunks charged. */ readonly credits: number; /** Total duration of computation time, in milliseconds. */ readonly duration: number; /** Count of computations per computation time expressed in started 10-second chunks. */ readonly countPerChunks: { [key: string]: number; }; } export interface SdPlatformResponseCreditMetricDataDefault { /** Pure export requests. */ readonly exports: SdPlatformResponseCreditMetricDataDefaultExports; /** Pure output requests. */ readonly outputs: SdPlatformResponseCreditMetricDataDefaultOutputs; /** Combined output and export requests. */ readonly combined: SdPlatformResponseCreditMetricDataDefaultCombined; /** Session information. */ readonly sessions: SdPlatformResponseCreditMetricDataDefaultSessions; /** Computations information. */ readonly computations: SdPlatformResponseCreditMetricDataDefaultComputations; } export interface SdPlatformResponseCreditMetricDataLoading { /** Number of load requests. */ readonly count: number; /** Number of started 10-second chunks charged. */ readonly credits: number; } export interface SdPlatformResponseCreditMetricData { /** Either an extended date-time or a 'merged'-specifier. */ readonly timestamp: string; /** Aggregation for this timestamp has finished. */ readonly isCompilationDone: boolean; /** Downloads of AR scenes. */ readonly ar: SdPlatformResponseCreditMetricDataAR; /** Aggregated metrics for 'default' sessions. */ readonly default: SdPlatformResponseCreditMetricDataDefault; /** Aggregated metrics for 'rate-limited timeslot' sessions. */ readonly limited: SdPlatformResponseCreditMetricDataLimited; /** Information about loading times on the Geometry Workers. */ readonly loading: SdPlatformResponseCreditMetricDataLoading; } /** * Analytics on session for all models for a given timestamp. */ interface SdPlatformResponseCreditMetric { /** The backend system id. */ readonly backend_system_id: string; /** The Backend System. */ readonly backend_system?: SdPlatformResponseBackendSystem; /** type of timestamp */ readonly timestamp_type: SdPlatformResponseCreditMetricTimestampType; /** timestamp in epoch format */ readonly timestamp_date: number; /** timestamp in format YYYYMM or YYYYMMDD or YYYYMMDDHH */ readonly timestamp: string; /** aggregated analytics data */ readonly data?: SdPlatformResponseCreditMetricData; } export interface SdPlatformResponseCreditMetricUser extends SdPlatformResponseCreditMetric { /** The user id. */ readonly user_id: string; } export interface SdPlatformResponseCreditMetricOrganization extends SdPlatformResponseCreditMetric { /** The organization id. */ readonly organization_id: string; } export {}; //# sourceMappingURL=SdPlatformResponseCreditMetrics.d.ts.map