@epam/ai-dial-chat-api-client 1.2.0-dev.28 → 1.2.0-dev.284

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 (31) hide show
  1. package/generated/src/apis/CustomApiApi.d.ts +32 -0
  2. package/generated/src/apis/CustomApiApi.d.ts.map +1 -0
  3. package/generated/src/apis/CustomApiApi.js +51 -0
  4. package/generated/src/apis/ExternalServicesApi.d.ts +14 -1
  5. package/generated/src/apis/ExternalServicesApi.d.ts.map +1 -1
  6. package/generated/src/apis/ExternalServicesApi.js +28 -0
  7. package/generated/src/apis/FilesApi.d.ts +8 -0
  8. package/generated/src/apis/FilesApi.d.ts.map +1 -1
  9. package/generated/src/apis/FilesApi.js +27 -0
  10. package/generated/src/apis/PublishApi.d.ts +2 -2
  11. package/generated/src/apis/PublishApi.js +2 -2
  12. package/generated/src/apis/ScheduledTasksApi.d.ts +32 -5
  13. package/generated/src/apis/ScheduledTasksApi.d.ts.map +1 -1
  14. package/generated/src/apis/ScheduledTasksApi.js +64 -4
  15. package/generated/src/apis/SkillsApi.d.ts +15 -1
  16. package/generated/src/apis/SkillsApi.d.ts.map +1 -1
  17. package/generated/src/apis/SkillsApi.js +36 -0
  18. package/generated/src/apis/TextRefinementApi.d.ts +32 -0
  19. package/generated/src/apis/TextRefinementApi.d.ts.map +1 -0
  20. package/generated/src/apis/TextRefinementApi.js +52 -0
  21. package/generated/src/apis/UserApi.d.ts +30 -8
  22. package/generated/src/apis/UserApi.d.ts.map +1 -1
  23. package/generated/src/apis/UserApi.js +31 -11
  24. package/generated/src/apis/index.d.ts +2 -0
  25. package/generated/src/apis/index.d.ts.map +1 -1
  26. package/generated/src/apis/index.js +2 -0
  27. package/generated/src/models/index.d.ts +437 -12
  28. package/generated/src/models/index.d.ts.map +1 -1
  29. package/generated/src/models/index.js +52 -1
  30. package/package.json +1 -1
  31. package/tsconfig.lib.tsbuildinfo +1 -1
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export interface AcceptInvitationResponseDto {
7
7
  /**
8
- * Identifier (DIAL Core resource path) of the entity the invitation grants access to.
8
+ * Identifier (DIAL Core resource path) of the entity the invitation grants access to. A prompt path is returned decoded, matching the id its listing endpoints report.
9
9
  * @type {string}
10
10
  * @memberof AcceptInvitationResponseDto
11
11
  */
@@ -432,6 +432,95 @@ export interface ApplicationDto {
432
432
  */
433
433
  maxInputAttachments?: number;
434
434
  }
435
+ /**
436
+ *
437
+ * @export
438
+ * @interface ApplicationExternalServiceDto
439
+ */
440
+ export interface ApplicationExternalServiceDto {
441
+ /**
442
+ *
443
+ * @type {string}
444
+ * @memberof ApplicationExternalServiceDto
445
+ */
446
+ displayName: string;
447
+ /**
448
+ *
449
+ * @type {string}
450
+ * @memberof ApplicationExternalServiceDto
451
+ */
452
+ description?: string;
453
+ /**
454
+ *
455
+ * @type {string}
456
+ * @memberof ApplicationExternalServiceDto
457
+ */
458
+ authenticationType: ApplicationExternalServiceDtoAuthenticationTypeEnum;
459
+ /**
460
+ * USER-level credential status ('SIGNED_IN' | 'SIGNED_OUT' | 'FAILED'), when Core reports one.
461
+ * @type {string}
462
+ * @memberof ApplicationExternalServiceDto
463
+ */
464
+ userLevelAuthStatus?: string;
465
+ /**
466
+ * APPLICATION-level status. For DIAL_NATIVE, indicates application consent managed by an administrator.
467
+ * @type {string}
468
+ * @memberof ApplicationExternalServiceDto
469
+ */
470
+ appLevelAuthStatus?: string;
471
+ /**
472
+ * GLOBAL-level credential status ('SIGNED_IN' | 'SIGNED_OUT' | 'FAILED'), when Core reports one.
473
+ * @type {string}
474
+ * @memberof ApplicationExternalServiceDto
475
+ */
476
+ globalAuthStatus?: string;
477
+ /**
478
+ *
479
+ * @type {string}
480
+ * @memberof ApplicationExternalServiceDto
481
+ */
482
+ clientId?: string;
483
+ /**
484
+ *
485
+ * @type {string}
486
+ * @memberof ApplicationExternalServiceDto
487
+ */
488
+ authorizationEndpoint?: string;
489
+ /**
490
+ *
491
+ * @type {Array<string>}
492
+ * @memberof ApplicationExternalServiceDto
493
+ */
494
+ scopesSupported?: Array<string>;
495
+ /**
496
+ *
497
+ * @type {string}
498
+ * @memberof ApplicationExternalServiceDto
499
+ */
500
+ codeChallenge?: string;
501
+ /**
502
+ *
503
+ * @type {string}
504
+ * @memberof ApplicationExternalServiceDto
505
+ */
506
+ codeChallengeMethod?: string;
507
+ /**
508
+ * External-service identifier within the application
509
+ * @type {string}
510
+ * @memberof ApplicationExternalServiceDto
511
+ */
512
+ id: string;
513
+ }
514
+ /**
515
+ * @export
516
+ */
517
+ export declare const ApplicationExternalServiceDtoAuthenticationTypeEnum: {
518
+ readonly None: "NONE";
519
+ readonly ApiKey: "API_KEY";
520
+ readonly Oauth: "OAUTH";
521
+ readonly DialNative: "DIAL_NATIVE";
522
+ };
523
+ export type ApplicationExternalServiceDtoAuthenticationTypeEnum = (typeof ApplicationExternalServiceDtoAuthenticationTypeEnum)[keyof typeof ApplicationExternalServiceDtoAuthenticationTypeEnum];
435
524
  /**
436
525
  *
437
526
  * @export
@@ -560,6 +649,18 @@ export interface ApplicationVisualizerDto {
560
649
  * @memberof ApplicationVisualizerDto
561
650
  */
562
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;
563
664
  }
