@epam/ai-dial-chat-api-client 1.2.0-dev.98 → 1.2.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.
Files changed (56) hide show
  1. package/generated/src/apis/ApplicationsApi.d.ts +2 -2
  2. package/generated/src/apis/ApplicationsApi.d.ts.map +1 -1
  3. package/generated/src/apis/ApplicationsApi.js +44 -2
  4. package/generated/src/apis/ChatApi.d.ts.map +1 -1
  5. package/generated/src/apis/ChatApi.js +7 -0
  6. package/generated/src/apis/ClientChannelApi.d.ts.map +1 -1
  7. package/generated/src/apis/ClientChannelApi.js +21 -0
  8. package/generated/src/apis/ConversationsApi.d.ts.map +1 -1
  9. package/generated/src/apis/ConversationsApi.js +133 -0
  10. package/generated/src/apis/CustomApiApi.d.ts +32 -0
  11. package/generated/src/apis/CustomApiApi.d.ts.map +1 -0
  12. package/generated/src/apis/CustomApiApi.js +58 -0
  13. package/generated/src/apis/DeploymentsApi.d.ts.map +1 -1
  14. package/generated/src/apis/DeploymentsApi.js +28 -0
  15. package/generated/src/apis/ExternalServicesApi.d.ts.map +1 -1
  16. package/generated/src/apis/ExternalServicesApi.js +28 -0
  17. package/generated/src/apis/FilesApi.d.ts +8 -0
  18. package/generated/src/apis/FilesApi.d.ts.map +1 -1
  19. package/generated/src/apis/FilesApi.js +146 -0
  20. package/generated/src/apis/ModelsApi.d.ts.map +1 -1
  21. package/generated/src/apis/ModelsApi.js +14 -0
  22. package/generated/src/apis/OfflineCredentialsApi.d.ts.map +1 -1
  23. package/generated/src/apis/OfflineCredentialsApi.js +14 -0
  24. package/generated/src/apis/PromptsApi.d.ts.map +1 -1
  25. package/generated/src/apis/PromptsApi.js +77 -0
  26. package/generated/src/apis/PublishApi.d.ts.map +1 -1
  27. package/generated/src/apis/PublishApi.js +28 -0
  28. package/generated/src/apis/RateApi.d.ts.map +1 -1
  29. package/generated/src/apis/RateApi.js +7 -0
  30. package/generated/src/apis/ScheduledTasksApi.d.ts +33 -5
  31. package/generated/src/apis/ScheduledTasksApi.d.ts.map +1 -1
  32. package/generated/src/apis/ScheduledTasksApi.js +137 -4
  33. package/generated/src/apis/ShareApi.d.ts.map +1 -1
  34. package/generated/src/apis/ShareApi.js +35 -0
  35. package/generated/src/apis/SkillsApi.d.ts.map +1 -1
  36. package/generated/src/apis/SkillsApi.js +98 -0
  37. package/generated/src/apis/TextRefinementApi.d.ts +32 -0
  38. package/generated/src/apis/TextRefinementApi.d.ts.map +1 -0
  39. package/generated/src/apis/TextRefinementApi.js +59 -0
  40. package/generated/src/apis/ToolsetsApi.d.ts.map +1 -1
  41. package/generated/src/apis/ToolsetsApi.js +77 -0
  42. package/generated/src/apis/TranscriptionApi.d.ts.map +1 -1
  43. package/generated/src/apis/TranscriptionApi.js +7 -0
  44. package/generated/src/apis/UserApi.d.ts +30 -8
  45. package/generated/src/apis/UserApi.d.ts.map +1 -1
  46. package/generated/src/apis/UserApi.js +45 -11
  47. package/generated/src/apis/UserConfigApi.d.ts.map +1 -1
  48. package/generated/src/apis/UserConfigApi.js +49 -0
  49. package/generated/src/apis/index.d.ts +2 -0
  50. package/generated/src/apis/index.d.ts.map +1 -1
  51. package/generated/src/apis/index.js +2 -0
  52. package/generated/src/models/index.d.ts +297 -12
  53. package/generated/src/models/index.d.ts.map +1 -1
  54. package/generated/src/models/index.js +35 -1
  55. package/package.json +1 -1
  56. package/tsconfig.lib.tsbuildinfo +1 -1
