@epam/ai-dial-chat-api-client 1.2.0-dev.3 → 1.2.0-dev.303

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 (60) 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 +2 -2
  7. package/generated/src/apis/ClientChannelApi.d.ts.map +1 -1
  8. package/generated/src/apis/ClientChannelApi.js +23 -2
  9. package/generated/src/apis/ConversationsApi.d.ts.map +1 -1
  10. package/generated/src/apis/ConversationsApi.js +133 -0
  11. package/generated/src/apis/CustomApiApi.d.ts +32 -0
  12. package/generated/src/apis/CustomApiApi.d.ts.map +1 -0
  13. package/generated/src/apis/CustomApiApi.js +58 -0
  14. package/generated/src/apis/DeploymentsApi.d.ts.map +1 -1
  15. package/generated/src/apis/DeploymentsApi.js +28 -0
  16. package/generated/src/apis/ExternalServicesApi.d.ts +14 -1
  17. package/generated/src/apis/ExternalServicesApi.d.ts.map +1 -1
  18. package/generated/src/apis/ExternalServicesApi.js +56 -0
  19. package/generated/src/apis/FilesApi.d.ts +8 -0
  20. package/generated/src/apis/FilesApi.d.ts.map +1 -1
  21. package/generated/src/apis/FilesApi.js +146 -0
  22. package/generated/src/apis/ModelsApi.d.ts.map +1 -1
  23. package/generated/src/apis/ModelsApi.js +14 -0
  24. package/generated/src/apis/OfflineCredentialsApi.d.ts.map +1 -1
  25. package/generated/src/apis/OfflineCredentialsApi.js +14 -0
  26. package/generated/src/apis/PromptsApi.d.ts.map +1 -1
  27. package/generated/src/apis/PromptsApi.js +77 -0
  28. package/generated/src/apis/PublishApi.d.ts +2 -2
  29. package/generated/src/apis/PublishApi.d.ts.map +1 -1
  30. package/generated/src/apis/PublishApi.js +30 -2
  31. package/generated/src/apis/RateApi.d.ts.map +1 -1
  32. package/generated/src/apis/RateApi.js +7 -0
  33. package/generated/src/apis/ScheduledTasksApi.d.ts +32 -5
  34. package/generated/src/apis/ScheduledTasksApi.d.ts.map +1 -1
  35. package/generated/src/apis/ScheduledTasksApi.js +134 -4
  36. package/generated/src/apis/ShareApi.d.ts.map +1 -1
  37. package/generated/src/apis/ShareApi.js +35 -0
  38. package/generated/src/apis/SkillsApi.d.ts +15 -1
  39. package/generated/src/apis/SkillsApi.d.ts.map +1 -1
  40. package/generated/src/apis/SkillsApi.js +134 -0
  41. package/generated/src/apis/TextRefinementApi.d.ts +32 -0
  42. package/generated/src/apis/TextRefinementApi.d.ts.map +1 -0
  43. package/generated/src/apis/TextRefinementApi.js +59 -0
  44. package/generated/src/apis/ToolsetsApi.d.ts.map +1 -1
  45. package/generated/src/apis/ToolsetsApi.js +77 -0
  46. package/generated/src/apis/TranscriptionApi.d.ts.map +1 -1
  47. package/generated/src/apis/TranscriptionApi.js +7 -0
  48. package/generated/src/apis/UserApi.d.ts +30 -8
  49. package/generated/src/apis/UserApi.d.ts.map +1 -1
  50. package/generated/src/apis/UserApi.js +45 -11
  51. package/generated/src/apis/UserConfigApi.d.ts.map +1 -1
  52. package/generated/src/apis/UserConfigApi.js +49 -0
  53. package/generated/src/apis/index.d.ts +2 -0
  54. package/generated/src/apis/index.d.ts.map +1 -1
  55. package/generated/src/apis/index.js +2 -0
  56. package/generated/src/models/index.d.ts +520 -14
  57. package/generated/src/models/index.d.ts.map +1 -1
  58. package/generated/src/models/index.js +52 -1
  59. package/package.json +1 -1
  60. 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
