@epam/ai-dial-chat-api-client 1.4.0-dev.12 → 1.4.0-dev.122

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.
@@ -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,61 @@ 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. 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.
963
+ * @type {string}
964
+ * @memberof BudgetStatsDto
965
+ */
966
+ displayName?: string;
967
+ /**
968
+ *
969
+ * @type {BudgetStatsDtoObject}
970
+ * @memberof BudgetStatsDto
971
+ */
972
+ object?: BudgetStatsDtoObject;
973
+ /**
974
+ * 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.
975
+ * @type {LimitStatsDto}
976
+ * @memberof BudgetStatsDto
977
+ */
978
+ day: LimitStatsDto;
979
+ /**
980
+ * 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.
981
+ * @type {LimitStatsDto}
982
+ * @memberof BudgetStatsDto
983
+ */
984
+ month: LimitStatsDto;
985
+ }
986
+ /**
987
+ * @type BudgetStatsDtoObject
988
+ * 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.
989
+ * @export
990
+ */
991
+ export type BudgetStatsDtoObject = Array<string> | string;
883
992
  /**
884
993
  *
885
994
  * @export
@@ -911,6 +1020,82 @@ export declare const CatalogCreationType: {
911
1020
  readonly Skill: "skill";
912
1021
  };
913
1022
  export type CatalogCreationType = (typeof CatalogCreationType)[keyof typeof CatalogCreationType];
1023
+ /**
1024
+ * Host element the stage attaches to (composer-anchor-v1).
1025
+ * @export
1026
+ */
1027
+ export declare const CelebrationAnchor: {
1028
+ readonly Composer: "composer";
1029
+ };
1030
+ export type CelebrationAnchor = (typeof CelebrationAnchor)[keyof typeof CelebrationAnchor];
1031
+ /**
1032
+ * Edge of anchorRect aligned with the same edge of the composer (composer-anchor-v1).
1033
+ * @export
1034
+ */
1035
+ export declare const CelebrationAnchorEdge: {
1036
+ readonly Top: "top";
1037
+ readonly Bottom: "bottom";
1038
+ };
1039
+ export type CelebrationAnchorEdge = (typeof CelebrationAnchorEdge)[keyof typeof CelebrationAnchorEdge];
1040
+ /**
1041
+ * What happens when no composer is eligible (composer-anchor-v1).
1042
+ * @export
1043
+ */
1044
+ export declare const CelebrationAnchorFallback: {
1045
+ readonly StageAnchor: "stage-anchor";
1046
+ readonly Poster: "poster";
1047
+ };
1048
+ export type CelebrationAnchorFallback = (typeof CelebrationAnchorFallback)[keyof typeof CelebrationAnchorFallback];
1049
+ /**
1050
+ *
1051
+ * @export
1052
+ * @interface CelebrationAnchorRectDto
1053
+ */
1054
+ export interface CelebrationAnchorRectDto {
1055
+ /**
1056
+ * Left edge.
1057
+ * @type {number}
1058
+ * @memberof CelebrationAnchorRectDto
1059
+ */
1060
+ x: number;
1061
+ /**
1062
+ * Top edge.
1063
+ * @type {number}
1064
+ * @memberof CelebrationAnchorRectDto
1065
+ */
1066
+ y: number;
1067
+ /**
1068
+ * Width, at least 120.
1069
+ * @type {number}
1070
+ * @memberof CelebrationAnchorRectDto
1071
+ */
1072
+ width: number;
1073
+ /**
1074
+ * Height, at least 24.
1075
+ * @type {number}
1076
+ * @memberof CelebrationAnchorRectDto
1077
+ */
1078
+ height: number;
1079
+ }
1080
+ /**
1081
+ *
1082
+ * @export
1083
+ * @interface CelebrationAnchorScaleDto
1084
+ */
1085
+ export interface CelebrationAnchorScaleDto {
1086
+ /**
1087
+ * Smallest scale; also the scale of the synthetic anchor.
1088
+ * @type {number}
1089
+ * @memberof CelebrationAnchorScaleDto
1090
+ */
1091
+ min: number;
1092
+ /**
1093
+ * Largest scale.
1094
+ * @type {number}
1095
+ * @memberof CelebrationAnchorScaleDto
1096
+ */
1097
+ max: number;
1098
+ }
914
1099
  /**
915
1100
  *
916
1101
  * @export
@@ -1217,7 +1402,7 @@ export interface CelebrationPackRefDto {
1217
1402
  */
1218
1403
  export interface CelebrationPlacementDto {
1219
1404
  /**
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.
1405
+ * 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
1406
  * @type {string}
1222
1407
  * @memberof CelebrationPlacementDto
1223
1408
  */
@@ -1234,6 +1419,36 @@ export interface CelebrationPlacementDto {
1234
1419
  * @memberof CelebrationPlacementDto
1235
1420
  */
1236
1421
  align?: CelebrationStageAlign;
1422
+ /**
1423
+ * Host element the stage attaches to (composer-anchor-v1).
1424
+ * @type {CelebrationAnchor}
1425
+ * @memberof CelebrationPlacementDto
1426
+ */
1427
+ anchor?: CelebrationAnchor;
1428
+ /**
1429
+ * The reference composer the motion is authored around, in stage coordinates (composer-anchor-v1).
1430
+ * @type {CelebrationAnchorRectDto}
1431
+ * @memberof CelebrationPlacementDto
1432
+ */
1433
+ anchorRect?: CelebrationAnchorRectDto;
1434
+ /**
1435
+ * Edge of anchorRect aligned with the same edge of the composer (composer-anchor-v1).
1436
+ * @type {CelebrationAnchorEdge}
1437
+ * @memberof CelebrationPlacementDto
1438
+ */
1439
+ edge?: CelebrationAnchorEdge;
1440
+ /**
1441
+ * Bounds of composerWidth / anchorRect.width (composer-anchor-v1).
1442
+ * @type {CelebrationAnchorScaleDto}
1443
+ * @memberof CelebrationPlacementDto
1444
+ */
1445
+ scale?: CelebrationAnchorScaleDto;
1446
+ /**
1447
+ * What happens when no composer is eligible (composer-anchor-v1).
1448
+ * @type {CelebrationAnchorFallback}
1449
+ * @memberof CelebrationPlacementDto
1450
+ */
1451
+ fallback?: CelebrationAnchorFallback;
1237
1452
  }
1238
1453
  /**
1239
1454
  * How the scene adapts to a right-to-left host.
@@ -1427,6 +1642,12 @@ export interface CelebrationVariantDto {
1427
1642
  * @memberof CelebrationVariantDto
1428
1643
  */
1429
1644
  animationAssetId: string;
1645
+ /**
1646
+ * Placement for this variant instead of the scene's, with the same template; lets a mobile variant use its own reference composer.
1647
+ * @type {CelebrationPlacementDto}
1648
+ * @memberof CelebrationVariantDto
1649
+ */
1650
+ placement?: CelebrationPlacementDto;
1430
1651
  }
