@epam/ai-dial-chat-api-client 1.4.0-dev.12 → 1.4.0-dev.124
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 +28 -5
- package/generated/src/apis/ModelsApi.d.ts.map +1 -1
- package/generated/src/apis/ModelsApi.js +70 -4
- package/generated/src/apis/OfflineCredentialsApi.d.ts +2 -2
- package/generated/src/apis/OfflineCredentialsApi.js +2 -2
- 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 +6 -6
- package/generated/src/apis/ProjectsApi.js +6 -6
- package/generated/src/apis/PublishApi.d.ts +123 -3
- package/generated/src/apis/PublishApi.d.ts.map +1 -1
- package/generated/src/apis/PublishApi.js +253 -3
- package/generated/src/apis/UserApi.d.ts +16 -1
- package/generated/src/apis/UserApi.d.ts.map +1 -1
- package/generated/src/apis/UserApi.js +43 -0
- 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 +1253 -5
- package/generated/src/models/index.d.ts.map +1 -1
- package/generated/src/models/index.js +199 -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
|
|
@@ -620,6 +674,27 @@ export interface ApplicationSchemasResponseDto {
|
|
|
620
674
|
*/
|
|
621
675
|
schemas: Array<ApplicationSchemaSummaryDto>;
|
|
622
676
|
}
|
|
677
|
+
/**
|
|
678
|
+
*
|
|
679
|
+
* @export
|
|
680
|
+
* @interface ApplicationValuesDependenciesRequestDto
|
|
681
|
+
*/
|
|
682
|
+
export interface ApplicationValuesDependenciesRequestDto {
|
|
683
|
+
/**
|
|
684
|
+
* The application type schema the values belong to.
|
|
685
|
+
* @type {string}
|
|
686
|
+
* @memberof ApplicationValuesDependenciesRequestDto
|
|
687
|
+
*/
|
|
688
|
+
schemaId: string;
|
|
689
|
+
/**
|
|
690
|
+
* The application property values as the form holds them, keyed by schema property.
|
|
691
|
+
* @type {{ [key: string]: unknown }}
|
|
692
|
+
* @memberof ApplicationValuesDependenciesRequestDto
|
|
693
|
+
*/
|
|
694
|
+
properties: {
|
|
695
|
+
[key: string]: unknown;
|
|
696
|
+
};
|
|
697
|
+
}
|
|
623
698
|
/**
|
|
624
699
|
*
|
|
625
700
|
* @export
|
|
@@ -880,6 +955,61 @@ export declare const BackgroundGenerationStatus: {
|
|
|
880
955
|
readonly Failed: "failed";
|
|
881
956
|
};
|
|
882
957
|
export type BackgroundGenerationStatus = (typeof BackgroundGenerationStatus)[keyof typeof BackgroundGenerationStatus];
|
|
958
|
+
/**
|
|
959
|
+
*
|
|
960
|
+
* @export
|
|
961
|
+
* @interface BudgetStatsDto
|
|
962
|
+
*/
|
|
963
|
+
export interface BudgetStatsDto {
|
|
964
|
+
/**
|
|
965
|
+
* The cost object the budget applies in. A cost object can hold several budgets, so more than one entry may carry the same value.
|
|
966
|
+
* @type {string}
|
|
967
|
+
* @memberof BudgetStatsDto
|
|
968
|
+
*/
|
|
969
|
+
costObject: string;
|
|
970
|
+
/**
|
|
971
|
+
* The path of the budget's policy.
|
|
972
|
+
* @type {string}
|
|
973
|
+
* @memberof BudgetStatsDto
|
|
974
|
+
*/
|
|
975
|
+
policy: string;
|
|
976
|
+
/**
|
|
977
|
+
* The priority of the budget's policy, lower first; absent when the policy sets none.
|
|
978
|
+
* @type {number}
|
|
979
|
+
* @memberof BudgetStatsDto
|
|
980
|
+
*/
|
|
981
|
+
priority?: number;
|
|
982
|
+
/**
|
|
983
|
+
* The human-readable name of the budget's policy. DIAL Core falls back to the policy path when the policy sets none (epam/ai-dial-core#2283); an older DIAL Core omits the field. Use `policy` as the identifier — the display name need not be unique.
|
|
984
|
+
* @type {string}
|
|
985
|
+
* @memberof BudgetStatsDto
|
|
986
|
+
*/
|
|
987
|
+
displayName?: string;
|
|
988
|
+
/**
|
|
989
|
+
*
|
|
990
|
+
* @type {BudgetStatsDtoObject}
|
|
991
|
+
* @memberof BudgetStatsDto
|
|
992
|
+
*/
|
|
993
|
+
object?: BudgetStatsDtoObject;
|
|
994
|
+
/**
|
|
995
|
+
* The budget's limit and the caller's spend against it for the current day of DIAL Core's rate-limit schedule time zone (not necessarily UTC). A `total` at or above 9007199254740992 (2^53) is the unlimited sentinel — see UserLimitStatsResponseDto.minuteCostStats.
|
|
996
|
+
* @type {LimitStatsDto}
|
|
997
|
+
* @memberof BudgetStatsDto
|
|
998
|
+
*/
|
|
999
|
+
day: LimitStatsDto;
|
|
1000
|
+
/**
|
|
1001
|
+
* The budget's limit and the caller's spend against it for the current month of DIAL Core's rate-limit schedule time zone (not necessarily UTC). A `total` at or above 9007199254740992 (2^53) is the unlimited sentinel — see UserLimitStatsResponseDto.minuteCostStats.
|
|
1002
|
+
* @type {LimitStatsDto}
|
|
1003
|
+
* @memberof BudgetStatsDto
|
|
1004
|
+
*/
|
|
1005
|
+
month: LimitStatsDto;
|
|
1006
|
+
}
|
|
1007
|
+
/**
|
|
1008
|
+
* @type BudgetStatsDtoObject
|
|
1009
|
+
* The models the budget's policy covers: `"*"` for every deployment, or the sorted deployment names. The list is not filtered by what the caller can access. Absent from a DIAL Core older than epam/ai-dial-core#2284.
|
|
1010
|
+
* @export
|
|
1011
|
+
*/
|
|
1012
|
+
export type BudgetStatsDtoObject = Array<string> | string;
|
|
883
1013
|
/**
|
|
884
1014
|
*
|
|
885
1015
|
* @export
|
|
@@ -911,6 +1041,82 @@ export declare const CatalogCreationType: {
|
|
|
911
1041
|
readonly Skill: "skill";
|
|
912
1042
|
};
|
|
913
1043
|
export type CatalogCreationType = (typeof CatalogCreationType)[keyof typeof CatalogCreationType];
|
|
1044
|
+
/**
|
|
1045
|
+
* Host element the stage attaches to (composer-anchor-v1).
|
|
1046
|
+
* @export
|
|
1047
|
+
*/
|
|
1048
|
+
export declare const CelebrationAnchor: {
|
|
1049
|
+
readonly Composer: "composer";
|
|
1050
|
+
};
|
|
1051
|
+
export type CelebrationAnchor = (typeof CelebrationAnchor)[keyof typeof CelebrationAnchor];
|
|
1052
|
+
/**
|
|
1053
|
+
* Edge of anchorRect aligned with the same edge of the composer (composer-anchor-v1).
|
|
1054
|
+
* @export
|
|
1055
|
+
*/
|
|
1056
|
+
export declare const CelebrationAnchorEdge: {
|
|
1057
|
+
readonly Top: "top";
|
|
1058
|
+
readonly Bottom: "bottom";
|
|
1059
|
+
};
|
|
1060
|
+
export type CelebrationAnchorEdge = (typeof CelebrationAnchorEdge)[keyof typeof CelebrationAnchorEdge];
|
|
1061
|
+
/**
|
|
1062
|
+
* What happens when no composer is eligible (composer-anchor-v1).
|
|
1063
|
+
* @export
|
|
1064
|
+
*/
|
|
1065
|
+
export declare const CelebrationAnchorFallback: {
|
|
1066
|
+
readonly StageAnchor: "stage-anchor";
|
|
1067
|
+
readonly Poster: "poster";
|
|
1068
|
+
};
|
|
1069
|
+
export type CelebrationAnchorFallback = (typeof CelebrationAnchorFallback)[keyof typeof CelebrationAnchorFallback];
|
|
1070
|
+
/**
|
|
1071
|
+
*
|
|
1072
|
+
* @export
|
|
1073
|
+
* @interface CelebrationAnchorRectDto
|
|
1074
|
+
*/
|
|
1075
|
+
export interface CelebrationAnchorRectDto {
|
|
1076
|
+
/**
|
|
1077
|
+
* Left edge.
|
|
1078
|
+
* @type {number}
|
|
1079
|
+
* @memberof CelebrationAnchorRectDto
|
|
1080
|
+
*/
|
|
1081
|
+
x: number;
|
|
1082
|
+
/**
|
|
1083
|
+
* Top edge.
|
|
1084
|
+
* @type {number}
|
|
1085
|
+
* @memberof CelebrationAnchorRectDto
|
|
1086
|
+
*/
|
|
1087
|
+
y: number;
|
|
1088
|
+
/**
|
|
1089
|
+
* Width, at least 120.
|
|
1090
|
+
* @type {number}
|
|
1091
|
+
* @memberof CelebrationAnchorRectDto
|
|
1092
|
+
*/
|
|
1093
|
+
width: number;
|
|
1094
|
+
/**
|
|
1095
|
+
* Height, at least 24.
|
|
1096
|
+
* @type {number}
|
|
1097
|
+
* @memberof CelebrationAnchorRectDto
|
|
1098
|
+
*/
|
|
1099
|
+
height: number;
|
|
1100
|
+
}
|
|
1101
|
+
/**
|
|
1102
|
+
*
|
|
1103
|
+
* @export
|
|
1104
|
+
* @interface CelebrationAnchorScaleDto
|
|
1105
|
+
*/
|
|
1106
|
+
export interface CelebrationAnchorScaleDto {
|
|
1107
|
+
/**
|
|
1108
|
+
* Smallest scale; also the scale of the synthetic anchor.
|
|
1109
|
+
* @type {number}
|
|
1110
|
+
* @memberof CelebrationAnchorScaleDto
|
|
1111
|
+
*/
|
|
1112
|
+
min: number;
|
|
1113
|
+
/**
|
|
1114
|
+
* Largest scale.
|
|
1115
|
+
* @type {number}
|
|
1116
|
+
* @memberof CelebrationAnchorScaleDto
|
|
1117
|
+
*/
|
|
1118
|
+
max: number;
|
|
1119
|
+
}
|
|
914
1120
|
/**
|
|
915
1121
|
*
|
|
916
1122
|
* @export
|
|
@@ -1217,7 +1423,7 @@ export interface CelebrationPackRefDto {
|
|
|
1217
1423
|
*/
|
|
1218
1424
|
export interface CelebrationPlacementDto {
|
|
1219
1425
|
/**
|
|
1220
|
-
* Placement template ID. Templates other than viewport-stage-v1 are passed as the ID alone, and clients without the matching capability skip the scene.
|
|
1426
|
+
* Placement template ID. Templates other than viewport-stage-v1 and composer-anchor-v1 are passed as the ID alone, and clients without the matching capability skip the scene.
|
|
1221
1427
|
* @type {string}
|
|
1222
1428
|
* @memberof CelebrationPlacementDto
|
|
1223
1429
|
*/
|
|
@@ -1234,6 +1440,36 @@ export interface CelebrationPlacementDto {
|
|
|
1234
1440
|
* @memberof CelebrationPlacementDto
|
|
1235
1441
|
*/
|
|
1236
1442
|
align?: CelebrationStageAlign;
|
|
1443
|
+
/**
|
|
1444
|
+
* Host element the stage attaches to (composer-anchor-v1).
|
|
1445
|
+
* @type {CelebrationAnchor}
|
|
1446
|
+
* @memberof CelebrationPlacementDto
|
|
1447
|
+
*/
|
|
1448
|
+
anchor?: CelebrationAnchor;
|
|
1449
|
+
/**
|
|
1450
|
+
* The reference composer the motion is authored around, in stage coordinates (composer-anchor-v1).
|
|
1451
|
+
* @type {CelebrationAnchorRectDto}
|
|
1452
|
+
* @memberof CelebrationPlacementDto
|
|
1453
|
+
*/
|
|
1454
|
+
anchorRect?: CelebrationAnchorRectDto;
|
|
1455
|
+
/**
|
|
1456
|
+
* Edge of anchorRect aligned with the same edge of the composer (composer-anchor-v1).
|
|
1457
|
+
* @type {CelebrationAnchorEdge}
|
|
1458
|
+
* @memberof CelebrationPlacementDto
|
|
1459
|
+
*/
|
|
1460
|
+
edge?: CelebrationAnchorEdge;
|
|
1461
|
+
/**
|
|
1462
|
+
* Bounds of composerWidth / anchorRect.width (composer-anchor-v1).
|
|
1463
|
+
* @type {CelebrationAnchorScaleDto}
|
|
1464
|
+
* @memberof CelebrationPlacementDto
|
|
1465
|
+
*/
|
|
1466
|
+
scale?: CelebrationAnchorScaleDto;
|
|
1467
|
+
/**
|
|
1468
|
+
* What happens when no composer is eligible (composer-anchor-v1).
|
|
1469
|
+
* @type {CelebrationAnchorFallback}
|
|
1470
|
+
* @memberof CelebrationPlacementDto
|
|
1471
|
+
*/
|
|
1472
|
+
fallback?: CelebrationAnchorFallback;
|
|
1237
1473
|
}
|
|
1238
1474
|
/**
|
|
1239
1475
|
* How the scene adapts to a right-to-left host.
|
|
@@ -1427,6 +1663,12 @@ export interface CelebrationVariantDto {
|
|
|
1427
1663
|
* @memberof CelebrationVariantDto
|
|
1428
1664
|
*/
|
|
1429
1665
|
animationAssetId: string;
|
|
1666
|
+
/**
|
|
1667
|
+
* Placement for this variant instead of the scene's, with the same template; lets a mobile variant use its own reference composer.
|
|
1668
|
+
* @type {CelebrationPlacementDto}
|
|
1669
|
+
* @memberof CelebrationVariantDto
|
|
1670
|
+
*/
|
|
1671
|
+
placement?: CelebrationPlacementDto;
|
|
1430
1672
|
}
|
|
1431
1673
|
/**
|
|
1432
1674
|
* Required host layout.
|
|
@@ -1581,6 +1823,45 @@ export interface Check200Response {
|
|
|
1581
1823
|
*/
|
|
1582
1824
|
buildId?: string;
|
|
1583
1825
|
}
|
|
1826
|
+
/**
|
|
1827
|
+
*
|
|
1828
|
+
* @export
|
|
1829
|
+
* @interface ClientAppConfigDto
|
|
1830
|
+
*/
|
|
1831
|
+
export interface ClientAppConfigDto {
|
|
1832
|
+
/**
|
|
1833
|
+
*
|
|
1834
|
+
* @type {string}
|
|
1835
|
+
* @memberof ClientAppConfigDto
|
|
1836
|
+
*/
|
|
1837
|
+
schemaVersion: string;
|
|
1838
|
+
/**
|
|
1839
|
+
* Canonical SHA-256 of the schema the payload was published against.
|
|
1840
|
+
* @type {string}
|
|
1841
|
+
* @memberof ClientAppConfigDto
|
|
1842
|
+
*/
|
|
1843
|
+
schemaSha256: string;
|
|
1844
|
+
/**
|
|
1845
|
+
*
|
|
1846
|
+
* @type {string}
|
|
1847
|
+
* @memberof ClientAppConfigDto
|
|
1848
|
+
*/
|
|
1849
|
+
revisionId: string;
|
|
1850
|
+
/**
|
|
1851
|
+
*
|
|
1852
|
+
* @type {string}
|
|
1853
|
+
* @memberof ClientAppConfigDto
|
|
1854
|
+
*/
|
|
1855
|
+
publishedAt: string;
|
|
1856
|
+
/**
|
|
1857
|
+
* The application's published payload. Chat does not validate it against the application's schema; the application does.
|
|
1858
|
+
* @type {{ [key: string]: unknown }}
|
|
1859
|
+
* @memberof ClientAppConfigDto
|
|
1860
|
+
*/
|
|
1861
|
+
payload: {
|
|
1862
|
+
[key: string]: unknown;
|
|
1863
|
+
};
|
|
1864
|
+
}
|
|
1584
1865
|
/**
|
|
1585
1866
|
*
|
|
1586
1867
|
* @export
|
|
@@ -1707,6 +1988,12 @@ export interface ClientConfigDto {
|
|
|
1707
1988
|
* @memberof ClientConfigDto
|
|
1708
1989
|
*/
|
|
1709
1990
|
announcements: Array<AnnouncementItemDto>;
|
|
1991
|
+
/**
|
|
1992
|
+
* Onboarding hints the client shows once, step by step, to a user who has not seen them, in configured order. Empty when ONBOARDING_HINTS is unset or contained no valid entries.
|
|
1993
|
+
* @type {Array<OnboardingHintDto>}
|
|
1994
|
+
* @memberof ClientConfigDto
|
|
1995
|
+
*/
|
|
1996
|
+
onboardingHints: Array<OnboardingHintDto>;
|
|
1710
1997
|
/**
|
|
1711
1998
|
* Plain-text copy shown below the greeting heading on the new-chat start screen. Never interpreted as markup. Null when WELCOME_SCREEN_DESCRIPTION is not configured or is blank.
|
|
1712
1999
|
* @type {string}
|
|
@@ -1765,6 +2052,12 @@ export interface ClientConfigDto {
|
|
|
1765
2052
|
* @memberof ClientConfigDto
|
|
1766
2053
|
*/
|
|
1767
2054
|
usageLimitsWarningThresholdPercent: number;
|
|
2055
|
+
/**
|
|
2056
|
+
* DIAL Core's spendingLimits.mode as the operator declares it (DIAL Core does not report it). Sourced from SPENDING_LIMITS_MODE or managed config; off by default. off: Settings → Usage shows no budgets and presents the role cost limit as today. shadow: budgets are shown as not yet enforced, and the role cost limit still decides. enforce: Settings → Usage shows only the budgets, and the role cost limit is withheld from the usage banner and dial. The client falls back to off when the usage response carries no costObject.
|
|
2057
|
+
* @type {SpendingLimitsMode}
|
|
2058
|
+
* @memberof ClientConfigDto
|
|
2059
|
+
*/
|
|
2060
|
+
spendingLimitsMode: SpendingLimitsMode;
|
|
1768
2061
|
/**
|
|
1769
2062
|
* Operator default for the seasonal-celebrations switch, applied to users who have not saved a choice of their own; a saved choice overrides it. Sourced from UI_EVENT_ENABLED_BY_DEFAULT; true unless it is false, 0 or no. Has no visible effect while activeEventId is null.
|
|
1770
2063
|
* @type {boolean}
|
|
@@ -1801,6 +2094,18 @@ export interface ClientConfigDto {
|
|
|
1801
2094
|
* @memberof ClientConfigDto
|
|
1802
2095
|
*/
|
|
1803
2096
|
catalogCreationPermissions: CatalogCreationPermissionsDto;
|
|
2097
|
+
/**
|
|
2098
|
+
* Whether GET /api/v1/model-catalog is configured (MODEL_CATALOG_API_KEY is set). Missing means unavailable. Never carries the key.
|
|
2099
|
+
* @type {boolean}
|
|
2100
|
+
* @memberof ClientConfigDto
|
|
2101
|
+
*/
|
|
2102
|
+
modelCatalogAvailable?: boolean;
|
|
2103
|
+
/**
|
|
2104
|
+
* Public base URL of the themes host (THEMES_PUBLIC_URL without a trailing slash). Clients recognise absolute deployment icon URLs under it and load them through GET /api/themes/icon instead, so one icon is requested under one URL. Missing when THEMES_PUBLIC_URL is not configured; the in-cluster THEMES_CONFIG_URL is never exposed.
|
|
2105
|
+
* @type {string}
|
|
2106
|
+
* @memberof ClientConfigDto
|
|
2107
|
+
*/
|
|
2108
|
+
themesBaseUrl?: string;
|
|
1804
2109
|
}
|
|
1805
2110
|
/**
|
|
1806
2111
|
* @export
|
|
@@ -1810,6 +2115,43 @@ export declare const ClientConfigDtoMcpAppThemeEnum: {
|
|
|
1810
2115
|
readonly Dark: "dark";
|
|
1811
2116
|
};
|
|
1812
2117
|
export type ClientConfigDtoMcpAppThemeEnum = (typeof ClientConfigDtoMcpAppThemeEnum)[keyof typeof ClientConfigDtoMcpAppThemeEnum];
|
|
2118
|
+
/**
|
|
2119
|
+
*
|
|
2120
|
+
* @export
|
|
2121
|
+
* @interface ClientConfigManagedMetadataDto
|
|
2122
|
+
*/
|
|
2123
|
+
export interface ClientConfigManagedMetadataDto {
|
|
2124
|
+
/**
|
|
2125
|
+
* The Config Studio instance this deployment maps the application identifier to.
|
|
2126
|
+
* @type {string}
|
|
2127
|
+
* @memberof ClientConfigManagedMetadataDto
|
|
2128
|
+
*/
|
|
2129
|
+
instanceId: string;
|
|
2130
|
+
/**
|
|
2131
|
+
* The managed state at resolution: `fresh` and `degraded` are usable; `stale`, `unavailable` and `not_published` mean no managed value or policy applied.
|
|
2132
|
+
* @type {ManagedConfigState}
|
|
2133
|
+
* @memberof ClientConfigManagedMetadataDto
|
|
2134
|
+
*/
|
|
2135
|
+
state: ManagedConfigState;
|
|
2136
|
+
/**
|
|
2137
|
+
* The applied revision; present only in a usable state.
|
|
2138
|
+
* @type {string}
|
|
2139
|
+
* @memberof ClientConfigManagedMetadataDto
|
|
2140
|
+
*/
|
|
2141
|
+
revisionId?: string;
|
|
2142
|
+
/**
|
|
2143
|
+
* The schema version of the applied revision; present only in a usable state.
|
|
2144
|
+
* @type {string}
|
|
2145
|
+
* @memberof ClientConfigManagedMetadataDto
|
|
2146
|
+
*/
|
|
2147
|
+
schemaVersion?: string;
|
|
2148
|
+
/**
|
|
2149
|
+
* When the applied revision was published; present only in a usable state.
|
|
2150
|
+
* @type {string}
|
|
2151
|
+
* @memberof ClientConfigManagedMetadataDto
|
|
2152
|
+
*/
|
|
2153
|
+
publishedAt?: string;
|
|
2154
|
+
}
|
|
1813
2155
|
/**
|
|
1814
2156
|
*
|
|
1815
2157
|
* @export
|
|
@@ -1828,6 +2170,18 @@ export interface ClientConfigMetadataDto {
|
|
|
1828
2170
|
* @memberof ClientConfigMetadataDto
|
|
1829
2171
|
*/
|
|
1830
2172
|
cacheTtlSeconds: number;
|
|
2173
|
+
/**
|
|
2174
|
+
* When the browser should refresh this response while its tab is visible. Present only when the deployment applies managed configuration; without it, the browser does not refresh on a timer.
|
|
2175
|
+
* @type {string}
|
|
2176
|
+
* @memberof ClientConfigMetadataDto
|
|
2177
|
+
*/
|
|
2178
|
+
nextRefreshAt?: string;
|
|
2179
|
+
/**
|
|
2180
|
+
* The managed snapshot state behind this response, when the deployment applies managed configuration for this application identifier.
|
|
2181
|
+
* @type {ClientConfigManagedMetadataDto}
|
|
2182
|
+
* @memberof ClientConfigMetadataDto
|
|
2183
|
+
*/
|
|
2184
|
+
managed?: ClientConfigManagedMetadataDto;
|
|
1831
2185
|
}
|
|
1832
2186
|
/**
|
|
1833
2187
|
*
|
|
@@ -1859,6 +2213,12 @@ export interface ClientConfigResponseDto {
|
|
|
1859
2213
|
* @memberof ClientConfigResponseDto
|
|
1860
2214
|
*/
|
|
1861
2215
|
metadata?: ClientConfigMetadataDto;
|
|
2216
|
+
/**
|
|
2217
|
+
* The published Config Studio payload of an application other than ai-dial-chat, unchanged. Present only when the deployment applies managed configuration and the snapshot is usable.
|
|
2218
|
+
* @type {ClientAppConfigDto}
|
|
2219
|
+
* @memberof ClientConfigResponseDto
|
|
2220
|
+
*/
|
|
2221
|
+
appConfig?: ClientAppConfigDto;
|
|
1862
2222
|
}
|
|
1863
2223
|
/**
|
|
1864
2224
|
*
|
|
@@ -2785,6 +3145,19 @@ export interface ConversationsConfigDto {
|
|
|
2785
3145
|
*/
|
|
2786
3146
|
pinnedIds: Array<string>;
|
|
2787
3147
|
}
|
|
3148
|
+
/**
|
|
3149
|
+
*
|
|
3150
|
+
* @export
|
|
3151
|
+
* @interface CopyCatalogEntityToOrgUnitDto
|
|
3152
|
+
*/
|
|
3153
|
+
export interface CopyCatalogEntityToOrgUnitDto {
|
|
3154
|
+
/**
|
|
3155
|
+
* Plain-text destination folder relative to the public bucket, never empty: the public root is not an org unit. DIAL Core decides whether the caller may write there.
|
|
3156
|
+
* @type {string}
|
|
3157
|
+
* @memberof CopyCatalogEntityToOrgUnitDto
|
|
3158
|
+
*/
|
|
3159
|
+
folderPath: string;
|
|
3160
|
+
}
|
|
2788
3161
|
/**
|
|
2789
3162
|
*
|
|
2790
3163
|
* @export
|
|
@@ -3188,6 +3561,12 @@ export interface CreateScheduledTaskBodyDto {
|
|
|
3188
3561
|
* @memberof CreateScheduledTaskBodyDto
|
|
3189
3562
|
*/
|
|
3190
3563
|
trigger: ScheduleTriggerDto;
|
|
3564
|
+
/**
|
|
3565
|
+
* IANA time zone the trigger is evaluated in. Cron fields and offset-less datetimes are local wall time in this zone. Omission means UTC; an update that omits it resets the zone to UTC.
|
|
3566
|
+
* @type {string}
|
|
3567
|
+
* @memberof CreateScheduledTaskBodyDto
|
|
3568
|
+
*/
|
|
3569
|
+
timezone?: string;
|
|
3191
3570
|
/**
|
|
3192
3571
|
*
|
|
3193
3572
|
* @type {string}
|
|
@@ -3396,6 +3775,12 @@ export interface CreatedScheduledTaskDto {
|
|
|
3396
3775
|
* @memberof CreatedScheduledTaskDto
|
|
3397
3776
|
*/
|
|
3398
3777
|
trigger: ScheduleTriggerDto;
|
|
3778
|
+
/**
|
|
3779
|
+
* IANA time zone the trigger is evaluated in. Always present on responses (UTC for tasks saved without one); declared optional so existing clients and fixtures stay valid.
|
|
3780
|
+
* @type {string}
|
|
3781
|
+
* @memberof CreatedScheduledTaskDto
|
|
3782
|
+
*/
|
|
3783
|
+
timezone?: string;
|
|
3399
3784
|
/**
|
|
3400
3785
|
*
|
|
3401
3786
|
* @type {string}
|
|
@@ -4032,6 +4417,12 @@ export interface DeploymentItemDto {
|
|
|
4032
4417
|
* @memberof DeploymentItemDto
|
|
4033
4418
|
*/
|
|
4034
4419
|
displayVersion?: string;
|
|
4420
|
+
/**
|
|
4421
|
+
* Identifies the versions of one application saved by one owner in one folder: the owner bucket, the folder and the base name without the `__<version>` suffix of the stored id. Absent for models and for ids without a version suffix.
|
|
4422
|
+
* @type {string}
|
|
4423
|
+
* @memberof DeploymentItemDto
|
|
4424
|
+
*/
|
|
4425
|
+
versionGroupId?: string;
|
|
4035
4426
|
/**
|
|
4036
4427
|
* Whether this deployment is featured (configured via env)
|
|
4037
4428
|
* @type {boolean}
|
|
@@ -4420,6 +4811,14 @@ export interface DialModelDto {
|
|
|
4420
4811
|
responsesDefaults?: {
|
|
4421
4812
|
[key: string]: unknown;
|
|
4422
4813
|
};
|
|
4814
|
+
/**
|
|
4815
|
+
* Curated catalog display metadata from DIAL Core, forwarded as sent
|
|
4816
|
+
* @type {{ [key: string]: unknown }}
|
|
4817
|
+
* @memberof DialModelDto
|
|
4818
|
+
*/
|
|
4819
|
+
catalogProperties?: {
|
|
4820
|
+
[key: string]: unknown;
|
|
4821
|
+
};
|
|
4423
4822
|
/**
|
|
4424
4823
|
*
|
|
4425
4824
|
* @type {Array<string>}
|
|
@@ -4438,6 +4837,24 @@ export interface DialModelDto {
|
|
|
4438
4837
|
* @memberof DialModelDto
|
|
4439
4838
|
*/
|
|
4440
4839
|
lifecycleStatus?: string;
|
|
4840
|
+
/**
|
|
4841
|
+
* Provider that hosts the model, free-form text forwarded from DIAL Core unvalidated
|
|
4842
|
+
* @type {string}
|
|
4843
|
+
* @memberof DialModelDto
|
|
4844
|
+
*/
|
|
4845
|
+
provider?: string;
|
|
4846
|
+
/**
|
|
4847
|
+
* Date the model is deprecated but still served, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
|
|
4848
|
+
* @type {string}
|
|
4849
|
+
* @memberof DialModelDto
|
|
4850
|
+
*/
|
|
4851
|
+
deprecationDate?: string;
|
|
4852
|
+
/**
|
|
4853
|
+
* Date the provider stops serving the model, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
|
|
4854
|
+
* @type {string}
|
|
4855
|
+
* @memberof DialModelDto
|
|
4856
|
+
*/
|
|
4857
|
+
endOfService?: string;
|
|
4441
4858
|
/**
|
|
4442
4859
|
*
|
|
4443
4860
|
* @type {DialModelCapabilitiesDto}
|
|
@@ -4839,6 +5256,12 @@ export interface DialToolsetDto {
|
|
|
4839
5256
|
* @memberof DialToolsetDto
|
|
4840
5257
|
*/
|
|
4841
5258
|
displayVersion?: string;
|
|
5259
|
+
/**
|
|
5260
|
+
* Identifies the versions of one toolset saved by one owner in one folder: the owner bucket, the folder and the base name without the `__<version>` suffix of the stored id. Absent for an id without a version suffix.
|
|
5261
|
+
* @type {string}
|
|
5262
|
+
* @memberof DialToolsetDto
|
|
5263
|
+
*/
|
|
5264
|
+
versionGroupId?: string;
|
|
4842
5265
|
/**
|
|
4843
5266
|
*
|
|
4844
5267
|
* @type {DialToolsetDtoDescription}
|
|
@@ -6053,6 +6476,18 @@ export interface LocaleTextEntryDto {
|
|
|
6053
6476
|
*/
|
|
6054
6477
|
description?: string;
|
|
6055
6478
|
}
|
|
6479
|
+
/**
|
|
6480
|
+
* The managed state at resolution: `fresh` and `degraded` are usable; `stale`, `unavailable` and `not_published` mean no managed value or policy applied.
|
|
6481
|
+
* @export
|
|
6482
|
+
*/
|
|
6483
|
+
export declare const ManagedConfigState: {
|
|
6484
|
+
readonly Fresh: "fresh";
|
|
6485
|
+
readonly Degraded: "degraded";
|
|
6486
|
+
readonly Stale: "stale";
|
|
6487
|
+
readonly Unavailable: "unavailable";
|
|
6488
|
+
readonly NotPublished: "not_published";
|
|
6489
|
+
};
|
|
6490
|
+
export type ManagedConfigState = (typeof ManagedConfigState)[keyof typeof ManagedConfigState];
|
|
6056
6491
|
/**
|
|
6057
6492
|
*
|
|
6058
6493
|
* @export
|
|
@@ -6265,15 +6700,179 @@ export interface ModelCapabilitiesDto {
|
|
|
6265
6700
|
/**
|
|
6266
6701
|
*
|
|
6267
6702
|
* @export
|
|
6268
|
-
* @interface
|
|
6703
|
+
* @interface ModelCatalogEntryDto
|
|
6269
6704
|
*/
|
|
6270
|
-
export interface
|
|
6705
|
+
export interface ModelCatalogEntryDto {
|
|
6271
6706
|
/**
|
|
6272
|
-
*
|
|
6707
|
+
*
|
|
6273
6708
|
* @type {string}
|
|
6274
|
-
* @memberof
|
|
6709
|
+
* @memberof ModelCatalogEntryDto
|
|
6710
|
+
*/
|
|
6711
|
+
id: string;
|
|
6712
|
+
/**
|
|
6713
|
+
*
|
|
6714
|
+
* @type {string}
|
|
6715
|
+
* @memberof ModelCatalogEntryDto
|
|
6716
|
+
*/
|
|
6717
|
+
object: string;
|
|
6718
|
+
/**
|
|
6719
|
+
*
|
|
6720
|
+
* @type {string}
|
|
6721
|
+
* @memberof ModelCatalogEntryDto
|
|
6722
|
+
*/
|
|
6723
|
+
model?: string;
|
|
6724
|
+
/**
|
|
6725
|
+
*
|
|
6726
|
+
* @type {DialModelDtoDisplayName}
|
|
6727
|
+
* @memberof ModelCatalogEntryDto
|
|
6728
|
+
*/
|
|
6729
|
+
displayName?: DialModelDtoDisplayName;
|
|
6730
|
+
/**
|
|
6731
|
+
*
|
|
6732
|
+
* @type {string}
|
|
6733
|
+
* @memberof ModelCatalogEntryDto
|
|
6734
|
+
*/
|
|
6735
|
+
displayVersion?: string;
|
|
6736
|
+
/**
|
|
6737
|
+
*
|
|
6738
|
+
* @type {string}
|
|
6739
|
+
* @memberof ModelCatalogEntryDto
|
|
6740
|
+
*/
|
|
6741
|
+
iconUrl?: string;
|
|
6742
|
+
/**
|
|
6743
|
+
*
|
|
6744
|
+
* @type {DialModelDtoDescription}
|
|
6745
|
+
* @memberof ModelCatalogEntryDto
|
|
6746
|
+
*/
|
|
6747
|
+
description?: DialModelDtoDescription;
|
|
6748
|
+
/**
|
|
6749
|
+
*
|
|
6750
|
+
* @type {string}
|
|
6751
|
+
* @memberof ModelCatalogEntryDto
|
|
6752
|
+
*/
|
|
6753
|
+
reference?: string;
|
|
6754
|
+
/**
|
|
6755
|
+
*
|
|
6756
|
+
* @type {string}
|
|
6757
|
+
* @memberof ModelCatalogEntryDto
|
|
6758
|
+
*/
|
|
6759
|
+
owner?: string;
|
|
6760
|
+
/**
|
|
6761
|
+
*
|
|
6762
|
+
* @type {string}
|
|
6763
|
+
* @memberof ModelCatalogEntryDto
|
|
6764
|
+
*/
|
|
6765
|
+
status?: string;
|
|
6766
|
+
/**
|
|
6767
|
+
*
|
|
6768
|
+
* @type {number}
|
|
6769
|
+
* @memberof ModelCatalogEntryDto
|
|
6770
|
+
*/
|
|
6771
|
+
createdAt?: number;
|
|
6772
|
+
/**
|
|
6773
|
+
*
|
|
6774
|
+
* @type {number}
|
|
6775
|
+
* @memberof ModelCatalogEntryDto
|
|
6776
|
+
*/
|
|
6777
|
+
updatedAt?: number;
|
|
6778
|
+
/**
|
|
6779
|
+
*
|
|
6780
|
+
* @type {DialModelFeaturesDto}
|
|
6781
|
+
* @memberof ModelCatalogEntryDto
|
|
6782
|
+
*/
|
|
6783
|
+
features?: DialModelFeaturesDto;
|
|
6784
|
+
/**
|
|
6785
|
+
*
|
|
6786
|
+
* @type {Array<string>}
|
|
6787
|
+
* @memberof ModelCatalogEntryDto
|
|
6788
|
+
*/
|
|
6789
|
+
inputAttachmentTypes?: Array<string>;
|
|
6790
|
+
/**
|
|
6791
|
+
*
|
|
6792
|
+
* @type {number}
|
|
6793
|
+
* @memberof ModelCatalogEntryDto
|
|
6794
|
+
*/
|
|
6795
|
+
maxInputAttachments?: number;
|
|
6796
|
+
/**
|
|
6797
|
+
*
|
|
6798
|
+
* @type {Array<string>}
|
|
6799
|
+
* @memberof ModelCatalogEntryDto
|
|
6800
|
+
*/
|
|
6801
|
+
descriptionKeywords?: Array<string>;
|
|
6802
|
+
/**
|
|
6803
|
+
*
|
|
6804
|
+
* @type {string}
|
|
6805
|
+
* @memberof ModelCatalogEntryDto
|
|
6806
|
+
*/
|
|
6807
|
+
lifecycleStatus?: string;
|
|
6808
|
+
/**
|
|
6809
|
+
* Provider that hosts the model, free-form text forwarded from DIAL Core unvalidated
|
|
6810
|
+
* @type {string}
|
|
6811
|
+
* @memberof ModelCatalogEntryDto
|
|
6275
6812
|
*/
|
|
6276
6813
|
provider?: string;
|
|
6814
|
+
/**
|
|
6815
|
+
* Date the model is deprecated but still served, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
|
|
6816
|
+
* @type {string}
|
|
6817
|
+
* @memberof ModelCatalogEntryDto
|
|
6818
|
+
*/
|
|
6819
|
+
deprecationDate?: string;
|
|
6820
|
+
/**
|
|
6821
|
+
* Date the provider stops serving the model, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
|
|
6822
|
+
* @type {string}
|
|
6823
|
+
* @memberof ModelCatalogEntryDto
|
|
6824
|
+
*/
|
|
6825
|
+
endOfService?: string;
|
|
6826
|
+
/**
|
|
6827
|
+
*
|
|
6828
|
+
* @type {DialModelCapabilitiesDto}
|
|
6829
|
+
* @memberof ModelCatalogEntryDto
|
|
6830
|
+
*/
|
|
6831
|
+
capabilities?: DialModelCapabilitiesDto;
|
|
6832
|
+
/**
|
|
6833
|
+
*
|
|
6834
|
+
* @type {DialModelLimitsDto}
|
|
6835
|
+
* @memberof ModelCatalogEntryDto
|
|
6836
|
+
*/
|
|
6837
|
+
limits?: DialModelLimitsDto;
|
|
6838
|
+
/**
|
|
6839
|
+
*
|
|
6840
|
+
* @type {DialModelPricingDto}
|
|
6841
|
+
* @memberof ModelCatalogEntryDto
|
|
6842
|
+
*/
|
|
6843
|
+
pricing?: DialModelPricingDto;
|
|
6844
|
+
/**
|
|
6845
|
+
*
|
|
6846
|
+
* @type {Array<string>}
|
|
6847
|
+
* @memberof ModelCatalogEntryDto
|
|
6848
|
+
*/
|
|
6849
|
+
interfaces?: Array<string>;
|
|
6850
|
+
/**
|
|
6851
|
+
* Known model catalog properties allow-listed from DIAL Core catalog_properties
|
|
6852
|
+
* @type {ModelCatalogPropertiesDto}
|
|
6853
|
+
* @memberof ModelCatalogEntryDto
|
|
6854
|
+
*/
|
|
6855
|
+
catalogProperties?: ModelCatalogPropertiesDto;
|
|
6856
|
+
}
|
|
6857
|
+
/**
|
|
6858
|
+
*
|
|
6859
|
+
* @export
|
|
6860
|
+
* @interface ModelCatalogListResponseDto
|
|
6861
|
+
*/
|
|
6862
|
+
export interface ModelCatalogListResponseDto {
|
|
6863
|
+
/**
|
|
6864
|
+
*
|
|
6865
|
+
* @type {Array<ModelCatalogEntryDto>}
|
|
6866
|
+
* @memberof ModelCatalogListResponseDto
|
|
6867
|
+
*/
|
|
6868
|
+
data: Array<ModelCatalogEntryDto>;
|
|
6869
|
+
}
|
|
6870
|
+
/**
|
|
6871
|
+
*
|
|
6872
|
+
* @export
|
|
6873
|
+
* @interface ModelCatalogPropertiesDto
|
|
6874
|
+
*/
|
|
6875
|
+
export interface ModelCatalogPropertiesDto {
|
|
6277
6876
|
/**
|
|
6278
6877
|
* Model vendor for catalog display
|
|
6279
6878
|
* @type {string}
|
|
@@ -6317,6 +6916,24 @@ export interface ModelDetailsDto {
|
|
|
6317
6916
|
* @memberof ModelDetailsDto
|
|
6318
6917
|
*/
|
|
6319
6918
|
lifecycleStatus?: string;
|
|
6919
|
+
/**
|
|
6920
|
+
* Provider that hosts the model, free-form text forwarded from DIAL Core unvalidated
|
|
6921
|
+
* @type {string}
|
|
6922
|
+
* @memberof ModelDetailsDto
|
|
6923
|
+
*/
|
|
6924
|
+
provider?: string;
|
|
6925
|
+
/**
|
|
6926
|
+
* Date the model is deprecated but still served, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
|
|
6927
|
+
* @type {string}
|
|
6928
|
+
* @memberof ModelDetailsDto
|
|
6929
|
+
*/
|
|
6930
|
+
deprecationDate?: string;
|
|
6931
|
+
/**
|
|
6932
|
+
* Date the provider stops serving the model, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
|
|
6933
|
+
* @type {string}
|
|
6934
|
+
* @memberof ModelDetailsDto
|
|
6935
|
+
*/
|
|
6936
|
+
endOfService?: string;
|
|
6320
6937
|
/**
|
|
6321
6938
|
* Name of the model whose tokenization algorithm this model uses
|
|
6322
6939
|
* @type {string}
|
|
@@ -6679,6 +7296,207 @@ export interface OfflineCredentialsSigninBodyDto {
|
|
|
6679
7296
|
*/
|
|
6680
7297
|
redirectUri: string;
|
|
6681
7298
|
}
|
|
7299
|
+
/**
|
|
7300
|
+
*
|
|
7301
|
+
* @export
|
|
7302
|
+
* @interface OnboardingHintDto
|
|
7303
|
+
*/
|
|
7304
|
+
export interface OnboardingHintDto {
|
|
7305
|
+
/**
|
|
7306
|
+
* Stable identifier of the hint. The client remembers which ids a user has seen, so changing an id shows that hint again. Letters, digits, ".", "_" and "-", at most 64 characters; duplicates after the first are dropped server-side.
|
|
7307
|
+
* @type {string}
|
|
7308
|
+
* @memberof OnboardingHintDto
|
|
7309
|
+
*/
|
|
7310
|
+
id: string;
|
|
7311
|
+
/**
|
|
7312
|
+
* The UI element the hint points at. A closed list; the client resolves it and skips the hint when that element is not on screen.
|
|
7313
|
+
* @type {OnboardingHintTarget}
|
|
7314
|
+
* @memberof OnboardingHintDto
|
|
7315
|
+
*/
|
|
7316
|
+
target: OnboardingHintTarget;
|
|
7317
|
+
/**
|
|
7318
|
+
* Hint heading. Plain text; never interpreted as markup. Entries without one are dropped server-side.
|
|
7319
|
+
* @type {string}
|
|
7320
|
+
* @memberof OnboardingHintDto
|
|
7321
|
+
*/
|
|
7322
|
+
title: string;
|
|
7323
|
+
/**
|
|
7324
|
+
* Supporting copy under the heading. Plain text; never interpreted as markup. Null when unset or blank.
|
|
7325
|
+
* @type {string}
|
|
7326
|
+
* @memberof OnboardingHintDto
|
|
7327
|
+
*/
|
|
7328
|
+
description: string | null;
|
|
7329
|
+
/**
|
|
7330
|
+
* Pages the hint is shown on. Empty when unset: the hint is then shown on the home page (new chat and conversations) only. Unknown names are dropped server-side.
|
|
7331
|
+
* @type {Array<OnboardingHintPage>}
|
|
7332
|
+
* @memberof OnboardingHintDto
|
|
7333
|
+
*/
|
|
7334
|
+
pages: Array<OnboardingHintPage>;
|
|
7335
|
+
}
|
|
7336
|
+
/**
|
|
7337
|
+
* Pages the hint is shown on. Empty when unset: the hint is then shown on the home page (new chat and conversations) only. Unknown names are dropped server-side.
|
|
7338
|
+
* @export
|
|
7339
|
+
*/
|
|
7340
|
+
export declare const OnboardingHintPage: {
|
|
7341
|
+
readonly Home: "home";
|
|
7342
|
+
readonly Projects: "projects";
|
|
7343
|
+
readonly ScheduledTasks: "scheduled-tasks";
|
|
7344
|
+
readonly Catalog: "catalog";
|
|
7345
|
+
readonly FileManager: "file-manager";
|
|
7346
|
+
readonly Settings: "settings";
|
|
7347
|
+
readonly Usage: "usage";
|
|
7348
|
+
readonly Editors: "editors";
|
|
7349
|
+
};
|
|
7350
|
+
export type OnboardingHintPage = (typeof OnboardingHintPage)[keyof typeof OnboardingHintPage];
|
|
7351
|
+
/**
|
|
7352
|
+
* The UI element the hint points at. A closed list; the client resolves it and skips the hint when that element is not on screen.
|
|
7353
|
+
* @export
|
|
7354
|
+
*/
|
|
7355
|
+
export declare const OnboardingHintTarget: {
|
|
7356
|
+
readonly NewChat: "new-chat";
|
|
7357
|
+
readonly Navigation: "navigation";
|
|
7358
|
+
readonly Projects: "projects";
|
|
7359
|
+
readonly ScheduledTasks: "scheduled-tasks";
|
|
7360
|
+
readonly Catalog: "catalog";
|
|
7361
|
+
readonly FileManager: "file-manager";
|
|
7362
|
+
readonly ConversationInput: "conversation-input";
|
|
7363
|
+
readonly AddAttachment: "add-attachment";
|
|
7364
|
+
readonly SendMessage: "send-message";
|
|
7365
|
+
readonly ModelSelector: "model-selector";
|
|
7366
|
+
readonly VoiceInput: "voice-input";
|
|
7367
|
+
readonly ConversationStarters: "conversation-starters";
|
|
7368
|
+
readonly ConversationMessages: "conversation-messages";
|
|
7369
|
+
readonly SourcesPanelToggle: "sources-panel-toggle";
|
|
7370
|
+
readonly SidebarToggle: "sidebar-toggle";
|
|
7371
|
+
readonly Chats: "chats";
|
|
7372
|
+
readonly ChatsSearch: "chats-search";
|
|
7373
|
+
readonly ChatsFilter: "chats-filter";
|
|
7374
|
+
readonly UserMenu: "user-menu";
|
|
7375
|
+
readonly Usage: "usage";
|
|
7376
|
+
readonly ProjectsCreate: "projects-create";
|
|
7377
|
+
readonly ProjectsSearch: "projects-search";
|
|
7378
|
+
readonly ProjectChats: "project-chats";
|
|
7379
|
+
readonly ProjectDetails: "project-details";
|
|
7380
|
+
readonly ScheduledTasksCreate: "scheduled-tasks-create";
|
|
7381
|
+
readonly ScheduledTasksSearch: "scheduled-tasks-search";
|
|
7382
|
+
readonly SettingsSections: "settings-sections";
|
|
7383
|
+
readonly CatalogCreate: "catalog-create";
|
|
7384
|
+
readonly CatalogSearch: "catalog-search";
|
|
7385
|
+
readonly CatalogTabs: "catalog-tabs";
|
|
7386
|
+
readonly CatalogViewMode: "catalog-view-mode";
|
|
7387
|
+
readonly CatalogFilter: "catalog-filter";
|
|
7388
|
+
readonly CatalogSort: "catalog-sort";
|
|
7389
|
+
readonly CatalogCard: "catalog-card";
|
|
7390
|
+
readonly CatalogFavorite: "catalog-favorite";
|
|
7391
|
+
readonly MessageActions: "message-actions";
|
|
7392
|
+
readonly CatalogDetails: "catalog-details";
|
|
7393
|
+
readonly CatalogDetailsUseInChat: "catalog-details-use-in-chat";
|
|
7394
|
+
readonly CatalogDetailsManage: "catalog-details-manage";
|
|
7395
|
+
readonly CatalogDetailsCredentials: "catalog-details-credentials";
|
|
7396
|
+
readonly CatalogDetailsShare: "catalog-details-share";
|
|
7397
|
+
readonly CatalogDetailsPublish: "catalog-details-publish";
|
|
7398
|
+
readonly CatalogDetailsTabs: "catalog-details-tabs";
|
|
7399
|
+
readonly ProjectFormSubmit: "project-form-submit";
|
|
7400
|
+
readonly ProjectFormContext: "project-form-context";
|
|
7401
|
+
readonly ProjectViewEdit: "project-view-edit";
|
|
7402
|
+
readonly ProjectViewMoreActions: "project-view-more-actions";
|
|
7403
|
+
readonly ProjectViewPin: "project-view-pin";
|
|
7404
|
+
readonly ProjectViewPublish: "project-view-publish";
|
|
7405
|
+
readonly ProjectContextSearch: "project-context-search";
|
|
7406
|
+
readonly ProjectsSort: "projects-sort";
|
|
7407
|
+
readonly ScheduledTaskFormSubmit: "scheduled-task-form-submit";
|
|
7408
|
+
readonly ScheduledTaskConfiguration: "scheduled-task-configuration";
|
|
7409
|
+
readonly ScheduledTaskRepeat: "scheduled-task-repeat";
|
|
7410
|
+
readonly ScheduledTaskModel: "scheduled-task-model";
|
|
7411
|
+
readonly ScheduledTaskStartNow: "scheduled-task-start-now";
|
|
7412
|
+
readonly ScheduledTaskEdit: "scheduled-task-edit";
|
|
7413
|
+
readonly ScheduledTaskHistory: "scheduled-task-history";
|
|
7414
|
+
readonly ScheduledTaskActive: "scheduled-task-active";
|
|
7415
|
+
readonly ScheduledTasksSort: "scheduled-tasks-sort";
|
|
7416
|
+
readonly SettingsExtensions: "settings-extensions";
|
|
7417
|
+
readonly SettingsExtensionsLogIn: "settings-extensions-log-in";
|
|
7418
|
+
readonly SettingsTheme: "settings-theme";
|
|
7419
|
+
readonly SettingsLanguage: "settings-language";
|
|
7420
|
+
readonly DuplicateSharedChat: "duplicate-shared-chat";
|
|
7421
|
+
readonly SourcesPanel: "sources-panel";
|
|
7422
|
+
readonly SourcesDownloadAll: "sources-download-all";
|
|
7423
|
+
readonly ProjectChatBack: "project-chat-back";
|
|
7424
|
+
readonly ToolsSelector: "tools-selector";
|
|
7425
|
+
readonly EditorSetup: "editor-setup";
|
|
7426
|
+
readonly ActiveChat: "active-chat";
|
|
7427
|
+
readonly ActiveChatActions: "active-chat-actions";
|
|
7428
|
+
};
|
|
7429
|
+
export type OnboardingHintTarget = (typeof OnboardingHintTarget)[keyof typeof OnboardingHintTarget];
|
|
7430
|
+
/**
|
|
7431
|
+
*
|
|
7432
|
+
* @export
|
|
7433
|
+
* @interface OrgUnitDto
|
|
7434
|
+
*/
|
|
7435
|
+
export interface OrgUnitDto {
|
|
7436
|
+
/**
|
|
7437
|
+
* Core unit id
|
|
7438
|
+
* @type {string}
|
|
7439
|
+
* @memberof OrgUnitDto
|
|
7440
|
+
*/
|
|
7441
|
+
id: string;
|
|
7442
|
+
/**
|
|
7443
|
+
* Unit name; also the last segment of its folder
|
|
7444
|
+
* @type {string}
|
|
7445
|
+
* @memberof OrgUnitDto
|
|
7446
|
+
*/
|
|
7447
|
+
name: string;
|
|
7448
|
+
/**
|
|
7449
|
+
* Display name; falls back to `name` when Core has none
|
|
7450
|
+
* @type {string}
|
|
7451
|
+
* @memberof OrgUnitDto
|
|
7452
|
+
*/
|
|
7453
|
+
displayName: string;
|
|
7454
|
+
/**
|
|
7455
|
+
* Decoded unit address without a trailing slash
|
|
7456
|
+
* @type {string}
|
|
7457
|
+
* @memberof OrgUnitDto
|
|
7458
|
+
*/
|
|
7459
|
+
path: string;
|
|
7460
|
+
/**
|
|
7461
|
+
* Unit folder exactly as DIAL Core returns it: url-encoded, with a trailing slash
|
|
7462
|
+
* @type {string}
|
|
7463
|
+
* @memberof OrgUnitDto
|
|
7464
|
+
*/
|
|
7465
|
+
folder: string;
|
|
7466
|
+
/**
|
|
7467
|
+
* Core's namespace-to-actions map for the caller in this unit; `{}` when the caller only reaches the unit through its parent
|
|
7468
|
+
* @type {{ [key: string]: Array<string>; }}
|
|
7469
|
+
* @memberof OrgUnitDto
|
|
7470
|
+
*/
|
|
7471
|
+
permissions: {
|
|
7472
|
+
[key: string]: Array<string>;
|
|
7473
|
+
};
|
|
7474
|
+
}
|
|
7475
|
+
/**
|
|
7476
|
+
*
|
|
7477
|
+
* @export
|
|
7478
|
+
* @interface OrgUnitsResponseDto
|
|
7479
|
+
*/
|
|
7480
|
+
export interface OrgUnitsResponseDto {
|
|
7481
|
+
/**
|
|
7482
|
+
* `false` when DIAL Core has org units turned off
|
|
7483
|
+
* @type {boolean}
|
|
7484
|
+
* @memberof OrgUnitsResponseDto
|
|
7485
|
+
*/
|
|
7486
|
+
enabled: boolean;
|
|
7487
|
+
/**
|
|
7488
|
+
* `true` when Core reports full admin access for the caller; `false` otherwise
|
|
7489
|
+
* @type {boolean}
|
|
7490
|
+
* @memberof OrgUnitsResponseDto
|
|
7491
|
+
*/
|
|
7492
|
+
hasAdminAccess: boolean;
|
|
7493
|
+
/**
|
|
7494
|
+
*
|
|
7495
|
+
* @type {Array<OrgUnitDto>}
|
|
7496
|
+
* @memberof OrgUnitsResponseDto
|
|
7497
|
+
*/
|
|
7498
|
+
units: Array<OrgUnitDto>;
|
|
7499
|
+
}
|
|
6682
7500
|
/**
|
|
6683
7501
|
*
|
|
6684
7502
|
* @export
|
|
@@ -7338,6 +8156,46 @@ export interface PublishCatalogEntityDto {
|
|
|
7338
8156
|
*/
|
|
7339
8157
|
publishCredentials?: boolean;
|
|
7340
8158
|
}
|
|
8159
|
+
/**
|
|
8160
|
+
* `target-exists`: the published copy of this resource would land on a path that is already taken. `publish-in-progress`: another publish of the same application has not finished yet.
|
|
8161
|
+
* @export
|
|
8162
|
+
*/
|
|
8163
|
+
export declare const PublishConflictCode: {
|
|
8164
|
+
readonly TargetExists: "target-exists";
|
|
8165
|
+
readonly PublishInProgress: "publish-in-progress";
|
|
8166
|
+
};
|
|
8167
|
+
export type PublishConflictCode = (typeof PublishConflictCode)[keyof typeof PublishConflictCode];
|
|
8168
|
+
/**
|
|
8169
|
+
*
|
|
8170
|
+
* @export
|
|
8171
|
+
* @interface PublishConflictDto
|
|
8172
|
+
*/
|
|
8173
|
+
export interface PublishConflictDto {
|
|
8174
|
+
/**
|
|
8175
|
+
*
|
|
8176
|
+
* @type {number}
|
|
8177
|
+
* @memberof PublishConflictDto
|
|
8178
|
+
*/
|
|
8179
|
+
statusCode: number;
|
|
8180
|
+
/**
|
|
8181
|
+
*
|
|
8182
|
+
* @type {string}
|
|
8183
|
+
* @memberof PublishConflictDto
|
|
8184
|
+
*/
|
|
8185
|
+
message: string;
|
|
8186
|
+
/**
|
|
8187
|
+
*
|
|
8188
|
+
* @type {string}
|
|
8189
|
+
* @memberof PublishConflictDto
|
|
8190
|
+
*/
|
|
8191
|
+
error: string;
|
|
8192
|
+
/**
|
|
8193
|
+
* `target-exists`: the published copy of this resource would land on a path that is already taken. `publish-in-progress`: another publish of the same application has not finished yet.
|
|
8194
|
+
* @type {PublishConflictCode}
|
|
8195
|
+
* @memberof PublishConflictDto
|
|
8196
|
+
*/
|
|
8197
|
+
code: PublishConflictCode;
|
|
8198
|
+
}
|
|
7341
8199
|
/**
|
|
7342
8200
|
*
|
|
7343
8201
|
* @export
|
|
@@ -7557,6 +8415,19 @@ export interface PublishRulesResultDto {
|
|
|
7557
8415
|
*/
|
|
7558
8416
|
rules: Array<PublishRuleDto>;
|
|
7559
8417
|
}
|
|
8418
|
+
/**
|
|
8419
|
+
*
|
|
8420
|
+
* @export
|
|
8421
|
+
* @interface PublishTargetCheckDto
|
|
8422
|
+
*/
|
|
8423
|
+
export interface PublishTargetCheckDto {
|
|
8424
|
+
/**
|
|
8425
|
+
* True when the caller can read a resource at the target. False means none was found, not that none is there: a copy hidden from the caller by access rules, or one still pending approval, is not detected. The publish endpoint answers `409` for those.
|
|
8426
|
+
* @type {boolean}
|
|
8427
|
+
* @memberof PublishTargetCheckDto
|
|
8428
|
+
*/
|
|
8429
|
+
taken: boolean;
|
|
8430
|
+
}
|
|
7560
8431
|
/**
|
|
7561
8432
|
*
|
|
7562
8433
|
* @export
|
|
@@ -7815,6 +8686,67 @@ export interface RequestSkillDto {
|
|
|
7815
8686
|
*/
|
|
7816
8687
|
url: string;
|
|
7817
8688
|
}
|
|
8689
|
+
/**
|
|
8690
|
+
*
|
|
8691
|
+
* @export
|
|
8692
|
+
* @interface ResourceDependenciesResultDto
|
|
8693
|
+
*/
|
|
8694
|
+
export interface ResourceDependenciesResultDto {
|
|
8695
|
+
/**
|
|
8696
|
+
*
|
|
8697
|
+
* @type {Array<ResourceDependencyDto>}
|
|
8698
|
+
* @memberof ResourceDependenciesResultDto
|
|
8699
|
+
*/
|
|
8700
|
+
dependencies: Array<ResourceDependencyDto>;
|
|
8701
|
+
}
|
|
8702
|
+
/**
|
|
8703
|
+
*
|
|
8704
|
+
* @export
|
|
8705
|
+
* @interface ResourceDependencyDto
|
|
8706
|
+
*/
|
|
8707
|
+
export interface ResourceDependencyDto {
|
|
8708
|
+
/**
|
|
8709
|
+
* The dependency's DIAL Core resource url, as stored in the reference.
|
|
8710
|
+
* @type {string}
|
|
8711
|
+
* @memberof ResourceDependencyDto
|
|
8712
|
+
*/
|
|
8713
|
+
id: string;
|
|
8714
|
+
/**
|
|
8715
|
+
* Display name, percent-decoded, without a trailing `__version`.
|
|
8716
|
+
* @type {string}
|
|
8717
|
+
* @memberof ResourceDependencyDto
|
|
8718
|
+
*/
|
|
8719
|
+
name: string;
|
|
8720
|
+
/**
|
|
8721
|
+
* Present only for a versioned dependency.
|
|
8722
|
+
* @type {string}
|
|
8723
|
+
* @memberof ResourceDependencyDto
|
|
8724
|
+
*/
|
|
8725
|
+
version?: string;
|
|
8726
|
+
/**
|
|
8727
|
+
*
|
|
8728
|
+
* @type {string}
|
|
8729
|
+
* @memberof ResourceDependencyDto
|
|
8730
|
+
*/
|
|
8731
|
+
type: ResourceDependencyDtoTypeEnum;
|
|
8732
|
+
/**
|
|
8733
|
+
* Percent-decoded folder path of the dependency inside its owner's bucket; empty at the bucket root.
|
|
8734
|
+
* @type {string}
|
|
8735
|
+
* @memberof ResourceDependencyDto
|
|
8736
|
+
*/
|
|
8737
|
+
location: string;
|
|
8738
|
+
}
|
|
8739
|
+
/**
|
|
8740
|
+
* @export
|
|
8741
|
+
*/
|
|
8742
|
+
export declare const ResourceDependencyDtoTypeEnum: {
|
|
8743
|
+
readonly Application: "application";
|
|
8744
|
+
readonly Toolset: "toolset";
|
|
8745
|
+
readonly Prompt: "prompt";
|
|
8746
|
+
readonly Skill: "skill";
|
|
8747
|
+
readonly File: "file";
|
|
8748
|
+
};
|
|
8749
|
+
export type ResourceDependencyDtoTypeEnum = (typeof ResourceDependencyDtoTypeEnum)[keyof typeof ResourceDependencyDtoTypeEnum];
|
|
7818
8750
|
/**
|
|
7819
8751
|
*
|
|
7820
8752
|
* @export
|
|
@@ -8054,6 +8986,12 @@ export interface ScheduledTaskDto {
|
|
|
8054
8986
|
* @memberof ScheduledTaskDto
|
|
8055
8987
|
*/
|
|
8056
8988
|
trigger: ScheduleTriggerDto;
|
|
8989
|
+
/**
|
|
8990
|
+
* IANA time zone the trigger is evaluated in. Always present on responses (UTC for tasks saved without one); declared optional so existing clients and fixtures stay valid.
|
|
8991
|
+
* @type {string}
|
|
8992
|
+
* @memberof ScheduledTaskDto
|
|
8993
|
+
*/
|
|
8994
|
+
timezone?: string;
|
|
8057
8995
|
/**
|
|
8058
8996
|
*
|
|
8059
8997
|
* @type {string}
|
|
@@ -8715,6 +9653,16 @@ export interface SkillsConfigDto {
|
|
|
8715
9653
|
*/
|
|
8716
9654
|
installed: Array<string>;
|
|
8717
9655
|
}
|
|
9656
|
+
/**
|
|
9657
|
+
* DIAL Core's spendingLimits.mode as the operator declares it (DIAL Core does not report it). Sourced from SPENDING_LIMITS_MODE or managed config; off by default. off: Settings → Usage shows no budgets and presents the role cost limit as today. shadow: budgets are shown as not yet enforced, and the role cost limit still decides. enforce: Settings → Usage shows only the budgets, and the role cost limit is withheld from the usage banner and dial. The client falls back to off when the usage response carries no costObject.
|
|
9658
|
+
* @export
|
|
9659
|
+
*/
|
|
9660
|
+
export declare const SpendingLimitsMode: {
|
|
9661
|
+
readonly Off: "off";
|
|
9662
|
+
readonly Shadow: "shadow";
|
|
9663
|
+
readonly Enforce: "enforce";
|
|
9664
|
+
};
|
|
9665
|
+
export type SpendingLimitsMode = (typeof SpendingLimitsMode)[keyof typeof SpendingLimitsMode];
|
|
8718
9666
|
/**
|
|
8719
9667
|
*
|
|
8720
9668
|
* @export
|
|
@@ -9841,6 +10789,12 @@ export interface UpdateScheduledTaskBodyDto {
|
|
|
9841
10789
|
* @memberof UpdateScheduledTaskBodyDto
|
|
9842
10790
|
*/
|
|
9843
10791
|
trigger: ScheduleTriggerDto;
|
|
10792
|
+
/**
|
|
10793
|
+
* IANA time zone the trigger is evaluated in. Cron fields and offset-less datetimes are local wall time in this zone. Omission means UTC; an update that omits it resets the zone to UTC.
|
|
10794
|
+
* @type {string}
|
|
10795
|
+
* @memberof UpdateScheduledTaskBodyDto
|
|
10796
|
+
*/
|
|
10797
|
+
timezone?: string;
|
|
9844
10798
|
/**
|
|
9845
10799
|
*
|
|
9846
10800
|
* @type {string}
|
|
@@ -9928,6 +10882,12 @@ export interface UpdatedScheduledTaskDto {
|
|
|
9928
10882
|
* @memberof UpdatedScheduledTaskDto
|
|
9929
10883
|
*/
|
|
9930
10884
|
trigger: ScheduleTriggerDto;
|
|
10885
|
+
/**
|
|
10886
|
+
* IANA time zone the trigger is evaluated in. Always present on responses (UTC for tasks saved without one); declared optional so existing clients and fixtures stay valid.
|
|
10887
|
+
* @type {string}
|
|
10888
|
+
* @memberof UpdatedScheduledTaskDto
|
|
10889
|
+
*/
|
|
10890
|
+
timezone?: string;
|
|
9931
10891
|
/**
|
|
9932
10892
|
*
|
|
9933
10893
|
* @type {string}
|
|
@@ -10053,6 +11013,173 @@ export interface UploadArchiveResponseDto {
|
|
|
10053
11013
|
*/
|
|
10054
11014
|
results: Array<UploadArchiveEntryResultDto>;
|
|
10055
11015
|
}
|
|
11016
|
+
/**
|
|
11017
|
+
*
|
|
11018
|
+
* @export
|
|
11019
|
+
* @interface UsageHistoryBudgetDto
|
|
11020
|
+
*/
|
|
11021
|
+
export interface UsageHistoryBudgetDto {
|
|
11022
|
+
/**
|
|
11023
|
+
* Cost object of the budget the history is narrowed to.
|
|
11024
|
+
* @type {string}
|
|
11025
|
+
* @memberof UsageHistoryBudgetDto
|
|
11026
|
+
*/
|
|
11027
|
+
costObject: string;
|
|
11028
|
+
/**
|
|
11029
|
+
* Policy of the budget the history is narrowed to.
|
|
11030
|
+
* @type {string}
|
|
11031
|
+
* @memberof UsageHistoryBudgetDto
|
|
11032
|
+
*/
|
|
11033
|
+
policy: string;
|
|
11034
|
+
}
|
|
11035
|
+
/**
|
|
11036
|
+
*
|
|
11037
|
+
* @export
|
|
11038
|
+
* @interface UsageHistoryClientEntryDto
|
|
11039
|
+
*/
|
|
11040
|
+
export interface UsageHistoryClientEntryDto {
|
|
11041
|
+
/**
|
|
11042
|
+
* Client type from DIAL Analytics' `usage_client_identity` enrichment (for example `chat`, `claudecode`, `claudedesktop`, `codex`, `opencode`, `dialcli`, `other`), or `unknown` when the enrichment has no value for the request.
|
|
11043
|
+
* @type {string}
|
|
11044
|
+
* @memberof UsageHistoryClientEntryDto
|
|
11045
|
+
*/
|
|
11046
|
+
client: string;
|
|
11047
|
+
/**
|
|
11048
|
+
* 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.
|
|
11049
|
+
* @type {number}
|
|
11050
|
+
* @memberof UsageHistoryClientEntryDto
|
|
11051
|
+
*/
|
|
11052
|
+
spend: number;
|
|
11053
|
+
/**
|
|
11054
|
+
* Number from this client. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
|
|
11055
|
+
* @type {number}
|
|
11056
|
+
* @memberof UsageHistoryClientEntryDto
|
|
11057
|
+
*/
|
|
11058
|
+
requests: number;
|
|
11059
|
+
}
|
|
11060
|
+
/**
|
|
11061
|
+
*
|
|
11062
|
+
* @export
|
|
11063
|
+
* @interface UsageHistoryDailyEntryDto
|
|
11064
|
+
*/
|
|
11065
|
+
export interface UsageHistoryDailyEntryDto {
|
|
11066
|
+
/**
|
|
11067
|
+
* UTC calendar date, `YYYY-MM-DD`.
|
|
11068
|
+
* @type {string}
|
|
11069
|
+
* @memberof UsageHistoryDailyEntryDto
|
|
11070
|
+
*/
|
|
11071
|
+
date: string;
|
|
11072
|
+
/**
|
|
11073
|
+
* 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.
|
|
11074
|
+
* @type {number}
|
|
11075
|
+
* @memberof UsageHistoryDailyEntryDto
|
|
11076
|
+
*/
|
|
11077
|
+
spend: number;
|
|
11078
|
+
/**
|
|
11079
|
+
* Number on that date. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
|
|
11080
|
+
* @type {number}
|
|
11081
|
+
* @memberof UsageHistoryDailyEntryDto
|
|
11082
|
+
*/
|
|
11083
|
+
requests: number;
|
|
11084
|
+
/**
|
|
11085
|
+
* That date's spend per deployment, keyed by the deployment names of the top-level `byModel` (including `other`). Keys with no spend and no requests on that date are omitted, so a date without usage has an empty object.
|
|
11086
|
+
* @type {{ [key: string]: number; }}
|
|
11087
|
+
* @memberof UsageHistoryDailyEntryDto
|
|
11088
|
+
*/
|
|
11089
|
+
byModel: {
|
|
11090
|
+
[key: string]: number;
|
|
11091
|
+
};
|
|
11092
|
+
}
|
|
11093
|
+
/**
|
|
11094
|
+
*
|
|
11095
|
+
* @export
|
|
11096
|
+
* @interface UsageHistoryModelEntryDto
|
|
11097
|
+
*/
|
|
11098
|
+
export interface UsageHistoryModelEntryDto {
|
|
11099
|
+
/**
|
|
11100
|
+
* Root deployment the user called (with `budget`: the model the budget paid for), or `other` for the remainder beyond the top 10 by spend.
|
|
11101
|
+
* @type {string}
|
|
11102
|
+
* @memberof UsageHistoryModelEntryDto
|
|
11103
|
+
*/
|
|
11104
|
+
deployment: string;
|
|
11105
|
+
/**
|
|
11106
|
+
* 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.
|
|
11107
|
+
* @type {number}
|
|
11108
|
+
* @memberof UsageHistoryModelEntryDto
|
|
11109
|
+
*/
|
|
11110
|
+
spend: number;
|
|
11111
|
+
/**
|
|
11112
|
+
* Number for this deployment. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
|
|
11113
|
+
* @type {number}
|
|
11114
|
+
* @memberof UsageHistoryModelEntryDto
|
|
11115
|
+
*/
|
|
11116
|
+
requests: number;
|
|
11117
|
+
}
|
|
11118
|
+
/**
|
|
11119
|
+
*
|
|
11120
|
+
* @export
|
|
11121
|
+
*/
|
|
11122
|
+
export declare const UsageHistoryPeriod: {
|
|
11123
|
+
readonly Today: "today";
|
|
11124
|
+
readonly Week: "week";
|
|
11125
|
+
readonly Month: "month";
|
|
11126
|
+
};
|
|
11127
|
+
export type UsageHistoryPeriod = (typeof UsageHistoryPeriod)[keyof typeof UsageHistoryPeriod];
|
|
11128
|
+
/**
|
|
11129
|
+
*
|
|
11130
|
+
* @export
|
|
11131
|
+
* @interface UsageHistoryTotalsDto
|
|
11132
|
+
*/
|
|
11133
|
+
export interface UsageHistoryTotalsDto {
|
|
11134
|
+
/**
|
|
11135
|
+
* 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.
|
|
11136
|
+
* @type {number}
|
|
11137
|
+
* @memberof UsageHistoryTotalsDto
|
|
11138
|
+
*/
|
|
11139
|
+
spend: number;
|
|
11140
|
+
/**
|
|
11141
|
+
* Number in the window. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
|
|
11142
|
+
* @type {number}
|
|
11143
|
+
* @memberof UsageHistoryTotalsDto
|
|
11144
|
+
*/
|
|
11145
|
+
requests: number;
|
|
11146
|
+
}
|
|
11147
|
+
/**
|
|
11148
|
+
* Present only when `available` is `false`. `not_configured`: ANALYTICS_URL is unset. `forbidden`: DIAL Analytics refused the caller's token, or the caller's view of the usage log is not restricted to their own rows. `unavailable`: timeout, network error or server error. `budget_unsupported`: `costObject` and `policy` were given, but the caller's DIAL Analytics schema of the usage log has no budget columns.
|
|
11149
|
+
* @export
|
|
11150
|
+
*/
|
|
11151
|
+
export declare const UsageHistoryUnavailableReason: {
|
|
11152
|
+
readonly NotConfigured: "not_configured";
|
|
11153
|
+
readonly Unavailable: "unavailable";
|
|
11154
|
+
readonly Forbidden: "forbidden";
|
|
11155
|
+
readonly BudgetUnsupported: "budget_unsupported";
|
|
11156
|
+
};
|
|
11157
|
+
export type UsageHistoryUnavailableReason = (typeof UsageHistoryUnavailableReason)[keyof typeof UsageHistoryUnavailableReason];
|
|
11158
|
+
/**
|
|
11159
|
+
*
|
|
11160
|
+
* @export
|
|
11161
|
+
* @interface UsageHistoryWindowDto
|
|
11162
|
+
*/
|
|
11163
|
+
export interface UsageHistoryWindowDto {
|
|
11164
|
+
/**
|
|
11165
|
+
* The requested period.
|
|
11166
|
+
* @type {UsageHistoryPeriod}
|
|
11167
|
+
* @memberof UsageHistoryWindowDto
|
|
11168
|
+
*/
|
|
11169
|
+
name: UsageHistoryPeriod;
|
|
11170
|
+
/**
|
|
11171
|
+
* Inclusive window start: 00:00:00.000Z of the current UTC day, ISO week Monday, or month 1st.
|
|
11172
|
+
* @type {string}
|
|
11173
|
+
* @memberof UsageHistoryWindowDto
|
|
11174
|
+
*/
|
|
11175
|
+
from: string;
|
|
11176
|
+
/**
|
|
11177
|
+
* Exclusive window end: the request time.
|
|
11178
|
+
* @type {string}
|
|
11179
|
+
* @memberof UsageHistoryWindowDto
|
|
11180
|
+
*/
|
|
11181
|
+
to: string;
|
|
11182
|
+
}
|
|
10056
11183
|
/**
|
|
10057
11184
|
*
|
|
10058
11185
|
* @export
|
|
@@ -10140,6 +11267,18 @@ export interface UserLimitStatsResponseDto {
|
|
|
10140
11267
|
* @memberof UserLimitStatsResponseDto
|
|
10141
11268
|
*/
|
|
10142
11269
|
monthCostStats?: LimitStatsDto;
|
|
11270
|
+
/**
|
|
11271
|
+
* 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`. Only the entries whose `costObject` equals the top-level `costObject` are charged for the caller's model calls. 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.
|
|
11272
|
+
* @type {Array<BudgetStatsDto>}
|
|
11273
|
+
* @memberof UserLimitStatsResponseDto
|
|
11274
|
+
*/
|
|
11275
|
+
budgets?: Array<BudgetStatsDto>;
|
|
11276
|
+
/**
|
|
11277
|
+
* The cost object whose budgets the caller's model calls are charged to: only the `budgets` entries with this `costObject` can be charged (epam/ai-dial-core#2284). Absent when DIAL Core has spending limits off, the caller is an API key, or DIAL Core is older. The BFF forwards it verbatim.
|
|
11278
|
+
* @type {string}
|
|
11279
|
+
* @memberof UserLimitStatsResponseDto
|
|
11280
|
+
*/
|
|
11281
|
+
costObject?: string;
|
|
10143
11282
|
}
|
|
10144
11283
|
/**
|
|
10145
11284
|
*
|
|
@@ -10186,6 +11325,115 @@ export interface UserProfileDto {
|
|
|
10186
11325
|
*/
|
|
10187
11326
|
pictureUrl?: string;
|
|
10188
11327
|
}
|
|
11328
|
+
/**
|
|
11329
|
+
*
|
|
11330
|
+
* @export
|
|
11331
|
+
* @interface UserUsageHistoryResponseDto
|
|
11332
|
+
*/
|
|
11333
|
+
export interface UserUsageHistoryResponseDto {
|
|
11334
|
+
/**
|
|
11335
|
+
* 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.
|
|
11336
|
+
* @type {boolean}
|
|
11337
|
+
* @memberof UserUsageHistoryResponseDto
|
|
11338
|
+
*/
|
|
11339
|
+
available: boolean;
|
|
11340
|
+
/**
|
|
11341
|
+
* Present only when `available` is `false`. `not_configured`: ANALYTICS_URL is unset. `forbidden`: DIAL Analytics refused the caller's token, or the caller's view of the usage log is not restricted to their own rows. `unavailable`: timeout, network error or server error. `budget_unsupported`: `costObject` and `policy` were given, but the caller's DIAL Analytics schema of the usage log has no budget columns.
|
|
11342
|
+
* @type {UsageHistoryUnavailableReason}
|
|
11343
|
+
* @memberof UserUsageHistoryResponseDto
|
|
11344
|
+
*/
|
|
11345
|
+
reason?: UsageHistoryUnavailableReason;
|
|
11346
|
+
/**
|
|
11347
|
+
* 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.
|
|
11348
|
+
* @type {UsageHistoryBudgetDto}
|
|
11349
|
+
* @memberof UserUsageHistoryResponseDto
|
|
11350
|
+
*/
|
|
11351
|
+
budget?: UsageHistoryBudgetDto;
|
|
11352
|
+
/**
|
|
11353
|
+
* Present only when `available` is `true`. The half-open window `[from, to)`.
|
|
11354
|
+
* @type {UsageHistoryWindowDto}
|
|
11355
|
+
* @memberof UserUsageHistoryResponseDto
|
|
11356
|
+
*/
|
|
11357
|
+
period?: UsageHistoryWindowDto;
|
|
11358
|
+
/**
|
|
11359
|
+
* Present only when `available` is `true`. Always `USD`: DIAL Analytics prices carry no currency.
|
|
11360
|
+
* @type {string}
|
|
11361
|
+
* @memberof UserUsageHistoryResponseDto
|
|
11362
|
+
*/
|
|
11363
|
+
currency?: string;
|
|
11364
|
+
/**
|
|
11365
|
+
* Present only when `available` is `true`. Spend and requests of the whole window.
|
|
11366
|
+
* @type {UsageHistoryTotalsDto}
|
|
11367
|
+
* @memberof UserUsageHistoryResponseDto
|
|
11368
|
+
*/
|
|
11369
|
+
totals?: UsageHistoryTotalsDto;
|
|
11370
|
+
/**
|
|
11371
|
+
* Present only when `available` is `true`. One entry per UTC date of the window, ascending, zero-filled.
|
|
11372
|
+
* @type {Array<UsageHistoryDailyEntryDto>}
|
|
11373
|
+
* @memberof UserUsageHistoryResponseDto
|
|
11374
|
+
*/
|
|
11375
|
+
daily?: Array<UsageHistoryDailyEntryDto>;
|
|
11376
|
+
/**
|
|
11377
|
+
* 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, not root deployments.
|
|
11378
|
+
* @type {Array<UsageHistoryModelEntryDto>}
|
|
11379
|
+
* @memberof UserUsageHistoryResponseDto
|
|
11380
|
+
*/
|
|
11381
|
+
byModel?: Array<UsageHistoryModelEntryDto>;
|
|
11382
|
+
/**
|
|
11383
|
+
* Present only when `available` is `true` and DIAL Analytics exposes the client-identity enrichment to the caller; absent (not empty) otherwise. Sorted by spend descending. When the request named a budget, each paid model call is classified from its own request headers, so a model call made by an application may count toward that application's client rather than the client the user called the application from.
|
|
11384
|
+
* @type {Array<UsageHistoryClientEntryDto>}
|
|
11385
|
+
* @memberof UserUsageHistoryResponseDto
|
|
11386
|
+
*/
|
|
11387
|
+
byClient?: Array<UsageHistoryClientEntryDto>;
|
|
11388
|
+
}
|
|
11389
|
+
/**
|
|
11390
|
+
*
|
|
11391
|
+
* @export
|
|
11392
|
+
*/
|
|
11393
|
+
export declare const VersionPublicationStatus: {
|
|
11394
|
+
readonly NotPublished: "not-published";
|
|
11395
|
+
readonly InReview: "in-review";
|
|
11396
|
+
readonly Published: "published";
|
|
11397
|
+
readonly Unknown: "unknown";
|
|
11398
|
+
};
|
|
11399
|
+
export type VersionPublicationStatus = (typeof VersionPublicationStatus)[keyof typeof VersionPublicationStatus];
|
|
11400
|
+
/**
|
|
11401
|
+
*
|
|
11402
|
+
* @export
|
|
11403
|
+
* @interface VersionStatusEntryDto
|
|
11404
|
+
*/
|
|
11405
|
+
export interface VersionStatusEntryDto {
|
|
11406
|
+
/**
|
|
11407
|
+
* DIAL Core resource id of the version, as the listings return it.
|
|
11408
|
+
* @type {string}
|
|
11409
|
+
* @memberof VersionStatusEntryDto
|
|
11410
|
+
*/
|
|
11411
|
+
id: string;
|
|
11412
|
+
/**
|
|
11413
|
+
* Display version of the version; empty when the resource has none.
|
|
11414
|
+
* @type {string}
|
|
11415
|
+
* @memberof VersionStatusEntryDto
|
|
11416
|
+
*/
|
|
11417
|
+
version: string;
|
|
11418
|
+
/**
|
|
11419
|
+
*
|
|
11420
|
+
* @type {VersionPublicationStatus}
|
|
11421
|
+
* @memberof VersionStatusEntryDto
|
|
11422
|
+
*/
|
|
11423
|
+
status: VersionPublicationStatus;
|
|
11424
|
+
/**
|
|
11425
|
+
* Folders a published version is published to, without the `public/` prefix; empty otherwise.
|
|
11426
|
+
* @type {Array<string>}
|
|
11427
|
+
* @memberof VersionStatusEntryDto
|
|
11428
|
+
*/
|
|
11429
|
+
publishedFolders: Array<string>;
|
|
11430
|
+
/**
|
|
11431
|
+
* Display name of the publisher of a published version.
|
|
11432
|
+
* @type {string}
|
|
11433
|
+
* @memberof VersionStatusEntryDto
|
|
11434
|
+
*/
|
|
11435
|
+
publishedBy?: string;
|
|
11436
|
+
}
|
|
10189
11437
|
/**
|
|
10190
11438
|
*
|
|
10191
11439
|
* @export
|