@@ -649,6 +649,18 @@ export interface ApplicationVisualizerDto {
649
649
  * @memberof ApplicationVisualizerDto
650
650
  */
651
651
  passExplicitToken?: boolean;
652
+ /**
653
+ * When true, the inline frame renders without its border, rounded corners, background, and header divider. Carried over from legacy Chat 0.x.
654
+ * @type {boolean}
655
+ * @memberof ApplicationVisualizerDto
656
+ */
657
+ borderless?: boolean;
658
+ /**
659
+ * When true, the inline frame hides its header title text; the header actions stay visible. Carried over from legacy Chat 0.x.
660
+ * @type {boolean}
661
+ * @memberof ApplicationVisualizerDto
662
+ */
663
+ withoutTitle?: boolean;
652
664
  }
653
665
  /**
654
666
  *
@@ -682,7 +694,7 @@ export interface ArchiveItemDto {
682
694
  */
683
695
  path: string;
684
696
  /**
685
- * Display name for archive entry
697
+ * Display name for archive entry; a single path segment (no "/", "\", "." or "..")
686
698
  * @type {string}
687
699
  * @memberof ArchiveItemDto
688
700
  */
@@ -789,6 +801,42 @@ export interface AttachmentResourceDto {
789
801
  */
790
802
  title?: string;
791
803
  }
804
+ /**
805
+ *
806
+ * @export
807
+ * @interface BackgroundGenerationDto
808
+ */
809
+ export interface BackgroundGenerationDto {
810
+ /**
811
+ * Client-supplied generation id of the request that started the background job; identifies this message across saves.
812
+ * @type {string}
813
+ * @memberof BackgroundGenerationDto
814
+ */
815
+ generationId: string;
816
+ /**
817
+ * pending while the job runs or its result is not saved yet; completed, stopped or failed once the final state is saved.
818
+ * @type {BackgroundGenerationStatus}
819
+ * @memberof BackgroundGenerationDto
820
+ */
821
+ status: BackgroundGenerationStatus;
822
+ /**
823
+ * Server time (epoch ms) at which the pending placeholder was saved.
824
+ * @type {number}
825
+ * @memberof BackgroundGenerationDto
826
+ */
827
+ startedAt: number;
828
+ }
829
+ /**
830
+ * pending while the job runs or its result is not saved yet; completed, stopped or failed once the final state is saved.
831
+ * @export
832
+ */
833
+ export declare const BackgroundGenerationStatus: {
834
+ readonly Pending: "pending";
835
+ readonly Completed: "completed";
836
+ readonly Stopped: "stopped";
837
+ readonly Failed: "failed";
838
+ };
839
+ export type BackgroundGenerationStatus = (typeof BackgroundGenerationStatus)[keyof typeof BackgroundGenerationStatus];
792
840
  /**
793
841
  *
794
842
  * @export
@@ -921,13 +969,13 @@ export interface Check200Response {
921
969
  */
922
970
  timestamp?: string;
923
971
  /**
924
- * Application version. Sourced from CHAT_VERSION; falls back to the application package.json version when that env var is unset or blank. Matches the appVersion reported by the client config endpoint.
972
+ * Application version. Sourced from CHAT_VERSION; falls back to the workspace root package.json version — the one the release pipeline stamps — when that env var is unset or blank. Matches the appVersion reported by the client config endpoint.
925
973
  * @type {string}
926
974
  * @memberof Check200Response
927
975
  */
928
976
  version?: string;