1431
1652
  /**
1432
1653
  * Required host layout.
@@ -1581,6 +1802,45 @@ export interface Check200Response {
1581
1802
  */
1582
1803
  buildId?: string;
1583
1804
  }
1805
+ /**
1806
+ *
1807
+ * @export
1808
+ * @interface ClientAppConfigDto
1809
+ */
1810
+ export interface ClientAppConfigDto {
1811
+ /**
1812
+ *
1813
+ * @type {string}
1814
+ * @memberof ClientAppConfigDto
1815
+ */
1816
+ schemaVersion: string;
1817
+ /**
1818
+ * Canonical SHA-256 of the schema the payload was published against.
1819
+ * @type {string}
1820
+ * @memberof ClientAppConfigDto
1821
+ */
1822
+ schemaSha256: string;
1823
+ /**
1824
+ *
1825
+ * @type {string}
1826
+ * @memberof ClientAppConfigDto
1827
+ */
1828
+ revisionId: string;
1829
+ /**
1830
+ *
1831
+ * @type {string}
1832
+ * @memberof ClientAppConfigDto
1833
+ */
1834
+ publishedAt: string;
1835
+ /**
1836
+ * The application's published payload. Chat does not validate it against the application's schema; the application does.
1837
+ * @type {{ [key: string]: unknown }}
1838
+ * @memberof ClientAppConfigDto
1839
+ */
1840
+ payload: {
1841
+ [key: string]: unknown;
1842
+ };
1843
+ }
1584
1844
  /**
1585
1845
  *
1586
1846
  * @export
@@ -1707,6 +1967,12 @@ export interface ClientConfigDto {
1707
1967
  * @memberof ClientConfigDto
1708
1968
  */
1709
1969
  announcements: Array<AnnouncementItemDto>;
1970
+ /**
1971
+ * 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.
1972
+ * @type {Array<OnboardingHintDto>}
1973
+ * @memberof ClientConfigDto
1974
+ */
1975
+ onboardingHints: Array<OnboardingHintDto>;
1710
1976
  /**
1711
1977
  * 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
1978
  * @type {string}
@@ -1765,6 +2031,12 @@ export interface ClientConfigDto {
1765
2031
  * @memberof ClientConfigDto
1766
2032
  */
1767
2033
  usageLimitsWarningThresholdPercent: number;
2034
+ /**
2035
+ * 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.
2036
+ * @type {SpendingLimitsMode}
2037
+ * @memberof ClientConfigDto
2038
+ */
2039
+ spendingLimitsMode: SpendingLimitsMode;
1768
2040
  /**
1769
2041
  * 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
2042
  * @type {boolean}
@@ -1801,6 +2073,18 @@ export interface ClientConfigDto {
1801
2073
  * @memberof ClientConfigDto
1802
2074
  */
1803
2075
  catalogCreationPermissions: CatalogCreationPermissionsDto;
2076
+ /**
2077
+ * Whether GET /api/v1/model-catalog is configured (MODEL_CATALOG_API_KEY is set). Missing means unavailable. Never carries the key.
2078
+ * @type {boolean}
2079
+ * @memberof ClientConfigDto
2080
+ */
2081
+ modelCatalogAvailable?: boolean;
2082
+ /**
2083
+ * 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.
2084
+ * @type {string}
2085
+ * @memberof ClientConfigDto
2086
+ */
2087
+ themesBaseUrl?: string;
1804
2088
  }
1805
2089
  /**
1806
2090
  * @export
@@ -1810,6 +2094,43 @@ export declare const ClientConfigDtoMcpAppThemeEnum: {
1810
2094
  readonly Dark: "dark";
1811
2095
  };
1812
2096
  export type ClientConfigDtoMcpAppThemeEnum = (typeof ClientConfigDtoMcpAppThemeEnum)[keyof typeof ClientConfigDtoMcpAppThemeEnum];
2097
+ /**
2098
+ *
2099
+ * @export
2100
+ * @interface ClientConfigManagedMetadataDto
2101
+ */
2102
+ export interface ClientConfigManagedMetadataDto {
2103
+ /**
2104
+ * The Config Studio instance this deployment maps the application identifier to.
2105
+ * @type {string}
2106
+ * @memberof ClientConfigManagedMetadataDto
2107
+ */
2108
+ instanceId: string;
2109
+ /**
2110
+ * The managed state at resolution: `fresh` and `degraded` are usable; `stale`, `unavailable` and `not_published` mean no managed value or policy applied.
2111
+ * @type {ManagedConfigState}
2112
+ * @memberof ClientConfigManagedMetadataDto
2113
+ */
2114
+ state: ManagedConfigState;
2115
+ /**
2116
+ * The applied revision; present only in a usable state.
2117
+ * @type {string}
2118
+ * @memberof ClientConfigManagedMetadataDto
2119
+ */
2120
+ revisionId?: string;
2121
+ /**
2122
+ * The schema version of the applied revision; present only in a usable state.
2123
+ * @type {string}
2124
+ * @memberof ClientConfigManagedMetadataDto
2125
+ */
2126
+ schemaVersion?: string;
2127
+ /**
2128
+ * When the applied revision was published; present only in a usable state.
2129
+ * @type {string}
2130
+ * @memberof ClientConfigManagedMetadataDto
2131
+ */
2132
+ publishedAt?: string;
2133
+ }
1813
2134
  /**
1814
2135
  *
1815
2136
  * @export
@@ -1828,6 +2149,18 @@ export interface ClientConfigMetadataDto {
1828
2149
  * @memberof ClientConfigMetadataDto
1829
2150
  */
1830
2151
  cacheTtlSeconds: number;
2152
+ /**
2153
+ * 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.
2154
+ * @type {string}
2155
+ * @memberof ClientConfigMetadataDto
2156
+ */
2157
+ nextRefreshAt?: string;
2158
+ /**
2159
+ * The managed snapshot state behind this response, when the deployment applies managed configuration for this application identifier.
2160
+ * @type {ClientConfigManagedMetadataDto}
2161
+ * @memberof ClientConfigMetadataDto
2162
+ */
2163
+ managed?: ClientConfigManagedMetadataDto;
1831
2164
  }
1832
2165
  /**
1833
2166
  *
@@ -1859,6 +2192,12 @@ export interface ClientConfigResponseDto {
1859
2192
  * @memberof ClientConfigResponseDto
1860
2193
  */
1861
2194
  metadata?: ClientConfigMetadataDto;
2195
+ /**
2196
+ * 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.
2197
+ * @type {ClientAppConfigDto}
2198
+ * @memberof ClientConfigResponseDto
2199
+ */
2200
+ appConfig?: ClientAppConfigDto;
1862
2201
  }
