@epam/ai-dial-chat-api-client 1.2.0-dev.21 → 1.2.0-dev.217

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.
@@ -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
@@ -488,6 +577,91 @@ export interface ApplicationSchemasResponseDto {
488
577
  */
489
578
  schemas: Array<ApplicationSchemaSummaryDto>;
490
579
  }
580
+ /**
581
+ *
582
+ * @export
583
+ * @interface ApplicationVisualizerDto
584
+ */
585
+ export interface ApplicationVisualizerDto {
586
+ /**
587
+ * The postMessage protocol namespace, NOT a display label. Every message exchanged with the iframe is prefixed "${title}/…", and the visualizer application must be constructed with this identical string as its appName. A mismatch is a silent failure — the iframe loads but never receives data. Also used as the inline frame's header text.
588
+ * @type {string}
589
+ * @memberof ApplicationVisualizerDto
590
+ */
591
+ title: string;
592
+ /**
593
+ * Human-readable description of the visualizer. Accepted for schema parity; not consumed by the host UI.
594
+ * @type {string}
595
+ * @memberof ApplicationVisualizerDto
596
+ */
597
+ description?: string;
598
+ /**
599
+ * Icon URL or identifier for the visualizer. Accepted for schema parity; not consumed by the host UI.
600
+ * @type {string}
601
+ * @memberof ApplicationVisualizerDto
602
+ */
603
+ icon?: string;
604
+ /**
605
+ * MIME type(s) this entry claims, as a comma-separated list (e.g. "application/vnd.plotly.v1+json, application/vnd.vega.v5+json"). Optional, unlike the required field of the same name on CustomVisualizerDto: when omitted, the entry claims every attachment of the message that carries a URL. Attachments it does not claim render as ordinary attachment tiles.
606
+ * @type {string}
607
+ * @memberof ApplicationVisualizerDto
608
+ */
609
+ contentType?: string;
610
+ /**
611
+ * Absolute HTTP(S) URL of the visualizer iframe.
612
+ * @type {string}
613
+ * @memberof ApplicationVisualizerDto
614
+ */
615
+ url: string;
616
+ /**
617
+ * Milliseconds to wait for a send() request response before rejecting. Defaults to 10000 when unset. Does not bound the initial READY_TO_INTERACT handshake.
618
+ * @type {number}
619
+ * @memberof ApplicationVisualizerDto
620
+ */
621
+ requestTimeout?: number;
622
+ /**
623
+ * Suggested initial width of the visualizer surface in pixels.
624
+ * @type {number}
625
+ * @memberof ApplicationVisualizerDto
626
+ */
627
+ width?: number;
628
+ /**
629
+ * Suggested initial height of the visualizer surface in pixels. Also used by the host to size the inline frame in the message.
630
+ * @type {number}
631
+ * @memberof ApplicationVisualizerDto
632
+ */
633
+ height?: number;
634
+ /**
635
+ * Suggested height on mobile-sized screens in pixels. Also used by the host to size the inline frame on a mobile viewport.
636
+ * @type {number}
637
+ * @memberof ApplicationVisualizerDto
638
+ */
639
+ mobileHeight?: number;
640
+ /**
641
+ * Whether the host should pass auth info to the visualizer. Accepted for schema parity; inert, because 1.0 auth is server-side and the browser holds no access token.
642
+ * @type {boolean}
643
+ * @memberof ApplicationVisualizerDto
644
+ */
645
+ passAuthInfo?: boolean;
646
+ /**
647
+ * Whether the host should pass an explicit access token. Accepted for schema parity; inert, because 1.0 auth is server-side and the browser holds no access token.
648
+ * @type {boolean}
649
+ * @memberof ApplicationVisualizerDto
650
+ */
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;
664
+ }
491
665
  /**
492
666
  *
493
667
  * @export
@@ -759,7 +933,7 @@ export interface Check200Response {
759
933
  */
760
934
  timestamp?: string;
761
935
  /**
762
- * 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.
936
+ * 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.
763
937
  * @type {string}
764
938
  * @memberof Check200Response
765
939
  */