929
977
  /**
930
- * Stable identifier for the running deployment, derived from a hash of the served frontend build. Changes when a new deployment replaces the frontend static assets, letting long-lived clients detect that a reload will pick up a newer build.
978
+ * Stable identifier for the running deployment, derived from a hash of the served frontend build, or of the application version when no frontend is bundled (BFF-only image). Changes when a new deployment replaces the frontend static assets or the version, letting long-lived clients detect that a reload will pick up a newer build.
931
979
  * @type {string}
932
980
  * @memberof Check200Response
933
981
  */
@@ -940,7 +988,19 @@ export interface Check200Response {
940
988
  */
941
989
  export interface ClientConfigDto {
942
990
  /**
943
- * Version string of the running chat application. Sourced from CHAT_VERSION; falls back to the application package.json version when that env var is unset or blank. Always a non-empty string.
991
+ * Whether a text refinement model is configured. Missing means unavailable.
992
+ * @type {boolean}
993
+ * @memberof ClientConfigDto
994
+ */
995
+ aiTextRefinementAvailable?: boolean;
996
+ /**
997
+ * 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.
998
+ * @type {string}
999
+ * @memberof ClientConfigDto
1000
+ */
1001
+ activeEventId: string | null;
1002
+ /**
1003
+ * Version string of the running chat application. Sourced from CHAT_VERSION; falls back to the workspace root package.json version — the one the release pipeline stamps — when that env var is unset or blank. Always a non-empty string.
944
1004
  * @type {string}
945
1005
  * @memberof ClientConfigDto
946
1006
  */
@@ -982,7 +1042,7 @@ export interface ClientConfigDto {
982
1042
  */
983
1043
  mcpAppTheme?: ClientConfigDtoMcpAppThemeEnum | null;
984
1044
  /**
985
- * Host application identifier sent to MCP App Views in hostContext.userAgent. Null when MCP_APP_USER_AGENT is not configured — defaults to "ai-dial-chat" on the client.
1045
+ * Host application identifier sent to MCP App Views in hostContext.userAgent. Null when MCP_APP_USER_AGENT is not configured — the client then falls back to the browser's navigator.userAgent.
986
1046
  * @type {string}
987
1047
  * @memberof ClientConfigDto
988
1048
  */
@@ -994,7 +1054,7 @@ export interface ClientConfigDto {
994
1054
  */
995
1055
  mcpAppHostName?: string | null;
996
1056
  /**
997
- * Which File Manager tabs are shown to users. Defaults to all three currently-supported tabs.
1057
+ * Which File Manager tabs are shown to users. Defaults to the All tab plus the three source tabs.
998
1058
  * @type {Array<string>}
999
1059
  * @memberof ClientConfigDto
1000
1060
  */
@@ -1011,6 +1071,12 @@ export interface ClientConfigDto {
1011
1071
  * @memberof ClientConfigDto
1012
1072
  */
1013
1073
  overlayAllowedOrigins: Array<string>;
1074
+ /**
1075
+ * Trusted HTTP(S) connection origins from ALLOWED_CONNECT_ORIGINS, including leading *. subdomain patterns. PDF previews use browser credentials for matching external origins and reject redirects. Empty by default; upstream credentialed CORS and browser cookie policy still apply.
1076
+ * @type {Array<string>}
1077
+ * @memberof ClientConfigDto
1078
+ */
1079
+ allowedConnectOrigins?: Array<string>;
1014
1080
  /**
1015
1081
  * When set, the complete list of OverlayFeature values that are enabled (replace semantics). Sourced from ENABLED_UI_FEATURES, filtered to recognized values. When null, the compiled-in DEFAULT_ENABLED_UI_FEATURES baseline is used. Does not affect an overlay host that supplies its own enabledFeatures.
1016
1082
  * @type {Array<string>}
@@ -1224,6 +1290,12 @@ export interface ConversationListItemDto {
1224
1290
  * @memberof ConversationListItemDto
1225
1291
  */
1226
1292
  title: string;
1293
+ /**
1294
+ * Unix epoch milliseconds of the resource creation, as reported by DIAL Core metadata. Absent when DIAL Core does not report it, and always absent for conversations shared with the current user.
1295
+ * @type {number}
1296
+ * @memberof ConversationListItemDto
1297
+ */
1298
+ createdAt?: number;
1227
1299
  /**
1228
1300
  * Unix epoch milliseconds of the last update.
1229
1301
  * @type {number}
@@ -1421,11 +1493,17 @@ export interface ConversationMessageDto {
1421
1493
  */
1422
1494
  streamErrorMessage?: string;
1423
1495
  /**
1424
- * DIAL Responses API id for this message, set only when the generation was routed through the Responses adapter. Diagnostic only — never used to resume a generation (previous_response_id/conversation are never sent).
1496
+ * DIAL Responses API id for this message, set only when the generation was routed through the Responses adapter. On the stateless path it is diagnostic only; on the background path it is also the key used to recover, replay, stop and clean up the DIAL Core job. Never sent as previous_response_id/conversation.
1425
1497
  * @type {string}
1426
1498
  * @memberof ConversationMessageDto
1427
1499
  */
1428
1500
  responseId?: string;
1501
+ /**
1502
+ * Present only on an assistant message produced by a DIAL Core background Responses job. Server-owned: client saves cannot change it while its status is pending.
1503
+ * @type {BackgroundGenerationDto}
1504
+ * @memberof ConversationMessageDto
1505
+ */
1506
+ backgroundGeneration?: BackgroundGenerationDto;
1429
1507
  /**
1430
1508
  * Deployment that produced this message. Present on assistant and status messages.
1431
1509
  * @type {string}
@@ -1618,6 +1696,14 @@ export interface ConversationResponseDto {
1618
1696
  * @memberof ConversationResponseDto
1619
1697
  */
1620
1698
  llmNamingDone?: boolean;
1699
+ /**
1700
+ * Open, feature-keyed container for conversation-level view state. Currently defines exactly one key, `annotations`, holding the pool of html_tag citation annotations accumulated across the conversation. Any other key is opaque and preserved as-is.
1701
+ * @type {{ [key: string]: unknown }}
1702
+ * @memberof ConversationResponseDto
1703
+ */
1704
+ customViewState?: {
1705
+ [key: string]: unknown;
1706
+ };
1621
1707
  }
1622
1708
  /**
1623
1709
  * @export
@@ -2027,11 +2113,17 @@ export interface CreateScheduledTaskBodyDto {
2027
2113
  */
2028
2114
  model: string;
2029
2115
  /**
2030
- *
2116
+ * Instructions; may be empty when the effective task has a skill.
2031
2117
  * @type {string}
2032
2118
  * @memberof CreateScheduledTaskBodyDto
2033
2119
  */
2034
2120
  prompt: string;
2121
+ /**
2122
+ * DIAL skill references with paths of at most 1024 decoded characters each. Omission preserves saved skills on update; an empty array removes them.
2123
+ * @type {Array<string>}
2124
+ * @memberof CreateScheduledTaskBodyDto
2125
+ */
2126
+ skillUrls?: Array<string>;
2035
2127
  /**
2036
2128
  *
2037
2129
  * @type {string}
@@ -2153,6 +2245,12 @@ export interface CreatedScheduledTaskDto {
2153
2245
  * @memberof CreatedScheduledTaskDto
2154
2246
  */
2155
2247
  isActive?: boolean;
2248
+ /**
2249
+ * True when the schedule can no longer produce a future run: either a one-time (date-trigger) schedule whose newest run terminated with Success or Error, or a recurring schedule whose cron activity window has closed with no upcoming run. Undefined when the run-history check failed; computed by ScheduledTasksService, not by fromUpstreamSchedule (which cannot see runs).
2250
+ * @type {boolean}
2251
+ * @memberof CreatedScheduledTaskDto
2252
+ */
2253
+ isCompleted?: boolean;
2156
2254
  /**
2157
2255
  *
2158
2256
  * @type {boolean}
@@ -2189,6 +2287,12 @@ export interface CreatedScheduledTaskDto {
2189
2287
  * @memberof CreatedScheduledTaskDto
2190
2288
  */
2191
2289
  prompt?: string;
2290
+ /**
2291
+ *
2292
+ * @type {Array<string>}
2293
+ * @memberof CreatedScheduledTaskDto
2294
+ */
2295
+ skillUrls?: Array<string>;
2192
2296
  }
2193
2297
  /**
2194
2298
  * @export
@@ -2198,6 +2302,21 @@ export declare const CreatedScheduledTaskDtoTriggerTypeEnum: {
2198
2302
  readonly Date: "date";
2199
2303
  };
2200
2304
  export type CreatedScheduledTaskDtoTriggerTypeEnum = (typeof CreatedScheduledTaskDtoTriggerTypeEnum)[keyof typeof CreatedScheduledTaskDtoTriggerTypeEnum];
2305
+ /**
2306
+ *
2307
+ * @export
2308
+ * @interface CustomApiResponseDto
2309
+ */
2310
+ export interface CustomApiResponseDto {
2311
+ /**
2312
+ * Opaque JSON value returned by the configured Core operation. Documented as a free-form object; the actual value may also be an array, string, number, boolean, or null — see the generated-typing note on this field.
2313
+ * @type {{ [key: string]: unknown }}
2314
+ * @memberof CustomApiResponseDto
2315
+ */
2316
+ data: {
2317
+ [key: string]: unknown;
2318
+ };
2319
+ }
2201
2320
  /**
2202
2321
  *
2203
2322
  * @export
@@ -2677,6 +2796,12 @@ export interface DeploymentFeaturesDto {
2677
2796
  * @memberof DeploymentFeaturesDto
2678
2797
  */
2679
2798
  skillsSupported?: boolean;
2799
+ /**
2800
+ * Whether the deployment supports tools/functions in chat completion requests
2801
+ * @type {boolean}
2802
+ * @memberof DeploymentFeaturesDto
2803
+ */
2804
+ tools?: boolean;
2680
2805
  }
2681
2806
  /**
2682
2807
  *
@@ -5596,6 +5721,38 @@ export declare const RateMessageDtoRateEnum: {
5596
5721
  readonly NUMBER_MINUS_1: -1;
5597
5722
  };
5598
5723
  export type RateMessageDtoRateEnum = (typeof RateMessageDtoRateEnum)[keyof typeof RateMessageDtoRateEnum];
5724
+ /**
5725
+ *
5726
+ * @export
5727
+ * @interface RefineTextRequestDto
5728
+ */
5729
+ export interface RefineTextRequestDto {
5730
+ /**
5731
+ * Server-owned rewriting purpose
5732
+ * @type {TextRefinementPurpose}
5733
+ * @memberof RefineTextRequestDto
5734
+ */
5735
+ purpose: TextRefinementPurpose;
5736
+ /**
5737
+ * Exact nonblank draft. Unicode code point limits: skill Description 4000, task Description 500, application/toolset/prompt Description 2000, either Instructions 32000.
5738
+ * @type {string}
5739
+ * @memberof RefineTextRequestDto
5740
+ */
5741
+ text: string;
5742
+ }
5743
+ /**
5744
+ *
5745
+ * @export
5746
+ * @interface RefineTextResponseDto
5747
+ */
5748
+ export interface RefineTextResponseDto {
5749
+ /**
5750
+ * Complete refined draft, bounded by the same purpose-specific Unicode limits as the input.
5751
+ * @type {string}
5752
+ * @memberof RefineTextResponseDto
5753
+ */
5754
+ text: string;
5755
+ }
5599
5756
  /**
5600
5757
  *
5601
5758
  * @export
@@ -5961,6 +6118,12 @@ export interface ScheduledTaskDto {
5961
6118
  * @memberof ScheduledTaskDto
5962
6119
  */
5963
6120
  isActive?: boolean;
6121
+ /**
6122
+ * True when the schedule can no longer produce a future run: either a one-time (date-trigger) schedule whose newest run terminated with Success or Error, or a recurring schedule whose cron activity window has closed with no upcoming run. Undefined when the run-history check failed; computed by ScheduledTasksService, not by fromUpstreamSchedule (which cannot see runs).
6123
+ * @type {boolean}
6124
+ * @memberof ScheduledTaskDto
6125
+ */
6126
+ isCompleted?: boolean;
5964
6127
  /**
5965
6128
  *
5966
6129
  * @type {boolean}
@@ -5997,6 +6160,12 @@ export interface ScheduledTaskDto {
5997
6160
  * @memberof ScheduledTaskDto
5998
6161
  */
5999
6162
  prompt?: string;
6163
+ /**
6164
+ *
6165
+ * @type {Array<string>}
6166
+ * @memberof ScheduledTaskDto
6167
+ */
6168
+ skillUrls?: Array<string>;
6000
6169
  }
6001
6170
  /**
6002
6171
  * @export
@@ -6006,6 +6175,17 @@ export declare const ScheduledTaskDtoTriggerTypeEnum: {
6006
6175
  readonly Date: "date";
6007
6176
  };
6008
6177
  export type ScheduledTaskDtoTriggerTypeEnum = (typeof ScheduledTaskDtoTriggerTypeEnum)[keyof typeof ScheduledTaskDtoTriggerTypeEnum];
6178
+ /**
6179
+ *
6180
+ * @export
6181
+ */
6182
+ export declare const ScheduledTaskErrorCode: {
6183
+ readonly ScheduledTaskSkillUnsupported: "scheduledTaskSkillUnsupported";
6184
+ readonly ScheduledTaskInstructionsOrSkillRequired: "scheduledTaskInstructionsOrSkillRequired";
6185
+ readonly ScheduledTaskDeploymentUnavailable: "scheduledTaskDeploymentUnavailable";
6186
+ readonly ScheduledTaskAdminConsentRequired: "scheduledTaskAdminConsentRequired";
6187
+ };
6188
+ export type ScheduledTaskErrorCode = (typeof ScheduledTaskErrorCode)[keyof typeof ScheduledTaskErrorCode];
6009
6189
  /**
6010
6190
  *
6011
6191
  * @export
@@ -6048,6 +6228,12 @@ export interface ScheduledTaskRunDto {
6048
6228
  * @memberof ScheduledTaskRunDto
6049
6229
  */
6050
6230
  conversationId?: string;
6231
+ /**
6232
+ * Failure stage reported by DIAL Scheduler. Only a string result.stage is exposed.
6233
+ * @type {string}
6234
+ * @memberof ScheduledTaskRunDto
6235
+ */
6236
+ resultStage?: string;
6051
6237
  }