@@ -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
@@ -520,7 +694,7 @@ export interface ArchiveItemDto {
520
694
  */
521
695
  path: string;
522
696
  /**
523
- * Display name for archive entry
697
+ * Display name for archive entry; a single path segment (no "/", "\", "." or "..")
524
698
  * @type {string}
525
699
  * @memberof ArchiveItemDto
526
700
  */
@@ -627,6 +801,42 @@ export interface AttachmentResourceDto {
627
801
  */
628
802
  title?: string;
629
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];
630
840
  /**
631
841
  *
632
842
  * @export
@@ -759,13 +969,13 @@ export interface Check200Response {
759
969
  */
760
970
  timestamp?: string;
761
971
  /**
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.
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.
763
973
  * @type {string}
764
974
  * @memberof Check200Response
765
975
  */
766
976
  version?: string;
767
977
  /**
768
- * 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.
769
979
  * @type {string}
770
980
  * @memberof Check200Response
771
981
  */
@@ -778,7 +988,19 @@ export interface Check200Response {
778
988
  */
779
989
  export interface ClientConfigDto {
780
990
  /**
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.
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.
782
1004
  * @type {string}
783
1005
  * @memberof ClientConfigDto
784
1006
  */
@@ -820,13 +1042,19 @@ export interface ClientConfigDto {
820
1042
  */
821
1043
  mcpAppTheme?: ClientConfigDtoMcpAppThemeEnum | null;
822
1044
  /**
823
- * 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.
824
1046
  * @type {string}
825
1047
  * @memberof ClientConfigDto
826
1048
  */
827
1049
  mcpAppUserAgent?: string | null;
828
1050
  /**
829
- * 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.
830
1058
  * @type {Array<string>}
831
1059
  * @memberof ClientConfigDto
832
1060
  */
@@ -843,6 +1071,12 @@ export interface ClientConfigDto {
843
1071
  * @memberof ClientConfigDto
844
1072
  */
845
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>;
846
1080
  /**
847
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.
848
1082
  * @type {Array<string>}
@@ -891,6 +1125,14 @@ export interface ClientConfigDto {
891
1125
  * @memberof ClientConfigDto
892
1126
  */
893
1127
  customVisualizers: Array<CustomVisualizerDto>;
1128
+ /**
1129
+ * 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.
1130
+ * @type {{ [key: string]: ApplicationVisualizerDto; }}
1131
+ * @memberof ClientConfigDto
1132
+ */
1133
+ applicationVisualizers: {
1134
+ [key: string]: ApplicationVisualizerDto;
1135
+ };
894
1136
  /**
895
1137
  * 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
1138
  * @type {{ [key: string]: unknown }}
@@ -905,6 +1147,12 @@ export interface ClientConfigDto {
905
1147
  * @memberof ClientConfigDto
906
1148
  */
907
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;
908
1156
  }
909
1157
  /**
910
1158
  * @export
@@ -1042,6 +1290,12 @@ export interface ConversationListItemDto {
1042
1290
  * @memberof ConversationListItemDto
1043
1291
  */
1044
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;
1045
1299
  /**
1046
1300
  * Unix epoch milliseconds of the last update.
1047
1301
  * @type {number}
@@ -1239,11 +1493,17 @@ export interface ConversationMessageDto {
1239
1493
  */
1240
1494
  streamErrorMessage?: string;
1241
1495
  /**
1242
- * 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.
1243
1497
  * @type {string}
1244
1498
  * @memberof ConversationMessageDto
1245
1499
  */
1246
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;
1247
1507
  /**
1248
1508
  * Deployment that produced this message. Present on assistant and status messages.
1249
1509
  * @type {string}
@@ -1436,6 +1696,14 @@ export interface ConversationResponseDto {
1436
1696
  * @memberof ConversationResponseDto
1437
1697
  */
1438
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
+ };
1439
1707
  }
1440
1708
  /**
1441
1709
  * @export
@@ -1845,11 +2113,17 @@ export interface CreateScheduledTaskBodyDto {
1845
2113
  */
1846
2114
  model: string;
1847
2115
  /**
1848
- *
2116
+ * Instructions; may be empty when the effective task has a skill.
1849
2117
  * @type {string}
1850
2118
  * @memberof CreateScheduledTaskBodyDto
1851
2119
  */
1852
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>;
1853
2127
  /**
1854
2128
  *
1855
2129
  * @type {string}
@@ -1971,6 +2245,12 @@ export interface CreatedScheduledTaskDto {
1971
2245
  * @memberof CreatedScheduledTaskDto
1972
2246
  */
1973
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;
1974
2254
  /**
1975
2255
  *
1976
2256
  * @type {boolean}
@@ -2007,6 +2287,12 @@ export interface CreatedScheduledTaskDto {
2007
2287
  * @memberof CreatedScheduledTaskDto
2008
2288
  */
2009
2289
  prompt?: string;
2290
+ /**
2291
+ *
2292
+ * @type {Array<string>}
2293
+ * @memberof CreatedScheduledTaskDto
2294
+ */
2295
+ skillUrls?: Array<string>;
2010
2296
  }
2011
2297
  /**
2012
2298
  * @export
@@ -2016,6 +2302,21 @@ export declare const CreatedScheduledTaskDtoTriggerTypeEnum: {
2016
2302
  readonly Date: "date";
2017
2303
  };
2018
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
+ }
2019
2320
  /**
2020
2321
  *
2021
2322
  * @export
@@ -2495,6 +2796,12 @@ export interface DeploymentFeaturesDto {
2495
2796
  * @memberof DeploymentFeaturesDto
2496
2797
  */
2497
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;
2498
2805
  }
