@epam/ai-dial-chat-api-client 1.4.0-dev.96 → 1.4.0-rc.0

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.
@@ -674,6 +674,27 @@ export interface ApplicationSchemasResponseDto {
674
674
  */
675
675
  schemas: Array<ApplicationSchemaSummaryDto>;
676
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
+ }
677
698
  /**
678
699
  *
679
700
  * @export
@@ -1020,6 +1041,82 @@ export declare const CatalogCreationType: {
1020
1041
  readonly Skill: "skill";
1021
1042
  };
1022
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
+ }
1023
1120
  /**
1024
1121
  *
1025
1122
  * @export
@@ -1326,7 +1423,7 @@ export interface CelebrationPackRefDto {
1326
1423
  */
1327
1424
  export interface CelebrationPlacementDto {
1328
1425
  /**
1329
- * 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.
1330
1427
  * @type {string}
1331
1428
  * @memberof CelebrationPlacementDto
1332
1429
  */
@@ -1343,6 +1440,36 @@ export interface CelebrationPlacementDto {
1343
1440
  * @memberof CelebrationPlacementDto
1344
1441
  */
1345
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;
1346
1473
  }
1347
1474
  /**
1348
1475
  * How the scene adapts to a right-to-left host.
@@ -1536,6 +1663,12 @@ export interface CelebrationVariantDto {
1536
1663
  * @memberof CelebrationVariantDto
1537
1664
  */
1538
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;
1539
1672
  }
1540
1673
  /**
1541
1674
  * Required host layout.
@@ -1741,6 +1874,30 @@ export interface ClientConfigDto {
1741
1874
  * @memberof ClientConfigDto
1742
1875
  */
1743
1876
  aiTextRefinementAvailable?: boolean;
1877
+ /**
1878
+ * Maximum files per skill, including the root SKILL.md.
1879
+ * @type {number}
1880
+ * @memberof ClientConfigDto
1881
+ */
1882
+ skillUploadMaxFiles?: number;
1883
+ /**
1884
+ * Maximum number of context files in a project, including retained files on edit.
1885
+ * @type {number}
1886
+ * @memberof ClientConfigDto
1887
+ */
1888
+ projectContextMaxFiles?: number;
1889
+ /**
1890
+ * Maximum bytes per skill file, including SKILL.md.
1891
+ * @type {number}
1892
+ * @memberof ClientConfigDto
1893
+ */
1894
+ skillFileUploadMaxBytes?: number;
1895
+ /**
1896
+ * Maximum total bytes per skill, including SKILL.md.
1897
+ * @type {number}
1898
+ * @memberof ClientConfigDto
1899
+ */
1900
+ skillUploadMaxTotalBytes?: number;
1744
1901
  /**
1745
1902
  * Active start-page celebration module ID selected by UI_EVENT. Null when UI_EVENT is absent or none. Event IDs are open-ended; clients ignore IDs not present in their local registry.
1746
1903
  * @type {string}
@@ -1802,7 +1959,7 @@ export interface ClientConfigDto {
1802
1959
  */
1803
1960
  mcpAppHostName?: string | null;
1804
1961
  /**
1805
- * Which File Manager tabs are shown to users. Defaults to the All tab plus the three source tabs.
1962
+ * Which File Manager tabs are shown to users, as a set in the fixed order all, my_files, shared, organization. all is present only with at least two source tabs; a configured list with no source tab falls back to all four. Defaults to the All tab plus the three source tabs.
1806
1963
  * @type {Array<string>}
1807
1964
  * @memberof ClientConfigDto
1808
1965
  */
@@ -1895,12 +2052,6 @@ export interface ClientConfigDto {
1895
2052
  customVariables: {
1896
2053
  [key: string]: unknown;
1897
2054
  };
1898
- /**
1899
- * Allowed claim/category names selectable as a publication access rule's source. Sourced from PUBLICATION_FILTER_SOURCES; falls back to the legacy default when unset or empty.
1900
- * @type {Array<string>}
1901
- * @memberof ClientConfigDto
1902
- */
1903
- publicationFilterSources: Array<string>;
1904
2055
  /**
1905
2056
  * Additional content locales (canonical BCP-47 tags) a toolset's or application's Name/Description can be translated into. Sourced from ADDITIONAL_CONTENT_LOCALES, or the deprecated AVAILABLE_LOCALES when that is absent; empty when neither is set. May include the primary locale, which the client drops.
1906
2057
  * @type {Array<string>}
@@ -2100,6 +2251,133 @@ export interface CommitApplicationVersionDto {
2100
2251
  */
2101
2252
  snapshotId: string;
2102
2253
  }