564
665
  /**
565
666
  *
@@ -700,6 +801,42 @@ export interface AttachmentResourceDto {
700
801
  */
701
802
  title?: string;
702
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];
703
840
  /**
704
841
  *
705
842
  * @export
@@ -832,13 +969,13 @@ export interface Check200Response {
832
969
  */
833
970
  timestamp?: string;
834
971
  /**
835
- * 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.
836
973
  * @type {string}
837
974
  * @memberof Check200Response
838
975
  */
839
976
  version?: string;
840
977
  /**
841
- * 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.
842
979
  * @type {string}
843
980
  * @memberof Check200Response
844
981
  */
@@ -851,7 +988,19 @@ export interface Check200Response {
851
988
  */
852
989
  export interface ClientConfigDto {
853
990
  /**
854
- * 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.
855
1004
  * @type {string}
856
1005
  * @memberof ClientConfigDto
857
1006
  */
@@ -893,13 +1042,19 @@ export interface ClientConfigDto {
893
1042
  */
894
1043
  mcpAppTheme?: ClientConfigDtoMcpAppThemeEnum | null;
895
1044
  /**
896
- * 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.
897
1046
  * @type {string}
898
1047
  * @memberof ClientConfigDto
899
1048
  */
900
1049
  mcpAppUserAgent?: string | null;
901
1050
  /**
902
- * Which File Manager tabs are shown to users. Defaults to all three currently-supported tabs.
1051
+ * Host application identifier sent to every mounted MCP App as hostInfo.name during its ui/initialize handshake. Null when MCP_APP_HOST_NAME is not configured — defaults to "ai-dial-chat" on the client.
1052
+ * @type {string}
1053
+ * @memberof ClientConfigDto
1054
+ */
1055
+ mcpAppHostName?: string | null;
1056
+ /**
1057
+ * Which File Manager tabs are shown to users. Defaults to the All tab plus the three source tabs.
903
1058
  * @type {Array<string>}
904
1059
  * @memberof ClientConfigDto
905
1060
  */
@@ -916,6 +1071,12 @@ export interface ClientConfigDto {
916
1071
  * @memberof ClientConfigDto
917
1072
  */
918
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>;
919
1080
  /**
920
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.
921
1082
  * @type {Array<string>}
@@ -986,6 +1147,12 @@ export interface ClientConfigDto {
986
1147
  * @memberof ClientConfigDto
987
1148
  */
988
1149
  publicationFilterSources: Array<string>;
1150
+ /**
1151
+ * Maximum attachment/upload file size in bytes. Sourced from FILE_UPLOAD_MAX_BYTES — the same variable that bounds the POST /api/v1/files Multer limit — so the client can reject an oversized file before attempting to upload it.
1152
+ * @type {number}
1153
+ * @memberof ClientConfigDto
1154
+ */
1155
+ maxAttachmentFileSizeBytes: number;
989
1156
  }
990
1157
  /**
991
1158
  * @export
@@ -1123,6 +1290,12 @@ export interface ConversationListItemDto {
1123
1290
  * @memberof ConversationListItemDto
1124
1291
  */
1125
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;
1126
1299
  /**
1127
1300
  * Unix epoch milliseconds of the last update.
1128
1301
  * @type {number}
@@ -1320,11 +1493,17 @@ export interface ConversationMessageDto {
1320
1493
  */
1321
1494
  streamErrorMessage?: string;
1322
1495
  /**
1323
- * 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.
1324
1497
  * @type {string}
1325
1498
  * @memberof ConversationMessageDto
1326
1499
  */
1327
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;
1328
1507
  /**
1329
1508
  * Deployment that produced this message. Present on assistant and status messages.
1330
1509
  * @type {string}
@@ -1517,6 +1696,14 @@ export interface ConversationResponseDto {
1517
1696
  * @memberof ConversationResponseDto
1518
1697
  */
1519
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
+ };
1520
1707
  }
1521
1708
  /**
1522
1709
  * @export
@@ -1926,11 +2113,17 @@ export interface CreateScheduledTaskBodyDto {
1926
2113
  */
1927
2114
  model: string;
1928
2115
  /**
1929
- *
2116
+ * Instructions; may be empty when the effective task has a skill.
1930
2117
  * @type {string}
1931
2118
  * @memberof CreateScheduledTaskBodyDto
1932
2119
  */
1933
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>;
1934
2127
  /**
1935
2128
  *
1936
2129
  * @type {string}
@@ -2052,6 +2245,12 @@ export interface CreatedScheduledTaskDto {
2052
2245
  * @memberof CreatedScheduledTaskDto
2053
2246
  */
2054
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;
2055
2254
  /**
2056
2255
  *
2057
2256
  * @type {boolean}
@@ -2088,6 +2287,12 @@ export interface CreatedScheduledTaskDto {
2088
2287
  * @memberof CreatedScheduledTaskDto
2089
2288
  */
2090
2289
  prompt?: string;
2290
+ /**
2291
+ *
2292
+ * @type {Array<string>}
2293
+ * @memberof CreatedScheduledTaskDto
2294
+ */
2295
+ skillUrls?: Array<string>;
2091
2296
  }
