export namespace UsageTransparencyModels { export class extends Error export class RequiredError extends Error { name : "RequiredError" = "RequiredError" ; constructor ( public field , msg ? ) { super ( msg ) ; } } export interface export interface ApplicationResource { type { string } memberof application : string ; type { string } memberof alias ? : string ; type { string } memberof resource : string ; type { Array < Usage > } memberof usages : Array < Usage > ; } export interface export interface ApplicationUsage { type { string } memberof resourceAlias ? : string ; type { string } memberof resourceName ? : string ; type { Array < ResourceUsage > } memberof UsageData ? : Array < ResourceUsage > ; } export interface export interface BadRequestErrorSchema { } export interface export interface BillingError extends UsageError { type { string } memberof errorData ? : string ; } export namespace export namespace BillingError { } export interface export interface ErrorMessageParameters { type { string } memberof name ? : string ; type { string } memberof value ? : string ; } export interface export interface ForbiddenErrorSchema { } export interface export interface HTTPErrors { type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface HTTPErrorsWithStatus { type { string } memberof code ? : string ; type { string } memberof message ? : string ; type { string } memberof logref ? : string ; type { number } memberof status ? : number ; } export interface export interface ModelError { type { string } memberof code ? : string ; type { string } memberof message ? : string ; type { Array < ErrorMessageParameters > } memberof messageParameters ? : Array < ErrorMessageParameters > ; type { string } memberof logref ? : string ; } export interface export interface OtherUsageError extends UsageError { type { string } memberof errorData ? : string ; } export namespace export namespace OtherUsageError { } export interface export interface Page { type { number } memberof number ? : number ; type { number } memberof size ? : number ; type { number } memberof totalElements ? : number ; type { number } memberof totalPages ? : number ; } export interface export interface ResourceUsage { type { number } memberof usage ? : number ; type { string } memberof usageUnit ? : string ; type { string } memberof usageDate ? : string ; } export interface export interface UnauthorisedErrorSchema { } export interface export interface Usage { type { number } memberof value : number ; type { string } memberof unit : string ; type { string } memberof datetime : string ; } export interface export interface UsageError extends Error { type { string } memberof errorType ? : UsageError . ErrorTypeEnum ; type { string } memberof info ? : string ; } export namespace export namespace UsageError { export enum { string } export enum ErrorTypeEnum { ValidationError = < any > "ValidationError" , BillingError = < any > "BillingError" , OtherError = < any > "OtherError" } } export interface export interface UsageErrors { type { Array < UsageError > } memberof errors ? : Array < UsageError > ; type { Page } memberof page ? : Page ; } export interface export interface UsageUser { } export interface export interface UsagesJob { type { string } memberof id ? : string ; type { string } memberof time ? : string ; type { string } memberof status ? : UsagesJob . StatusEnum ; type { number } memberof usagesCount ? : number ; } export namespace export namespace UsagesJob { export enum { string } export enum StatusEnum { ACCEPTED = < any > "ACCEPTED" , INPROGRESS = < any > "INPROGRESS" , ERRORS = < any > "ERRORS" , COMPLETED = < any > "COMPLETED" } } export interface export interface UsagesJobQueryResult { type { Array < UsagesJob > } memberof jobs ? : Array < UsagesJob > ; type { Page } memberof page ? : Page ; } export interface export interface UsagesJobSummary extends UsagesJob { type { Array < UsagesSummary > } memberof usagesSummary ? : Array < UsagesSummary > ; type { Page } memberof page ? : Page ; } export namespace export namespace UsagesJobSummary { } export interface export interface UsagesSummary { type { string } memberof application ? : string ; type { string } memberof unit ? : string ; type { number } memberof usagesCount ? : number ; type { string } memberof processStatus ? : UsagesSummary . ProcessStatusEnum ; } export namespace export namespace UsagesSummary { export enum { string } export enum ProcessStatusEnum { ACCEPTED = < any > "ACCEPTED" , VERIFIED = < any > "VERIFIED" , VERIFICATIONFAILED = < any > "VERIFICATIONFAILED" , NOVERIFICATION = < any > "NOVERIFICATION" , AGGREGATED = < any > "AGGREGATED" , SENTFORBILLING = < any > "SENTFORBILLING" , FAILEDTOSENDFORBILLING = < any > "FAILEDTOSENDFORBILLING" , RECEIVEDFORBILLING = < any > "RECEIVEDFORBILLING" } } export interface export interface User { type { string } memberof tenantId : string ; type { string } memberof userId ? : string ; type { string } memberof userType ? : User . UserTypeEnum ; type { Array < ApplicationResource > } memberof resources : Array < ApplicationResource > ; } export namespace export namespace User { export enum { string } export enum UserTypeEnum { Tenant = "tenant" , User = "user" , Agent = "agent" } } export interface export interface UserUsage { type { string } memberof CustomerTenantID : string ; type { string } memberof CustomerUserID : string ; type { Array < ApplicationUsage > } memberof UTSUsageData : Array < ApplicationUsage > ; } export interface export interface Users { type { Array < User > } memberof users : Array < User > ; } export interface export interface ValidationError extends UsageError { type { Array < User > } memberof errorData ? : Array < User > ; } export namespace export namespace ValidationError { } }