1863
2202
  /**
1864
2203
  *
@@ -2785,6 +3124,19 @@ export interface ConversationsConfigDto {
2785
3124
  */
2786
3125
  pinnedIds: Array<string>;
2787
3126
  }
3127
+ /**
3128
+ *
3129
+ * @export
3130
+ * @interface CopyCatalogEntityToOrgUnitDto
3131
+ */
3132
+ export interface CopyCatalogEntityToOrgUnitDto {
3133
+ /**
3134
+ * 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.
3135
+ * @type {string}
3136
+ * @memberof CopyCatalogEntityToOrgUnitDto
3137
+ */
3138
+ folderPath: string;
3139
+ }
2788
3140
  /**
2789
3141
  *
2790
3142
  * @export
@@ -3188,6 +3540,12 @@ export interface CreateScheduledTaskBodyDto {
3188
3540
  * @memberof CreateScheduledTaskBodyDto
3189
3541
  */
3190
3542
  trigger: ScheduleTriggerDto;
3543
+ /**
3544
+ * 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.
3545
+ * @type {string}
3546
+ * @memberof CreateScheduledTaskBodyDto
3547
+ */
3548
+ timezone?: string;
3191
3549
  /**
3192
3550
  *
3193
3551
  * @type {string}
@@ -3396,6 +3754,12 @@ export interface CreatedScheduledTaskDto {
3396
3754
  * @memberof CreatedScheduledTaskDto
3397
3755
  */
3398
3756
  trigger: ScheduleTriggerDto;
3757
+ /**
3758
+ * 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.
3759
+ * @type {string}
3760
+ * @memberof CreatedScheduledTaskDto
3761
+ */
3762
+ timezone?: string;
3399
3763
  /**
3400
3764
  *
3401
3765
  * @type {string}
@@ -4032,6 +4396,12 @@ export interface DeploymentItemDto {
4032
4396
  * @memberof DeploymentItemDto
4033
4397
  */
4034
4398
  displayVersion?: string;
4399
+ /**
4400
+ * 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.
4401
+ * @type {string}
4402
+ * @memberof DeploymentItemDto
4403
+ */
4404
+ versionGroupId?: string;
4035
4405
  /**
4036
4406
  * Whether this deployment is featured (configured via env)
4037
4407
  * @type {boolean}
@@ -4420,6 +4790,14 @@ export interface DialModelDto {
4420
4790
  responsesDefaults?: {
4421
4791
  [key: string]: unknown;
4422
4792
  };
4793
+ /**
4794
+ * Curated catalog display metadata from DIAL Core, forwarded as sent
4795
+ * @type {{ [key: string]: unknown }}
4796
+ * @memberof DialModelDto
4797
+ */
4798
+ catalogProperties?: {
4799
+ [key: string]: unknown;
4800
+ };
4423
4801
  /**
4424
4802
  *
4425
4803
  * @type {Array<string>}
@@ -4438,6 +4816,24 @@ export interface DialModelDto {
4438
4816
  * @memberof DialModelDto
4439
4817
  */
4440
4818
  lifecycleStatus?: string;
4819
+ /**
4820
+ * Provider that hosts the model, free-form text forwarded from DIAL Core unvalidated
4821
+ * @type {string}
4822
+ * @memberof DialModelDto
4823
+ */
4824
+ provider?: string;
4825
+ /**
4826
+ * Date the model is deprecated but still served, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
4827
+ * @type {string}
4828
+ * @memberof DialModelDto
4829
+ */
4830
+ deprecationDate?: string;
4831
+ /**
4832
+ * Date the provider stops serving the model, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
4833
+ * @type {string}
4834
+ * @memberof DialModelDto
4835
+ */
4836
+ endOfService?: string;
4441
4837
  /**
4442
4838
  *
4443
4839
  * @type {DialModelCapabilitiesDto}
@@ -4839,6 +5235,12 @@ export interface DialToolsetDto {
4839
5235
  * @memberof DialToolsetDto
4840
5236
  */
4841
5237
  displayVersion?: string;
5238
+ /**
5239
+ * 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.
5240
+ * @type {string}
5241
+ * @memberof DialToolsetDto
5242
+ */
5243
+ versionGroupId?: string;
4842
5244
  /**
4843
5245
  *
4844
5246
  * @type {DialToolsetDtoDescription}
@@ -6053,6 +6455,18 @@ export interface LocaleTextEntryDto {
6053
6455
  */
6054
6456
  description?: string;
6055
6457
  }
6458
+ /**
6459
+ * The managed state at resolution: `fresh` and `degraded` are usable; `stale`, `unavailable` and `not_published` mean no managed value or policy applied.
6460
+ * @export
6461
+ */
6462
+ export declare const ManagedConfigState: {
6463
+ readonly Fresh: "fresh";
6464
+ readonly Degraded: "degraded";
6465
+ readonly Stale: "stale";
6466
+ readonly Unavailable: "unavailable";
6467
+ readonly NotPublished: "not_published";
6468
+ };
6469
+ export type ManagedConfigState = (typeof ManagedConfigState)[keyof typeof ManagedConfigState];
6056
6470
  /**
6057
6471
  *
6058
6472
  * @export
@@ -6265,27 +6679,191 @@ export interface ModelCapabilitiesDto {
6265
6679
  /**
6266
6680
  *
6267
6681
  * @export
6268
- * @interface ModelCatalogPropertiesDto
6682
+ * @interface ModelCatalogEntryDto
6269
6683
  */