2254
+ /**
2255
+ *
2256
+ * @export
2257
+ * @interface ContentDocumentResponseDto
2258
+ */
2259
+ export interface ContentDocumentResponseDto {
2260
+ /**
2261
+ *
2262
+ * @type {string}
2263
+ * @memberof ContentDocumentResponseDto
2264
+ */
2265
+ path: string;
2266
+ /**
2267
+ *
2268
+ * @type {string}
2269
+ * @memberof ContentDocumentResponseDto
2270
+ */
2271
+ title: string;
2272
+ /**
2273
+ *
2274
+ * @type {string}
2275
+ * @memberof ContentDocumentResponseDto
2276
+ */
2277
+ date: string | null;
2278
+ /**
2279
+ * Document Markdown exactly as stored in the repository. Untrusted: clients must sanitize their rendering and rewrite relative links themselves.
2280
+ * @type {string}
2281
+ * @memberof ContentDocumentResponseDto
2282
+ */
2283
+ markdown: string;
2284
+ /**
2285
+ * Page of the document on the hosting provider.
2286
+ * @type {string}
2287
+ * @memberof ContentDocumentResponseDto
2288
+ */
2289
+ webUrl: string;
2290
+ }
2291
+ /**
2292
+ *
2293
+ * @export
2294
+ * @interface ContentDocumentSummaryDto
2295
+ */
2296
+ export interface ContentDocumentSummaryDto {
2297
+ /**
2298
+ *
2299
+ * @type {string}
2300
+ * @memberof ContentDocumentSummaryDto
2301
+ */
2302
+ path: string;
2303
+ /**
2304
+ * First H1 of the document, or its file name without extension.
2305
+ * @type {string}
2306
+ * @memberof ContentDocumentSummaryDto
2307
+ */
2308
+ title: string;
2309
+ /**
2310
+ * Created or updated commit date; null when the source has no dates or the date is unknown.
2311
+ * @type {string}
2312
+ * @memberof ContentDocumentSummaryDto
2313
+ */
2314
+ date: string | null;
2315
+ }
2316
+ /**
2317
+ *
2318
+ * @export
2319
+ * @interface ContentSourceFeedDto
2320
+ */
2321
+ export interface ContentSourceFeedDto {
2322
+ /**
2323
+ * Heading text whose section a feed client uses as the document summary.
2324
+ * @type {string}
2325
+ * @memberof ContentSourceFeedDto
2326
+ */
2327
+ summaryHeading?: string;
2328
+ }
2329
+ /**
2330
+ *
2331
+ * @export
2332
+ */
2333
+ export declare const ContentSourceKind: {
2334
+ readonly File: "file";
2335
+ readonly Directory: "directory";
2336
+ };
2337
+ export type ContentSourceKind = (typeof ContentSourceKind)[keyof typeof ContentSourceKind];
2338
+ /**
2339
+ *
2340
+ * @export
2341
+ * @interface ContentSourceResponseDto
2342
+ */
2343
+ export interface ContentSourceResponseDto {
2344
+ /**
2345
+ *
2346
+ * @type {string}
2347
+ * @memberof ContentSourceResponseDto
2348
+ */
2349
+ id: string;
2350
+ /**
2351
+ *
2352
+ * @type {string}
2353
+ * @memberof ContentSourceResponseDto
2354
+ */
2355
+ title: string;
2356
+ /**
2357
+ *
2358
+ * @type {ContentSourceKind}
2359
+ * @memberof ContentSourceResponseDto
2360
+ */
2361
+ kind: ContentSourceKind;
2362
+ /**
2363
+ *
2364
+ * @type {ContentSourceFeedDto}
2365
+ * @memberof ContentSourceResponseDto
2366
+ */
2367
+ feed: ContentSourceFeedDto;
2368
+ /**
2369
+ * Repository page of the source on the hosting provider.
2370
+ * @type {string}
2371
+ * @memberof ContentSourceResponseDto
2372
+ */
2373
+ webUrl: string;
2374
+ /**
2375
+ *
2376
+ * @type {Array<ContentDocumentSummaryDto>}
2377
+ * @memberof ContentSourceResponseDto
2378
+ */
2379
+ documents: Array<ContentDocumentSummaryDto>;
2380
+ }
2103
2381
  /**
2104
2382
  *
2105
2383
  * @export
@@ -3024,6 +3302,12 @@ export interface CopyCatalogEntityToOrgUnitDto {
3024
3302
  * @memberof CopyCatalogEntityToOrgUnitDto
3025
3303
  */