@@ -778,7 +952,19 @@ export interface Check200Response {
778
952
  */
779
953
  export interface ClientConfigDto {
780
954
  /**
781
- * 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.
955
+ * Whether a text refinement model is configured. Missing means unavailable.
956
+ * @type {boolean}
957
+ * @memberof ClientConfigDto
958
+ */
959
+ aiTextRefinementAvailable?: boolean;
960
+ /**
961
+ * 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.
962
+ * @type {string}
963
+ * @memberof ClientConfigDto
964
+ */
965
+ activeEventId: string | null;
966
+ /**
967
+ * 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.
782
968
  * @type {string}
783
969
  * @memberof ClientConfigDto
784
970
  */
@@ -826,7 +1012,13 @@ export interface ClientConfigDto {
826
1012
  */
827
1013
  mcpAppUserAgent?: string | null;
828
1014
  /**
829
- * Which File Manager tabs are shown to users. Defaults to all three currently-supported tabs.
1015
+ * 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.
1016
+ * @type {string}
1017
+ * @memberof ClientConfigDto
1018
+ */
1019
+ mcpAppHostName?: string | null;
1020
+ /**
1021
+ * Which File Manager tabs are shown to users. Defaults to the All tab plus the three source tabs.
830
1022
  * @type {Array<string>}
831
1023
  * @memberof ClientConfigDto
832
1024
  */
@@ -843,6 +1035,12 @@ export interface ClientConfigDto {
843
1035
  * @memberof ClientConfigDto
844
1036
  */
845
1037
  overlayAllowedOrigins: Array<string>;
1038
+ /**
1039
+ * 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.
1040
+ * @type {Array<string>}
1041
+ * @memberof ClientConfigDto
1042
+ */
1043
+ allowedConnectOrigins?: Array<string>;
846
1044
  /**
847
1045
  * 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.
848
1046
  * @type {Array<string>}
@@ -891,6 +1089,14 @@ export interface ClientConfigDto {
891
1089
  * @memberof ClientConfigDto
892
1090
  */
893
1091
  customVisualizers: Array<CustomVisualizerDto>;
1092
+ /**
1093
+ * Registry of application id → grouped visualizer mappings, keyed by a message's effective deployment id. Sourced from APPLICATION_VISUALIZERS. Every attachment an entry claims is delivered to one iframe together; an entry takes precedence over customVisualizers for the attachments it claims. The origin of each entry URL must also appear in ALLOWED_IFRAME_ORIGINS or the browser blocks the iframe. Each entry's passAuthInfo and passExplicitToken are accepted for configuration parity and are not consumed — auth is server-side and the browser holds no access token. Empty when unset — the feature is dark by default.
1094
+ * @type {{ [key: string]: ApplicationVisualizerDto; }}
1095
+ * @memberof ClientConfigDto
1096
+ */
1097
+ applicationVisualizers: {
1098
+ [key: string]: ApplicationVisualizerDto;
1099
+ };
894
1100
  /**
895
1101
  * Public client-owned variables from CUSTOM_CLIENT_VARIABLES. Arbitrary JSON object; empty when unset or invalid. The BFF does not interpret its keys. Never put secrets here.
896
1102
  * @type {{ [key: string]: unknown }}
@@ -905,6 +1111,12 @@ export interface ClientConfigDto {
905
1111
  * @memberof ClientConfigDto
906
1112
  */
907
1113
  publicationFilterSources: Array<string>;
1114
+ /**
1115
+ * 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.
1116
+ * @type {number}
1117
+ * @memberof ClientConfigDto
1118
+ */
1119
+ maxAttachmentFileSizeBytes: number;
908
1120
  }
909
1121
  /**
910
1122
  * @export
@@ -1042,6 +1254,12 @@ export interface ConversationListItemDto {
1042
1254
  * @memberof ConversationListItemDto
1043
1255
  */
1044
1256
  title: string;
1257
+ /**
1258
+ * 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.
1259
+ * @type {number}
1260
+ * @memberof ConversationListItemDto
1261
+ */
1262
+ createdAt?: number;
1045
1263
  /**
1046
1264
  * Unix epoch milliseconds of the last update.
1047
1265
  * @type {number}
@@ -1436,6 +1654,14 @@ export interface ConversationResponseDto {
1436
1654
  * @memberof ConversationResponseDto
1437
1655
  */
1438
1656
  llmNamingDone?: boolean;
1657
+ /**
1658
+ * 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.
1659
+ * @type {{ [key: string]: unknown }}
1660
+ * @memberof ConversationResponseDto
1661
+ */
1662
+ customViewState?: {
1663
+ [key: string]: unknown;
1664
+ };
1439
1665
  }
1440
1666
  /**
1441
1667
  * @export
@@ -1845,11 +2071,17 @@ export interface CreateScheduledTaskBodyDto {
1845
2071
  */
1846
2072
  model: string;
1847
2073
  /**
1848
- *
2074
+ * Instructions; may be empty when the effective task has a skill.
1849
2075
  * @type {string}
1850
2076
  * @memberof CreateScheduledTaskBodyDto
1851
2077
  */
1852
2078
  prompt: string;
2079
+ /**
2080
+ * DIAL skill reference with a path of at most 1024 decoded characters. Omission preserves the saved skill on update; null removes it.
2081
+ * @type {string}
2082
+ * @memberof CreateScheduledTaskBodyDto
2083
+ */
2084
+ skillUrl?: string | null;
1853
2085
  /**
1854
2086
  *
1855
2087
  * @type {string}
@@ -1971,6 +2203,12 @@ export interface CreatedScheduledTaskDto {
1971
2203
  * @memberof CreatedScheduledTaskDto
1972
2204
  */
1973
2205
  isActive?: boolean;
2206
+ /**
2207
+ * 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).
2208
+ * @type {boolean}
2209
+ * @memberof CreatedScheduledTaskDto
2210
+ */
2211
+ isCompleted?: boolean;
1974
2212
  /**
1975
2213
  *
1976
2214
  * @type {boolean}
@@ -2007,6 +2245,12 @@ export interface CreatedScheduledTaskDto {
2007
2245
  * @memberof CreatedScheduledTaskDto
2008
2246
  */
2009
2247
  prompt?: string;
2248
+ /**
2249
+ *
2250
+ * @type {string}
2251
+ * @memberof CreatedScheduledTaskDto
2252
+ */
2253
+ skillUrl?: string;
2010
2254
  }
2011
2255
  /**
2012
2256
  * @export
@@ -2495,6 +2739,12 @@ export interface DeploymentFeaturesDto {
2495
2739
  * @memberof DeploymentFeaturesDto
2496
2740
  */
2497
2741
  skillsSupported?: boolean;
2742
+ /**
2743
+ * Whether the deployment supports tools/functions in chat completion requests
2744
+ * @type {boolean}
2745
+ * @memberof DeploymentFeaturesDto
2746
+ */
2747
+ tools?: boolean;
2498
2748
  }