6270
- export interface ModelCatalogPropertiesDto {
6684
+ export interface ModelCatalogEntryDto {
6271
6685
  /**
6272
- * Model provider for catalog display
6686
+ *
6273
6687
  * @type {string}
6274
- * @memberof ModelCatalogPropertiesDto
6688
+ * @memberof ModelCatalogEntryDto
6275
6689
  */
6276
- provider?: string;
6690
+ id: string;
6277
6691
  /**
6278
- * Model vendor for catalog display
6692
+ *
6279
6693
  * @type {string}
6280
- * @memberof ModelCatalogPropertiesDto
6694
+ * @memberof ModelCatalogEntryDto
6281
6695
  */
6282
- vendor?: string;
6696
+ object: string;
6283
6697
  /**
6284
- * Model license for catalog display
6698
+ *
6285
6699
  * @type {string}
6286
- * @memberof ModelCatalogPropertiesDto
6700
+ * @memberof ModelCatalogEntryDto
6287
6701
  */
6288
- license?: string;
6702
+ model?: string;
6703
+ /**
6704
+ *
6705
+ * @type {DialModelDtoDisplayName}
6706
+ * @memberof ModelCatalogEntryDto
6707
+ */
6708
+ displayName?: DialModelDtoDisplayName;
6709
+ /**
6710
+ *
6711
+ * @type {string}
6712
+ * @memberof ModelCatalogEntryDto
6713
+ */
6714
+ displayVersion?: string;
6715
+ /**
6716
+ *
6717
+ * @type {string}
6718
+ * @memberof ModelCatalogEntryDto
6719
+ */
6720
+ iconUrl?: string;
6721
+ /**
6722
+ *
6723
+ * @type {DialModelDtoDescription}
6724
+ * @memberof ModelCatalogEntryDto
6725
+ */
6726
+ description?: DialModelDtoDescription;
6727
+ /**
6728
+ *
6729
+ * @type {string}
6730
+ * @memberof ModelCatalogEntryDto
6731
+ */
6732
+ reference?: string;
6733
+ /**
6734
+ *
6735
+ * @type {string}
6736
+ * @memberof ModelCatalogEntryDto
6737
+ */
6738
+ owner?: string;
6739
+ /**
6740
+ *
6741
+ * @type {string}
6742
+ * @memberof ModelCatalogEntryDto
6743
+ */
6744
+ status?: string;
6745
+ /**
6746
+ *
6747
+ * @type {number}
6748
+ * @memberof ModelCatalogEntryDto
6749
+ */
6750
+ createdAt?: number;
6751
+ /**
6752
+ *
6753
+ * @type {number}
6754
+ * @memberof ModelCatalogEntryDto
6755
+ */
6756
+ updatedAt?: number;
6757
+ /**
6758
+ *
6759
+ * @type {DialModelFeaturesDto}
6760
+ * @memberof ModelCatalogEntryDto
6761
+ */
6762
+ features?: DialModelFeaturesDto;
6763
+ /**
6764
+ *
6765
+ * @type {Array<string>}
6766
+ * @memberof ModelCatalogEntryDto
6767
+ */
6768
+ inputAttachmentTypes?: Array<string>;
6769
+ /**
6770
+ *
6771
+ * @type {number}
6772
+ * @memberof ModelCatalogEntryDto
6773
+ */
6774
+ maxInputAttachments?: number;
6775
+ /**
6776
+ *
6777
+ * @type {Array<string>}
6778
+ * @memberof ModelCatalogEntryDto
6779
+ */
6780
+ descriptionKeywords?: Array<string>;
6781
+ /**
6782
+ *
6783
+ * @type {string}
6784
+ * @memberof ModelCatalogEntryDto
6785
+ */
6786
+ lifecycleStatus?: string;
6787
+ /**
6788
+ * Provider that hosts the model, free-form text forwarded from DIAL Core unvalidated
6789
+ * @type {string}
6790
+ * @memberof ModelCatalogEntryDto
6791
+ */
6792
+ provider?: string;
6793
+ /**
6794
+ * Date the model is deprecated but still served, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
6795
+ * @type {string}
6796
+ * @memberof ModelCatalogEntryDto
6797
+ */
6798
+ deprecationDate?: string;
6799
+ /**
6800
+ * Date the provider stops serving the model, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
6801
+ * @type {string}
6802
+ * @memberof ModelCatalogEntryDto
6803
+ */
6804
+ endOfService?: string;
6805
+ /**
6806
+ *
6807
+ * @type {DialModelCapabilitiesDto}
6808
+ * @memberof ModelCatalogEntryDto
6809
+ */
6810
+ capabilities?: DialModelCapabilitiesDto;
6811
+ /**
6812
+ *
6813
+ * @type {DialModelLimitsDto}
6814
+ * @memberof ModelCatalogEntryDto
6815
+ */
6816
+ limits?: DialModelLimitsDto;
6817
+ /**
6818
+ *
6819
+ * @type {DialModelPricingDto}
6820
+ * @memberof ModelCatalogEntryDto
6821
+ */
6822
+ pricing?: DialModelPricingDto;
6823
+ /**
6824
+ *
6825
+ * @type {Array<string>}
6826
+ * @memberof ModelCatalogEntryDto
6827
+ */
6828
+ interfaces?: Array<string>;
6829
+ /**
6830
+ * Known model catalog properties allow-listed from DIAL Core catalog_properties
6831
+ * @type {ModelCatalogPropertiesDto}
6832
+ * @memberof ModelCatalogEntryDto
6833
+ */
6834
+ catalogProperties?: ModelCatalogPropertiesDto;
6835
+ }
6836
+ /**
6837
+ *
6838
+ * @export
6839
+ * @interface ModelCatalogListResponseDto
6840
+ */
6841
+ export interface ModelCatalogListResponseDto {
6842
+ /**
6843
+ *
6844
+ * @type {Array<ModelCatalogEntryDto>}
6845
+ * @memberof ModelCatalogListResponseDto
6846
+ */
6847
+ data: Array<ModelCatalogEntryDto>;
6848
+ }
6849
+ /**
6850
+ *
6851
+ * @export
6852
+ * @interface ModelCatalogPropertiesDto
6853
+ */
6854
+ export interface ModelCatalogPropertiesDto {
6855
+ /**
6856
+ * Model vendor for catalog display
6857
+ * @type {string}
6858
+ * @memberof ModelCatalogPropertiesDto
6859
+ */
6860
+ vendor?: string;
6861
+ /**
6862
+ * Model license for catalog display
6863
+ * @type {string}
6864
+ * @memberof ModelCatalogPropertiesDto
6865
+ */
6866
+ license?: string;
6289
6867
  /**
6290
6868
  * Model knowledge cutoff date for catalog display
6291
6869
  * @type {string}
@@ -6317,6 +6895,24 @@ export interface ModelDetailsDto {
6317
6895
  * @memberof ModelDetailsDto
6318
6896
  */
6319
6897
  lifecycleStatus?: string;
6898
+ /**
6899
+ * Provider that hosts the model, free-form text forwarded from DIAL Core unvalidated
6900
+ * @type {string}
6901
+ * @memberof ModelDetailsDto
6902
+ */
6903
+ provider?: string;
6904
+ /**
6905
+ * Date the model is deprecated but still served, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
6906
+ * @type {string}
6907
+ * @memberof ModelDetailsDto
6908
+ */
6909
+ deprecationDate?: string;
6910
+ /**
6911
+ * Date the provider stops serving the model, documented by DIAL Core as YYYY-MM-DD and forwarded unvalidated
6912
+ * @type {string}
6913
+ * @memberof ModelDetailsDto
6914
+ */
6915
+ endOfService?: string;
6320
6916
  /**
6321
6917
  * Name of the model whose tokenization algorithm this model uses
6322
6918
  * @type {string}
@@ -6679,6 +7275,207 @@ export interface OfflineCredentialsSigninBodyDto {
6679
7275
  */
6680
7276
  redirectUri: string;
6681
7277
  }
7278
+ /**
7279
+ *
7280
+ * @export
7281
+ * @interface OnboardingHintDto
7282
+ */
7283
+ export interface OnboardingHintDto {
7284
+ /**
7285
+ * 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.
7286
+ * @type {string}
7287
+ * @memberof OnboardingHintDto
7288
+ */
7289
+ id: string;
7290
+ /**
7291
+ * 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.
7292
+ * @type {OnboardingHintTarget}
7293
+ * @memberof OnboardingHintDto
7294
+ */
7295
+ target: OnboardingHintTarget;
7296
+ /**
7297
+ * Hint heading. Plain text; never interpreted as markup. Entries without one are dropped server-side.
7298
+ * @type {string}
7299
+ * @memberof OnboardingHintDto
7300
+ */
7301
+ title: string;
7302
+ /**
7303
+ * Supporting copy under the heading. Plain text; never interpreted as markup. Null when unset or blank.
7304
+ * @type {string}
7305
+ * @memberof OnboardingHintDto
7306
+ */
7307
+ description: string | null;
7308
+ /**
7309
+ * 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.
7310
+ * @type {Array<OnboardingHintPage>}
7311
+ * @memberof OnboardingHintDto
7312
+ */
7313
+ pages: Array<OnboardingHintPage>;
7314
+ }
7315
+ /**
7316
+ * 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.
7317
+ * @export
7318
+ */
7319
+ export declare const OnboardingHintPage: {
7320
+ readonly Home: "home";
7321
+ readonly Projects: "projects";
7322
+ readonly ScheduledTasks: "scheduled-tasks";
7323
+ readonly Catalog: "catalog";
7324
+ readonly FileManager: "file-manager";
7325
+ readonly Settings: "settings";
7326
+ readonly Usage: "usage";
7327
+ readonly Editors: "editors";
7328
+ };
7329
+ export type OnboardingHintPage = (typeof OnboardingHintPage)[keyof typeof OnboardingHintPage];
7330
+ /**
7331
+ * 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.
7332
+ * @export
7333
+ */
7334
+ export declare const OnboardingHintTarget: {
7335
+ readonly NewChat: "new-chat";
7336
+ readonly Navigation: "navigation";
7337
+ readonly Projects: "projects";
7338
+ readonly ScheduledTasks: "scheduled-tasks";
7339
+ readonly Catalog: "catalog";
7340
+ readonly FileManager: "file-manager";
7341
+ readonly ConversationInput: "conversation-input";
7342
+ readonly AddAttachment: "add-attachment";
7343
+ readonly SendMessage: "send-message";
7344
+ readonly ModelSelector: "model-selector";
7345
+ readonly VoiceInput: "voice-input";
7346
+ readonly ConversationStarters: "conversation-starters";
7347
+ readonly ConversationMessages: "conversation-messages";
7348
+ readonly SourcesPanelToggle: "sources-panel-toggle";
7349
+ readonly SidebarToggle: "sidebar-toggle";
7350
+ readonly Chats: "chats";
7351
+ readonly ChatsSearch: "chats-search";
7352
+ readonly ChatsFilter: "chats-filter";
7353
+ readonly UserMenu: "user-menu";
7354
+ readonly Usage: "usage";
7355
+ readonly ProjectsCreate: "projects-create";
7356
+ readonly ProjectsSearch: "projects-search";
7357
+ readonly ProjectChats: "project-chats";
7358
+ readonly ProjectDetails: "project-details";
7359
+ readonly ScheduledTasksCreate: "scheduled-tasks-create";
7360
+ readonly ScheduledTasksSearch: "scheduled-tasks-search";
7361
+ readonly SettingsSections: "settings-sections";
7362
+ readonly CatalogCreate: "catalog-create";
7363
+ readonly CatalogSearch: "catalog-search";
7364
+ readonly CatalogTabs: "catalog-tabs";
7365
+ readonly CatalogViewMode: "catalog-view-mode";
7366
+ readonly CatalogFilter: "catalog-filter";
7367
+ readonly CatalogSort: "catalog-sort";
7368
+ readonly CatalogCard: "catalog-card";
7369
+ readonly CatalogFavorite: "catalog-favorite";
7370
+ readonly MessageActions: "message-actions";
7371
+ readonly CatalogDetails: "catalog-details";
7372
+ readonly CatalogDetailsUseInChat: "catalog-details-use-in-chat";
7373
+ readonly CatalogDetailsManage: "catalog-details-manage";
7374
+ readonly CatalogDetailsCredentials: "catalog-details-credentials";
7375
+ readonly CatalogDetailsShare: "catalog-details-share";
7376
+ readonly CatalogDetailsPublish: "catalog-details-publish";
7377
+ readonly CatalogDetailsTabs: "catalog-details-tabs";
7378
+ readonly ProjectFormSubmit: "project-form-submit";
7379
+ readonly ProjectFormContext: "project-form-context";
7380
+ readonly ProjectViewEdit: "project-view-edit";
7381
+ readonly ProjectViewMoreActions: "project-view-more-actions";
7382
+ readonly ProjectViewPin: "project-view-pin";
7383
+ readonly ProjectViewPublish: "project-view-publish";
7384
+ readonly ProjectContextSearch: "project-context-search";
7385
+ readonly ProjectsSort: "projects-sort";
7386
+ readonly ScheduledTaskFormSubmit: "scheduled-task-form-submit";
7387
+ readonly ScheduledTaskConfiguration: "scheduled-task-configuration";
7388
+ readonly ScheduledTaskRepeat: "scheduled-task-repeat";
7389
+ readonly ScheduledTaskModel: "scheduled-task-model";
7390
+ readonly ScheduledTaskStartNow: "scheduled-task-start-now";
7391
+ readonly ScheduledTaskEdit: "scheduled-task-edit";
7392
+ readonly ScheduledTaskHistory: "scheduled-task-history";
7393
+ readonly ScheduledTaskActive: "scheduled-task-active";
7394
+ readonly ScheduledTasksSort: "scheduled-tasks-sort";
7395
+ readonly SettingsExtensions: "settings-extensions";
7396
+ readonly SettingsExtensionsLogIn: "settings-extensions-log-in";
7397
+ readonly SettingsTheme: "settings-theme";
7398
+ readonly SettingsLanguage: "settings-language";
7399
+ readonly DuplicateSharedChat: "duplicate-shared-chat";
7400
+ readonly SourcesPanel: "sources-panel";
7401
+ readonly SourcesDownloadAll: "sources-download-all";
7402
+ readonly ProjectChatBack: "project-chat-back";
7403
+ readonly ToolsSelector: "tools-selector";
7404
+ readonly EditorSetup: "editor-setup";
7405
+ readonly ActiveChat: "active-chat";
7406
+ readonly ActiveChatActions: "active-chat-actions";
7407
+ };
7408
+ export type OnboardingHintTarget = (typeof OnboardingHintTarget)[keyof typeof OnboardingHintTarget];
7409
+ /**
7410
+ *
7411
+ * @export
7412
+ * @interface OrgUnitDto
7413
+ */
7414
+ export interface OrgUnitDto {
7415
+ /**
7416
+ * Core unit id
7417
+ * @type {string}
7418
+ * @memberof OrgUnitDto
7419
+ */
7420
+ id: string;
7421
+ /**
7422
+ * Unit name; also the last segment of its folder
7423
+ * @type {string}
7424
+ * @memberof OrgUnitDto
7425
+ */
7426
+ name: string;
7427
+ /**
7428
+ * Display name; falls back to `name` when Core has none
7429
+ * @type {string}
7430
+ * @memberof OrgUnitDto
7431
+ */
7432
+ displayName: string;
7433
+ /**
7434
+ * Decoded unit address without a trailing slash
7435
+ * @type {string}
7436
+ * @memberof OrgUnitDto
7437
+ */
7438
+ path: string;
7439
+ /**
7440
+ * Unit folder exactly as DIAL Core returns it: url-encoded, with a trailing slash
7441
+ * @type {string}
7442
+ * @memberof OrgUnitDto
7443
+ */
7444
+ folder: string;
7445
+ /**
7446
+ * Core's namespace-to-actions map for the caller in this unit; `{}` when the caller only reaches the unit through its parent
7447
+ * @type {{ [key: string]: Array<string>; }}
7448
+ * @memberof OrgUnitDto
7449
+ */
7450
+ permissions: {
7451
+ [key: string]: Array<string>;
7452
+ };
7453
+ }
7454
+ /**
7455
+ *
7456
+ * @export
7457
+ * @interface OrgUnitsResponseDto
7458
+ */
7459
+ export interface OrgUnitsResponseDto {
7460
+ /**
7461
+ * `false` when DIAL Core has org units turned off
7462
+ * @type {boolean}
7463
+ * @memberof OrgUnitsResponseDto
7464
+ */
7465
+ enabled: boolean;
7466
+ /**
7467
+ * `true` when Core reports full admin access for the caller; `false` otherwise
7468
+ * @type {boolean}
7469
+ * @memberof OrgUnitsResponseDto
7470
+ */
7471
+ hasAdminAccess: boolean;
7472
+ /**
7473
+ *
7474
+ * @type {Array<OrgUnitDto>}
7475
+ * @memberof OrgUnitsResponseDto
7476
+ */
7477
+ units: Array<OrgUnitDto>;
7478
+ }
6682
7479
  /**
6683
7480
  *
6684
7481
  * @export
@@ -7338,6 +8135,46 @@ export interface PublishCatalogEntityDto {
7338
8135
  */
7339
8136
  publishCredentials?: boolean;
7340
8137
  }