2499
2806
  /**
2500
2807
  *
@@ -3977,6 +4284,12 @@ export interface GetExternalServiceResponseDto {
3977
4284
  * @memberof GetExternalServiceResponseDto
3978
4285
  */
3979
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;
3980
4293
  /**
3981
4294
  * GLOBAL-level credential status ('SIGNED_IN' | 'SIGNED_OUT' | 'FAILED'), when Core reports one.
3982
4295
  * @type {string}
@@ -4021,6 +4334,7 @@ export declare const GetExternalServiceResponseDtoAuthenticationTypeEnum: {
4021
4334
  readonly None: "NONE";
4022
4335
  readonly ApiKey: "API_KEY";
4023
4336
  readonly Oauth: "OAUTH";
4337
+ readonly DialNative: "DIAL_NATIVE";
4024
4338
  };
4025
4339
  export type GetExternalServiceResponseDtoAuthenticationTypeEnum = (typeof GetExternalServiceResponseDtoAuthenticationTypeEnum)[keyof typeof GetExternalServiceResponseDtoAuthenticationTypeEnum];
4026
4340
  /**
@@ -5138,6 +5452,12 @@ export interface PublishCatalogEntityDto {
5138
5452
  * @memberof PublishCatalogEntityDto
5139
5453
  */
5140
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;
5141
5461
  }
5142
5462
  /**
5143
5463
  *
@@ -5237,6 +5557,12 @@ export interface PublishHistoryEntryDto {
5237
5557
  * @memberof PublishHistoryEntryDto
5238
5558
  */
5239
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;
5240
5566
  }
5241
5567
  /**
5242
5568
  * @export
@@ -5395,6 +5721,38 @@ export declare const RateMessageDtoRateEnum: {
5395
5721
  readonly NUMBER_MINUS_1: -1;
5396
5722
  };
5397
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
+ }
5398
5756
  /**
5399
5757
  *
5400
5758
  * @export
@@ -5760,6 +6118,12 @@ export interface ScheduledTaskDto {
5760
6118
  * @memberof ScheduledTaskDto
5761
6119
  */
5762
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;
5763
6127
  /**
5764
6128
  *
5765
6129
  * @type {boolean}
@@ -5796,6 +6160,12 @@ export interface ScheduledTaskDto {
5796
6160
  * @memberof ScheduledTaskDto
5797
6161
  */
5798
6162
  prompt?: string;
6163
+ /**
6164
+ *
6165
+ * @type {Array<string>}
6166
+ * @memberof ScheduledTaskDto
6167
+ */
6168
+ skillUrls?: Array<string>;
5799
6169
  }
