@epam/ai-dial-chat-api-client 1.3.0 → 1.3.2
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/ApplicationsApi.d.ts.map +1 -1
- package/generated/src/apis/ModelsApi.d.ts +24 -1
- package/generated/src/apis/ModelsApi.d.ts.map +1 -1
- package/generated/src/apis/ModelsApi.js +66 -0
- package/generated/src/apis/OrgUnitsApi.d.ts +29 -0
- package/generated/src/apis/OrgUnitsApi.d.ts.map +1 -0
- package/generated/src/apis/OrgUnitsApi.js +54 -0
- package/generated/src/apis/ProjectsApi.d.ts +2 -2
- package/generated/src/apis/ProjectsApi.js +2 -2
- package/generated/src/apis/index.d.ts +1 -0
- package/generated/src/apis/index.d.ts.map +1 -1
- package/generated/src/apis/index.js +1 -0
- package/generated/src/models/index.d.ts +377 -4
- package/generated/src/models/index.d.ts.map +1 -1
- package/generated/src/models/index.js +17 -2
- package/package.json +2 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
|
@@ -299,6 +299,12 @@ export interface AnnouncementItemDto {
|
|
|
299
299
|
* @memberof AnnouncementItemDto
|
|
300
300
|
*/
|
|
301
301
|
link: AnnouncementLinkDto | null;
|
|
302
|
+
/**
|
|
303
|
+
* How urgent the announcement is, for clients that mark maintenance or outage notices. Always present: an entry configured without one, or with an unrecognized value, is returned as `info`. Clients should treat a value they do not recognize as `info`, since more levels may be added.
|
|
304
|
+
* @type {AnnouncementSeverity}
|
|
305
|
+
* @memberof AnnouncementItemDto
|
|
306
|
+
*/
|
|
307
|
+
severity: AnnouncementSeverity;
|
|
302
308
|
}
|
|
303
309
|
/**
|
|
304
310
|
*
|
|
@@ -319,6 +325,15 @@ export interface AnnouncementLinkDto {
|
|
|
319
325
|
*/
|
|
320
326
|
href: string;
|
|
321
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* How urgent the announcement is, for clients that mark maintenance or outage notices. Always present: an entry configured without one, or with an unrecognized value, is returned as `info`. Clients should treat a value they do not recognize as `info`, since more levels may be added.
|
|
330
|
+
* @export
|
|
331
|
+
*/
|
|
332
|
+
export declare const AnnouncementSeverity: {
|
|
333
|
+
readonly Info: "info";
|
|
334
|
+
readonly Warning: "warning";
|
|
335
|
+
};
|
|
336
|
+
export type AnnouncementSeverity = (typeof AnnouncementSeverity)[keyof typeof AnnouncementSeverity];
|
|
322
337
|
/**
|
|
323
338
|
*
|
|
324
339
|
* @export
|
|
@@ -469,6 +484,45 @@ export interface ApplicationDto {
|
|
|
469
484
|
*/
|
|
470
485
|
maxInputAttachments?: number;
|
|
471
486
|
}
|
|
487
|
+
/**
|
|
488
|
+
* Why DIAL Core refused the save. `applicationDependentResourceMissing`: a resource the application depends on is no longer available.
|
|
489
|
+
* @export
|
|
490
|
+
*/
|
|
491
|
+
export declare const ApplicationErrorCode: {
|
|
492
|
+
readonly ApplicationDependentResourceMissing: "applicationDependentResourceMissing";
|
|
493
|
+
};
|
|
494
|
+
export type ApplicationErrorCode = (typeof ApplicationErrorCode)[keyof typeof ApplicationErrorCode];
|
|
495
|
+
/**
|
|
496
|
+
*
|
|
497
|
+
* @export
|
|
498
|
+
* @interface ApplicationErrorDto
|
|
499
|
+
*/
|
|
500
|
+
export interface ApplicationErrorDto {
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
* @type {number}
|
|
504
|
+
* @memberof ApplicationErrorDto
|
|
505
|
+
*/
|
|
506
|
+
statusCode: number;
|
|
507
|
+
/**
|
|
508
|
+
* HTTP status text. Absent from a plain `403 Forbidden`.
|
|
509
|
+
* @type {string}
|
|
510
|
+
* @memberof ApplicationErrorDto
|
|
511
|
+
*/
|
|
512
|
+
error?: string;
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* @type {string}
|
|
516
|
+
* @memberof ApplicationErrorDto
|
|
517
|
+
*/
|
|
518
|
+
message: string;
|
|
519
|
+
/**
|
|
520
|
+
* Why DIAL Core refused the save. `applicationDependentResourceMissing`: a resource the application depends on is no longer available.
|
|
521
|
+
* @type {ApplicationErrorCode}
|
|
522
|
+
* @memberof ApplicationErrorDto
|
|
523
|
+
*/
|
|
524
|
+
code?: ApplicationErrorCode;
|
|
525
|
+
}
|
|
472
526
|
/**
|
|
473
527
|
*
|
|
474
528
|
* @export
|
|
@@ -880,6 +934,49 @@ export declare const BackgroundGenerationStatus: {
|
|
|
880
934
|
readonly Failed: "failed";
|
|
881
935
|
};
|
|
882
936
|
export type BackgroundGenerationStatus = (typeof BackgroundGenerationStatus)[keyof typeof BackgroundGenerationStatus];
|
|
937
|
+
/**
|
|
938
|
+
*
|
|
939
|
+
* @export
|
|
940
|
+
* @interface BudgetStatsDto
|
|
941
|
+
*/
|
|
942
|
+
export interface BudgetStatsDto {
|
|
943
|
+
/**
|
|
944
|
+
* The cost object the budget applies in. A cost object can hold several budgets, so more than one entry may carry the same value.
|
|
945
|
+
* @type {string}
|
|
946
|
+
* @memberof BudgetStatsDto
|
|
947
|
+
*/
|
|
948
|
+
costObject: string;
|
|
949
|
+
/**
|
|
950
|
+
* The path of the budget's policy.
|
|
951
|
+
* @type {string}
|
|
952
|
+
* @memberof BudgetStatsDto
|
|
953
|
+
*/
|
|
954
|
+
policy: string;
|
|
955
|
+
/**
|
|
956
|
+
* The priority of the budget's policy, lower first; absent when the policy sets none.
|
|
957
|
+
* @type {number}
|
|
958
|
+
* @memberof BudgetStatsDto
|
|
959
|
+
*/
|
|
960
|
+
priority?: number;
|
|
961
|
+
/**
|
|
962
|
+
* The human-readable name of the budget's policy; absent when the policy sets none. Use `policy` as the identifier — the display name need not be unique.
|
|
963
|
+
* @type {string}
|
|
964
|
+
* @memberof BudgetStatsDto
|
|
965
|
+
*/
|
|
966
|
+
displayName?: string;
|
|
967
|
+
/**
|
|
968
|
+
* The budget's limit and the caller's spend against it for the current UTC day. A `total` at or above 9007199254740992 (2^53) is the unlimited sentinel — see UserLimitStatsResponseDto.minuteCostStats.
|
|
969
|
+
* @type {LimitStatsDto}
|
|
970
|
+
* @memberof BudgetStatsDto
|
|
971
|
+
*/
|
|
972
|
+
day: LimitStatsDto;
|
|
973
|
+
/**
|
|
974
|
+
* The budget's limit and the caller's spend against it for the current UTC month. A `total` at or above 9007199254740992 (2^53) is the unlimited sentinel — see UserLimitStatsResponseDto.minuteCostStats.
|
|
975
|
+
* @type {LimitStatsDto}
|
|
976
|
+
* @memberof BudgetStatsDto
|
|
977
|
+
*/
|
|
978
|
+
month: LimitStatsDto;
|
|
979
|
+
}
|
|
883
980
|
/**
|
|
884
981
|
*
|
|
885
982
|
* @export
|
|
@@ -1801,6 +1898,12 @@ export interface ClientConfigDto {
|
|
|
1801
1898
|
* @memberof ClientConfigDto
|
|
1802
1899
|
*/
|
|
1803
1900
|
catalogCreationPermissions: CatalogCreationPermissionsDto;
|
|
1901
|
+
/**
|
|
1902
|
+
* Whether GET /api/v1/model-catalog is configured (MODEL_CATALOG_API_KEY is set). Missing means unavailable. Never carries the key.
|
|
1903
|
+
* @type {boolean}
|
|
1904
|
+
* @memberof ClientConfigDto
|
|
1905
|
+
*/
|
|
1906
|
+
modelCatalogAvailable?: boolean;
|
|
1804
1907
|
}
|
|
1805
1908
|
/**
|
|
1806
1909
|
* @export
|
|
@@ -4420,6 +4523,14 @@ export interface DialModelDto {
|
|
|
4420
4523
|
responsesDefaults?: {
|
|
4421
4524
|
[key: string]: unknown;
|
|
4422
4525
|
};
|
|
4526
|
+
/**
|
|
4527
|
+
* Curated catalog display metadata from DIAL Core, forwarded as sent
|
|
4528
|
+
* @type {{ [key: string]: unknown }}
|
|
4529
|
+
* @memberof DialModelDto
|
|
4530
|
+
*/
|
|
4531
|
+
catalogProperties?: {
|
|
4532
|
+
[key: string]: unknown;
|
|
4533
|
+
};
|
|
4423
4534
|
/**
|
|
4424
4535
|
*
|
|
4425
4536
|
* @type {Array<string>}
|
|
@@ -4438,6 +4549,24 @@ export interface DialModelDto {
|
|
|
4438
4549
|
* @memberof DialModelDto
|
|
4439
4550
|
*/
|
|
4440
4551
|
lifecycleStatus?: string;
|
|
4552
|
+
/**
|
|
4553
|
+
* Provider that hosts the model, free-form text forwarded from DIAL Core unvalidated
|
|
4554
|
+
* @type {string}
|
|
4555
|
+
* @memberof DialModelDto
|
|
4556
|
+
*/
|
|
4557
|
+
provider?: string;
|
|
4558
|
+
/**
|
|
4559
|
+
* Date the model is deprecated but still served, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
|
|
4560
|
+
* @type {string}
|
|
4561
|
+
* @memberof DialModelDto
|
|
4562
|
+
*/
|
|
4563
|
+
deprecationDate?: string;
|
|
4564
|
+
/**
|
|
4565
|
+
* Date the provider stops serving the model, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
|
|
4566
|
+
* @type {string}
|
|
4567
|
+
* @memberof DialModelDto
|
|
4568
|
+
*/
|
|
4569
|
+
endOfService?: string;
|
|
4441
4570
|
/**
|
|
4442
4571
|
*
|
|
4443
4572
|
* @type {DialModelCapabilitiesDto}
|
|
@@ -6265,15 +6394,179 @@ export interface ModelCapabilitiesDto {
|
|
|
6265
6394
|
/**
|
|
6266
6395
|
*
|
|
6267
6396
|
* @export
|
|
6268
|
-
* @interface
|
|
6397
|
+
* @interface ModelCatalogEntryDto
|
|
6269
6398
|
*/
|
|
6270
|
-
export interface
|
|
6399
|
+
export interface ModelCatalogEntryDto {
|
|
6271
6400
|
/**
|
|
6272
|
-
*
|
|
6401
|
+
*
|
|
6273
6402
|
* @type {string}
|
|
6274
|
-
* @memberof
|
|
6403
|
+
* @memberof ModelCatalogEntryDto
|
|
6404
|
+
*/
|
|
6405
|
+
id: string;
|
|
6406
|
+
/**
|
|
6407
|
+
*
|
|
6408
|
+
* @type {string}
|
|
6409
|
+
* @memberof ModelCatalogEntryDto
|
|
6410
|
+
*/
|
|
6411
|
+
object: string;
|
|
6412
|
+
/**
|
|
6413
|
+
*
|
|
6414
|
+
* @type {string}
|
|
6415
|
+
* @memberof ModelCatalogEntryDto
|
|
6416
|
+
*/
|
|
6417
|
+
model?: string;
|
|
6418
|
+
/**
|
|
6419
|
+
*
|
|
6420
|
+
* @type {DialModelDtoDisplayName}
|
|
6421
|
+
* @memberof ModelCatalogEntryDto
|
|
6422
|
+
*/
|
|
6423
|
+
displayName?: DialModelDtoDisplayName;
|
|
6424
|
+
/**
|
|
6425
|
+
*
|
|
6426
|
+
* @type {string}
|
|
6427
|
+
* @memberof ModelCatalogEntryDto
|
|
6428
|
+
*/
|
|
6429
|
+
displayVersion?: string;
|
|
6430
|
+
/**
|
|
6431
|
+
*
|
|
6432
|
+
* @type {string}
|
|
6433
|
+
* @memberof ModelCatalogEntryDto
|
|
6434
|
+
*/
|
|
6435
|
+
iconUrl?: string;
|
|
6436
|
+
/**
|
|
6437
|
+
*
|
|
6438
|
+
* @type {DialModelDtoDescription}
|
|
6439
|
+
* @memberof ModelCatalogEntryDto
|
|
6440
|
+
*/
|
|
6441
|
+
description?: DialModelDtoDescription;
|
|
6442
|
+
/**
|
|
6443
|
+
*
|
|
6444
|
+
* @type {string}
|
|
6445
|
+
* @memberof ModelCatalogEntryDto
|
|
6446
|
+
*/
|
|
6447
|
+
reference?: string;
|
|
6448
|
+
/**
|
|
6449
|
+
*
|
|
6450
|
+
* @type {string}
|
|
6451
|
+
* @memberof ModelCatalogEntryDto
|
|
6452
|
+
*/
|
|
6453
|
+
owner?: string;
|
|
6454
|
+
/**
|
|
6455
|
+
*
|
|
6456
|
+
* @type {string}
|
|
6457
|
+
* @memberof ModelCatalogEntryDto
|
|
6458
|
+
*/
|
|
6459
|
+
status?: string;
|
|
6460
|
+
/**
|
|
6461
|
+
*
|
|
6462
|
+
* @type {number}
|
|
6463
|
+
* @memberof ModelCatalogEntryDto
|
|
6464
|
+
*/
|
|
6465
|
+
createdAt?: number;
|
|
6466
|
+
/**
|
|
6467
|
+
*
|
|
6468
|
+
* @type {number}
|
|
6469
|
+
* @memberof ModelCatalogEntryDto
|
|
6470
|
+
*/
|
|
6471
|
+
updatedAt?: number;
|
|
6472
|
+
/**
|
|
6473
|
+
*
|
|
6474
|
+
* @type {DialModelFeaturesDto}
|
|
6475
|
+
* @memberof ModelCatalogEntryDto
|
|
6476
|
+
*/
|
|
6477
|
+
features?: DialModelFeaturesDto;
|
|
6478
|
+
/**
|
|
6479
|
+
*
|
|
6480
|
+
* @type {Array<string>}
|
|
6481
|
+
* @memberof ModelCatalogEntryDto
|
|
6482
|
+
*/
|
|
6483
|
+
inputAttachmentTypes?: Array<string>;
|
|
6484
|
+
/**
|
|
6485
|
+
*
|
|
6486
|
+
* @type {number}
|
|
6487
|
+
* @memberof ModelCatalogEntryDto
|
|
6488
|
+
*/
|
|
6489
|
+
maxInputAttachments?: number;
|
|
6490
|
+
/**
|
|
6491
|
+
*
|
|
6492
|
+
* @type {Array<string>}
|
|
6493
|
+
* @memberof ModelCatalogEntryDto
|
|
6494
|
+
*/
|
|
6495
|
+
descriptionKeywords?: Array<string>;
|
|
6496
|
+
/**
|
|
6497
|
+
*
|
|
6498
|
+
* @type {string}
|
|
6499
|
+
* @memberof ModelCatalogEntryDto
|
|
6500
|
+
*/
|
|
6501
|
+
lifecycleStatus?: string;
|
|
6502
|
+
/**
|
|
6503
|
+
* Provider that hosts the model, free-form text forwarded from DIAL Core unvalidated
|
|
6504
|
+
* @type {string}
|
|
6505
|
+
* @memberof ModelCatalogEntryDto
|
|
6275
6506
|
*/
|
|
6276
6507
|
provider?: string;
|
|
6508
|
+
/**
|
|
6509
|
+
* Date the model is deprecated but still served, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
|
|
6510
|
+
* @type {string}
|
|
6511
|
+
* @memberof ModelCatalogEntryDto
|
|
6512
|
+
*/
|
|
6513
|
+
deprecationDate?: string;
|
|
6514
|
+
/**
|
|
6515
|
+
* Date the provider stops serving the model, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
|
|
6516
|
+
* @type {string}
|
|
6517
|
+
* @memberof ModelCatalogEntryDto
|
|
6518
|
+
*/
|
|
6519
|
+
endOfService?: string;
|
|
6520
|
+
/**
|
|
6521
|
+
*
|
|
6522
|
+
* @type {DialModelCapabilitiesDto}
|
|
6523
|
+
* @memberof ModelCatalogEntryDto
|
|
6524
|
+
*/
|
|
6525
|
+
capabilities?: DialModelCapabilitiesDto;
|
|
6526
|
+
/**
|
|
6527
|
+
*
|
|
6528
|
+
* @type {DialModelLimitsDto}
|
|
6529
|
+
* @memberof ModelCatalogEntryDto
|
|
6530
|
+
*/
|
|
6531
|
+
limits?: DialModelLimitsDto;
|
|
6532
|
+
/**
|
|
6533
|
+
*
|
|
6534
|
+
* @type {DialModelPricingDto}
|
|
6535
|
+
* @memberof ModelCatalogEntryDto
|
|
6536
|
+
*/
|
|
6537
|
+
pricing?: DialModelPricingDto;
|
|
6538
|
+
/**
|
|
6539
|
+
*
|
|
6540
|
+
* @type {Array<string>}
|
|
6541
|
+
* @memberof ModelCatalogEntryDto
|
|
6542
|
+
*/
|
|
6543
|
+
interfaces?: Array<string>;
|
|
6544
|
+
/**
|
|
6545
|
+
* Known model catalog properties allow-listed from DIAL Core catalog_properties
|
|
6546
|
+
* @type {ModelCatalogPropertiesDto}
|
|
6547
|
+
* @memberof ModelCatalogEntryDto
|
|
6548
|
+
*/
|
|
6549
|
+
catalogProperties?: ModelCatalogPropertiesDto;
|
|
6550
|
+
}
|
|
6551
|
+
/**
|
|
6552
|
+
*
|
|
6553
|
+
* @export
|
|
6554
|
+
* @interface ModelCatalogListResponseDto
|
|
6555
|
+
*/
|
|
6556
|
+
export interface ModelCatalogListResponseDto {
|
|
6557
|
+
/**
|
|
6558
|
+
*
|
|
6559
|
+
* @type {Array<ModelCatalogEntryDto>}
|
|
6560
|
+
* @memberof ModelCatalogListResponseDto
|
|
6561
|
+
*/
|
|
6562
|
+
data: Array<ModelCatalogEntryDto>;
|
|
6563
|
+
}
|
|
6564
|
+
/**
|
|
6565
|
+
*
|
|
6566
|
+
* @export
|
|
6567
|
+
* @interface ModelCatalogPropertiesDto
|
|
6568
|
+
*/
|
|
6569
|
+
export interface ModelCatalogPropertiesDto {
|
|
6277
6570
|
/**
|
|
6278
6571
|
* Model vendor for catalog display
|
|
6279
6572
|
* @type {string}
|
|
@@ -6317,6 +6610,24 @@ export interface ModelDetailsDto {
|
|
|
6317
6610
|
* @memberof ModelDetailsDto
|
|
6318
6611
|
*/
|
|
6319
6612
|
lifecycleStatus?: string;
|
|
6613
|
+
/**
|
|
6614
|
+
* Provider that hosts the model, free-form text forwarded from DIAL Core unvalidated
|
|
6615
|
+
* @type {string}
|
|
6616
|
+
* @memberof ModelDetailsDto
|
|
6617
|
+
*/
|
|
6618
|
+
provider?: string;
|
|
6619
|
+
/**
|
|
6620
|
+
* Date the model is deprecated but still served, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
|
|
6621
|
+
* @type {string}
|
|
6622
|
+
* @memberof ModelDetailsDto
|
|
6623
|
+
*/
|
|
6624
|
+
deprecationDate?: string;
|
|
6625
|
+
/**
|
|
6626
|
+
* Date the provider stops serving the model, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
|
|
6627
|
+
* @type {string}
|
|
6628
|
+
* @memberof ModelDetailsDto
|
|
6629
|
+
*/
|
|
6630
|
+
endOfService?: string;
|
|
6320
6631
|
/**
|
|
6321
6632
|
* Name of the model whose tokenization algorithm this model uses
|
|
6322
6633
|
* @type {string}
|
|
@@ -6679,6 +6990,62 @@ export interface OfflineCredentialsSigninBodyDto {
|
|
|
6679
6990
|
*/
|
|
6680
6991
|
redirectUri: string;
|
|
6681
6992
|
}
|
|
6993
|
+
/**
|
|
6994
|
+
*
|
|
6995
|
+
* @export
|
|
6996
|
+
* @interface OrgUnitDto
|
|
6997
|
+
*/
|
|
6998
|
+
export interface OrgUnitDto {
|
|
6999
|
+
/**
|
|
7000
|
+
* Core unit id
|
|
7001
|
+
* @type {string}
|
|
7002
|
+
* @memberof OrgUnitDto
|
|
7003
|
+
*/
|
|
7004
|
+
id: string;
|
|
7005
|
+
/**
|
|
7006
|
+
* Unit name; also the last segment of its folder
|
|
7007
|
+
* @type {string}
|
|
7008
|
+
* @memberof OrgUnitDto
|
|
7009
|
+
*/
|
|
7010
|
+
name: string;
|
|
7011
|
+
/**
|
|
7012
|
+
* Display name; falls back to `name` when Core has none
|
|
7013
|
+
* @type {string}
|
|
7014
|
+
* @memberof OrgUnitDto
|
|
7015
|
+
*/
|
|
7016
|
+
displayName: string;
|
|
7017
|
+
/**
|
|
7018
|
+
* Decoded unit address without a trailing slash
|
|
7019
|
+
* @type {string}
|
|
7020
|
+
* @memberof OrgUnitDto
|
|
7021
|
+
*/
|
|
7022
|
+
path: string;
|
|
7023
|
+
/**
|
|
7024
|
+
* Unit folder exactly as DIAL Core returns it: url-encoded, with a trailing slash
|
|
7025
|
+
* @type {string}
|
|
7026
|
+
* @memberof OrgUnitDto
|
|
7027
|
+
*/
|
|
7028
|
+
folder: string;
|
|
7029
|
+
}
|
|
7030
|
+
/**
|
|
7031
|
+
*
|
|
7032
|
+
* @export
|
|
7033
|
+
* @interface OrgUnitsResponseDto
|
|
7034
|
+
*/
|
|
7035
|
+
export interface OrgUnitsResponseDto {
|
|
7036
|
+
/**
|
|
7037
|
+
* `false` when DIAL Core has org units turned off
|
|
7038
|
+
* @type {boolean}
|
|
7039
|
+
* @memberof OrgUnitsResponseDto
|
|
7040
|
+
*/
|
|
7041
|
+
enabled: boolean;
|
|
7042
|
+
/**
|
|
7043
|
+
*
|
|
7044
|
+
* @type {Array<OrgUnitDto>}
|
|
7045
|
+
* @memberof OrgUnitsResponseDto
|
|
7046
|
+
*/
|
|
7047
|
+
units: Array<OrgUnitDto>;
|
|
7048
|
+
}
|
|
6682
7049
|
/**
|
|
6683
7050
|
*
|
|
6684
7051
|
* @export
|
|
@@ -10201,6 +10568,12 @@ export interface UserLimitStatsResponseDto {
|
|
|
10201
10568
|
* @memberof UserLimitStatsResponseDto
|
|
10202
10569
|
*/
|
|
10203
10570
|
monthCostStats?: LimitStatsDto;
|
|
10571
|
+
/**
|
|
10572
|
+
* The caller's spend against each spending budget that applies to them, in DIAL Core's order. A cost object can hold several budgets, so entries may share a `costObject`. The budgets are reported separately from, and are not merged into, the top-level `minuteCostStats`/`dayCostStats`/`weekCostStats`/`monthCostStats`. An empty array means DIAL Core reported no applicable budget (spending limits are off, no budget matches the caller, or the caller is an API key); an absent field means DIAL Core does not report budgets at all (an older DIAL Core). A window `total` at or above 9007199254740992 (2^53) represents the upstream "unlimited" sentinel (`Long.MAX_VALUE`, which exceeds `Number.MAX_SAFE_INTEGER`) and must be treated as unlimited rather than rendered as a used/total ratio. The BFF forwards the array verbatim.
|
|
10573
|
+
* @type {Array<BudgetStatsDto>}
|
|
10574
|
+
* @memberof UserLimitStatsResponseDto
|
|
10575
|
+
*/
|
|
10576
|
+
budgets?: Array<BudgetStatsDto>;
|
|
10204
10577
|
}
|
|
10205
10578
|
/**
|
|
10206
10579
|
*
|