3026
3304
  folderPath: string;
3305
+ /**
3306
+ * Optional version label. For an application or a toolset whose stored name ends in `__{version}` the copy is named with this version, as a publication of it would be; otherwise the stored name is kept.
3307
+ * @type {string}
3308
+ * @memberof CopyCatalogEntityToOrgUnitDto
3309
+ */
3310
+ version?: string;
3027
3311
  }
3028
3312
  /**
3029
3313
  *
@@ -4235,6 +4519,30 @@ export interface DeploymentFeaturesDto {
4235
4519
  * @memberof DeploymentFeaturesDto
4236
4520
  */
4237
4521
  tools?: boolean;
4522
+ /**
4523
+ * Whether parallel tool calls are enabled; DIAL Core defaults it to true, so it means something only for a model with tools
4524
+ * @type {boolean}
4525
+ * @memberof DeploymentFeaturesDto
4526
+ */
4527
+ parallelToolCalls?: boolean;
4528
+ /**
4529
+ * Whether the deployment supports prompt caching
4530
+ * @type {boolean}
4531
+ * @memberof DeploymentFeaturesDto
4532
+ */
4533
+ cache?: boolean;
4534
+ /**
4535
+ * Whether the deployment caches prompts automatically
4536
+ * @type {boolean}
4537
+ * @memberof DeploymentFeaturesDto
4538
+ */
4539
+ autoCaching?: boolean;
4540
+ /**
4541
+ * Reasoning efforts the deployment accepts, as DIAL Core sends them; absent when it sends none
4542
+ * @type {Array<string>}
4543
+ * @memberof DeploymentFeaturesDto
4544
+ */
4545
+ reasoningEfforts?: Array<string>;
4238
4546
  }
4239
4547
  /**
4240
4548
  *
@@ -4344,6 +4652,18 @@ export interface DeploymentItemDto {
4344
4652
  * @memberof DeploymentItemDto
4345
4653
  */
4346
4654
  topics?: Array<string>;
4655
+ /**
4656
+ * Provider of the model as DIAL Core reports it (e.g. "aws"); undefined when DIAL Core sends none
4657
+ * @type {string}
4658
+ * @memberof DeploymentItemDto
4659
+ */
4660
+ provider?: string;
4661
+ /**
4662
+ * The model type DIAL Core configures (chat completion, completion, embeddings), from `capabilities`; says whether the model takes text input. Absent when DIAL Core sends none of the three.
4663
+ * @type {DeploymentModelKindsDto}
4664
+ * @memberof DeploymentItemDto
4665
+ */
4666
+ modelKinds?: DeploymentModelKindsDto;
4347
4667
  /**
4348
4668
  * Maximum number of attachments allowed per message; undefined when not specified by DIAL Core
4349
4669
  * @type {number}
@@ -4491,6 +4811,31 @@ export interface DeploymentLimitsResponseDto {
4491
4811
  */
4492
4812
  monthCostStats?: LimitStatsDto;
4493
4813
  }
4814
+ /**
4815
+ *
4816
+ * @export
4817
+ * @interface DeploymentModelKindsDto
4818
+ */
4819
+ export interface DeploymentModelKindsDto {
4820
+ /**
4821
+ * Whether the model is configured for chat completion
4822
+ * @type {boolean}
4823
+ * @memberof DeploymentModelKindsDto
4824
+ */
4825
+ chatCompletion?: boolean;
4826
+ /**
4827
+ * Whether the model is configured for text completion
4828
+ * @type {boolean}
4829
+ * @memberof DeploymentModelKindsDto
4830
+ */
4831
+ completion?: boolean;
4832
+ /**
4833
+ * Whether the model is configured for embeddings
4834
+ * @type {boolean}
4835
+ * @memberof DeploymentModelKindsDto
4836
+ */
4837
+ embeddings?: boolean;
4838
+ }
4494
4839
  /**
4495
4840
  *
4496
4841
  * @export
@@ -7193,7 +7538,28 @@ export interface OnboardingHintDto {
7193
7538
  * @memberof OnboardingHintDto
7194
7539
  */