6052
6238
  /**
6053
6239
  * @export
@@ -6059,6 +6245,61 @@ export declare const ScheduledTaskRunDtoStatusEnum: {
6059
6245
  readonly Missed: "Missed";
6060
6246
  };
6061
6247
  export type ScheduledTaskRunDtoStatusEnum = (typeof ScheduledTaskRunDtoStatusEnum)[keyof typeof ScheduledTaskRunDtoStatusEnum];
6248
+ /**
6249
+ *
6250
+ * @export
6251
+ * @interface ScheduledTaskValidationErrorDto
6252
+ */
6253
+ export interface ScheduledTaskValidationErrorDto {
6254
+ /**
6255
+ *
6256
+ * @type {number}
6257
+ * @memberof ScheduledTaskValidationErrorDto
6258
+ */
6259
+ statusCode: number;
6260
+ /**
6261
+ *
6262
+ * @type {ScheduledTaskValidationErrorDtoMessage}
6263
+ * @memberof ScheduledTaskValidationErrorDto
6264
+ */
6265
+ message: ScheduledTaskValidationErrorDtoMessage;
6266
+ /**
6267
+ *
6268
+ * @type {string}
6269
+ * @memberof ScheduledTaskValidationErrorDto
6270
+ */
6271
+ error: string;
6272
+ /**
6273
+ *
6274
+ * @type {ScheduledTaskErrorCode}
6275
+ * @memberof ScheduledTaskValidationErrorDto
6276
+ */
6277
+ code?: ScheduledTaskErrorCode;
6278
+ /**
6279
+ *
6280
+ * @type {string}
6281
+ * @memberof ScheduledTaskValidationErrorDto
6282
+ */
6283
+ field?: string;
6284
+ /**
6285
+ * DIAL Scheduler's own error reason, trimmed and capped at 1000 characters. Never present for 401/403/404.
6286
+ * @type {string}
6287
+ * @memberof ScheduledTaskValidationErrorDto
6288
+ */
6289
+ upstreamMessage?: string;
6290
+ /**
6291
+ * DIAL Scheduler's own error code (matches ^[A-Za-z0-9_.:-]{1,128}$). Never present for 401/403/404.
6292
+ * @type {string}
6293
+ * @memberof ScheduledTaskValidationErrorDto
6294
+ */
6295
+ upstreamCode?: string;
6296
+ }
6297
+ /**
6298
+ * @type ScheduledTaskValidationErrorDtoMessage
6299
+ *
6300
+ * @export
6301
+ */
6302
+ export type ScheduledTaskValidationErrorDtoMessage = Array<string> | string;
6062
6303
  /**
6063
6304
  *
6064
6305
  * @export
@@ -6137,11 +6378,11 @@ export interface ShareLinkResponseDto {
6137
6378
  */