8138
+ /**
8139
+ * `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.
8140
+ * @export
8141
+ */
8142
+ export declare const PublishConflictCode: {
8143
+ readonly TargetExists: "target-exists";
8144
+ readonly PublishInProgress: "publish-in-progress";
8145
+ };
8146
+ export type PublishConflictCode = (typeof PublishConflictCode)[keyof typeof PublishConflictCode];
8147
+ /**
8148
+ *
8149
+ * @export
8150
+ * @interface PublishConflictDto
8151
+ */
8152
+ export interface PublishConflictDto {
8153
+ /**
8154
+ *
8155
+ * @type {number}
8156
+ * @memberof PublishConflictDto
8157
+ */
8158
+ statusCode: number;
8159
+ /**
8160
+ *
8161
+ * @type {string}
8162
+ * @memberof PublishConflictDto
8163
+ */
8164
+ message: string;
8165
+ /**
8166
+ *
8167
+ * @type {string}
8168
+ * @memberof PublishConflictDto
8169
+ */
8170
+ error: string;
8171
+ /**
8172
+ * `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.
8173
+ * @type {PublishConflictCode}
8174
+ * @memberof PublishConflictDto
8175
+ */
8176
+ code: PublishConflictCode;
8177
+ }
7341
8178
  /**
7342
8179
  *
7343
8180
  * @export
@@ -7557,6 +8394,19 @@ export interface PublishRulesResultDto {
7557
8394
  */