2499
2749
  /**
2500
2750
  *
@@ -3977,6 +4227,12 @@ export interface GetExternalServiceResponseDto {
3977
4227
  * @memberof GetExternalServiceResponseDto
3978
4228
  */
3979
4229
  userLevelAuthStatus?: string;
4230
+ /**
4231
+ * APPLICATION-level status. For DIAL_NATIVE, indicates application consent managed by an administrator.
4232
+ * @type {string}
4233
+ * @memberof GetExternalServiceResponseDto
4234
+ */
4235
+ appLevelAuthStatus?: string;
3980
4236
  /**
3981
4237
  * GLOBAL-level credential status ('SIGNED_IN' | 'SIGNED_OUT' | 'FAILED'), when Core reports one.
3982
4238
  * @type {string}
@@ -4021,6 +4277,7 @@ export declare const GetExternalServiceResponseDtoAuthenticationTypeEnum: {
4021
4277
  readonly None: "NONE";
4022
4278
  readonly ApiKey: "API_KEY";
4023
4279
  readonly Oauth: "OAUTH";
4280
+ readonly DialNative: "DIAL_NATIVE";
4024
4281
  };
4025
4282
  export type GetExternalServiceResponseDtoAuthenticationTypeEnum = (typeof GetExternalServiceResponseDtoAuthenticationTypeEnum)[keyof typeof GetExternalServiceResponseDtoAuthenticationTypeEnum];
4026
4283
  /**
@@ -5138,6 +5395,12 @@ export interface PublishCatalogEntityDto {
5138
5395
  * @memberof PublishCatalogEntityDto
5139
5396
  */
