@epam/ai-dial-chat-api-client 1.2.0-dev.15 → 1.2.0-dev.153

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
@@ -777,6 +951,18 @@ export interface Check200Response {
777
951
  * @interface ClientConfigDto
778
952
  */
779
953
  export interface ClientConfigDto {
954
+ /**
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;
780
966
  /**
781
967
  * 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.
782
968
  * @type {string}
@@ -825,6 +1011,12 @@ export interface ClientConfigDto {
825
1011
  * @memberof ClientConfigDto
826
1012
  */
827
1013
  mcpAppUserAgent?: string | null;
1014
+ /**
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;
828
1020
  /**
829
1021
  * Which File Manager tabs are shown to users. Defaults to all three currently-supported tabs.
830
1022
  * @type {Array<string>}
@@ -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
@@ -3977,6 +4221,12 @@ export interface GetExternalServiceResponseDto {
3977
4221
  * @memberof GetExternalServiceResponseDto
3978
4222
  */
3979
4223
  userLevelAuthStatus?: string;
4224
+ /**
4225
+ * APPLICATION-level status. For DIAL_NATIVE, indicates application consent managed by an administrator.
4226
+ * @type {string}
4227
+ * @memberof GetExternalServiceResponseDto
4228
+ */
4229
+ appLevelAuthStatus?: string;
3980
4230
  /**
3981
4231
  * GLOBAL-level credential status ('SIGNED_IN' | 'SIGNED_OUT' | 'FAILED'), when Core reports one.
3982
4232
  * @type {string}
@@ -4021,6 +4271,7 @@ export declare const GetExternalServiceResponseDtoAuthenticationTypeEnum: {
4021
4271
  readonly None: "NONE";
4022
4272
  readonly ApiKey: "API_KEY";
4023
4273
  readonly Oauth: "OAUTH";
4274
+ readonly DialNative: "DIAL_NATIVE";
4024
4275
  };
4025
4276
  export type GetExternalServiceResponseDtoAuthenticationTypeEnum = (typeof GetExternalServiceResponseDtoAuthenticationTypeEnum)[keyof typeof GetExternalServiceResponseDtoAuthenticationTypeEnum];
4026
4277
  /**
@@ -5138,6 +5389,12 @@ export interface PublishCatalogEntityDto {
5138
5389
  * @memberof PublishCatalogEntityDto
5139
5390
  */
5140
5391
  rules?: Array<PublishRuleDto>;
5392
+ /**
5393
+ * 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.
5394
+ * @type {boolean}
5395
+ * @memberof PublishCatalogEntityDto
5396
+ */
5397
+ publishCredentials?: boolean;
5141
5398
  }
5142
5399
  /**
5143
5400
  *
@@ -5237,6 +5494,12 @@ export interface PublishHistoryEntryDto {
5237
5494
  * @memberof PublishHistoryEntryDto
5238
5495
  */
5239
5496
  publishedBy: string;
5497
+ /**
5498
+ * 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`.
5499
+ * @type {boolean}
5500
+ * @memberof PublishHistoryEntryDto
5501
+ */
5502
+ publishCredentials: boolean;
5240
5503
  }
5241
5504
  /**
5242
5505
  * @export
@@ -5395,6 +5658,38 @@ export declare const RateMessageDtoRateEnum: {
5395
5658
  readonly NUMBER_MINUS_1: -1;
5396
5659
  };
5397
5660
  export type RateMessageDtoRateEnum = (typeof RateMessageDtoRateEnum)[keyof typeof RateMessageDtoRateEnum];
5661
+ /**
5662
+ *
5663
+ * @export
5664
+ * @interface RefineTextRequestDto
5665
+ */
5666
+ export interface RefineTextRequestDto {
5667
+ /**
5668
+ * Server-owned rewriting purpose
5669
+ * @type {TextRefinementPurpose}
5670
+ * @memberof RefineTextRequestDto
5671
+ */
5672
+ purpose: TextRefinementPurpose;
5673
+ /**
5674
+ * Exact nonblank draft. Unicode code point limits: skill Description 4000, task Description 500, either Instructions 32000.
5675
+ * @type {string}
5676
+ * @memberof RefineTextRequestDto
5677
+ */
5678
+ text: string;
5679
+ }
5680
+ /**
5681
+ *
5682
+ * @export
5683
+ * @interface RefineTextResponseDto
5684
+ */
5685
+ export interface RefineTextResponseDto {
5686
+ /**
5687
+ * Complete refined draft, bounded by the same purpose-specific Unicode limits as the input.
5688
+ * @type {string}
5689
+ * @memberof RefineTextResponseDto
5690
+ */
5691
+ text: string;
5692
+ }
5398
5693
  /**
5399
5694
  *
5400
5695
  * @export
@@ -5760,6 +6055,12 @@ export interface ScheduledTaskDto {
5760
6055
  * @memberof ScheduledTaskDto
5761
6056
  */