7558
8395
  rules: Array<PublishRuleDto>;
7559
8396
  }
8397
+ /**
8398
+ *
8399
+ * @export
8400
+ * @interface PublishTargetCheckDto
8401
+ */
8402
+ export interface PublishTargetCheckDto {
8403
+ /**
8404
+ * 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.
8405
+ * @type {boolean}
8406
+ * @memberof PublishTargetCheckDto
8407
+ */
8408
+ taken: boolean;
8409
+ }
7560
8410
  /**
7561
8411
  *
7562
8412
  * @export
@@ -7815,6 +8665,67 @@ export interface RequestSkillDto {
7815
8665
  */
7816
8666
  url: string;
7817
8667
  }
8668
+ /**
8669
+ *
8670
+ * @export
8671
+ * @interface ResourceDependenciesResultDto
8672
+ */
8673
+ export interface ResourceDependenciesResultDto {
8674
+ /**
8675
+ *
8676
+ * @type {Array<ResourceDependencyDto>}
8677
+ * @memberof ResourceDependenciesResultDto
8678
+ */
8679
+ dependencies: Array<ResourceDependencyDto>;
8680
+ }
8681
+ /**
8682
+ *
8683
+ * @export
8684
+ * @interface ResourceDependencyDto
8685
+ */
8686
+ export interface ResourceDependencyDto {
8687
+ /**
8688
+ * The dependency's DIAL Core resource url, as stored in the reference.
8689
+ * @type {string}
8690
+ * @memberof ResourceDependencyDto
8691
+ */
8692
+ id: string;
8693
+ /**
8694
+ * Display name, percent-decoded, without a trailing `__version`.
8695
+ * @type {string}
8696
+ * @memberof ResourceDependencyDto
8697
+ */
8698
+ name: string;
8699
+ /**
8700
+ * Present only for a versioned dependency.
8701
+ * @type {string}
8702
+ * @memberof ResourceDependencyDto
8703
+ */
8704
+ version?: string;
8705
+ /**
8706
+ *
8707
+ * @type {string}
8708
+ * @memberof ResourceDependencyDto
8709
+ */
8710
+ type: ResourceDependencyDtoTypeEnum;
8711
+ /**
8712
+ * Percent-decoded folder path of the dependency inside its owner's bucket; empty at the bucket root.
8713
+ * @type {string}
8714
+ * @memberof ResourceDependencyDto
8715
+ */
8716
+ location: string;
8717
+ }
8718
+ /**
8719
+ * @export
8720
+ */
8721
+ export declare const ResourceDependencyDtoTypeEnum: {
8722
+ readonly Application: "application";
8723
+ readonly Toolset: "toolset";
8724
+ readonly Prompt: "prompt";
8725
+ readonly Skill: "skill";
8726
+ readonly File: "file";
8727
+ };
8728
+ export type ResourceDependencyDtoTypeEnum = (typeof ResourceDependencyDtoTypeEnum)[keyof typeof ResourceDependencyDtoTypeEnum];
7818
8729
  /**
7819
8730
  *
7820
8731
  * @export
@@ -8054,6 +8965,12 @@ export interface ScheduledTaskDto {
8054
8965
  * @memberof ScheduledTaskDto
8055
8966
  */