5800
6170
  /**
5801
6171
  * @export
@@ -5805,6 +6175,17 @@ export declare const ScheduledTaskDtoTriggerTypeEnum: {
5805
6175
  readonly Date: "date";
5806
6176
  };
5807
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];
5808
6189
  /**
5809
6190
  *
5810
6191
  * @export
@@ -5847,6 +6228,12 @@ export interface ScheduledTaskRunDto {
5847
6228
  * @memberof ScheduledTaskRunDto
5848
6229
  */
5849
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;
5850
6237
  }
5851
6238
  /**
5852
6239
  * @export
@@ -5858,6 +6245,61 @@ export declare const ScheduledTaskRunDtoStatusEnum: {
5858
6245
  readonly Missed: "Missed";
5859
6246
  };
5860
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;
5861
6303
  /**
5862
6304
  *
5863
6305
  * @export
@@ -5936,11 +6378,11 @@ export interface ShareLinkResponseDto {
5936
6378
  */
5937
6379
  url: string;
5938
6380
  /**
5939
- * 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.
5940
6382
  * @type {number}
5941
6383
  * @memberof ShareLinkResponseDto
5942
6384
  */
5943
- expiresInDays: number;
6385
+ expiresInDays?: number;
5944
6386
  /**
5945
6387
  * Access levels granted to holders of the share link. Edit access implies view access, so this is `[View, Edit]` rather than `[Edit]` alone.
5946
6388
  * @type {Array<string>}
@@ -6314,7 +6756,7 @@ export interface StageDto {
6314
6756
  */
6315
6757
  index?: number;
6316
6758
  /**
6317
- * Stage title
6759
+ * Stage title. `null` on the chunk that opens the stage, before the name streams in
6318
6760
  * @type {string}
6319
6761
  * @memberof StageDto
6320
6762
  */
@@ -6325,13 +6767,39 @@ export interface StageDto {
6325
6767
  * @memberof StageDto
6326
6768
  */
6327
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;
6328
6782
  /**
6329
6783
  * Files produced or referenced by this stage
6330
6784
  * @type {Array<StageAttachmentDto>}
6331
6785
  * @memberof StageDto
6332
6786
  */
6333
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;
6334
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];
6335
6803
  /**
6336
6804
  *
6337
6805
  * @export
@@ -6350,7 +6818,27 @@ export interface StopCompletionDto {
6350
6818
  * @memberof StopCompletionDto
6351
6819
  */
6352
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;
6353
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];
6354
6842
  /**
6355
6843
  *
6356
6844
  * @export
@@ -7278,11 +7766,17 @@ export interface UpdateScheduledTaskBodyDto {
7278
7766
  */
7279
7767
  model: string;
7280
7768
  /**
7281
- *
7769
+ * Instructions; may be empty when the effective task has a skill.
7282
7770
  * @type {string}
7283
7771
  * @memberof UpdateScheduledTaskBodyDto
7284
7772
  */
7285
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>;
7286
7780
  /**
7287
7781
  *
7288
7782
  * @type {string}
@@ -7382,6 +7876,12 @@ export interface UpdatedScheduledTaskDto {
7382
7876
  * @memberof UpdatedScheduledTaskDto
7383
7877
  */
7384
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;
7385
7885
  /**
7386
7886
  *
7387
7887
  * @type {boolean}
@@ -7418,6 +7918,12 @@ export interface UpdatedScheduledTaskDto {
7418
7918
  * @memberof UpdatedScheduledTaskDto
7419
7919
  */
7420
7920
  prompt?: string;
7921
+ /**
7922
+ *
7923
+ * @type {Array<string>}
7924
+ * @memberof UpdatedScheduledTaskDto
7925
+ */
7926
+ skillUrls?: Array<string>;
7421
7927
  }
7422
7928
  /**
7423
7929
  * @export
@@ -7515,7 +8021,7 @@ export interface UserConfigDto {
7515
8021
  */
7516
8022
  export interface UserLimitStatsResponseDto {
7517
8023
  /**
7518
- * 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".
7519
8025
  * @type {{ [key: string]: DeploymentLimitsResponseDto; }}
7520
8026
  * @memberof UserLimitStatsResponseDto
7521
8027
  */