@epam/ai-dial-chat-api-client 1.3.0-dev.29 → 1.3.0-dev.294

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 (43) hide show
  1. package/generated/src/apis/ApplicationsApi.d.ts +2 -2
  2. package/generated/src/apis/ApplicationsApi.js +2 -2
  3. package/generated/src/apis/AuthApi.d.ts +10 -0
  4. package/generated/src/apis/AuthApi.d.ts.map +1 -1
  5. package/generated/src/apis/AuthApi.js +24 -0
  6. package/generated/src/apis/CelebrationsApi.d.ts +60 -0
  7. package/generated/src/apis/CelebrationsApi.d.ts.map +1 -0
  8. package/generated/src/apis/CelebrationsApi.js +107 -0
  9. package/generated/src/apis/ConversationsApi.d.ts +33 -7
  10. package/generated/src/apis/ConversationsApi.d.ts.map +1 -1
  11. package/generated/src/apis/ConversationsApi.js +83 -6
  12. package/generated/src/apis/CustomApiApi.d.ts +49 -4
  13. package/generated/src/apis/CustomApiApi.d.ts.map +1 -1
  14. package/generated/src/apis/CustomApiApi.js +113 -4
  15. package/generated/src/apis/DeploymentsApi.d.ts +13 -0
  16. package/generated/src/apis/DeploymentsApi.d.ts.map +1 -1
  17. package/generated/src/apis/DeploymentsApi.js +35 -0
  18. package/generated/src/apis/ExternalServicesApi.d.ts +30 -1
  19. package/generated/src/apis/ExternalServicesApi.d.ts.map +1 -1
  20. package/generated/src/apis/ExternalServicesApi.js +82 -0
  21. package/generated/src/apis/FilesApi.d.ts +25 -0
  22. package/generated/src/apis/FilesApi.d.ts.map +1 -1
  23. package/generated/src/apis/FilesApi.js +62 -1
  24. package/generated/src/apis/OfflineCredentialsApi.d.ts +10 -0
  25. package/generated/src/apis/OfflineCredentialsApi.d.ts.map +1 -1
  26. package/generated/src/apis/OfflineCredentialsApi.js +31 -0
  27. package/generated/src/apis/ProjectsApi.d.ts +297 -0
  28. package/generated/src/apis/ProjectsApi.d.ts.map +1 -0
  29. package/generated/src/apis/ProjectsApi.js +872 -0
  30. package/generated/src/apis/PublishApi.d.ts +30 -1
  31. package/generated/src/apis/PublishApi.d.ts.map +1 -1
  32. package/generated/src/apis/PublishApi.js +54 -1
  33. package/generated/src/apis/ShareApi.d.ts +13 -0
  34. package/generated/src/apis/ShareApi.d.ts.map +1 -1
  35. package/generated/src/apis/ShareApi.js +34 -0
  36. package/generated/src/apis/index.d.ts +2 -0
  37. package/generated/src/apis/index.d.ts.map +1 -1
  38. package/generated/src/apis/index.js +2 -0
  39. package/generated/src/models/index.d.ts +2199 -514
  40. package/generated/src/models/index.d.ts.map +1 -1
  41. package/generated/src/models/index.js +218 -3
  42. package/package.json +2 -2
  43. package/tsconfig.lib.tsbuildinfo +1 -1
@@ -1,3 +1,40 @@
1
+ /**
2
+ *
3
+ * @export
4
+ * @interface AcceptInvitationErrorDto
5
+ */
6
+ export interface AcceptInvitationErrorDto {
7
+ /**
8
+ *
9
+ * @type {number}
10
+ * @memberof AcceptInvitationErrorDto
11
+ */
12
+ statusCode: number;
13
+ /**
14
+ *
15
+ * @type {string}
16
+ * @memberof AcceptInvitationErrorDto
17
+ */
18
+ error: string;
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof AcceptInvitationErrorDto
23
+ */
24
+ message: string;
25
+ /**
26
+ * Why DIAL Core refused the invitation. `shareInvitationNotFound`: the link expired, was revoked, or never existed. `shareInvitationAcceptedUsersLimitReached`: the shared resource has already been accepted by its maximum number of users.
27
+ * @type {ShareInvitationErrorCode}
28
+ * @memberof AcceptInvitationErrorDto
29
+ */
30
+ code?: ShareInvitationErrorCode;
31
+ /**
32
+ * Title of the shared conversation, present with `shareInvitationAcceptedUsersLimitReached` when the invitation shares a conversation.
33
+ * @type {string}
34
+ * @memberof AcceptInvitationErrorDto
35
+ */
36
+ itemName?: string;
37
+ }
1
38
  /**
2
39
  *
3
40
  * @export
@@ -840,533 +877,1177 @@ export type BackgroundGenerationStatus = (typeof BackgroundGenerationStatus)[key
840
877
  /**
841
878
  *
842
879
  * @export
843
- * @interface CellAddressDto
880
+ * @interface CatalogCreationPermissionsDto
844
881
  */