7195
7540
  description: string | null;
7541
+ /**
7542
+ * 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.
7543
+ * @type {Array<OnboardingHintPage>}
7544
+ * @memberof OnboardingHintDto
7545
+ */
7546
+ pages: Array<OnboardingHintPage>;
7196
7547
  }
7548
+ /**
7549
+ * 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.
7550
+ * @export
7551
+ */
7552
+ export declare const OnboardingHintPage: {
7553
+ readonly Home: "home";
7554
+ readonly Projects: "projects";
7555
+ readonly ScheduledTasks: "scheduled-tasks";
7556
+ readonly Catalog: "catalog";
7557
+ readonly FileManager: "file-manager";
7558
+ readonly Settings: "settings";
7559
+ readonly Usage: "usage";
7560
+ readonly Editors: "editors";
7561
+ };
7562
+ export type OnboardingHintPage = (typeof OnboardingHintPage)[keyof typeof OnboardingHintPage];
7197
7563
  /**
7198
7564
  * 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.
7199
7565
  * @export
@@ -7271,8 +7637,55 @@ export declare const OnboardingHintTarget: {
7271
7637
  readonly EditorSetup: "editor-setup";
7272
7638
  readonly ActiveChat: "active-chat";
7273
7639
  readonly ActiveChatActions: "active-chat-actions";
7640
+ readonly ProjectOutputs: "project-outputs";
7641
+ readonly ProjectChatList: "project-chat-list";
7642
+ readonly ScheduledTaskDetails: "scheduled-task-details";
7643
+ readonly ScheduledTaskSkills: "scheduled-task-skills";
7644
+ readonly ScheduledTaskInstructions: "scheduled-task-instructions";
7645
+ readonly ScheduledTaskRefineInstructions: "scheduled-task-refine-instructions";
7646
+ readonly ScheduledTaskTimezone: "scheduled-task-timezone";
7647
+ readonly ScheduledTaskStartDate: "scheduled-task-start-date";
7274
7648
  };
7275
7649
  export type OnboardingHintTarget = (typeof OnboardingHintTarget)[keyof typeof OnboardingHintTarget];
7650
+ /**
7651
+ * `folderReferenceNeedsRequest`: the application, or an application dependency to be copied, refers to a folder of files and the caller is not a DIAL admin, so it has to go through a publication request.
7652
+ * @export
7653
+ */
7654
+ export declare const OrgUnitCopyErrorCode: {
7655
+ readonly FolderReferenceNeedsRequest: "folderReferenceNeedsRequest";
7656
+ };
7657
+ export type OrgUnitCopyErrorCode = (typeof OrgUnitCopyErrorCode)[keyof typeof OrgUnitCopyErrorCode];
7658
+ /**
7659
+ *
7660
+ * @export
7661
+ * @interface OrgUnitCopyErrorDto
7662
+ */
7663
+ export interface OrgUnitCopyErrorDto {
7664
+ /**
7665
+ *
7666
+ * @type {number}
7667
+ * @memberof OrgUnitCopyErrorDto
7668
+ */
7669
+ statusCode: number;
7670
+ /**
7671
+ *
7672
+ * @type {string}
7673
+ * @memberof OrgUnitCopyErrorDto
7674
+ */
7675
+ error: string;
7676
+ /**
7677
+ *
7678
+ * @type {string}
7679
+ * @memberof OrgUnitCopyErrorDto
7680
+ */
7681
+ message: string;
7682
+ /**
7683
+ * `folderReferenceNeedsRequest`: the application, or an application dependency to be copied, refers to a folder of files and the caller is not a DIAL admin, so it has to go through a publication request.
7684
+ * @type {OrgUnitCopyErrorCode}
7685
+ * @memberof OrgUnitCopyErrorDto
7686
+ */
7687
+ code: OrgUnitCopyErrorCode;
7688
+ }
7276
7689
  /**
7277
7690
  *
7278
7691
  * @export
@@ -7989,12 +8402,6 @@ export interface PublishCatalogEntityDto {
7989
8402
  * @memberof PublishCatalogEntityDto
7990
8403
  */