5762
6057
  isActive?: boolean;
6058
+ /**
6059
+ * 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).
6060
+ * @type {boolean}
6061
+ * @memberof ScheduledTaskDto
6062
+ */
6063
+ isCompleted?: boolean;
5763
6064
  /**
5764
6065
  *
5765
6066
  * @type {boolean}
@@ -5796,6 +6097,12 @@ export interface ScheduledTaskDto {
5796
6097
  * @memberof ScheduledTaskDto
5797
6098
  */
5798
6099
  prompt?: string;
6100
+ /**
6101
+ *
6102
+ * @type {string}
6103
+ * @memberof ScheduledTaskDto
6104
+ */
6105
+ skillUrl?: string;
5799
6106
  }
5800
6107
  /**
5801
6108
  * @export
@@ -5805,6 +6112,16 @@ export declare const ScheduledTaskDtoTriggerTypeEnum: {
5805
6112
  readonly Date: "date";
5806
6113
  };
5807
6114
  export type ScheduledTaskDtoTriggerTypeEnum = (typeof ScheduledTaskDtoTriggerTypeEnum)[keyof typeof ScheduledTaskDtoTriggerTypeEnum];
6115
+ /**
6116
+ *
6117
+ * @export
6118
+ */
6119
+ export declare const ScheduledTaskErrorCode: {
6120
+ readonly ScheduledTaskSkillUnsupported: "scheduledTaskSkillUnsupported";
6121
+ readonly ScheduledTaskInstructionsOrSkillRequired: "scheduledTaskInstructionsOrSkillRequired";
6122
+ readonly ScheduledTaskDeploymentUnavailable: "scheduledTaskDeploymentUnavailable";
6123
+ };
6124
+ export type ScheduledTaskErrorCode = (typeof ScheduledTaskErrorCode)[keyof typeof ScheduledTaskErrorCode];
5808
6125
  /**
5809
6126
  *
5810
6127
  * @export
@@ -5858,6 +6175,49 @@ export declare const ScheduledTaskRunDtoStatusEnum: {
5858
6175
  readonly Missed: "Missed";
5859
6176
  };
5860
6177
  export type ScheduledTaskRunDtoStatusEnum = (typeof ScheduledTaskRunDtoStatusEnum)[keyof typeof ScheduledTaskRunDtoStatusEnum];
6178
+ /**
6179
+ *
6180
+ * @export
6181
+ * @interface ScheduledTaskValidationErrorDto
6182
+ */
6183
+ export interface ScheduledTaskValidationErrorDto {
6184
+ /**
6185
+ *
6186
+ * @type {number}
6187
+ * @memberof ScheduledTaskValidationErrorDto
6188
+ */
6189
+ statusCode: number;
6190
+ /**
6191
+ *
6192
+ * @type {ScheduledTaskValidationErrorDtoMessage}
6193
+ * @memberof ScheduledTaskValidationErrorDto
6194
+ */
6195
+ message: ScheduledTaskValidationErrorDtoMessage;
6196
+ /**
6197
+ *
6198
+ * @type {string}
6199
+ * @memberof ScheduledTaskValidationErrorDto
6200
+ */
6201
+ error: string;
6202
+ /**
6203
+ *
6204
+ * @type {ScheduledTaskErrorCode}
6205
+ * @memberof ScheduledTaskValidationErrorDto
6206
+ */
6207
+ code?: ScheduledTaskErrorCode;
6208
+ /**
6209
+ *
6210
+ * @type {string}
6211
+ * @memberof ScheduledTaskValidationErrorDto
6212
+ */
6213
+ field?: string;
6214
+ }
6215
+ /**
6216
+ * @type ScheduledTaskValidationErrorDtoMessage
6217
+ *
6218
+ * @export
6219
+ */
6220
+ export type ScheduledTaskValidationErrorDtoMessage = Array<string> | string;
5861
6221
  /**
5862
6222
  *
5863
6223
  * @export
@@ -6314,7 +6674,7 @@ export interface StageDto {
6314
6674
  */