6138
6379
  url: string;
6139
6380
  /**
6140
- * Number of days the link stays active before expiring.
6381
+ * Days until the DIAL Core invitation expires, rounded up. Omitted when DIAL Core does not report a usable expiry.
6141
6382
  * @type {number}
6142
6383
  * @memberof ShareLinkResponseDto
6143
6384
  */
6144
- expiresInDays: number;
6385
+ expiresInDays?: number;
6145
6386
  /**
6146
6387
  * Access levels granted to holders of the share link. Edit access implies view access, so this is `[View, Edit]` rather than `[Edit]` alone.
6147
6388
  * @type {Array<string>}
@@ -6544,6 +6785,12 @@ export interface StageDto {
6544
6785
  * @memberof StageDto
6545
6786
  */
6546
6787
  attachments?: Array<StageAttachmentDto>;
6788
+ /**
6789
+ * Index of the parent stage. In a streaming delta it is the parent's streaming `index` and is sent only on the chunk that opens the child; in a complete array without `index` values it is the parent's array position. Absent for a top-level stage
6790
+ * @type {number}
6791
+ * @memberof StageDto
6792
+ */
6793
+ parentStageIndex?: number;
6547
6794
  }
6548
6795
  /**
6549
6796
  * @export
@@ -6571,7 +6818,27 @@ export interface StopCompletionDto {
6571
6818
  * @memberof StopCompletionDto
6572
6819
  */