7991
8404
  author?: string;
7992
- /**
7993
- * Access-restriction rules combined with AND; forwarded to DIAL Core unchanged. Omitted or empty means no additional restriction.
7994
- * @type {Array<PublishRuleDto>}
7995
- * @memberof PublishCatalogEntityDto
7996
- */
7997
- rules?: Array<PublishRuleDto>;
7998
8405
  /**
7999
8406
  * Publish the entity together with the publisher's own credentials for it. DIAL Core honours it by copying the credential onto the published copy, so members of the organization use the entity without authorising individually. Omitted or `false` sends exactly the request every caller sent before this field existed. The flag grants no additional authorization: Core still derives the actor from the bearer token, enforces target-folder write access, and holds the publication `PENDING` until an administrator approves it. No credential value ever crosses the wire — only this boolean.
8000
8407
  * @type {boolean}
@@ -8002,6 +8409,46 @@ export interface PublishCatalogEntityDto {
8002
8409
  */
8003
8410
  publishCredentials?: boolean;
8004
8411
  }
8412
+ /**
8413
+ * `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.
8414
+ * @export
8415
+ */
8416
+ export declare const PublishConflictCode: {
8417
+ readonly TargetExists: "target-exists";
8418
+ readonly PublishInProgress: "publish-in-progress";
8419
+ };
8420
+ export type PublishConflictCode = (typeof PublishConflictCode)[keyof typeof PublishConflictCode];
8421
+ /**
8422
+ *
8423
+ * @export
8424
+ * @interface PublishConflictDto
8425
+ */
8426
+ export interface PublishConflictDto {
8427
+ /**
8428
+ *
8429
+ * @type {number}
8430
+ * @memberof PublishConflictDto
8431
+ */
8432
+ statusCode: number;
8433
+ /**
8434
+ *
8435
+ * @type {string}
8436
+ * @memberof PublishConflictDto
8437
+ */
8438
+ message: string;
8439
+ /**
8440
+ *
8441
+ * @type {string}
8442
+ * @memberof PublishConflictDto
8443
+ */
8444
+ error: string;
8445
+ /**
8446
+ * `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.
8447
+ * @type {PublishConflictCode}
8448
+ * @memberof PublishConflictDto
8449
+ */
8450
+ code: PublishConflictCode;
8451
+ }
8005
8452
  /**
8006
8453
  *
8007
8454
  * @export
@@ -8020,12 +8467,6 @@ export interface PublishConversationDto {
8020
8467
  * @memberof PublishConversationDto
8021
8468
  */
8022
8469
  author?: string;
8023
- /**
8024
- * Access-restriction rules combined with AND; forwarded to DIAL Core unchanged. Omitted or empty means no additional restriction.
8025
- * @type {Array<PublishRuleDto>}
8026
- * @memberof PublishConversationDto
8027
- */
8028
- rules?: Array<PublishRuleDto>;
8029
8470
  }
8030
8471
  /**
8031
8472
  *
@@ -8177,49 +8618,15 @@ export type PublishResultDtoEntityTypeEnum = (typeof PublishResultDtoEntityTypeE
8177
8618
  /**
8178
8619
  *
8179
8620
  * @export
8180
- * @interface PublishRuleDto
8181
- */
8182
- export interface PublishRuleDto {
8183
- /**
8184
- * Claim/category name this rule matches against.
8185
- * @type {string}
8186
- * @memberof PublishRuleDto
8187
- */
8188
- source: string;
8189
- /**
8190
- *
8191
- * @type {string}
8192
- * @memberof PublishRuleDto
8193
- */
8194
- function: PublishRuleDtoFunctionEnum;
8195
- /**
8196
- * Values combined with OR; exactly one pattern when function is REGEX.
8197
- * @type {Array<string>}
8198
- * @memberof PublishRuleDto
8199
- */
8200
- targets: Array<string>;
8201
- }
8202
- /**
8203
- * @export
8204
- */
8205
- export declare const PublishRuleDtoFunctionEnum: {
8206
- readonly Equal: "EQUAL";
8207
- readonly Contain: "CONTAIN";
8208
- readonly Regex: "REGEX";
8209
- };
8210
- export type PublishRuleDtoFunctionEnum = (typeof PublishRuleDtoFunctionEnum)[keyof typeof PublishRuleDtoFunctionEnum];
8211
- /**
8212
- *
8213
- * @export
8214
- * @interface PublishRulesResultDto
8621
+ * @interface PublishTargetCheckDto
8215
8622
  */