5140
5397
  rules?: Array<PublishRuleDto>;
5398
+ /**
5399
+ * 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.
5400
+ * @type {boolean}
5401
+ * @memberof PublishCatalogEntityDto
5402
+ */
5403
+ publishCredentials?: boolean;
5141
5404
  }
5142
5405
  /**
5143
5406
  *
@@ -5237,6 +5500,12 @@ export interface PublishHistoryEntryDto {
5237
5500
  * @memberof PublishHistoryEntryDto
5238
5501
  */
5239
5502
  publishedBy: string;
5503
+ /**
5504
+ * 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`.
5505
+ * @type {boolean}
5506
+ * @memberof PublishHistoryEntryDto
5507
+ */
5508
+ publishCredentials: boolean;
5240
5509
  }
5241
5510
  /**
5242
5511
  * @export
@@ -5395,6 +5664,38 @@ export declare const RateMessageDtoRateEnum: {
5395
5664
  readonly NUMBER_MINUS_1: -1;
5396
5665
  };
5397
5666
  export type RateMessageDtoRateEnum = (typeof RateMessageDtoRateEnum)[keyof typeof RateMessageDtoRateEnum];
5667
+ /**
5668
+ *
5669
+ * @export
5670
+ * @interface RefineTextRequestDto
5671
+ */
5672
+ export interface RefineTextRequestDto {
5673
+ /**
5674
+ * Server-owned rewriting purpose
5675
+ * @type {TextRefinementPurpose}
5676
+ * @memberof RefineTextRequestDto
5677
+ */
5678
+ purpose: TextRefinementPurpose;
5679
+ /**
5680
+ * Exact nonblank draft. Unicode code point limits: skill Description 4000, task Description 500, either Instructions 32000.
5681
+ * @type {string}
5682
+ * @memberof RefineTextRequestDto
5683
+ */
5684
+ text: string;
5685
+ }
5686
+ /**
5687
+ *
5688
+ * @export
5689
+ * @interface RefineTextResponseDto
5690
+ */
5691
+ export interface RefineTextResponseDto {
5692
+ /**
5693
+ * Complete refined draft, bounded by the same purpose-specific Unicode limits as the input.
5694
+ * @type {string}
5695
+ * @memberof RefineTextResponseDto
5696
+ */
5697
+ text: string;
5698
+ }
5398
5699
  /**
5399
5700
  *
5400
5701
  * @export
@@ -5760,6 +6061,12 @@ export interface ScheduledTaskDto {
5760
6061
  * @memberof ScheduledTaskDto
5761
6062
  */
5762
6063
  isActive?: boolean;
6064
+ /**
6065
+ * 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).
6066
+ * @type {boolean}
6067
+ * @memberof ScheduledTaskDto
6068
+ */
6069
+ isCompleted?: boolean;
5763
6070
  /**
5764
6071
  *
5765
6072
  * @type {boolean}
@@ -5796,6 +6103,12 @@ export interface ScheduledTaskDto {
5796
6103
  * @memberof ScheduledTaskDto
5797
6104
  */
5798
6105
  prompt?: string;
6106
+ /**
6107
+ *
6108
+ * @type {string}
6109
+ * @memberof ScheduledTaskDto
6110
+ */
6111
+ skillUrl?: string;
5799
6112
  }