845
- export interface CellAddressDto {
882
+ export interface CatalogCreationPermissionsDto {
846
883
  /**
847
- * 1-based row number
848
- * @type {number}
849
- * @memberof CellAddressDto
884
+ * Creation types the caller may create, in the fixed order custom-app, schema-app, toolset, prompt, skill. Evaluated from CATALOG_CREATION_ROLES; a type without a rule is always present. Controls client creation workflows only.
885
+ * @type {Array<CatalogCreationType>}
886
+ * @memberof CatalogCreationPermissionsDto
850
887
  */
851
- row?: number;
888
+ allowedTypes: Array<CatalogCreationType>;
852
889
  /**
853
- * 1-based column number
854
- * @type {number}
855
- * @memberof CellAddressDto
890
+ * Exact application schema ids whose CATALOG_CREATION_ROLES rule the caller fails, in configuration order. Reported independently of the schema-app type; creating a schema app requires both.
891
+ * @type {Array<string>}
892
+ * @memberof CatalogCreationPermissionsDto
856
893
  */
857
- col?: number;
894
+ restrictedSchemaIds: Array<string>;
858
895
  }
896
+ /**
897
+ * Creation types the caller may create, in the fixed order custom-app, schema-app, toolset, prompt, skill. Evaluated from CATALOG_CREATION_ROLES; a type without a rule is always present. Controls client creation workflows only.
898
+ * @export
899
+ */
900
+ export declare const CatalogCreationType: {
901
+ readonly CustomApp: "custom-app";
902
+ readonly SchemaApp: "schema-app";
903
+ readonly Toolset: "toolset";
904
+ readonly Prompt: "prompt";
905
+ readonly Skill: "skill";
906
+ };
907
+ export type CatalogCreationType = (typeof CatalogCreationType)[keyof typeof CatalogCreationType];
859
908
  /**
860
909
  *
861
910
  * @export
862
- * @interface ChatCompletionChoiceDto
911
+ * @interface CelebrationAssetDto
863
912
  */
864
- export interface ChatCompletionChoiceDto {
913
+ export interface CelebrationAssetDto {
865
914
  /**
866
- *
915
+ * Asset ID, unique across the catalog; ends with the first 16 hex characters of its SHA-256.
916
+ * @type {string}
917
+ * @memberof CelebrationAssetDto
918
+ */
919
+ assetId: string;
920
+ /**
921
+ * Media type the asset is served with.
922
+ * @type {CelebrationMediaType}
923
+ * @memberof CelebrationAssetDto
924
+ */
925
+ mediaType: CelebrationMediaType;
926
+ /**
927
+ * Exact byte length of the uncompressed asset.
867
928
  * @type {number}
868
- * @memberof ChatCompletionChoiceDto
929
+ * @memberof CelebrationAssetDto
869
930
  */
870
- index: number;
931
+ bytes: number;
871
932
  /**
872
- *
873
- * @type {ChatCompletionChoiceDtoMessage}
874
- * @memberof ChatCompletionChoiceDto
933
+ * Lowercase hex SHA-256 of the uncompressed asset.
934
+ * @type {string}
935
+ * @memberof CelebrationAssetDto
875
936
  */
876
- message: ChatCompletionChoiceDtoMessage;
937
+ sha256: string;
877
938
  }
878
939
  /**
879
940
  *
880
941
  * @export
881
- * @interface ChatCompletionChoiceDtoMessage
942
+ * @interface CelebrationCatalogDto
882
943
  */
883
- export interface ChatCompletionChoiceDtoMessage {
944
+ export interface CelebrationCatalogDto {
884
945
  /**
885
- *
886
- * @type {string}
887
- * @memberof ChatCompletionChoiceDtoMessage
946
+ * Schema version of the published celebration index.
947
+ * @type {number}
948
+ * @memberof CelebrationCatalogDto
888
949
  */
889
- role?: string;
950
+ schemaVersion: number;
890
951
  /**
891
- *
952
+ * Catalog revision. Changes whenever the published index changes; every pack resolved from this index reports it as catalogRevision.
892
953
  * @type {string}
893
- * @memberof ChatCompletionChoiceDtoMessage
954
+ * @memberof CelebrationCatalogDto
894
955
  */
895
- content?: string;
956
+ revision: string;
957
+ /**
958
+ * Every published pack version, in index order.
959
+ * @type {Array<CelebrationCatalogPackDto>}
960
+ * @memberof CelebrationCatalogDto
961
+ */
962
+ packs: Array<CelebrationCatalogPackDto>;
963
+ /**
964
+ * Default pack per event ID. Each value names a listed pack whose eventId equals the key; invalid entries are dropped.
965
+ * @type {{ [key: string]: CelebrationPackRefDto; }}
966
+ * @memberof CelebrationCatalogDto
967
+ */
968
+ defaults: {
969
+ [key: string]: CelebrationPackRefDto;
970
+ };
896
971
  }
897
972
  /**
898
973
  *
899
974
  * @export
900
- * @interface ChatCompletionDto
975
+ * @interface CelebrationCatalogPackDto
901
976
  */
902
- export interface ChatCompletionDto {
977
+ export interface CelebrationCatalogPackDto {
903
978
  /**
904
- * DIAL Core deployment name (may contain slashes and special characters)
979
+ * Pack ID, lowercase kebab-case.
905
980
  * @type {string}
906
- * @memberof ChatCompletionDto
907
- */
908
- deployment: string;
909
- /**
910
- * Ordered chat messages to send to DIAL Core
911
- * @type {Array<MessageDto>}
912
- * @memberof ChatCompletionDto
981
+ * @memberof CelebrationCatalogPackDto
913
982
  */
914
- messages: Array<MessageDto>;
983
+ packId: string;
915
984
  /**
916
- * Sampling temperature
917
- * @type {number}
918
- * @memberof ChatCompletionDto
985
+ * Pack version, strict semver.
986
+ * @type {string}
987
+ * @memberof CelebrationCatalogPackDto
919
988
  */
920
- temperature?: number;
989
+ version: string;
921
990
  /**
922
- * Maximum number of tokens to generate
923
- * @type {number}
924
- * @memberof ChatCompletionDto
991
+ * Celebration event the pack belongs to.
992
+ * @type {string}
993
+ * @memberof CelebrationCatalogPackDto
925
994
  */
926
- maxTokens?: number;
995
+ eventId: string;
927
996
  }
928
997
  /**
929
998
  *
930
999
  * @export
931
- * @interface ChatCompletionResponseDto
1000
+ * @interface CelebrationDecorationDto
932
1001
  */
933
- export interface ChatCompletionResponseDto {
1002
+ export interface CelebrationDecorationDto {
934
1003
  /**
935
- *
1004
+ * Decoration template ID.
936
1005
  * @type {string}
937
- * @memberof ChatCompletionResponseDto
1006
+ * @memberof CelebrationDecorationDto
938
1007
  */
939
- id: string;
1008
+ template: string;
940
1009
  /**
941
- *
1010
+ * Asset ID of the trigger image.
942
1011
  * @type {string}
943
- * @memberof ChatCompletionResponseDto
1012
+ * @memberof CelebrationDecorationDto
944
1013
  */
945
- object: string;
1014
+ posterAssetId: string;
946
1015
  /**
947
- *
948
- * @type {Array<ChatCompletionChoiceDto>}
949
- * @memberof ChatCompletionResponseDto
1016
+ * Label ID of the trigger accessible name.
1017
+ * @type {string}
1018
+ * @memberof CelebrationDecorationDto
950
1019
  */
951
- choices: Array<ChatCompletionChoiceDto>;
1020
+ labelId: string;
952
1021
  }
953
1022
  /**
954
1023
  *
955
1024
  * @export
956
- * @interface Check200Response
1025
+ * @interface CelebrationDeliveryDto
957
1026
  */
958
- export interface Check200Response {
1027
+ export interface CelebrationDeliveryDto {
959
1028
  /**
960
- * Health status
961
- * @type {string}
962
- * @memberof Check200Response
1029
+ * Where scenes come from. Sourced from UI_EVENT_DELIVERY_MODE; bundled unless it is prefer-external.
1030
+ * @type {CelebrationDeliveryMode}
1031
+ * @memberof CelebrationDeliveryDto
963
1032
  */
964
- status?: string;
1033
+ mode: CelebrationDeliveryMode;
965
1034
  /**
966
- * Current server time in ISO format
1035
+ * Operator revision of this policy, from UI_EVENT_DELIVERY_REVISION; changing it restarts a playing scene. Defaults to "0".
967
1036
  * @type {string}
968
- * @memberof Check200Response
1037
+ * @memberof CelebrationDeliveryDto
969
1038
  */
970
- timestamp?: string;
1039
+ revision: string;
971
1040
  /**
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.
973
- * @type {string}
974
- * @memberof Check200Response
1041
+ * Scenes of compiled events that may come from a pack, from UI_EVENT_EXTERNAL_SCENES. Empty by default.
1042
+ * @type {Array<CelebrationExternalSceneDto>}
1043
+ * @memberof CelebrationDeliveryDto
975
1044
  */
976
- version?: string;
1045
+ externalScenes: Array<CelebrationExternalSceneDto>;
977
1046
  /**
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.
979
- * @type {string}
980
- * @memberof Check200Response
1047
+ * Event IDs without a compiled module that may come entirely from a pack, from UI_EVENT_EXTERNAL_EVENTS. Empty by default.
1048
+ * @type {Array<string>}
1049
+ * @memberof CelebrationDeliveryDto
981
1050
  */
982
- buildId?: string;
1051
+ externalEvents: Array<string>;
983
1052
  }
1053
+ /**
1054
+ * Where scenes come from. Sourced from UI_EVENT_DELIVERY_MODE; bundled unless it is prefer-external.
1055
+ * @export
1056
+ */
1057
+ export declare const CelebrationDeliveryMode: {
1058
+ readonly Bundled: "bundled";
1059
+ readonly PreferExternal: "prefer-external";
1060
+ };
1061
+ export type CelebrationDeliveryMode = (typeof CelebrationDeliveryMode)[keyof typeof CelebrationDeliveryMode];
984
1062
  /**
985
1063
  *
986
1064
  * @export
987
- * @interface ClientConfigDto
1065
+ * @interface CelebrationEventDto
988
1066
  */
989
- export interface ClientConfigDto {
990
- /**
991
- * Whether a text refinement model is configured. Missing means unavailable.
992
- * @type {boolean}
993
- * @memberof ClientConfigDto
994
- */
995
- aiTextRefinementAvailable?: boolean;
1067
+ export interface CelebrationEventDto {
996
1068
  /**
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.
1069
+ * Label ID of the notification title.
998
1070
  * @type {string}
999
- * @memberof ClientConfigDto
1071
+ * @memberof CelebrationEventDto
1000
1072
  */
1001
- activeEventId: string | null;
1073
+ titleLabelId: string;
1002
1074
  /**
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.
1004
- * @type {string}
1005
- * @memberof ClientConfigDto
1075
+ * Scenes the trigger plays, each a declared scene ID.
1076
+ * @type {Array<string>}
1077
+ * @memberof CelebrationEventDto
1006
1078
  */
1007
- appVersion: string;
1079
+ clickSceneIds: Array<string>;
1008
1080
  /**
1009
- * Deployment ID of the ASR model. Null when ASR is not configured.
1081
+ * Asset ID of the event icon.
1010
1082
  * @type {string}
1011
- * @memberof ClientConfigDto
1083
+ * @memberof CelebrationEventDto
1012
1084
  */
1013
- asrModelId: string | null;
1085
+ iconAssetId?: string;
1014
1086
  /**
1015
- * Maximum audio file size in bytes accepted by the transcription endpoint.
1016
- * @type {number}
1017
- * @memberof ClientConfigDto
1087
+ * The static trigger.
1088
+ * @type {CelebrationDecorationDto}
1089
+ * @memberof CelebrationEventDto
1018
1090
  */
1019
- transcribeSizeLimitBytes: number;
1091
+ decoration: CelebrationDecorationDto;
1092
+ }
1093
+ /**
1094
+ *
1095
+ * @export
1096
+ * @interface CelebrationExternalSceneDto
1097
+ */
1098
+ export interface CelebrationExternalSceneDto {
1020
1099
  /**
1021
- * Operator-configured default deployment ID. Null when not configured.
1100
+ * Celebration event ID.
1022
1101
  * @type {string}
1023
- * @memberof ClientConfigDto
1102
+ * @memberof CelebrationExternalSceneDto
1024
1103
  */
1025
- defaultDeploymentId?: string | null;
1104
+ eventId: string;
1026
1105
  /**
1027
- * Public-facing DIAL Core base URL reachable from the browser. Null when DIAL_CORE_EXTERNAL_URL is not configured.
1106
+ * Scene ID within the event.
1028
1107
  * @type {string}
1029
- * @memberof ClientConfigDto
1108
+ * @memberof CelebrationExternalSceneDto
1030
1109
  */
1031
- dialCoreExternalUrl?: string | null;
1110
+ sceneId: string;
1111
+ }
1112
+ /**
1113
+ * Media type the asset is served with.
1114
+ * @export
1115
+ */
1116
+ export declare const CelebrationMediaType: {
1117
+ readonly ApplicationJson: "application/json";
1118
+ readonly ImageSvgxml: "image/svg+xml";
1119
+ readonly ImagePng: "image/png";
1120
+ readonly ImageWebp: "image/webp";
1121
+ };
1122
+ export type CelebrationMediaType = (typeof CelebrationMediaType)[keyof typeof CelebrationMediaType];
1123
+ /**
1124
+ *
1125
+ * @export
1126
+ * @interface CelebrationPackDto
1127
+ */
1128
+ export interface CelebrationPackDto {
1032
1129
  /**
1033
- * Isolated-origin URL of the deployed MCP Apps sandbox-proxy app. Null when MCP_APP_SANDBOX_URL is not configured.
1130
+ * Pack ID.
1034
1131
  * @type {string}
1035
- * @memberof ClientConfigDto
1132
+ * @memberof CelebrationPackDto
1036
1133
  */
1037
- mcpAppSandboxUrl?: string | null;
1134
+ packId: string;
1038
1135
  /**
1039
- * Admin-controlled color theme override for MCP App Views. Null when MCP_APP_THEME is not configured — each client uses its own active theme.
1136
+ * Pack version.
1040
1137
  * @type {string}
1041
- * @memberof ClientConfigDto
1138
+ * @memberof CelebrationPackDto
1042
1139
  */
1043
- mcpAppTheme?: ClientConfigDtoMcpAppThemeEnum | null;
1140
+ version: string;
1044
1141
  /**
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.
1142
+ * Celebration event ID.
1046
1143
  * @type {string}
1047
- * @memberof ClientConfigDto
1144
+ * @memberof CelebrationPackDto
1048
1145
  */
1049
- mcpAppUserAgent?: string | null;
1146
+ eventId: string;
1050
1147
  /**
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.
1148
+ * Revision of the celebration index the pack was resolved from.
1052
1149
  * @type {string}
1053
- * @memberof ClientConfigDto
1150
+ * @memberof CelebrationPackDto
1054
1151
  */
1055
- mcpAppHostName?: string | null;
1152
+ catalogRevision: string;
1056
1153
  /**
1057
- * Which File Manager tabs are shown to users. Defaults to the All tab plus the three source tabs.
1154
+ * Capabilities the pack as a whole requires.
1058
1155
  * @type {Array<string>}
1059
- * @memberof ClientConfigDto
1156
+ * @memberof CelebrationPackDto
1060
1157
  */
1061
- fileManagerTabs: Array<string>;
1158
+ requiredCapabilities: Array<string>;
1062
1159
  /**
1063
- * Whether the chat-overlay embedded runtime mode is enabled. Sourced from OVERLAY_ENABLED.
1064
- * @type {boolean}
1065
- * @memberof ClientConfigDto
1160
+ * Every asset the pack declares.
1161
+ * @type {Array<CelebrationAssetDto>}
1162
+ * @memberof CelebrationPackDto
1066
1163
  */
1067
- overlayEnabled: boolean;
1164
+ assets: Array<CelebrationAssetDto>;
1068
1165
  /**
1069
- * Host origins allowed to embed this app. Sourced from ALLOWED_IFRAME_ORIGINS, the same list used for CSP frame-ancestors/frame-src.
1070
- * @type {Array<string>}
1071
- * @memberof ClientConfigDto
1166
+ * Pack labels as locale → label ID → plain text. Includes en whenever it is non-empty.
1167
+ * @type {{ [key: string]: { [key: string]: string; }; }}
1168
+ * @memberof CelebrationPackDto
1072
1169
  */
1073
- overlayAllowedOrigins: Array<string>;
1170
+ labels: {
1171
+ [key: string]: {
1172
+ [key: string]: string;
1173
+ };
1174
+ };
1074
1175
  /**
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
1176
+ * Event-level fields; present only for an external-only event.
1177
+ * @type {CelebrationEventDto}
1178
+ * @memberof CelebrationPackDto
1078
1179
  */
1079
- allowedConnectOrigins?: Array<string>;
1180
+ event?: CelebrationEventDto;
1080
1181
  /**
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.
1082
- * @type {Array<string>}
1083
- * @memberof ClientConfigDto
1182
+ * Scenes in declaration order.
1183
+ * @type {Array<CelebrationSceneDto>}
1184
+ * @memberof CelebrationPackDto
1084
1185
  */
1085
- enabledUiFeatures: Array<string> | null;
1186
+ scenes: Array<CelebrationSceneDto>;
1187
+ }
1188
+ /**
1189
+ *
1190
+ * @export
1191
+ * @interface CelebrationPackRefDto
1192
+ */
1193
+ export interface CelebrationPackRefDto {
1086
1194
  /**
1087
- * Operator-authored HTML announcement message shown in a dismissible top-of-app banner. Null when ANNOUNCEMENT_HTML_MESSAGE is not configured.
1195
+ * Pack ID, lowercase kebab-case.
1088
1196
  * @type {string}
1089
- * @memberof ClientConfigDto
1197
+ * @memberof CelebrationPackRefDto
1090
1198
  */
1091
- announcementHtml?: string | null;
1199
+ packId: string;
1092
1200
  /**
1093
- * Plain-text heading shown in bold at the start of the announcement banner line. Never interpreted as markup. Null when ANNOUNCEMENT_TITLE is not configured or is blank.
1201
+ * Pack version, strict semver.
1094
1202
  * @type {string}
1095
- * @memberof ClientConfigDto
1203
+ * @memberof CelebrationPackRefDto
1096
1204
  */
1097
- announcementTitle?: string | null;
1205
+ version: string;
1206
+ }
1207
+ /**
1208
+ *
1209
+ * @export
1210
+ * @interface CelebrationPlacementDto
1211
+ */
1212
+ export interface CelebrationPlacementDto {
1098
1213
  /**
1099
- * Supporting copy shown after the announcement banner title. Sanitized server-side to a safe HTML subset; anchors are forced to target="_blank" with rel="noopener noreferrer". Null when ANNOUNCEMENT_DESCRIPTION is not configured, is blank, or sanitizes away entirely.
1214
+ * Placement template ID. Templates other than viewport-stage-v1 are passed as the ID alone, and clients without the matching capability skip the scene.
1100
1215
  * @type {string}
1101
- * @memberof ClientConfigDto
1216
+ * @memberof CelebrationPlacementDto
1102
1217
  */
1103
- announcementDescription?: string | null;
1218
+ template: string;
1104
1219
  /**
1105
- * Announcements listed in the popover behind the banner's "+N announcements" pill, in configured order. Empty when ANNOUNCEMENTS is unset or contained no valid entries. Sourced from ANNOUNCEMENTS.
1106
- * @type {Array<AnnouncementItemDto>}
1107
- * @memberof ClientConfigDto
1220
+ * How the stage scales into the viewport (viewport-stage-v1).
1221
+ * @type {CelebrationStageFit}
1222
+ * @memberof CelebrationPlacementDto
1108
1223
  */
1109
- announcements: Array<AnnouncementItemDto>;
1224
+ fit?: CelebrationStageFit;
1110
1225
  /**
1111
- * Plain-text copy shown below the greeting heading on the new-chat start screen. Never interpreted as markup. Null when WELCOME_SCREEN_DESCRIPTION is not configured or is blank.
1112
- * @type {string}
1113
- * @memberof ClientConfigDto
1226
+ * Where the stage sits in the viewport, in logical terms (viewport-stage-v1).
1227
+ * @type {CelebrationStageAlign}
1228
+ * @memberof CelebrationPlacementDto
1114
1229
  */
1115
- welcomeScreenDescription?: string | null;
1230
+ align?: CelebrationStageAlign;
1231
+ }
1232
+ /**
1233
+ * How the scene adapts to a right-to-left host.
1234
+ * @export
1235
+ */
1236
+ export declare const CelebrationSceneDirection: {
1237
+ readonly None: "none";
1238
+ readonly Mirror: "mirror";
1239
+ readonly Variant: "variant";
1240
+ };
1241
+ export type CelebrationSceneDirection = (typeof CelebrationSceneDirection)[keyof typeof CelebrationSceneDirection];
1242
+ /**
1243
+ *
1244
+ * @export
1245
+ * @interface CelebrationSceneDto
1246
+ */
1247
+ export interface CelebrationSceneDto {
1116
1248
  /**
1117
- * Operator-authored HTML footer message shown below the chat input (desktop) and in the mobile user panel. Empty string when FOOTER_HTML_MESSAGE is not configured. Sanitized server-side; supports %%VERSION%% token.
1249
+ * Scene ID; a scene that replaces a bundled scene uses its bundled ID.
1118
1250
  * @type {string}
1119
- * @memberof ClientConfigDto
1251
+ * @memberof CelebrationSceneDto
1120
1252
  */
1121
- footerHtmlMessage: string;
1253
+ id: string;
1122
1254
  /**
1123
- * Registry of MIME → visualizer iframe mappings. Sourced from CUSTOM_VISUALIZERS. Empty when unset — the feature is dark by default.
1124
- * @type {Array<CustomVisualizerDto>}
1125
- * @memberof ClientConfigDto
1255
+ * Label ID of the notification text shown with the scene.
1256
+ * @type {string}
1257
+ * @memberof CelebrationSceneDto
1126
1258
  */
1127
- customVisualizers: Array<CustomVisualizerDto>;
1259
+ labelId: string;
1128
1260
  /**
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
1261
+ * Renderer capability ID.
1262
+ * @type {string}
1263
+ * @memberof CelebrationSceneDto
1132
1264
  */
1133
- applicationVisualizers: {
1134
- [key: string]: ApplicationVisualizerDto;
1135
- };
1265
+ renderer: string;
1136
1266
  /**
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.
1138
- * @type {{ [key: string]: unknown }}
1139
- * @memberof ClientConfigDto
1267
+ * Capabilities the client must support to play the scene.
1268
+ * @type {Array<string>}
1269
+ * @memberof CelebrationSceneDto
1140
1270
  */
1141
- customVariables: {
1142
- [key: string]: unknown;
1143
- };
1271
+ requiredCapabilities: Array<string>;
1144
1272
  /**
1145
- * Allowed claim/category names selectable as a publication access rule's source. Sourced from PUBLICATION_FILTER_SOURCES; falls back to the legacy default when unset or empty.
1146
- * @type {Array<string>}
1147
- * @memberof ClientConfigDto
1273
+ * Scene placement.
1274
+ * @type {CelebrationPlacementDto}
1275
+ * @memberof CelebrationSceneDto
1148
1276
  */
1149
- publicationFilterSources: Array<string>;
1277
+ placement: CelebrationPlacementDto;
1150
1278
  /**
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.
1279
+ * How the scene adapts to a right-to-left host.
1280
+ * @type {CelebrationSceneDirection}
1281
+ * @memberof CelebrationSceneDto
1282
+ */
1283
+ direction: CelebrationSceneDirection;
1284
+ /**
1285
+ * Scene timing.
1286
+ * @type {CelebrationTimingDto}
1287
+ * @memberof CelebrationSceneDto
1288
+ */
1289
+ timing: CelebrationTimingDto;
1290
+ /**
1291
+ * Asset ID of the static poster.
1292
+ * @type {string}
1293
+ * @memberof CelebrationSceneDto
1294
+ */
1295
+ posterAssetId: string;
1296
+ /**
1297
+ * How long the poster stays, from 1000 to maxLifetimeMs.
1152
1298
  * @type {number}
1153
- * @memberof ClientConfigDto
1299
+ * @memberof CelebrationSceneDto
1154
1300
  */
1155
- maxAttachmentFileSizeBytes: number;
1301
+ posterDurationMs: number;
1302
+ /**
1303
+ * One to eight variants, in declaration order.
1304
+ * @type {Array<CelebrationVariantDto>}
1305
+ * @memberof CelebrationSceneDto
1306
+ */
1307
+ variants: Array<CelebrationVariantDto>;
1156
1308
  }
1157
1309
  /**
1310
+ * Where the stage sits in the viewport, in logical terms (viewport-stage-v1).
1158
1311
  * @export
1159
1312
  */
1160
- export declare const ClientConfigDtoMcpAppThemeEnum: {
1161
- readonly Light: "light";
1162
- readonly Dark: "dark";
1313
+ export declare const CelebrationStageAlign: {
1314
+ readonly Center: "center";
1315
+ readonly Top: "top";
1316
+ readonly Bottom: "bottom";
1317
+ readonly TopStart: "top-start";
1318
+ readonly TopEnd: "top-end";
1319
+ readonly BottomStart: "bottom-start";
1320
+ readonly BottomEnd: "bottom-end";
1163
1321
  };
1164
- export type ClientConfigDtoMcpAppThemeEnum = (typeof ClientConfigDtoMcpAppThemeEnum)[keyof typeof ClientConfigDtoMcpAppThemeEnum];
1322
+ export type CelebrationStageAlign = (typeof CelebrationStageAlign)[keyof typeof CelebrationStageAlign];
1323
+ /**
1324
+ * How the stage scales into the viewport (viewport-stage-v1).
1325
+ * @export
1326
+ */
1327
+ export declare const CelebrationStageFit: {
1328
+ readonly Contain: "contain";
1329
+ readonly Cover: "cover";
1330
+ };
1331
+ export type CelebrationStageFit = (typeof CelebrationStageFit)[keyof typeof CelebrationStageFit];
1165
1332
  /**
1166
1333
  *
1167
1334
  * @export
1168
- * @interface ClientConfigMetadataDto
1335
+ * @interface CelebrationTimingDto
1169
1336
  */
1170
- export interface ClientConfigMetadataDto {
1337
+ export interface CelebrationTimingDto {
1171
1338
  /**
1172
- * ISO timestamp when the config was resolved.
1173
- * @type {string}
1174
- * @memberof ClientConfigMetadataDto
1339
+ * Authored story length.
1340
+ * @type {number}
1341
+ * @memberof CelebrationTimingDto
1175
1342
  */
1176
- resolvedAt: string;
1343
+ playbackDurationMs: number;
1177
1344
  /**
1178
- * Cache TTL in seconds applied to this response.
1345
+ * Time allowed for the player and animation data, at most 2000.
1179
1346
  * @type {number}
1180
- * @memberof ClientConfigMetadataDto
1347
+ * @memberof CelebrationTimingDto
1181
1348
  */
1182
- cacheTtlSeconds: number;
1349
+ loadTimeoutMs: number;
1350
+ /**
1351
+ * Time from loadAnimation to renderer readiness, at most 250.
1352
+ * @type {number}
1353
+ * @memberof CelebrationTimingDto
1354
+ */
1355
+ readyTimeoutMs: number;
1356
+ /**
1357
+ * Total lifetime from mount, at least load + ready + playback and at most 32000.
1358
+ * @type {number}
1359
+ * @memberof CelebrationTimingDto
1360
+ */
1361
+ maxLifetimeMs: number;
1183
1362
  }
1363
+ /**
1364
+ * Required color scheme.
1365
+ * @export
1366
+ */
1367
+ export declare const CelebrationVariantColorScheme: {
1368
+ readonly Light: "light";
1369
+ readonly Dark: "dark";
1370
+ };
1371
+ export type CelebrationVariantColorScheme = (typeof CelebrationVariantColorScheme)[keyof typeof CelebrationVariantColorScheme];
1184
1372
  /**
1185
1373
  *
1186
1374
  * @export
1187
- * @interface ClientConfigResponseDto
1375
+ * @interface CelebrationVariantConditionsDto
1188
1376
  */
1189
- export interface ClientConfigResponseDto {
1190
- /**
1191
- * Application identifier.
1192
- * @type {string}
1193
- * @memberof ClientConfigResponseDto
1194
- */
1195
- appId: string;
1377
+ export interface CelebrationVariantConditionsDto {
1196
1378
  /**
1197
- * Feature flags — boolean per feature key.
1198
- * @type {object}
1199
- * @memberof ClientConfigResponseDto
1379
+ * Required host layout.
1380
+ * @type {CelebrationVariantLayout}
1381
+ * @memberof CelebrationVariantConditionsDto
1200
1382
  */
1201
- features: object;
1383
+ layout?: CelebrationVariantLayout;
1202
1384
  /**
1203
- * Non-boolean configuration values.
1204
- * @type {ClientConfigDto}
1205
- * @memberof ClientConfigResponseDto
1385
+ * Required text direction.
1386
+ * @type {CelebrationVariantDirection}
1387
+ * @memberof CelebrationVariantConditionsDto
1206
1388
  */
1207
- config: ClientConfigDto;
1389
+ direction?: CelebrationVariantDirection;
1208
1390
  /**
1209
- * Resolution metadata.
1210
- * @type {ClientConfigMetadataDto}
1211
- * @memberof ClientConfigResponseDto
1391
+ * Required color scheme.
1392
+ * @type {CelebrationVariantColorScheme}
1393
+ * @memberof CelebrationVariantConditionsDto
1212
1394
  */
1213
- metadata?: ClientConfigMetadataDto;
1395
+ colorScheme?: CelebrationVariantColorScheme;
1214
1396
  }
1397
+ /**
1398
+ * Required text direction.
1399
+ * @export
1400
+ */
1401
+ export declare const CelebrationVariantDirection: {
1402
+ readonly Ltr: "ltr";
1403
+ readonly Rtl: "rtl";
1404
+ };
1405
+ export type CelebrationVariantDirection = (typeof CelebrationVariantDirection)[keyof typeof CelebrationVariantDirection];
1215
1406
  /**
1216
1407
  *
1217
1408
  * @export
1218
- * @interface ConversationDeletionFailureDto
1409
+ * @interface CelebrationVariantDto
1219
1410
  */
1220
- export interface ConversationDeletionFailureDto {
1411
+ export interface CelebrationVariantDto {
1221
1412
  /**
1222
- * Conversation ID that failed to delete
1223
- * @type {string}
1224
- * @memberof ConversationDeletionFailureDto
1413
+ * Conditions the variant requires.
1414
+ * @type {CelebrationVariantConditionsDto}
1415
+ * @memberof CelebrationVariantDto
1225
1416
  */
1226
- id: string;
1417
+ when: CelebrationVariantConditionsDto;
1227
1418
  /**
1228
- * Stable application error code
1419
+ * Asset ID of the Lottie JSON.
1229
1420
  * @type {string}
1230
- * @memberof ConversationDeletionFailureDto
1421
+ * @memberof CelebrationVariantDto
1231
1422
  */
1232
- code: ConversationDeletionFailureDtoCodeEnum;
1423
+ animationAssetId: string;
1233
1424
  }
1234
1425
  /**
1426
+ * Required host layout.
1235
1427
  * @export
1236
1428
  */
1237
- export declare const ConversationDeletionFailureDtoCodeEnum: {
1238
- readonly NotFound: "NOT_FOUND";
1239
- readonly Forbidden: "FORBIDDEN";
1240
- readonly UpstreamError: "UPSTREAM_ERROR";
1241
- readonly Unknown: "UNKNOWN";
1429
+ export declare const CelebrationVariantLayout: {
1430
+ readonly Mobile: "mobile";
1431
+ readonly Desktop: "desktop";
1242
1432
  };
1243
- export type ConversationDeletionFailureDtoCodeEnum = (typeof ConversationDeletionFailureDtoCodeEnum)[keyof typeof ConversationDeletionFailureDtoCodeEnum];
1433
+ export type CelebrationVariantLayout = (typeof CelebrationVariantLayout)[keyof typeof CelebrationVariantLayout];
1244
1434
  /**
1245
1435
  *
1246
1436
  * @export
1247
- * @interface ConversationDeletionResultDto
1437
+ * @interface CellAddressDto
1248
1438
  */
1249
- export interface ConversationDeletionResultDto {
1439
+ export interface CellAddressDto {
1250
1440
  /**
1251
- * Total number of IDs received in the request (after deduplication)
1441
+ * 1-based row number
1252
1442
  * @type {number}
1253
- * @memberof ConversationDeletionResultDto
1443
+ * @memberof CellAddressDto
1254
1444
  */
1255
- requested: number;
1445
+ row?: number;
1256
1446
  /**
1257
- * Number of conversations successfully deleted from DIAL Core
1447
+ * 1-based column number
1258
1448
  * @type {number}
1259
- * @memberof ConversationDeletionResultDto
1449
+ * @memberof CellAddressDto
1260
1450
  */
1261
- deleted: number;
1451
+ col?: number;
1452
+ }
1453
+ /**
1454
+ *
1455
+ * @export
1456
+ * @interface ChatCompletionChoiceDto
1457
+ */
1458
+ export interface ChatCompletionChoiceDto {
1262
1459
  /**
1263
- * Number of IDs that were already absent from DIAL Core (counted as success)
1460
+ *
1264
1461
  * @type {number}
1265
- * @memberof ConversationDeletionResultDto
1462
+ * @memberof ChatCompletionChoiceDto
1266
1463
  */
1267
- alreadyAbsent: number;
1464
+ index: number;
1268
1465
  /**
1269
- * Items that could not be deleted
1270
- * @type {Array<ConversationDeletionFailureDto>}
1271
- * @memberof ConversationDeletionResultDto
1466
+ *
1467
+ * @type {ChatCompletionChoiceDtoMessage}
1468
+ * @memberof ChatCompletionChoiceDto
1272
1469
  */
1273
- failed: Array<ConversationDeletionFailureDto>;
1470
+ message: ChatCompletionChoiceDtoMessage;
1274
1471
  }
1275
1472
  /**
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`.
1473
+ *
1277
1474
  * @export
1475
+ * @interface ChatCompletionChoiceDtoMessage
1278
1476
  */
1279
- export declare const ConversationErrorCode: {
1280
- readonly ConversationDuplicateModelHidden: "conversationDuplicateModelHidden";
1281
- };
1282
- export type ConversationErrorCode = (typeof ConversationErrorCode)[keyof typeof ConversationErrorCode];
1477
+ export interface ChatCompletionChoiceDtoMessage {
1478
+ /**
1479
+ *
1480
+ * @type {string}
1481
+ * @memberof ChatCompletionChoiceDtoMessage
1482
+ */
1483
+ role?: string;
1484
+ /**
1485
+ *
1486
+ * @type {string}
1487
+ * @memberof ChatCompletionChoiceDtoMessage
1488
+ */
1489
+ content?: string;
1490
+ }
1283
1491
  /**
1284
1492
  *
1285
1493
  * @export
1286
- * @interface ConversationListItemDto
1494
+ * @interface ChatCompletionDto
1287
1495
  */
1288
- export interface ConversationListItemDto {
1496
+ export interface ChatCompletionDto {
1289
1497
  /**
1290
- * Full DIAL Core resource URL used as the stable conversation identifier.
1498
+ * DIAL Core deployment name (may contain slashes and special characters)
1291
1499
  * @type {string}
1292
- * @memberof ConversationListItemDto
1500
+ * @memberof ChatCompletionDto
1293
1501
  */
1294
- id: string;
1502
+ deployment: string;
1295
1503
  /**
1296
- * Human-readable conversation title (the resource `name` from DIAL Core).
1297
- * @type {string}
1298
- * @memberof ConversationListItemDto
1504
+ * Ordered chat messages to send to DIAL Core
1505
+ * @type {Array<MessageDto>}
1506
+ * @memberof ChatCompletionDto
1299
1507
  */
1300
- title: string;
1508
+ messages: Array<MessageDto>;
1301
1509
  /**
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.
1510
+ * Sampling temperature
1303
1511
  * @type {number}
1304
- * @memberof ConversationListItemDto
1512
+ * @memberof ChatCompletionDto
1305
1513
  */
1306
- createdAt?: number;
1514
+ temperature?: number;
1307
1515
  /**
1308
- * Unix epoch milliseconds of the last update.
1516
+ * Maximum number of tokens to generate
1309
1517
  * @type {number}
1310
- * @memberof ConversationListItemDto
1311
- */
1312
- updatedAt: number;
1313
- /**
1314
- * True when this conversation was shared with the current user by another user.
1315
- * @type {boolean}
1316
- * @memberof ConversationListItemDto
1518
+ * @memberof ChatCompletionDto
1317
1519
  */
1318
- sharedWithMe: boolean;
1520
+ maxTokens?: number;
1521
+ }
1522
+ /**
1523
+ *
1524
+ * @export
1525
+ * @interface ChatCompletionResponseDto
1526
+ */
1527
+ export interface ChatCompletionResponseDto {
1319
1528
  /**
1320
- * True when this conversation was published to the organisation and is visible to the current user.
1321
- * @type {boolean}
1322
- * @memberof ConversationListItemDto
1529
+ *
1530
+ * @type {string}
1531
+ * @memberof ChatCompletionResponseDto
1323
1532
  */
1324
- publishedWithMe: boolean;
1533
+ id: string;
1325
1534
  /**
1326
- * True when the user has pinned this conversation.
1327
- * @type {boolean}
1328
- * @memberof ConversationListItemDto
1535
+ *
1536
+ * @type {string}
1537
+ * @memberof ChatCompletionResponseDto
1329
1538
  */
1330
- isPinned: boolean;
1539
+ object: string;
1331
1540
  /**
1332
- * True when the current user does not have WRITE permission on this conversation.
1333
- * @type {boolean}
1334
- * @memberof ConversationListItemDto
1541
+ *
1542
+ * @type {Array<ChatCompletionChoiceDto>}
1543
+ * @memberof ChatCompletionResponseDto
1335
1544
  */
1336
- isReadonly: boolean;
1545
+ choices: Array<ChatCompletionChoiceDto>;
1546
+ }
1547
+ /**
1548
+ *
1549
+ * @export
1550
+ * @interface Check200Response
1551
+ */
1552
+ export interface Check200Response {
1337
1553
  /**
1338
- * True when this conversation was created by a DIAL Scheduler run (its resource path matches the `.scheduler/{scheduleId}/{filename}` reserved segment, with `{filename}` shaped `{deploymentId}__{title}__{runId}`).
1339
- * @type {boolean}
1340
- * @memberof ConversationListItemDto
1554
+ * Health status
1555
+ * @type {string}
1556
+ * @memberof Check200Response
1341
1557
  */
1342
- isScheduledTask: boolean;
1558
+ status?: string;
1343
1559
  /**
1344
- * DIAL Scheduler schedule identifier. Present only when `isScheduledTask` is true.
1560
+ * Current server time in ISO format
1345
1561
  * @type {string}
1346
- * @memberof ConversationListItemDto
1562
+ * @memberof Check200Response
1347
1563
  */
1348
- scheduleId?: string;
1564
+ timestamp?: string;
1349
1565
  /**
1350
- * DIAL Scheduler run identifier. Present only when `isScheduledTask` is true.
1566
+ * 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.
1351
1567
  * @type {string}
1352
- * @memberof ConversationListItemDto
1568
+ * @memberof Check200Response
1353
1569
  */
1354
- runId?: string;
1570
+ version?: string;
1355
1571
  /**
1356
- * True when this scheduler-created conversation has not yet been opened by the user. Present only when `isScheduledTask` is true.
1357
- * @type {boolean}
1358
- * @memberof ConversationListItemDto
1572
+ * 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.
1573
+ * @type {string}
1574
+ * @memberof Check200Response
1359
1575
  */
1360
- isUnread?: boolean;
1576
+ buildId?: string;
1361
1577
  }
1362
1578
  /**
1363
1579
  *
1364
1580
  * @export
1365
- * @interface ConversationListResponseDto
1581
+ * @interface ClientConfigDto
1366
1582
  */
1367
- export interface ConversationListResponseDto {
1583
+ export interface ClientConfigDto {
1368
1584
  /**
1369
- *
1585
+ * Whether a text refinement model is configured. Missing means unavailable.
1586
+ * @type {boolean}
1587
+ * @memberof ClientConfigDto
1588
+ */
1589
+ aiTextRefinementAvailable?: boolean;
1590
+ /**
1591
+ * 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.
1592
+ * @type {string}
1593
+ * @memberof ClientConfigDto
1594
+ */
1595
+ activeEventId: string | null;
1596
+ /**
1597
+ * 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.
1598
+ * @type {string}
1599
+ * @memberof ClientConfigDto
1600
+ */
1601
+ appVersion: string;
1602
+ /**
1603
+ * Deployment ID of the ASR model. Null when ASR is not configured.
1604
+ * @type {string}
1605
+ * @memberof ClientConfigDto
1606
+ */
1607
+ asrModelId: string | null;
1608
+ /**
1609
+ * Maximum audio file size in bytes accepted by the transcription endpoint.
1610
+ * @type {number}
1611
+ * @memberof ClientConfigDto
1612
+ */
1613
+ transcribeSizeLimitBytes: number;
1614
+ /**
1615
+ * Operator-configured default deployment ID. Null when not configured.
1616
+ * @type {string}
1617
+ * @memberof ClientConfigDto
1618
+ */
1619
+ defaultDeploymentId?: string | null;
1620
+ /**
1621
+ * Public-facing DIAL Core base URL reachable from the browser. Null when DIAL_CORE_EXTERNAL_URL is not configured.
1622
+ * @type {string}
1623
+ * @memberof ClientConfigDto
1624
+ */
1625
+ dialCoreExternalUrl?: string | null;
1626
+ /**
1627
+ * Isolated-origin URL of the deployed MCP Apps sandbox-proxy app. Null when MCP_APP_SANDBOX_URL is not configured.
1628
+ * @type {string}
1629
+ * @memberof ClientConfigDto
1630
+ */
1631
+ mcpAppSandboxUrl?: string | null;
1632
+ /**
1633
+ * Admin-controlled color theme override for MCP App Views. Null when MCP_APP_THEME is not configured — each client uses its own active theme.
1634
+ * @type {string}
1635
+ * @memberof ClientConfigDto
1636
+ */
1637
+ mcpAppTheme?: ClientConfigDtoMcpAppThemeEnum | null;
1638
+ /**
1639
+ * 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.
1640
+ * @type {string}
1641
+ * @memberof ClientConfigDto
1642
+ */
1643
+ mcpAppUserAgent?: string | null;
1644
+ /**
1645
+ * 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.
1646
+ * @type {string}
1647
+ * @memberof ClientConfigDto
1648
+ */
1649
+ mcpAppHostName?: string | null;
1650
+ /**
1651
+ * Which File Manager tabs are shown to users. Defaults to the All tab plus the three source tabs.
1652
+ * @type {Array<string>}
1653
+ * @memberof ClientConfigDto
1654
+ */
1655
+ fileManagerTabs: Array<string>;
1656
+ /**
1657
+ * Whether the chat-overlay embedded runtime mode is enabled. Sourced from OVERLAY_ENABLED.
1658
+ * @type {boolean}
1659
+ * @memberof ClientConfigDto
1660
+ */
1661
+ overlayEnabled: boolean;
1662
+ /**
1663
+ * Host origins allowed to embed this app. Sourced from ALLOWED_IFRAME_ORIGINS, the same list used for CSP frame-ancestors/frame-src.
1664
+ * @type {Array<string>}
1665
+ * @memberof ClientConfigDto
1666
+ */
1667
+ overlayAllowedOrigins: Array<string>;
1668
+ /**
1669
+ * 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.
1670
+ * @type {Array<string>}
1671
+ * @memberof ClientConfigDto
1672
+ */
1673
+ allowedConnectOrigins?: Array<string>;
1674
+ /**
1675
+ * 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.
1676
+ * @type {Array<string>}
1677
+ * @memberof ClientConfigDto
1678
+ */
1679
+ enabledUiFeatures: Array<string> | null;
1680
+ /**
1681
+ * Operator-authored HTML announcement message shown in a dismissible top-of-app banner. Null when ANNOUNCEMENT_HTML_MESSAGE is not configured.
1682
+ * @type {string}
1683
+ * @memberof ClientConfigDto
1684
+ */
1685
+ announcementHtml?: string | null;
1686
+ /**
1687
+ * Plain-text heading shown in bold at the start of the announcement banner line. Never interpreted as markup. Null when ANNOUNCEMENT_TITLE is not configured or is blank.
1688
+ * @type {string}
1689
+ * @memberof ClientConfigDto
1690
+ */
1691
+ announcementTitle?: string | null;
1692
+ /**
1693
+ * Supporting copy shown after the announcement banner title. Sanitized server-side to a safe HTML subset; anchors are forced to target="_blank" with rel="noopener noreferrer". Null when ANNOUNCEMENT_DESCRIPTION is not configured, is blank, or sanitizes away entirely.
1694
+ * @type {string}
1695
+ * @memberof ClientConfigDto
1696
+ */
1697
+ announcementDescription?: string | null;
1698
+ /**
1699
+ * Announcements listed in the popover behind the banner's "+N announcements" pill, in configured order. Empty when ANNOUNCEMENTS is unset or contained no valid entries. Sourced from ANNOUNCEMENTS.
1700
+ * @type {Array<AnnouncementItemDto>}
1701
+ * @memberof ClientConfigDto
1702
+ */
1703
+ announcements: Array<AnnouncementItemDto>;
1704
+ /**
1705
+ * Plain-text copy shown below the greeting heading on the new-chat start screen. Never interpreted as markup. Null when WELCOME_SCREEN_DESCRIPTION is not configured or is blank.
1706
+ * @type {string}
1707
+ * @memberof ClientConfigDto
1708
+ */
1709
+ welcomeScreenDescription?: string | null;
1710
+ /**
1711
+ * Operator-authored HTML footer message shown below the chat input (desktop) and in the mobile user panel. Empty string when FOOTER_HTML_MESSAGE is not configured. Sanitized server-side; supports %%VERSION%% token.
1712
+ * @type {string}
1713
+ * @memberof ClientConfigDto
1714
+ */
1715
+ footerHtmlMessage: string;
1716
+ /**
1717
+ * Registry of MIME → visualizer iframe mappings. Sourced from CUSTOM_VISUALIZERS. Empty when unset — the feature is dark by default.
1718
+ * @type {Array<CustomVisualizerDto>}
1719
+ * @memberof ClientConfigDto
1720
+ */
1721
+ customVisualizers: Array<CustomVisualizerDto>;
1722
+ /**
1723
+ * 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.
1724
+ * @type {{ [key: string]: ApplicationVisualizerDto; }}
1725
+ * @memberof ClientConfigDto
1726
+ */
1727
+ applicationVisualizers: {
1728
+ [key: string]: ApplicationVisualizerDto;
1729
+ };
1730
+ /**
1731
+ * 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.
1732
+ * @type {{ [key: string]: unknown }}
1733
+ * @memberof ClientConfigDto
1734
+ */
1735
+ customVariables: {
1736
+ [key: string]: unknown;
1737
+ };
1738
+ /**
1739
+ * Allowed claim/category names selectable as a publication access rule's source. Sourced from PUBLICATION_FILTER_SOURCES; falls back to the legacy default when unset or empty.
1740
+ * @type {Array<string>}
1741
+ * @memberof ClientConfigDto
1742
+ */
1743
+ publicationFilterSources: Array<string>;
1744
+ /**
1745
+ * 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.
1746
+ * @type {number}
1747
+ * @memberof ClientConfigDto
1748
+ */
1749
+ maxAttachmentFileSizeBytes: number;
1750
+ /**
1751
+ * Percentage (1–99) of a capped day/week/month usage limit at which the composer shows its usage banner. Sourced from USAGE_LIMITS_WARNING_THRESHOLD_PERCENT; governs the banner only, not the usage dial.
1752
+ * @type {number}
1753
+ * @memberof ClientConfigDto
1754
+ */
1755
+ usageLimitsWarningThresholdPercent: number;
1756
+ /**
1757
+ * Operator default for the seasonal-celebrations switch, applied to users who have not saved a choice of their own; a saved choice overrides it. Sourced from UI_EVENT_ENABLED_BY_DEFAULT; true unless it is false, 0 or no. Has no visible effect while activeEventId is null.
1758
+ * @type {boolean}
1759
+ * @memberof ClientConfigDto
1760
+ */
1761
+ celebrationsEnabledByDefault: boolean;
1762
+ /**
1763
+ * Operator policy for external celebration packs, from UI_EVENT_DELIVERY_MODE, UI_EVENT_DELIVERY_REVISION, UI_EVENT_EXTERNAL_SCENES and UI_EVENT_EXTERNAL_EVENTS. The default is bundled with empty lists, in which case the client makes no celebration request.
1764
+ * @type {CelebrationDeliveryDto}
1765
+ * @memberof ClientConfigDto
1766
+ */
1767
+ celebrationDelivery: CelebrationDeliveryDto;
1768
+ /**
1769
+ * Maximum size in bytes of one project context file. Sourced from PROJECT_CONTEXT_FILE_MAX_BYTES, which POST /api/v1/projects enforces.
1770
+ * @type {number}
1771
+ * @memberof ClientConfigDto
1772
+ */
1773
+ projectContextFileMaxBytes: number;
1774
+ /**
1775
+ * Maximum combined size in bytes of a project's context files. Sourced from PROJECT_CONTEXT_TOTAL_MAX_BYTES, which POST /api/v1/projects enforces.
1776
+ * @type {number}
1777
+ * @memberof ClientConfigDto
1778
+ */
1779
+ projectContextTotalMaxBytes: number;
1780
+ /**
1781
+ * Lower-case file extensions, without a dot, accepted as project context files. Sourced from PROJECT_CONTEXT_ALLOWED_EXTENSIONS, which POST /api/v1/projects enforces.
1782
+ * @type {Array<string>}
1783
+ * @memberof ClientConfigDto
1784
+ */
1785
+ projectContextAllowedExtensions: Array<string>;
1786
+ /**
1787
+ * The caller's resolved catalog creation permissions, evaluated from the server-only CATALOG_CREATION_ROLES and the session roles. Independent of enabledUiFeatures, which it never filters. Never carries role names or the raw policy.
1788
+ * @type {CatalogCreationPermissionsDto}
1789
+ * @memberof ClientConfigDto
1790
+ */
1791
+ catalogCreationPermissions: CatalogCreationPermissionsDto;
1792
+ }
1793
+ /**
1794
+ * @export
1795
+ */
1796
+ export declare const ClientConfigDtoMcpAppThemeEnum: {
1797
+ readonly Light: "light";
1798
+ readonly Dark: "dark";
1799
+ };
1800
+ export type ClientConfigDtoMcpAppThemeEnum = (typeof ClientConfigDtoMcpAppThemeEnum)[keyof typeof ClientConfigDtoMcpAppThemeEnum];
1801
+ /**
1802
+ *
1803
+ * @export
1804
+ * @interface ClientConfigMetadataDto
1805
+ */
1806
+ export interface ClientConfigMetadataDto {
1807
+ /**
1808
+ * ISO timestamp when the config was resolved.
1809
+ * @type {string}
1810
+ * @memberof ClientConfigMetadataDto
1811
+ */
1812
+ resolvedAt: string;
1813
+ /**
1814
+ * Cache TTL in seconds applied to this response.
1815
+ * @type {number}
1816
+ * @memberof ClientConfigMetadataDto
1817
+ */
1818
+ cacheTtlSeconds: number;
1819
+ }
1820
+ /**
1821
+ *
1822
+ * @export
1823
+ * @interface ClientConfigResponseDto
1824
+ */
1825
+ export interface ClientConfigResponseDto {
1826
+ /**
1827
+ * Application identifier.
1828
+ * @type {string}
1829
+ * @memberof ClientConfigResponseDto
1830
+ */
1831
+ appId: string;
1832
+ /**
1833
+ * Feature flags — boolean per feature key.
1834
+ * @type {object}
1835
+ * @memberof ClientConfigResponseDto
1836
+ */
1837
+ features: object;
1838
+ /**
1839
+ * Non-boolean configuration values.
1840
+ * @type {ClientConfigDto}
1841
+ * @memberof ClientConfigResponseDto
1842
+ */
1843
+ config: ClientConfigDto;
1844
+ /**
1845
+ * Resolution metadata.
1846
+ * @type {ClientConfigMetadataDto}
1847
+ * @memberof ClientConfigResponseDto
1848
+ */
1849
+ metadata?: ClientConfigMetadataDto;
1850
+ }
1851
+ /**
1852
+ *
1853
+ * @export
1854
+ * @interface ConversationAttachmentMissingErrorDto
1855
+ */
1856
+ export interface ConversationAttachmentMissingErrorDto {
1857
+ /**
1858
+ *
1859
+ * @type {number}
1860
+ * @memberof ConversationAttachmentMissingErrorDto
1861
+ */
1862
+ statusCode: number;
1863
+ /**
1864
+ *
1865
+ * @type {string}
1866
+ * @memberof ConversationAttachmentMissingErrorDto
1867
+ */
1868
+ error: string;
1869
+ /**
1870
+ *
1871
+ * @type {string}
1872
+ * @memberof ConversationAttachmentMissingErrorDto
1873
+ */
1874
+ message: string;
1875
+ /**
1876
+ *
1877
+ * @type {ConversationErrorCode}
1878
+ * @memberof ConversationAttachmentMissingErrorDto
1879
+ */
1880
+ code: ConversationErrorCode;
1881
+ /**
1882
+ * Urls of the attachment files that no longer exist
1883
+ * @type {Array<string>}
1884
+ * @memberof ConversationAttachmentMissingErrorDto
1885
+ */
1886
+ missingFiles: Array<string>;
1887
+ }
1888
+ /**
1889
+ *
1890
+ * @export
1891
+ * @interface ConversationDeletionFailureDto
1892
+ */
1893
+ export interface ConversationDeletionFailureDto {
1894
+ /**
1895
+ * Conversation ID that failed to delete
1896
+ * @type {string}
1897
+ * @memberof ConversationDeletionFailureDto
1898
+ */
1899
+ id: string;
1900
+ /**
1901
+ * Stable application error code
1902
+ * @type {string}
1903
+ * @memberof ConversationDeletionFailureDto
1904
+ */
1905
+ code: ConversationDeletionFailureDtoCodeEnum;
1906
+ }
1907
+ /**
1908
+ * @export
1909
+ */
1910
+ export declare const ConversationDeletionFailureDtoCodeEnum: {
1911
+ readonly NotFound: "NOT_FOUND";
1912
+ readonly Forbidden: "FORBIDDEN";
1913
+ readonly UpstreamError: "UPSTREAM_ERROR";
1914
+ readonly Unknown: "UNKNOWN";
1915
+ };
1916
+ export type ConversationDeletionFailureDtoCodeEnum = (typeof ConversationDeletionFailureDtoCodeEnum)[keyof typeof ConversationDeletionFailureDtoCodeEnum];
1917
+ /**
1918
+ *
1919
+ * @export
1920
+ * @interface ConversationDeletionResultDto
1921
+ */
1922
+ export interface ConversationDeletionResultDto {
1923
+ /**
1924
+ * Total number of IDs received in the request (after deduplication)
1925
+ * @type {number}
1926
+ * @memberof ConversationDeletionResultDto
1927
+ */
1928
+ requested: number;
1929
+ /**
1930
+ * Number of conversations successfully deleted from DIAL Core
1931
+ * @type {number}
1932
+ * @memberof ConversationDeletionResultDto
1933
+ */
1934
+ deleted: number;
1935
+ /**
1936
+ * Number of IDs that were already absent from DIAL Core (counted as success)
1937
+ * @type {number}
1938
+ * @memberof ConversationDeletionResultDto
1939
+ */
1940
+ alreadyAbsent: number;
1941
+ /**
1942
+ * Items that could not be deleted
1943
+ * @type {Array<ConversationDeletionFailureDto>}
1944
+ * @memberof ConversationDeletionResultDto
1945
+ */
1946
+ failed: Array<ConversationDeletionFailureDto>;
1947
+ }
1948
+ /**
1949
+ * Present when the request was refused by a chat-api rule rather than by DIAL Core. `conversationDuplicateModelHidden`: the conversation's current model is hidden through `HIDDEN_ENTITY_TAGS`, so it cannot be duplicated. `conversationModelHidden`: the model a completion, share or publish would use is hidden through `HIDDEN_ENTITY_TAGS`.
1950
+ * @export
1951
+ */
1952
+ export declare const ConversationErrorCode: {
1953
+ readonly ConversationDuplicateModelHidden: "conversationDuplicateModelHidden";
1954
+ readonly ConversationModelHidden: "conversationModelHidden";
1955
+ readonly ConversationAttachmentMissing: "conversationAttachmentMissing";
1956
+ };
1957
+ export type ConversationErrorCode = (typeof ConversationErrorCode)[keyof typeof ConversationErrorCode];
1958
+ /**
1959
+ *
1960
+ * @export
1961
+ * @interface ConversationListItemDto
1962
+ */
1963
+ export interface ConversationListItemDto {
1964
+ /**
1965
+ * Full DIAL Core resource URL used as the stable conversation identifier.
1966
+ * @type {string}
1967
+ * @memberof ConversationListItemDto
1968
+ */
1969
+ id: string;
1970
+ /**
1971
+ * Cached display title, or the filename-derived title while background title resolution is pending.
1972
+ * @type {string}
1973
+ * @memberof ConversationListItemDto
1974
+ */
1975
+ title: string;
1976
+ /**
1977
+ * True when the title has not been resolved from the stored conversation yet, or its cached value expired. Resolve it with POST /conversations/titles.
1978
+ * @type {boolean}
1979
+ * @memberof ConversationListItemDto
1980
+ */
1981
+ isTitlePending?: boolean;
1982
+ /**
1983
+ * 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.
1984
+ * @type {number}
1985
+ * @memberof ConversationListItemDto
1986
+ */
1987
+ createdAt?: number;
1988
+ /**
1989
+ * Unix epoch milliseconds of the last update.
1990
+ * @type {number}
1991
+ * @memberof ConversationListItemDto
1992
+ */
1993
+ updatedAt: number;
1994
+ /**
1995
+ * True when this conversation was shared with the current user by another user.
1996
+ * @type {boolean}
1997
+ * @memberof ConversationListItemDto
1998
+ */
1999
+ sharedWithMe: boolean;
2000
+ /**
2001
+ * True when this conversation was published to the organisation and is visible to the current user.
2002
+ * @type {boolean}
2003
+ * @memberof ConversationListItemDto
2004
+ */
2005
+ publishedWithMe: boolean;
2006
+ /**
2007
+ * True when the user has pinned this conversation.
2008
+ * @type {boolean}
2009
+ * @memberof ConversationListItemDto
2010
+ */
2011
+ isPinned: boolean;
2012
+ /**
2013
+ * True when the current user does not have WRITE permission on this conversation.
2014
+ * @type {boolean}
2015
+ * @memberof ConversationListItemDto
2016
+ */
2017
+ isReadonly: boolean;
2018
+ /**
2019
+ * True when this conversation is a DIAL Scheduler run in the caller's own bucket (its resource path matches the `.scheduler/{scheduleId}/{filename}` reserved segment, with `{filename}` shaped `{deploymentId}__{title}__{runId}`). Always false for published and shared conversations, even when their path has that shape.
2020
+ * @type {boolean}
2021
+ * @memberof ConversationListItemDto
2022
+ */
2023
+ isScheduledTask: boolean;
2024
+ /**
2025
+ * DIAL Scheduler schedule identifier. Present only when `isScheduledTask` is true.
2026
+ * @type {string}
2027
+ * @memberof ConversationListItemDto
2028
+ */
2029
+ scheduleId?: string;
2030
+ /**
2031
+ * DIAL Scheduler run identifier. Present only when `isScheduledTask` is true.
2032
+ * @type {string}
2033
+ * @memberof ConversationListItemDto
2034
+ */
2035
+ runId?: string;
2036
+ /**
2037
+ * True when the conversation holds an answer the user has not seen. A scheduler-created conversation always carries it (true until first opened); a regular conversation in the caller's own bucket carries it, as true, only when it was updated after the user's read-before baseline and has not been viewed since. Omitted otherwise, including for published and shared conversations.
2038
+ * @type {boolean}
2039
+ * @memberof ConversationListItemDto
2040
+ */
2041
+ isUnread?: boolean;
2042
+ }
2043
+ /**
2044
+ *
2045
+ * @export
2046
+ * @interface ConversationListResponseDto
2047
+ */
2048
+ export interface ConversationListResponseDto {
2049
+ /**
2050
+ *
1370
2051
  * @type {Array<ConversationListItemDto>}
1371
2052
  * @memberof ConversationListResponseDto
1372
2053
  */
@@ -1610,9 +2291,40 @@ export interface ConversationModelDto {
1610
2291
  /**
1611
2292
  *
1612
2293
  * @type {string}
1613
- * @memberof ConversationModelDto
2294
+ * @memberof ConversationModelDto
2295
+ */
2296
+ id: string;
2297
+ }
2298
+ /**
2299
+ *
2300
+ * @export
2301
+ * @interface ConversationModelHiddenErrorDto
2302
+ */
2303
+ export interface ConversationModelHiddenErrorDto {
2304
+ /**
2305
+ *
2306
+ * @type {number}
2307
+ * @memberof ConversationModelHiddenErrorDto
2308
+ */
2309
+ statusCode: number;
2310
+ /**
2311
+ *
2312
+ * @type {string}
2313
+ * @memberof ConversationModelHiddenErrorDto
2314
+ */
2315
+ error: string;
2316
+ /**
2317
+ *
2318
+ * @type {string}
2319
+ * @memberof ConversationModelHiddenErrorDto
1614
2320
  */
1615
- id: string;
2321
+ message: string;
2322
+ /**
2323
+ * Present when the request was refused by a chat-api rule rather than by DIAL Core. `conversationDuplicateModelHidden`: the conversation's current model is hidden through `HIDDEN_ENTITY_TAGS`, so it cannot be duplicated. `conversationModelHidden`: the model a completion, share or publish would use is hidden through `HIDDEN_ENTITY_TAGS`.
2324
+ * @type {ConversationErrorCode}
2325
+ * @memberof ConversationModelHiddenErrorDto
2326
+ */
2327
+ code?: ConversationErrorCode;
1616
2328
  }
1617
2329
  /**
1618
2330
  *
@@ -1771,6 +2483,264 @@ export interface ConversationStartersDto {
1771
2483
  */
1772
2484
  starters: Array<ConversationStarterDto>;
1773
2485
  }
2486
+ /**
2487
+ *
2488
+ * @export
2489
+ * @interface ConversationTitleDto
2490
+ */
2491
+ export interface ConversationTitleDto {
2492
+ /**
2493
+ * The exact conversation resource URL supplied in the request.
2494
+ * @type {string}
2495
+ * @memberof ConversationTitleDto
2496
+ */
2497
+ id: string;
2498
+ /**
2499
+ * Current display title without conversation messages.
2500
+ * @type {string}
2501
+ * @memberof ConversationTitleDto
2502
+ */
2503
+ title: string;
2504
+ }
2505
+ /**
2506
+ *
2507
+ * @export
2508
+ * @interface ConversationTitleStreamDoneEventDto
2509
+ */
2510
+ export interface ConversationTitleStreamDoneEventDto {
2511
+ /**
2512
+ *
2513
+ * @type {string}
2514
+ * @memberof ConversationTitleStreamDoneEventDto
2515
+ */
2516
+ type: ConversationTitleStreamDoneEventDtoTypeEnum;
2517
+ /**
2518
+ * `complete` when every distinct ID has an outcome; `budget` when the request lifetime ended and IDs without an outcome may be requested again.
2519
+ * @type {ConversationTitleStreamDoneReason}
2520
+ * @memberof ConversationTitleStreamDoneEventDto
2521
+ */
2522
+ reason: ConversationTitleStreamDoneReason;
2523
+ /**
2524
+ * Item outcome events emitted (title, unavailable, item_error).
2525
+ * @type {number}
2526
+ * @memberof ConversationTitleStreamDoneEventDto
2527
+ */
2528
+ processed: number;
2529
+ /**
2530
+ * Distinct requested IDs.
2531
+ * @type {number}
2532
+ * @memberof ConversationTitleStreamDoneEventDto
2533
+ */
2534
+ total: number;
2535
+ }
2536
+ /**
2537
+ * @export
2538
+ */
2539
+ export declare const ConversationTitleStreamDoneEventDtoTypeEnum: {
2540
+ readonly Done: "done";
2541
+ };
2542
+ export type ConversationTitleStreamDoneEventDtoTypeEnum = (typeof ConversationTitleStreamDoneEventDtoTypeEnum)[keyof typeof ConversationTitleStreamDoneEventDtoTypeEnum];
2543
+ /**
2544
+ * `complete` when every distinct ID has an outcome; `budget` when the request lifetime ended and IDs without an outcome may be requested again.
2545
+ * @export
2546
+ */
2547
+ export declare const ConversationTitleStreamDoneReason: {
2548
+ readonly Complete: "complete";
2549
+ readonly Budget: "budget";
2550
+ };
2551
+ export type ConversationTitleStreamDoneReason = (typeof ConversationTitleStreamDoneReason)[keyof typeof ConversationTitleStreamDoneReason];
2552
+ /**
2553
+ * Paired with `status`: 401/unauthenticated, 502/upstream_error, 503/unavailable.
2554
+ * @export
2555
+ */
2556
+ export declare const ConversationTitleStreamErrorCode: {
2557
+ readonly Unauthenticated: "unauthenticated";
2558
+ readonly UpstreamError: "upstream_error";
2559
+ readonly Unavailable: "unavailable";
2560
+ };
2561
+ export type ConversationTitleStreamErrorCode = (typeof ConversationTitleStreamErrorCode)[keyof typeof ConversationTitleStreamErrorCode];
2562
+ /**
2563
+ *
2564
+ * @export
2565
+ * @interface ConversationTitleStreamErrorEventDto
2566
+ */
2567
+ export interface ConversationTitleStreamErrorEventDto {
2568
+ /**
2569
+ *
2570
+ * @type {string}
2571
+ * @memberof ConversationTitleStreamErrorEventDto
2572
+ */
2573
+ type: ConversationTitleStreamErrorEventDtoTypeEnum;
2574
+ /**
2575
+ * HTTP-equivalent status of the stream-fatal failure; the response status was already 200.
2576
+ * @type {number}
2577
+ * @memberof ConversationTitleStreamErrorEventDto
2578
+ */
2579
+ status: ConversationTitleStreamErrorEventDtoStatusEnum;
2580
+ /**
2581
+ * Paired with `status`: 401/unauthenticated, 502/upstream_error, 503/unavailable.
2582
+ * @type {ConversationTitleStreamErrorCode}
2583
+ * @memberof ConversationTitleStreamErrorEventDto
2584
+ */
2585
+ code: ConversationTitleStreamErrorCode;
2586
+ }
2587
+ /**
2588
+ * @export
2589
+ */
2590
+ export declare const ConversationTitleStreamErrorEventDtoTypeEnum: {
2591
+ readonly Error: "error";
2592
+ };
2593
+ export type ConversationTitleStreamErrorEventDtoTypeEnum = (typeof ConversationTitleStreamErrorEventDtoTypeEnum)[keyof typeof ConversationTitleStreamErrorEventDtoTypeEnum];
2594
+ /**
2595
+ * @export
2596
+ */
2597
+ export declare const ConversationTitleStreamErrorEventDtoStatusEnum: {
2598
+ readonly NUMBER_401: 401;
2599
+ readonly NUMBER_502: 502;
2600
+ readonly NUMBER_503: 503;
2601
+ };
2602
+ export type ConversationTitleStreamErrorEventDtoStatusEnum = (typeof ConversationTitleStreamErrorEventDtoStatusEnum)[keyof typeof ConversationTitleStreamErrorEventDtoStatusEnum];
2603
+ /**
2604
+ * @type ConversationTitleStreamEventDto
2605
+ * One `data:` JSON payload of the conversation title stream, discriminated by `type`.
2606
+ * @export
2607
+ */
2608
+ export type ConversationTitleStreamEventDto = ({
2609
+ type: 'done';
2610
+ } & ConversationTitleStreamDoneEventDto) | ({
2611
+ type: 'error';
2612
+ } & ConversationTitleStreamErrorEventDto) | ({
2613
+ type: 'item_error';
2614
+ } & ConversationTitleStreamItemErrorEventDto) | ({
2615
+ type: 'title';
2616
+ } & ConversationTitleStreamTitleEventDto) | ({
2617
+ type: 'unavailable';
2618
+ } & ConversationTitleStreamUnavailableEventDto);
2619
+ /**
2620
+ * Why this attempted item failed. It is not retried by the stream.
2621
+ * @export
2622
+ */
2623
+ export declare const ConversationTitleStreamItemErrorCode: {
2624
+ readonly UpstreamError: "upstream_error";
2625
+ readonly Timeout: "timeout";
2626
+ };
2627
+ export type ConversationTitleStreamItemErrorCode = (typeof ConversationTitleStreamItemErrorCode)[keyof typeof ConversationTitleStreamItemErrorCode];
2628
+ /**
2629
+ *
2630
+ * @export
2631
+ * @interface ConversationTitleStreamItemErrorEventDto
2632
+ */
2633
+ export interface ConversationTitleStreamItemErrorEventDto {
2634
+ /**
2635
+ *
2636
+ * @type {string}
2637
+ * @memberof ConversationTitleStreamItemErrorEventDto
2638
+ */
2639
+ type: ConversationTitleStreamItemErrorEventDtoTypeEnum;
2640
+ /**
2641
+ * The exact conversation resource URL supplied in the request.
2642
+ * @type {string}
2643
+ * @memberof ConversationTitleStreamItemErrorEventDto
2644
+ */
2645
+ id: string;
2646
+ /**
2647
+ * Why this attempted item failed. It is not retried by the stream.
2648
+ * @type {ConversationTitleStreamItemErrorCode}
2649
+ * @memberof ConversationTitleStreamItemErrorEventDto
2650
+ */
2651
+ code: ConversationTitleStreamItemErrorCode;
2652
+ }
2653
+ /**
2654
+ * @export
2655
+ */
2656
+ export declare const ConversationTitleStreamItemErrorEventDtoTypeEnum: {
2657
+ readonly ItemError: "item_error";
2658
+ };
2659
+ export type ConversationTitleStreamItemErrorEventDtoTypeEnum = (typeof ConversationTitleStreamItemErrorEventDtoTypeEnum)[keyof typeof ConversationTitleStreamItemErrorEventDtoTypeEnum];
2660
+ /**
2661
+ *
2662
+ * @export
2663
+ * @interface ConversationTitleStreamTitleEventDto
2664
+ */
2665
+ export interface ConversationTitleStreamTitleEventDto {
2666
+ /**
2667
+ *
2668
+ * @type {string}
2669
+ * @memberof ConversationTitleStreamTitleEventDto
2670
+ */
2671
+ type: ConversationTitleStreamTitleEventDtoTypeEnum;
2672
+ /**
2673
+ * The exact conversation resource URL supplied in the request.
2674
+ * @type {string}
2675
+ * @memberof ConversationTitleStreamTitleEventDto
2676
+ */
2677
+ id: string;
2678
+ /**
2679
+ * Current display title without conversation messages.
2680
+ * @type {string}
2681
+ * @memberof ConversationTitleStreamTitleEventDto
2682
+ */
2683
+ title: string;
2684
+ }
2685
+ /**
2686
+ * @export
2687
+ */
2688
+ export declare const ConversationTitleStreamTitleEventDtoTypeEnum: {
2689
+ readonly Title: "title";
2690
+ };
2691
+ export type ConversationTitleStreamTitleEventDtoTypeEnum = (typeof ConversationTitleStreamTitleEventDtoTypeEnum)[keyof typeof ConversationTitleStreamTitleEventDtoTypeEnum];
2692
+ /**
2693
+ *
2694
+ * @export
2695
+ * @interface ConversationTitleStreamUnavailableEventDto
2696
+ */
2697
+ export interface ConversationTitleStreamUnavailableEventDto {
2698
+ /**
2699
+ *
2700
+ * @type {string}
2701
+ * @memberof ConversationTitleStreamUnavailableEventDto
2702
+ */
2703
+ type: ConversationTitleStreamUnavailableEventDtoTypeEnum;
2704
+ /**
2705
+ * The exact conversation resource URL supplied in the request. The conversation is missing or inaccessible; which one is not disclosed.
2706
+ * @type {string}
2707
+ * @memberof ConversationTitleStreamUnavailableEventDto
2708
+ */
2709
+ id: string;
2710
+ }
2711
+ /**
2712
+ * @export
2713
+ */
2714
+ export declare const ConversationTitleStreamUnavailableEventDtoTypeEnum: {
2715
+ readonly Unavailable: "unavailable";
2716
+ };
2717
+ export type ConversationTitleStreamUnavailableEventDtoTypeEnum = (typeof ConversationTitleStreamUnavailableEventDtoTypeEnum)[keyof typeof ConversationTitleStreamUnavailableEventDtoTypeEnum];
2718
+ /**
2719
+ *
2720
+ * @export
2721
+ * @interface ConversationTitlesBodyDto
2722
+ */
2723
+ export interface ConversationTitlesBodyDto {
2724
+ /**
2725
+ * Full DIAL Core conversation resource URLs. Duplicate IDs are read once. Missing or inaccessible conversations are omitted.
2726
+ * @type {Array<string>}
2727
+ * @memberof ConversationTitlesBodyDto
2728
+ */
2729
+ ids: Array<string>;
2730
+ }
2731
+ /**
2732
+ *
2733
+ * @export
2734
+ * @interface ConversationTitlesResponseDto
2735
+ */
2736
+ export interface ConversationTitlesResponseDto {
2737
+ /**
2738
+ *
2739
+ * @type {Array<ConversationTitleDto>}
2740
+ * @memberof ConversationTitlesResponseDto
2741
+ */
2742
+ items: Array<ConversationTitleDto>;
2743
+ }
1774
2744
  /**
1775
2745
  *
1776
2746
  * @export
@@ -1941,7 +2911,7 @@ export interface CreateApplicationBodyDto {
1941
2911
  */
1942
2912
  applicationProperties?: object;
1943
2913
  /**
1944
- * Reject with 409 if the name/version already exists; checked atomically by DIAL Core.
2914
+ * Never overwrite an existing application: when the name/version path is taken, create at the next free path (name-2, name-3, ...), checked atomically by DIAL Core; 409 only when every candidate is taken.
1945
2915
  * @type {boolean}
1946
2916
  * @memberof CreateApplicationBodyDto
1947
2917
  */
@@ -1952,6 +2922,12 @@ export interface CreateApplicationBodyDto {
1952
2922
  * @memberof CreateApplicationBodyDto
1953
2923
  */
1954
2924
  preserveApplicationProperties?: boolean;
2925
+ /**
2926
+ * Top-level DIAL Core application features, stored as supplied. Takes precedence over features hoisted from applicationProperties and turns off the Quick App system_prompt_supported default.
2927
+ * @type {object}
2928
+ * @memberof CreateApplicationBodyDto
2929
+ */
2930
+ features?: object;
1955
2931
  /**
1956
2932
  *
1957
2933
  * @type {Array<string>}
@@ -2070,6 +3046,43 @@ export interface CreateFolderResponseDto {
2070
3046
  */
2071
3047
  folderId: string;
2072
3048
  }
3049
+ /**
3050
+ *
3051
+ * @export
3052
+ * @interface CreateProjectResponseDto
3053
+ */
3054
+ export interface CreateProjectResponseDto {
3055
+ /**
3056
+ * DIAL Core resource id, `projects/{bucket}/{path}` without a trailing slash.
3057
+ * @type {string}
3058
+ * @memberof CreateProjectResponseDto
3059
+ */
3060
+ id: string;
3061
+ /**
3062
+ *
3063
+ * @type {string}
3064
+ * @memberof CreateProjectResponseDto
3065
+ */
3066
+ name: string;
3067
+ /**
3068
+ *
3069
+ * @type {string}
3070
+ * @memberof CreateProjectResponseDto
3071
+ */
3072
+ bucket: string;
3073
+ /**
3074
+ * Path of the project within its bucket.
3075
+ * @type {string}
3076
+ * @memberof CreateProjectResponseDto
3077
+ */
3078
+ path: string;
3079
+ /**
3080
+ * Aggregate ETag of the created project, when DIAL Core returns one.
3081
+ * @type {string}
3082
+ * @memberof CreateProjectResponseDto
3083
+ */
3084
+ etag?: string;
3085
+ }
2073
3086
  /**
2074
3087
  *
2075
3088
  * @export
@@ -2913,6 +3926,12 @@ export interface DeploymentItemDto {
2913
3926
  * @memberof DeploymentItemDto
2914
3927
  */
2915
3928
  applicationTypeSchemaId?: string;
3929
+ /**
3930
+ * Custom Viewer URL from DIAL Core viewer_url (present only for application deployments that configure one)
3931
+ * @type {string}
3932
+ * @memberof DeploymentItemDto
3933
+ */
3934
+ viewerUrl?: string;
2916
3935
  /**
2917
3936
  * Accepted MIME types for input attachments from DIAL Core (e.g. ["audio/*", "image/*"])
2918
3937
  * @type {Array<string>}
@@ -3568,6 +4587,12 @@ export interface DialToolsetAuthSettingsDto {
3568
4587
  * @memberof DialToolsetAuthSettingsDto
3569
4588
  */
3570
4589
  clientId?: string;
4590
+ /**
4591
+ * Last characters of the stored OAuth client secret, as returned by DIAL Core. Never the secret itself.
4592
+ * @type {string}
4593
+ * @memberof DialToolsetAuthSettingsDto
4594
+ */
4595
+ clientSecretHint?: string;
3571
4596
  /**
3572
4597
  *
3573
4598
  * @type {string}
@@ -4076,7 +5101,7 @@ export interface DuplicateConversationErrorDto {
4076
5101
  */
4077
5102
  message: string;
4078
5103
  /**
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`.
5104
+ * Present when the request was refused by a chat-api rule rather than by DIAL Core. `conversationDuplicateModelHidden`: the conversation's current model is hidden through `HIDDEN_ENTITY_TAGS`, so it cannot be duplicated. `conversationModelHidden`: the model a completion, share or publish would use is hidden through `HIDDEN_ENTITY_TAGS`.
4080
5105
  * @type {ConversationErrorCode}
4081
5106
  * @memberof DuplicateConversationErrorDto
4082
5107
  */
@@ -4106,7 +5131,89 @@ export interface ExternalServiceAuthResultDto {
4106
5131
  * @type {boolean}
4107
5132
  * @memberof ExternalServiceAuthResultDto
4108
5133
  */
4109
- success: boolean;
5134
+ success: boolean;
5135
+ }
5136
+ /**
5137
+ *
5138
+ * @export
5139
+ * @interface ExternalServiceAuthSettingsBodyDto
5140
+ */
5141
+ export interface ExternalServiceAuthSettingsBodyDto {
5142
+ /**
5143
+ *
5144
+ * @type {string}
5145
+ * @memberof ExternalServiceAuthSettingsBodyDto
5146
+ */
5147
+ authenticationType: ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum;
5148
+ /**
5149
+ * API_KEY: the header the stored key is sent under. The key itself is never part of the definition.
5150
+ * @type {string}
5151
+ * @memberof ExternalServiceAuthSettingsBodyDto
5152
+ */
5153
+ apiKeyHeader?: string;
5154
+ /**
5155
+ * OAUTH: the client id.
5156
+ * @type {string}
5157
+ * @memberof ExternalServiceAuthSettingsBodyDto
5158
+ */
5159
+ clientId?: string;
5160
+ /**
5161
+ * OAUTH: the client secret. Write-only: never returned, never logged.
5162
+ * @type {string}
5163
+ * @memberof ExternalServiceAuthSettingsBodyDto
5164
+ */
5165
+ clientSecret?: string;
5166
+ /**
5167
+ *
5168
+ * @type {string}
5169
+ * @memberof ExternalServiceAuthSettingsBodyDto
5170
+ */
5171
+ authorizationEndpoint?: string;
5172
+ /**
5173
+ *
5174
+ * @type {string}
5175
+ * @memberof ExternalServiceAuthSettingsBodyDto
5176
+ */
5177
+ tokenEndpoint?: string;
5178
+ /**
5179
+ *
5180
+ * @type {Array<string>}
5181
+ * @memberof ExternalServiceAuthSettingsBodyDto
5182
+ */
5183
+ scopesSupported?: Array<string>;
5184
+ }
5185
+ /**
5186
+ * @export
5187
+ */
5188
+ export declare const ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum: {
5189
+ readonly ApiKey: "API_KEY";
5190
+ readonly Oauth: "OAUTH";
5191
+ };
5192
+ export type ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum = (typeof ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum)[keyof typeof ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum];
5193
+ /**
5194
+ *
5195
+ * @export
5196
+ * @interface ExternalServiceDefinitionBodyDto
5197
+ */
5198
+ export interface ExternalServiceDefinitionBodyDto {
5199
+ /**
5200
+ *
5201
+ * @type {string}
5202
+ * @memberof ExternalServiceDefinitionBodyDto
5203
+ */
5204
+ displayName: string;
5205
+ /**
5206
+ *
5207
+ * @type {string}
5208
+ * @memberof ExternalServiceDefinitionBodyDto
5209
+ */
5210
+ description?: string;
5211
+ /**
5212
+ *
5213
+ * @type {ExternalServiceAuthSettingsBodyDto}
5214
+ * @memberof ExternalServiceDefinitionBodyDto
5215
+ */
5216
+ authSettings: ExternalServiceAuthSettingsBodyDto;
4110
5217
  }
4111
5218
  /**
4112
5219
  *
@@ -4424,6 +5531,12 @@ export interface GetOfflineCredentialsResponseDto {
4424
5531
  * @memberof GetOfflineCredentialsResponseDto
4425
5532
  */
4426
5533
  connect?: OfflineCredentialsConnectDto;
5534
+ /**
5535
+ * Consent state of the DIAL_NATIVE scheduler external service: 'signed_out' when the administrator's application consent is missing or revoked, 'signed_in' when it is in place, and 'unknown' when the consent read itself failed (the offline-credentials status is still valid).
5536
+ * @type {SchedulerServiceConsentStatus}
5537
+ * @memberof GetOfflineCredentialsResponseDto
5538
+ */
5539
+ schedulerServiceConsent: SchedulerServiceConsentStatus;
4427
5540
  }
4428
5541
  /**
4429
5542
  *
@@ -4606,6 +5719,25 @@ export interface ListMcpToolNamesResponseDto {
4606
5719
  */
4607
5720
  toolNames: Array<string>;
4608
5721
  }
5722
+ /**
5723
+ *
5724
+ * @export
5725
+ * @interface ListProjectsResponseDto
5726
+ */
5727
+ export interface ListProjectsResponseDto {
5728
+ /**
5729
+ * Every project visible to the caller across the personal, organization and shared sources, de-duplicated by id. Order is unspecified.
5730
+ * @type {Array<ProjectDto>}
5731
+ * @memberof ListProjectsResponseDto
5732
+ */
5733
+ items: Array<ProjectDto>;
5734
+ /**
5735
+ * Sources that failed or were truncated at the page cap, so `items` may be missing projects from them. Empty when every source answered in full.
5736
+ * @type {Array<ProjectSource>}
5737
+ * @memberof ListProjectsResponseDto
5738
+ */
5739
+ incompleteSources: Array<ProjectSource>;
5740
+ }
4609
5741
  /**
4610
5742
  *
4611
5743
  * @export
@@ -4918,386 +6050,802 @@ export interface ModelCapabilitiesDto {
4918
6050
  * @type {boolean}
4919
6051
  * @memberof ModelCapabilitiesDto
4920
6052
  */
4921
- inference?: boolean;
6053
+ inference?: boolean;
6054
+ /**
6055
+ * Scale types of the model (defaults to ["standard"])
6056
+ * @type {Array<string>}
6057
+ * @memberof ModelCapabilitiesDto
6058
+ */
6059
+ scaleTypes?: Array<string>;
6060
+ }
6061
+ /**
6062
+ *
6063
+ * @export
6064
+ * @interface ModelCatalogPropertiesDto
6065
+ */
6066
+ export interface ModelCatalogPropertiesDto {
6067
+ /**
6068
+ * Model provider for catalog display
6069
+ * @type {string}
6070
+ * @memberof ModelCatalogPropertiesDto
6071
+ */
6072
+ provider?: string;
6073
+ /**
6074
+ * Model vendor for catalog display
6075
+ * @type {string}
6076
+ * @memberof ModelCatalogPropertiesDto
6077
+ */
6078
+ vendor?: string;
6079
+ /**
6080
+ * Model license for catalog display
6081
+ * @type {string}
6082
+ * @memberof ModelCatalogPropertiesDto
6083
+ */
6084
+ license?: string;
6085
+ /**
6086
+ * Model knowledge cutoff date for catalog display
6087
+ * @type {string}
6088
+ * @memberof ModelCatalogPropertiesDto
6089
+ */
6090
+ knowledgeCutoffDate?: string;
6091
+ /**
6092
+ * Model parameter count for catalog display
6093
+ * @type {string}
6094
+ * @memberof ModelCatalogPropertiesDto
6095
+ */
6096
+ parameters?: string;
6097
+ }
6098
+ /**
6099
+ *
6100
+ * @export
6101
+ * @interface ModelDetailsDto
6102
+ */
6103
+ export interface ModelDetailsDto {
6104
+ /**
6105
+ *
6106
+ * @type {ModelCapabilitiesDto}
6107
+ * @memberof ModelDetailsDto
6108
+ */
6109
+ capabilities?: ModelCapabilitiesDto;
6110
+ /**
6111
+ * Lifecycle status of the model
6112
+ * @type {string}
6113
+ * @memberof ModelDetailsDto
6114
+ */
6115
+ lifecycleStatus?: string;
6116
+ /**
6117
+ * Name of the model whose tokenization algorithm this model uses
6118
+ * @type {string}
6119
+ * @memberof ModelDetailsDto
6120
+ */
6121
+ tokenizerModel?: string;
6122
+ /**
6123
+ *
6124
+ * @type {ModelLimitsDto}
6125
+ * @memberof ModelDetailsDto
6126
+ */
6127
+ limits?: ModelLimitsDto;
6128
+ /**
6129
+ * Pricing as reported by DIAL Core: `unit` names the billing unit and every other key holds a scalar price or conditional pricing tree
6130
+ * @type {{ [key: string]: ModelDetailsDtoPricingValue; }}
6131
+ * @memberof ModelDetailsDto
6132
+ */
6133
+ pricing?: {
6134
+ [key: string]: ModelDetailsDtoPricingValue;
6135
+ };
6136
+ /**
6137
+ *
6138
+ * @type {DeploymentFeaturesDetailsDto}
6139
+ * @memberof ModelDetailsDto
6140
+ */
6141
+ features?: DeploymentFeaturesDetailsDto;
6142
+ /**
6143
+ * Known model catalog properties allow-listed from DIAL Core catalog_properties
6144
+ * @type {ModelCatalogPropertiesDto}
6145
+ * @memberof ModelDetailsDto
6146
+ */
6147
+ catalogProperties?: ModelCatalogPropertiesDto;
6148
+ /**
6149
+ * Owner of the deployment as reported by DIAL Core
6150
+ * @type {string}
6151
+ * @memberof ModelDetailsDto
6152
+ */
6153
+ owner?: string;
6154
+ /**
6155
+ * Accepted MIME types for input attachments
6156
+ * @type {Array<string>}
6157
+ * @memberof ModelDetailsDto
6158
+ */
6159
+ inputAttachmentTypes?: Array<string>;
6160
+ /**
6161
+ * Default max_tokens value applied when a request omits it
6162
+ * @type {number}
6163
+ * @memberof ModelDetailsDto
6164
+ */
6165
+ defaultMaxTokens?: number;
6166
+ /**
6167
+ * Timestamp of creation time from DIAL Core (e.g. 1714768496000)
6168
+ * @type {number}
6169
+ * @memberof ModelDetailsDto
6170
+ */
6171
+ createdAt?: number;
6172
+ }
6173
+ /**
6174
+ * @type ModelDetailsDtoPricingValue
6175
+ *
6176
+ * @export
6177
+ */
6178
+ export type ModelDetailsDtoPricingValue = ModelPricingRateDto | string;
6179
+ /**
6180
+ *
6181
+ * @export
6182
+ * @interface ModelLimitsDto
6183
+ */
6184
+ export interface ModelLimitsDto {
6185
+ /**
6186
+ * Maximum number of tokens allowed in a completion request and response combined
6187
+ * @type {number}
6188
+ * @memberof ModelLimitsDto
6189
+ */
6190
+ maxTotalTokens?: number;
6191
+ /**
6192
+ * Maximum number of tokens allowed in a completion request
6193
+ * @type {number}
6194
+ * @memberof ModelLimitsDto
6195
+ */
6196
+ maxPromptTokens?: number;
6197
+ /**
6198
+ * Maximum number of tokens allowed in a completion response
6199
+ * @type {number}
6200
+ * @memberof ModelLimitsDto
6201
+ */
6202
+ maxCompletionTokens?: number;
6203
+ }
6204
+ /**
6205
+ *
6206
+ * @export
6207
+ * @interface ModelPricingRateDto
6208
+ */
6209
+ export interface ModelPricingRateDto {
6210
+ /**
6211
+ *
6212
+ * @type {ModelPricingRateDtoIfFalse}
6213
+ * @memberof ModelPricingRateDto
6214
+ */
6215
+ ifFalse?: ModelPricingRateDtoIfFalse;
6216
+ /**
6217
+ *
6218
+ * @type {ModelPricingRateDtoIfTrue}
6219
+ * @memberof ModelPricingRateDto
6220
+ */
6221
+ ifTrue?: ModelPricingRateDtoIfTrue;
6222
+ /**
6223
+ * Per-unit price for this pricing branch
6224
+ * @type {string}
6225
+ * @memberof ModelPricingRateDto
6226
+ */
6227
+ rate?: string;
6228
+ /**
6229
+ * Condition selecting the applicable pricing branch
6230
+ * @type {{ [key: string]: unknown }}
6231
+ * @memberof ModelPricingRateDto
6232
+ */
6233
+ test?: {
6234
+ [key: string]: unknown;
6235
+ };
6236
+ }
6237
+ /**
6238
+ * @type ModelPricingRateDtoIfFalse
6239
+ * Price applied when `test` fails: a per-unit price or a nested pricing branch
6240
+ * @export
6241
+ */
6242
+ export type ModelPricingRateDtoIfFalse = ModelPricingRateDto | string;
6243
+ /**
6244
+ * @type ModelPricingRateDtoIfTrue
6245
+ * Price applied when `test` holds: a per-unit price or a nested pricing branch
6246
+ * @export
6247
+ */
6248
+ export type ModelPricingRateDtoIfTrue = ModelPricingRateDto | string;
6249
+ /**
6250
+ *
6251
+ * @export
6252
+ * @interface MoveFilesDto
6253
+ */
6254
+ export interface MoveFilesDto {
6255
+ /**
6256
+ *
6257
+ * @type {Array<MoveItemDto>}
6258
+ * @memberof MoveFilesDto
6259
+ */
6260
+ items: Array<MoveItemDto>;
6261
+ }
6262
+ /**
6263
+ *
6264
+ * @export
6265
+ * @interface MoveFilesResponseDto
6266
+ */
6267
+ export interface MoveFilesResponseDto {
6268
+ /**
6269
+ *
6270
+ * @type {Array<MoveItemResultDto>}
6271
+ * @memberof MoveFilesResponseDto
6272
+ */
6273
+ results: Array<MoveItemResultDto>;
6274
+ }
6275
+ /**
6276
+ *
6277
+ * @export
6278
+ * @interface MoveItemDto
6279
+ */
6280
+ export interface MoveItemDto {
6281
+ /**
6282
+ * DIAL Core bucket name
6283
+ * @type {string}
6284
+ * @memberof MoveItemDto
6285
+ */
6286
+ bucket: string;
6287
+ /**
6288
+ * Relative source path within bucket
6289
+ * @type {string}
6290
+ * @memberof MoveItemDto
6291
+ */
6292
+ sourcePath: string;
6293
+ /**
6294
+ * Relative destination path within bucket
6295
+ * @type {string}
6296
+ * @memberof MoveItemDto
6297
+ */
6298
+ destinationPath: string;
6299
+ /**
6300
+ * Whether to overwrite an existing destination resource
6301
+ * @type {boolean}
6302
+ * @memberof MoveItemDto
6303
+ */
6304
+ overwrite?: boolean;
6305
+ /**
6306
+ *
6307
+ * @type {string}
6308
+ * @memberof MoveItemDto
6309
+ */
6310
+ nodeType: MoveItemDtoNodeTypeEnum;
4922
6311
  /**
4923
- * Scale types of the model (defaults to ["standard"])
4924
- * @type {Array<string>}
4925
- * @memberof ModelCapabilitiesDto
6312
+ * Display name (last segment) for error messages
6313
+ * @type {string}
6314
+ * @memberof MoveItemDto
4926
6315
  */
4927
- scaleTypes?: Array<string>;
6316
+ name: string;
4928
6317
  }
6318
+ /**
6319
+ * @export
6320
+ */
6321
+ export declare const MoveItemDtoNodeTypeEnum: {
6322
+ readonly Item: "item";
6323
+ readonly Folder: "folder";
6324
+ };
6325
+ export type MoveItemDtoNodeTypeEnum = (typeof MoveItemDtoNodeTypeEnum)[keyof typeof MoveItemDtoNodeTypeEnum];
4929
6326
  /**
4930
6327
  *
4931
6328
  * @export
4932
- * @interface ModelCatalogPropertiesDto
6329
+ * @interface MoveItemResultDto
4933
6330
  */
4934
- export interface ModelCatalogPropertiesDto {
6331
+ export interface MoveItemResultDto {
4935
6332
  /**
4936
- * Model provider for catalog display
6333
+ * Source path from request
4937
6334
  * @type {string}
4938
- * @memberof ModelCatalogPropertiesDto
6335
+ * @memberof MoveItemResultDto
4939
6336
  */
4940
- provider?: string;
6337
+ sourcePath: string;
4941
6338
  /**
4942
- * Model vendor for catalog display
6339
+ * Destination path from request
4943
6340
  * @type {string}
4944
- * @memberof ModelCatalogPropertiesDto
6341
+ * @memberof MoveItemResultDto
4945
6342
  */
4946
- vendor?: string;
6343
+ destinationPath: string;
4947
6344
  /**
4948
- * Model license for catalog display
4949
- * @type {string}
4950
- * @memberof ModelCatalogPropertiesDto
6345
+ * true when all Core moveResource calls succeeded
6346
+ * @type {boolean}
6347
+ * @memberof MoveItemResultDto
4951
6348
  */
4952
- license?: string;
6349
+ success: boolean;
4953
6350
  /**
4954
- * Model knowledge cutoff date for catalog display
6351
+ * Human-readable error reason when success is false
4955
6352
  * @type {string}
4956
- * @memberof ModelCatalogPropertiesDto
6353
+ * @memberof MoveItemResultDto
4957
6354
  */
4958
- knowledgeCutoffDate?: string;
6355
+ error?: string;
6356
+ }
6357
+ /**
6358
+ *
6359
+ * @export
6360
+ * @interface MovePromptDto
6361
+ */
6362
+ export interface MovePromptDto {
4959
6363
  /**
4960
- * Model parameter count for catalog display
6364
+ * Target folder path. Empty string to move to root.
4961
6365
  * @type {string}
4962
- * @memberof ModelCatalogPropertiesDto
6366
+ * @memberof MovePromptDto
4963
6367
  */
4964
- parameters?: string;
6368
+ targetFolderId: string;
4965
6369
  }
4966
6370
  /**
4967
6371
  *
4968
6372
  * @export
4969
- * @interface ModelDetailsDto
6373
+ * @interface MutatedToolsetDto
4970
6374
  */
4971
- export interface ModelDetailsDto {
6375
+ export interface MutatedToolsetDto {
4972
6376
  /**
4973
6377
  *
4974
- * @type {ModelCapabilitiesDto}
4975
- * @memberof ModelDetailsDto
6378
+ * @type {string}
6379
+ * @memberof MutatedToolsetDto
4976
6380
  */
4977
- capabilities?: ModelCapabilitiesDto;
6381
+ id: string;
6382
+ }
6383
+ /**
6384
+ *
6385
+ * @export
6386
+ * @interface OfflineCredentialsAuthResultDto
6387
+ */
6388
+ export interface OfflineCredentialsAuthResultDto {
4978
6389
  /**
4979
- * Lifecycle status of the model
4980
- * @type {string}
4981
- * @memberof ModelDetailsDto
6390
+ *
6391
+ * @type {boolean}
6392
+ * @memberof OfflineCredentialsAuthResultDto
4982
6393
  */
4983
- lifecycleStatus?: string;
6394
+ success: boolean;
6395
+ }
6396
+ /**
6397
+ *
6398
+ * @export
6399
+ * @interface OfflineCredentialsConnectDto
6400
+ */
6401
+ export interface OfflineCredentialsConnectDto {
4984
6402
  /**
4985
- * Name of the model whose tokenization algorithm this model uses
6403
+ *
4986
6404
  * @type {string}
4987
- * @memberof ModelDetailsDto
6405
+ * @memberof OfflineCredentialsConnectDto
4988
6406
  */
4989
- tokenizerModel?: string;
6407
+ authorizationEndpoint: string;
4990
6408
  /**
4991
6409
  *
4992
- * @type {ModelLimitsDto}
4993
- * @memberof ModelDetailsDto
6410
+ * @type {string}
6411
+ * @memberof OfflineCredentialsConnectDto
4994
6412
  */
4995
- limits?: ModelLimitsDto;
6413
+ clientId: string;
4996
6414
  /**
4997
- * Pricing as reported by DIAL Core: `unit` names the billing unit and every other key holds a scalar price or conditional pricing tree
4998
- * @type {{ [key: string]: ModelDetailsDtoPricingValue; }}
4999
- * @memberof ModelDetailsDto
6415
+ *
6416
+ * @type {string}
6417
+ * @memberof OfflineCredentialsConnectDto
5000
6418
  */
5001
- pricing?: {
5002
- [key: string]: ModelDetailsDtoPricingValue;
5003
- };
6419
+ redirectUri?: string;
5004
6420
  /**
5005
6421
  *
5006
- * @type {DeploymentFeaturesDetailsDto}
5007
- * @memberof ModelDetailsDto
6422
+ * @type {Array<string>}
6423
+ * @memberof OfflineCredentialsConnectDto
5008
6424
  */
5009
- features?: DeploymentFeaturesDetailsDto;
6425
+ scopes: Array<string>;
6426
+ }
6427
+ /**
6428
+ *
6429
+ * @export
6430
+ * @interface OfflineCredentialsSigninBodyDto
6431
+ */
6432
+ export interface OfflineCredentialsSigninBodyDto {
5010
6433
  /**
5011
- * Known model catalog properties allow-listed from DIAL Core catalog_properties
5012
- * @type {ModelCatalogPropertiesDto}
5013
- * @memberof ModelDetailsDto
6434
+ * OAuth authorization code.
6435
+ * @type {string}
6436
+ * @memberof OfflineCredentialsSigninBodyDto
5014
6437
  */
5015
- catalogProperties?: ModelCatalogPropertiesDto;
6438
+ code: string;
5016
6439
  /**
5017
- * Owner of the deployment as reported by DIAL Core
6440
+ * OAuth redirect URI used for the code exchange. Must resolve to the configured AUTH_CALLBACK_BASE_URL origin and one of the app's own callback paths.
5018
6441
  * @type {string}
5019
- * @memberof ModelDetailsDto
6442
+ * @memberof OfflineCredentialsSigninBodyDto
5020
6443
  */
5021
- owner?: string;
6444
+ redirectUri: string;
6445
+ }
6446
+ /**
6447
+ *
6448
+ * @export
6449
+ * @interface ProjectArtifactItemDto
6450
+ */
6451
+ export interface ProjectArtifactItemDto {
5022
6452
  /**
5023
- * Accepted MIME types for input attachments
5024
- * @type {Array<string>}
5025
- * @memberof ModelDetailsDto
6453
+ * File name under the project `artifacts/` folder.
6454
+ * @type {string}
6455
+ * @memberof ProjectArtifactItemDto
5026
6456
  */
5027
- inputAttachmentTypes?: Array<string>;
6457
+ name: string;
5028
6458
  /**
5029
- * Default max_tokens value applied when a request omits it
6459
+ * Last update time, in epoch milliseconds.
5030
6460
  * @type {number}
5031
- * @memberof ModelDetailsDto
6461
+ * @memberof ProjectArtifactItemDto
5032
6462
  */
5033
- defaultMaxTokens?: number;
6463
+ updatedAt?: number;
5034
6464
  /**
5035
- * Timestamp of creation time from DIAL Core (e.g. 1714768496000)
5036
- * @type {number}
5037
- * @memberof ModelDetailsDto
6465
+ * Display name of the file's last writer, from DIAL Core.
6466
+ * @type {string}
6467
+ * @memberof ProjectArtifactItemDto
5038
6468
  */
5039
- createdAt?: number;
6469
+ author?: string;
5040
6470
  }
5041
6471
  /**
5042
- * @type ModelDetailsDtoPricingValue
5043
6472
  *
5044
6473
  * @export
6474
+ * @interface ProjectArtifactListResponseDto
5045
6475
  */
5046
- export type ModelDetailsDtoPricingValue = ModelPricingRateDto | string;
6476
+ export interface ProjectArtifactListResponseDto {
6477
+ /**
6478
+ * Files directly under `artifacts/`, newest first; nested paths are not listed.
6479
+ * @type {Array<ProjectArtifactItemDto>}
6480
+ * @memberof ProjectArtifactListResponseDto
6481
+ */
6482
+ items: Array<ProjectArtifactItemDto>;
6483
+ }
5047
6484
  /**
5048
6485
  *
5049
6486
  * @export
5050
- * @interface ModelLimitsDto
6487
+ * @interface ProjectContextFileDto
5051
6488
  */
5052
- export interface ModelLimitsDto {
5053
- /**
5054
- * Maximum number of tokens allowed in a completion request and response combined
5055
- * @type {number}
5056
- * @memberof ModelLimitsDto
5057
- */
5058
- maxTotalTokens?: number;
6489
+ export interface ProjectContextFileDto {
5059
6490
  /**
5060
- * Maximum number of tokens allowed in a completion request
5061
- * @type {number}
5062
- * @memberof ModelLimitsDto
6491
+ *
6492
+ * @type {string}
6493
+ * @memberof ProjectContextFileDto
5063
6494
  */
5064
- maxPromptTokens?: number;
6495
+ name: string;
5065
6496
  /**
5066
- * Maximum number of tokens allowed in a completion response
6497
+ * Size in bytes.
5067
6498
  * @type {number}
5068
- * @memberof ModelLimitsDto
6499
+ * @memberof ProjectContextFileDto
5069
6500
  */
5070
- maxCompletionTokens?: number;
6501
+ size: number;
5071
6502
  }
5072
6503
  /**
5073
6504
  *
5074
6505
  * @export
5075
- * @interface ModelPricingRateDto
6506
+ * @interface ProjectConversationItemDto
5076
6507
  */
5077
- export interface ModelPricingRateDto {
6508
+ export interface ProjectConversationItemDto {
5078
6509
  /**
5079
- *
5080
- * @type {ModelPricingRateDto}
5081
- * @memberof ModelPricingRateDto
6510
+ * Locator of the conversation, `projects/{bucket}/{projectPath}/conversations/{name}`; it is the conversation id.
6511
+ * @type {string}
6512
+ * @memberof ProjectConversationItemDto
5082
6513
  */
5083
- ifFalse?: ModelPricingRateDto;
6514
+ id: string;
5084
6515
  /**
5085
- *
5086
- * @type {ModelPricingRateDto}
5087
- * @memberof ModelPricingRateDto
6516
+ * File name under the project `conversations/` folder.
6517
+ * @type {string}
6518
+ * @memberof ProjectConversationItemDto
5088
6519
  */
5089
- ifTrue?: ModelPricingRateDto;
6520
+ name: string;
5090
6521
  /**
5091
- * Per-unit price for this pricing branch
6522
+ * Display title: the stored body's `name`, or the title derived from the file name when the body cannot be read.
5092
6523
  * @type {string}
5093
- * @memberof ModelPricingRateDto
6524
+ * @memberof ProjectConversationItemDto
5094
6525
  */
5095
- rate?: string;
6526
+ title: string;
5096
6527
  /**
5097
- * Condition selecting the applicable pricing branch
5098
- * @type {{ [key: string]: unknown }}
5099
- * @memberof ModelPricingRateDto
6528
+ * Display name of the conversation's last writer, from DIAL Core.
6529
+ * @type {string}
6530
+ * @memberof ProjectConversationItemDto
5100
6531
  */
5101
- test?: {
5102
- [key: string]: unknown;
5103
- };
6532
+ author?: string;
6533
+ /**
6534
+ * Last update time, in epoch milliseconds.
6535
+ * @type {number}
6536
+ * @memberof ProjectConversationItemDto
6537
+ */
6538
+ updatedAt?: number;
6539
+ /**
6540
+ * Whether the conversation changed after the caller's read baseline and since the caller last viewed it; `false` when the caller's read state cannot be read.
6541
+ * @type {boolean}
6542
+ * @memberof ProjectConversationItemDto
6543
+ */
6544
+ isUnread: boolean;
5104
6545
  }
5105
6546
  /**
5106
6547
  *
5107
6548
  * @export
5108
- * @interface MoveFilesDto
6549
+ * @interface ProjectConversationListResponseDto
5109
6550
  */
5110
- export interface MoveFilesDto {
6551
+ export interface ProjectConversationListResponseDto {
5111
6552
  /**
5112
- *
5113
- * @type {Array<MoveItemDto>}
5114
- * @memberof MoveFilesDto
6553
+ * Conversations, newest first.
6554
+ * @type {Array<ProjectConversationItemDto>}
6555
+ * @memberof ProjectConversationListResponseDto
5115
6556
  */
5116
- items: Array<MoveItemDto>;
6557
+ items: Array<ProjectConversationItemDto>;
6558
+ /**
6559
+ * Whether the project holds more conversations than `items`.
6560
+ * @type {boolean}
6561
+ * @memberof ProjectConversationListResponseDto
6562
+ */
6563
+ hasMore: boolean;
5117
6564
  }
5118
6565
  /**
5119
6566
  *
5120
6567
  * @export
5121
- * @interface MoveFilesResponseDto
5122
6568
  */
5123
- export interface MoveFilesResponseDto {
6569
+ export declare const ProjectCreateErrorCode: {
6570
+ readonly InvalidName: "invalid-name";
6571
+ readonly NameTaken: "name-taken";
6572
+ readonly InvalidFileName: "invalid-file-name";
6573
+ readonly DuplicateFileName: "duplicate-file-name";
6574
+ readonly UnsupportedFileType: "unsupported-file-type";
6575
+ readonly FileTooLarge: "file-too-large";
6576
+ readonly CapacityExceeded: "capacity-exceeded";
6577
+ readonly TooManyFiles: "too-many-files";
6578
+ readonly ProjectChanged: "project-changed";
6579
+ readonly IfMatchRequired: "if-match-required";
6580
+ readonly ProjectTooLarge: "project-too-large";
6581
+ readonly UnknownFile: "unknown-file";
6582
+ readonly ProjectStorageFull: "project-storage-full";
6583
+ };
6584
+ export type ProjectCreateErrorCode = (typeof ProjectCreateErrorCode)[keyof typeof ProjectCreateErrorCode];
6585
+ /**
6586
+ *
6587
+ * @export
6588
+ * @interface ProjectCreateErrorDto
6589
+ */
6590
+ export interface ProjectCreateErrorDto {
5124
6591
  /**
5125
6592
  *
5126
- * @type {Array<MoveItemResultDto>}
5127
- * @memberof MoveFilesResponseDto
6593
+ * @type {number}
6594
+ * @memberof ProjectCreateErrorDto
5128
6595
  */
5129
- results: Array<MoveItemResultDto>;
6596
+ statusCode: number;
6597
+ /**
6598
+ *
6599
+ * @type {ScheduledTaskValidationErrorDtoMessage}
6600
+ * @memberof ProjectCreateErrorDto
6601
+ */
6602
+ message: ScheduledTaskValidationErrorDtoMessage;
6603
+ /**
6604
+ *
6605
+ * @type {string}
6606
+ * @memberof ProjectCreateErrorDto
6607
+ */
6608
+ error: string;
6609
+ /**
6610
+ *
6611
+ * @type {ProjectCreateErrorCode}
6612
+ * @memberof ProjectCreateErrorDto
6613
+ */
6614
+ code?: ProjectCreateErrorCode;
6615
+ /**
6616
+ * `name`, or the name of the rejected context file.
6617
+ * @type {string}
6618
+ * @memberof ProjectCreateErrorDto
6619
+ */
6620
+ field?: string;
5130
6621
  }
5131
6622
  /**
5132
6623
  *
5133
6624
  * @export
5134
- * @interface MoveItemDto
6625
+ * @interface ProjectDetailsDto
5135
6626
  */
5136
- export interface MoveItemDto {
6627
+ export interface ProjectDetailsDto {
5137
6628
  /**
5138
- * DIAL Core bucket name
6629
+ * DIAL Core resource id, `projects/{bucket}/{path}` without a trailing slash.
5139
6630
  * @type {string}
5140
- * @memberof MoveItemDto
6631
+ * @memberof ProjectDetailsDto
6632
+ */
6633
+ id: string;
6634
+ /**
6635
+ *
6636
+ * @type {string}
6637
+ * @memberof ProjectDetailsDto
6638
+ */
6639
+ name: string;
6640
+ /**
6641
+ *
6642
+ * @type {string}
6643
+ * @memberof ProjectDetailsDto
5141
6644
  */
5142
6645
  bucket: string;
5143
6646
  /**
5144
- * Relative source path within bucket
6647
+ * Path of the project within its bucket.
5145
6648
  * @type {string}
5146
- * @memberof MoveItemDto
6649
+ * @memberof ProjectDetailsDto
5147
6650
  */
5148
- sourcePath: string;
6651
+ path: string;
5149
6652
  /**
5150
- * Relative destination path within bucket
6653
+ * Grouping folder path the project sits in, when nested.
5151
6654
  * @type {string}
5152
- * @memberof MoveItemDto
6655
+ * @memberof ProjectDetailsDto
5153
6656
  */
5154
- destinationPath: string;
6657
+ parentPath?: string;
5155
6658
  /**
5156
- * Whether to overwrite an existing destination resource
5157
- * @type {boolean}
5158
- * @memberof MoveItemDto
6659
+ *
6660
+ * @type {ProjectSource}
6661
+ * @memberof ProjectDetailsDto
5159
6662
  */
5160
- overwrite?: boolean;
6663
+ source: ProjectSource;
5161
6664
  /**
5162
6665
  *
5163
6666
  * @type {string}
5164
- * @memberof MoveItemDto
6667
+ * @memberof ProjectDetailsDto
5165
6668
  */
5166
- nodeType: MoveItemDtoNodeTypeEnum;
6669
+ author?: string;
5167
6670
  /**
5168
- * Display name (last segment) for error messages
5169
- * @type {string}
5170
- * @memberof MoveItemDto
6671
+ * Creation time, epoch milliseconds.
6672
+ * @type {number}
6673
+ * @memberof ProjectDetailsDto
5171
6674
  */
5172
- name: string;
5173
- }
5174
- /**
5175
- * @export
5176
- */
5177
- export declare const MoveItemDtoNodeTypeEnum: {
5178
- readonly Item: "item";
5179
- readonly Folder: "folder";
5180
- };
5181
- export type MoveItemDtoNodeTypeEnum = (typeof MoveItemDtoNodeTypeEnum)[keyof typeof MoveItemDtoNodeTypeEnum];
5182
- /**
5183
- *
5184
- * @export
5185
- * @interface MoveItemResultDto
5186
- */
5187
- export interface MoveItemResultDto {
6675
+ createdAt?: number;
5188
6676
  /**
5189
- * Source path from request
6677
+ * Last update time, epoch milliseconds.
6678
+ * @type {number}
6679
+ * @memberof ProjectDetailsDto
6680
+ */
6681
+ updatedAt?: number;
6682
+ /**
6683
+ * Plain-text description from `PROJECT.md`; empty when absent.
5190
6684
  * @type {string}
5191
- * @memberof MoveItemResultDto
6685
+ * @memberof ProjectDetailsDto
5192
6686
  */
5193
- sourcePath: string;
6687
+ description: string;
5194
6688
  /**
5195
- * Destination path from request
6689
+ * Markdown instructions from `PROJECT.md`; empty when absent.
5196
6690
  * @type {string}
5197
- * @memberof MoveItemResultDto
6691
+ * @memberof ProjectDetailsDto
5198
6692
  */
5199
- destinationPath: string;
6693
+ instructions: string;
5200
6694
  /**
5201
- * true when all Core moveResource calls succeeded
5202
- * @type {boolean}
5203
- * @memberof MoveItemResultDto
6695
+ * Files directly under `context/`, sorted by name.
6696
+ * @type {Array<ProjectContextFileDto>}
6697
+ * @memberof ProjectDetailsDto
5204
6698
  */
5205
- success: boolean;
6699
+ contextFiles: Array<ProjectContextFileDto>;
5206
6700
  /**
5207
- * Human-readable error reason when success is false
6701
+ * Aggregate ETag of the version these details were read from. It changes on every write, project conversation writes included.
5208
6702
  * @type {string}
5209
- * @memberof MoveItemResultDto
6703
+ * @memberof ProjectDetailsDto
5210
6704
  */
5211
- error?: string;
5212
- }
5213
- /**
5214
- *
5215
- * @export
5216
- * @interface MovePromptDto
5217
- */
5218
- export interface MovePromptDto {
6705
+ etag: string;
5219
6706
  /**
5220
- * Target folder path. Empty string to move to root.
6707
+ * Version of the project content (`PROJECT.md`, `context/` and every other non-conversation file). A conversation write leaves it unchanged. Send it as `If-Match` on update and delete.
5221
6708
  * @type {string}
5222
- * @memberof MovePromptDto
6709
+ * @memberof ProjectDetailsDto
5223
6710
  */
5224
- targetFolderId: string;
6711
+ contentVersion: string;
6712
+ /**
6713
+ * Number of conversations stored in the project.
6714
+ * @type {number}
6715
+ * @memberof ProjectDetailsDto
6716
+ */
6717
+ conversationCount: number;
6718
+ /**
6719
+ * Whether the caller may edit, delete, share and publish the project — `true` only in the caller's own bucket.
6720
+ * @type {boolean}
6721
+ * @memberof ProjectDetailsDto
6722
+ */
6723
+ canEdit: boolean;
5225
6724
  }
5226
6725
  /**
5227
6726
  *
5228
6727
  * @export
5229
- * @interface MutatedToolsetDto
6728
+ * @interface ProjectDto
5230
6729
  */
5231
- export interface MutatedToolsetDto {
6730
+ export interface ProjectDto {
5232
6731
  /**
5233
- *
6732
+ * DIAL Core resource id, `projects/{bucket}/{path}` without a trailing slash.
5234
6733
  * @type {string}
5235
- * @memberof MutatedToolsetDto
6734
+ * @memberof ProjectDto
5236
6735
  */
5237
6736
  id: string;
5238
- }
5239
- /**
5240
- *
5241
- * @export
5242
- * @interface OfflineCredentialsAuthResultDto
5243
- */
5244
- export interface OfflineCredentialsAuthResultDto {
5245
6737
  /**
5246
6738
  *
5247
- * @type {boolean}
5248
- * @memberof OfflineCredentialsAuthResultDto
6739
+ * @type {string}
6740
+ * @memberof ProjectDto
5249
6741
  */
5250
- success: boolean;
5251
- }
5252
- /**
5253
- *
5254
- * @export
5255
- * @interface OfflineCredentialsConnectDto
5256
- */
5257
- export interface OfflineCredentialsConnectDto {
6742
+ name: string;
5258
6743
  /**
5259
6744
  *
5260
6745
  * @type {string}
5261
- * @memberof OfflineCredentialsConnectDto
6746
+ * @memberof ProjectDto
5262
6747
  */
5263
- authorizationEndpoint: string;
6748
+ bucket: string;
5264
6749
  /**
5265
- *
6750
+ * Path of the project within its bucket.
5266
6751
  * @type {string}
5267
- * @memberof OfflineCredentialsConnectDto
6752
+ * @memberof ProjectDto
5268
6753
  */
5269
- clientId: string;
6754
+ path: string;
5270
6755
  /**
5271
- *
6756
+ * Grouping folder path the project sits in, when nested.
5272
6757
  * @type {string}
5273
- * @memberof OfflineCredentialsConnectDto
6758
+ * @memberof ProjectDto
5274
6759
  */
5275
- redirectUri?: string;
6760
+ parentPath?: string;
5276
6761
  /**
5277
6762
  *
5278
- * @type {Array<string>}
5279
- * @memberof OfflineCredentialsConnectDto
6763
+ * @type {ProjectSource}
6764
+ * @memberof ProjectDto
5280
6765
  */
5281
- scopes: Array<string>;
6766
+ source: ProjectSource;
6767
+ /**
6768
+ *
6769
+ * @type {string}
6770
+ * @memberof ProjectDto
6771
+ */
6772
+ author?: string;
6773
+ /**
6774
+ * Creation time, epoch milliseconds.
6775
+ * @type {number}
6776
+ * @memberof ProjectDto
6777
+ */
6778
+ createdAt?: number;
6779
+ /**
6780
+ * Last update time, epoch milliseconds.
6781
+ * @type {number}
6782
+ * @memberof ProjectDto
6783
+ */
6784
+ updatedAt?: number;
5282
6785
  }
5283
6786
  /**
5284
6787
  *
5285
6788
  * @export
5286
- * @interface OfflineCredentialsSigninBodyDto
5287
6789
  */
5288
- export interface OfflineCredentialsSigninBodyDto {
6790
+ export declare const ProjectSource: {
6791
+ readonly Personal: "personal";
6792
+ readonly Shared: "shared";
6793
+ readonly Organization: "organization";
6794
+ };
6795
+ export type ProjectSource = (typeof ProjectSource)[keyof typeof ProjectSource];
6796
+ /**
6797
+ *
6798
+ * @export
6799
+ */
6800
+ export declare const ProjectWatchAction: {
6801
+ readonly Create: "CREATE";
6802
+ readonly Update: "UPDATE";
6803
+ readonly Delete: "DELETE";
6804
+ };
6805
+ export type ProjectWatchAction = (typeof ProjectWatchAction)[keyof typeof ProjectWatchAction];
6806
+ /**
6807
+ *
6808
+ * @export
6809
+ * @interface ProjectWatchEventDto
6810
+ */
6811
+ export interface ProjectWatchEventDto {
5289
6812
  /**
5290
- * OAuth authorization code.
6813
+ * Id of the watched project the event is about.
5291
6814
  * @type {string}
5292
- * @memberof OfflineCredentialsSigninBodyDto
6815
+ * @memberof ProjectWatchEventDto
5293
6816
  */
5294
- code: string;
6817
+ id: string;
5295
6818
  /**
5296
- * OAuth redirect URI used for the code exchange. Must resolve to the configured AUTH_CALLBACK_BASE_URL origin and one of the app's own callback paths.
6819
+ *
6820
+ * @type {ProjectWatchAction}
6821
+ * @memberof ProjectWatchEventDto
6822
+ */
6823
+ action: ProjectWatchAction;
6824
+ /**
6825
+ * Epoch ms at which DIAL Core published the event; within milliseconds of the stored `updatedAt`, but not equal to it.
6826
+ * @type {number}
6827
+ * @memberof ProjectWatchEventDto
6828
+ */
6829
+ timestamp: number;
6830
+ /**
6831
+ * The project's new aggregate ETag; absent on `DELETE`.
5297
6832
  * @type {string}
5298
- * @memberof OfflineCredentialsSigninBodyDto
6833
+ * @memberof ProjectWatchEventDto
5299
6834
  */
5300
- redirectUri: string;
6835
+ etag?: string;
6836
+ }
6837
+ /**
6838
+ *
6839
+ * @export
6840
+ * @interface ProjectsConfigDto
6841
+ */
6842
+ export interface ProjectsConfigDto {
6843
+ /**
6844
+ * Pinned project identifiers (`projects/{bucket}/{path}`).
6845
+ * @type {Array<string>}
6846
+ * @memberof ProjectsConfigDto
6847
+ */
6848
+ pinnedIds: Array<string>;
5301
6849
  }
5302
6850
  /**
5303
6851
  *
@@ -5636,6 +7184,7 @@ export declare const PublishHistoryEntryDtoEntityTypeEnum: {
5636
7184
  readonly Application: "application";
5637
7185
  readonly Prompt: "prompt";
5638
7186
  readonly Skill: "skill";
7187
+ readonly Project: "project";
5639
7188
  };
5640
7189
  export type PublishHistoryEntryDtoEntityTypeEnum = (typeof PublishHistoryEntryDtoEntityTypeEnum)[keyof typeof PublishHistoryEntryDtoEntityTypeEnum];
5641
7190
  /**
@@ -5690,6 +7239,7 @@ export declare const PublishResultDtoEntityTypeEnum: {
5690
7239
  readonly Application: "application";
5691
7240
  readonly Prompt: "prompt";
5692
7241
  readonly Skill: "skill";
7242
+ readonly Project: "project";
5693
7243
  };
5694
7244
  export type PublishResultDtoEntityTypeEnum = (typeof PublishResultDtoEntityTypeEnum)[keyof typeof PublishResultDtoEntityTypeEnum];
5695
7245
  /**
@@ -5797,7 +7347,7 @@ export interface RefineTextRequestDto {
5797
7347
  */
5798
7348
  purpose: TextRefinementPurpose;
5799
7349
  /**
5800
- * Exact nonblank draft. Unicode code point limits: skill Description 4000, task Description 500, application/toolset/prompt Description 2000, either Instructions 32000.
7350
+ * Exact nonblank draft. Unicode code point limits: skill/project Description 4000, task Description 500, application/toolset/prompt Description 2000, skill/task/prompt/project Instructions 32000.
5801
7351
  * @type {string}
5802
7352
  * @memberof RefineTextRequestDto
5803
7353
  */
@@ -6297,6 +7847,12 @@ export interface ScheduledTaskRunDto {
6297
7847
  * @memberof ScheduledTaskRunDto
6298
7848
  */
6299
7849
  resultStage?: string;
7850
+ /**
7851
+ * Failure details reported by DIAL Scheduler (result.error_text) for a failed run. Only a non-blank string is exposed; the rest of the upstream result is not.
7852
+ * @type {string}
7853
+ * @memberof ScheduledTaskRunDto
7854
+ */
7855
+ errorText?: string;
6300
7856
  }
6301
7857
  /**
6302
7858
  * @export
@@ -6363,6 +7919,16 @@ export interface ScheduledTaskValidationErrorDto {
6363
7919
  * @export
6364
7920
  */
6365
7921
  export type ScheduledTaskValidationErrorDtoMessage = Array<string> | string;
7922
+ /**
7923
+ * Consent state of the DIAL_NATIVE scheduler external service: 'signed_out' when the administrator's application consent is missing or revoked, 'signed_in' when it is in place, and 'unknown' when the consent read itself failed (the offline-credentials status is still valid).
7924
+ * @export
7925
+ */
7926
+ export declare const SchedulerServiceConsentStatus: {
7927
+ readonly SignedIn: "signed_in";
7928
+ readonly SignedOut: "signed_out";
7929
+ readonly Unknown: "unknown";
7930
+ };
7931
+ export type SchedulerServiceConsentStatus = (typeof SchedulerServiceConsentStatus)[keyof typeof SchedulerServiceConsentStatus];
6366
7932
  /**
6367
7933
  *
6368
7934
  * @export
@@ -6428,6 +7994,15 @@ export declare const SendCompletionDtoModeEnum: {
6428
7994
  readonly Edit: "edit";
6429
7995
  };
6430
7996
  export type SendCompletionDtoModeEnum = (typeof SendCompletionDtoModeEnum)[keyof typeof SendCompletionDtoModeEnum];
7997
+ /**
7998
+ * Why DIAL Core refused the invitation. `shareInvitationNotFound`: the link expired, was revoked, or never existed. `shareInvitationAcceptedUsersLimitReached`: the shared resource has already been accepted by its maximum number of users.
7999
+ * @export
8000
+ */
8001
+ export declare const ShareInvitationErrorCode: {
8002
+ readonly ShareInvitationNotFound: "shareInvitationNotFound";
8003
+ readonly ShareInvitationAcceptedUsersLimitReached: "shareInvitationAcceptedUsersLimitReached";
8004
+ };
8005
+ export type ShareInvitationErrorCode = (typeof ShareInvitationErrorCode)[keyof typeof ShareInvitationErrorCode];
6431
8006
  /**
6432
8007
  *
6433
8008
  * @export
@@ -6446,6 +8021,12 @@ export interface ShareLinkResponseDto {
6446
8021
  * @memberof ShareLinkResponseDto
6447
8022
  */
6448
8023
  expiresInDays?: number;
8024
+ /**
8025
+ * Hours until the DIAL Core invitation expires, rounded up. Lets a client describe a TTL shorter than a day, which `expiresInDays` rounds up to 1. Omitted together with `expiresInDays`.
8026
+ * @type {number}
8027
+ * @memberof ShareLinkResponseDto
8028
+ */
8029
+ expiresInHours?: number;
6449
8030
  /**
6450
8031
  * Access levels granted to holders of the share link. Edit access implies view access, so this is `[View, Edit]` rather than `[Edit]` alone.
6451
8032
  * @type {Array<string>}
@@ -6888,6 +8469,19 @@ export interface StopCompletionDto {
6888
8469
  */
6889
8470
  content?: string;
6890
8471
  }
8472
+ /**
8473
+ *
8474
+ * @export
8475
+ * @interface StreamConversationTitlesBodyDto
8476
+ */
8477
+ export interface StreamConversationTitlesBodyDto {
8478
+ /**
8479
+ * Full DIAL Core conversation resource URLs, at most 500 and 262144 bytes as a serialized JSON array. Duplicate IDs produce one outcome; visible conversations should come first, because IDs are admitted in order.
8480
+ * @type {Array<string>}
8481
+ * @memberof StreamConversationTitlesBodyDto
8482
+ */
8483
+ ids: Array<string>;
8484
+ }
6891
8485
  /**
6892
8486
  * Server-owned rewriting purpose
6893
8487
  * @export
@@ -6900,6 +8494,9 @@ export declare const TextRefinementPurpose: {
6900
8494
  readonly ApplicationDescription: "application-description";
6901
8495
  readonly ToolsetDescription: "toolset-description";
6902
8496
  readonly PromptDescription: "prompt-description";
8497
+ readonly PromptInstructions: "prompt-instructions";
8498
+ readonly ProjectDescription: "project-description";
8499
+ readonly ProjectInstructions: "project-instructions";
6903
8500
  };
6904
8501
  export type TextRefinementPurpose = (typeof TextRefinementPurpose)[keyof typeof TextRefinementPurpose];
6905
8502
  /**
@@ -7152,6 +8749,12 @@ export interface ToolsetAuthSettingsDto {
7152
8749
  * @memberof ToolsetAuthSettingsDto
7153
8750
  */
7154
8751
  clientId?: string;
8752
+ /**
8753
+ * (OAuth only) Last characters of the stored OAuth client secret, as returned by DIAL Core. Never the secret itself.
8754
+ * @type {string}
8755
+ * @memberof ToolsetAuthSettingsDto
8756
+ */
8757
+ clientSecretHint?: string;
7155
8758
  /**
7156
8759
  * (OAuth only) OAuth redirect URI
7157
8760
  * @type {string}
@@ -7507,6 +9110,19 @@ export interface TranscribeAudioDto {
7507
9110
  */
7508
9111
  mimeType: string;
7509
9112
  }
9113
+ /**
9114
+ *
9115
+ * @export
9116
+ * @interface UnpublishAccessDto
9117
+ */
9118
+ export interface UnpublishAccessDto {
9119
+ /**
9120
+ * Whether the caller may request removal of this entity: true for an administrator or the publisher of the copy
9121
+ * @type {boolean}
9122
+ * @memberof UnpublishAccessDto
9123
+ */
9124
+ canUnpublish: boolean;
9125
+ }
7510
9126
  /**
7511
9127
  *
7512
9128
  * @export
@@ -7622,6 +9238,7 @@ export declare const UnpublishResultDtoEntityTypeEnum: {
7622
9238
  readonly Application: "application";
7623
9239
  readonly Prompt: "prompt";
7624
9240
  readonly Skill: "skill";
9241
+ readonly Project: "project";
7625
9242
  };
7626
9243
  export type UnpublishResultDtoEntityTypeEnum = (typeof UnpublishResultDtoEntityTypeEnum)[keyof typeof UnpublishResultDtoEntityTypeEnum];
7627
9244
  /**
@@ -7767,18 +9384,61 @@ export interface UpdateInstalledSkillDto {
7767
9384
  */
7768
9385
  export interface UpdatePinsDto {
7769
9386
  /**
7770
- * Full DIAL Core resource URL of the conversation to pin or unpin (matches `id` in `ConversationListItemDto`).
9387
+ * Full DIAL Core resource URL of the conversation or project to pin or unpin (matches `id` in `ConversationListItemDto` or `ProjectDto`). A `projects/` id is stored under `projects.pinnedIds`.
7771
9388
  * @type {string}
7772
9389
  * @memberof UpdatePinsDto
7773
9390
  */
7774
9391
  path: string;
7775
9392
  /**
7776
- * Pass `true` to pin the conversation, `false` to unpin.
9393
+ * Pass `true` to pin the conversation or project, `false` to unpin.
7777
9394
  * @type {boolean}
7778
9395
  * @memberof UpdatePinsDto
7779
9396
  */
7780
9397
  isPinned: boolean;
7781
9398
  }
9399
+ /**
9400
+ *
9401
+ * @export
9402
+ * @interface UpdateProjectResponseDto
9403
+ */
9404
+ export interface UpdateProjectResponseDto {
9405
+ /**
9406
+ * The project id after the save — a new id when it was renamed.
9407
+ * @type {string}
9408
+ * @memberof UpdateProjectResponseDto
9409
+ */
9410
+ id: string;
9411
+ /**
9412
+ *
9413
+ * @type {string}
9414
+ * @memberof UpdateProjectResponseDto
9415
+ */
9416
+ name: string;
9417
+ /**
9418
+ *
9419
+ * @type {string}
9420
+ * @memberof UpdateProjectResponseDto
9421
+ */
9422
+ bucket: string;
9423
+ /**
9424
+ *
9425
+ * @type {string}
9426
+ * @memberof UpdateProjectResponseDto
9427
+ */
9428
+ path: string;
9429
+ /**
9430
+ * Aggregate ETag of the saved version. Absent when the project was renamed and its new ETag could not be read back; the save itself committed, so reload the project for a fresh one.
9431
+ * @type {string}
9432
+ * @memberof UpdateProjectResponseDto
9433
+ */
9434
+ etag?: string;
9435
+ /**
9436
+ * Whether the project is in the caller's pins after the save.
9437
+ * @type {boolean}
9438
+ * @memberof UpdateProjectResponseDto
9439
+ */
9440
+ isPinned: boolean;
9441
+ }
7782
9442
  /**
7783
9443
  *
7784
9444
  * @export
@@ -8052,6 +9712,12 @@ export interface UserConfigDto {
8052
9712
  * @memberof UserConfigDto
8053
9713
  */
8054
9714
  conversations: ConversationsConfigDto;
9715
+ /**
9716
+ *
9717
+ * @type {ProjectsConfigDto}
9718
+ * @memberof UserConfigDto
9719
+ */
9720
+ projects: ProjectsConfigDto;
8055
9721
  /**
8056
9722
  *
8057
9723
  * @type {ToolsetsConfigDto}
@@ -8154,6 +9820,12 @@ export interface UserProfileDto {
8154
9820
  * @memberof UserProfileDto
8155
9821
  */
8156
9822
  isAdmin: boolean;
9823
+ /**
9824
+ * URL of the user's profile picture: the IdP's absolute http(s) `picture` claim, or the same-origin `GET /auth/me/picture` path when the IdP supplied the image inline. Omitted when there is no picture.
9825
+ * @type {string}
9826
+ * @memberof UserProfileDto
9827
+ */
9828
+ pictureUrl?: string;
8157
9829
  }
8158
9830
  /**
8159
9831
  *
@@ -8168,4 +9840,17 @@ export interface WatchConversationBodyDto {
8168
9840
  */
8169
9841
  path: string;
8170
9842
  }
9843
+ /**
9844
+ *
9845
+ * @export
9846
+ * @interface WatchProjectsBodyDto
9847
+ */
9848
+ export interface WatchProjectsBodyDto {
9849
+ /**
9850
+ * Unique ids of the listed projects, `projects/{bucket}/{path}` each.
9851
+ * @type {Array<string>}
9852
+ * @memberof WatchProjectsBodyDto
9853
+ */
9854
+ ids: Array<string>;
9855
+ }
8171
9856
  //# sourceMappingURL=index.d.ts.map