@epam/ai-dial-chat-api-client 1.2.0-dev.99 → 1.3.0-dev.5
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.
- package/generated/src/apis/ApplicationsApi.d.ts +2 -2
- package/generated/src/apis/ApplicationsApi.d.ts.map +1 -1
- package/generated/src/apis/ApplicationsApi.js +44 -2
- package/generated/src/apis/ChatApi.d.ts.map +1 -1
- package/generated/src/apis/ChatApi.js +7 -0
- package/generated/src/apis/ClientChannelApi.d.ts.map +1 -1
- package/generated/src/apis/ClientChannelApi.js +21 -0
- package/generated/src/apis/ConversationsApi.d.ts.map +1 -1
- package/generated/src/apis/ConversationsApi.js +133 -0
- package/generated/src/apis/CustomApiApi.d.ts +32 -0
- package/generated/src/apis/CustomApiApi.d.ts.map +1 -0
- package/generated/src/apis/CustomApiApi.js +58 -0
- package/generated/src/apis/DeploymentsApi.d.ts.map +1 -1
- package/generated/src/apis/DeploymentsApi.js +28 -0
- package/generated/src/apis/ExternalServicesApi.d.ts.map +1 -1
- package/generated/src/apis/ExternalServicesApi.js +28 -0
- package/generated/src/apis/FilesApi.d.ts +8 -0
- package/generated/src/apis/FilesApi.d.ts.map +1 -1
- package/generated/src/apis/FilesApi.js +146 -0
- package/generated/src/apis/ModelsApi.d.ts.map +1 -1
- package/generated/src/apis/ModelsApi.js +14 -0
- package/generated/src/apis/OfflineCredentialsApi.d.ts.map +1 -1
- package/generated/src/apis/OfflineCredentialsApi.js +14 -0
- package/generated/src/apis/PromptsApi.d.ts.map +1 -1
- package/generated/src/apis/PromptsApi.js +77 -0
- package/generated/src/apis/PublishApi.d.ts.map +1 -1
- package/generated/src/apis/PublishApi.js +28 -0
- package/generated/src/apis/RateApi.d.ts.map +1 -1
- package/generated/src/apis/RateApi.js +7 -0
- package/generated/src/apis/ScheduledTasksApi.d.ts +33 -5
- package/generated/src/apis/ScheduledTasksApi.d.ts.map +1 -1
- package/generated/src/apis/ScheduledTasksApi.js +137 -4
- package/generated/src/apis/ShareApi.d.ts.map +1 -1
- package/generated/src/apis/ShareApi.js +35 -0
- package/generated/src/apis/SkillsApi.d.ts.map +1 -1
- package/generated/src/apis/SkillsApi.js +98 -0
- package/generated/src/apis/TextRefinementApi.d.ts +32 -0
- package/generated/src/apis/TextRefinementApi.d.ts.map +1 -0
- package/generated/src/apis/TextRefinementApi.js +59 -0
- package/generated/src/apis/ToolsetsApi.d.ts.map +1 -1
- package/generated/src/apis/ToolsetsApi.js +77 -0
- package/generated/src/apis/TranscriptionApi.d.ts.map +1 -1
- package/generated/src/apis/TranscriptionApi.js +7 -0
- package/generated/src/apis/UserApi.d.ts +30 -8
- package/generated/src/apis/UserApi.d.ts.map +1 -1
- package/generated/src/apis/UserApi.js +45 -11
- package/generated/src/apis/UserConfigApi.d.ts.map +1 -1
- package/generated/src/apis/UserConfigApi.js +49 -0
- package/generated/src/apis/index.d.ts +2 -0
- package/generated/src/apis/index.d.ts.map +1 -1
- package/generated/src/apis/index.js +2 -0
- package/generated/src/models/index.d.ts +361 -13
- package/generated/src/models/index.d.ts.map +1 -1
- package/generated/src/models/index.js +42 -1
- package/package.json +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
|
@@ -649,6 +649,18 @@ export interface ApplicationVisualizerDto {
|
|
|
649
649
|
* @memberof ApplicationVisualizerDto
|
|
650
650
|
*/
|
|
651
651
|
passExplicitToken?: boolean;
|
|
652
|
+
/**
|
|
653
|
+
* When true, the inline frame renders without its border, rounded corners, background, and header divider. Carried over from legacy Chat 0.x.
|
|
654
|
+
* @type {boolean}
|
|
655
|
+
* @memberof ApplicationVisualizerDto
|
|
656
|
+
*/
|
|
657
|
+
borderless?: boolean;
|
|
658
|
+
/**
|
|
659
|
+
* When true, the inline frame hides its header title text; the header actions stay visible. Carried over from legacy Chat 0.x.
|
|
660
|
+
* @type {boolean}
|
|
661
|
+
* @memberof ApplicationVisualizerDto
|
|
662
|
+
*/
|
|
663
|
+
withoutTitle?: boolean;
|
|
652
664
|
}
|
|
653
665
|
/**
|
|
654
666
|
*
|
|
@@ -682,7 +694,7 @@ export interface ArchiveItemDto {
|
|
|
682
694
|
*/
|
|
683
695
|
path: string;
|
|
684
696
|
/**
|
|
685
|
-
* Display name for archive entry
|
|
697
|
+
* Display name for archive entry; a single path segment (no "/", "\", "." or "..")
|
|
686
698
|
* @type {string}
|
|
687
699
|
* @memberof ArchiveItemDto
|
|
688
700
|
*/
|
|
@@ -789,6 +801,42 @@ export interface AttachmentResourceDto {
|
|
|
789
801
|
*/
|
|
790
802
|
title?: string;
|
|
791
803
|
}
|
|
804
|
+
/**
|
|
805
|
+
*
|
|
806
|
+
* @export
|
|
807
|
+
* @interface BackgroundGenerationDto
|
|
808
|
+
*/
|
|
809
|
+
export interface BackgroundGenerationDto {
|
|
810
|
+
/**
|
|
811
|
+
* Client-supplied generation id of the request that started the background job; identifies this message across saves.
|
|
812
|
+
* @type {string}
|
|
813
|
+
* @memberof BackgroundGenerationDto
|
|
814
|
+
*/
|
|
815
|
+
generationId: string;
|
|
816
|
+
/**
|
|
817
|
+
* pending while the job runs or its result is not saved yet; completed, stopped or failed once the final state is saved.
|
|
818
|
+
* @type {BackgroundGenerationStatus}
|
|
819
|
+
* @memberof BackgroundGenerationDto
|
|
820
|
+
*/
|
|
821
|
+
status: BackgroundGenerationStatus;
|
|
822
|
+
/**
|
|
823
|
+
* Server time (epoch ms) at which the pending placeholder was saved.
|
|
824
|
+
* @type {number}
|
|
825
|
+
* @memberof BackgroundGenerationDto
|
|
826
|
+
*/
|
|
827
|
+
startedAt: number;
|
|
828
|
+
}
|
|
829
|
+
/**
|
|
830
|
+
* pending while the job runs or its result is not saved yet; completed, stopped or failed once the final state is saved.
|
|
831
|
+
* @export
|
|
832
|
+
*/
|
|
833
|
+
export declare const BackgroundGenerationStatus: {
|
|
834
|
+
readonly Pending: "pending";
|
|
835
|
+
readonly Completed: "completed";
|
|
836
|
+
readonly Stopped: "stopped";
|
|
837
|
+
readonly Failed: "failed";
|
|
838
|
+
};
|
|
839
|
+
export type BackgroundGenerationStatus = (typeof BackgroundGenerationStatus)[keyof typeof BackgroundGenerationStatus];
|
|
792
840
|
/**
|
|
793
841
|
*
|
|
794
842
|
* @export
|
|
@@ -921,13 +969,13 @@ export interface Check200Response {
|
|
|
921
969
|
*/
|
|
922
970
|
timestamp?: string;
|
|
923
971
|
/**
|
|
924
|
-
* Application version. Sourced from CHAT_VERSION; falls back to the
|
|
972
|
+
* Application version. Sourced from CHAT_VERSION; falls back to the workspace root package.json version — the one the release pipeline stamps — when that env var is unset or blank. Matches the appVersion reported by the client config endpoint.
|
|
925
973
|
* @type {string}
|
|
926
974
|
* @memberof Check200Response
|
|
927
975
|
*/
|
|
928
976
|
version?: string;
|
|
929
977
|
/**
|
|
930
|
-
* Stable identifier for the running deployment, derived from a hash of the served frontend build. Changes when a new deployment replaces the frontend static assets, letting long-lived clients detect that a reload will pick up a newer build.
|
|
978
|
+
* Stable identifier for the running deployment, derived from a hash of the served frontend build, or of the application version when no frontend is bundled (BFF-only image). Changes when a new deployment replaces the frontend static assets or the version, letting long-lived clients detect that a reload will pick up a newer build.
|
|
931
979
|
* @type {string}
|
|
932
980
|
* @memberof Check200Response
|
|
933
981
|
*/
|
|
@@ -940,7 +988,19 @@ export interface Check200Response {
|
|
|
940
988
|
*/
|
|
941
989
|
export interface ClientConfigDto {
|
|
942
990
|
/**
|
|
943
|
-
*
|
|
991
|
+
* Whether a text refinement model is configured. Missing means unavailable.
|
|
992
|
+
* @type {boolean}
|
|
993
|
+
* @memberof ClientConfigDto
|
|
994
|
+
*/
|
|
995
|
+
aiTextRefinementAvailable?: boolean;
|
|
996
|
+
/**
|
|
997
|
+
* Active start-page celebration module ID selected by UI_EVENT. Null when UI_EVENT is absent or none. Event IDs are open-ended; clients ignore IDs not present in their local registry.
|
|
998
|
+
* @type {string}
|
|
999
|
+
* @memberof ClientConfigDto
|
|
1000
|
+
*/
|
|
1001
|
+
activeEventId: string | null;
|
|
1002
|
+
/**
|
|
1003
|
+
* Version string of the running chat application. Sourced from CHAT_VERSION; falls back to the workspace root package.json version — the one the release pipeline stamps — when that env var is unset or blank. Always a non-empty string.
|
|
944
1004
|
* @type {string}
|
|
945
1005
|
* @memberof ClientConfigDto
|
|
946
1006
|
*/
|
|
@@ -982,7 +1042,7 @@ export interface ClientConfigDto {
|
|
|
982
1042
|
*/
|
|
983
1043
|
mcpAppTheme?: ClientConfigDtoMcpAppThemeEnum | null;
|
|
984
1044
|
/**
|
|
985
|
-
* Host application identifier sent to MCP App Views in hostContext.userAgent. Null when MCP_APP_USER_AGENT is not configured —
|
|
1045
|
+
* Host application identifier sent to MCP App Views in hostContext.userAgent. Null when MCP_APP_USER_AGENT is not configured — the client then falls back to the browser's navigator.userAgent.
|
|
986
1046
|
* @type {string}
|
|
987
1047
|
* @memberof ClientConfigDto
|
|
988
1048
|
*/
|
|
@@ -994,7 +1054,7 @@ export interface ClientConfigDto {
|
|
|
994
1054
|
*/
|
|
995
1055
|
mcpAppHostName?: string | null;
|
|
996
1056
|
/**
|
|
997
|
-
* Which File Manager tabs are shown to users. Defaults to
|
|
1057
|
+
* Which File Manager tabs are shown to users. Defaults to the All tab plus the three source tabs.
|
|
998
1058
|
* @type {Array<string>}
|
|
999
1059
|
* @memberof ClientConfigDto
|
|
1000
1060
|
*/
|
|
@@ -1011,6 +1071,12 @@ export interface ClientConfigDto {
|
|
|
1011
1071
|
* @memberof ClientConfigDto
|
|
1012
1072
|
*/
|
|
1013
1073
|
overlayAllowedOrigins: Array<string>;
|
|
1074
|
+
/**
|
|
1075
|
+
* Trusted HTTP(S) connection origins from ALLOWED_CONNECT_ORIGINS, including leading *. subdomain patterns. PDF previews use browser credentials for matching external origins and reject redirects. Empty by default; upstream credentialed CORS and browser cookie policy still apply.
|
|
1076
|
+
* @type {Array<string>}
|
|
1077
|
+
* @memberof ClientConfigDto
|
|
1078
|
+
*/
|
|
1079
|
+
allowedConnectOrigins?: Array<string>;
|
|
1014
1080
|
/**
|
|
1015
1081
|
* When set, the complete list of OverlayFeature values that are enabled (replace semantics). Sourced from ENABLED_UI_FEATURES, filtered to recognized values. When null, the compiled-in DEFAULT_ENABLED_UI_FEATURES baseline is used. Does not affect an overlay host that supplies its own enabledFeatures.
|
|
1016
1082
|
* @type {Array<string>}
|
|
@@ -1206,6 +1272,14 @@ export interface ConversationDeletionResultDto {
|
|
|
1206
1272
|
*/
|
|
1207
1273
|
failed: Array<ConversationDeletionFailureDto>;
|
|
1208
1274
|
}
|
|
1275
|
+
/**
|
|
1276
|
+
* Present when the duplicate was refused by a chat-api rule rather than by DIAL Core. `conversationDuplicateModelHidden`: the conversation's current model is hidden through `HIDDEN_ENTITY_TAGS`.
|
|
1277
|
+
* @export
|
|
1278
|
+
*/
|
|
1279
|
+
export declare const ConversationErrorCode: {
|
|
1280
|
+
readonly ConversationDuplicateModelHidden: "conversationDuplicateModelHidden";
|
|
1281
|
+
};
|
|
1282
|
+
export type ConversationErrorCode = (typeof ConversationErrorCode)[keyof typeof ConversationErrorCode];
|
|
1209
1283
|
/**
|
|
1210
1284
|
*
|
|
1211
1285
|
* @export
|
|
@@ -1224,6 +1298,12 @@ export interface ConversationListItemDto {
|
|
|
1224
1298
|
* @memberof ConversationListItemDto
|
|
1225
1299
|
*/
|
|
1226
1300
|
title: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* 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.
|
|
1303
|
+
* @type {number}
|
|
1304
|
+
* @memberof ConversationListItemDto
|
|
1305
|
+
*/
|
|
1306
|
+
createdAt?: number;
|
|
1227
1307
|
/**
|
|
1228
1308
|
* Unix epoch milliseconds of the last update.
|
|
1229
1309
|
* @type {number}
|
|
@@ -1421,11 +1501,17 @@ export interface ConversationMessageDto {
|
|
|
1421
1501
|
*/
|
|
1422
1502
|
streamErrorMessage?: string;
|
|
1423
1503
|
/**
|
|
1424
|
-
* DIAL Responses API id for this message, set only when the generation was routed through the Responses adapter.
|
|
1504
|
+
* DIAL Responses API id for this message, set only when the generation was routed through the Responses adapter. On the stateless path it is diagnostic only; on the background path it is also the key used to recover, replay, stop and clean up the DIAL Core job. Never sent as previous_response_id/conversation.
|
|
1425
1505
|
* @type {string}
|
|
1426
1506
|
* @memberof ConversationMessageDto
|
|
1427
1507
|
*/
|
|
1428
1508
|
responseId?: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* 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.
|
|
1511
|
+
* @type {BackgroundGenerationDto}
|
|
1512
|
+
* @memberof ConversationMessageDto
|
|
1513
|
+
*/
|
|
1514
|
+
backgroundGeneration?: BackgroundGenerationDto;
|
|
1429
1515
|
/**
|
|
1430
1516
|
* Deployment that produced this message. Present on assistant and status messages.
|
|
1431
1517
|
* @type {string}
|
|
@@ -1618,6 +1704,14 @@ export interface ConversationResponseDto {
|
|
|
1618
1704
|
* @memberof ConversationResponseDto
|
|
1619
1705
|
*/
|
|
1620
1706
|
llmNamingDone?: boolean;
|
|
1707
|
+
/**
|
|
1708
|
+
* 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.
|
|
1709
|
+
* @type {{ [key: string]: unknown }}
|
|
1710
|
+
* @memberof ConversationResponseDto
|
|
1711
|
+
*/
|
|
1712
|
+
customViewState?: {
|
|
1713
|
+
[key: string]: unknown;
|
|
1714
|
+
};
|
|
1621
1715
|
}
|
|
1622
1716
|
/**
|
|
1623
1717
|
* @export
|
|
@@ -1846,6 +1940,30 @@ export interface CreateApplicationBodyDto {
|
|
|
1846
1940
|
* @memberof CreateApplicationBodyDto
|
|
1847
1941
|
*/
|
|
1848
1942
|
applicationProperties?: object;
|
|
1943
|
+
/**
|
|
1944
|
+
* Reject with 409 if the name/version already exists; checked atomically by DIAL Core.
|
|
1945
|
+
* @type {boolean}
|
|
1946
|
+
* @memberof CreateApplicationBodyDto
|
|
1947
|
+
*/
|
|
1948
|
+
createOnly?: boolean;
|
|
1949
|
+
/**
|
|
1950
|
+
* Store applicationProperties verbatim, including schema-specific features. Use top-level attachment fields for Core capabilities.
|
|
1951
|
+
* @type {boolean}
|
|
1952
|
+
* @memberof CreateApplicationBodyDto
|
|
1953
|
+
*/
|
|
1954
|
+
preserveApplicationProperties?: boolean;
|
|
1955
|
+
/**
|
|
1956
|
+
*
|
|
1957
|
+
* @type {Array<string>}
|
|
1958
|
+
* @memberof CreateApplicationBodyDto
|
|
1959
|
+
*/
|
|
1960
|
+
inputAttachmentTypes?: Array<string>;
|
|
1961
|
+
/**
|
|
1962
|
+
*
|
|
1963
|
+
* @type {number}
|
|
1964
|
+
* @memberof CreateApplicationBodyDto
|
|
1965
|
+
*/
|
|
1966
|
+
maxInputAttachments?: number;
|
|
1849
1967
|
/**
|
|
1850
1968
|
*
|
|
1851
1969
|
* @type {Array<LocaleTextEntryDto>}
|
|
@@ -2027,11 +2145,17 @@ export interface CreateScheduledTaskBodyDto {
|
|
|
2027
2145
|
*/
|
|
2028
2146
|
model: string;
|
|
2029
2147
|
/**
|
|
2030
|
-
*
|
|
2148
|
+
* Instructions; may be empty when the effective task has a skill.
|
|
2031
2149
|
* @type {string}
|
|
2032
2150
|
* @memberof CreateScheduledTaskBodyDto
|
|
2033
2151
|
*/
|
|
2034
2152
|
prompt: string;
|
|
2153
|
+
/**
|
|
2154
|
+
* DIAL skill references with paths of at most 1024 decoded characters each. Omission preserves saved skills on update; an empty array removes them.
|
|
2155
|
+
* @type {Array<string>}
|
|
2156
|
+
* @memberof CreateScheduledTaskBodyDto
|
|
2157
|
+
*/
|
|
2158
|
+
skillUrls?: Array<string>;
|
|
2035
2159
|
/**
|
|
2036
2160
|
*
|
|
2037
2161
|
* @type {string}
|
|
@@ -2153,6 +2277,12 @@ export interface CreatedScheduledTaskDto {
|
|
|
2153
2277
|
* @memberof CreatedScheduledTaskDto
|
|
2154
2278
|
*/
|
|
2155
2279
|
isActive?: boolean;
|
|
2280
|
+
/**
|
|
2281
|
+
* 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).
|
|
2282
|
+
* @type {boolean}
|
|
2283
|
+
* @memberof CreatedScheduledTaskDto
|
|
2284
|
+
*/
|
|
2285
|
+
isCompleted?: boolean;
|
|
2156
2286
|
/**
|
|
2157
2287
|
*
|
|
2158
2288
|
* @type {boolean}
|
|
@@ -2189,6 +2319,12 @@ export interface CreatedScheduledTaskDto {
|
|
|
2189
2319
|
* @memberof CreatedScheduledTaskDto
|
|
2190
2320
|
*/
|
|
2191
2321
|
prompt?: string;
|
|
2322
|
+
/**
|
|
2323
|
+
*
|
|
2324
|
+
* @type {Array<string>}
|
|
2325
|
+
* @memberof CreatedScheduledTaskDto
|
|
2326
|
+
*/
|
|
2327
|
+
skillUrls?: Array<string>;
|
|
2192
2328
|
}
|
|
2193
2329
|
/**
|
|
2194
2330
|
* @export
|
|
@@ -2198,6 +2334,21 @@ export declare const CreatedScheduledTaskDtoTriggerTypeEnum: {
|
|
|
2198
2334
|
readonly Date: "date";
|
|
2199
2335
|
};
|
|
2200
2336
|
export type CreatedScheduledTaskDtoTriggerTypeEnum = (typeof CreatedScheduledTaskDtoTriggerTypeEnum)[keyof typeof CreatedScheduledTaskDtoTriggerTypeEnum];
|
|
2337
|
+
/**
|
|
2338
|
+
*
|
|
2339
|
+
* @export
|
|
2340
|
+
* @interface CustomApiResponseDto
|
|
2341
|
+
*/
|
|
2342
|
+
export interface CustomApiResponseDto {
|
|
2343
|
+
/**
|
|
2344
|
+
* 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.
|
|
2345
|
+
* @type {{ [key: string]: unknown }}
|
|
2346
|
+
* @memberof CustomApiResponseDto
|
|
2347
|
+
*/
|
|
2348
|
+
data: {
|
|
2349
|
+
[key: string]: unknown;
|
|
2350
|
+
};
|
|
2351
|
+
}
|
|
2201
2352
|
/**
|
|
2202
2353
|
*
|
|
2203
2354
|
* @export
|
|
@@ -2677,6 +2828,12 @@ export interface DeploymentFeaturesDto {
|
|
|
2677
2828
|
* @memberof DeploymentFeaturesDto
|
|
2678
2829
|
*/
|
|
2679
2830
|
skillsSupported?: boolean;
|
|
2831
|
+
/**
|
|
2832
|
+
* Whether the deployment supports tools/functions in chat completion requests
|
|
2833
|
+
* @type {boolean}
|
|
2834
|
+
* @memberof DeploymentFeaturesDto
|
|
2835
|
+
*/
|
|
2836
|
+
tools?: boolean;
|
|
2680
2837
|
}
|
|
2681
2838
|
/**
|
|
2682
2839
|
*
|
|
@@ -3894,6 +4051,37 @@ export interface DownloadArchiveDto {
|
|
|
3894
4051
|
*/
|
|
3895
4052
|
items: Array<ArchiveItemDto>;
|
|
3896
4053
|
}
|
|
4054
|
+
/**
|
|
4055
|
+
*
|
|
4056
|
+
* @export
|
|
4057
|
+
* @interface DuplicateConversationErrorDto
|
|
4058
|
+
*/
|
|
4059
|
+
export interface DuplicateConversationErrorDto {
|
|
4060
|
+
/**
|
|
4061
|
+
*
|
|
4062
|
+
* @type {number}
|
|
4063
|
+
* @memberof DuplicateConversationErrorDto
|
|
4064
|
+
*/
|
|
4065
|
+
statusCode: number;
|
|
4066
|
+
/**
|
|
4067
|
+
*
|
|
4068
|
+
* @type {string}
|
|
4069
|
+
* @memberof DuplicateConversationErrorDto
|
|
4070
|
+
*/
|
|
4071
|
+
error: string;
|
|
4072
|
+
/**
|
|
4073
|
+
*
|
|
4074
|
+
* @type {string}
|
|
4075
|
+
* @memberof DuplicateConversationErrorDto
|
|
4076
|
+
*/
|
|
4077
|
+
message: string;
|
|
4078
|
+
/**
|
|
4079
|
+
* Present when the duplicate was refused by a chat-api rule rather than by DIAL Core. `conversationDuplicateModelHidden`: the conversation's current model is hidden through `HIDDEN_ENTITY_TAGS`.
|
|
4080
|
+
* @type {ConversationErrorCode}
|
|
4081
|
+
* @memberof DuplicateConversationErrorDto
|
|
4082
|
+
*/
|
|
4083
|
+
code?: ConversationErrorCode;
|
|
4084
|
+
}
|
|
3897
4085
|
/**
|
|
3898
4086
|
*
|
|
3899
4087
|
* @export
|
|
@@ -5596,6 +5784,38 @@ export declare const RateMessageDtoRateEnum: {
|
|
|
5596
5784
|
readonly NUMBER_MINUS_1: -1;
|
|
5597
5785
|
};
|
|
5598
5786
|
export type RateMessageDtoRateEnum = (typeof RateMessageDtoRateEnum)[keyof typeof RateMessageDtoRateEnum];
|
|
5787
|
+
/**
|
|
5788
|
+
*
|
|
5789
|
+
* @export
|
|
5790
|
+
* @interface RefineTextRequestDto
|
|
5791
|
+
*/
|
|
5792
|
+
export interface RefineTextRequestDto {
|
|
5793
|
+
/**
|
|
5794
|
+
* Server-owned rewriting purpose
|
|
5795
|
+
* @type {TextRefinementPurpose}
|
|
5796
|
+
* @memberof RefineTextRequestDto
|
|
5797
|
+
*/
|
|
5798
|
+
purpose: TextRefinementPurpose;
|
|
5799
|
+
/**
|
|
5800
|
+
* Exact nonblank draft. Unicode code point limits: skill Description 4000, task Description 500, application/toolset/prompt Description 2000, either Instructions 32000.
|
|
5801
|
+
* @type {string}
|
|
5802
|
+
* @memberof RefineTextRequestDto
|
|
5803
|
+
*/
|
|
5804
|
+
text: string;
|
|
5805
|
+
}
|
|
5806
|
+
/**
|
|
5807
|
+
*
|
|
5808
|
+
* @export
|
|
5809
|
+
* @interface RefineTextResponseDto
|
|
5810
|
+
*/
|
|
5811
|
+
export interface RefineTextResponseDto {
|
|
5812
|
+
/**
|
|
5813
|
+
* Complete refined draft, bounded by the same purpose-specific Unicode limits as the input.
|
|
5814
|
+
* @type {string}
|
|
5815
|
+
* @memberof RefineTextResponseDto
|
|
5816
|
+
*/
|
|
5817
|
+
text: string;
|
|
5818
|
+
}
|
|
5599
5819
|
/**
|
|
5600
5820
|
*
|
|
5601
5821
|
* @export
|
|
@@ -5961,6 +6181,12 @@ export interface ScheduledTaskDto {
|
|
|
5961
6181
|
* @memberof ScheduledTaskDto
|
|
5962
6182
|
*/
|
|
5963
6183
|
isActive?: boolean;
|
|
6184
|
+
/**
|
|
6185
|
+
* 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).
|
|
6186
|
+
* @type {boolean}
|
|
6187
|
+
* @memberof ScheduledTaskDto
|
|
6188
|
+
*/
|
|
6189
|
+
isCompleted?: boolean;
|
|
5964
6190
|
/**
|
|
5965
6191
|
*
|
|
5966
6192
|
* @type {boolean}
|
|
@@ -5997,6 +6223,12 @@ export interface ScheduledTaskDto {
|
|
|
5997
6223
|
* @memberof ScheduledTaskDto
|
|
5998
6224
|
*/
|
|
5999
6225
|
prompt?: string;
|
|
6226
|
+
/**
|
|
6227
|
+
*
|
|
6228
|
+
* @type {Array<string>}
|
|
6229
|
+
* @memberof ScheduledTaskDto
|
|
6230
|
+
*/
|
|
6231
|
+
skillUrls?: Array<string>;
|
|
6000
6232
|
}
|
|
6001
6233
|
/**
|
|
6002
6234
|
* @export
|
|
@@ -6006,6 +6238,17 @@ export declare const ScheduledTaskDtoTriggerTypeEnum: {
|
|
|
6006
6238
|
readonly Date: "date";
|
|
6007
6239
|
};
|
|
6008
6240
|
export type ScheduledTaskDtoTriggerTypeEnum = (typeof ScheduledTaskDtoTriggerTypeEnum)[keyof typeof ScheduledTaskDtoTriggerTypeEnum];
|
|
6241
|
+
/**
|
|
6242
|
+
*
|
|
6243
|
+
* @export
|
|
6244
|
+
*/
|
|
6245
|
+
export declare const ScheduledTaskErrorCode: {
|
|
6246
|
+
readonly ScheduledTaskSkillUnsupported: "scheduledTaskSkillUnsupported";
|
|
6247
|
+
readonly ScheduledTaskInstructionsOrSkillRequired: "scheduledTaskInstructionsOrSkillRequired";
|
|
6248
|
+
readonly ScheduledTaskDeploymentUnavailable: "scheduledTaskDeploymentUnavailable";
|
|
6249
|
+
readonly ScheduledTaskAdminConsentRequired: "scheduledTaskAdminConsentRequired";
|
|
6250
|
+
};
|
|
6251
|
+
export type ScheduledTaskErrorCode = (typeof ScheduledTaskErrorCode)[keyof typeof ScheduledTaskErrorCode];
|
|
6009
6252
|
/**
|
|
6010
6253
|
*
|
|
6011
6254
|
* @export
|
|
@@ -6048,6 +6291,12 @@ export interface ScheduledTaskRunDto {
|
|
|
6048
6291
|
* @memberof ScheduledTaskRunDto
|
|
6049
6292
|
*/
|
|
6050
6293
|
conversationId?: string;
|
|
6294
|
+
/**
|
|
6295
|
+
* Failure stage reported by DIAL Scheduler. Only a string result.stage is exposed.
|
|
6296
|
+
* @type {string}
|
|
6297
|
+
* @memberof ScheduledTaskRunDto
|
|
6298
|
+
*/
|
|
6299
|
+
resultStage?: string;
|
|
6051
6300
|
}
|
|
6052
6301
|
/**
|
|
6053
6302
|
* @export
|
|
@@ -6059,6 +6308,61 @@ export declare const ScheduledTaskRunDtoStatusEnum: {
|
|
|
6059
6308
|
readonly Missed: "Missed";
|
|
6060
6309
|
};
|
|
6061
6310
|
export type ScheduledTaskRunDtoStatusEnum = (typeof ScheduledTaskRunDtoStatusEnum)[keyof typeof ScheduledTaskRunDtoStatusEnum];
|
|
6311
|
+
/**
|
|
6312
|
+
*
|
|
6313
|
+
* @export
|
|
6314
|
+
* @interface ScheduledTaskValidationErrorDto
|
|
6315
|
+
*/
|
|
6316
|
+
export interface ScheduledTaskValidationErrorDto {
|
|
6317
|
+
/**
|
|
6318
|
+
*
|
|
6319
|
+
* @type {number}
|
|
6320
|
+
* @memberof ScheduledTaskValidationErrorDto
|
|
6321
|
+
*/
|
|
6322
|
+
statusCode: number;
|
|
6323
|
+
/**
|
|
6324
|
+
*
|
|
6325
|
+
* @type {ScheduledTaskValidationErrorDtoMessage}
|
|
6326
|
+
* @memberof ScheduledTaskValidationErrorDto
|
|
6327
|
+
*/
|
|
6328
|
+
message: ScheduledTaskValidationErrorDtoMessage;
|
|
6329
|
+
/**
|
|
6330
|
+
*
|
|
6331
|
+
* @type {string}
|
|
6332
|
+
* @memberof ScheduledTaskValidationErrorDto
|
|
6333
|
+
*/
|
|
6334
|
+
error: string;
|
|
6335
|
+
/**
|
|
6336
|
+
*
|
|
6337
|
+
* @type {ScheduledTaskErrorCode}
|
|
6338
|
+
* @memberof ScheduledTaskValidationErrorDto
|
|
6339
|
+
*/
|
|
6340
|
+
code?: ScheduledTaskErrorCode;
|
|
6341
|
+
/**
|
|
6342
|
+
*
|
|
6343
|
+
* @type {string}
|
|
6344
|
+
* @memberof ScheduledTaskValidationErrorDto
|
|
6345
|
+
*/
|
|
6346
|
+
field?: string;
|
|
6347
|
+
/**
|
|
6348
|
+
* DIAL Scheduler's own error reason, trimmed and capped at 1000 characters. Never present for 401/403/404.
|
|
6349
|
+
* @type {string}
|
|
6350
|
+
* @memberof ScheduledTaskValidationErrorDto
|
|
6351
|
+
*/
|
|
6352
|
+
upstreamMessage?: string;
|
|
6353
|
+
/**
|
|
6354
|
+
* DIAL Scheduler's own error code (matches ^[A-Za-z0-9_.:-]{1,128}$). Never present for 401/403/404.
|
|
6355
|
+
* @type {string}
|
|
6356
|
+
* @memberof ScheduledTaskValidationErrorDto
|
|
6357
|
+
*/
|
|
6358
|
+
upstreamCode?: string;
|
|
6359
|
+
}
|
|
6360
|
+
/**
|
|
6361
|
+
* @type ScheduledTaskValidationErrorDtoMessage
|
|
6362
|
+
*
|
|
6363
|
+
* @export
|
|
6364
|
+
*/
|
|
6365
|
+
export type ScheduledTaskValidationErrorDtoMessage = Array<string> | string;
|
|
6062
6366
|
/**
|
|
6063
6367
|
*
|
|
6064
6368
|
* @export
|
|
@@ -6137,11 +6441,11 @@ export interface ShareLinkResponseDto {
|
|
|
6137
6441
|
*/
|
|
6138
6442
|
url: string;
|
|
6139
6443
|
/**
|
|
6140
|
-
*
|
|
6444
|
+
* Days until the DIAL Core invitation expires, rounded up. Omitted when DIAL Core does not report a usable expiry.
|
|
6141
6445
|
* @type {number}
|
|
6142
6446
|
* @memberof ShareLinkResponseDto
|
|
6143
6447
|
*/
|
|
6144
|
-
expiresInDays
|
|
6448
|
+
expiresInDays?: number;
|
|
6145
6449
|
/**
|
|
6146
6450
|
* Access levels granted to holders of the share link. Edit access implies view access, so this is `[View, Edit]` rather than `[Edit]` alone.
|
|
6147
6451
|
* @type {Array<string>}
|
|
@@ -6544,6 +6848,12 @@ export interface StageDto {
|
|
|
6544
6848
|
* @memberof StageDto
|
|
6545
6849
|
*/
|
|
6546
6850
|
attachments?: Array<StageAttachmentDto>;
|
|
6851
|
+
/**
|
|
6852
|
+
* 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
|
|
6853
|
+
* @type {number}
|
|
6854
|
+
* @memberof StageDto
|
|
6855
|
+
*/
|
|
6856
|
+
parentStageIndex?: number;
|
|
6547
6857
|
}
|
|
6548
6858
|
/**
|
|
6549
6859
|
* @export
|
|
@@ -6571,7 +6881,27 @@ export interface StopCompletionDto {
|
|
|
6571
6881
|
* @memberof StopCompletionDto
|
|
6572
6882
|
*/
|
|
6573
6883
|
path: string;
|
|
6884
|
+
/**
|
|
6885
|
+
* 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.
|
|
6886
|
+
* @type {string}
|
|
6887
|
+
* @memberof StopCompletionDto
|
|
6888
|
+
*/
|
|
6889
|
+
content?: string;
|
|
6574
6890
|
}
|
|
6891
|
+
/**
|
|
6892
|
+
* Server-owned rewriting purpose
|
|
6893
|
+
* @export
|
|
6894
|
+
*/
|
|
6895
|
+
export declare const TextRefinementPurpose: {
|
|
6896
|
+
readonly SkillDescription: "skill-description";
|
|
6897
|
+
readonly SkillInstructions: "skill-instructions";
|
|
6898
|
+
readonly ScheduledTaskDescription: "scheduled-task-description";
|
|
6899
|
+
readonly ScheduledTaskInstructions: "scheduled-task-instructions";
|
|
6900
|
+
readonly ApplicationDescription: "application-description";
|
|
6901
|
+
readonly ToolsetDescription: "toolset-description";
|
|
6902
|
+
readonly PromptDescription: "prompt-description";
|
|
6903
|
+
};
|
|
6904
|
+
export type TextRefinementPurpose = (typeof TextRefinementPurpose)[keyof typeof TextRefinementPurpose];
|
|
6575
6905
|
/**
|
|
6576
6906
|
*
|
|
6577
6907
|
* @export
|
|
@@ -7313,7 +7643,7 @@ export interface UpdateApplicationBodyDto {
|
|
|
7313
7643
|
*/
|
|
7314
7644
|
description?: string;
|
|
7315
7645
|
/**
|
|
7316
|
-
* An absolute https?:// URL, or a DIAL file id (files/{bucket}/{path}) picked through the file manager.
|
|
7646
|
+
* An absolute https?:// URL, or a DIAL file id (files/{bucket}/{path}) picked through the file manager. An empty string removes the stored icon; omit the field (or send null) to keep it.
|
|
7317
7647
|
* @type {string}
|
|
7318
7648
|
* @memberof UpdateApplicationBodyDto
|
|
7319
7649
|
*/
|
|
@@ -7499,11 +7829,17 @@ export interface UpdateScheduledTaskBodyDto {
|
|
|
7499
7829
|
*/
|
|
7500
7830
|
model: string;
|
|
7501
7831
|
/**
|
|
7502
|
-
*
|
|
7832
|
+
* Instructions; may be empty when the effective task has a skill.
|
|
7503
7833
|
* @type {string}
|
|
7504
7834
|
* @memberof UpdateScheduledTaskBodyDto
|
|
7505
7835
|
*/
|
|
7506
7836
|
prompt: string;
|
|
7837
|
+
/**
|
|
7838
|
+
* DIAL skill references with paths of at most 1024 decoded characters each. Omission preserves saved skills on update; an empty array removes them.
|
|
7839
|
+
* @type {Array<string>}
|
|
7840
|
+
* @memberof UpdateScheduledTaskBodyDto
|
|
7841
|
+
*/
|
|
7842
|
+
skillUrls?: Array<string>;
|
|
7507
7843
|
/**
|
|
7508
7844
|
*
|
|
7509
7845
|
* @type {string}
|
|
@@ -7603,6 +7939,12 @@ export interface UpdatedScheduledTaskDto {
|
|
|
7603
7939
|
* @memberof UpdatedScheduledTaskDto
|
|
7604
7940
|
*/
|
|
7605
7941
|
isActive?: boolean;
|
|
7942
|
+
/**
|
|
7943
|
+
* 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).
|
|
7944
|
+
* @type {boolean}
|
|
7945
|
+
* @memberof UpdatedScheduledTaskDto
|
|
7946
|
+
*/
|
|
7947
|
+
isCompleted?: boolean;
|
|
7606
7948
|
/**
|
|
7607
7949
|
*
|
|
7608
7950
|
* @type {boolean}
|
|
@@ -7639,6 +7981,12 @@ export interface UpdatedScheduledTaskDto {
|
|
|
7639
7981
|
* @memberof UpdatedScheduledTaskDto
|
|
7640
7982
|
*/
|
|
7641
7983
|
prompt?: string;
|
|
7984
|
+
/**
|
|
7985
|
+
*
|
|
7986
|
+
* @type {Array<string>}
|
|
7987
|
+
* @memberof UpdatedScheduledTaskDto
|
|
7988
|
+
*/
|
|
7989
|
+
skillUrls?: Array<string>;
|
|
7642
7990
|
}
|
|
7643
7991
|
/**
|
|
7644
7992
|
* @export
|
|
@@ -7736,7 +8084,7 @@ export interface UserConfigDto {
|
|
|
7736
8084
|
*/
|
|
7737
8085
|
export interface UserLimitStatsResponseDto {
|
|
7738
8086
|
/**
|
|
7739
|
-
* Per-deployment rate-limit and calendar-period usage stats, keyed by deployment name.
|
|
8087
|
+
* Per-deployment rate-limit and calendar-period usage stats, keyed by deployment name. Contains only the deployment kinds selected by the request `deploymentTypes` (models and/or applications); when the request omits it, the server-configured default kinds are reported (models and applications unless USER_USAGE_DEPLOYMENT_TYPES narrows them). Toolsets and routes never appear here. On GET /v1/user/limits every deployment of those kinds visible to the caller is present, including ones never used (reported against zero usage). On GET /v1/user/usage only deployments the caller used within the currently reported calendar periods are present; absence means zero usage, not "unknown".
|
|
7740
8088
|
* @type {{ [key: string]: DeploymentLimitsResponseDto; }}
|
|
7741
8089
|
* @memberof UserLimitStatsResponseDto
|
|
7742
8090
|
*/
|