8056
8967
  trigger: ScheduleTriggerDto;
8968
+ /**
8969
+ * 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.
8970
+ * @type {string}
8971
+ * @memberof ScheduledTaskDto
8972
+ */
8973
+ timezone?: string;
8057
8974
  /**
8058
8975
  *
8059
8976
  * @type {string}
@@ -8715,6 +9632,16 @@ export interface SkillsConfigDto {
8715
9632
  */
8716
9633
  installed: Array<string>;
8717
9634
  }
9635
+ /**
9636
+ * 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.
9637
+ * @export
9638
+ */
9639
+ export declare const SpendingLimitsMode: {
9640
+ readonly Off: "off";
9641
+ readonly Shadow: "shadow";
9642
+ readonly Enforce: "enforce";
9643
+ };
9644
+ export type SpendingLimitsMode = (typeof SpendingLimitsMode)[keyof typeof SpendingLimitsMode];
8718
9645
  /**
8719
9646
  *
8720
9647
  * @export
@@ -9841,6 +10768,12 @@ export interface UpdateScheduledTaskBodyDto {
9841
10768
  * @memberof UpdateScheduledTaskBodyDto
9842
10769
  */
9843
10770
  trigger: ScheduleTriggerDto;
10771
+ /**
10772
+ * 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.
10773
+ * @type {string}
10774
+ * @memberof UpdateScheduledTaskBodyDto
10775
+ */
10776
+ timezone?: string;
9844
10777
  /**
9845
10778
  *
9846
10779
  * @type {string}
@@ -9928,6 +10861,12 @@ export interface UpdatedScheduledTaskDto {
9928
10861
  * @memberof UpdatedScheduledTaskDto
9929
10862
  */
9930
10863
  trigger: ScheduleTriggerDto;
10864
+ /**
10865
+ * 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.
10866
+ * @type {string}
10867
+ * @memberof UpdatedScheduledTaskDto
10868
+ */
10869
+ timezone?: string;
9931
10870
  /**
9932
10871
  *
9933
10872
  * @type {string}
@@ -10053,6 +10992,173 @@ export interface UploadArchiveResponseDto {
10053
10992
  */
10054
10993
  results: Array<UploadArchiveEntryResultDto>;
10055
10994
  }
10995
+ /**
10996
+ *
10997
+ * @export
10998
+ * @interface UsageHistoryBudgetDto
10999
+ */
11000
+ export interface UsageHistoryBudgetDto {
11001
+ /**
11002
+ * Cost object of the budget the history is narrowed to.
11003
+ * @type {string}
11004
+ * @memberof UsageHistoryBudgetDto
11005
+ */
11006
+ costObject: string;
11007
+ /**
11008
+ * Policy of the budget the history is narrowed to.
11009
+ * @type {string}
11010
+ * @memberof UsageHistoryBudgetDto
11011
+ */
11012
+ policy: string;
11013
+ }
11014
+ /**
11015
+ *
11016
+ * @export
11017
+ * @interface UsageHistoryClientEntryDto
11018
+ */
11019
+ export interface UsageHistoryClientEntryDto {
11020
+ /**
11021
+ * 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.
11022
+ * @type {string}
11023
+ * @memberof UsageHistoryClientEntryDto
11024
+ */
11025
+ client: string;
11026
+ /**
11027
+ * 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.
11028
+ * @type {number}
11029
+ * @memberof UsageHistoryClientEntryDto
11030
+ */
11031
+ spend: number;
11032
+ /**
11033
+ * Number from this client. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
11034
+ * @type {number}
11035
+ * @memberof UsageHistoryClientEntryDto
11036
+ */
11037
+ requests: number;
11038
+ }
11039
+ /**
11040
+ *
11041
+ * @export
11042
+ * @interface UsageHistoryDailyEntryDto
11043
+ */
11044
+ export interface UsageHistoryDailyEntryDto {
11045
+ /**
11046
+ * UTC calendar date, `YYYY-MM-DD`.
11047
+ * @type {string}
11048
+ * @memberof UsageHistoryDailyEntryDto
11049
+ */
11050
+ date: string;
11051
+ /**
11052
+ * 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.
11053
+ * @type {number}
11054
+ * @memberof UsageHistoryDailyEntryDto
11055
+ */
11056
+ spend: number;
11057
+ /**
11058
+ * Number on that date. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
11059
+ * @type {number}
11060
+ * @memberof UsageHistoryDailyEntryDto
11061
+ */
11062
+ requests: number;
11063
+ /**
11064
+ * 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.
11065
+ * @type {{ [key: string]: number; }}
11066
+ * @memberof UsageHistoryDailyEntryDto
11067
+ */
11068
+ byModel: {
11069
+ [key: string]: number;
11070
+ };
11071
+ }
11072
+ /**
11073
+ *
11074
+ * @export
11075
+ * @interface UsageHistoryModelEntryDto
11076
+ */
11077
+ export interface UsageHistoryModelEntryDto {
11078
+ /**
11079
+ * Root deployment the user called (with `budget`: the model the budget paid for), or `other` for the remainder beyond the top 10 by spend.
11080
+ * @type {string}
11081
+ * @memberof UsageHistoryModelEntryDto
11082
+ */
11083
+ deployment: string;
11084
+ /**
11085
+ * 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.
11086
+ * @type {number}
11087
+ * @memberof UsageHistoryModelEntryDto
11088
+ */
11089
+ spend: number;
11090
+ /**
11091
+ * Number for this deployment. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
11092
+ * @type {number}
11093
+ * @memberof UsageHistoryModelEntryDto
11094
+ */
11095
+ requests: number;
11096
+ }
11097
+ /**
11098
+ *
11099
+ * @export
11100
+ */
11101
+ export declare const UsageHistoryPeriod: {
11102
+ readonly Today: "today";
11103
+ readonly Week: "week";
11104
+ readonly Month: "month";
11105
+ };
11106
+ export type UsageHistoryPeriod = (typeof UsageHistoryPeriod)[keyof typeof UsageHistoryPeriod];
11107
+ /**
11108
+ *
11109
+ * @export
11110
+ * @interface UsageHistoryTotalsDto
11111
+ */
11112
+ export interface UsageHistoryTotalsDto {
11113
+ /**
11114
+ * 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.
11115
+ * @type {number}
11116
+ * @memberof UsageHistoryTotalsDto
11117
+ */
11118
+ spend: number;
11119
+ /**
11120
+ * Number in the window. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
11121
+ * @type {number}
11122
+ * @memberof UsageHistoryTotalsDto
11123
+ */
11124
+ requests: number;
11125
+ }
11126
+ /**
11127
+ * 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.
11128
+ * @export
11129
+ */
11130
+ export declare const UsageHistoryUnavailableReason: {
11131
+ readonly NotConfigured: "not_configured";
11132
+ readonly Unavailable: "unavailable";
11133
+ readonly Forbidden: "forbidden";
11134
+ readonly BudgetUnsupported: "budget_unsupported";
11135
+ };
11136
+ export type UsageHistoryUnavailableReason = (typeof UsageHistoryUnavailableReason)[keyof typeof UsageHistoryUnavailableReason];
11137
+ /**
11138
+ *
11139
+ * @export
11140
+ * @interface UsageHistoryWindowDto
11141
+ */
11142
+ export interface UsageHistoryWindowDto {
11143
+ /**
11144
+ * The requested period.
11145
+ * @type {UsageHistoryPeriod}
11146
+ * @memberof UsageHistoryWindowDto
11147
+ */
11148
+ name: UsageHistoryPeriod;
11149
+ /**
11150
+ * Inclusive window start: 00:00:00.000Z of the current UTC day, ISO week Monday, or month 1st.
11151
+ * @type {string}
11152
+ * @memberof UsageHistoryWindowDto
11153
+ */
11154
+ from: string;
11155
+ /**
11156
+ * Exclusive window end: the request time.
11157
+ * @type {string}
11158
+ * @memberof UsageHistoryWindowDto
11159
+ */
11160
+ to: string;
11161
+ }
10056
11162
  /**
10057
11163
  *
10058
11164
  * @export
@@ -10140,6 +11246,18 @@ export interface UserLimitStatsResponseDto {
10140
11246
  * @memberof UserLimitStatsResponseDto
10141
11247
  */