2092
2297
  /**
2093
2298
  * @export
@@ -2097,6 +2302,21 @@ export declare const CreatedScheduledTaskDtoTriggerTypeEnum: {
2097
2302
  readonly Date: "date";
2098
2303
  };
2099
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
+ }
2100
2320
  /**
2101
2321
  *
2102
2322
  * @export
@@ -2576,6 +2796,12 @@ export interface DeploymentFeaturesDto {
2576
2796
  * @memberof DeploymentFeaturesDto
2577
2797
  */
2578
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;
2579
2805
  }
2580
2806
  /**
2581
2807
  *
@@ -4058,6 +4284,12 @@ export interface GetExternalServiceResponseDto {
4058
4284
  * @memberof GetExternalServiceResponseDto
4059
4285
  */
4060
4286
  userLevelAuthStatus?: string;
4287
+ /**
4288
+ * APPLICATION-level status. For DIAL_NATIVE, indicates application consent managed by an administrator.
4289
+ * @type {string}
4290
+ * @memberof GetExternalServiceResponseDto
4291
+ */
4292
+ appLevelAuthStatus?: string;
4061
4293
  /**
4062
4294
  * GLOBAL-level credential status ('SIGNED_IN' | 'SIGNED_OUT' | 'FAILED'), when Core reports one.
4063
4295
  * @type {string}
@@ -4102,6 +4334,7 @@ export declare const GetExternalServiceResponseDtoAuthenticationTypeEnum: {
4102
4334
  readonly None: "NONE";
4103
4335
  readonly ApiKey: "API_KEY";
4104
4336
  readonly Oauth: "OAUTH";
4337
+ readonly DialNative: "DIAL_NATIVE";
4105
4338
  };
4106
4339
  export type GetExternalServiceResponseDtoAuthenticationTypeEnum = (typeof GetExternalServiceResponseDtoAuthenticationTypeEnum)[keyof typeof GetExternalServiceResponseDtoAuthenticationTypeEnum];
4107
4340
  /**
@@ -5219,6 +5452,12 @@ export interface PublishCatalogEntityDto {
5219
5452
  * @memberof PublishCatalogEntityDto
5220
5453
  */