6573
6820
  path: string;
6821
+ /**
6822
+ * Answer text the client has shown so far. Saved as the stopped answer of a background generation, whose text the backend never assembles; ignored for every other generation, whose answer the backend already holds.
6823
+ * @type {string}
6824
+ * @memberof StopCompletionDto
6825
+ */
6826
+ content?: string;
6574
6827
  }
6828
+ /**
6829
+ * Server-owned rewriting purpose
6830
+ * @export
6831
+ */
6832
+ export declare const TextRefinementPurpose: {
6833
+ readonly SkillDescription: "skill-description";
6834
+ readonly SkillInstructions: "skill-instructions";
6835
+ readonly ScheduledTaskDescription: "scheduled-task-description";
6836
+ readonly ScheduledTaskInstructions: "scheduled-task-instructions";
6837
+ readonly ApplicationDescription: "application-description";
6838
+ readonly ToolsetDescription: "toolset-description";
6839
+ readonly PromptDescription: "prompt-description";
6840
+ };
6841
+ export type TextRefinementPurpose = (typeof TextRefinementPurpose)[keyof typeof TextRefinementPurpose];
6575
6842
  /**
6576
6843
  *
6577
6844
  * @export
@@ -7499,11 +7766,17 @@ export interface UpdateScheduledTaskBodyDto {
7499
7766
  */