10142
11248
  monthCostStats?: LimitStatsDto;
11249
+ /**
11250
+ * 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.
11251
+ * @type {Array<BudgetStatsDto>}
11252
+ * @memberof UserLimitStatsResponseDto
11253
+ */
11254
+ budgets?: Array<BudgetStatsDto>;
11255
+ /**
11256
+ * 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.
11257
+ * @type {string}
11258
+ * @memberof UserLimitStatsResponseDto
11259
+ */
11260
+ costObject?: string;
10143
11261
  }
10144
11262
  /**
10145
11263
  *
@@ -10186,6 +11304,115 @@ export interface UserProfileDto {
10186
11304
  */
10187
11305
  pictureUrl?: string;
10188
11306
  }
11307
+ /**
11308
+ *
11309
+ * @export
11310
+ * @interface UserUsageHistoryResponseDto
11311
+ */
11312
+ export interface UserUsageHistoryResponseDto {
11313
+ /**
11314
+ * 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.
11315
+ * @type {boolean}
11316
+ * @memberof UserUsageHistoryResponseDto
11317
+ */
11318
+ available: boolean;
11319
+ /**
11320
+ * 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.
11321
+ * @type {UsageHistoryUnavailableReason}
11322
+ * @memberof UserUsageHistoryResponseDto
11323
+ */
11324
+ reason?: UsageHistoryUnavailableReason;
11325
+ /**
11326
+ * 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.
11327
+ * @type {UsageHistoryBudgetDto}
11328
+ * @memberof UserUsageHistoryResponseDto
11329
+ */
11330
+ budget?: UsageHistoryBudgetDto;
11331
+ /**
11332
+ * Present only when `available` is `true`. The half-open window `[from, to)`.
11333
+ * @type {UsageHistoryWindowDto}
11334
+ * @memberof UserUsageHistoryResponseDto
11335
+ */
11336
+ period?: UsageHistoryWindowDto;
11337
+ /**
11338
+ * Present only when `available` is `true`. Always `USD`: DIAL Analytics prices carry no currency.
11339
+ * @type {string}
11340
+ * @memberof UserUsageHistoryResponseDto
11341
+ */
11342
+ currency?: string;
11343
+ /**
11344
+ * Present only when `available` is `true`. Spend and requests of the whole window.
11345
+ * @type {UsageHistoryTotalsDto}
11346
+ * @memberof UserUsageHistoryResponseDto
11347
+ */
11348
+ totals?: UsageHistoryTotalsDto;
11349
+ /**
11350
+ * Present only when `available` is `true`. One entry per UTC date of the window, ascending, zero-filled.
11351
+ * @type {Array<UsageHistoryDailyEntryDto>}
11352
+ * @memberof UserUsageHistoryResponseDto
11353
+ */
11354
+ daily?: Array<UsageHistoryDailyEntryDto>;
11355
+ /**
11356
+ * 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.
11357
+ * @type {Array<UsageHistoryModelEntryDto>}
11358
+ * @memberof UserUsageHistoryResponseDto
11359
+ */
11360
+ byModel?: Array<UsageHistoryModelEntryDto>;
11361
+ /**
11362
+ * 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.
11363
+ * @type {Array<UsageHistoryClientEntryDto>}
11364
+ * @memberof UserUsageHistoryResponseDto
11365
+ */
11366
+ byClient?: Array<UsageHistoryClientEntryDto>;
11367
+ }
11368
+ /**
11369
+ *
11370
+ * @export
11371
+ */
11372
+ export declare const VersionPublicationStatus: {
11373
+ readonly NotPublished: "not-published";
11374
+ readonly InReview: "in-review";
11375
+ readonly Published: "published";
11376
+ readonly Unknown: "unknown";
11377
+ };
11378
+ export type VersionPublicationStatus = (typeof VersionPublicationStatus)[keyof typeof VersionPublicationStatus];
11379
+ /**
11380
+ *
11381
+ * @export
11382
+ * @interface VersionStatusEntryDto
11383
+ */
11384
+ export interface VersionStatusEntryDto {
11385
+ /**
11386
+ * DIAL Core resource id of the version, as the listings return it.
11387
+ * @type {string}
11388
+ * @memberof VersionStatusEntryDto
11389
+ */
11390
+ id: string;
11391
+ /**
11392
+ * Display version of the version; empty when the resource has none.
11393
+ * @type {string}
11394
+ * @memberof VersionStatusEntryDto
11395
+ */
11396
+ version: string;
11397
+ /**
11398
+ *
11399
+ * @type {VersionPublicationStatus}
11400
+ * @memberof VersionStatusEntryDto
11401
+ */
11402
+ status: VersionPublicationStatus;
11403
+ /**
11404
+ * Folders a published version is published to, without the `public/` prefix; empty otherwise.
11405
+ * @type {Array<string>}
11406
+ * @memberof VersionStatusEntryDto
11407
+ */
11408
+ publishedFolders: Array<string>;
11409
+ /**
11410
+ * Display name of the publisher of a published version.
11411
+ * @type {string}
11412
+ * @memberof VersionStatusEntryDto
11413
+ */
11414
+ publishedBy?: string;
11415
+ }
10189
11416
  /**
10190
11417
  *
10191
11418
  * @export