5800
6113
  /**
5801
6114
  * @export
@@ -5805,6 +6118,17 @@ export declare const ScheduledTaskDtoTriggerTypeEnum: {
5805
6118
  readonly Date: "date";
5806
6119
  };
5807
6120
  export type ScheduledTaskDtoTriggerTypeEnum = (typeof ScheduledTaskDtoTriggerTypeEnum)[keyof typeof ScheduledTaskDtoTriggerTypeEnum];
6121
+ /**
6122
+ *
6123
+ * @export
6124
+ */
6125
+ export declare const ScheduledTaskErrorCode: {
6126
+ readonly ScheduledTaskSkillUnsupported: "scheduledTaskSkillUnsupported";
6127
+ readonly ScheduledTaskInstructionsOrSkillRequired: "scheduledTaskInstructionsOrSkillRequired";
6128
+ readonly ScheduledTaskDeploymentUnavailable: "scheduledTaskDeploymentUnavailable";
6129
+ readonly ScheduledTaskAdminConsentRequired: "scheduledTaskAdminConsentRequired";
6130
+ };
6131
+ export type ScheduledTaskErrorCode = (typeof ScheduledTaskErrorCode)[keyof typeof ScheduledTaskErrorCode];
5808
6132
  /**
5809
6133
  *
5810
6134
  * @export
@@ -5858,6 +6182,61 @@ export declare const ScheduledTaskRunDtoStatusEnum: {
5858
6182
  readonly Missed: "Missed";
5859
6183
  };
5860
6184
  export type ScheduledTaskRunDtoStatusEnum = (typeof ScheduledTaskRunDtoStatusEnum)[keyof typeof ScheduledTaskRunDtoStatusEnum];
6185
+ /**
6186
+ *
6187
+ * @export
6188
+ * @interface ScheduledTaskValidationErrorDto
6189
+ */
6190
+ export interface ScheduledTaskValidationErrorDto {
6191
+ /**
6192
+ *
6193
+ * @type {number}
6194
+ * @memberof ScheduledTaskValidationErrorDto
6195
+ */
6196
+ statusCode: number;
6197
+ /**
6198
+ *
6199
+ * @type {ScheduledTaskValidationErrorDtoMessage}
6200
+ * @memberof ScheduledTaskValidationErrorDto
6201
+ */
6202
+ message: ScheduledTaskValidationErrorDtoMessage;
6203
+ /**
6204
+ *
6205
+ * @type {string}
6206
+ * @memberof ScheduledTaskValidationErrorDto
6207
+ */
6208
+ error: string;
6209
+ /**
6210
+ *
6211
+ * @type {ScheduledTaskErrorCode}
6212
+ * @memberof ScheduledTaskValidationErrorDto
6213
+ */
6214
+ code?: ScheduledTaskErrorCode;
6215
+ /**
6216
+ *
6217
+ * @type {string}
6218
+ * @memberof ScheduledTaskValidationErrorDto
6219
+ */
6220
+ field?: string;
6221
+ /**
6222
+ * DIAL Scheduler's own error reason, trimmed and capped at 1000 characters. Never present for 401/403/404.
6223
+ * @type {string}
6224
+ * @memberof ScheduledTaskValidationErrorDto
6225
+ */
6226
+ upstreamMessage?: string;
6227
+ /**
6228
+ * DIAL Scheduler's own error code (matches ^[A-Za-z0-9_.:-]{1,128}$). Never present for 401/403/404.
6229
+ * @type {string}
6230
+ * @memberof ScheduledTaskValidationErrorDto
6231
+ */
6232
+ upstreamCode?: string;
6233
+ }
6234
+ /**
6235
+ * @type ScheduledTaskValidationErrorDtoMessage
6236
+ *
6237
+ * @export
6238
+ */
6239
+ export type ScheduledTaskValidationErrorDtoMessage = Array<string> | string;
5861
6240
  /**
5862
6241
  *
5863
6242
  * @export
@@ -6314,7 +6693,7 @@ export interface StageDto {
6314
6693
  */
6315
6694
  index?: number;
6316
6695
  /**
6317
- * Stage title
6696
+ * Stage title. `null` on the chunk that opens the stage, before the name streams in
6318
6697
  * @type {string}
6319
6698
  * @memberof StageDto
6320
6699
  */