7500
7767
  model: string;
7501
7768
  /**
7502
- *
7769
+ * Instructions; may be empty when the effective task has a skill.
7503
7770
  * @type {string}
7504
7771
  * @memberof UpdateScheduledTaskBodyDto
7505
7772
  */
7506
7773
  prompt: string;
7774
+ /**
7775
+ * DIAL skill references with paths of at most 1024 decoded characters each. Omission preserves saved skills on update; an empty array removes them.
7776
+ * @type {Array<string>}
7777
+ * @memberof UpdateScheduledTaskBodyDto
7778
+ */
7779
+ skillUrls?: Array<string>;
7507
7780
  /**
7508
7781
  *
7509
7782
  * @type {string}
@@ -7603,6 +7876,12 @@ export interface UpdatedScheduledTaskDto {
7603
7876
  * @memberof UpdatedScheduledTaskDto
7604
7877
  */
7605
7878
  isActive?: boolean;
7879
+ /**
7880
+ * True when the schedule can no longer produce a future run: either a one-time (date-trigger) schedule whose newest run terminated with Success or Error, or a recurring schedule whose cron activity window has closed with no upcoming run. Undefined when the run-history check failed; computed by ScheduledTasksService, not by fromUpstreamSchedule (which cannot see runs).
7881
+ * @type {boolean}
7882
+ * @memberof UpdatedScheduledTaskDto
7883
+ */
7884
+ isCompleted?: boolean;
7606
7885
  /**
7607
7886
  *
7608
7887
  * @type {boolean}
@@ -7639,6 +7918,12 @@ export interface UpdatedScheduledTaskDto {
7639
7918
  * @memberof UpdatedScheduledTaskDto
7640
7919
  */