6315
6675
  index?: number;
6316
6676
  /**
6317
- * Stage title
6677
+ * Stage title. `null` on the chunk that opens the stage, before the name streams in
6318
6678
  * @type {string}
6319
6679
  * @memberof StageDto
6320
6680
  */
@@ -6325,6 +6685,18 @@ export interface StageDto {
6325
6685
  * @memberof StageDto
6326
6686
  */
6327
6687
  content?: string;
6688
+ /**
6689
+ * Terminal state of the stage. Absent or `null` while the stage is still running
6690
+ * @type {string}
6691
+ * @memberof StageDto
6692
+ */
6693
+ status?: StageDtoStatusEnum | null;
6694
+ /**
6695
+ * Short source/category label shown beside the stage name (e.g. `MCP`)
6696
+ * @type {string}
6697
+ * @memberof StageDto
6698
+ */
6699
+ tag?: string;
6328
6700
  /**
6329
6701
  * Files produced or referenced by this stage
6330
6702
  * @type {Array<StageAttachmentDto>}
@@ -6332,6 +6704,14 @@ export interface StageDto {
6332
6704
  */
6333
6705
  attachments?: Array<StageAttachmentDto>;
6334
6706
  }
6707
+ /**
6708
+ * @export
6709
+ */
6710
+ export declare const StageDtoStatusEnum: {
6711
+ readonly Completed: "completed";
6712
+ readonly Failed: "failed";
6713
+ };
6714
+ export type StageDtoStatusEnum = (typeof StageDtoStatusEnum)[keyof typeof StageDtoStatusEnum];
6335
6715
  /**
6336
6716
  *
6337
6717
  * @export
@@ -6351,6 +6731,17 @@ export interface StopCompletionDto {
6351
6731
  */
6352
6732
  path: string;
6353
6733
  }
6734
+ /**
6735
+ * Server-owned rewriting purpose
6736
+ * @export
6737
+ */
6738
+ export declare const TextRefinementPurpose: {
6739
+ readonly SkillDescription: "skill-description";
6740
+ readonly SkillInstructions: "skill-instructions";
6741
+ readonly ScheduledTaskDescription: "scheduled-task-description";
6742
+ readonly ScheduledTaskInstructions: "scheduled-task-instructions";
6743
+ };
6744
+ export type TextRefinementPurpose = (typeof TextRefinementPurpose)[keyof typeof TextRefinementPurpose];
6354
6745
  /**
6355
6746
  *
6356
6747
  * @export
@@ -7278,11 +7669,17 @@ export interface UpdateScheduledTaskBodyDto {
7278
7669
  */
7279
7670
  model: string;
7280
7671
  /**
7281
- *
7672
+ * Instructions; may be empty when the effective task has a skill.
7282
7673
  * @type {string}
7283
7674
  * @memberof UpdateScheduledTaskBodyDto
7284
7675
  */
7285
7676
  prompt: string;
7677
+ /**
7678
+ * DIAL skill reference with a path of at most 1024 decoded characters. Omission preserves the saved skill on update; null removes it.
7679
+ * @type {string}
7680
+ * @memberof UpdateScheduledTaskBodyDto
7681
+ */
7682
+ skillUrl?: string | null;
7286
7683
  /**
7287
7684
  *
7288
7685
  * @type {string}
@@ -7382,6 +7779,12 @@ export interface UpdatedScheduledTaskDto {
7382
7779
  * @memberof UpdatedScheduledTaskDto
7383
7780
  */
7384
7781
  isActive?: boolean;
7782
+ /**
7783
+ * 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).
7784
+ * @type {boolean}
7785
+ * @memberof UpdatedScheduledTaskDto
7786
+ */
7787
+ isCompleted?: boolean;
7385
7788
  /**
7386
7789
  *
7387
7790
  * @type {boolean}
@@ -7418,6 +7821,12 @@ export interface UpdatedScheduledTaskDto {
7418
7821
  * @memberof UpdatedScheduledTaskDto
7419
7822
  */
7420
7823
  prompt?: string;
7824
+ /**
7825
+ *
7826
+ * @type {string}
7827
+ * @memberof UpdatedScheduledTaskDto
7828
+ */
7829
+ skillUrl?: string;
7421
7830
  }
7422
7831
  /**
7423
7832
  * @export