5221
5454
  rules?: Array<PublishRuleDto>;
5455
+ /**
5456
+ * 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.
5457
+ * @type {boolean}
5458
+ * @memberof PublishCatalogEntityDto
5459
+ */
5460
+ publishCredentials?: boolean;
5222
5461
  }
5223
5462
  /**
5224
5463
  *
@@ -5318,6 +5557,12 @@ export interface PublishHistoryEntryDto {
5318
5557
  * @memberof PublishHistoryEntryDto
5319
5558
  */
5320
5559
  publishedBy: string;
5560
+ /**
5561
+ * Whether this publication requested that the publisher's own credential for the entity be published alongside it. Reports what was requested, not what DIAL Core ultimately applied — Core is the authority on that. A publication that predates the field reports `false`.
5562
+ * @type {boolean}
5563
+ * @memberof PublishHistoryEntryDto
5564
+ */
5565
+ publishCredentials: boolean;
5321
5566
  }
5322
5567
  /**
5323
5568
  * @export
@@ -5476,6 +5721,38 @@ export declare const RateMessageDtoRateEnum: {
5476
5721
  readonly NUMBER_MINUS_1: -1;
5477
5722
  };
5478
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
+ }
5479
5756
  /**
5480
5757
  *
5481
5758
  * @export
@@ -5841,6 +6118,12 @@ export interface ScheduledTaskDto {
5841
6118
  * @memberof ScheduledTaskDto
5842
6119
  */
5843
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;
5844
6127
  /**
5845
6128
  *
5846
6129
  * @type {boolean}
@@ -5877,6 +6160,12 @@ export interface ScheduledTaskDto {
5877
6160
  * @memberof ScheduledTaskDto
5878
6161
  */
5879
6162
  prompt?: string;
6163
+ /**
6164
+ *
6165
+ * @type {Array<string>}
6166
+ * @memberof ScheduledTaskDto
6167
+ */
6168
+ skillUrls?: Array<string>;
5880
6169
  }
5881
6170
  /**
5882
6171
  * @export
@@ -5886,6 +6175,17 @@ export declare const ScheduledTaskDtoTriggerTypeEnum: {
5886
6175
  readonly Date: "date";
5887
6176
  };
5888
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];
5889
6189
  /**
5890
6190
  *
5891
6191
  * @export
@@ -5928,6 +6228,12 @@ export interface ScheduledTaskRunDto {
5928
6228
  * @memberof ScheduledTaskRunDto
5929
6229
  */
5930
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;
5931
6237
  }
