@epam/ai-dial-chat-api-client 1.4.0-dev.6 → 1.4.0-dev.63
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/ConversationsApi.d.ts +14 -1
- package/generated/src/apis/ConversationsApi.d.ts.map +1 -1
- package/generated/src/apis/ConversationsApi.js +37 -0
- 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/OfflineCredentialsApi.d.ts +2 -2
- package/generated/src/apis/OfflineCredentialsApi.js +2 -2
- package/generated/src/apis/ProjectsApi.d.ts +2 -2
- package/generated/src/apis/ProjectsApi.js +2 -2
- package/generated/src/apis/PublishApi.d.ts +27 -1
- package/generated/src/apis/PublishApi.d.ts.map +1 -1
- package/generated/src/apis/PublishApi.js +51 -1
- package/generated/src/models/index.d.ts +324 -0
- package/generated/src/models/index.d.ts.map +1 -1
- package/generated/src/models/index.js +27 -2
- package/package.json +1 -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,43 @@ 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 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.
|
|
963
|
+
* @type {LimitStatsDto}
|
|
964
|
+
* @memberof BudgetStatsDto
|
|
965
|
+
*/
|
|
966
|
+
day: LimitStatsDto;
|
|
967
|
+
/**
|
|
968
|
+
* 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.
|
|
969
|
+
* @type {LimitStatsDto}
|
|
970
|
+
* @memberof BudgetStatsDto
|
|
971
|
+
*/
|
|
972
|
+
month: LimitStatsDto;
|
|
973
|
+
}
|
|
883
974
|
/**
|
|
884
975
|
*
|
|
885
976
|
* @export
|
|
@@ -1801,6 +1892,12 @@ export interface ClientConfigDto {
|
|
|
1801
1892
|
* @memberof ClientConfigDto
|
|
1802
1893
|
*/
|
|
1803
1894
|
catalogCreationPermissions: CatalogCreationPermissionsDto;
|
|
1895
|
+
/**
|
|
1896
|
+
* Whether GET /api/v1/model-catalog is configured (MODEL_CATALOG_API_KEY is set). Missing means unavailable. Never carries the key.
|
|
1897
|
+
* @type {boolean}
|
|
1898
|
+
* @memberof ClientConfigDto
|
|
1899
|
+
*/
|
|
1900
|
+
modelCatalogAvailable?: boolean;
|
|
1804
1901
|
}
|
|
1805
1902
|
/**
|
|
1806
1903
|
* @export
|
|
@@ -4420,6 +4517,14 @@ export interface DialModelDto {
|
|
|
4420
4517
|
responsesDefaults?: {
|
|
4421
4518
|
[key: string]: unknown;
|
|
4422
4519
|
};
|
|
4520
|
+
/**
|
|
4521
|
+
* Curated catalog display metadata from DIAL Core, forwarded as sent
|
|
4522
|
+
* @type {{ [key: string]: unknown }}
|
|
4523
|
+
* @memberof DialModelDto
|
|
4524
|
+
*/
|
|
4525
|
+
catalogProperties?: {
|
|
4526
|
+
[key: string]: unknown;
|
|
4527
|
+
};
|
|
4423
4528
|
/**
|
|
4424
4529
|
*
|
|
4425
4530
|
* @type {Array<string>}
|
|
@@ -6262,6 +6367,158 @@ export interface ModelCapabilitiesDto {
|
|
|
6262
6367
|
*/
|
|
6263
6368
|
scaleTypes?: Array<string>;
|
|
6264
6369
|
}
|
|
6370
|
+
/**
|
|
6371
|
+
*
|
|
6372
|
+
* @export
|
|
6373
|
+
* @interface ModelCatalogEntryDto
|
|
6374
|
+
*/
|
|
6375
|
+
export interface ModelCatalogEntryDto {
|
|
6376
|
+
/**
|
|
6377
|
+
*
|
|
6378
|
+
* @type {string}
|
|
6379
|
+
* @memberof ModelCatalogEntryDto
|
|
6380
|
+
*/
|
|
6381
|
+
id: string;
|
|
6382
|
+
/**
|
|
6383
|
+
*
|
|
6384
|
+
* @type {string}
|
|
6385
|
+
* @memberof ModelCatalogEntryDto
|
|
6386
|
+
*/
|
|
6387
|
+
object: string;
|
|
6388
|
+
/**
|
|
6389
|
+
*
|
|
6390
|
+
* @type {string}
|
|
6391
|
+
* @memberof ModelCatalogEntryDto
|
|
6392
|
+
*/
|
|
6393
|
+
model?: string;
|
|
6394
|
+
/**
|
|
6395
|
+
*
|
|
6396
|
+
* @type {DialModelDtoDisplayName}
|
|
6397
|
+
* @memberof ModelCatalogEntryDto
|
|
6398
|
+
*/
|
|
6399
|
+
displayName?: DialModelDtoDisplayName;
|
|
6400
|
+
/**
|
|
6401
|
+
*
|
|
6402
|
+
* @type {string}
|
|
6403
|
+
* @memberof ModelCatalogEntryDto
|
|
6404
|
+
*/
|
|
6405
|
+
displayVersion?: string;
|
|
6406
|
+
/**
|
|
6407
|
+
*
|
|
6408
|
+
* @type {string}
|
|
6409
|
+
* @memberof ModelCatalogEntryDto
|
|
6410
|
+
*/
|
|
6411
|
+
iconUrl?: string;
|
|
6412
|
+
/**
|
|
6413
|
+
*
|
|
6414
|
+
* @type {DialModelDtoDescription}
|
|
6415
|
+
* @memberof ModelCatalogEntryDto
|
|
6416
|
+
*/
|
|
6417
|
+
description?: DialModelDtoDescription;
|
|
6418
|
+
/**
|
|
6419
|
+
*
|
|
6420
|
+
* @type {string}
|
|
6421
|
+
* @memberof ModelCatalogEntryDto
|
|
6422
|
+
*/
|
|
6423
|
+
reference?: string;
|
|
6424
|
+
/**
|
|
6425
|
+
*
|
|
6426
|
+
* @type {string}
|
|
6427
|
+
* @memberof ModelCatalogEntryDto
|
|
6428
|
+
*/
|
|
6429
|
+
owner?: string;
|
|
6430
|
+
/**
|
|
6431
|
+
*
|
|
6432
|
+
* @type {string}
|
|
6433
|
+
* @memberof ModelCatalogEntryDto
|
|
6434
|
+
*/
|
|
6435
|
+
status?: string;
|
|
6436
|
+
/**
|
|
6437
|
+
*
|
|
6438
|
+
* @type {number}
|
|
6439
|
+
* @memberof ModelCatalogEntryDto
|
|
6440
|
+
*/
|
|
6441
|
+
createdAt?: number;
|
|
6442
|
+
/**
|
|
6443
|
+
*
|
|
6444
|
+
* @type {number}
|
|
6445
|
+
* @memberof ModelCatalogEntryDto
|
|
6446
|
+
*/
|
|
6447
|
+
updatedAt?: number;
|
|
6448
|
+
/**
|
|
6449
|
+
*
|
|
6450
|
+
* @type {DialModelFeaturesDto}
|
|
6451
|
+
* @memberof ModelCatalogEntryDto
|
|
6452
|
+
*/
|
|
6453
|
+
features?: DialModelFeaturesDto;
|
|
6454
|
+
/**
|
|
6455
|
+
*
|
|
6456
|
+
* @type {Array<string>}
|
|
6457
|
+
* @memberof ModelCatalogEntryDto
|
|
6458
|
+
*/
|
|
6459
|
+
inputAttachmentTypes?: Array<string>;
|
|
6460
|
+
/**
|
|
6461
|
+
*
|
|
6462
|
+
* @type {number}
|
|
6463
|
+
* @memberof ModelCatalogEntryDto
|
|
6464
|
+
*/
|
|
6465
|
+
maxInputAttachments?: number;
|
|
6466
|
+
/**
|
|
6467
|
+
*
|
|
6468
|
+
* @type {Array<string>}
|
|
6469
|
+
* @memberof ModelCatalogEntryDto
|
|
6470
|
+
*/
|
|
6471
|
+
descriptionKeywords?: Array<string>;
|
|
6472
|
+
/**
|
|
6473
|
+
*
|
|
6474
|
+
* @type {string}
|
|
6475
|
+
* @memberof ModelCatalogEntryDto
|
|
6476
|
+
*/
|
|
6477
|
+
lifecycleStatus?: string;
|
|
6478
|
+
/**
|
|
6479
|
+
*
|
|
6480
|
+
* @type {DialModelCapabilitiesDto}
|
|
6481
|
+
* @memberof ModelCatalogEntryDto
|
|
6482
|
+
*/
|
|
6483
|
+
capabilities?: DialModelCapabilitiesDto;
|
|
6484
|
+
/**
|
|
6485
|
+
*
|
|
6486
|
+
* @type {DialModelLimitsDto}
|
|
6487
|
+
* @memberof ModelCatalogEntryDto
|
|
6488
|
+
*/
|
|
6489
|
+
limits?: DialModelLimitsDto;
|
|
6490
|
+
/**
|
|
6491
|
+
*
|
|
6492
|
+
* @type {DialModelPricingDto}
|
|
6493
|
+
* @memberof ModelCatalogEntryDto
|
|
6494
|
+
*/
|
|
6495
|
+
pricing?: DialModelPricingDto;
|
|
6496
|
+
/**
|
|
6497
|
+
*
|
|
6498
|
+
* @type {Array<string>}
|
|
6499
|
+
* @memberof ModelCatalogEntryDto
|
|
6500
|
+
*/
|
|
6501
|
+
interfaces?: Array<string>;
|
|
6502
|
+
/**
|
|
6503
|
+
* Known model catalog properties allow-listed from DIAL Core catalog_properties
|
|
6504
|
+
* @type {ModelCatalogPropertiesDto}
|
|
6505
|
+
* @memberof ModelCatalogEntryDto
|
|
6506
|
+
*/
|
|
6507
|
+
catalogProperties?: ModelCatalogPropertiesDto;
|
|
6508
|
+
}
|
|
6509
|
+
/**
|
|
6510
|
+
*
|
|
6511
|
+
* @export
|
|
6512
|
+
* @interface ModelCatalogListResponseDto
|
|
6513
|
+
*/
|
|
6514
|
+
export interface ModelCatalogListResponseDto {
|
|
6515
|
+
/**
|
|
6516
|
+
*
|
|
6517
|
+
* @type {Array<ModelCatalogEntryDto>}
|
|
6518
|
+
* @memberof ModelCatalogListResponseDto
|
|
6519
|
+
*/
|
|
6520
|
+
data: Array<ModelCatalogEntryDto>;
|
|
6521
|
+
}
|
|
6265
6522
|
/**
|
|
6266
6523
|
*
|
|
6267
6524
|
* @export
|
|
@@ -7815,6 +8072,67 @@ export interface RequestSkillDto {
|
|
|
7815
8072
|
*/
|
|
7816
8073
|
url: string;
|
|
7817
8074
|
}
|
|
8075
|
+
/**
|
|
8076
|
+
*
|
|
8077
|
+
* @export
|
|
8078
|
+
* @interface ResourceDependenciesResultDto
|
|
8079
|
+
*/
|
|
8080
|
+
export interface ResourceDependenciesResultDto {
|
|
8081
|
+
/**
|
|
8082
|
+
*
|
|
8083
|
+
* @type {Array<ResourceDependencyDto>}
|
|
8084
|
+
* @memberof ResourceDependenciesResultDto
|
|
8085
|
+
*/
|
|
8086
|
+
dependencies: Array<ResourceDependencyDto>;
|
|
8087
|
+
}
|
|
8088
|
+
/**
|
|
8089
|
+
*
|
|
8090
|
+
* @export
|
|
8091
|
+
* @interface ResourceDependencyDto
|
|
8092
|
+
*/
|
|
8093
|
+
export interface ResourceDependencyDto {
|
|
8094
|
+
/**
|
|
8095
|
+
* The dependency's DIAL Core resource url, as stored in the reference.
|
|
8096
|
+
* @type {string}
|
|
8097
|
+
* @memberof ResourceDependencyDto
|
|
8098
|
+
*/
|
|
8099
|
+
id: string;
|
|
8100
|
+
/**
|
|
8101
|
+
* Display name, percent-decoded, without a trailing `__version`.
|
|
8102
|
+
* @type {string}
|
|
8103
|
+
* @memberof ResourceDependencyDto
|
|
8104
|
+
*/
|
|
8105
|
+
name: string;
|
|
8106
|
+
/**
|
|
8107
|
+
* Present only for a versioned dependency.
|
|
8108
|
+
* @type {string}
|
|
8109
|
+
* @memberof ResourceDependencyDto
|
|
8110
|
+
*/
|
|
8111
|
+
version?: string;
|
|
8112
|
+
/**
|
|
8113
|
+
*
|
|
8114
|
+
* @type {string}
|
|
8115
|
+
* @memberof ResourceDependencyDto
|
|
8116
|
+
*/
|
|
8117
|
+
type: ResourceDependencyDtoTypeEnum;
|
|
8118
|
+
/**
|
|
8119
|
+
* Percent-decoded folder path of the dependency inside its owner's bucket; empty at the bucket root.
|
|
8120
|
+
* @type {string}
|
|
8121
|
+
* @memberof ResourceDependencyDto
|
|
8122
|
+
*/
|
|
8123
|
+
location: string;
|
|
8124
|
+
}
|
|
8125
|
+
/**
|
|
8126
|
+
* @export
|
|
8127
|
+
*/
|
|
8128
|
+
export declare const ResourceDependencyDtoTypeEnum: {
|
|
8129
|
+
readonly Application: "application";
|
|
8130
|
+
readonly Toolset: "toolset";
|
|
8131
|
+
readonly Prompt: "prompt";
|
|
8132
|
+
readonly Skill: "skill";
|
|
8133
|
+
readonly File: "file";
|
|
8134
|
+
};
|
|
8135
|
+
export type ResourceDependencyDtoTypeEnum = (typeof ResourceDependencyDtoTypeEnum)[keyof typeof ResourceDependencyDtoTypeEnum];
|
|
7818
8136
|
/**
|
|
7819
8137
|
*
|
|
7820
8138
|
* @export
|
|
@@ -10140,6 +10458,12 @@ export interface UserLimitStatsResponseDto {
|
|
|
10140
10458
|
* @memberof UserLimitStatsResponseDto
|
|
10141
10459
|
*/
|
|
10142
10460
|
monthCostStats?: LimitStatsDto;
|
|
10461
|
+
/**
|
|
10462
|
+
* 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.
|
|
10463
|
+
* @type {Array<BudgetStatsDto>}
|
|
10464
|
+
* @memberof UserLimitStatsResponseDto
|
|
10465
|
+
*/
|
|
10466
|
+
budgets?: Array<BudgetStatsDto>;
|
|
10143
10467
|
}
|
|
10144
10468
|
/**
|
|
10145
10469
|
*
|