@epam/ai-dial-chat-api-client 1.5.0-dev.8 → 1.5.0-dev.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/src/apis/DeploymentsApi.d.ts +2 -2
- package/generated/src/apis/DeploymentsApi.js +2 -2
- package/generated/src/apis/ModelsApi.d.ts +4 -4
- package/generated/src/apis/ModelsApi.js +4 -4
- package/generated/src/apis/ThemesApi.d.ts +11 -1
- package/generated/src/apis/ThemesApi.d.ts.map +1 -1
- package/generated/src/apis/ThemesApi.js +24 -0
- package/generated/src/apis/UserApi.d.ts +37 -1
- package/generated/src/apis/UserApi.d.ts.map +1 -1
- package/generated/src/apis/UserApi.js +104 -0
- package/generated/src/models/index.d.ts +522 -15
- package/generated/src/models/index.d.ts.map +1 -1
- package/generated/src/models/index.js +11 -2
- package/package.json +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
|
@@ -2625,6 +2625,12 @@ export interface ConversationMessageCustomContentDto {
|
|
|
2625
2625
|
* @memberof ConversationMessageCustomContentDto
|
|
2626
2626
|
*/
|
|
2627
2627
|
configurationValue?: object;
|
|
2628
|
+
/**
|
|
2629
|
+
* Legacy field: the JSON schema `configuration_value` was submitted against, which the earlier DIAL Chat stored on user messages. Conversation reads return it as stored. A completion request accepts it and does not copy it onto the user message it creates; creating a conversation stores it on the first message as given.
|
|
2630
|
+
* @type {object}
|
|
2631
|
+
* @memberof ConversationMessageCustomContentDto
|
|
2632
|
+
*/
|
|
2633
|
+
configurationSchema?: object;
|
|
2628
2634
|
/**
|
|
2629
2635
|
* Key-value map of form field values submitted via an embedded form widget.
|
|
2630
2636
|
* @type {object}
|
|
@@ -3651,7 +3657,7 @@ export interface CreateProjectResponseDto {
|
|
|
3651
3657
|
*/
|
|
3652
3658
|
export interface CreatePromptDto {
|
|
3653
3659
|
/**
|
|
3654
|
-
* Prompt name.
|
|
3660
|
+
* Prompt name. At most 255 UTF-8 bytes, no leading or trailing whitespace, and none of : ; , = / \ { } % & " ? # or control characters; not . or ..
|
|
3655
3661
|
* @type {string}
|
|
3656
3662
|
* @memberof CreatePromptDto
|
|
3657
3663
|
*/
|
|
@@ -3682,7 +3688,7 @@ export interface CreatePromptDto {
|
|
|
3682
3688
|
*/
|
|
3683
3689
|
export interface CreatePromptFolderDto {
|
|
3684
3690
|
/**
|
|
3685
|
-
* Folder name.
|
|
3691
|
+
* Folder name. At most 255 UTF-8 bytes, no leading or trailing whitespace, and none of : ; , = / \ { } % & " ? # or control characters; not . or ..
|
|
3686
3692
|
* @type {string}
|
|
3687
3693
|
* @memberof CreatePromptFolderDto
|
|
3688
3694
|
*/
|
|
@@ -4107,6 +4113,19 @@ export interface CustomVisualizerDto {
|
|
|
4107
4113
|
*/
|
|
4108
4114
|
passExplicitToken?: boolean;
|
|
4109
4115
|
}
|
|
4116
|
+
/**
|
|
4117
|
+
*
|
|
4118
|
+
* @export
|
|
4119
|
+
* @interface DefaultBudgetResponseDto
|
|
4120
|
+
*/
|
|
4121
|
+
export interface DefaultBudgetResponseDto {
|
|
4122
|
+
/**
|
|
4123
|
+
* The caller's default budget as DIAL Core reports it; DIAL Core sends `null` when the default was cleared or none is set.
|
|
4124
|
+
* @type {string}
|
|
4125
|
+
* @memberof DefaultBudgetResponseDto
|
|
4126
|
+
*/
|
|
4127
|
+
budget?: string | null;
|
|
4128
|
+
}
|
|
4110
4129
|
/**
|
|
4111
4130
|
*
|
|
4112
4131
|
* @export
|
|
@@ -4434,6 +4453,12 @@ export interface DeploymentFeaturesDetailsDto {
|
|
|
4434
4453
|
* @memberof DeploymentFeaturesDetailsDto
|
|
4435
4454
|
*/
|
|
4436
4455
|
responsesApi?: boolean;
|
|
4456
|
+
/**
|
|
4457
|
+
* Supports Anthropic Messages, derived from DIAL Core declared-interface metadata
|
|
4458
|
+
* @type {boolean}
|
|
4459
|
+
* @memberof DeploymentFeaturesDetailsDto
|
|
4460
|
+
*/
|
|
4461
|
+
anthropicMessages?: boolean;
|
|
4437
4462
|
/**
|
|
4438
4463
|
* Supports custom skills in chat requests
|
|
4439
4464
|
* @type {boolean}
|
|
@@ -6801,6 +6826,12 @@ export interface MessageCustomContentDto {
|
|
|
6801
6826
|
* @memberof MessageCustomContentDto
|
|
6802
6827
|
*/
|
|
6803
6828
|
configurationValue?: object;
|
|
6829
|
+
/**
|
|
6830
|
+
* Legacy field: the JSON schema `configuration_value` was submitted against, which the earlier DIAL Chat stored on user messages. Conversation reads return it as stored. A completion request accepts it and does not copy it onto the user message it creates; creating a conversation stores it on the first message as given.
|
|
6831
|
+
* @type {object}
|
|
6832
|
+
* @memberof MessageCustomContentDto
|
|
6833
|
+
*/
|
|
6834
|
+
configurationSchema?: object;
|
|
6804
6835
|
/**
|
|
6805
6836
|
* Key-value map of form field values submitted via an embedded form widget.
|
|
6806
6837
|
* @type {object}
|
|
@@ -7065,6 +7096,12 @@ export interface ModelCatalogEntryDto {
|
|
|
7065
7096
|
* @memberof ModelCatalogEntryDto
|
|
7066
7097
|
*/
|
|
7067
7098
|
catalogProperties?: ModelCatalogPropertiesDto;
|
|
7099
|
+
/**
|
|
7100
|
+
* Normalized supported API names from DIAL Core declarations, with legacy OpenAI fallback when metadata is unavailable; no interface defaults or headers
|
|
7101
|
+
* @type {Array<string>}
|
|
7102
|
+
* @memberof ModelCatalogEntryDto
|
|
7103
|
+
*/
|
|
7104
|
+
supportedInterfaces?: Array<string>;
|
|
7068
7105
|
}
|
|
7069
7106
|
/**
|
|
7070
7107
|
*
|
|
@@ -8840,7 +8877,7 @@ export interface RenameItemResultDto {
|
|
|
8840
8877
|
*/
|
|
8841
8878
|
export interface RenamePromptFolderDto {
|
|
8842
8879
|
/**
|
|
8843
|
-
* New folder name.
|
|
8880
|
+
* New folder name. At most 255 UTF-8 bytes, no leading or trailing whitespace, and none of : ; , = / \ { } % & " ? # or control characters; not . or ..
|
|
8844
8881
|
* @type {string}
|
|
8845
8882
|
* @memberof RenamePromptFolderDto
|
|
8846
8883
|
*/
|
|
@@ -10001,6 +10038,101 @@ export declare const TextRefinementPurpose: {
|
|
|
10001
10038
|
readonly ProjectInstructions: "project-instructions";
|
|
10002
10039
|
};
|
|
10003
10040
|
export type TextRefinementPurpose = (typeof TextRefinementPurpose)[keyof typeof TextRefinementPurpose];
|
|
10041
|
+
/**
|
|
10042
|
+
*
|
|
10043
|
+
* @export
|
|
10044
|
+
* @interface ThemeCatalogDto
|
|
10045
|
+
*/
|
|
10046
|
+
export interface ThemeCatalogDto {
|
|
10047
|
+
/**
|
|
10048
|
+
* Every valid configured theme, in configuration order.
|
|
10049
|
+
* @type {Array<ThemeCatalogThemeDto>}
|
|
10050
|
+
* @memberof ThemeCatalogDto
|
|
10051
|
+
*/
|
|
10052
|
+
themes: Array<ThemeCatalogThemeDto>;
|
|
10053
|
+
/**
|
|
10054
|
+
* Global images shared by every theme.
|
|
10055
|
+
* @type {ThemeCatalogImagesDto}
|
|
10056
|
+
* @memberof ThemeCatalogDto
|
|
10057
|
+
*/
|
|
10058
|
+
images: ThemeCatalogImagesDto;
|
|
10059
|
+
}
|
|
10060
|
+
/**
|
|
10061
|
+
*
|
|
10062
|
+
* @export
|
|
10063
|
+
* @interface ThemeCatalogImagesDto
|
|
10064
|
+
*/
|
|
10065
|
+
export interface ThemeCatalogImagesDto {
|
|
10066
|
+
/**
|
|
10067
|
+
* Logo file name for light themes. From `chat-logo-light`.
|
|
10068
|
+
* @type {string}
|
|
10069
|
+
* @memberof ThemeCatalogImagesDto
|
|
10070
|
+
*/
|
|
10071
|
+
chatLogoLight?: string;
|
|
10072
|
+
/**
|
|
10073
|
+
* Logo file name for the dark theme. From `chat-logo-dark`.
|
|
10074
|
+
* @type {string}
|
|
10075
|
+
* @memberof ThemeCatalogImagesDto
|
|
10076
|
+
*/
|
|
10077
|
+
chatLogoDark?: string;
|
|
10078
|
+
/**
|
|
10079
|
+
* Favicon file name. From `chat-favicon`.
|
|
10080
|
+
* @type {string}
|
|
10081
|
+
* @memberof ThemeCatalogImagesDto
|
|
10082
|
+
*/
|
|
10083
|
+
chatFavicon?: string;
|
|
10084
|
+
/**
|
|
10085
|
+
* Fallback add-on icon file name. From `default-addon`.
|
|
10086
|
+
* @type {string}
|
|
10087
|
+
* @memberof ThemeCatalogImagesDto
|
|
10088
|
+
*/
|
|
10089
|
+
defaultAddon?: string;
|
|
10090
|
+
/**
|
|
10091
|
+
* Fallback model icon file name. From `default-model`.
|
|
10092
|
+
* @type {string}
|
|
10093
|
+
* @memberof ThemeCatalogImagesDto
|
|
10094
|
+
*/
|
|
10095
|
+
defaultModel?: string;
|
|
10096
|
+
/**
|
|
10097
|
+
* Legacy favicon file name. From `favicon`.
|
|
10098
|
+
* @type {string}
|
|
10099
|
+
* @memberof ThemeCatalogImagesDto
|
|
10100
|
+
*/
|
|
10101
|
+
favicon?: string;
|
|
10102
|
+
}
|
|
10103
|
+
/**
|
|
10104
|
+
*
|
|
10105
|
+
* @export
|
|
10106
|
+
* @interface ThemeCatalogThemeDto
|
|
10107
|
+
*/
|
|
10108
|
+
export interface ThemeCatalogThemeDto {
|
|
10109
|
+
/**
|
|
10110
|
+
* Unique theme ID. Duplicates are dropped; the first wins.
|
|
10111
|
+
* @type {string}
|
|
10112
|
+
* @memberof ThemeCatalogThemeDto
|
|
10113
|
+
*/
|
|
10114
|
+
id: string;
|
|
10115
|
+
/**
|
|
10116
|
+
* Human-readable theme name shown in the theme picker.
|
|
10117
|
+
* @type {string}
|
|
10118
|
+
* @memberof ThemeCatalogThemeDto
|
|
10119
|
+
*/
|
|
10120
|
+
displayName: string;
|
|
10121
|
+
/**
|
|
10122
|
+
* CSS custom-property values keyed by token name (without the `--` prefix). Token names are not camel-cased.
|
|
10123
|
+
* @type {{ [key: string]: string; }}
|
|
10124
|
+
* @memberof ThemeCatalogThemeDto
|
|
10125
|
+
*/
|
|
10126
|
+
colors: {
|
|
10127
|
+
[key: string]: string;
|
|
10128
|
+
};
|
|
10129
|
+
/**
|
|
10130
|
+
* Theme logo file name, usable with GET /api/themes/icon. From the legacy `app-logo` key.
|
|
10131
|
+
* @type {string}
|
|
10132
|
+
* @memberof ThemeCatalogThemeDto
|
|
10133
|
+
*/
|
|
10134
|
+
appLogo?: string;
|
|
10135
|
+
}
|
|
10004
10136
|
/**
|
|
10005
10137
|
*
|
|
10006
10138
|
* @export
|
|
@@ -10828,6 +10960,19 @@ export interface UpdateApplicationBodyDto {
|
|
|
10828
10960
|
*/
|
|
10829
10961
|
primaryLocale?: string;
|
|
10830
10962
|
}
|
|
10963
|
+
/**
|
|
10964
|
+
*
|
|
10965
|
+
* @export
|
|
10966
|
+
* @interface UpdateDefaultBudgetRequestDto
|
|
10967
|
+
*/
|
|
10968
|
+
export interface UpdateDefaultBudgetRequestDto {
|
|
10969
|
+
/**
|
|
10970
|
+
* The `<costObject>/<id>` of a budget the caller holds, to set it as the default; `null` clears the default. The property must be present: DIAL Core rejects a body without it.
|
|
10971
|
+
* @type {string}
|
|
10972
|
+
* @memberof UpdateDefaultBudgetRequestDto
|
|
10973
|
+
*/
|
|
10974
|
+
budget: string | null;
|
|
10975
|
+
}
|
|
10831
10976
|
/**
|
|
10832
10977
|
*
|
|
10833
10978
|
* @export
|
|
@@ -10954,7 +11099,7 @@ export interface UpdateProjectResponseDto {
|
|
|
10954
11099
|
*/
|
|
10955
11100
|
export interface UpdatePromptDto {
|
|
10956
11101
|
/**
|
|
10957
|
-
* New display name.
|
|
11102
|
+
* New display name. At most 255 UTF-8 bytes, no leading or trailing whitespace, and none of : ; , = / \ { } % & " ? # or control characters; not . or ..
|
|
10958
11103
|
* @type {string}
|
|
10959
11104
|
* @memberof UpdatePromptDto
|
|
10960
11105
|
*/
|
|
@@ -11214,6 +11359,16 @@ export interface UploadArchiveResponseDto {
|
|
|
11214
11359
|
*/
|
|
11215
11360
|
results: Array<UploadArchiveEntryResultDto>;
|
|
11216
11361
|
}
|
|
11362
|
+
/**
|
|
11363
|
+
* How the budget's paid model calls are grouped, from the server setting ANALYTICS_BUDGET_BREAKDOWN. `model`: `byModel` names the model that served each call. `root`: `byModel` names the deployment or route the user called (`root_deployment`), and `unattributed` holds the calls whose rows have no root. `root_nested`: as `root`, and every named root lists the models that served it in `servedBy`. Always sent by this server with `budget`; optional so that a client also reads a server without it.
|
|
11364
|
+
* @export
|
|
11365
|
+
*/
|
|
11366
|
+
export declare const UsageHistoryBudgetBreakdown: {
|
|
11367
|
+
readonly Model: "model";
|
|
11368
|
+
readonly Root: "root";
|
|
11369
|
+
readonly RootNested: "root_nested";
|
|
11370
|
+
};
|
|
11371
|
+
export type UsageHistoryBudgetBreakdown = (typeof UsageHistoryBudgetBreakdown)[keyof typeof UsageHistoryBudgetBreakdown];
|
|
11217
11372
|
/**
|
|
11218
11373
|
*
|
|
11219
11374
|
* @export
|
|
@@ -11232,6 +11387,12 @@ export interface UsageHistoryBudgetDto {
|
|
|
11232
11387
|
* @memberof UsageHistoryBudgetDto
|
|
11233
11388
|
*/
|
|
11234
11389
|
policy: string;
|
|
11390
|
+
/**
|
|
11391
|
+
* How the budget's paid model calls are grouped, from the server setting ANALYTICS_BUDGET_BREAKDOWN. `model`: `byModel` names the model that served each call. `root`: `byModel` names the deployment or route the user called (`root_deployment`), and `unattributed` holds the calls whose rows have no root. `root_nested`: as `root`, and every named root lists the models that served it in `servedBy`. Always sent by this server with `budget`; optional so that a client also reads a server without it.
|
|
11392
|
+
* @type {UsageHistoryBudgetBreakdown}
|
|
11393
|
+
* @memberof UsageHistoryBudgetDto
|
|
11394
|
+
*/
|
|
11395
|
+
breakdown?: UsageHistoryBudgetBreakdown;
|
|
11235
11396
|
}
|
|
11236
11397
|
/**
|
|
11237
11398
|
*
|
|
@@ -11252,7 +11413,7 @@ export interface UsageHistoryClientEntryDto {
|
|
|
11252
11413
|
*/
|
|
11253
11414
|
spend: number;
|
|
11254
11415
|
/**
|
|
11255
|
-
* Number from this client. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
|
|
11416
|
+
* Number from this client. Without `budget`, priced user requests (root spans with a price); with `budget`, priced model calls the budget paid for. Failed and refused calls, and calls to a model without pricing, carry no price and are not counted.
|
|
11256
11417
|
* @type {number}
|
|
11257
11418
|
* @memberof UsageHistoryClientEntryDto
|
|
11258
11419
|
*/
|
|
@@ -11277,13 +11438,13 @@ export interface UsageHistoryDailyEntryDto {
|
|
|
11277
11438
|
*/
|
|
11278
11439
|
spend: number;
|
|
11279
11440
|
/**
|
|
11280
|
-
* Number on that date. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
|
|
11441
|
+
* Number on that date. Without `budget`, priced user requests (root spans with a price); with `budget`, priced model calls the budget paid for. Failed and refused calls, and calls to a model without pricing, carry no price and are not counted.
|
|
11281
11442
|
* @type {number}
|
|
11282
11443
|
* @memberof UsageHistoryDailyEntryDto
|
|
11283
11444
|
*/
|
|
11284
11445
|
requests: number;
|
|
11285
11446
|
/**
|
|
11286
|
-
* That date's spend per
|
|
11447
|
+
* That date's spend per entry, keyed by the `deployment` names of the top-level `byModel` (including `other` and `unattributed`). Keys with no spend and no requests on that date are omitted, so a date without usage has an empty object.
|
|
11287
11448
|
* @type {{ [key: string]: number; }}
|
|
11288
11449
|
* @memberof UsageHistoryDailyEntryDto
|
|
11289
11450
|
*/
|
|
@@ -11298,7 +11459,7 @@ export interface UsageHistoryDailyEntryDto {
|
|
|
11298
11459
|
*/
|
|
11299
11460
|
export interface UsageHistoryModelEntryDto {
|
|
11300
11461
|
/**
|
|
11301
|
-
*
|
|
11462
|
+
* Without `budget`: the root deployment the user called. With `budget` and `breakdown` `model`: the model the budget paid for. With `breakdown` `root` or `root_nested`: the deployment or route the user called (DIAL Core's `root_deployment`). Reserved names: `other` holds the remainder beyond the top 10 by spend; `unattributed` (budget with a root breakdown only, always last) holds the paid calls whose rows carry no root, for example rows written before DIAL Core recorded it. In a root breakdown a real root named `other` or `unattributed` is never listed by name: it is counted in `other`, so both names always mean the remainder and the calls without a root.
|
|
11302
11463
|
* @type {string}
|
|
11303
11464
|
* @memberof UsageHistoryModelEntryDto
|
|
11304
11465
|
*/
|
|
@@ -11310,11 +11471,17 @@ export interface UsageHistoryModelEntryDto {
|
|
|
11310
11471
|
*/
|
|
11311
11472
|
spend: number;
|
|
11312
11473
|
/**
|
|
11313
|
-
* Number for this
|
|
11474
|
+
* Number for this entry. Without `budget`, priced user requests (root spans with a price); with `budget`, priced model calls the budget paid for. Failed and refused calls, and calls to a model without pricing, carry no price and are not counted. With a root breakdown, the paid model calls under this root, wherever they sit in its call chain.
|
|
11314
11475
|
* @type {number}
|
|
11315
11476
|
* @memberof UsageHistoryModelEntryDto
|
|
11316
11477
|
*/
|
|
11317
11478
|
requests: number;
|
|
11479
|
+
/**
|
|
11480
|
+
* Present only with `budget` and `breakdown` `root_nested`, on every named root (never on `other` or `unattributed`). The models that served the paid calls of this root in the window, by spend descending, then requests descending, then name. Their exact spend and requests sum to this entry's, except for paid calls ingested between the two DIAL Analytics reads, which can make them sum slightly above it. Each spend is rounded on its own, so the rounded values may differ from this entry's by up to 0.0000005 each. When the served-by read returns its limit of 1000 (root, model) pairs, the lowest-spend pairs may be cut, and a final `other` entry holds what the listed models leave of this entry.
|
|
11481
|
+
* @type {Array<UsageHistoryServedByEntryDto>}
|
|
11482
|
+
* @memberof UsageHistoryModelEntryDto
|
|
11483
|
+
*/
|
|
11484
|
+
servedBy?: Array<UsageHistoryServedByEntryDto>;
|
|
11318
11485
|
}
|
|
11319
11486
|
/**
|
|
11320
11487
|
*
|
|
@@ -11326,6 +11493,56 @@ export declare const UsageHistoryPeriod: {
|
|
|
11326
11493
|
readonly Month: "month";
|
|
11327
11494
|
};
|
|
11328
11495
|
export type UsageHistoryPeriod = (typeof UsageHistoryPeriod)[keyof typeof UsageHistoryPeriod];
|
|
11496
|
+
/**
|
|
11497
|
+
*
|
|
11498
|
+
* @export
|
|
11499
|
+
* @interface UsageHistoryServedByEntryDto
|
|
11500
|
+
*/
|
|
11501
|
+
export interface UsageHistoryServedByEntryDto {
|
|
11502
|
+
/**
|
|
11503
|
+
* Model that served the root's paid calls, or `other` for the difference when the served-by read of the window returned its limit of 1000 (root, model) pairs.
|
|
11504
|
+
* @type {string}
|
|
11505
|
+
* @memberof UsageHistoryServedByEntryDto
|
|
11506
|
+
*/
|
|
11507
|
+
deployment: string;
|
|
11508
|
+
/**
|
|
11509
|
+
* Spend in USD, rounded to 6 decimal places (half away from zero). Without `budget`, summed from the root span's chain-inclusive price: a call to an application includes the models it called. With `budget`, summed from the own price of the model calls that budget paid for.
|
|
11510
|
+
* @type {number}
|
|
11511
|
+
* @memberof UsageHistoryServedByEntryDto
|
|
11512
|
+
*/
|
|
11513
|
+
spend: number;
|
|
11514
|
+
/**
|
|
11515
|
+
* Number of model calls the budget paid for, of this model under the root.
|
|
11516
|
+
* @type {number}
|
|
11517
|
+
* @memberof UsageHistoryServedByEntryDto
|
|
11518
|
+
*/
|
|
11519
|
+
requests: number;
|
|
11520
|
+
}
|
|
11521
|
+
/**
|
|
11522
|
+
*
|
|
11523
|
+
* @export
|
|
11524
|
+
* @interface UsageHistoryTokensDto
|
|
11525
|
+
*/
|
|
11526
|
+
export interface UsageHistoryTokensDto {
|
|
11527
|
+
/**
|
|
11528
|
+
* Prompt (input) tokens. Summed over the caller's chat-completion rows of the window (DIAL Analytics `event_kind` `llm_call`) at every depth of the call chain: unlike `totals`, it includes the model calls an application made, plus the usage the application reports itself on its own row (DIAL Core adds no model tokens to it). With `budget`, only that budget's paid chat-completion calls. DIAL Core accounts them the OpenAI way: this number includes `cached` and `cacheCreation`, so `cached / prompt` is the cache hit rate. Rows whose provider reported no cache counters add only to this number, so that rate is a lower bound.
|
|
11529
|
+
* @type {number}
|
|
11530
|
+
* @memberof UsageHistoryTokensDto
|
|
11531
|
+
*/
|
|
11532
|
+
prompt: number;
|
|
11533
|
+
/**
|
|
11534
|
+
* Prompt tokens the provider served from its cache (cache reads), a part of `prompt`. A row whose provider reported no cache counters adds 0.
|
|
11535
|
+
* @type {number}
|
|
11536
|
+
* @memberof UsageHistoryTokensDto
|
|
11537
|
+
*/
|
|
11538
|
+
cached: number;
|
|
11539
|
+
/**
|
|
11540
|
+
* Prompt tokens the provider wrote to its cache (cache writes), a part of `prompt`. A row whose provider reported no cache counters adds 0, and rows written by DIAL Core older than 0.47 never report it.
|
|
11541
|
+
* @type {number}
|
|
11542
|
+
* @memberof UsageHistoryTokensDto
|
|
11543
|
+
*/
|
|
11544
|
+
cacheCreation: number;
|
|
11545
|
+
}
|
|
11329
11546
|
/**
|
|
11330
11547
|
*
|
|
11331
11548
|
* @export
|
|
@@ -11339,14 +11556,14 @@ export interface UsageHistoryTotalsDto {
|
|
|
11339
11556
|
*/
|
|
11340
11557
|
spend: number;
|
|
11341
11558
|
/**
|
|
11342
|
-
* Number in the window. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
|
|
11559
|
+
* Number in the window. Without `budget`, priced user requests (root spans with a price); with `budget`, priced model calls the budget paid for. Failed and refused calls, and calls to a model without pricing, carry no price and are not counted.
|
|
11343
11560
|
* @type {number}
|
|
11344
11561
|
* @memberof UsageHistoryTotalsDto
|
|
11345
11562
|
*/
|
|
11346
11563
|
requests: number;
|
|
11347
11564
|
}
|
|
11348
11565
|
/**
|
|
11349
|
-
* Present only when `available` is `false`. `not_configured`: ANALYTICS_URL is unset. `forbidden`: DIAL Analytics refused the caller's token, the caller cannot read the usage log, or DIAL Analytics cannot run the own-rows filter (no query caller values, or `user_hash` hidden from the caller). `unavailable`: timeout, network error or
|
|
11566
|
+
* Present only when `available` is `false`. `not_configured`: ANALYTICS_URL is unset. `forbidden`: DIAL Analytics refused the caller's token, the caller cannot read the usage log, or DIAL Analytics cannot run the own-rows filter (no query caller values, or `user_hash` hidden from the caller). `unavailable`: timeout, network error, server error, or, with `budget` and a root breakdown, a caller schema of the usage log without `root_deployment` (needs DIAL Analytics 0.25). `budget_unsupported`: `costObject` and `policy` were given, but the caller's DIAL Analytics schema of the usage log has no budget columns.
|
|
11350
11567
|
* @export
|
|
11351
11568
|
*/
|
|
11352
11569
|
export declare const UsageHistoryUnavailableReason: {
|
|
@@ -11381,6 +11598,241 @@ export interface UsageHistoryWindowDto {
|
|
|
11381
11598
|
*/
|
|
11382
11599
|
to: string;
|
|
11383
11600
|
}
|
|
11601
|
+
/**
|
|
11602
|
+
*
|
|
11603
|
+
* @export
|
|
11604
|
+
* @interface UsageTotalsWindowDto
|
|
11605
|
+
*/
|
|
11606
|
+
export interface UsageTotalsWindowDto {
|
|
11607
|
+
/**
|
|
11608
|
+
* Inclusive window start, ISO-8601 UTC with milliseconds.
|
|
11609
|
+
* @type {string}
|
|
11610
|
+
* @memberof UsageTotalsWindowDto
|
|
11611
|
+
*/
|
|
11612
|
+
from: string;
|
|
11613
|
+
/**
|
|
11614
|
+
* Exclusive window end, ISO-8601 UTC with milliseconds. `current`: the request time. `previous`: its start plus the time elapsed in `current`, or the start of `current` when the previous period is shorter.
|
|
11615
|
+
* @type {string}
|
|
11616
|
+
* @memberof UsageTotalsWindowDto
|
|
11617
|
+
*/
|
|
11618
|
+
to: string;
|
|
11619
|
+
/**
|
|
11620
|
+
* Spend in USD that budgets paid in the window, summed from each paid model call's own price and rounded once to 6 decimal places (half away from zero). Only priced model calls a budget paid for count (`budget_outcome` `paid` with a `deployment_price`, whatever the cost object and policy). Failed calls, calls charged to no budget, and rows written before DIAL Core logged the charged budget are not counted.
|
|
11621
|
+
* @type {number}
|
|
11622
|
+
* @memberof UsageTotalsWindowDto
|
|
11623
|
+
*/
|
|
11624
|
+
spend: number;
|
|
11625
|
+
/**
|
|
11626
|
+
* Number of model calls budgets paid for in the window. Only priced model calls a budget paid for count (`budget_outcome` `paid` with a `deployment_price`, whatever the cost object and policy). Failed calls, calls charged to no budget, and rows written before DIAL Core logged the charged budget are not counted.
|
|
11627
|
+
* @type {number}
|
|
11628
|
+
* @memberof UsageTotalsWindowDto
|
|
11629
|
+
*/
|
|
11630
|
+
requests: number;
|
|
11631
|
+
}
|
|
11632
|
+
/**
|
|
11633
|
+
*
|
|
11634
|
+
* @export
|
|
11635
|
+
* @interface UserBudgetCapDto
|
|
11636
|
+
*/
|
|
11637
|
+
export interface UserBudgetCapDto {
|
|
11638
|
+
/**
|
|
11639
|
+
* The cap id.
|
|
11640
|
+
* @type {string}
|
|
11641
|
+
* @memberof UserBudgetCapDto
|
|
11642
|
+
*/
|
|
11643
|
+
cap: string;
|
|
11644
|
+
/**
|
|
11645
|
+
* Human-readable cap name; absent when none is set.
|
|
11646
|
+
* @type {string}
|
|
11647
|
+
* @memberof UserBudgetCapDto
|
|
11648
|
+
*/
|
|
11649
|
+
displayName?: string;
|
|
11650
|
+
/**
|
|
11651
|
+
* True when the cap hangs on the budget of this entry rather than on the cost object.
|
|
11652
|
+
* @type {boolean}
|
|
11653
|
+
* @memberof UserBudgetCapDto
|
|
11654
|
+
*/
|
|
11655
|
+
attached: boolean;
|
|
11656
|
+
/**
|
|
11657
|
+
* Deployments or groups the cap applies to.
|
|
11658
|
+
* @type {Array<string>}
|
|
11659
|
+
* @memberof UserBudgetCapDto
|
|
11660
|
+
*/
|
|
11661
|
+
packages?: Array<string>;
|
|
11662
|
+
/**
|
|
11663
|
+
* Dimensions the cap is split by.
|
|
11664
|
+
* @type {Array<string>}
|
|
11665
|
+
* @memberof UserBudgetCapDto
|
|
11666
|
+
*/
|
|
11667
|
+
per?: Array<string>;
|
|
11668
|
+
/**
|
|
11669
|
+
* Spend windows. Mutually exclusive with `slices`.
|
|
11670
|
+
* @type {UserBudgetWindowsDto}
|
|
11671
|
+
* @memberof UserBudgetCapDto
|
|
11672
|
+
*/
|
|
11673
|
+
windows?: UserBudgetWindowsDto;
|
|
11674
|
+
/**
|
|
11675
|
+
* Per-slice spend windows. Mutually exclusive with `windows`.
|
|
11676
|
+
* @type {Array<UserBudgetSliceDto>}
|
|
11677
|
+
* @memberof UserBudgetCapDto
|
|
11678
|
+
*/
|
|
11679
|
+
slices?: Array<UserBudgetSliceDto>;
|
|
11680
|
+
}
|
|
11681
|
+
/**
|
|
11682
|
+
*
|
|
11683
|
+
* @export
|
|
11684
|
+
* @interface UserBudgetDto
|
|
11685
|
+
*/
|
|
11686
|
+
export interface UserBudgetDto {
|
|
11687
|
+
/**
|
|
11688
|
+
* The exact `X-DIAL-BUDGET` value for this budget, `<costObject>/<id>`.
|
|
11689
|
+
* @type {string}
|
|
11690
|
+
* @memberof UserBudgetDto
|
|
11691
|
+
*/
|
|
11692
|
+
budget: string;
|
|
11693
|
+
/**
|
|
11694
|
+
* The cost object the budget belongs to.
|
|
11695
|
+
* @type {string}
|
|
11696
|
+
* @memberof UserBudgetDto
|
|
11697
|
+
*/
|
|
11698
|
+
costObject: string;
|
|
11699
|
+
/**
|
|
11700
|
+
* Human-readable budget name; absent when none is set.
|
|
11701
|
+
* @type {string}
|
|
11702
|
+
* @memberof UserBudgetDto
|
|
11703
|
+
*/
|
|
11704
|
+
displayName?: string;
|
|
11705
|
+
/**
|
|
11706
|
+
* True when this budget is the caller's default budget.
|
|
11707
|
+
* @type {boolean}
|
|
11708
|
+
* @memberof UserBudgetDto
|
|
11709
|
+
*/
|
|
11710
|
+
default: boolean;
|
|
11711
|
+
/**
|
|
11712
|
+
* Deployments or groups the budget applies to.
|
|
11713
|
+
* @type {Array<string>}
|
|
11714
|
+
* @memberof UserBudgetDto
|
|
11715
|
+
*/
|
|
11716
|
+
packages?: Array<string>;
|
|
11717
|
+
/**
|
|
11718
|
+
* Dimensions the budget is split by.
|
|
11719
|
+
* @type {Array<string>}
|
|
11720
|
+
* @memberof UserBudgetDto
|
|
11721
|
+
*/
|
|
11722
|
+
per?: Array<string>;
|
|
11723
|
+
/**
|
|
11724
|
+
* Spend windows. Mutually exclusive with `slices`.
|
|
11725
|
+
* @type {UserBudgetWindowsDto}
|
|
11726
|
+
* @memberof UserBudgetDto
|
|
11727
|
+
*/
|
|
11728
|
+
windows?: UserBudgetWindowsDto;
|
|
11729
|
+
/**
|
|
11730
|
+
* Per-slice spend windows. Mutually exclusive with `windows`.
|
|
11731
|
+
* @type {Array<UserBudgetSliceDto>}
|
|
11732
|
+
* @memberof UserBudgetDto
|
|
11733
|
+
*/
|
|
11734
|
+
slices?: Array<UserBudgetSliceDto>;
|
|
11735
|
+
/**
|
|
11736
|
+
* Caps that further limit this budget.
|
|
11737
|
+
* @type {Array<UserBudgetCapDto>}
|
|
11738
|
+
* @memberof UserBudgetDto
|
|
11739
|
+
*/
|
|
11740
|
+
caps?: Array<UserBudgetCapDto>;
|
|
11741
|
+
}
|
|
11742
|
+
/**
|
|
11743
|
+
*
|
|
11744
|
+
* @export
|
|
11745
|
+
* @interface UserBudgetSliceDto
|
|
11746
|
+
*/
|
|
11747
|
+
export interface UserBudgetSliceDto {
|
|
11748
|
+
/**
|
|
11749
|
+
* The value of the dimension the budget is split by.
|
|
11750
|
+
* @type {string}
|
|
11751
|
+
* @memberof UserBudgetSliceDto
|
|
11752
|
+
*/
|
|
11753
|
+
slice: string;
|
|
11754
|
+
/**
|
|
11755
|
+
*
|
|
11756
|
+
* @type {UserBudgetWindowsDto}
|
|
11757
|
+
* @memberof UserBudgetSliceDto
|
|
11758
|
+
*/
|
|
11759
|
+
windows: UserBudgetWindowsDto;
|
|
11760
|
+
}
|
|
11761
|
+
/**
|
|
11762
|
+
*
|
|
11763
|
+
* @export
|
|
11764
|
+
* @interface UserBudgetWindowStatsDto
|
|
11765
|
+
*/
|
|
11766
|
+
export interface UserBudgetWindowStatsDto {
|
|
11767
|
+
/**
|
|
11768
|
+
*
|
|
11769
|
+
* @type {number}
|
|
11770
|
+
* @memberof UserBudgetWindowStatsDto
|
|
11771
|
+
*/
|
|
11772
|
+
total: number;
|
|
11773
|
+
/**
|
|
11774
|
+
*
|
|
11775
|
+
* @type {number}
|
|
11776
|
+
* @memberof UserBudgetWindowStatsDto
|
|
11777
|
+
*/
|
|
11778
|
+
used: number;
|
|
11779
|
+
/**
|
|
11780
|
+
* Optional ISO-8601 instant, forwarded as DIAL Core sends it, at which this window ends and a fresh one begins. The offset is that of the rate-limit schedule time zone configured in DIAL Core: `Z` when the schedule is UTC (the default), otherwise the zone offset, for example `2026-12-04T00:00:00+01:00`. The window boundary follows that zone and its reset time, so it is not necessarily UTC midnight. DIAL Core may omit the field. The BFF never parses, reformats, converts, drops or synthesizes it.
|
|
11781
|
+
* @type {string}
|
|
11782
|
+
* @memberof UserBudgetWindowStatsDto
|
|
11783
|
+
*/
|
|
11784
|
+
resetsAt?: string;
|
|
11785
|
+
}
|
|
11786
|
+
/**
|
|
11787
|
+
*
|
|
11788
|
+
* @export
|
|
11789
|
+
* @interface UserBudgetWindowsDto
|
|
11790
|
+
*/
|
|
11791
|
+
export interface UserBudgetWindowsDto {
|
|
11792
|
+
/**
|
|
11793
|
+
* Spend in the current day of DIAL Core's rate-limit schedule time zone (not necessarily UTC). A `total` at or above 2^53 (9007199254740992) is DIAL Core's "unlimited" sentinel (`Long.MAX_VALUE`, which JSON parsing turns into 9223372036854776000); treat it as unlimited and never compare it for equality with 9223372036854775807.
|
|
11794
|
+
* @type {UserBudgetWindowStatsDto}
|
|
11795
|
+
* @memberof UserBudgetWindowsDto
|
|
11796
|
+
*/
|
|
11797
|
+
day: UserBudgetWindowStatsDto;
|
|
11798
|
+
/**
|
|
11799
|
+
* Spend in the current month of DIAL Core's rate-limit schedule time zone (not necessarily UTC). A `total` at or above 2^53 (9007199254740992) is DIAL Core's "unlimited" sentinel (`Long.MAX_VALUE`, which JSON parsing turns into 9223372036854776000); treat it as unlimited and never compare it for equality with 9223372036854775807.
|
|
11800
|
+
* @type {UserBudgetWindowStatsDto}
|
|
11801
|
+
* @memberof UserBudgetWindowsDto
|
|
11802
|
+
*/
|
|
11803
|
+
month: UserBudgetWindowStatsDto;
|
|
11804
|
+
}
|
|
11805
|
+
/**
|
|
11806
|
+
*
|
|
11807
|
+
* @export
|
|
11808
|
+
* @interface UserBudgetsResponseDto
|
|
11809
|
+
*/
|
|
11810
|
+
export interface UserBudgetsResponseDto {
|
|
11811
|
+
/**
|
|
11812
|
+
* When true and a call names no budget and no default applies, DIAL Core picks the payer itself, walking the budgets by priority; when false it refuses such a call.
|
|
11813
|
+
* @type {boolean}
|
|
11814
|
+
* @memberof UserBudgetsResponseDto
|
|
11815
|
+
*/
|
|
11816
|
+
autoBudgetSelection: boolean;
|
|
11817
|
+
/**
|
|
11818
|
+
* When true, DIAL Core refuses a call to a model that does not carry the `X-DIAL-BUDGET` header, with `400`. A default budget does not satisfy it.
|
|
11819
|
+
* @type {boolean}
|
|
11820
|
+
* @memberof UserBudgetsResponseDto
|
|
11821
|
+
*/
|
|
11822
|
+
budgetMandatory: boolean;
|
|
11823
|
+
/**
|
|
11824
|
+
* The `budget` of the caller's default; DIAL Core sends `null` when none of the returned budgets is the default.
|
|
11825
|
+
* @type {string}
|
|
11826
|
+
* @memberof UserBudgetsResponseDto
|
|
11827
|
+
*/
|
|
11828
|
+
defaultBudget?: string | null;
|
|
11829
|
+
/**
|
|
11830
|
+
* Every budget instance the caller holds, in the order DIAL Core returns them (cost object, then priority, then id). Empty when spending limits are off.
|
|
11831
|
+
* @type {Array<UserBudgetDto>}
|
|
11832
|
+
* @memberof UserBudgetsResponseDto
|
|
11833
|
+
*/
|
|
11834
|
+
budgets: Array<UserBudgetDto>;
|
|
11835
|
+
}
|
|
11384
11836
|
/**
|
|
11385
11837
|
*
|
|
11386
11838
|
* @export
|
|
@@ -11533,19 +11985,19 @@ export interface UserProfileDto {
|
|
|
11533
11985
|
*/
|
|
11534
11986
|
export interface UserUsageHistoryResponseDto {
|
|
11535
11987
|
/**
|
|
11536
|
-
* Whether DIAL Analytics answered. `true`: `period`, `currency`, `totals`, `daily` and `byModel` are present (and `byClient` when the client-identity enrichment is available). `false`: only `reason` is present.
|
|
11988
|
+
* Whether DIAL Analytics answered. `true`: `period`, `currency`, `totals`, `daily` and `byModel` are present (and `byClient` when the client-identity enrichment is available, `latestRequestAt` when the window has a counted row, `tokens` when the token totals were read). `false`: only `reason` is present.
|
|
11537
11989
|
* @type {boolean}
|
|
11538
11990
|
* @memberof UserUsageHistoryResponseDto
|
|
11539
11991
|
*/
|
|
11540
11992
|
available: boolean;
|
|
11541
11993
|
/**
|
|
11542
|
-
* Present only when `available` is `false`. `not_configured`: ANALYTICS_URL is unset. `forbidden`: DIAL Analytics refused the caller's token, the caller cannot read the usage log, or DIAL Analytics cannot run the own-rows filter (no query caller values, or `user_hash` hidden from the caller). `unavailable`: timeout, network error or
|
|
11994
|
+
* Present only when `available` is `false`. `not_configured`: ANALYTICS_URL is unset. `forbidden`: DIAL Analytics refused the caller's token, the caller cannot read the usage log, or DIAL Analytics cannot run the own-rows filter (no query caller values, or `user_hash` hidden from the caller). `unavailable`: timeout, network error, server error, or, with `budget` and a root breakdown, a caller schema of the usage log without `root_deployment` (needs DIAL Analytics 0.25). `budget_unsupported`: `costObject` and `policy` were given, but the caller's DIAL Analytics schema of the usage log has no budget columns.
|
|
11543
11995
|
* @type {UsageHistoryUnavailableReason}
|
|
11544
11996
|
* @memberof UserUsageHistoryResponseDto
|
|
11545
11997
|
*/
|
|
11546
11998
|
reason?: UsageHistoryUnavailableReason;
|
|
11547
11999
|
/**
|
|
11548
|
-
* Present only when `available` is `true` and the request named a budget: every figure is then that budget's, from the model calls it paid for. Rows written before DIAL Core logged the charged budget carry none and are not counted.
|
|
12000
|
+
* Present only when `available` is `true` and the request named a budget: every figure is then that budget's, from the model calls it paid for, grouped as `breakdown` says. Rows written before DIAL Core logged the charged budget carry none and are not counted.
|
|
11549
12001
|
* @type {UsageHistoryBudgetDto}
|
|
11550
12002
|
* @memberof UserUsageHistoryResponseDto
|
|
11551
12003
|
*/
|
|
@@ -11556,6 +12008,12 @@ export interface UserUsageHistoryResponseDto {
|
|
|
11556
12008
|
* @memberof UserUsageHistoryResponseDto
|
|
11557
12009
|
*/
|
|
11558
12010
|
period?: UsageHistoryWindowDto;
|
|
12011
|
+
/**
|
|
12012
|
+
* Present only when `available` is `true` and the window has a counted row: the `request_time` of the latest row that `totals` counts, in the same scope (without `budget` the latest priced root span, with `budget` the latest priced model call that budget paid for), ISO-8601 UTC with milliseconds. It is the time of the latest counted request, not an ingest watermark: DIAL Analytics stores a call minutes after it is made (usually 1 to 11, rarely up to a day), so calls newer than this may exist and appear on a later request. Absent when no row is counted.
|
|
12013
|
+
* @type {string}
|
|
12014
|
+
* @memberof UserUsageHistoryResponseDto
|
|
12015
|
+
*/
|
|
12016
|
+
latestRequestAt?: string;
|
|
11559
12017
|
/**
|
|
11560
12018
|
* Present only when `available` is `true`. Always `USD`: DIAL Analytics prices carry no currency.
|
|
11561
12019
|
* @type {string}
|
|
@@ -11568,6 +12026,12 @@ export interface UserUsageHistoryResponseDto {
|
|
|
11568
12026
|
* @memberof UserUsageHistoryResponseDto
|
|
11569
12027
|
*/
|
|
11570
12028
|
totals?: UsageHistoryTotalsDto;
|
|
12029
|
+
/**
|
|
12030
|
+
* Present only when `available` is `true` and the token totals were read: the caller's DIAL Analytics schema of the usage log lists `prompt_tokens`, `cached_prompt_tokens`, `cache_creation_tokens` and `event_kind`, and their query succeeded. Otherwise absent, not zero-filled; the other fields do not depend on it. Rows written by DIAL Core older than 0.47, and applications that copy their models' usage into their own report, are counted twice.
|
|
12031
|
+
* @type {UsageHistoryTokensDto}
|
|
12032
|
+
* @memberof UserUsageHistoryResponseDto
|
|
12033
|
+
*/
|
|
12034
|
+
tokens?: UsageHistoryTokensDto;
|
|
11571
12035
|
/**
|
|
11572
12036
|
* Present only when `available` is `true`. One entry per UTC date of the window, ascending, zero-filled.
|
|
11573
12037
|
* @type {Array<UsageHistoryDailyEntryDto>}
|
|
@@ -11575,7 +12039,7 @@ export interface UserUsageHistoryResponseDto {
|
|
|
11575
12039
|
*/
|
|
11576
12040
|
daily?: Array<UsageHistoryDailyEntryDto>;
|
|
11577
12041
|
/**
|
|
11578
|
-
* Present only when `available` is `true`. Root deployments by spend descending, at most 10, followed by one `other` entry with the remainder when more than 10 have usage. When the request named a budget, the entries are the models whose calls that budget paid for, including models called by an application or other deployment,
|
|
12042
|
+
* Present only when `available` is `true`. Root deployments by spend descending, at most 10, followed by one `other` entry with the remainder when more than 10 have usage. When the request named a budget, the entries are the models whose calls that budget paid for, including models called by an application or other deployment (`breakdown` `model`), or the deployments or routes the user called (`root`, `root_nested`), then `other`, then `unattributed` for paid calls without a root.
|
|
11579
12043
|
* @type {Array<UsageHistoryModelEntryDto>}
|
|
11580
12044
|
* @memberof UserUsageHistoryResponseDto
|
|
11581
12045
|
*/
|
|
@@ -11587,6 +12051,49 @@ export interface UserUsageHistoryResponseDto {
|
|
|
11587
12051
|
*/
|
|
11588
12052
|
byClient?: Array<UsageHistoryClientEntryDto>;
|
|
11589
12053
|
}
|
|
12054
|
+
/**
|
|
12055
|
+
*
|
|
12056
|
+
* @export
|
|
12057
|
+
* @interface UserUsageTotalsResponseDto
|
|
12058
|
+
*/
|
|
12059
|
+
export interface UserUsageTotalsResponseDto {
|
|
12060
|
+
/**
|
|
12061
|
+
* Whether DIAL Analytics answered. `true`: `period`, `currency`, `current` and `previous` are present. `false`: only `reason` is present.
|
|
12062
|
+
* @type {boolean}
|
|
12063
|
+
* @memberof UserUsageTotalsResponseDto
|
|
12064
|
+
*/
|
|
12065
|
+
available: boolean;
|
|
12066
|
+
/**
|
|
12067
|
+
* Present only when `available` is `false`. `not_configured`: ANALYTICS_URL is unset. `forbidden`: DIAL Analytics refused the caller's token, the caller cannot read the usage log, or DIAL Analytics cannot run the own-rows filter. `unavailable`: timeout, network error, server error or an unexpected response, for either window. `budget_unsupported`: the caller's DIAL Analytics schema of the usage log has no budget columns.
|
|
12068
|
+
* @type {UsageHistoryUnavailableReason}
|
|
12069
|
+
* @memberof UserUsageTotalsResponseDto
|
|
12070
|
+
*/
|
|
12071
|
+
reason?: UsageHistoryUnavailableReason;
|
|
12072
|
+
/**
|
|
12073
|
+
* Present only when `available` is `true`. The requested period.
|
|
12074
|
+
* @type {UsageHistoryPeriod}
|
|
12075
|
+
* @memberof UserUsageTotalsResponseDto
|
|
12076
|
+
*/
|
|
12077
|
+
period?: UsageHistoryPeriod;
|
|
12078
|
+
/**
|
|
12079
|
+
* Present only when `available` is `true`. Always `USD`: DIAL Analytics prices carry no currency.
|
|
12080
|
+
* @type {string}
|
|
12081
|
+
* @memberof UserUsageTotalsResponseDto
|
|
12082
|
+
*/
|
|
12083
|
+
currency?: string;
|
|
12084
|
+
/**
|
|
12085
|
+
* Present only when `available` is `true`. The current UTC day, ISO week (Monday start) or month, from its start to the request time.
|
|
12086
|
+
* @type {UsageTotalsWindowDto}
|
|
12087
|
+
* @memberof UserUsageTotalsResponseDto
|
|
12088
|
+
*/
|
|
12089
|
+
current?: UsageTotalsWindowDto;
|
|
12090
|
+
/**
|
|
12091
|
+
* Present only when `available` is `true`, always together with `current`. The previous day, ISO week or month over the same elapsed time, cut at its own end.
|
|
12092
|
+
* @type {UsageTotalsWindowDto}
|
|
12093
|
+
* @memberof UserUsageTotalsResponseDto
|
|
12094
|
+
*/
|
|
12095
|
+
previous?: UsageTotalsWindowDto;
|
|
12096
|
+
}
|
|
11590
12097
|
/**
|
|
11591
12098
|
*
|
|
11592
12099
|
* @export
|