5932
6238
  /**
5933
6239
  * @export
@@ -5939,6 +6245,61 @@ export declare const ScheduledTaskRunDtoStatusEnum: {
5939
6245
  readonly Missed: "Missed";
5940
6246
  };
5941
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;
5942
6303
  /**
5943
6304
  *
5944
6305
  * @export
@@ -6017,11 +6378,11 @@ export interface ShareLinkResponseDto {
6017
6378
  */
6018
6379
  url: string;
6019
6380
  /**
6020
- * 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.
6021
6382
  * @type {number}
6022
6383
  * @memberof ShareLinkResponseDto
6023
6384
  */
6024
- expiresInDays: number;
6385
+ expiresInDays?: number;
6025
6386
  /**
6026
6387
  * Access levels granted to holders of the share link. Edit access implies view access, so this is `[View, Edit]` rather than `[Edit]` alone.
6027
6388
  * @type {Array<string>}
@@ -6395,7 +6756,7 @@ export interface StageDto {
6395
6756
  */
6396
6757
  index?: number;
6397
6758
  /**
6398
- * Stage title
6759
+ * Stage title. `null` on the chunk that opens the stage, before the name streams in
6399
6760
  * @type {string}
6400
6761
  * @memberof StageDto
6401
6762
  */
@@ -6406,13 +6767,39 @@ export interface StageDto {
6406
6767
  * @memberof StageDto
6407
6768
  */
6408
6769
  content?: string;
6770
+ /**
6771
+ * Terminal state of the stage. Absent or `null` while the stage is still running
6772
+ * @type {string}
6773
+ * @memberof StageDto
6774
+ */
6775
+ status?: StageDtoStatusEnum | null;
6776
+ /**
6777
+ * Short source/category label shown beside the stage name (e.g. `MCP`)
6778
+ * @type {string}
6779
+ * @memberof StageDto
6780
+ */
6781
+ tag?: string;
6409
6782
  /**
6410
6783
  * Files produced or referenced by this stage
6411
6784
  * @type {Array<StageAttachmentDto>}
6412
6785
  * @memberof StageDto
6413
6786
  */
6414
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;
6415
6794
  }
6795
+ /**
6796
+ * @export
6797
+ */
6798
+ export declare const StageDtoStatusEnum: {
6799
+ readonly Completed: "completed";
6800
+ readonly Failed: "failed";
6801
+ };
6802
+ export type StageDtoStatusEnum = (typeof StageDtoStatusEnum)[keyof typeof StageDtoStatusEnum];
6416
6803
  /**
6417
6804
  *
6418
6805
  * @export
@@ -6431,7 +6818,27 @@ export interface StopCompletionDto {
6431
6818
  * @memberof StopCompletionDto
6432
6819
  */
6433
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;
6434
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];
6435
6842
  /**
6436
6843
  *
6437
6844
  * @export
@@ -7359,11 +7766,17 @@ export interface UpdateScheduledTaskBodyDto {
7359
7766
  */
7360
7767
  model: string;
7361
7768
  /**
7362
- *
7769
+ * Instructions; may be empty when the effective task has a skill.
7363
7770
  * @type {string}
7364
7771
  * @memberof UpdateScheduledTaskBodyDto
7365
7772
  */
7366
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>;
7367
7780
  /**
7368
7781
  *
7369
7782
  * @type {string}
@@ -7463,6 +7876,12 @@ export interface UpdatedScheduledTaskDto {
7463
7876
  * @memberof UpdatedScheduledTaskDto
7464
7877
  */
7465
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;
7466
7885
  /**
7467
7886
  *
7468
7887
  * @type {boolean}
@@ -7499,6 +7918,12 @@ export interface UpdatedScheduledTaskDto {
7499
7918
  * @memberof UpdatedScheduledTaskDto
7500
7919
  */
7501
7920
  prompt?: string;
7921
+ /**
7922
+ *
7923
+ * @type {Array<string>}
7924
+ * @memberof UpdatedScheduledTaskDto
7925
+ */
7926
+ skillUrls?: Array<string>;
7502
7927
  }
7503
7928
  /**
7504
7929
  * @export