8216
- export interface PublishRulesResultDto {
8623
+ export interface PublishTargetCheckDto {
8217
8624
  /**
8218
- * The requested folder's own access-restriction rules, or an empty array when the folder has none configured.
8219
- * @type {Array<PublishRuleDto>}
8220
- * @memberof PublishRulesResultDto
8625
+ * 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.
8626
+ * @type {boolean}
8627
+ * @memberof PublishTargetCheckDto
8221
8628
  */
8222
- rules: Array<PublishRuleDto>;
8629
+ taken: boolean;
8223
8630
  }
8224
8631
  /**
8225
8632
  *
@@ -8279,7 +8686,7 @@ export interface RefineTextRequestDto {
8279
8686
  */
8280
8687
  purpose: TextRefinementPurpose;
8281
8688
  /**
8282
- * Exact nonblank draft. Unicode code point limits: skill/project Description 4000, task Description 500, application/toolset/prompt Description 2000, skill/task/prompt/project Instructions 32000.
8689
+ * Exact nonblank draft. Unicode code point limits: skill/project Description 4000, task Description 500, application/toolset/prompt Description 2000, application Name 256, skill/task/prompt/project Instructions 32000.
8283
8690
  * @type {string}
8284
8691
  * @memberof RefineTextRequestDto
8285
8692
  */
@@ -9586,6 +9993,7 @@ export declare const TextRefinementPurpose: {
9586
9993
  readonly ScheduledTaskDescription: "scheduled-task-description";
9587
9994
  readonly ScheduledTaskInstructions: "scheduled-task-instructions";
9588
9995
  readonly ApplicationDescription: "application-description";
9996
+ readonly ApplicationName: "application-name";
9589
9997
  readonly ToolsetDescription: "toolset-description";
9590
9998
  readonly PromptDescription: "prompt-description";
9591
9999
  readonly PromptInstructions: "prompt-instructions";
@@ -10806,6 +11214,173 @@ export interface UploadArchiveResponseDto {
10806
11214
  */
10807
11215
  results: Array<UploadArchiveEntryResultDto>;
10808
11216
  }
11217
+ /**
11218
+ *
11219
+ * @export
11220
+ * @interface UsageHistoryBudgetDto
11221
+ */
11222
+ export interface UsageHistoryBudgetDto {
11223
+ /**
11224
+ * Cost object of the budget the history is narrowed to.
11225
+ * @type {string}
11226
+ * @memberof UsageHistoryBudgetDto
11227
+ */
11228
+ costObject: string;
11229
+ /**
11230
+ * Policy of the budget the history is narrowed to.
11231
+ * @type {string}
11232
+ * @memberof UsageHistoryBudgetDto
11233
+ */
11234
+ policy: string;
11235
+ }
11236
+ /**
11237
+ *
11238
+ * @export
11239
+ * @interface UsageHistoryClientEntryDto
11240
+ */
11241
+ export interface UsageHistoryClientEntryDto {
11242
+ /**
11243
+ * 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.
11244
+ * @type {string}
11245
+ * @memberof UsageHistoryClientEntryDto
11246
+ */
11247
+ client: string;
11248
+ /**
11249
+ * 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.
11250
+ * @type {number}
11251
+ * @memberof UsageHistoryClientEntryDto
11252
+ */
11253
+ spend: number;
11254
+ /**
11255
+ * Number from this client. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
11256
+ * @type {number}
11257
+ * @memberof UsageHistoryClientEntryDto
11258
+ */
11259
+ requests: number;
11260
+ }
11261
+ /**
11262
+ *
11263
+ * @export
11264
+ * @interface UsageHistoryDailyEntryDto
11265
+ */
11266
+ export interface UsageHistoryDailyEntryDto {
11267
+ /**
11268
+ * UTC calendar date, `YYYY-MM-DD`.
11269
+ * @type {string}
11270
+ * @memberof UsageHistoryDailyEntryDto
11271
+ */
11272
+ date: string;
11273
+ /**
11274
+ * 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.
11275
+ * @type {number}
11276
+ * @memberof UsageHistoryDailyEntryDto
11277
+ */
11278
+ spend: number;
11279
+ /**
11280
+ * Number on that date. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
11281
+ * @type {number}
11282
+ * @memberof UsageHistoryDailyEntryDto
11283
+ */
11284
+ requests: number;
11285
+ /**
11286
+ * 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.
11287
+ * @type {{ [key: string]: number; }}
11288
+ * @memberof UsageHistoryDailyEntryDto
11289
+ */
11290
+ byModel: {
11291
+ [key: string]: number;
11292
+ };
11293
+ }
11294
+ /**
11295
+ *
11296
+ * @export
11297
+ * @interface UsageHistoryModelEntryDto
11298
+ */
11299
+ export interface UsageHistoryModelEntryDto {
11300
+ /**
11301
+ * Root deployment the user called (with `budget`: the model the budget paid for), or `other` for the remainder beyond the top 10 by spend.
11302
+ * @type {string}
11303
+ * @memberof UsageHistoryModelEntryDto
11304
+ */
11305
+ deployment: string;
11306
+ /**
11307
+ * 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.
11308
+ * @type {number}
11309
+ * @memberof UsageHistoryModelEntryDto
11310
+ */
11311
+ spend: number;
11312
+ /**
11313
+ * Number for this deployment. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
11314
+ * @type {number}
11315
+ * @memberof UsageHistoryModelEntryDto
11316
+ */
11317
+ requests: number;
11318
+ }
11319
+ /**
11320
+ *
11321
+ * @export
11322
+ */
11323
+ export declare const UsageHistoryPeriod: {
11324
+ readonly Today: "today";
11325
+ readonly Week: "week";
11326
+ readonly Month: "month";
11327
+ };
11328
+ export type UsageHistoryPeriod = (typeof UsageHistoryPeriod)[keyof typeof UsageHistoryPeriod];
11329
+ /**
11330
+ *
11331
+ * @export
11332
+ * @interface UsageHistoryTotalsDto
11333
+ */
11334
+ export interface UsageHistoryTotalsDto {
11335
+ /**
11336
+ * 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.
11337
+ * @type {number}
11338
+ * @memberof UsageHistoryTotalsDto
11339
+ */
11340
+ spend: number;
11341
+ /**
11342
+ * Number in the window. Without `budget`, user requests (root spans); with `budget`, model calls the budget paid for.
11343
+ * @type {number}
11344
+ * @memberof UsageHistoryTotalsDto
11345
+ */
11346
+ requests: number;
11347
+ }
11348
+ /**
11349
+ * Present only when `available` is `false`. `not_configured`: ANALYTICS_URL is unset. `forbidden`: DIAL Analytics refused the caller's token, the caller cannot read the usage log, or DIAL Analytics cannot run the own-rows filter (no query caller values, or `user_hash` hidden from the caller). `unavailable`: timeout, network error or server error. `budget_unsupported`: `costObject` and `policy` were given, but the caller's DIAL Analytics schema of the usage log has no budget columns.
11350
+ * @export
11351
+ */
11352
+ export declare const UsageHistoryUnavailableReason: {
11353
+ readonly NotConfigured: "not_configured";
11354
+ readonly Unavailable: "unavailable";
11355
+ readonly Forbidden: "forbidden";
11356
+ readonly BudgetUnsupported: "budget_unsupported";
11357
+ };
11358
+ export type UsageHistoryUnavailableReason = (typeof UsageHistoryUnavailableReason)[keyof typeof UsageHistoryUnavailableReason];
11359
+ /**
11360
+ *
11361
+ * @export
11362
+ * @interface UsageHistoryWindowDto
11363
+ */
11364
+ export interface UsageHistoryWindowDto {
11365
+ /**
11366
+ * The requested period.
11367
+ * @type {UsageHistoryPeriod}
11368
+ * @memberof UsageHistoryWindowDto
11369
+ */
11370
+ name: UsageHistoryPeriod;
11371
+ /**
11372
+ * Inclusive window start: 00:00:00.000Z of the current UTC day, ISO week Monday, or month 1st.
11373
+ * @type {string}
11374
+ * @memberof UsageHistoryWindowDto
11375
+ */
11376
+ from: string;
11377
+ /**
11378
+ * Exclusive window end: the request time.
11379
+ * @type {string}
11380
+ * @memberof UsageHistoryWindowDto
11381
+ */
11382
+ to: string;
11383
+ }
10809
11384
  /**
10810
11385
  *
10811
11386
  * @export
@@ -10951,6 +11526,67 @@ export interface UserProfileDto {
10951
11526
  */
10952
11527
  pictureUrl?: string;
10953
11528
  }
11529
+ /**
11530
+ *
11531
+ * @export
11532
+ * @interface UserUsageHistoryResponseDto
11533
+ */
11534
+ export interface UserUsageHistoryResponseDto {
11535
+ /**
11536
+ * Whether DIAL Analytics answered. `true`: `period`, `currency`, `totals`, `daily` and `byModel` are present (and `byClient` when the client-identity enrichment is available). `false`: only `reason` is present.
11537
+ * @type {boolean}
11538
+ * @memberof UserUsageHistoryResponseDto
11539
+ */
11540
+ available: boolean;
11541
+ /**
11542
+ * Present only when `available` is `false`. `not_configured`: ANALYTICS_URL is unset. `forbidden`: DIAL Analytics refused the caller's token, the caller cannot read the usage log, or DIAL Analytics cannot run the own-rows filter (no query caller values, or `user_hash` hidden from the caller). `unavailable`: timeout, network error or server error. `budget_unsupported`: `costObject` and `policy` were given, but the caller's DIAL Analytics schema of the usage log has no budget columns.
11543
+ * @type {UsageHistoryUnavailableReason}
11544
+ * @memberof UserUsageHistoryResponseDto
11545
+ */
11546
+ reason?: UsageHistoryUnavailableReason;
11547
+ /**
11548
+ * Present only when `available` is `true` and the request named a budget: every figure is then that budget's, from the model calls it paid for. Rows written before DIAL Core logged the charged budget carry none and are not counted.
11549
+ * @type {UsageHistoryBudgetDto}
11550
+ * @memberof UserUsageHistoryResponseDto
11551
+ */
11552
+ budget?: UsageHistoryBudgetDto;
11553
+ /**
11554
+ * Present only when `available` is `true`. The half-open window `[from, to)`.
11555
+ * @type {UsageHistoryWindowDto}
11556
+ * @memberof UserUsageHistoryResponseDto
11557
+ */
11558
+ period?: UsageHistoryWindowDto;
11559
+ /**
11560
+ * Present only when `available` is `true`. Always `USD`: DIAL Analytics prices carry no currency.
11561
+ * @type {string}
11562
+ * @memberof UserUsageHistoryResponseDto
11563
+ */
11564
+ currency?: string;
11565
+ /**
11566
+ * Present only when `available` is `true`. Spend and requests of the whole window.
11567
+ * @type {UsageHistoryTotalsDto}
11568
+ * @memberof UserUsageHistoryResponseDto
11569
+ */
11570
+ totals?: UsageHistoryTotalsDto;
11571
+ /**
11572
+ * Present only when `available` is `true`. One entry per UTC date of the window, ascending, zero-filled.
11573
+ * @type {Array<UsageHistoryDailyEntryDto>}
11574
+ * @memberof UserUsageHistoryResponseDto
11575
+ */
11576
+ daily?: Array<UsageHistoryDailyEntryDto>;
11577
+ /**
11578
+ * Present only when `available` is `true`. Root deployments by spend descending, at most 10, followed by one `other` entry with the remainder when more than 10 have usage. When the request named a budget, the entries are the models whose calls that budget paid for, including models called by an application or other deployment, not root deployments.
11579
+ * @type {Array<UsageHistoryModelEntryDto>}
11580
+ * @memberof UserUsageHistoryResponseDto
11581
+ */
11582
+ byModel?: Array<UsageHistoryModelEntryDto>;
11583
+ /**
11584
+ * 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.
11585
+ * @type {Array<UsageHistoryClientEntryDto>}
11586
+ * @memberof UserUsageHistoryResponseDto
11587
+ */
11588
+ byClient?: Array<UsageHistoryClientEntryDto>;
11589
+ }
10954
11590
  /**
10955
11591
  *
10956
11592
  * @export