7641
7920
  prompt?: string;
7921
+ /**
7922
+ *
7923
+ * @type {Array<string>}
7924
+ * @memberof UpdatedScheduledTaskDto
7925
+ */
7926
+ skillUrls?: Array<string>;
7642
7927
  }
7643
7928
  /**
7644
7929
  * @export
@@ -7736,7 +8021,7 @@ export interface UserConfigDto {
7736
8021
  */
7737
8022
  export interface UserLimitStatsResponseDto {
7738
8023
  /**
7739
- * Per-deployment rate-limit and calendar-period usage stats, keyed by deployment name. Models only — applications, toolsets, and routes never appear here. On GET /v1/user/limits every deployment visible to the caller is present, including ones never used (reported against zero usage). On GET /v1/user/usage only deployments the caller used within the currently reported calendar periods are present; absence means zero usage, not "unknown".
8024
+ * Per-deployment rate-limit and calendar-period usage stats, keyed by deployment name. Contains only the deployment kinds selected by the request `deploymentTypes` (models and/or applications); when the request omits it, the server-configured default kinds are reported (models and applications unless USER_USAGE_DEPLOYMENT_TYPES narrows them). Toolsets and routes never appear here. On GET /v1/user/limits every deployment of those kinds visible to the caller is present, including ones never used (reported against zero usage). On GET /v1/user/usage only deployments the caller used within the currently reported calendar periods are present; absence means zero usage, not "unknown".
7740
8025
  * @type {{ [key: string]: DeploymentLimitsResponseDto; }}
7741
8026
  * @memberof UserLimitStatsResponseDto
7742
8027
  */