@@ -6325,6 +6704,18 @@ export interface StageDto {
6325
6704
  * @memberof StageDto
6326
6705
  */
6327
6706
  content?: string;
6707
+ /**
6708
+ * Terminal state of the stage. Absent or `null` while the stage is still running
6709
+ * @type {string}
6710
+ * @memberof StageDto
6711
+ */
6712
+ status?: StageDtoStatusEnum | null;
6713
+ /**
6714
+ * Short source/category label shown beside the stage name (e.g. `MCP`)
6715
+ * @type {string}
6716
+ * @memberof StageDto
6717
+ */
6718
+ tag?: string;
6328
6719
  /**
6329
6720
  * Files produced or referenced by this stage
6330
6721
  * @type {Array<StageAttachmentDto>}
@@ -6332,6 +6723,14 @@ export interface StageDto {
6332
6723
  */
6333
6724
  attachments?: Array<StageAttachmentDto>;
6334
6725
  }
6726
+ /**
6727
+ * @export
6728
+ */
6729
+ export declare const StageDtoStatusEnum: {
6730
+ readonly Completed: "completed";
6731
+ readonly Failed: "failed";
6732
+ };
6733
+ export type StageDtoStatusEnum = (typeof StageDtoStatusEnum)[keyof typeof StageDtoStatusEnum];
6335
6734
  /**
6336
6735
  *
6337
6736
  * @export
@@ -6351,6 +6750,17 @@ export interface StopCompletionDto {
6351
6750
  */
6352
6751
  path: string;
6353
6752
  }
6753
+ /**
6754
+ * Server-owned rewriting purpose
6755
+ * @export
6756
+ */
6757
+ export declare const TextRefinementPurpose: {
6758
+ readonly SkillDescription: "skill-description";
6759
+ readonly SkillInstructions: "skill-instructions";
6760
+ readonly ScheduledTaskDescription: "scheduled-task-description";
6761
+ readonly ScheduledTaskInstructions: "scheduled-task-instructions";
6762
+ };
6763
+ export type TextRefinementPurpose = (typeof TextRefinementPurpose)[keyof typeof TextRefinementPurpose];
6354
6764
  /**
6355
6765
  *
6356
6766
  * @export
@@ -7278,11 +7688,17 @@ export interface UpdateScheduledTaskBodyDto {
7278
7688
  */
7279
7689
  model: string;
7280
7690
  /**
7281
- *
7691
+ * Instructions; may be empty when the effective task has a skill.
7282
7692
  * @type {string}
7283
7693
  * @memberof UpdateScheduledTaskBodyDto
7284
7694
  */
7285
7695
  prompt: string;
7696
+ /**
7697
+ * DIAL skill reference with a path of at most 1024 decoded characters. Omission preserves the saved skill on update; null removes it.
7698
+ * @type {string}
7699
+ * @memberof UpdateScheduledTaskBodyDto
7700
+ */
7701
+ skillUrl?: string | null;
7286
7702
  /**
7287
7703
  *
7288
7704
  * @type {string}
@@ -7382,6 +7798,12 @@ export interface UpdatedScheduledTaskDto {
7382
7798
  * @memberof UpdatedScheduledTaskDto
7383
7799
  */
7384
7800
  isActive?: boolean;
7801
+ /**
7802
+ * 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).
7803
+ * @type {boolean}
7804
+ * @memberof UpdatedScheduledTaskDto
7805
+ */
7806
+ isCompleted?: boolean;
7385
7807
  /**
7386
7808
  *
7387
7809
  * @type {boolean}
@@ -7418,6 +7840,12 @@ export interface UpdatedScheduledTaskDto {
7418
7840
  * @memberof UpdatedScheduledTaskDto
7419
7841
  */
7420
7842
  prompt?: string;
7843
+ /**
7844
+ *
7845
+ * @type {string}
7846
+ * @memberof UpdatedScheduledTaskDto
7847
+ */
7848
+ skillUrl?: string;
7421
7849
  }
7422
7850
  /**
7423
7851
  * @export