@epam/ai-dial-typescript-sdk 0.1.0-dev.21 → 0.1.0-dev.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.cjs +160 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1267 -608
- package/dist/index.d.ts +1267 -608
- package/dist/index.js +160 -33
- package/dist/index.js.map +1 -1
- package/package.json +10 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,102 +1,9 @@
|
|
|
1
|
-
interface SDKOptions {
|
|
2
|
-
baseUrl: string;
|
|
3
|
-
apiKey?: string;
|
|
4
|
-
token?: string;
|
|
5
|
-
headers?: Record<string, string>;
|
|
6
|
-
fetch?: typeof fetch;
|
|
7
|
-
}
|
|
8
|
-
/** Methods exposed by `createSDK` (explicit shape avoids TS emit limits on the inferred return type). */
|
|
9
|
-
interface DIAL_SDK {
|
|
10
|
-
acceptUserConsent: (deployment_id: string, init?: any) => Promise<unknown>;
|
|
11
|
-
approvePublication: (init?: any) => Promise<unknown>;
|
|
12
|
-
callToolSet: (toolset_name: string, init?: any) => Promise<unknown>;
|
|
13
|
-
closeSession: (init?: any) => Promise<unknown>;
|
|
14
|
-
configurationDeployment: (deployment_name: string, init?: any) => Promise<unknown>;
|
|
15
|
-
copyResource: (init?: any) => Promise<unknown>;
|
|
16
|
-
copySharedResources: (init?: any) => Promise<unknown>;
|
|
17
|
-
createPublication: (init?: any) => Promise<unknown>;
|
|
18
|
-
deleteConversation: (bucket: string, conversation_path: string, init?: any) => Promise<unknown>;
|
|
19
|
-
deleteCustomApplication: (bucket: string, application_path: string, init?: any) => Promise<unknown>;
|
|
20
|
-
deleteFile: (bucket: string, file_path: string, init?: any) => Promise<unknown>;
|
|
21
|
-
deleteInvitation: (invitation_id: string, init?: any) => Promise<unknown>;
|
|
22
|
-
deleteNotifications: (init?: any) => Promise<unknown>;
|
|
23
|
-
deletePrompt: (bucket: string, prompt_path: string, init?: any) => Promise<unknown>;
|
|
24
|
-
deletePublication: (init?: any) => Promise<unknown>;
|
|
25
|
-
deleteToolSet: (bucket: string, toolset_path: string, init?: any) => Promise<unknown>;
|
|
26
|
-
deployApplication: (init?: any) => Promise<unknown>;
|
|
27
|
-
discardSharedResources: (init?: any) => Promise<unknown>;
|
|
28
|
-
downloadFile: (bucket: string, file_path: string, init?: any) => Promise<unknown>;
|
|
29
|
-
downloadFileFromCodeInterpreter: (init?: any) => Promise<unknown>;
|
|
30
|
-
executeCode: (init?: any) => Promise<unknown>;
|
|
31
|
-
getApplication: (application_name: string, init?: any) => Promise<unknown>;
|
|
32
|
-
getApplicationLogs: (init?: any) => Promise<unknown>;
|
|
33
|
-
getApplicationMetadata: (bucket: string, path: string, init?: any) => Promise<unknown>;
|
|
34
|
-
getApplications: (init?: any) => Promise<unknown>;
|
|
35
|
-
getConversation: (bucket: string, conversation_path: string, init?: any) => Promise<unknown>;
|
|
36
|
-
getConversationMetadata: (bucket: string, path: string, init?: any) => Promise<unknown>;
|
|
37
|
-
getCustomApplication: (bucket: string, application_path: string, init?: any) => Promise<unknown>;
|
|
38
|
-
getCustomApplicationSchema: (init?: any) => Promise<unknown>;
|
|
39
|
-
getCustomToolSet: (bucket: string, toolset_path: string, init?: any) => Promise<unknown>;
|
|
40
|
-
getDeployment: (deployment_name: string, init?: any) => Promise<unknown>;
|
|
41
|
-
getDeploymentLimits: (deployment_name: string, init?: any) => Promise<unknown>;
|
|
42
|
-
getDeployments: (init?: any) => Promise<unknown>;
|
|
43
|
-
getFileMetadata: (bucket: string, path: string, init?: any) => Promise<unknown>;
|
|
44
|
-
getInvitation: (invitation_id: string, init?: any) => Promise<unknown>;
|
|
45
|
-
getInvitations: (init?: any) => Promise<unknown>;
|
|
46
|
-
getMetaSchemaOfCustomApplicationSchema: (init?: any) => Promise<unknown>;
|
|
47
|
-
getModel: (model_name: string, init?: any) => Promise<unknown>;
|
|
48
|
-
getModels: (init?: any) => Promise<unknown>;
|
|
49
|
-
getNotifications: (init?: any) => Promise<unknown>;
|
|
50
|
-
getPerRequestPermissions: (init?: any) => Promise<unknown>;
|
|
51
|
-
getPrompt: (bucket: string, prompt_path: string, init?: any) => Promise<unknown>;
|
|
52
|
-
getPromptMetadata: (bucket: string, path: string, init?: any) => Promise<unknown>;
|
|
53
|
-
getPublication: (init?: any) => Promise<unknown>;
|
|
54
|
-
getPublicationRules: (init?: any) => Promise<unknown>;
|
|
55
|
-
getPublications: (init?: any) => Promise<unknown>;
|
|
56
|
-
getSession: (init?: any) => Promise<unknown>;
|
|
57
|
-
getSharedResources: (init?: any) => Promise<unknown>;
|
|
58
|
-
getToolSetMetadata: (bucket: string, path: string, init?: any) => Promise<unknown>;
|
|
59
|
-
getToolSets: (init?: any) => Promise<unknown>;
|
|
60
|
-
getToolset: (toolset_name: string, init?: any) => Promise<unknown>;
|
|
61
|
-
getUserBucket: (init?: any) => Promise<unknown>;
|
|
62
|
-
getUserInfo: (init?: any) => Promise<unknown>;
|
|
63
|
-
grantPerRequestPermissions: (init?: any) => Promise<unknown>;
|
|
64
|
-
listCustomApplicationSchemas: (init?: any) => Promise<unknown>;
|
|
65
|
-
listFilesFromCodeInterpreter: (init?: any) => Promise<unknown>;
|
|
66
|
-
moveResource: (init?: any) => Promise<unknown>;
|
|
67
|
-
openSession: (init?: any) => Promise<unknown>;
|
|
68
|
-
rateDeployment: (deployment_name: string, init?: any) => Promise<unknown>;
|
|
69
|
-
redeployApplication: (init?: any) => Promise<unknown>;
|
|
70
|
-
rejectPublication: (init?: any) => Promise<unknown>;
|
|
71
|
-
reloadConfig: (init?: any) => Promise<unknown>;
|
|
72
|
-
requestUserConsent: (deployment_id: string, init?: any) => Promise<unknown>;
|
|
73
|
-
revokePerRequestPermissions: (init?: any) => Promise<unknown>;
|
|
74
|
-
revokeSharedResources: (init?: any) => Promise<unknown>;
|
|
75
|
-
saveConversation: (bucket: string, conversation_path: string, init?: any) => Promise<unknown>;
|
|
76
|
-
saveCustomApplication: (bucket: string, application_path: string, init?: any) => Promise<unknown>;
|
|
77
|
-
savePrompt: (bucket: string, prompt_path: string, init?: any) => Promise<unknown>;
|
|
78
|
-
saveToolSet: (bucket: string, toolset_path: string, init?: any) => Promise<unknown>;
|
|
79
|
-
sendChatCompletionRequest: (deployment_name: string, init?: any) => Promise<unknown>;
|
|
80
|
-
sendEmbeddingsRequest: (deployment_name: string, init?: any) => Promise<unknown>;
|
|
81
|
-
shareResource: (init?: any) => Promise<unknown>;
|
|
82
|
-
subscribeToResources: (init?: any) => Promise<unknown>;
|
|
83
|
-
toolSetSignout: (init?: any) => Promise<unknown>;
|
|
84
|
-
toolsetSignin: (init?: any) => Promise<unknown>;
|
|
85
|
-
transferInputFile: (init?: any) => Promise<unknown>;
|
|
86
|
-
transferOutputFile: (init?: any) => Promise<unknown>;
|
|
87
|
-
undeployApplication: (init?: any) => Promise<unknown>;
|
|
88
|
-
updatePublication: (init?: any) => Promise<unknown>;
|
|
89
|
-
uploadFile: (bucket: string, file_path: string, init?: any) => Promise<unknown>;
|
|
90
|
-
uploadFileToCodeInterpreter: (init?: any) => Promise<unknown>;
|
|
91
|
-
}
|
|
92
|
-
declare function createSDK(opts: SDKOptions): DIAL_SDK;
|
|
93
|
-
|
|
94
1
|
/**
|
|
95
2
|
* This file was auto-generated by openapi-typescript.
|
|
96
3
|
* Do not make direct changes to the file.
|
|
97
4
|
*/
|
|
98
5
|
interface paths {
|
|
99
|
-
|
|
6
|
+
'/openai/deployments/{deployment_name}/chat/completions': {
|
|
100
7
|
parameters: {
|
|
101
8
|
query?: never;
|
|
102
9
|
header?: never;
|
|
@@ -109,14 +16,14 @@ interface paths {
|
|
|
109
16
|
* /openai/deployments/{deployment_name}/chat/completions
|
|
110
17
|
* @description This API is based on the OpenAI Azure API and extended to support working with advanced DIAL agents and applications.
|
|
111
18
|
*/
|
|
112
|
-
post: operations[
|
|
19
|
+
post: operations['sendChatCompletionRequest'];
|
|
113
20
|
delete?: never;
|
|
114
21
|
options?: never;
|
|
115
22
|
head?: never;
|
|
116
23
|
patch?: never;
|
|
117
24
|
trace?: never;
|
|
118
25
|
};
|
|
119
|
-
|
|
26
|
+
'/v1/deployments/{deployment_name}/configuration': {
|
|
120
27
|
parameters: {
|
|
121
28
|
query?: never;
|
|
122
29
|
header?: never;
|
|
@@ -131,7 +38,7 @@ interface paths {
|
|
|
131
38
|
* <br><br>
|
|
132
39
|
* A deployment supports configuration if its listing, retrieved by `GET /openai/deployments/{deployment_name}`, has a field `features.configuration` set to `true`.
|
|
133
40
|
*/
|
|
134
|
-
get: operations[
|
|
41
|
+
get: operations['configurationDeployment'];
|
|
135
42
|
put?: never;
|
|
136
43
|
post?: never;
|
|
137
44
|
delete?: never;
|
|
@@ -140,7 +47,7 @@ interface paths {
|
|
|
140
47
|
patch?: never;
|
|
141
48
|
trace?: never;
|
|
142
49
|
};
|
|
143
|
-
|
|
50
|
+
'/openai/deployments/{deployment_name}/embeddings': {
|
|
144
51
|
parameters: {
|
|
145
52
|
query?: never;
|
|
146
53
|
header?: never;
|
|
@@ -153,14 +60,14 @@ interface paths {
|
|
|
153
60
|
* /openai/deployments/{deployment_name}/embeddings
|
|
154
61
|
* @description Call this endpoint to get a vector representation of a given input.
|
|
155
62
|
*/
|
|
156
|
-
post: operations[
|
|
63
|
+
post: operations['sendEmbeddingsRequest'];
|
|
157
64
|
delete?: never;
|
|
158
65
|
options?: never;
|
|
159
66
|
head?: never;
|
|
160
67
|
patch?: never;
|
|
161
68
|
trace?: never;
|
|
162
69
|
};
|
|
163
|
-
|
|
70
|
+
'/v1/{deployment_name}/rate': {
|
|
164
71
|
parameters: {
|
|
165
72
|
query?: never;
|
|
166
73
|
header?: never;
|
|
@@ -173,14 +80,14 @@ interface paths {
|
|
|
173
80
|
* /v1/{deployment_name}/rate
|
|
174
81
|
* @description Call this endpoint to rate the response received from the chat completions endpoint.
|
|
175
82
|
*/
|
|
176
|
-
post: operations[
|
|
83
|
+
post: operations['rateDeployment'];
|
|
177
84
|
delete?: never;
|
|
178
85
|
options?: never;
|
|
179
86
|
head?: never;
|
|
180
87
|
patch?: never;
|
|
181
88
|
trace?: never;
|
|
182
89
|
};
|
|
183
|
-
|
|
90
|
+
'/v1/user/info': {
|
|
184
91
|
parameters: {
|
|
185
92
|
query?: never;
|
|
186
93
|
header?: never;
|
|
@@ -191,7 +98,7 @@ interface paths {
|
|
|
191
98
|
* /v1/user/info
|
|
192
99
|
* @description Call this endpoint to retrieve information about a user. To access the endpoint, a user must be authenticated with API key or access token.
|
|
193
100
|
*/
|
|
194
|
-
get: operations[
|
|
101
|
+
get: operations['getUserInfo'];
|
|
195
102
|
put?: never;
|
|
196
103
|
post?: never;
|
|
197
104
|
delete?: never;
|
|
@@ -200,7 +107,7 @@ interface paths {
|
|
|
200
107
|
patch?: never;
|
|
201
108
|
trace?: never;
|
|
202
109
|
};
|
|
203
|
-
|
|
110
|
+
'/v1/toolset/{toolset_name}/mcp': {
|
|
204
111
|
parameters: {
|
|
205
112
|
query?: never;
|
|
206
113
|
header?: never;
|
|
@@ -213,14 +120,34 @@ interface paths {
|
|
|
213
120
|
* /v1/toolset/{toolset_name}/mcp
|
|
214
121
|
* @description This endpoint implements MCP-based communication using [HTTP transport](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http).
|
|
215
122
|
*/
|
|
216
|
-
post: operations[
|
|
123
|
+
post: operations['callToolSet'];
|
|
124
|
+
delete?: never;
|
|
125
|
+
options?: never;
|
|
126
|
+
head?: never;
|
|
127
|
+
patch?: never;
|
|
128
|
+
trace?: never;
|
|
129
|
+
};
|
|
130
|
+
'/v1/deployments/{deployment_id}/mcp': {
|
|
131
|
+
parameters: {
|
|
132
|
+
query?: never;
|
|
133
|
+
header?: never;
|
|
134
|
+
path?: never;
|
|
135
|
+
cookie?: never;
|
|
136
|
+
};
|
|
137
|
+
get?: never;
|
|
138
|
+
put?: never;
|
|
139
|
+
/**
|
|
140
|
+
* /v1/deployments/{deployment_id}/mcp
|
|
141
|
+
* @description This endpoint implements MCP-based communication with application deployment using [HTTP transport](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http).
|
|
142
|
+
*/
|
|
143
|
+
post: operations['callMcp'];
|
|
217
144
|
delete?: never;
|
|
218
145
|
options?: never;
|
|
219
146
|
head?: never;
|
|
220
147
|
patch?: never;
|
|
221
148
|
trace?: never;
|
|
222
149
|
};
|
|
223
|
-
|
|
150
|
+
'/v1/ops/application/deploy': {
|
|
224
151
|
parameters: {
|
|
225
152
|
query?: never;
|
|
226
153
|
header?: never;
|
|
@@ -233,14 +160,14 @@ interface paths {
|
|
|
233
160
|
* /v1/ops/application/deploy
|
|
234
161
|
* @description Call this endpoint to deploy an application.
|
|
235
162
|
*/
|
|
236
|
-
post: operations[
|
|
163
|
+
post: operations['deployApplication'];
|
|
237
164
|
delete?: never;
|
|
238
165
|
options?: never;
|
|
239
166
|
head?: never;
|
|
240
167
|
patch?: never;
|
|
241
168
|
trace?: never;
|
|
242
169
|
};
|
|
243
|
-
|
|
170
|
+
'/v1/ops/application/undeploy': {
|
|
244
171
|
parameters: {
|
|
245
172
|
query?: never;
|
|
246
173
|
header?: never;
|
|
@@ -253,14 +180,14 @@ interface paths {
|
|
|
253
180
|
* /v1/ops/application/undeploy
|
|
254
181
|
* @description Call this endpoint to undeploy an application. After undeploying, the application will no longer be accessible until it is [deployed](#tag/Applications/operation/deployApplication) again. Use [redeploy](#tag/Applications/operation/redeployApplication) to apply changes without downtime.
|
|
255
182
|
*/
|
|
256
|
-
post: operations[
|
|
183
|
+
post: operations['undeployApplication'];
|
|
257
184
|
delete?: never;
|
|
258
185
|
options?: never;
|
|
259
186
|
head?: never;
|
|
260
187
|
patch?: never;
|
|
261
188
|
trace?: never;
|
|
262
189
|
};
|
|
263
|
-
|
|
190
|
+
'/v1/ops/application/redeploy': {
|
|
264
191
|
parameters: {
|
|
265
192
|
query?: never;
|
|
266
193
|
header?: never;
|
|
@@ -273,14 +200,14 @@ interface paths {
|
|
|
273
200
|
* /v1/ops/application/redeploy
|
|
274
201
|
* @description Call this endpoint to redeploy an application. This is useful when you want to apply changes made to the application without downtime, contrary to the [undeploy](#tag/Applications/operation/undeployApplication) and deploy process.
|
|
275
202
|
*/
|
|
276
|
-
post: operations[
|
|
203
|
+
post: operations['redeployApplication'];
|
|
277
204
|
delete?: never;
|
|
278
205
|
options?: never;
|
|
279
206
|
head?: never;
|
|
280
207
|
patch?: never;
|
|
281
208
|
trace?: never;
|
|
282
209
|
};
|
|
283
|
-
|
|
210
|
+
'/v1/ops/application/logs': {
|
|
284
211
|
parameters: {
|
|
285
212
|
query?: never;
|
|
286
213
|
header?: never;
|
|
@@ -293,14 +220,14 @@ interface paths {
|
|
|
293
220
|
* /v1/ops/application/logs
|
|
294
221
|
* @description Call this endpoint to get application logs
|
|
295
222
|
*/
|
|
296
|
-
post: operations[
|
|
223
|
+
post: operations['getApplicationLogs'];
|
|
297
224
|
delete?: never;
|
|
298
225
|
options?: never;
|
|
299
226
|
head?: never;
|
|
300
227
|
patch?: never;
|
|
301
228
|
trace?: never;
|
|
302
229
|
};
|
|
303
|
-
|
|
230
|
+
'/v1/application_type_schemas/schemas': {
|
|
304
231
|
parameters: {
|
|
305
232
|
query?: never;
|
|
306
233
|
header?: never;
|
|
@@ -311,7 +238,7 @@ interface paths {
|
|
|
311
238
|
* /v1/application_type_schemas/schemas
|
|
312
239
|
* @description Call this endpoint to get a list of available application types schemas. Refer to [/v1/application_type_schemas/schema](/dial_api#tag/Applications/operation/getCustomApplicationSchema) to see a real example of Quick app schema.
|
|
313
240
|
*/
|
|
314
|
-
get: operations[
|
|
241
|
+
get: operations['listCustomApplicationSchemas'];
|
|
315
242
|
put?: never;
|
|
316
243
|
post?: never;
|
|
317
244
|
delete?: never;
|
|
@@ -320,7 +247,7 @@ interface paths {
|
|
|
320
247
|
patch?: never;
|
|
321
248
|
trace?: never;
|
|
322
249
|
};
|
|
323
|
-
|
|
250
|
+
'/v1/application_type_schemas/meta_schema': {
|
|
324
251
|
parameters: {
|
|
325
252
|
query?: never;
|
|
326
253
|
header?: never;
|
|
@@ -331,7 +258,7 @@ interface paths {
|
|
|
331
258
|
* /v1/application_type_schemas/meta_schema
|
|
332
259
|
* @description Call this endpoint to get metaschema of custom application schema.
|
|
333
260
|
*/
|
|
334
|
-
get: operations[
|
|
261
|
+
get: operations['getMetaSchemaOfCustomApplicationSchema'];
|
|
335
262
|
put?: never;
|
|
336
263
|
post?: never;
|
|
337
264
|
delete?: never;
|
|
@@ -340,7 +267,7 @@ interface paths {
|
|
|
340
267
|
patch?: never;
|
|
341
268
|
trace?: never;
|
|
342
269
|
};
|
|
343
|
-
|
|
270
|
+
'/v1/application_type_schemas/schema': {
|
|
344
271
|
parameters: {
|
|
345
272
|
query?: never;
|
|
346
273
|
header?: never;
|
|
@@ -351,7 +278,7 @@ interface paths {
|
|
|
351
278
|
* /v1/application_type_schemas/schema
|
|
352
279
|
* @description Call this endpoint to get the application type schema by its id
|
|
353
280
|
*/
|
|
354
|
-
get: operations[
|
|
281
|
+
get: operations['getCustomApplicationSchema'];
|
|
355
282
|
put?: never;
|
|
356
283
|
post?: never;
|
|
357
284
|
delete?: never;
|
|
@@ -360,7 +287,7 @@ interface paths {
|
|
|
360
287
|
patch?: never;
|
|
361
288
|
trace?: never;
|
|
362
289
|
};
|
|
363
|
-
|
|
290
|
+
'/v1/applications/{Bucket}/{application_path}': {
|
|
364
291
|
parameters: {
|
|
365
292
|
query?: never;
|
|
366
293
|
header?: never;
|
|
@@ -371,24 +298,24 @@ interface paths {
|
|
|
371
298
|
* /v1/applications/{Bucket}/{application_path}
|
|
372
299
|
* @description Call this endpoint to get the application structure described in JSON format.
|
|
373
300
|
*/
|
|
374
|
-
get: operations[
|
|
301
|
+
get: operations['getCustomApplication'];
|
|
375
302
|
/**
|
|
376
303
|
* /v1/applications/{Bucket}/{application_path}
|
|
377
304
|
* @description Call this endpoint to add an application to the specified bucket and path. **Note**, that requests differ for apps with and without schemas. See the details in the REQUEST BODY SCHEMA section. Refer to [Documentation](https://docs.dialx.ai/platform/core/apps) to learn more about applications in DIAL.
|
|
378
305
|
*/
|
|
379
|
-
put: operations[
|
|
306
|
+
put: operations['saveCustomApplication'];
|
|
380
307
|
post?: never;
|
|
381
308
|
/**
|
|
382
309
|
* /v1/applications/{Bucket}/{application_path}
|
|
383
310
|
* @description Call this endpoint to delete the application.
|
|
384
311
|
*/
|
|
385
|
-
delete: operations[
|
|
312
|
+
delete: operations['deleteCustomApplication'];
|
|
386
313
|
options?: never;
|
|
387
314
|
head?: never;
|
|
388
315
|
patch?: never;
|
|
389
316
|
trace?: never;
|
|
390
317
|
};
|
|
391
|
-
|
|
318
|
+
'/v1/metadata/applications/{Bucket}/{Path}': {
|
|
392
319
|
parameters: {
|
|
393
320
|
query?: never;
|
|
394
321
|
header?: never;
|
|
@@ -401,7 +328,7 @@ interface paths {
|
|
|
401
328
|
* If the path is a folder, it must end with a "/".
|
|
402
329
|
* If it is called for a folder, there can be optional `nextToken` field in the response to be used to request next items if present.
|
|
403
330
|
*/
|
|
404
|
-
get: operations[
|
|
331
|
+
get: operations['getApplicationMetadata'];
|
|
405
332
|
put?: never;
|
|
406
333
|
post?: never;
|
|
407
334
|
delete?: never;
|
|
@@ -410,7 +337,7 @@ interface paths {
|
|
|
410
337
|
patch?: never;
|
|
411
338
|
trace?: never;
|
|
412
339
|
};
|
|
413
|
-
|
|
340
|
+
'/v1/bucket': {
|
|
414
341
|
parameters: {
|
|
415
342
|
query?: never;
|
|
416
343
|
header?: never;
|
|
@@ -421,7 +348,7 @@ interface paths {
|
|
|
421
348
|
* /v1/bucket
|
|
422
349
|
* @description Call this endpoint to get a bucket.
|
|
423
350
|
*/
|
|
424
|
-
get: operations[
|
|
351
|
+
get: operations['getUserBucket'];
|
|
425
352
|
put?: never;
|
|
426
353
|
post?: never;
|
|
427
354
|
delete?: never;
|
|
@@ -430,7 +357,7 @@ interface paths {
|
|
|
430
357
|
patch?: never;
|
|
431
358
|
trace?: never;
|
|
432
359
|
};
|
|
433
|
-
|
|
360
|
+
'/v1/files/{Bucket}/{file_path}': {
|
|
434
361
|
parameters: {
|
|
435
362
|
query?: never;
|
|
436
363
|
header?: never;
|
|
@@ -441,24 +368,24 @@ interface paths {
|
|
|
441
368
|
* /v1/files/{Bucket}/{file_path}
|
|
442
369
|
* @description Call this endpoint to get a file content.
|
|
443
370
|
*/
|
|
444
|
-
get: operations[
|
|
371
|
+
get: operations['downloadFile'];
|
|
445
372
|
/**
|
|
446
373
|
* /v1/files/{Bucket}/{file_path}
|
|
447
374
|
* @description Call this endpoint to upload a file to the specified bucket and path.
|
|
448
375
|
*/
|
|
449
|
-
put: operations[
|
|
376
|
+
put: operations['uploadFile'];
|
|
450
377
|
post?: never;
|
|
451
378
|
/**
|
|
452
379
|
* /v1/files/{Bucket}/{file_path}
|
|
453
380
|
* @description Call this endpoint to delete the file.
|
|
454
381
|
*/
|
|
455
|
-
delete: operations[
|
|
382
|
+
delete: operations['deleteFile'];
|
|
456
383
|
options?: never;
|
|
457
384
|
head?: never;
|
|
458
385
|
patch?: never;
|
|
459
386
|
trace?: never;
|
|
460
387
|
};
|
|
461
|
-
|
|
388
|
+
'/v1/metadata/files/{Bucket}/{Path}': {
|
|
462
389
|
parameters: {
|
|
463
390
|
query?: never;
|
|
464
391
|
header?: never;
|
|
@@ -471,7 +398,7 @@ interface paths {
|
|
|
471
398
|
* If the path is a folder, it must end with a "/".
|
|
472
399
|
* If it is called for a folder, there can be optional `nextToken` field in the response to be used to request next items if present.
|
|
473
400
|
*/
|
|
474
|
-
get: operations[
|
|
401
|
+
get: operations['getFileMetadata'];
|
|
475
402
|
put?: never;
|
|
476
403
|
post?: never;
|
|
477
404
|
delete?: never;
|
|
@@ -480,7 +407,7 @@ interface paths {
|
|
|
480
407
|
patch?: never;
|
|
481
408
|
trace?: never;
|
|
482
409
|
};
|
|
483
|
-
|
|
410
|
+
'/v1/ops/resource/move': {
|
|
484
411
|
parameters: {
|
|
485
412
|
query?: never;
|
|
486
413
|
header?: never;
|
|
@@ -493,14 +420,14 @@ interface paths {
|
|
|
493
420
|
* /v1/ops/resource/move
|
|
494
421
|
* @description Moves the source resource to the destination.
|
|
495
422
|
*/
|
|
496
|
-
post: operations[
|
|
423
|
+
post: operations['moveResource'];
|
|
497
424
|
delete?: never;
|
|
498
425
|
options?: never;
|
|
499
426
|
head?: never;
|
|
500
427
|
patch?: never;
|
|
501
428
|
trace?: never;
|
|
502
429
|
};
|
|
503
|
-
|
|
430
|
+
'/v1/ops/resource/copy': {
|
|
504
431
|
parameters: {
|
|
505
432
|
query?: never;
|
|
506
433
|
header?: never;
|
|
@@ -513,14 +440,14 @@ interface paths {
|
|
|
513
440
|
* /v1/ops/resource/copy
|
|
514
441
|
* @description Copies the source resource to the destination.
|
|
515
442
|
*/
|
|
516
|
-
post: operations[
|
|
443
|
+
post: operations['copyResource'];
|
|
517
444
|
delete?: never;
|
|
518
445
|
options?: never;
|
|
519
446
|
head?: never;
|
|
520
447
|
patch?: never;
|
|
521
448
|
trace?: never;
|
|
522
449
|
};
|
|
523
|
-
|
|
450
|
+
'/v1/conversations/{Bucket}/{conversation_path}': {
|
|
524
451
|
parameters: {
|
|
525
452
|
query?: never;
|
|
526
453
|
header?: never;
|
|
@@ -531,24 +458,24 @@ interface paths {
|
|
|
531
458
|
* /v1/conversations/{Bucket}/{conversation_path}
|
|
532
459
|
* @description Call this endpoint to get the conversation.
|
|
533
460
|
*/
|
|
534
|
-
get: operations[
|
|
461
|
+
get: operations['getConversation'];
|
|
535
462
|
/**
|
|
536
463
|
* /v1/conversations/{Bucket}/{conversation_path}
|
|
537
464
|
* @description Call this endpoint to add a conversation to the specified bucket and path.
|
|
538
465
|
*/
|
|
539
|
-
put: operations[
|
|
466
|
+
put: operations['saveConversation'];
|
|
540
467
|
post?: never;
|
|
541
468
|
/**
|
|
542
469
|
* /v1/conversations/{Bucket}/{conversation_path}
|
|
543
470
|
* @description Call this endpoint to delete the conversation.
|
|
544
471
|
*/
|
|
545
|
-
delete: operations[
|
|
472
|
+
delete: operations['deleteConversation'];
|
|
546
473
|
options?: never;
|
|
547
474
|
head?: never;
|
|
548
475
|
patch?: never;
|
|
549
476
|
trace?: never;
|
|
550
477
|
};
|
|
551
|
-
|
|
478
|
+
'/v1/metadata/conversations/{Bucket}/{Path}': {
|
|
552
479
|
parameters: {
|
|
553
480
|
query?: never;
|
|
554
481
|
header?: never;
|
|
@@ -561,7 +488,7 @@ interface paths {
|
|
|
561
488
|
* If the path is a folder, it must end with a "/".
|
|
562
489
|
* If it is called for a folder, there can be optional `nextToken` field in the response to be used to request next items if present.
|
|
563
490
|
*/
|
|
564
|
-
get: operations[
|
|
491
|
+
get: operations['getConversationMetadata'];
|
|
565
492
|
put?: never;
|
|
566
493
|
post?: never;
|
|
567
494
|
delete?: never;
|
|
@@ -570,7 +497,7 @@ interface paths {
|
|
|
570
497
|
patch?: never;
|
|
571
498
|
trace?: never;
|
|
572
499
|
};
|
|
573
|
-
|
|
500
|
+
'/v1/prompts/{Bucket}/{prompt_path}': {
|
|
574
501
|
parameters: {
|
|
575
502
|
query?: never;
|
|
576
503
|
header?: never;
|
|
@@ -581,24 +508,24 @@ interface paths {
|
|
|
581
508
|
* /v1/prompts/{Bucket}/{prompt_path}
|
|
582
509
|
* @description Call this endpoint to get the prompt.
|
|
583
510
|
*/
|
|
584
|
-
get: operations[
|
|
511
|
+
get: operations['getPrompt'];
|
|
585
512
|
/**
|
|
586
513
|
* /v1/prompts/{Bucket}/{prompt_path}
|
|
587
514
|
* @description Call this endpoint to add a prompt to the specified bucket and path.
|
|
588
515
|
*/
|
|
589
|
-
put: operations[
|
|
516
|
+
put: operations['savePrompt'];
|
|
590
517
|
post?: never;
|
|
591
518
|
/**
|
|
592
519
|
* /v1/prompts/{Bucket}/{prompt_path}
|
|
593
520
|
* @description Call this endpoint to delete the prompt.
|
|
594
521
|
*/
|
|
595
|
-
delete: operations[
|
|
522
|
+
delete: operations['deletePrompt'];
|
|
596
523
|
options?: never;
|
|
597
524
|
head?: never;
|
|
598
525
|
patch?: never;
|
|
599
526
|
trace?: never;
|
|
600
527
|
};
|
|
601
|
-
|
|
528
|
+
'/v1/metadata/prompts/{Bucket}/{Path}': {
|
|
602
529
|
parameters: {
|
|
603
530
|
query?: never;
|
|
604
531
|
header?: never;
|
|
@@ -611,7 +538,7 @@ interface paths {
|
|
|
611
538
|
* If the path is a folder, it must end with a "/".
|
|
612
539
|
* If it is called for a folder, there can be optional `nextToken` field in the response to be used to request next items if present.
|
|
613
540
|
*/
|
|
614
|
-
get: operations[
|
|
541
|
+
get: operations['getPromptMetadata'];
|
|
615
542
|
put?: never;
|
|
616
543
|
post?: never;
|
|
617
544
|
delete?: never;
|
|
@@ -620,7 +547,7 @@ interface paths {
|
|
|
620
547
|
patch?: never;
|
|
621
548
|
trace?: never;
|
|
622
549
|
};
|
|
623
|
-
|
|
550
|
+
'/v1/toolsets/{Bucket}/{toolset_path}': {
|
|
624
551
|
parameters: {
|
|
625
552
|
query?: never;
|
|
626
553
|
header?: never;
|
|
@@ -631,24 +558,64 @@ interface paths {
|
|
|
631
558
|
* /v1/toolsets/{Bucket}/{toolset_path}
|
|
632
559
|
* @description Call this endpoint to retrieve a specific toolset.
|
|
633
560
|
*/
|
|
634
|
-
get: operations[
|
|
561
|
+
get: operations['getCustomToolSet'];
|
|
635
562
|
/**
|
|
636
563
|
* /v1/toolsets/{Bucket}/{toolset_path}
|
|
637
564
|
* @description Call this endpoint to add a toolset to the specified bucket and path or update the existing toolset.
|
|
638
565
|
*/
|
|
639
|
-
put: operations[
|
|
566
|
+
put: operations['saveToolSet'];
|
|
640
567
|
post?: never;
|
|
641
568
|
/**
|
|
642
569
|
* /v1/toolsets/{Bucket}/{toolset_path}
|
|
643
570
|
* @description Call this endpoint to delete a toolset from the specified path.
|
|
644
571
|
*/
|
|
645
|
-
delete: operations[
|
|
572
|
+
delete: operations['deleteToolSet'];
|
|
573
|
+
options?: never;
|
|
574
|
+
head?: never;
|
|
575
|
+
patch?: never;
|
|
576
|
+
trace?: never;
|
|
577
|
+
};
|
|
578
|
+
'/v1/toolset/{toolset_id}/tools': {
|
|
579
|
+
parameters: {
|
|
580
|
+
query?: never;
|
|
581
|
+
header?: never;
|
|
582
|
+
path?: never;
|
|
583
|
+
cookie?: never;
|
|
584
|
+
};
|
|
585
|
+
/**
|
|
586
|
+
* /v1/toolset/{toolset_id}/tools
|
|
587
|
+
* @description Call this endpoint to retrieve all tools supported by a specific MCP server. Available to admins and toolset owners. Used during toolset configuration to select allowed tools.
|
|
588
|
+
*/
|
|
589
|
+
get: operations['getAllToolSetTools'];
|
|
590
|
+
put?: never;
|
|
591
|
+
post?: never;
|
|
592
|
+
delete?: never;
|
|
593
|
+
options?: never;
|
|
594
|
+
head?: never;
|
|
595
|
+
patch?: never;
|
|
596
|
+
trace?: never;
|
|
597
|
+
};
|
|
598
|
+
'/v1/toolset/{toolset_id}/allowed-tools': {
|
|
599
|
+
parameters: {
|
|
600
|
+
query?: never;
|
|
601
|
+
header?: never;
|
|
602
|
+
path?: never;
|
|
603
|
+
cookie?: never;
|
|
604
|
+
};
|
|
605
|
+
/**
|
|
606
|
+
* /v1/toolset/{toolset_id}/allowed-tools
|
|
607
|
+
* @description Call this endpoint to retrieve a filtered list of all allowed tools for a specific MCP server.
|
|
608
|
+
*/
|
|
609
|
+
get: operations['getAllToolSetAllowedTools'];
|
|
610
|
+
put?: never;
|
|
611
|
+
post?: never;
|
|
612
|
+
delete?: never;
|
|
646
613
|
options?: never;
|
|
647
614
|
head?: never;
|
|
648
615
|
patch?: never;
|
|
649
616
|
trace?: never;
|
|
650
617
|
};
|
|
651
|
-
|
|
618
|
+
'/v1/ops/toolset/signin': {
|
|
652
619
|
parameters: {
|
|
653
620
|
query?: never;
|
|
654
621
|
header?: never;
|
|
@@ -661,14 +628,14 @@ interface paths {
|
|
|
661
628
|
* /v1/ops/toolset/signin
|
|
662
629
|
* @description Authenticates a user with a specified Toolset using OAUTH or API_KEY.
|
|
663
630
|
*/
|
|
664
|
-
post: operations[
|
|
631
|
+
post: operations['toolsetSignin'];
|
|
665
632
|
delete?: never;
|
|
666
633
|
options?: never;
|
|
667
634
|
head?: never;
|
|
668
635
|
patch?: never;
|
|
669
636
|
trace?: never;
|
|
670
637
|
};
|
|
671
|
-
|
|
638
|
+
'/v1/ops/toolset/signout': {
|
|
672
639
|
parameters: {
|
|
673
640
|
query?: never;
|
|
674
641
|
header?: never;
|
|
@@ -681,14 +648,14 @@ interface paths {
|
|
|
681
648
|
* /v1/ops/toolset/signout
|
|
682
649
|
* @description Logs the user out from the Toolset by removing the associated credentials.
|
|
683
650
|
*/
|
|
684
|
-
post: operations[
|
|
651
|
+
post: operations['toolSetSignout'];
|
|
685
652
|
delete?: never;
|
|
686
653
|
options?: never;
|
|
687
654
|
head?: never;
|
|
688
655
|
patch?: never;
|
|
689
656
|
trace?: never;
|
|
690
657
|
};
|
|
691
|
-
|
|
658
|
+
'/v1/metadata/toolsets/{Bucket}/{Path}': {
|
|
692
659
|
parameters: {
|
|
693
660
|
query?: never;
|
|
694
661
|
header?: never;
|
|
@@ -701,7 +668,7 @@ interface paths {
|
|
|
701
668
|
* If the path is a folder, it must end with a "/".
|
|
702
669
|
* If it is called for a folder, there can be optional `nextToken` field in the response to be used to request next items if present.
|
|
703
670
|
*/
|
|
704
|
-
get: operations[
|
|
671
|
+
get: operations['getToolSetMetadata'];
|
|
705
672
|
put?: never;
|
|
706
673
|
post?: never;
|
|
707
674
|
delete?: never;
|
|
@@ -710,7 +677,7 @@ interface paths {
|
|
|
710
677
|
patch?: never;
|
|
711
678
|
trace?: never;
|
|
712
679
|
};
|
|
713
|
-
|
|
680
|
+
'/v1/ops/publication/list': {
|
|
714
681
|
parameters: {
|
|
715
682
|
query?: never;
|
|
716
683
|
header?: never;
|
|
@@ -723,14 +690,14 @@ interface paths {
|
|
|
723
690
|
* /v1/ops/publication/list
|
|
724
691
|
* @description Call this endpoint to get a list of publication requests. For admins, it is a list of all publication requests that are `PENDING` for review (approve or reject). For users, it is a list of all publication requests created by a particular user. Refer to documentation to learn more about working with publications for [users](https://docs.dialx.ai/platform/collaboration-intro#publication) and [admins](https://docs.dialx.ai/platform/admin-panel/approvals-prompt-publications).
|
|
725
692
|
*/
|
|
726
|
-
post: operations[
|
|
693
|
+
post: operations['getPublications'];
|
|
727
694
|
delete?: never;
|
|
728
695
|
options?: never;
|
|
729
696
|
head?: never;
|
|
730
697
|
patch?: never;
|
|
731
698
|
trace?: never;
|
|
732
699
|
};
|
|
733
|
-
|
|
700
|
+
'/v1/ops/publication/get': {
|
|
734
701
|
parameters: {
|
|
735
702
|
query?: never;
|
|
736
703
|
header?: never;
|
|
@@ -743,14 +710,14 @@ interface paths {
|
|
|
743
710
|
* /v1/ops/publication/get
|
|
744
711
|
* @description Call this endpoint to get a specific publication request.
|
|
745
712
|
*/
|
|
746
|
-
post: operations[
|
|
713
|
+
post: operations['getPublication'];
|
|
747
714
|
delete?: never;
|
|
748
715
|
options?: never;
|
|
749
716
|
head?: never;
|
|
750
717
|
patch?: never;
|
|
751
718
|
trace?: never;
|
|
752
719
|
};
|
|
753
|
-
|
|
720
|
+
'/v1/ops/publication/create': {
|
|
754
721
|
parameters: {
|
|
755
722
|
query?: never;
|
|
756
723
|
header?: never;
|
|
@@ -763,14 +730,14 @@ interface paths {
|
|
|
763
730
|
* /v1/ops/publication/create
|
|
764
731
|
* @description Call this endpoint to create a publish or unpublish request.
|
|
765
732
|
*/
|
|
766
|
-
post: operations[
|
|
733
|
+
post: operations['createPublication'];
|
|
767
734
|
delete?: never;
|
|
768
735
|
options?: never;
|
|
769
736
|
head?: never;
|
|
770
737
|
patch?: never;
|
|
771
738
|
trace?: never;
|
|
772
739
|
};
|
|
773
|
-
|
|
740
|
+
'/v1/ops/publication/update': {
|
|
774
741
|
parameters: {
|
|
775
742
|
query?: never;
|
|
776
743
|
header?: never;
|
|
@@ -783,14 +750,14 @@ interface paths {
|
|
|
783
750
|
* /v1/ops/publication/update
|
|
784
751
|
* @description Call this endpoint to update a publish request. Available for admins.
|
|
785
752
|
*/
|
|
786
|
-
post: operations[
|
|
753
|
+
post: operations['updatePublication'];
|
|
787
754
|
delete?: never;
|
|
788
755
|
options?: never;
|
|
789
756
|
head?: never;
|
|
790
757
|
patch?: never;
|
|
791
758
|
trace?: never;
|
|
792
759
|
};
|
|
793
|
-
|
|
760
|
+
'/v1/ops/publication/delete': {
|
|
794
761
|
parameters: {
|
|
795
762
|
query?: never;
|
|
796
763
|
header?: never;
|
|
@@ -803,14 +770,14 @@ interface paths {
|
|
|
803
770
|
* /v1/ops/publication/delete
|
|
804
771
|
* @description Call this endpoint to delete the publication request. Only requests that are in the `PENDING` status can be deleted.
|
|
805
772
|
*/
|
|
806
|
-
post: operations[
|
|
773
|
+
post: operations['deletePublication'];
|
|
807
774
|
delete?: never;
|
|
808
775
|
options?: never;
|
|
809
776
|
head?: never;
|
|
810
777
|
patch?: never;
|
|
811
778
|
trace?: never;
|
|
812
779
|
};
|
|
813
|
-
|
|
780
|
+
'/v1/ops/publication/reject': {
|
|
814
781
|
parameters: {
|
|
815
782
|
query?: never;
|
|
816
783
|
header?: never;
|
|
@@ -823,14 +790,14 @@ interface paths {
|
|
|
823
790
|
* /v1/ops/publication/reject
|
|
824
791
|
* @description Admins only! <br> Call this endpoint to reject the publication request.
|
|
825
792
|
*/
|
|
826
|
-
post: operations[
|
|
793
|
+
post: operations['rejectPublication'];
|
|
827
794
|
delete?: never;
|
|
828
795
|
options?: never;
|
|
829
796
|
head?: never;
|
|
830
797
|
patch?: never;
|
|
831
798
|
trace?: never;
|
|
832
799
|
};
|
|
833
|
-
|
|
800
|
+
'/v1/ops/publication/approve': {
|
|
834
801
|
parameters: {
|
|
835
802
|
query?: never;
|
|
836
803
|
header?: never;
|
|
@@ -843,14 +810,14 @@ interface paths {
|
|
|
843
810
|
* /v1/ops/publication/approve
|
|
844
811
|
* @description Admins only! <br> Call this endpoint to approve the publication request.
|
|
845
812
|
*/
|
|
846
|
-
post: operations[
|
|
813
|
+
post: operations['approvePublication'];
|
|
847
814
|
delete?: never;
|
|
848
815
|
options?: never;
|
|
849
816
|
head?: never;
|
|
850
817
|
patch?: never;
|
|
851
818
|
trace?: never;
|
|
852
819
|
};
|
|
853
|
-
|
|
820
|
+
'/v1/ops/publication/rule/list': {
|
|
854
821
|
parameters: {
|
|
855
822
|
query?: never;
|
|
856
823
|
header?: never;
|
|
@@ -863,14 +830,14 @@ interface paths {
|
|
|
863
830
|
* /v1/ops/publication/rule/list
|
|
864
831
|
* @description Call this endpoint to get a list of rules for publications.
|
|
865
832
|
*/
|
|
866
|
-
post: operations[
|
|
833
|
+
post: operations['getPublicationRules'];
|
|
867
834
|
delete?: never;
|
|
868
835
|
options?: never;
|
|
869
836
|
head?: never;
|
|
870
837
|
patch?: never;
|
|
871
838
|
trace?: never;
|
|
872
839
|
};
|
|
873
|
-
|
|
840
|
+
'/v1/ops/resource/per-request-permissions/grant': {
|
|
874
841
|
parameters: {
|
|
875
842
|
query?: never;
|
|
876
843
|
header?: never;
|
|
@@ -887,14 +854,14 @@ interface paths {
|
|
|
887
854
|
*
|
|
888
855
|
* Refer to [Documentation](https://docs.dialx.ai/tutorials/developers/work-with-resources/sharing) for more details on how to share resources between deployments.
|
|
889
856
|
*/
|
|
890
|
-
post: operations[
|
|
857
|
+
post: operations['grantPerRequestPermissions'];
|
|
891
858
|
delete?: never;
|
|
892
859
|
options?: never;
|
|
893
860
|
head?: never;
|
|
894
861
|
patch?: never;
|
|
895
862
|
trace?: never;
|
|
896
863
|
};
|
|
897
|
-
|
|
864
|
+
'/v1/ops/resource/per-request-permissions/revoke': {
|
|
898
865
|
parameters: {
|
|
899
866
|
query?: never;
|
|
900
867
|
header?: never;
|
|
@@ -911,14 +878,14 @@ interface paths {
|
|
|
911
878
|
*
|
|
912
879
|
* Refer to [Documentation](https://docs.dialx.ai/tutorials/developers/work-with-resources/sharing) for more details on how to share resources between deployments.
|
|
913
880
|
*/
|
|
914
|
-
post: operations[
|
|
881
|
+
post: operations['revokePerRequestPermissions'];
|
|
915
882
|
delete?: never;
|
|
916
883
|
options?: never;
|
|
917
884
|
head?: never;
|
|
918
885
|
patch?: never;
|
|
919
886
|
trace?: never;
|
|
920
887
|
};
|
|
921
|
-
|
|
888
|
+
'/v1/ops/resource/per-request-permissions/list': {
|
|
922
889
|
parameters: {
|
|
923
890
|
query?: never;
|
|
924
891
|
header?: never;
|
|
@@ -935,14 +902,14 @@ interface paths {
|
|
|
935
902
|
*
|
|
936
903
|
* Refer to [Documentation](https://docs.dialx.ai/tutorials/developers/work-with-resources/sharing) for more details on how to share resources between deployments.
|
|
937
904
|
*/
|
|
938
|
-
post: operations[
|
|
905
|
+
post: operations['getPerRequestPermissions'];
|
|
939
906
|
delete?: never;
|
|
940
907
|
options?: never;
|
|
941
908
|
head?: never;
|
|
942
909
|
patch?: never;
|
|
943
910
|
trace?: never;
|
|
944
911
|
};
|
|
945
|
-
|
|
912
|
+
'/v1/ops/resource/share/create': {
|
|
946
913
|
parameters: {
|
|
947
914
|
query?: never;
|
|
948
915
|
header?: never;
|
|
@@ -955,14 +922,14 @@ interface paths {
|
|
|
955
922
|
* /v1/ops/resource/share/create
|
|
956
923
|
* @description Call this endpoint to share and re-share resources. Refer to [Documentation](https://docs.dialx.ai/tutorials/developers/work-with-resources/sharing) for more details on how to share resources.
|
|
957
924
|
*/
|
|
958
|
-
post: operations[
|
|
925
|
+
post: operations['shareResource'];
|
|
959
926
|
delete?: never;
|
|
960
927
|
options?: never;
|
|
961
928
|
head?: never;
|
|
962
929
|
patch?: never;
|
|
963
930
|
trace?: never;
|
|
964
931
|
};
|
|
965
|
-
|
|
932
|
+
'/v1/ops/resource/share/list': {
|
|
966
933
|
parameters: {
|
|
967
934
|
query?: never;
|
|
968
935
|
header?: never;
|
|
@@ -975,14 +942,14 @@ interface paths {
|
|
|
975
942
|
* /v1/ops/resource/share/list
|
|
976
943
|
* @description Call this endpoint to get the list of shared resources. Returns only resources that were accepted.
|
|
977
944
|
*/
|
|
978
|
-
post: operations[
|
|
945
|
+
post: operations['getSharedResources'];
|
|
979
946
|
delete?: never;
|
|
980
947
|
options?: never;
|
|
981
948
|
head?: never;
|
|
982
949
|
patch?: never;
|
|
983
950
|
trace?: never;
|
|
984
951
|
};
|
|
985
|
-
|
|
952
|
+
'/v1/ops/resource/share/revoke': {
|
|
986
953
|
parameters: {
|
|
987
954
|
query?: never;
|
|
988
955
|
header?: never;
|
|
@@ -995,14 +962,14 @@ interface paths {
|
|
|
995
962
|
* /v1/ops/resource/share/revoke
|
|
996
963
|
* @description Call this endpoint to revoke shared access from all users.
|
|
997
964
|
*/
|
|
998
|
-
post: operations[
|
|
965
|
+
post: operations['revokeSharedResources'];
|
|
999
966
|
delete?: never;
|
|
1000
967
|
options?: never;
|
|
1001
968
|
head?: never;
|
|
1002
969
|
patch?: never;
|
|
1003
970
|
trace?: never;
|
|
1004
971
|
};
|
|
1005
|
-
|
|
972
|
+
'/v1/ops/resource/share/discard': {
|
|
1006
973
|
parameters: {
|
|
1007
974
|
query?: never;
|
|
1008
975
|
header?: never;
|
|
@@ -1015,14 +982,14 @@ interface paths {
|
|
|
1015
982
|
* /v1/ops/resource/share/discard
|
|
1016
983
|
* @description Call this endpoint to discard the resource shared with you.
|
|
1017
984
|
*/
|
|
1018
|
-
post: operations[
|
|
985
|
+
post: operations['discardSharedResources'];
|
|
1019
986
|
delete?: never;
|
|
1020
987
|
options?: never;
|
|
1021
988
|
head?: never;
|
|
1022
989
|
patch?: never;
|
|
1023
990
|
trace?: never;
|
|
1024
991
|
};
|
|
1025
|
-
|
|
992
|
+
'/v1/ops/resource/share/copy': {
|
|
1026
993
|
parameters: {
|
|
1027
994
|
query?: never;
|
|
1028
995
|
header?: never;
|
|
@@ -1035,14 +1002,14 @@ interface paths {
|
|
|
1035
1002
|
* /v1/ops/resource/share/copy
|
|
1036
1003
|
* @description Call this endpoint to share the *destination* resource with users who have access to the *source* resource. Note, user's permissions will be copied from a source to a destination.
|
|
1037
1004
|
*/
|
|
1038
|
-
post: operations[
|
|
1005
|
+
post: operations['copySharedResources'];
|
|
1039
1006
|
delete?: never;
|
|
1040
1007
|
options?: never;
|
|
1041
1008
|
head?: never;
|
|
1042
1009
|
patch?: never;
|
|
1043
1010
|
trace?: never;
|
|
1044
1011
|
};
|
|
1045
|
-
|
|
1012
|
+
'/v1/invitations': {
|
|
1046
1013
|
parameters: {
|
|
1047
1014
|
query?: never;
|
|
1048
1015
|
header?: never;
|
|
@@ -1053,7 +1020,7 @@ interface paths {
|
|
|
1053
1020
|
* /v1/invitations
|
|
1054
1021
|
* @description Call this endpoint to get the list of your active invitations.
|
|
1055
1022
|
*/
|
|
1056
|
-
get: operations[
|
|
1023
|
+
get: operations['getInvitations'];
|
|
1057
1024
|
put?: never;
|
|
1058
1025
|
post?: never;
|
|
1059
1026
|
delete?: never;
|
|
@@ -1062,7 +1029,7 @@ interface paths {
|
|
|
1062
1029
|
patch?: never;
|
|
1063
1030
|
trace?: never;
|
|
1064
1031
|
};
|
|
1065
|
-
|
|
1032
|
+
'/v1/invitations/{invitation_id}': {
|
|
1066
1033
|
parameters: {
|
|
1067
1034
|
query?: never;
|
|
1068
1035
|
header?: never;
|
|
@@ -1073,20 +1040,20 @@ interface paths {
|
|
|
1073
1040
|
* /v1/invitations/{invitation_id}
|
|
1074
1041
|
* @description Call this endpoint to get the invitation details or accept the invitation.
|
|
1075
1042
|
*/
|
|
1076
|
-
get: operations[
|
|
1043
|
+
get: operations['getInvitation'];
|
|
1077
1044
|
put?: never;
|
|
1078
1045
|
post?: never;
|
|
1079
1046
|
/**
|
|
1080
1047
|
* /v1/invitations/{invitation_id}
|
|
1081
1048
|
* @description Call this endpoint to revoke the invitation.
|
|
1082
1049
|
*/
|
|
1083
|
-
delete: operations[
|
|
1050
|
+
delete: operations['deleteInvitation'];
|
|
1084
1051
|
options?: never;
|
|
1085
1052
|
head?: never;
|
|
1086
1053
|
patch?: never;
|
|
1087
1054
|
trace?: never;
|
|
1088
1055
|
};
|
|
1089
|
-
|
|
1056
|
+
'/v1/ops/notification/list': {
|
|
1090
1057
|
parameters: {
|
|
1091
1058
|
query?: never;
|
|
1092
1059
|
header?: never;
|
|
@@ -1099,14 +1066,14 @@ interface paths {
|
|
|
1099
1066
|
* /v1/ops/notification/list
|
|
1100
1067
|
* @description Call this endpoint to get a list of notifications. Refer to [Documentation](https://docs.dialx.ai/tutorials/developers/work-with-resources/notifications#notification-api) for more details on how to work with notifications.
|
|
1101
1068
|
*/
|
|
1102
|
-
post: operations[
|
|
1069
|
+
post: operations['getNotifications'];
|
|
1103
1070
|
delete?: never;
|
|
1104
1071
|
options?: never;
|
|
1105
1072
|
head?: never;
|
|
1106
1073
|
patch?: never;
|
|
1107
1074
|
trace?: never;
|
|
1108
1075
|
};
|
|
1109
|
-
|
|
1076
|
+
'/v1/ops/notification/delete': {
|
|
1110
1077
|
parameters: {
|
|
1111
1078
|
query?: never;
|
|
1112
1079
|
header?: never;
|
|
@@ -1119,14 +1086,14 @@ interface paths {
|
|
|
1119
1086
|
* /v1/ops/notification/delete
|
|
1120
1087
|
* @description Call this endpoint to delete one or more than one notification.
|
|
1121
1088
|
*/
|
|
1122
|
-
post: operations[
|
|
1089
|
+
post: operations['deleteNotifications'];
|
|
1123
1090
|
delete?: never;
|
|
1124
1091
|
options?: never;
|
|
1125
1092
|
head?: never;
|
|
1126
1093
|
patch?: never;
|
|
1127
1094
|
trace?: never;
|
|
1128
1095
|
};
|
|
1129
|
-
|
|
1096
|
+
'/v1/ops/resource/subscribe': {
|
|
1130
1097
|
parameters: {
|
|
1131
1098
|
query?: never;
|
|
1132
1099
|
header?: never;
|
|
@@ -1139,14 +1106,14 @@ interface paths {
|
|
|
1139
1106
|
* /v1/ops/resource/subscribe
|
|
1140
1107
|
* @description Use this endpoint to subscribe to resource updates. Refer to [Documentation](https://docs.dialx.ai/tutorials/developers/work-with-resources/notifications#subscribe-api) for more details on how to work with subscriptions.
|
|
1141
1108
|
*/
|
|
1142
|
-
post: operations[
|
|
1109
|
+
post: operations['subscribeToResources'];
|
|
1143
1110
|
delete?: never;
|
|
1144
1111
|
options?: never;
|
|
1145
1112
|
head?: never;
|
|
1146
1113
|
patch?: never;
|
|
1147
1114
|
trace?: never;
|
|
1148
1115
|
};
|
|
1149
|
-
|
|
1116
|
+
'/v1/ops/code_interpreter/open_session': {
|
|
1150
1117
|
parameters: {
|
|
1151
1118
|
query?: never;
|
|
1152
1119
|
header?: never;
|
|
@@ -1159,14 +1126,14 @@ interface paths {
|
|
|
1159
1126
|
* /v1/ops/code_interpreter/open_session
|
|
1160
1127
|
* @description Call this endpoint to open session for code interpreter application
|
|
1161
1128
|
*/
|
|
1162
|
-
post: operations[
|
|
1129
|
+
post: operations['openSession'];
|
|
1163
1130
|
delete?: never;
|
|
1164
1131
|
options?: never;
|
|
1165
1132
|
head?: never;
|
|
1166
1133
|
patch?: never;
|
|
1167
1134
|
trace?: never;
|
|
1168
1135
|
};
|
|
1169
|
-
|
|
1136
|
+
'/v1/ops/code_interpreter/close_session': {
|
|
1170
1137
|
parameters: {
|
|
1171
1138
|
query?: never;
|
|
1172
1139
|
header?: never;
|
|
@@ -1179,14 +1146,14 @@ interface paths {
|
|
|
1179
1146
|
* /v1/ops/code_interpreter/close_session
|
|
1180
1147
|
* @description Call this endpoint to close session for code interpreter application
|
|
1181
1148
|
*/
|
|
1182
|
-
post: operations[
|
|
1149
|
+
post: operations['closeSession'];
|
|
1183
1150
|
delete?: never;
|
|
1184
1151
|
options?: never;
|
|
1185
1152
|
head?: never;
|
|
1186
1153
|
patch?: never;
|
|
1187
1154
|
trace?: never;
|
|
1188
1155
|
};
|
|
1189
|
-
|
|
1156
|
+
'/v1/ops/code_interpreter/execute_code': {
|
|
1190
1157
|
parameters: {
|
|
1191
1158
|
query?: never;
|
|
1192
1159
|
header?: never;
|
|
@@ -1199,14 +1166,14 @@ interface paths {
|
|
|
1199
1166
|
* /v1/ops/code_interpreter/execute_code
|
|
1200
1167
|
* @description Call this endpoint to execute code by code interpreter application
|
|
1201
1168
|
*/
|
|
1202
|
-
post: operations[
|
|
1169
|
+
post: operations['executeCode'];
|
|
1203
1170
|
delete?: never;
|
|
1204
1171
|
options?: never;
|
|
1205
1172
|
head?: never;
|
|
1206
1173
|
patch?: never;
|
|
1207
1174
|
trace?: never;
|
|
1208
1175
|
};
|
|
1209
|
-
|
|
1176
|
+
'/v1/ops/code_interpreter/upload_file': {
|
|
1210
1177
|
parameters: {
|
|
1211
1178
|
query?: never;
|
|
1212
1179
|
header?: never;
|
|
@@ -1219,14 +1186,14 @@ interface paths {
|
|
|
1219
1186
|
* /v1/ops/code_interpreter/upload_file
|
|
1220
1187
|
* @description Call this endpoint to upload file to code interpreter container
|
|
1221
1188
|
*/
|
|
1222
|
-
post: operations[
|
|
1189
|
+
post: operations['uploadFileToCodeInterpreter'];
|
|
1223
1190
|
delete?: never;
|
|
1224
1191
|
options?: never;
|
|
1225
1192
|
head?: never;
|
|
1226
1193
|
patch?: never;
|
|
1227
1194
|
trace?: never;
|
|
1228
1195
|
};
|
|
1229
|
-
|
|
1196
|
+
'/v1/ops/code_interpreter/download_file': {
|
|
1230
1197
|
parameters: {
|
|
1231
1198
|
query?: never;
|
|
1232
1199
|
header?: never;
|
|
@@ -1239,14 +1206,14 @@ interface paths {
|
|
|
1239
1206
|
* /v1/ops/code_interpreter/download_file
|
|
1240
1207
|
* @description Call this endpoint to download file from code interpreter container
|
|
1241
1208
|
*/
|
|
1242
|
-
post: operations[
|
|
1209
|
+
post: operations['downloadFileFromCodeInterpreter'];
|
|
1243
1210
|
delete?: never;
|
|
1244
1211
|
options?: never;
|
|
1245
1212
|
head?: never;
|
|
1246
1213
|
patch?: never;
|
|
1247
1214
|
trace?: never;
|
|
1248
1215
|
};
|
|
1249
|
-
|
|
1216
|
+
'/v1/ops/code_interpreter/list_files': {
|
|
1250
1217
|
parameters: {
|
|
1251
1218
|
query?: never;
|
|
1252
1219
|
header?: never;
|
|
@@ -1259,14 +1226,14 @@ interface paths {
|
|
|
1259
1226
|
* /v1/ops/code_interpreter/list_files
|
|
1260
1227
|
* @description Call this endpoint to list files from code interpreter container
|
|
1261
1228
|
*/
|
|
1262
|
-
post: operations[
|
|
1229
|
+
post: operations['listFilesFromCodeInterpreter'];
|
|
1263
1230
|
delete?: never;
|
|
1264
1231
|
options?: never;
|
|
1265
1232
|
head?: never;
|
|
1266
1233
|
patch?: never;
|
|
1267
1234
|
trace?: never;
|
|
1268
1235
|
};
|
|
1269
|
-
|
|
1236
|
+
'/v1/ops/code_interpreter/transfer_input_file': {
|
|
1270
1237
|
parameters: {
|
|
1271
1238
|
query?: never;
|
|
1272
1239
|
header?: never;
|
|
@@ -1279,14 +1246,14 @@ interface paths {
|
|
|
1279
1246
|
* /v1/ops/code_interpreter/transfer_input_file
|
|
1280
1247
|
* @description Call this endpoint to transfer file from Core storage to code interpreter container
|
|
1281
1248
|
*/
|
|
1282
|
-
post: operations[
|
|
1249
|
+
post: operations['transferInputFile'];
|
|
1283
1250
|
delete?: never;
|
|
1284
1251
|
options?: never;
|
|
1285
1252
|
head?: never;
|
|
1286
1253
|
patch?: never;
|
|
1287
1254
|
trace?: never;
|
|
1288
1255
|
};
|
|
1289
|
-
|
|
1256
|
+
'/v1/ops/code_interpreter/transfer_output_file': {
|
|
1290
1257
|
parameters: {
|
|
1291
1258
|
query?: never;
|
|
1292
1259
|
header?: never;
|
|
@@ -1299,14 +1266,14 @@ interface paths {
|
|
|
1299
1266
|
* /v1/ops/code_interpreter/transfer_output_file
|
|
1300
1267
|
* @description Call this endpoint to transfer file from code interpreter container to Core storage
|
|
1301
1268
|
*/
|
|
1302
|
-
post: operations[
|
|
1269
|
+
post: operations['transferOutputFile'];
|
|
1303
1270
|
delete?: never;
|
|
1304
1271
|
options?: never;
|
|
1305
1272
|
head?: never;
|
|
1306
1273
|
patch?: never;
|
|
1307
1274
|
trace?: never;
|
|
1308
1275
|
};
|
|
1309
|
-
|
|
1276
|
+
'/v1/ops/code_interpreter/get_session': {
|
|
1310
1277
|
parameters: {
|
|
1311
1278
|
query?: never;
|
|
1312
1279
|
header?: never;
|
|
@@ -1319,14 +1286,34 @@ interface paths {
|
|
|
1319
1286
|
* /v1/ops/code_interpreter/get_session
|
|
1320
1287
|
* @description Call this endpoint to get a session description. Note, this API does not reset TTL for a session.
|
|
1321
1288
|
*/
|
|
1322
|
-
post: operations[
|
|
1289
|
+
post: operations['getSession'];
|
|
1290
|
+
delete?: never;
|
|
1291
|
+
options?: never;
|
|
1292
|
+
head?: never;
|
|
1293
|
+
patch?: never;
|
|
1294
|
+
trace?: never;
|
|
1295
|
+
};
|
|
1296
|
+
'/v1/deployments': {
|
|
1297
|
+
parameters: {
|
|
1298
|
+
query?: never;
|
|
1299
|
+
header?: never;
|
|
1300
|
+
path?: never;
|
|
1301
|
+
cookie?: never;
|
|
1302
|
+
};
|
|
1303
|
+
/**
|
|
1304
|
+
* /v1/deployments
|
|
1305
|
+
* @description Call this endpoint to get basic details about the available deployments of all types (AI models, applications, toolsets) filtered by the interface type.
|
|
1306
|
+
*/
|
|
1307
|
+
get: operations['getDeploymentsByInterfaceType'];
|
|
1308
|
+
put?: never;
|
|
1309
|
+
post?: never;
|
|
1323
1310
|
delete?: never;
|
|
1324
1311
|
options?: never;
|
|
1325
1312
|
head?: never;
|
|
1326
1313
|
patch?: never;
|
|
1327
1314
|
trace?: never;
|
|
1328
1315
|
};
|
|
1329
|
-
|
|
1316
|
+
'/openai/deployments': {
|
|
1330
1317
|
parameters: {
|
|
1331
1318
|
query?: never;
|
|
1332
1319
|
header?: never;
|
|
@@ -1338,7 +1325,7 @@ interface paths {
|
|
|
1338
1325
|
* @description Call this endpoint to get basic details about the available deployments.
|
|
1339
1326
|
* The response contains model objects (same as `/openai/models`).
|
|
1340
1327
|
*/
|
|
1341
|
-
get: operations[
|
|
1328
|
+
get: operations['getDeployments'];
|
|
1342
1329
|
put?: never;
|
|
1343
1330
|
post?: never;
|
|
1344
1331
|
delete?: never;
|
|
@@ -1347,7 +1334,7 @@ interface paths {
|
|
|
1347
1334
|
patch?: never;
|
|
1348
1335
|
trace?: never;
|
|
1349
1336
|
};
|
|
1350
|
-
|
|
1337
|
+
'/openai/deployments/{deployment_name}': {
|
|
1351
1338
|
parameters: {
|
|
1352
1339
|
query?: never;
|
|
1353
1340
|
header?: never;
|
|
@@ -1358,7 +1345,7 @@ interface paths {
|
|
|
1358
1345
|
* /openai/deployments/{deployment_name}
|
|
1359
1346
|
* @description Call this endpoint to get information about a model by its deployment name.
|
|
1360
1347
|
*/
|
|
1361
|
-
get: operations[
|
|
1348
|
+
get: operations['getDeployment'];
|
|
1362
1349
|
put?: never;
|
|
1363
1350
|
post?: never;
|
|
1364
1351
|
delete?: never;
|
|
@@ -1367,7 +1354,7 @@ interface paths {
|
|
|
1367
1354
|
patch?: never;
|
|
1368
1355
|
trace?: never;
|
|
1369
1356
|
};
|
|
1370
|
-
|
|
1357
|
+
'/openai/models': {
|
|
1371
1358
|
parameters: {
|
|
1372
1359
|
query?: never;
|
|
1373
1360
|
header?: never;
|
|
@@ -1378,7 +1365,7 @@ interface paths {
|
|
|
1378
1365
|
* /openai/models
|
|
1379
1366
|
* @description Call this endpoint to get extended details about the available models.
|
|
1380
1367
|
*/
|
|
1381
|
-
get: operations[
|
|
1368
|
+
get: operations['getModels'];
|
|
1382
1369
|
put?: never;
|
|
1383
1370
|
post?: never;
|
|
1384
1371
|
delete?: never;
|
|
@@ -1387,7 +1374,7 @@ interface paths {
|
|
|
1387
1374
|
patch?: never;
|
|
1388
1375
|
trace?: never;
|
|
1389
1376
|
};
|
|
1390
|
-
|
|
1377
|
+
'/openai/models/{model_name}': {
|
|
1391
1378
|
parameters: {
|
|
1392
1379
|
query?: never;
|
|
1393
1380
|
header?: never;
|
|
@@ -1398,7 +1385,7 @@ interface paths {
|
|
|
1398
1385
|
* /openai/models/{model_name}
|
|
1399
1386
|
* @description Call this endpoint to get an extended information about a model by its name.
|
|
1400
1387
|
*/
|
|
1401
|
-
get: operations[
|
|
1388
|
+
get: operations['getModel'];
|
|
1402
1389
|
put?: never;
|
|
1403
1390
|
post?: never;
|
|
1404
1391
|
delete?: never;
|
|
@@ -1407,7 +1394,7 @@ interface paths {
|
|
|
1407
1394
|
patch?: never;
|
|
1408
1395
|
trace?: never;
|
|
1409
1396
|
};
|
|
1410
|
-
|
|
1397
|
+
'/openai/applications': {
|
|
1411
1398
|
parameters: {
|
|
1412
1399
|
query?: never;
|
|
1413
1400
|
header?: never;
|
|
@@ -1418,7 +1405,7 @@ interface paths {
|
|
|
1418
1405
|
* /openai/applications
|
|
1419
1406
|
* @description Call this endpoint to get extended details about the available Applications.
|
|
1420
1407
|
*/
|
|
1421
|
-
get: operations[
|
|
1408
|
+
get: operations['getApplications'];
|
|
1422
1409
|
put?: never;
|
|
1423
1410
|
post?: never;
|
|
1424
1411
|
delete?: never;
|
|
@@ -1427,7 +1414,7 @@ interface paths {
|
|
|
1427
1414
|
patch?: never;
|
|
1428
1415
|
trace?: never;
|
|
1429
1416
|
};
|
|
1430
|
-
|
|
1417
|
+
'/openai/applications/{application_name}': {
|
|
1431
1418
|
parameters: {
|
|
1432
1419
|
query?: never;
|
|
1433
1420
|
header?: never;
|
|
@@ -1438,7 +1425,7 @@ interface paths {
|
|
|
1438
1425
|
* /openai/applications/{application_name}
|
|
1439
1426
|
* @description Call this endpoint to get extended information about an Application by its name.
|
|
1440
1427
|
*/
|
|
1441
|
-
get: operations[
|
|
1428
|
+
get: operations['getApplication'];
|
|
1442
1429
|
put?: never;
|
|
1443
1430
|
post?: never;
|
|
1444
1431
|
delete?: never;
|
|
@@ -1447,7 +1434,7 @@ interface paths {
|
|
|
1447
1434
|
patch?: never;
|
|
1448
1435
|
trace?: never;
|
|
1449
1436
|
};
|
|
1450
|
-
|
|
1437
|
+
'/openai/toolsets': {
|
|
1451
1438
|
parameters: {
|
|
1452
1439
|
query?: never;
|
|
1453
1440
|
header?: never;
|
|
@@ -1458,7 +1445,7 @@ interface paths {
|
|
|
1458
1445
|
* /openai/toolsets
|
|
1459
1446
|
* @description Call this endpoint to get extended details about the available toolsets.
|
|
1460
1447
|
*/
|
|
1461
|
-
get: operations[
|
|
1448
|
+
get: operations['getToolSets'];
|
|
1462
1449
|
put?: never;
|
|
1463
1450
|
post?: never;
|
|
1464
1451
|
delete?: never;
|
|
@@ -1467,7 +1454,7 @@ interface paths {
|
|
|
1467
1454
|
patch?: never;
|
|
1468
1455
|
trace?: never;
|
|
1469
1456
|
};
|
|
1470
|
-
|
|
1457
|
+
'/openai/toolsets/{toolset_name}': {
|
|
1471
1458
|
parameters: {
|
|
1472
1459
|
query?: never;
|
|
1473
1460
|
header?: never;
|
|
@@ -1478,7 +1465,7 @@ interface paths {
|
|
|
1478
1465
|
* /openai/toolsets/{toolset_name}
|
|
1479
1466
|
* @description Call this endpoint to get an extended information about a specific toolset by name
|
|
1480
1467
|
*/
|
|
1481
|
-
get: operations[
|
|
1468
|
+
get: operations['getToolset'];
|
|
1482
1469
|
put?: never;
|
|
1483
1470
|
post?: never;
|
|
1484
1471
|
delete?: never;
|
|
@@ -1487,7 +1474,7 @@ interface paths {
|
|
|
1487
1474
|
patch?: never;
|
|
1488
1475
|
trace?: never;
|
|
1489
1476
|
};
|
|
1490
|
-
|
|
1477
|
+
'/v1/deployments/{deployment_name}/limits': {
|
|
1491
1478
|
parameters: {
|
|
1492
1479
|
query?: never;
|
|
1493
1480
|
header?: never;
|
|
@@ -1498,7 +1485,7 @@ interface paths {
|
|
|
1498
1485
|
* /v1/deployments/{deployment_name}/limits
|
|
1499
1486
|
* @description Call this endpoint to get information about spent limits for a given deployment.
|
|
1500
1487
|
*/
|
|
1501
|
-
get: operations[
|
|
1488
|
+
get: operations['getDeploymentLimits'];
|
|
1502
1489
|
put?: never;
|
|
1503
1490
|
post?: never;
|
|
1504
1491
|
delete?: never;
|
|
@@ -1507,7 +1494,7 @@ interface paths {
|
|
|
1507
1494
|
patch?: never;
|
|
1508
1495
|
trace?: never;
|
|
1509
1496
|
};
|
|
1510
|
-
|
|
1497
|
+
'/v1/ops/config/reload': {
|
|
1511
1498
|
parameters: {
|
|
1512
1499
|
query?: never;
|
|
1513
1500
|
header?: never;
|
|
@@ -1522,14 +1509,14 @@ interface paths {
|
|
|
1522
1509
|
*
|
|
1523
1510
|
* <b>Allowed for admin users only</b>!
|
|
1524
1511
|
*/
|
|
1525
|
-
post: operations[
|
|
1512
|
+
post: operations['reloadConfig'];
|
|
1526
1513
|
delete?: never;
|
|
1527
1514
|
options?: never;
|
|
1528
1515
|
head?: never;
|
|
1529
1516
|
patch?: never;
|
|
1530
1517
|
trace?: never;
|
|
1531
1518
|
};
|
|
1532
|
-
|
|
1519
|
+
'/v1/consent/{deployment_id}': {
|
|
1533
1520
|
parameters: {
|
|
1534
1521
|
query?: never;
|
|
1535
1522
|
header?: never;
|
|
@@ -1540,13 +1527,93 @@ interface paths {
|
|
|
1540
1527
|
* /v1/consent/{deployment_id}
|
|
1541
1528
|
* @description Call this endpoint to get a user's consent for the deployment id. Refer to [DIAL documentation](https://docs.dialx.ai/tutorials/developers/apps-development/auth-matrix#dial-api) to learn more about consent forms and Auth Matrix.
|
|
1542
1529
|
*/
|
|
1543
|
-
get: operations[
|
|
1530
|
+
get: operations['requestUserConsent'];
|
|
1544
1531
|
put?: never;
|
|
1545
1532
|
/**
|
|
1546
1533
|
* /v1/consent/{deployment_id}
|
|
1547
1534
|
* @description Call this endpoint to accept user's consent for the deployment id.
|
|
1548
1535
|
*/
|
|
1549
|
-
post: operations[
|
|
1536
|
+
post: operations['acceptUserConsent'];
|
|
1537
|
+
delete?: never;
|
|
1538
|
+
options?: never;
|
|
1539
|
+
head?: never;
|
|
1540
|
+
patch?: never;
|
|
1541
|
+
trace?: never;
|
|
1542
|
+
};
|
|
1543
|
+
'/v1/ops/client-channel/subscribe': {
|
|
1544
|
+
parameters: {
|
|
1545
|
+
query?: never;
|
|
1546
|
+
header?: never;
|
|
1547
|
+
path?: never;
|
|
1548
|
+
cookie?: never;
|
|
1549
|
+
};
|
|
1550
|
+
get?: never;
|
|
1551
|
+
put?: never;
|
|
1552
|
+
/**
|
|
1553
|
+
* /v1/ops/client-channel/subscribe
|
|
1554
|
+
* @description **Note**: This endpoint is in PREVIEW - it can be removed or modified in nearest future. Call this endpoint to get subscription on events from client channel.
|
|
1555
|
+
*/
|
|
1556
|
+
post: operations['subscribeOnClientChannel'];
|
|
1557
|
+
delete?: never;
|
|
1558
|
+
options?: never;
|
|
1559
|
+
head?: never;
|
|
1560
|
+
patch?: never;
|
|
1561
|
+
trace?: never;
|
|
1562
|
+
};
|
|
1563
|
+
'/v1/ops/client-channel/unsubscribe': {
|
|
1564
|
+
parameters: {
|
|
1565
|
+
query?: never;
|
|
1566
|
+
header?: never;
|
|
1567
|
+
path?: never;
|
|
1568
|
+
cookie?: never;
|
|
1569
|
+
};
|
|
1570
|
+
get?: never;
|
|
1571
|
+
put?: never;
|
|
1572
|
+
/**
|
|
1573
|
+
* /v1/ops/client-channel/unsubscribe
|
|
1574
|
+
* @description **Note**: This endpoint is in PREVIEW - it can be removed or modified in nearest future. Call this endpoint to remove subscription on events from client channel.
|
|
1575
|
+
*/
|
|
1576
|
+
post: operations['unsubscribeOnClientChannel'];
|
|
1577
|
+
delete?: never;
|
|
1578
|
+
options?: never;
|
|
1579
|
+
head?: never;
|
|
1580
|
+
patch?: never;
|
|
1581
|
+
trace?: never;
|
|
1582
|
+
};
|
|
1583
|
+
'/v1/ops/client-channel/report': {
|
|
1584
|
+
parameters: {
|
|
1585
|
+
query?: never;
|
|
1586
|
+
header?: never;
|
|
1587
|
+
path?: never;
|
|
1588
|
+
cookie?: never;
|
|
1589
|
+
};
|
|
1590
|
+
get?: never;
|
|
1591
|
+
put?: never;
|
|
1592
|
+
/**
|
|
1593
|
+
* /v1/ops/client-channel/report
|
|
1594
|
+
* @description **Note**: This endpoint is in PREVIEW - it can be removed or modified in nearest future. Call this endpoint to report RPC response to client channel.
|
|
1595
|
+
*/
|
|
1596
|
+
post: operations['reportResponseToClientChannel'];
|
|
1597
|
+
delete?: never;
|
|
1598
|
+
options?: never;
|
|
1599
|
+
head?: never;
|
|
1600
|
+
patch?: never;
|
|
1601
|
+
trace?: never;
|
|
1602
|
+
};
|
|
1603
|
+
'/v1/ops/client-channel/interact': {
|
|
1604
|
+
parameters: {
|
|
1605
|
+
query?: never;
|
|
1606
|
+
header?: never;
|
|
1607
|
+
path?: never;
|
|
1608
|
+
cookie?: never;
|
|
1609
|
+
};
|
|
1610
|
+
get?: never;
|
|
1611
|
+
put?: never;
|
|
1612
|
+
/**
|
|
1613
|
+
* /v1/ops/client-channel/interact
|
|
1614
|
+
* @description **Note**: This endpoint is in PREVIEW - it can be removed or modified in nearest future. Call this endpoint to send RPC request to client channel and wait for RPC response.
|
|
1615
|
+
*/
|
|
1616
|
+
post: operations['interactWithClientChannel'];
|
|
1550
1617
|
delete?: never;
|
|
1551
1618
|
options?: never;
|
|
1552
1619
|
head?: never;
|
|
@@ -1558,13 +1625,13 @@ interface components {
|
|
|
1558
1625
|
schemas: {
|
|
1559
1626
|
/** @description Response for reviewing user consent status. */
|
|
1560
1627
|
ReviewConsentResponse: {
|
|
1561
|
-
consent?: components[
|
|
1628
|
+
consent?: components['schemas']['Consent'];
|
|
1562
1629
|
/** @description Whether the user has already accepted the consent. */
|
|
1563
1630
|
accepted?: boolean;
|
|
1564
1631
|
};
|
|
1565
1632
|
/** @description Request body for accepting user consent. */
|
|
1566
1633
|
AcceptConsentRequest: {
|
|
1567
|
-
consent?: components[
|
|
1634
|
+
consent?: components['schemas']['Consent'];
|
|
1568
1635
|
};
|
|
1569
1636
|
/** @description User consent for deployments. Keys are deployment IDs. */
|
|
1570
1637
|
Consent: {
|
|
@@ -1580,12 +1647,12 @@ interface components {
|
|
|
1580
1647
|
* @description The type of the tool. Currently, only `function` is supported.
|
|
1581
1648
|
* @enum {string}
|
|
1582
1649
|
*/
|
|
1583
|
-
type:
|
|
1584
|
-
function: components[
|
|
1585
|
-
custom_fields?: components[
|
|
1650
|
+
type: 'function';
|
|
1651
|
+
function: components['schemas']['FunctionObject'];
|
|
1652
|
+
custom_fields?: components['schemas']['ToolCustomFields'];
|
|
1586
1653
|
};
|
|
1587
1654
|
ToolCustomFields: {
|
|
1588
|
-
cache_breakpoint?: components[
|
|
1655
|
+
cache_breakpoint?: components['schemas']['CacheBreakpoint'];
|
|
1589
1656
|
};
|
|
1590
1657
|
/** @description A manual cache breakpoint. The part of the chat completion request up to this breakpoint will be cached by the deployment. Follow-up requests sharing the same prefix have a chance of hitting the cache and reusing the input tokens associated with this prefix. The field only makes sense for the deployments that support [prompt caching](https://docs.dialx.ai/tutorials/developers/prompt-caching). */
|
|
1591
1658
|
CacheBreakpoint: {
|
|
@@ -1600,7 +1667,7 @@ interface components {
|
|
|
1600
1667
|
description?: string;
|
|
1601
1668
|
/** @description The name of the `function` to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. */
|
|
1602
1669
|
name: string;
|
|
1603
|
-
parameters?: components[
|
|
1670
|
+
parameters?: components['schemas']['FunctionParameters'];
|
|
1604
1671
|
/**
|
|
1605
1672
|
* @description Whether to enable strict schema adherence when generating the `function` call. If set to `true`, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Learn more about Structured Outputs in the [function calling guide](docs/guides/function-calling).
|
|
1606
1673
|
* @default false
|
|
@@ -1612,9 +1679,7 @@ interface components {
|
|
|
1612
1679
|
*
|
|
1613
1680
|
* Omitting `parameters` defines a `function` with an empty parameter list.
|
|
1614
1681
|
*/
|
|
1615
|
-
FunctionParameters:
|
|
1616
|
-
[key: string]: unknown;
|
|
1617
|
-
};
|
|
1682
|
+
FunctionParameters: Record<string, never>;
|
|
1618
1683
|
/**
|
|
1619
1684
|
* @description Controls which (if any) tool is called by the model.
|
|
1620
1685
|
*
|
|
@@ -1628,14 +1693,14 @@ interface components {
|
|
|
1628
1693
|
* `none` is the default when no `tools` are present.
|
|
1629
1694
|
* `auto` is the default if `tools` are present.
|
|
1630
1695
|
*/
|
|
1631
|
-
ChatCompletionToolChoiceOption: (
|
|
1696
|
+
ChatCompletionToolChoiceOption: ('none' | 'auto' | 'required') | components['schemas']['ChatCompletionNamedToolChoice'];
|
|
1632
1697
|
/** @description Specifies a `tool` the model should use. Use to force the model to call a specific `function`. */
|
|
1633
1698
|
ChatCompletionNamedToolChoice: {
|
|
1634
1699
|
/**
|
|
1635
1700
|
* @description The type of the `tool`. Currently, only `function` is supported.
|
|
1636
1701
|
* @enum {string}
|
|
1637
1702
|
*/
|
|
1638
|
-
type:
|
|
1703
|
+
type: 'function';
|
|
1639
1704
|
function: {
|
|
1640
1705
|
/** @description The name of the `function` to call. */
|
|
1641
1706
|
name: string;
|
|
@@ -1647,7 +1712,7 @@ interface components {
|
|
|
1647
1712
|
*/
|
|
1648
1713
|
ParallelToolCalls: boolean;
|
|
1649
1714
|
/** @description The `tool` calls generated by the model, such as `function` calls. */
|
|
1650
|
-
ChatCompletionMessageToolCalls: components[
|
|
1715
|
+
ChatCompletionMessageToolCalls: components['schemas']['ChatCompletionMessageToolCall'][];
|
|
1651
1716
|
/** @description Deprecated and replaced by `tool_calls`. The name and arguments of a `function` that should be called, as generated by the model. */
|
|
1652
1717
|
ChatCompletionFunctionCall: {
|
|
1653
1718
|
/** @description The name of the `function` to call. */
|
|
@@ -1658,7 +1723,7 @@ interface components {
|
|
|
1658
1723
|
ChatCompletionMessageToolCall: {
|
|
1659
1724
|
/** @description The ID of the `tool` call. */
|
|
1660
1725
|
id: string;
|
|
1661
|
-
type: components[
|
|
1726
|
+
type: components['schemas']['ToolCallType'];
|
|
1662
1727
|
/** @description The `function` that the model called. */
|
|
1663
1728
|
function: {
|
|
1664
1729
|
/** @description The name of the `function` to call. */
|
|
@@ -1671,11 +1736,13 @@ interface components {
|
|
|
1671
1736
|
* @description The type of the `tool` call, in this case `function`.
|
|
1672
1737
|
* @enum {string}
|
|
1673
1738
|
*/
|
|
1674
|
-
ToolCallType:
|
|
1739
|
+
ToolCallType: 'function';
|
|
1675
1740
|
/** @description The features supported by a deployment. */
|
|
1676
1741
|
DeploymentFeatures: {
|
|
1677
1742
|
/** @description Does the deployment support endpoint for rating a request: `POST /v1/{deployment_name}/rate`? */
|
|
1678
1743
|
rate: boolean;
|
|
1744
|
+
/** @description Does the deployment support endpoint for MCP (Multi-Channel Processing) requests: `GET /v1/deployments/{deployment_name}/mcp`? */
|
|
1745
|
+
mcp: boolean;
|
|
1679
1746
|
/** @description Does the deployment support endpoint for tokenization: `POST /v1/{deployment_name}/tokenize`? */
|
|
1680
1747
|
tokenize: boolean;
|
|
1681
1748
|
/** @description Does the deployment support endpoint for prompt truncation: `POST /v1/{deployment_name}/truncate_prompt`? */
|
|
@@ -1806,7 +1873,7 @@ interface components {
|
|
|
1806
1873
|
DeploymentBase: {
|
|
1807
1874
|
/** @description The unique identifier of the deployment. */
|
|
1808
1875
|
id?: string;
|
|
1809
|
-
/** @description The display name of the deployment. */
|
|
1876
|
+
/** @description The display name of the deployment. Returned only with the response from `/v1/deployments` endpoint. */
|
|
1810
1877
|
display_name?: string;
|
|
1811
1878
|
/** @description The display version of the deployment. */
|
|
1812
1879
|
display_version?: string;
|
|
@@ -1828,16 +1895,16 @@ interface components {
|
|
|
1828
1895
|
description_keywords?: string[];
|
|
1829
1896
|
/** @description The maximum number of retry attempts to route a single user's request to the deployment's endpoint. */
|
|
1830
1897
|
max_retry_attempts?: number;
|
|
1831
|
-
/** @description
|
|
1898
|
+
/** @description Interface types supported by the deployment. Returned only with the response from `/v1/deployments` endpoint. */
|
|
1832
1899
|
interfaces?: string[];
|
|
1833
1900
|
};
|
|
1834
1901
|
DeploymentWithFeatures: {
|
|
1835
|
-
features?: components[
|
|
1836
|
-
input_attachment_types?: components[
|
|
1837
|
-
max_input_attachments?: components[
|
|
1838
|
-
defaults?: components[
|
|
1902
|
+
features?: components['schemas']['DeploymentFeatures'];
|
|
1903
|
+
input_attachment_types?: components['schemas']['DeploymentInputAttachmentTypes'];
|
|
1904
|
+
max_input_attachments?: components['schemas']['DeploymentMaxInputAttachments'];
|
|
1905
|
+
defaults?: components['schemas']['DeploymentDefaultParameters'];
|
|
1839
1906
|
};
|
|
1840
|
-
Deployment: components[
|
|
1907
|
+
Deployment: components['schemas']['DeploymentBase'] & {
|
|
1841
1908
|
/** @description The deployment name. */
|
|
1842
1909
|
model?: string;
|
|
1843
1910
|
/** @description The object type. Always is `deployment`. */
|
|
@@ -1847,25 +1914,25 @@ interface components {
|
|
|
1847
1914
|
/** @description The scale type. Only the `standard` type is currently supported. */
|
|
1848
1915
|
scale_type?: string;
|
|
1849
1916
|
};
|
|
1850
|
-
} & components[
|
|
1851
|
-
|
|
1917
|
+
} & components['schemas']['DeploymentWithFeatures'];
|
|
1918
|
+
ModelOpenAi: components['schemas']['DeploymentBase'] & {
|
|
1852
1919
|
/** @description The model name. Same as the `id` field. */
|
|
1853
1920
|
model?: string;
|
|
1854
1921
|
/** @description The object type. Always is `model`. */
|
|
1855
1922
|
object?: string;
|
|
1856
1923
|
/** @description Lifecycle status. Always is `generally-available`. */
|
|
1857
1924
|
lifecycle_status?: string;
|
|
1858
|
-
capabilities?: components[
|
|
1925
|
+
capabilities?: components['schemas']['ModelCapabilities'];
|
|
1859
1926
|
/**
|
|
1860
1927
|
* @description This parameter specifies the exact model whose tokenization algorithm matches the one used by the given model. Typically, this is the name of the first model released in a series that shares the same tokenization algorithm _(e.g., `gpt-3.5-turbo-0301`, `gpt-4-0314`, `gpt-4-1106-vision-preview`)_.
|
|
1861
1928
|
* <br><br>
|
|
1862
1929
|
* This parameter is useful for DIAL clients that implement tokenization algorithms on their side, rather than using the `/tokenize` endpoint provided by the model.
|
|
1863
1930
|
*/
|
|
1864
1931
|
tokenizer_model?: string;
|
|
1865
|
-
limits?: components[
|
|
1866
|
-
pricing?: components[
|
|
1867
|
-
} & components[
|
|
1868
|
-
|
|
1932
|
+
limits?: components['schemas']['ModelLimits'];
|
|
1933
|
+
pricing?: components['schemas']['ModelPricing'];
|
|
1934
|
+
} & components['schemas']['DeploymentWithFeatures'];
|
|
1935
|
+
ApplicationOpenAi: components['schemas']['DeploymentBase'] & {
|
|
1869
1936
|
/** @description The application name. */
|
|
1870
1937
|
application?: string;
|
|
1871
1938
|
/** @description The URL of the custom app UI. */
|
|
@@ -1875,39 +1942,37 @@ interface components {
|
|
|
1875
1942
|
/** @description The object type. Always is `application`. */
|
|
1876
1943
|
object?: string;
|
|
1877
1944
|
/** @description Custom application properties. */
|
|
1878
|
-
application_properties?:
|
|
1879
|
-
[key: string]: unknown;
|
|
1880
|
-
};
|
|
1945
|
+
application_properties?: Record<string, never>;
|
|
1881
1946
|
/**
|
|
1882
1947
|
* Format: uri
|
|
1883
1948
|
* @description The URI of the application type schema.
|
|
1884
1949
|
*/
|
|
1885
1950
|
application_type_schema_id?: string;
|
|
1886
|
-
function?: components[
|
|
1951
|
+
function?: components['schemas']['ApplicationFunction'];
|
|
1887
1952
|
/** @description Custom routes for the application. */
|
|
1888
1953
|
routes?: {
|
|
1889
1954
|
[key: string]: Record<string, never>;
|
|
1890
1955
|
};
|
|
1891
1956
|
/** @description Indicates whether the application is invalid (e.g., missing required properties or schema violations). Only applicable for schema-rich applications. Null when the application is valid. */
|
|
1892
1957
|
readonly invalid?: boolean;
|
|
1893
|
-
} & components[
|
|
1958
|
+
} & components['schemas']['DeploymentWithFeatures'];
|
|
1894
1959
|
/**
|
|
1895
1960
|
* @deprecated
|
|
1896
1961
|
* @description Deprecated: Assistant type has been removed from the codebase.
|
|
1897
1962
|
*/
|
|
1898
|
-
Assistant: components[
|
|
1963
|
+
Assistant: components['schemas']['DeploymentBase'] & {
|
|
1899
1964
|
/** @description The assistant name. */
|
|
1900
1965
|
assistant?: string;
|
|
1901
1966
|
/** @description The object type. Always is `assistant`. */
|
|
1902
1967
|
object?: string;
|
|
1903
1968
|
/** @description The array of addons enabled by default in the assistant. */
|
|
1904
1969
|
addons?: string[];
|
|
1905
|
-
} & components[
|
|
1970
|
+
} & components['schemas']['DeploymentWithFeatures'];
|
|
1906
1971
|
/**
|
|
1907
1972
|
* @deprecated
|
|
1908
1973
|
* @description Deprecated: Addon type has been removed from the codebase.
|
|
1909
1974
|
*/
|
|
1910
|
-
Addon: components[
|
|
1975
|
+
Addon: components['schemas']['DeploymentBase'] & {
|
|
1911
1976
|
/** @description The addon name. */
|
|
1912
1977
|
addon?: string;
|
|
1913
1978
|
/** @description The object type. Always is `addon`. */
|
|
@@ -1929,7 +1994,7 @@ interface components {
|
|
|
1929
1994
|
* @description The current deployment status of the function.
|
|
1930
1995
|
* @enum {string}
|
|
1931
1996
|
*/
|
|
1932
|
-
status?:
|
|
1997
|
+
status?: 'DEPLOYING' | 'UNDEPLOYING' | 'DEPLOYED' | 'UNDEPLOYED' | 'FAILED';
|
|
1933
1998
|
/** @description Error message if the function deployment failed. */
|
|
1934
1999
|
error?: string;
|
|
1935
2000
|
/** @description The mapping configuration for the function. */
|
|
@@ -1945,7 +2010,7 @@ interface components {
|
|
|
1945
2010
|
* @description Type of authentication.
|
|
1946
2011
|
* @enum {string}
|
|
1947
2012
|
*/
|
|
1948
|
-
authentication_type:
|
|
2013
|
+
authentication_type: 'OAUTH' | 'API_KEY' | 'NONE';
|
|
1949
2014
|
/** @description (OAUTH only) Client ID for OAuth flows. */
|
|
1950
2015
|
client_id?: string;
|
|
1951
2016
|
/** @description (OAUTH only) Client secret for OAuth flows. */
|
|
@@ -1966,17 +2031,17 @@ interface components {
|
|
|
1966
2031
|
* @description Global credentials status.
|
|
1967
2032
|
* @enum {string}
|
|
1968
2033
|
*/
|
|
1969
|
-
readonly global_auth_status?:
|
|
2034
|
+
readonly global_auth_status?: 'SIGNED_IN' | 'SIGNED_OUT';
|
|
1970
2035
|
/**
|
|
1971
2036
|
* @description Application-level credentials status.
|
|
1972
2037
|
* @enum {string}
|
|
1973
2038
|
*/
|
|
1974
|
-
readonly app_level_auth_status?:
|
|
2039
|
+
readonly app_level_auth_status?: 'SIGNED_IN' | 'SIGNED_OUT';
|
|
1975
2040
|
/**
|
|
1976
2041
|
* @description User-level credentials status.
|
|
1977
2042
|
* @enum {string}
|
|
1978
2043
|
*/
|
|
1979
|
-
readonly user_level_auth_status?:
|
|
2044
|
+
readonly user_level_auth_status?: 'SIGNED_IN' | 'SIGNED_OUT';
|
|
1980
2045
|
/** @description (API_KEY only) Header name for API key. */
|
|
1981
2046
|
api_key_header?: string;
|
|
1982
2047
|
};
|
|
@@ -1985,6 +2050,8 @@ interface components {
|
|
|
1985
2050
|
id?: string;
|
|
1986
2051
|
/** @description DIAL toolset name. */
|
|
1987
2052
|
toolset?: string;
|
|
2053
|
+
/** @description Interfaces supported by the toolset. Default value `mcp`. Returned only with the response from `/v1/deployments` endpoint. */
|
|
2054
|
+
interfaces?: string;
|
|
1988
2055
|
/** @description The path for the location of the icon applied to the toolset on UI. */
|
|
1989
2056
|
icon_url?: string;
|
|
1990
2057
|
/** @description A brief description of the toolset. */
|
|
@@ -2013,9 +2080,9 @@ interface components {
|
|
|
2013
2080
|
transport?: string;
|
|
2014
2081
|
/** @description A list of available tools in the MCP server. */
|
|
2015
2082
|
allowed_tools?: unknown[];
|
|
2016
|
-
auth_settings?: components[
|
|
2017
|
-
} & components[
|
|
2018
|
-
ToolSet: components[
|
|
2083
|
+
auth_settings?: components['schemas']['ResourceAuthSettings'];
|
|
2084
|
+
} & components['schemas']['DeploymentWithFeatures'];
|
|
2085
|
+
ToolSet: components['schemas']['DeploymentBase'] & {
|
|
2019
2086
|
/** @description The toolset name. */
|
|
2020
2087
|
toolset?: string;
|
|
2021
2088
|
/** @description The transport supported by the MCP server. Available options are `HTTP` or `SSE`. */
|
|
@@ -2024,7 +2091,7 @@ interface components {
|
|
|
2024
2091
|
allowed_tools?: string[];
|
|
2025
2092
|
/** @description The object type. Always is `toolset`. */
|
|
2026
2093
|
object?: string;
|
|
2027
|
-
} & components[
|
|
2094
|
+
} & components['schemas']['DeploymentWithFeatures'];
|
|
2028
2095
|
Toolset: {
|
|
2029
2096
|
/** @description DIAL Toolset's name. */
|
|
2030
2097
|
name?: string;
|
|
@@ -2058,8 +2125,8 @@ interface components {
|
|
|
2058
2125
|
transport?: string;
|
|
2059
2126
|
/** @description A list of allowed tools supported by the MCP server. */
|
|
2060
2127
|
allowed_tools?: unknown[];
|
|
2061
|
-
auth_settings?: components[
|
|
2062
|
-
} & components[
|
|
2128
|
+
auth_settings?: components['schemas']['ResourceAuthSettings'];
|
|
2129
|
+
} & components['schemas']['DeploymentWithFeatures'];
|
|
2063
2130
|
/** @description The capabilities of the model. */
|
|
2064
2131
|
ModelCapabilities: {
|
|
2065
2132
|
/** @description The scale types of the model. Defaults to `["standard"]`. */
|
|
@@ -2095,7 +2162,7 @@ interface components {
|
|
|
2095
2162
|
* @description The pricing units.
|
|
2096
2163
|
* @enum {string}
|
|
2097
2164
|
*/
|
|
2098
|
-
unit:
|
|
2165
|
+
unit: 'token' | 'char_without_whitespace';
|
|
2099
2166
|
/** @description The per-unit price for the completion request. */
|
|
2100
2167
|
prompt: string;
|
|
2101
2168
|
/**
|
|
@@ -2116,7 +2183,7 @@ interface components {
|
|
|
2116
2183
|
* **Note:** representation of strings as an array of token ids may not be supported by certain models.
|
|
2117
2184
|
*/
|
|
2118
2185
|
input: string | string[] | number[] | number[][];
|
|
2119
|
-
custom_input?: components[
|
|
2186
|
+
custom_input?: components['schemas']['EmbeddingsCustomInput'];
|
|
2120
2187
|
/** @description A unique identifier representing the end-user. */
|
|
2121
2188
|
user?: string;
|
|
2122
2189
|
/**
|
|
@@ -2125,7 +2192,7 @@ interface components {
|
|
|
2125
2192
|
* @example base64
|
|
2126
2193
|
* @enum {string}
|
|
2127
2194
|
*/
|
|
2128
|
-
encoding_format:
|
|
2195
|
+
encoding_format: 'float' | 'base64';
|
|
2129
2196
|
/**
|
|
2130
2197
|
* @description The number of dimensions the resulting output embeddings should have.
|
|
2131
2198
|
*
|
|
@@ -2133,7 +2200,7 @@ interface components {
|
|
|
2133
2200
|
* @example 512
|
|
2134
2201
|
*/
|
|
2135
2202
|
dimensions?: number;
|
|
2136
|
-
custom_fields?: components[
|
|
2203
|
+
custom_fields?: components['schemas']['EmbeddingsCustomFields'];
|
|
2137
2204
|
};
|
|
2138
2205
|
EmbeddingResponse: {
|
|
2139
2206
|
/** @description Object type. Always is `list`. */
|
|
@@ -2163,7 +2230,7 @@ interface components {
|
|
|
2163
2230
|
description?: string;
|
|
2164
2231
|
/** @description The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. */
|
|
2165
2232
|
name: string;
|
|
2166
|
-
parameters?: components[
|
|
2233
|
+
parameters?: components['schemas']['FunctionParameters'];
|
|
2167
2234
|
};
|
|
2168
2235
|
/** @description Specifying a particular function via `{"name": "my_function"}` forces the model to call that function. */
|
|
2169
2236
|
ChatCompletionFunctionCallOption: {
|
|
@@ -2181,7 +2248,7 @@ interface components {
|
|
|
2181
2248
|
*/
|
|
2182
2249
|
url?: string;
|
|
2183
2250
|
};
|
|
2184
|
-
ChatCompletionRequestMessage: components[
|
|
2251
|
+
ChatCompletionRequestMessage: components['schemas']['ChatCompletionRequestDeveloperMessage'] | components['schemas']['ChatCompletionRequestSystemMessage'] | components['schemas']['ChatCompletionRequestUserMessage'] | components['schemas']['ChatCompletionRequestAssistantMessage'] | components['schemas']['ChatCompletionRequestToolMessage'] | components['schemas']['ChatCompletionRequestFunctionMessage'];
|
|
2185
2252
|
/**
|
|
2186
2253
|
* Developer message
|
|
2187
2254
|
* @description Developer-provided instructions that the model should follow, regardless of
|
|
@@ -2190,59 +2257,59 @@ interface components {
|
|
|
2190
2257
|
*/
|
|
2191
2258
|
ChatCompletionRequestDeveloperMessage: {
|
|
2192
2259
|
/** @description The contents of the developer message. */
|
|
2193
|
-
content: string | components[
|
|
2194
|
-
custom_fields?: components[
|
|
2260
|
+
content: string | components['schemas']['ChatCompletionRequestDeveloperMessageContentPart'][];
|
|
2261
|
+
custom_fields?: components['schemas']['ChatCompletionRequestCustomFields'];
|
|
2195
2262
|
/**
|
|
2196
2263
|
* @description The role of the messages author, in this case `developer`.
|
|
2197
2264
|
* @enum {string}
|
|
2198
2265
|
*/
|
|
2199
|
-
role:
|
|
2266
|
+
role: 'developer';
|
|
2200
2267
|
/** @description An optional name for the participant. Provides the model information to differentiate between participants of the same role. */
|
|
2201
2268
|
name?: string;
|
|
2202
2269
|
};
|
|
2203
2270
|
/** System message */
|
|
2204
2271
|
ChatCompletionRequestSystemMessage: {
|
|
2205
2272
|
/** @description The contents of the system message. */
|
|
2206
|
-
content: string | components[
|
|
2207
|
-
custom_fields?: components[
|
|
2273
|
+
content: string | components['schemas']['ChatCompletionRequestSystemMessageContentPart'][];
|
|
2274
|
+
custom_fields?: components['schemas']['ChatCompletionRequestCustomFields'];
|
|
2208
2275
|
/**
|
|
2209
2276
|
* @description The role of the messages author, in this case `system`.
|
|
2210
2277
|
* @enum {string}
|
|
2211
2278
|
*/
|
|
2212
|
-
role:
|
|
2279
|
+
role: 'system';
|
|
2213
2280
|
/** @description An optional name for the participant. Provides the model information to differentiate between participants of the same role. */
|
|
2214
2281
|
name?: string;
|
|
2215
2282
|
};
|
|
2216
2283
|
/** User message */
|
|
2217
2284
|
ChatCompletionRequestUserMessage: {
|
|
2218
2285
|
/** @description The contents of the user message. */
|
|
2219
|
-
content: string | components[
|
|
2220
|
-
custom_content?: components[
|
|
2221
|
-
custom_fields?: components[
|
|
2286
|
+
content: string | components['schemas']['ChatCompletionRequestUserMessageContentPart'][];
|
|
2287
|
+
custom_content?: components['schemas']['ChatCompletionRequestUserMessageCustomContent'];
|
|
2288
|
+
custom_fields?: components['schemas']['ChatCompletionRequestCustomFields'];
|
|
2222
2289
|
/**
|
|
2223
2290
|
* @description The role of the messages author, in this case `user`.
|
|
2224
2291
|
* @enum {string}
|
|
2225
2292
|
*/
|
|
2226
|
-
role:
|
|
2293
|
+
role: 'user';
|
|
2227
2294
|
/** @description An optional name for the participant. Provides the model information to differentiate between participants of the same role. */
|
|
2228
2295
|
name?: string;
|
|
2229
2296
|
};
|
|
2230
2297
|
/** Assistant message */
|
|
2231
2298
|
ChatCompletionRequestAssistantMessage: {
|
|
2232
2299
|
/** @description The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified. */
|
|
2233
|
-
content?: (string & (string | components[
|
|
2234
|
-
custom_content?: components[
|
|
2235
|
-
custom_fields?: components[
|
|
2300
|
+
content?: (string & (string | components['schemas']['ChatCompletionRequestAssistantMessageContentPart'][])) | null;
|
|
2301
|
+
custom_content?: components['schemas']['ChatCompletionRequestAssistantMessageCustomContent'];
|
|
2302
|
+
custom_fields?: components['schemas']['ChatCompletionRequestCustomFields'];
|
|
2236
2303
|
/** @description The refusal message by the assistant. */
|
|
2237
2304
|
refusal?: string | null;
|
|
2238
2305
|
/**
|
|
2239
2306
|
* @description The role of the messages author, in this case `assistant`.
|
|
2240
2307
|
* @enum {string}
|
|
2241
2308
|
*/
|
|
2242
|
-
role:
|
|
2309
|
+
role: 'assistant';
|
|
2243
2310
|
/** @description An optional name for the participant. Provides the model information to differentiate between participants of the same role. */
|
|
2244
2311
|
name?: string;
|
|
2245
|
-
tool_calls?: components[
|
|
2312
|
+
tool_calls?: components['schemas']['ChatCompletionMessageToolCalls'];
|
|
2246
2313
|
/**
|
|
2247
2314
|
* @deprecated
|
|
2248
2315
|
* @description Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
|
|
@@ -2260,10 +2327,10 @@ interface components {
|
|
|
2260
2327
|
* @description The role of the messages author, in this case `tool`.
|
|
2261
2328
|
* @enum {string}
|
|
2262
2329
|
*/
|
|
2263
|
-
role:
|
|
2330
|
+
role: 'tool';
|
|
2264
2331
|
/** @description The contents of the tool message. */
|
|
2265
|
-
content: string | components[
|
|
2266
|
-
custom_fields?: components[
|
|
2332
|
+
content: string | components['schemas']['ChatCompletionRequestToolMessageContentPart'][];
|
|
2333
|
+
custom_fields?: components['schemas']['ChatCompletionRequestCustomFields'];
|
|
2267
2334
|
/** @description Tool call that this message is responding to. */
|
|
2268
2335
|
tool_call_id: string;
|
|
2269
2336
|
};
|
|
@@ -2276,25 +2343,25 @@ interface components {
|
|
|
2276
2343
|
* @description The role of the messages author, in this case `function`.
|
|
2277
2344
|
* @enum {string}
|
|
2278
2345
|
*/
|
|
2279
|
-
role:
|
|
2346
|
+
role: 'function';
|
|
2280
2347
|
/** @description The contents of the function message. */
|
|
2281
2348
|
content: string | null;
|
|
2282
|
-
custom_fields?: components[
|
|
2349
|
+
custom_fields?: components['schemas']['ChatCompletionRequestCustomFields'];
|
|
2283
2350
|
/** @description The name of the function to call. */
|
|
2284
2351
|
name: string;
|
|
2285
2352
|
};
|
|
2286
|
-
ChatCompletionRequestDeveloperMessageContentPart: components[
|
|
2287
|
-
ChatCompletionRequestSystemMessageContentPart: components[
|
|
2288
|
-
ChatCompletionRequestUserMessageContentPart: components[
|
|
2289
|
-
ChatCompletionRequestAssistantMessageContentPart: components[
|
|
2290
|
-
ChatCompletionRequestToolMessageContentPart: components[
|
|
2353
|
+
ChatCompletionRequestDeveloperMessageContentPart: components['schemas']['ChatCompletionRequestMessageContentPartText'];
|
|
2354
|
+
ChatCompletionRequestSystemMessageContentPart: components['schemas']['ChatCompletionRequestMessageContentPartText'];
|
|
2355
|
+
ChatCompletionRequestUserMessageContentPart: components['schemas']['ChatCompletionRequestMessageContentPartText'] | components['schemas']['ChatCompletionRequestMessageContentPartImage'];
|
|
2356
|
+
ChatCompletionRequestAssistantMessageContentPart: components['schemas']['ChatCompletionRequestMessageContentPartText'] | components['schemas']['ChatCompletionRequestMessageContentPartRefusal'];
|
|
2357
|
+
ChatCompletionRequestToolMessageContentPart: components['schemas']['ChatCompletionRequestMessageContentPartText'];
|
|
2291
2358
|
/** Text content part */
|
|
2292
2359
|
ChatCompletionRequestMessageContentPartText: {
|
|
2293
2360
|
/**
|
|
2294
2361
|
* @description The type of the content part.
|
|
2295
2362
|
* @enum {string}
|
|
2296
2363
|
*/
|
|
2297
|
-
type:
|
|
2364
|
+
type: 'text';
|
|
2298
2365
|
/** @description The text content. */
|
|
2299
2366
|
text: string;
|
|
2300
2367
|
};
|
|
@@ -2304,7 +2371,7 @@ interface components {
|
|
|
2304
2371
|
* @description The type of the content part.
|
|
2305
2372
|
* @enum {string}
|
|
2306
2373
|
*/
|
|
2307
|
-
type:
|
|
2374
|
+
type: 'image_url';
|
|
2308
2375
|
image_url: {
|
|
2309
2376
|
/**
|
|
2310
2377
|
* Format: uri
|
|
@@ -2316,7 +2383,7 @@ interface components {
|
|
|
2316
2383
|
* @default auto
|
|
2317
2384
|
* @enum {string}
|
|
2318
2385
|
*/
|
|
2319
|
-
detail:
|
|
2386
|
+
detail: 'auto' | 'low' | 'high';
|
|
2320
2387
|
};
|
|
2321
2388
|
};
|
|
2322
2389
|
/** Refusal content part */
|
|
@@ -2325,7 +2392,7 @@ interface components {
|
|
|
2325
2392
|
* @description The type of the content part.
|
|
2326
2393
|
* @enum {string}
|
|
2327
2394
|
*/
|
|
2328
|
-
type:
|
|
2395
|
+
type: 'refusal';
|
|
2329
2396
|
/** @description The refusal message generated by the model. */
|
|
2330
2397
|
refusal: string;
|
|
2331
2398
|
};
|
|
@@ -2335,15 +2402,15 @@ interface components {
|
|
|
2335
2402
|
* @description The role of the author of the response message.
|
|
2336
2403
|
* @enum {string}
|
|
2337
2404
|
*/
|
|
2338
|
-
role:
|
|
2405
|
+
role: 'assistant';
|
|
2339
2406
|
/** @description The refusal message generated by the model. */
|
|
2340
2407
|
refusal: string | null;
|
|
2341
2408
|
/** @description The contents of the message. `content` is set for all messages except messages with tool calls, function calls and refusals. */
|
|
2342
2409
|
content: string | null;
|
|
2343
|
-
custom_content?: components[
|
|
2410
|
+
custom_content?: components['schemas']['ChatCompletionResponseCustomContent'];
|
|
2344
2411
|
/** @description The tool calls generated by the model, such as function calls. */
|
|
2345
|
-
tool_calls?: components[
|
|
2346
|
-
function_call?: components[
|
|
2412
|
+
tool_calls?: components['schemas']['ChatCompletionMessageToolCall'][];
|
|
2413
|
+
function_call?: components['schemas']['ChatCompletionFunctionCall'];
|
|
2347
2414
|
};
|
|
2348
2415
|
/** @description A chat completion delta generated by streamed model responses. */
|
|
2349
2416
|
ChatCompletionStreamResponseDelta: {
|
|
@@ -2351,12 +2418,12 @@ interface components {
|
|
|
2351
2418
|
* @description The role of the author of this message.
|
|
2352
2419
|
* @enum {string}
|
|
2353
2420
|
*/
|
|
2354
|
-
role?:
|
|
2421
|
+
role?: 'assistant';
|
|
2355
2422
|
/** @description The refusal message generated by the model. */
|
|
2356
2423
|
refusal?: string | null;
|
|
2357
2424
|
/** @description The contents of the chunk message. */
|
|
2358
2425
|
content?: string | null;
|
|
2359
|
-
custom_content?: components[
|
|
2426
|
+
custom_content?: components['schemas']['ChatCompletionResponseCustomContent'];
|
|
2360
2427
|
/**
|
|
2361
2428
|
* @deprecated
|
|
2362
2429
|
* @description Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
|
|
@@ -2367,7 +2434,7 @@ interface components {
|
|
|
2367
2434
|
/** @description The name of the function to call. */
|
|
2368
2435
|
name?: string;
|
|
2369
2436
|
};
|
|
2370
|
-
tool_calls?: components[
|
|
2437
|
+
tool_calls?: components['schemas']['ChatCompletionMessageToolCallChunk'][];
|
|
2371
2438
|
};
|
|
2372
2439
|
ChatCompletionMessageToolCallChunk: {
|
|
2373
2440
|
index: number;
|
|
@@ -2377,7 +2444,7 @@ interface components {
|
|
|
2377
2444
|
* @description The type of the tool. Currently, only `function` is supported.
|
|
2378
2445
|
* @enum {string}
|
|
2379
2446
|
*/
|
|
2380
|
-
type?:
|
|
2447
|
+
type?: 'function';
|
|
2381
2448
|
function?: {
|
|
2382
2449
|
/** @description The name of the function to call. */
|
|
2383
2450
|
name?: string;
|
|
@@ -2388,38 +2455,32 @@ interface components {
|
|
|
2388
2455
|
/** @description The custom content of the assistant message. */
|
|
2389
2456
|
ChatCompletionRequestAssistantMessageCustomContent: {
|
|
2390
2457
|
/** @description The internal state of the Assistant. This field can have an arbitrary set of fields with an arbitrary structure. */
|
|
2391
|
-
state?:
|
|
2392
|
-
[key: string]: unknown;
|
|
2393
|
-
};
|
|
2458
|
+
state?: Record<string, never>;
|
|
2394
2459
|
/** @description List of attachments used to supply an additional output from the model. */
|
|
2395
|
-
attachments?: components[
|
|
2460
|
+
attachments?: components['schemas']['RequestAttachment'][];
|
|
2396
2461
|
/**
|
|
2397
2462
|
* @description The JSON schema describing a form that the assistant prompts the user to fill in.
|
|
2398
2463
|
* Given this schema, the user is expected to provide a JSON value in the next message in the `custom_content.form_value` field.
|
|
2399
2464
|
*/
|
|
2400
|
-
form_schema?:
|
|
2401
|
-
[key: string]: unknown;
|
|
2402
|
-
};
|
|
2465
|
+
form_schema?: Record<string, never>;
|
|
2403
2466
|
};
|
|
2404
2467
|
/** @description The custom content of the user message. */
|
|
2405
2468
|
ChatCompletionRequestUserMessageCustomContent: {
|
|
2406
2469
|
/** @description List of attachments used to supply an additional input for the model. */
|
|
2407
|
-
attachments?: components[
|
|
2470
|
+
attachments?: components['schemas']['RequestAttachment'][];
|
|
2408
2471
|
/** @description The JSON value corresponding to the JSON schema sent by the assistant in the previous message in the `custom_content.form_schema` field. */
|
|
2409
|
-
form_value?:
|
|
2410
|
-
[key: string]: unknown;
|
|
2411
|
-
};
|
|
2472
|
+
form_value?: Record<string, never>;
|
|
2412
2473
|
};
|
|
2413
2474
|
/** @description DIAL-specific extensions of the Chat Completions message. */
|
|
2414
2475
|
ChatCompletionRequestCustomFields: {
|
|
2415
|
-
cache_breakpoint?: components[
|
|
2476
|
+
cache_breakpoint?: components['schemas']['CacheBreakpoint'];
|
|
2416
2477
|
};
|
|
2417
2478
|
/** @description The custom embedding inputs that represent multi-modal inputs (e.g. images and video) along with compound inputs (e.g. a title for an image and the image itself). */
|
|
2418
|
-
EmbeddingsCustomInput: components[
|
|
2479
|
+
EmbeddingsCustomInput: components['schemas']['EmbeddingsCustomInputElement'][];
|
|
2419
2480
|
/** @description A particular embedding input which embeddings model translates to an embedding vector. */
|
|
2420
|
-
EmbeddingsCustomInputElement: string | components[
|
|
2481
|
+
EmbeddingsCustomInputElement: string | components['schemas']['RequestAttachment'] | components['schemas']['EmbeddingsCustomInputCompoundElement'];
|
|
2421
2482
|
/** @description An embedding input composed of multiple strings and attachments. */
|
|
2422
|
-
EmbeddingsCustomInputCompoundElement: (string | components[
|
|
2483
|
+
EmbeddingsCustomInputCompoundElement: (string | components['schemas']['RequestAttachment'])[];
|
|
2423
2484
|
/** @description Additional parameters for an embedding model. */
|
|
2424
2485
|
EmbeddingsCustomFields: {
|
|
2425
2486
|
/**
|
|
@@ -2442,31 +2503,29 @@ interface components {
|
|
|
2442
2503
|
* @description The type of response format being defined: `text`
|
|
2443
2504
|
* @enum {string}
|
|
2444
2505
|
*/
|
|
2445
|
-
type:
|
|
2506
|
+
type: 'text';
|
|
2446
2507
|
};
|
|
2447
2508
|
ResponseFormatJsonObject: {
|
|
2448
2509
|
/**
|
|
2449
2510
|
* @description The type of response format being defined: `json_object`
|
|
2450
2511
|
* @enum {string}
|
|
2451
2512
|
*/
|
|
2452
|
-
type:
|
|
2513
|
+
type: 'json_object';
|
|
2453
2514
|
};
|
|
2454
2515
|
/** @description The schema for the response format, described as a JSON Schema object. */
|
|
2455
|
-
ResponseFormatJsonSchemaSchema:
|
|
2456
|
-
[key: string]: unknown;
|
|
2457
|
-
};
|
|
2516
|
+
ResponseFormatJsonSchemaSchema: Record<string, never>;
|
|
2458
2517
|
ResponseFormatJsonSchema: {
|
|
2459
2518
|
/**
|
|
2460
2519
|
* @description The type of response format being defined: `json_schema`
|
|
2461
2520
|
* @enum {string}
|
|
2462
2521
|
*/
|
|
2463
|
-
type:
|
|
2522
|
+
type: 'json_schema';
|
|
2464
2523
|
json_schema: {
|
|
2465
2524
|
/** @description A description of what the response format is for, used by the model to determine how to respond in the format. */
|
|
2466
2525
|
description?: string;
|
|
2467
2526
|
/** @description The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. */
|
|
2468
2527
|
name: string;
|
|
2469
|
-
schema: components[
|
|
2528
|
+
schema: components['schemas']['ResponseFormatJsonSchemaSchema'];
|
|
2470
2529
|
/**
|
|
2471
2530
|
* @description Whether to enable strict schema adherence when generating the output. If set to `true`, the model will always follow the exact schema defined in the `schema` field. Only a subset of JSON Schema is supported when `strict` is `true`.
|
|
2472
2531
|
* @default false
|
|
@@ -2493,20 +2552,16 @@ interface components {
|
|
|
2493
2552
|
* "task": 1
|
|
2494
2553
|
* }
|
|
2495
2554
|
*/
|
|
2496
|
-
configuration?:
|
|
2497
|
-
[key: string]: unknown;
|
|
2498
|
-
};
|
|
2555
|
+
configuration?: Record<string, never>;
|
|
2499
2556
|
};
|
|
2500
2557
|
/** @description The custom content of a message. */
|
|
2501
2558
|
ChatCompletionResponseCustomContent: {
|
|
2502
2559
|
/** @description List of attachments. */
|
|
2503
|
-
attachments?: components[
|
|
2560
|
+
attachments?: components['schemas']['ChatCompletionResponseAttachment'][];
|
|
2504
2561
|
/** @description The intermediate stages that the Assistant went through to generate the response. */
|
|
2505
|
-
readonly stages?: components[
|
|
2562
|
+
readonly stages?: components['schemas']['ChatCompletionResponseStage'][];
|
|
2506
2563
|
/** @description The internal state of the Assistant. This field can have an arbitrary set of fields with an arbitrary structure. In case of a streaming, the state is published fully in one chunk. */
|
|
2507
|
-
state?:
|
|
2508
|
-
[key: string]: unknown;
|
|
2509
|
-
};
|
|
2564
|
+
state?: Record<string, never>;
|
|
2510
2565
|
};
|
|
2511
2566
|
RequestAttachment: {
|
|
2512
2567
|
/**
|
|
@@ -2584,7 +2639,7 @@ interface components {
|
|
|
2584
2639
|
/** @description The contents of the stage. */
|
|
2585
2640
|
content?: string;
|
|
2586
2641
|
/** @description List of attachments to the stage. */
|
|
2587
|
-
attachments?: components[
|
|
2642
|
+
attachments?: components['schemas']['ChatCompletionResponseAttachment'][];
|
|
2588
2643
|
/**
|
|
2589
2644
|
* @description The execution status of the stage. Available status values:
|
|
2590
2645
|
*
|
|
@@ -2607,7 +2662,7 @@ interface components {
|
|
|
2607
2662
|
choices?: {
|
|
2608
2663
|
/** @description The index of the choice from `0` to `n - 1`. */
|
|
2609
2664
|
index: number;
|
|
2610
|
-
message: components[
|
|
2665
|
+
message: components['schemas']['ChatCompletionResponseMessage'];
|
|
2611
2666
|
/**
|
|
2612
2667
|
* @description The reason indicating the completion of the choice generation process. The possible reasons:
|
|
2613
2668
|
*
|
|
@@ -2628,7 +2683,7 @@ interface components {
|
|
|
2628
2683
|
/** @description The sum of prompt and completion tokens. */
|
|
2629
2684
|
total_tokens?: number;
|
|
2630
2685
|
};
|
|
2631
|
-
statistics?: components[
|
|
2686
|
+
statistics?: components['schemas']['ChatCompletionResponseStatistics'];
|
|
2632
2687
|
/** @description Can be used in conjunction with the `seed` request parameter to understand when backend changes have been made that might impact determinism. */
|
|
2633
2688
|
system_fingerprint?: string;
|
|
2634
2689
|
};
|
|
@@ -2645,7 +2700,7 @@ interface components {
|
|
|
2645
2700
|
* @description The type of action to performed. Use `ADD` to create a publish request. Use `DELETE` to create an unpublish request.
|
|
2646
2701
|
* @enum {string}
|
|
2647
2702
|
*/
|
|
2648
|
-
action?:
|
|
2703
|
+
action?: 'ADD' | 'DELETE' | 'ADD_IF_ABSENT';
|
|
2649
2704
|
/** @description The path to the source of the publication. */
|
|
2650
2705
|
sourceUrl?: string;
|
|
2651
2706
|
/** @description The path to the destination of the publication. */
|
|
@@ -2661,7 +2716,7 @@ interface components {
|
|
|
2661
2716
|
* @description The function.
|
|
2662
2717
|
* @enum {string}
|
|
2663
2718
|
*/
|
|
2664
|
-
function?:
|
|
2719
|
+
function?: 'EQUAL' | 'CONTAIN' | 'REGEX';
|
|
2665
2720
|
/** @description Claim value(s) for authorization using JWT. For authorization with API keys - the roles assigned to API key. */
|
|
2666
2721
|
targets?: string[];
|
|
2667
2722
|
}[];
|
|
@@ -2681,7 +2736,7 @@ interface components {
|
|
|
2681
2736
|
* @description A type of action to performed. Use `ADD` to create a publish request. Use `DELETE` to create an unpublish request.
|
|
2682
2737
|
* @enum {string}
|
|
2683
2738
|
*/
|
|
2684
|
-
action?:
|
|
2739
|
+
action?: 'ADD' | 'DELETE' | 'ADD_IF_ABSENT';
|
|
2685
2740
|
/** @description The path to the source of the publication. */
|
|
2686
2741
|
sourceUrl?: string;
|
|
2687
2742
|
/** @description The path to the destination of the publication. */
|
|
@@ -2697,7 +2752,7 @@ interface components {
|
|
|
2697
2752
|
* @description The function.
|
|
2698
2753
|
* @enum {string}
|
|
2699
2754
|
*/
|
|
2700
|
-
function?:
|
|
2755
|
+
function?: 'EQUAL' | 'CONTAIN' | 'REGEX';
|
|
2701
2756
|
/** @description Claim value(s) for authorization using JWT. For authorization with API keys - the roles assigned to API key. */
|
|
2702
2757
|
targets?: string[];
|
|
2703
2758
|
}[];
|
|
@@ -2722,9 +2777,9 @@ interface components {
|
|
|
2722
2777
|
* @description Publication status.
|
|
2723
2778
|
* @enum {string}
|
|
2724
2779
|
*/
|
|
2725
|
-
status?:
|
|
2780
|
+
status?: 'PENDING' | 'APPROVED' | 'REJECTED';
|
|
2726
2781
|
/** @description The type of resource. */
|
|
2727
|
-
resourceTypes?: (
|
|
2782
|
+
resourceTypes?: ('FILE' | 'PROMPT' | 'CONVERSATION' | 'APPLICATION')[];
|
|
2728
2783
|
}[];
|
|
2729
2784
|
};
|
|
2730
2785
|
/** @description Notifications */
|
|
@@ -2761,14 +2816,14 @@ interface components {
|
|
|
2761
2816
|
* @description Publication status.
|
|
2762
2817
|
* @enum {string}
|
|
2763
2818
|
*/
|
|
2764
|
-
status?:
|
|
2819
|
+
status?: 'PENDING' | 'APPROVED' | 'REJECTED';
|
|
2765
2820
|
/** @description List of resources to be published. */
|
|
2766
2821
|
resources?: {
|
|
2767
2822
|
/**
|
|
2768
2823
|
* @description The type of action to be performed.
|
|
2769
2824
|
* @enum {string}
|
|
2770
2825
|
*/
|
|
2771
|
-
action?:
|
|
2826
|
+
action?: 'ADD' | 'DELETE' | 'ADD_IF_ABSENT';
|
|
2772
2827
|
/** @description The location of the source for the publication resource. */
|
|
2773
2828
|
sourceUrl?: string;
|
|
2774
2829
|
/** @description The path to the destination for the publication. */
|
|
@@ -2777,7 +2832,7 @@ interface components {
|
|
|
2777
2832
|
reviewUrl?: string;
|
|
2778
2833
|
}[];
|
|
2779
2834
|
/** @description The type of resource. */
|
|
2780
|
-
resourceTypes?: (
|
|
2835
|
+
resourceTypes?: ('FILE' | 'PROMPT' | 'CONVERSATION' | 'APPLICATION')[];
|
|
2781
2836
|
/** @description List of rules to restrict access to the published resource. */
|
|
2782
2837
|
rules?: {
|
|
2783
2838
|
/** @description Claim for authorization using JWT. For authorization with API keys the source is `roles`. */
|
|
@@ -2788,7 +2843,7 @@ interface components {
|
|
|
2788
2843
|
* @description The function for the rule.
|
|
2789
2844
|
* @enum {string}
|
|
2790
2845
|
*/
|
|
2791
|
-
function?:
|
|
2846
|
+
function?: 'EQUAL' | 'CONTAIN' | 'REGEX';
|
|
2792
2847
|
}[];
|
|
2793
2848
|
};
|
|
2794
2849
|
/** @description Publications */
|
|
@@ -2809,14 +2864,14 @@ interface components {
|
|
|
2809
2864
|
* @description Publication status.
|
|
2810
2865
|
* @enum {string}
|
|
2811
2866
|
*/
|
|
2812
|
-
status?:
|
|
2867
|
+
status?: 'PENDING' | 'APPROVED' | 'REJECTED';
|
|
2813
2868
|
/** @description List of resources to be published. */
|
|
2814
2869
|
resources?: {
|
|
2815
2870
|
/**
|
|
2816
2871
|
* @description The type of action to be performed.
|
|
2817
2872
|
* @enum {string}
|
|
2818
2873
|
*/
|
|
2819
|
-
action?:
|
|
2874
|
+
action?: 'ADD' | 'DELETE' | 'ADD_IF_ABSENT';
|
|
2820
2875
|
/** @description The location of the source for the publication resource. */
|
|
2821
2876
|
sourceUrl?: string;
|
|
2822
2877
|
/** @description The path to the destination for the publication. */
|
|
@@ -2825,7 +2880,7 @@ interface components {
|
|
|
2825
2880
|
reviewUrl?: string;
|
|
2826
2881
|
}[];
|
|
2827
2882
|
/** @description The type of resource. */
|
|
2828
|
-
resourceTypes?: (
|
|
2883
|
+
resourceTypes?: ('FILE' | 'PROMPT' | 'CONVERSATION' | 'APPLICATION')[];
|
|
2829
2884
|
/** @description List of rules to restrict access to the published resource. */
|
|
2830
2885
|
rules?: {
|
|
2831
2886
|
/** @description Claim for authorization using JWT. For authorization with API keys the source is `roles`. */
|
|
@@ -2836,7 +2891,7 @@ interface components {
|
|
|
2836
2891
|
* @description The function for the rule.
|
|
2837
2892
|
* @enum {string}
|
|
2838
2893
|
*/
|
|
2839
|
-
function?:
|
|
2894
|
+
function?: 'EQUAL' | 'CONTAIN' | 'REGEX';
|
|
2840
2895
|
}[];
|
|
2841
2896
|
};
|
|
2842
2897
|
/** @description Publication rules */
|
|
@@ -2855,7 +2910,7 @@ interface components {
|
|
|
2855
2910
|
* @description The function.
|
|
2856
2911
|
* @enum {string}
|
|
2857
2912
|
*/
|
|
2858
|
-
function?:
|
|
2913
|
+
function?: 'EQUAL' | 'CONTAIN' | 'REGEX';
|
|
2859
2914
|
}[];
|
|
2860
2915
|
} & {
|
|
2861
2916
|
[key: string]: unknown;
|
|
@@ -2898,7 +2953,7 @@ interface components {
|
|
|
2898
2953
|
* @description The object type, which is always `chat.completion.chunk`.
|
|
2899
2954
|
* @enum {string}
|
|
2900
2955
|
*/
|
|
2901
|
-
object:
|
|
2956
|
+
object: 'chat.completion.chunk';
|
|
2902
2957
|
/** @description The Unix timestamp (in seconds) of when the chat completion was created. Each chunk has the same timestamp. */
|
|
2903
2958
|
created: number;
|
|
2904
2959
|
/** @description The model name that generated the response. May not be the same as the deployment name. */
|
|
@@ -2912,7 +2967,7 @@ interface components {
|
|
|
2912
2967
|
choices: {
|
|
2913
2968
|
/** @description The index of the choice from 0 to _n - 1_ */
|
|
2914
2969
|
index: number;
|
|
2915
|
-
delta: components[
|
|
2970
|
+
delta: components['schemas']['ChatCompletionStreamResponseDelta'];
|
|
2916
2971
|
/**
|
|
2917
2972
|
* @description The reason the model stopped generating tokens. This will be `stop` if the model hit a natural stop point or a provided stop sequence,
|
|
2918
2973
|
*
|
|
@@ -2933,7 +2988,7 @@ interface components {
|
|
|
2933
2988
|
/** @description The sum of prompt and completion tokens. */
|
|
2934
2989
|
total_tokens: number;
|
|
2935
2990
|
};
|
|
2936
|
-
statistics?: components[
|
|
2991
|
+
statistics?: components['schemas']['ChatCompletionResponseStatistics'];
|
|
2937
2992
|
};
|
|
2938
2993
|
Error: {
|
|
2939
2994
|
type?: string | null;
|
|
@@ -2960,7 +3015,7 @@ interface components {
|
|
|
2960
3015
|
/** @description Application logs */
|
|
2961
3016
|
ApplicationLogs: {
|
|
2962
3017
|
/** @description log records */
|
|
2963
|
-
logs?: components[
|
|
3018
|
+
logs?: components['schemas']['ApplicationLog'][];
|
|
2964
3019
|
};
|
|
2965
3020
|
ApplicationLog: {
|
|
2966
3021
|
/** @description machine instance ID */
|
|
@@ -2998,6 +3053,54 @@ interface components {
|
|
|
2998
3053
|
/** @description Prompt body */
|
|
2999
3054
|
content: string;
|
|
3000
3055
|
};
|
|
3056
|
+
JsonRpcRequest: {
|
|
3057
|
+
/**
|
|
3058
|
+
* @description JSON-RPC protocol version
|
|
3059
|
+
* @enum {string}
|
|
3060
|
+
*/
|
|
3061
|
+
jsonrpc: '2.0';
|
|
3062
|
+
/** @description Name of the method to be invoked. */
|
|
3063
|
+
method: string;
|
|
3064
|
+
/** @description Parameter values for the RPC call. Can be: `array` (by-position parameters) OR `object` (by-name parameters). */
|
|
3065
|
+
params?: unknown[] | Record<string, never>;
|
|
3066
|
+
/**
|
|
3067
|
+
* @description Identifier established by the client. Must be included in the
|
|
3068
|
+
* response if present. If omitted, it's a notification.
|
|
3069
|
+
*/
|
|
3070
|
+
id?: string | number;
|
|
3071
|
+
};
|
|
3072
|
+
JsonRpcResponse: {
|
|
3073
|
+
/**
|
|
3074
|
+
* @description JSON-RPC protocol version
|
|
3075
|
+
* @enum {string}
|
|
3076
|
+
*/
|
|
3077
|
+
jsonrpc: '2.0';
|
|
3078
|
+
/**
|
|
3079
|
+
* @description The successful result of the RPC call. Must not be included
|
|
3080
|
+
* if `error` is present.
|
|
3081
|
+
*/
|
|
3082
|
+
result?: unknown;
|
|
3083
|
+
/**
|
|
3084
|
+
* @description Error object in case of failure. Must not be included
|
|
3085
|
+
* if `result` is present.
|
|
3086
|
+
*/
|
|
3087
|
+
error?: {
|
|
3088
|
+
/** @description Error code. */
|
|
3089
|
+
code: number;
|
|
3090
|
+
/** @description Error message. */
|
|
3091
|
+
message: string;
|
|
3092
|
+
/** @description Additional error information */
|
|
3093
|
+
data?: unknown;
|
|
3094
|
+
};
|
|
3095
|
+
/**
|
|
3096
|
+
* @description Same `id` as in the request. `Null` for certain errors where the
|
|
3097
|
+
* request `id` cannot be determined.
|
|
3098
|
+
*/
|
|
3099
|
+
id?: string | number;
|
|
3100
|
+
};
|
|
3101
|
+
Deployments: {
|
|
3102
|
+
deployments?: (components['schemas']['ModelOpenAi'] | components['schemas']['ApplicationOpenAi'] | components['schemas']['ToolsetOpenAi'])[];
|
|
3103
|
+
};
|
|
3001
3104
|
};
|
|
3002
3105
|
responses: never;
|
|
3003
3106
|
parameters: never;
|
|
@@ -3013,10 +3116,10 @@ interface operations {
|
|
|
3013
3116
|
* @description The API version to use for this request. Follows the `YYYY-MM-DD[-preview]` format.
|
|
3014
3117
|
* @example 2024-10-21
|
|
3015
3118
|
*/
|
|
3016
|
-
|
|
3119
|
+
'api-version': string;
|
|
3017
3120
|
};
|
|
3018
3121
|
header?: {
|
|
3019
|
-
|
|
3122
|
+
'X-CACHE-POLICY'?: 'availability-priority' | 'cache-priority';
|
|
3020
3123
|
};
|
|
3021
3124
|
path: {
|
|
3022
3125
|
/** @description The name of the deployment. */
|
|
@@ -3026,18 +3129,18 @@ interface operations {
|
|
|
3026
3129
|
};
|
|
3027
3130
|
requestBody: {
|
|
3028
3131
|
content: {
|
|
3029
|
-
|
|
3132
|
+
'application/json': {
|
|
3030
3133
|
/** @description The name of the model to use. */
|
|
3031
3134
|
model?: string;
|
|
3032
3135
|
/** @description A list of messages comprising the conversation so far. */
|
|
3033
|
-
messages: components[
|
|
3136
|
+
messages: components['schemas']['ChatCompletionRequestMessage'][];
|
|
3034
3137
|
/**
|
|
3035
3138
|
* @deprecated
|
|
3036
3139
|
* @description Deprecated in favor of `tools`.
|
|
3037
3140
|
*
|
|
3038
3141
|
* A list of functions the model may generate JSON inputs for.
|
|
3039
3142
|
*/
|
|
3040
|
-
functions?: components[
|
|
3143
|
+
functions?: components['schemas']['ChatCompletionFunction'][];
|
|
3041
3144
|
/**
|
|
3042
3145
|
* @deprecated
|
|
3043
3146
|
* @description Deprecated in favor of `tool_choice`.
|
|
@@ -3052,15 +3155,15 @@ interface operations {
|
|
|
3052
3155
|
*
|
|
3053
3156
|
* `none` is the default when no functions are present. `auto` is the default if functions are present.
|
|
3054
3157
|
*/
|
|
3055
|
-
function_call?: (
|
|
3158
|
+
function_call?: ('none' | 'auto') | components['schemas']['ChatCompletionFunctionCallOption'];
|
|
3056
3159
|
/** @description A list of tools the model may call. Currently, only `functions` are supported as a tool. Use this to provide a list of `functions` the model may generate JSON inputs for. A max of 128 functions are supported. */
|
|
3057
|
-
tools?: components[
|
|
3058
|
-
tool_choice?: components[
|
|
3160
|
+
tools?: components['schemas']['ChatCompletionTool'][];
|
|
3161
|
+
tool_choice?: components['schemas']['ChatCompletionToolChoiceOption'];
|
|
3059
3162
|
/**
|
|
3060
3163
|
* @deprecated
|
|
3061
3164
|
* @description A list of Addons the Assistant can use.
|
|
3062
3165
|
*/
|
|
3063
|
-
addons?: components[
|
|
3166
|
+
addons?: components['schemas']['ChatCompletionAddon'][];
|
|
3064
3167
|
/**
|
|
3065
3168
|
* @description If set, partial message deltas will be sent. Tokens will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available, with the stream terminated by a `data: [DONE]` message. [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
|
|
3066
3169
|
* @default false
|
|
@@ -3082,7 +3185,7 @@ interface operations {
|
|
|
3082
3185
|
* @example 1
|
|
3083
3186
|
*/
|
|
3084
3187
|
n?: number | null;
|
|
3085
|
-
parallel_tool_calls?: components[
|
|
3188
|
+
parallel_tool_calls?: components['schemas']['ParallelToolCalls'];
|
|
3086
3189
|
/** @description Up to 4 sequences where the Assistant will stop generating further tokens. */
|
|
3087
3190
|
stop?: (string | null) | string[];
|
|
3088
3191
|
/**
|
|
@@ -3121,9 +3224,7 @@ interface operations {
|
|
|
3121
3224
|
* Accepts a JSON object that maps tokens (specified by their token ID in the tokenizer) to an associated bias value from `-100` to `100`. Mathematically, the bias is added to the `logits` generated by the model prior to sampling. The exact effect will vary per model, but values between `-1` and `1` should decrease or increase the likelihood of a selection; values like `-100` or `100` should result in a ban or exclusive selection of the relevant token.
|
|
3122
3225
|
* @default null
|
|
3123
3226
|
*/
|
|
3124
|
-
logit_bias?:
|
|
3125
|
-
[key: string]: unknown;
|
|
3126
|
-
};
|
|
3227
|
+
logit_bias?: Record<string, never>;
|
|
3127
3228
|
/**
|
|
3128
3229
|
* @description This feature is in **Beta**.
|
|
3129
3230
|
*
|
|
@@ -3144,8 +3245,8 @@ interface operations {
|
|
|
3144
3245
|
*
|
|
3145
3246
|
* **Note:** JSON mode is not supported by all models.
|
|
3146
3247
|
*/
|
|
3147
|
-
response_format?: components[
|
|
3148
|
-
custom_fields?: components[
|
|
3248
|
+
response_format?: components['schemas']['ResponseFormatText'] | components['schemas']['ResponseFormatJsonObject'] | components['schemas']['ResponseFormatJsonSchema'];
|
|
3249
|
+
custom_fields?: components['schemas']['ChatCompletionsCustomFields'];
|
|
3149
3250
|
};
|
|
3150
3251
|
};
|
|
3151
3252
|
};
|
|
@@ -3156,8 +3257,8 @@ interface operations {
|
|
|
3156
3257
|
[name: string]: unknown;
|
|
3157
3258
|
};
|
|
3158
3259
|
content: {
|
|
3159
|
-
|
|
3160
|
-
|
|
3260
|
+
'application/json': components['schemas']['CreateChatCompletionResponse'];
|
|
3261
|
+
'text/event-stream': components['schemas']['CreateChatCompletionStreamResponse'][];
|
|
3161
3262
|
};
|
|
3162
3263
|
};
|
|
3163
3264
|
/** @description Invalid Authentication */
|
|
@@ -3166,8 +3267,8 @@ interface operations {
|
|
|
3166
3267
|
[name: string]: unknown;
|
|
3167
3268
|
};
|
|
3168
3269
|
content: {
|
|
3169
|
-
|
|
3170
|
-
error?: components[
|
|
3270
|
+
'application/json': {
|
|
3271
|
+
error?: components['schemas']['Error'];
|
|
3171
3272
|
};
|
|
3172
3273
|
};
|
|
3173
3274
|
};
|
|
@@ -3183,8 +3284,8 @@ interface operations {
|
|
|
3183
3284
|
[name: string]: unknown;
|
|
3184
3285
|
};
|
|
3185
3286
|
content: {
|
|
3186
|
-
|
|
3187
|
-
error?: components[
|
|
3287
|
+
'application/json': {
|
|
3288
|
+
error?: components['schemas']['Error'];
|
|
3188
3289
|
};
|
|
3189
3290
|
};
|
|
3190
3291
|
};
|
|
@@ -3194,8 +3295,8 @@ interface operations {
|
|
|
3194
3295
|
[name: string]: unknown;
|
|
3195
3296
|
};
|
|
3196
3297
|
content: {
|
|
3197
|
-
|
|
3198
|
-
error?: components[
|
|
3298
|
+
'application/json': {
|
|
3299
|
+
error?: components['schemas']['Error'];
|
|
3199
3300
|
};
|
|
3200
3301
|
};
|
|
3201
3302
|
};
|
|
@@ -3205,8 +3306,19 @@ interface operations {
|
|
|
3205
3306
|
[name: string]: unknown;
|
|
3206
3307
|
};
|
|
3207
3308
|
content: {
|
|
3208
|
-
|
|
3209
|
-
error?: components[
|
|
3309
|
+
'application/json': {
|
|
3310
|
+
error?: components['schemas']['Error'];
|
|
3311
|
+
};
|
|
3312
|
+
};
|
|
3313
|
+
};
|
|
3314
|
+
/** @description Failed to connect to upstream server. */
|
|
3315
|
+
502: {
|
|
3316
|
+
headers: {
|
|
3317
|
+
[name: string]: unknown;
|
|
3318
|
+
};
|
|
3319
|
+
content: {
|
|
3320
|
+
'application/json': {
|
|
3321
|
+
error?: components['schemas']['Error'];
|
|
3210
3322
|
};
|
|
3211
3323
|
};
|
|
3212
3324
|
};
|
|
@@ -3216,8 +3328,8 @@ interface operations {
|
|
|
3216
3328
|
[name: string]: unknown;
|
|
3217
3329
|
};
|
|
3218
3330
|
content: {
|
|
3219
|
-
|
|
3220
|
-
error?: components[
|
|
3331
|
+
'application/json': {
|
|
3332
|
+
error?: components['schemas']['Error'];
|
|
3221
3333
|
};
|
|
3222
3334
|
};
|
|
3223
3335
|
};
|
|
@@ -3241,9 +3353,7 @@ interface operations {
|
|
|
3241
3353
|
[name: string]: unknown;
|
|
3242
3354
|
};
|
|
3243
3355
|
content: {
|
|
3244
|
-
|
|
3245
|
-
[key: string]: unknown;
|
|
3246
|
-
};
|
|
3356
|
+
'application/json': Record<string, never>;
|
|
3247
3357
|
};
|
|
3248
3358
|
};
|
|
3249
3359
|
/** @description Invalid Authentication */
|
|
@@ -3262,7 +3372,7 @@ interface operations {
|
|
|
3262
3372
|
* @description The API version to use for this request. Follows the `YYYY-MM-DD[-preview]` format.
|
|
3263
3373
|
* @example 2023-12-01-preview
|
|
3264
3374
|
*/
|
|
3265
|
-
|
|
3375
|
+
'api-version': string;
|
|
3266
3376
|
};
|
|
3267
3377
|
header?: never;
|
|
3268
3378
|
path: {
|
|
@@ -3273,7 +3383,7 @@ interface operations {
|
|
|
3273
3383
|
};
|
|
3274
3384
|
requestBody: {
|
|
3275
3385
|
content: {
|
|
3276
|
-
|
|
3386
|
+
'application/json': components['schemas']['EmbeddingRequest'];
|
|
3277
3387
|
};
|
|
3278
3388
|
};
|
|
3279
3389
|
responses: {
|
|
@@ -3283,7 +3393,7 @@ interface operations {
|
|
|
3283
3393
|
[name: string]: unknown;
|
|
3284
3394
|
};
|
|
3285
3395
|
content: {
|
|
3286
|
-
|
|
3396
|
+
'application/json': components['schemas']['EmbeddingResponse'];
|
|
3287
3397
|
};
|
|
3288
3398
|
};
|
|
3289
3399
|
/** @description Invalid Authentication */
|
|
@@ -3292,8 +3402,8 @@ interface operations {
|
|
|
3292
3402
|
[name: string]: unknown;
|
|
3293
3403
|
};
|
|
3294
3404
|
content: {
|
|
3295
|
-
|
|
3296
|
-
error?: components[
|
|
3405
|
+
'application/json': {
|
|
3406
|
+
error?: components['schemas']['Error'];
|
|
3297
3407
|
};
|
|
3298
3408
|
};
|
|
3299
3409
|
};
|
|
@@ -3309,8 +3419,8 @@ interface operations {
|
|
|
3309
3419
|
[name: string]: unknown;
|
|
3310
3420
|
};
|
|
3311
3421
|
content: {
|
|
3312
|
-
|
|
3313
|
-
error?: components[
|
|
3422
|
+
'application/json': {
|
|
3423
|
+
error?: components['schemas']['Error'];
|
|
3314
3424
|
};
|
|
3315
3425
|
};
|
|
3316
3426
|
};
|
|
@@ -3320,8 +3430,8 @@ interface operations {
|
|
|
3320
3430
|
[name: string]: unknown;
|
|
3321
3431
|
};
|
|
3322
3432
|
content: {
|
|
3323
|
-
|
|
3324
|
-
error?: components[
|
|
3433
|
+
'application/json': {
|
|
3434
|
+
error?: components['schemas']['Error'];
|
|
3325
3435
|
};
|
|
3326
3436
|
};
|
|
3327
3437
|
};
|
|
@@ -3331,8 +3441,8 @@ interface operations {
|
|
|
3331
3441
|
[name: string]: unknown;
|
|
3332
3442
|
};
|
|
3333
3443
|
content: {
|
|
3334
|
-
|
|
3335
|
-
error?: components[
|
|
3444
|
+
'application/json': {
|
|
3445
|
+
error?: components['schemas']['Error'];
|
|
3336
3446
|
};
|
|
3337
3447
|
};
|
|
3338
3448
|
};
|
|
@@ -3342,8 +3452,8 @@ interface operations {
|
|
|
3342
3452
|
[name: string]: unknown;
|
|
3343
3453
|
};
|
|
3344
3454
|
content: {
|
|
3345
|
-
|
|
3346
|
-
error?: components[
|
|
3455
|
+
'application/json': {
|
|
3456
|
+
error?: components['schemas']['Error'];
|
|
3347
3457
|
};
|
|
3348
3458
|
};
|
|
3349
3459
|
};
|
|
@@ -3361,7 +3471,7 @@ interface operations {
|
|
|
3361
3471
|
};
|
|
3362
3472
|
requestBody: {
|
|
3363
3473
|
content: {
|
|
3364
|
-
|
|
3474
|
+
'application/json': {
|
|
3365
3475
|
/** @description True if you like the message and false otherwise */
|
|
3366
3476
|
rate?: boolean;
|
|
3367
3477
|
/** @description Id received in the target chat completion response */
|
|
@@ -3401,7 +3511,7 @@ interface operations {
|
|
|
3401
3511
|
[name: string]: unknown;
|
|
3402
3512
|
};
|
|
3403
3513
|
content: {
|
|
3404
|
-
|
|
3514
|
+
'application/json': components['schemas']['userinfo'];
|
|
3405
3515
|
};
|
|
3406
3516
|
};
|
|
3407
3517
|
/** @description Invalid Authentication */
|
|
@@ -3432,7 +3542,7 @@ interface operations {
|
|
|
3432
3542
|
};
|
|
3433
3543
|
requestBody: {
|
|
3434
3544
|
content: {
|
|
3435
|
-
|
|
3545
|
+
'application/json': string;
|
|
3436
3546
|
};
|
|
3437
3547
|
};
|
|
3438
3548
|
responses: {
|
|
@@ -3442,7 +3552,48 @@ interface operations {
|
|
|
3442
3552
|
[name: string]: unknown;
|
|
3443
3553
|
};
|
|
3444
3554
|
content: {
|
|
3445
|
-
|
|
3555
|
+
'application/json': Record<string, never>;
|
|
3556
|
+
};
|
|
3557
|
+
};
|
|
3558
|
+
/** @description Invalid Authentication */
|
|
3559
|
+
400: {
|
|
3560
|
+
headers: {
|
|
3561
|
+
[name: string]: unknown;
|
|
3562
|
+
};
|
|
3563
|
+
content?: never;
|
|
3564
|
+
};
|
|
3565
|
+
/** @description Unauthorized */
|
|
3566
|
+
401: {
|
|
3567
|
+
headers: {
|
|
3568
|
+
[name: string]: unknown;
|
|
3569
|
+
};
|
|
3570
|
+
content?: never;
|
|
3571
|
+
};
|
|
3572
|
+
};
|
|
3573
|
+
};
|
|
3574
|
+
callMcp: {
|
|
3575
|
+
parameters: {
|
|
3576
|
+
query?: never;
|
|
3577
|
+
header?: never;
|
|
3578
|
+
path: {
|
|
3579
|
+
/** @description The ID of the deployment. */
|
|
3580
|
+
deployment_id: string;
|
|
3581
|
+
};
|
|
3582
|
+
cookie?: never;
|
|
3583
|
+
};
|
|
3584
|
+
requestBody: {
|
|
3585
|
+
content: {
|
|
3586
|
+
'application/json': string;
|
|
3587
|
+
};
|
|
3588
|
+
};
|
|
3589
|
+
responses: {
|
|
3590
|
+
/** @description Success */
|
|
3591
|
+
200: {
|
|
3592
|
+
headers: {
|
|
3593
|
+
[name: string]: unknown;
|
|
3594
|
+
};
|
|
3595
|
+
content: {
|
|
3596
|
+
'application/json': Record<string, never>;
|
|
3446
3597
|
};
|
|
3447
3598
|
};
|
|
3448
3599
|
/** @description Invalid Authentication */
|
|
@@ -3470,7 +3621,7 @@ interface operations {
|
|
|
3470
3621
|
};
|
|
3471
3622
|
requestBody: {
|
|
3472
3623
|
content: {
|
|
3473
|
-
|
|
3624
|
+
'application/json': {
|
|
3474
3625
|
/** @description The application URL. */
|
|
3475
3626
|
url?: string;
|
|
3476
3627
|
};
|
|
@@ -3483,7 +3634,7 @@ interface operations {
|
|
|
3483
3634
|
[name: string]: unknown;
|
|
3484
3635
|
};
|
|
3485
3636
|
content: {
|
|
3486
|
-
|
|
3637
|
+
'application/json': components['schemas']['ApplicationOpenAi'];
|
|
3487
3638
|
};
|
|
3488
3639
|
};
|
|
3489
3640
|
/** @description Bad request */
|
|
@@ -3525,7 +3676,7 @@ interface operations {
|
|
|
3525
3676
|
};
|
|
3526
3677
|
requestBody: {
|
|
3527
3678
|
content: {
|
|
3528
|
-
|
|
3679
|
+
'application/json': {
|
|
3529
3680
|
/** @description The application URL. */
|
|
3530
3681
|
url?: string;
|
|
3531
3682
|
};
|
|
@@ -3538,7 +3689,7 @@ interface operations {
|
|
|
3538
3689
|
[name: string]: unknown;
|
|
3539
3690
|
};
|
|
3540
3691
|
content: {
|
|
3541
|
-
|
|
3692
|
+
'application/json': components['schemas']['ApplicationOpenAi'];
|
|
3542
3693
|
};
|
|
3543
3694
|
};
|
|
3544
3695
|
/** @description Bad request */
|
|
@@ -3580,7 +3731,7 @@ interface operations {
|
|
|
3580
3731
|
};
|
|
3581
3732
|
requestBody: {
|
|
3582
3733
|
content: {
|
|
3583
|
-
|
|
3734
|
+
'application/json': {
|
|
3584
3735
|
/** @description The application URL. */
|
|
3585
3736
|
url?: string;
|
|
3586
3737
|
};
|
|
@@ -3593,7 +3744,7 @@ interface operations {
|
|
|
3593
3744
|
[name: string]: unknown;
|
|
3594
3745
|
};
|
|
3595
3746
|
content: {
|
|
3596
|
-
|
|
3747
|
+
'application/json': components['schemas']['ApplicationOpenAi'];
|
|
3597
3748
|
};
|
|
3598
3749
|
};
|
|
3599
3750
|
/** @description Bad request */
|
|
@@ -3635,7 +3786,7 @@ interface operations {
|
|
|
3635
3786
|
};
|
|
3636
3787
|
requestBody: {
|
|
3637
3788
|
content: {
|
|
3638
|
-
|
|
3789
|
+
'application/json': {
|
|
3639
3790
|
/** @description The application URL. */
|
|
3640
3791
|
url?: string;
|
|
3641
3792
|
};
|
|
@@ -3648,7 +3799,7 @@ interface operations {
|
|
|
3648
3799
|
[name: string]: unknown;
|
|
3649
3800
|
};
|
|
3650
3801
|
content: {
|
|
3651
|
-
|
|
3802
|
+
'application/json': components['schemas']['ApplicationLogs'];
|
|
3652
3803
|
};
|
|
3653
3804
|
};
|
|
3654
3805
|
/** @description Bad request */
|
|
@@ -3696,17 +3847,17 @@ interface operations {
|
|
|
3696
3847
|
[name: string]: unknown;
|
|
3697
3848
|
};
|
|
3698
3849
|
content: {
|
|
3699
|
-
|
|
3850
|
+
'application/json': {
|
|
3700
3851
|
/** @description Unique identifier for the application schema. */
|
|
3701
3852
|
$id?: string;
|
|
3702
3853
|
/** @description Name of the application type displayed on the UI. */
|
|
3703
|
-
|
|
3854
|
+
'dial:applicationTypeDisplayName'?: string;
|
|
3704
3855
|
/** @description URL for the UI of the application type. */
|
|
3705
|
-
|
|
3856
|
+
'dial:applicationTypeViewerUrl'?: string;
|
|
3706
3857
|
/** @description URL for the application builder used by the app type. */
|
|
3707
|
-
|
|
3858
|
+
'dial:applicationTypeEditorUrl'?: string;
|
|
3708
3859
|
/** @description URL to retrieve JSON schema of the application. */
|
|
3709
|
-
|
|
3860
|
+
'dial:applicationTypeSchemaEndpoint'?: string;
|
|
3710
3861
|
}[];
|
|
3711
3862
|
};
|
|
3712
3863
|
};
|
|
@@ -3741,7 +3892,7 @@ interface operations {
|
|
|
3741
3892
|
[name: string]: unknown;
|
|
3742
3893
|
};
|
|
3743
3894
|
content: {
|
|
3744
|
-
|
|
3895
|
+
'application/json': Record<string, never>;
|
|
3745
3896
|
};
|
|
3746
3897
|
};
|
|
3747
3898
|
/** @description Invalid Authentication */
|
|
@@ -3778,7 +3929,7 @@ interface operations {
|
|
|
3778
3929
|
[name: string]: unknown;
|
|
3779
3930
|
};
|
|
3780
3931
|
content: {
|
|
3781
|
-
|
|
3932
|
+
'application/json': Record<string, never>;
|
|
3782
3933
|
};
|
|
3783
3934
|
};
|
|
3784
3935
|
/** @description Bad request */
|
|
@@ -3824,7 +3975,7 @@ interface operations {
|
|
|
3824
3975
|
[name: string]: unknown;
|
|
3825
3976
|
};
|
|
3826
3977
|
content: {
|
|
3827
|
-
|
|
3978
|
+
'application/json': string;
|
|
3828
3979
|
};
|
|
3829
3980
|
};
|
|
3830
3981
|
/** @description Invalid Authentication */
|
|
@@ -3845,12 +3996,12 @@ interface operations {
|
|
|
3845
3996
|
* If the application does not exist, this header is ignored.
|
|
3846
3997
|
* If this header is not provided or the value is "*", any existing application at the specified path will be overwritten.
|
|
3847
3998
|
*/
|
|
3848
|
-
|
|
3999
|
+
'If-Match'?: string;
|
|
3849
4000
|
/**
|
|
3850
4001
|
* @description The entity tag (ETag) used to ensure that the application is only uploaded if it does not already exist.
|
|
3851
4002
|
* The only supported value is "*".
|
|
3852
4003
|
*/
|
|
3853
|
-
|
|
4004
|
+
'If-None-Match'?: string;
|
|
3854
4005
|
};
|
|
3855
4006
|
path: {
|
|
3856
4007
|
/** @description The target bucket. */
|
|
@@ -3862,7 +4013,7 @@ interface operations {
|
|
|
3862
4013
|
};
|
|
3863
4014
|
requestBody: {
|
|
3864
4015
|
content: {
|
|
3865
|
-
|
|
4016
|
+
'application/json': string;
|
|
3866
4017
|
};
|
|
3867
4018
|
};
|
|
3868
4019
|
responses: {
|
|
@@ -3872,7 +4023,7 @@ interface operations {
|
|
|
3872
4023
|
[name: string]: unknown;
|
|
3873
4024
|
};
|
|
3874
4025
|
content: {
|
|
3875
|
-
|
|
4026
|
+
'application/json': {
|
|
3876
4027
|
name?: string;
|
|
3877
4028
|
author?: string;
|
|
3878
4029
|
parentPath?: string;
|
|
@@ -3906,7 +4057,7 @@ interface operations {
|
|
|
3906
4057
|
query?: never;
|
|
3907
4058
|
header?: {
|
|
3908
4059
|
/** @description The entity tag (ETag) of the application. This is used for conditional requests to ensure that the application is only deleted if it matches the specified ETag. */
|
|
3909
|
-
|
|
4060
|
+
'If-Match'?: string;
|
|
3910
4061
|
};
|
|
3911
4062
|
path: {
|
|
3912
4063
|
/** @description The target bucket. */
|
|
@@ -3974,7 +4125,7 @@ interface operations {
|
|
|
3974
4125
|
[name: string]: unknown;
|
|
3975
4126
|
};
|
|
3976
4127
|
content: {
|
|
3977
|
-
|
|
4128
|
+
'application/json': {
|
|
3978
4129
|
name?: string;
|
|
3979
4130
|
/** @description This field is not available for folders. */
|
|
3980
4131
|
author?: string;
|
|
@@ -3989,7 +4140,7 @@ interface operations {
|
|
|
3989
4140
|
/** @description The creation time is not supported by all storage providers. */
|
|
3990
4141
|
createdAt?: number;
|
|
3991
4142
|
updatedAt?: number;
|
|
3992
|
-
permissions?: (
|
|
4143
|
+
permissions?: ('READ' | 'WRITE' | 'SHARE')[];
|
|
3993
4144
|
items?: {
|
|
3994
4145
|
name?: string;
|
|
3995
4146
|
parentPath?: string;
|
|
@@ -3999,7 +4150,7 @@ interface operations {
|
|
|
3999
4150
|
resourceType?: string;
|
|
4000
4151
|
createdAt?: number;
|
|
4001
4152
|
updatedAt?: number;
|
|
4002
|
-
permissions?: (
|
|
4153
|
+
permissions?: ('READ' | 'WRITE')[];
|
|
4003
4154
|
}[];
|
|
4004
4155
|
/** @description An optional field that can be used to request next items if present. */
|
|
4005
4156
|
nextToken?: string;
|
|
@@ -4030,7 +4181,7 @@ interface operations {
|
|
|
4030
4181
|
[name: string]: unknown;
|
|
4031
4182
|
};
|
|
4032
4183
|
content: {
|
|
4033
|
-
|
|
4184
|
+
'application/json': {
|
|
4034
4185
|
bucket: string;
|
|
4035
4186
|
/** @description Bucket of the root user, allowing to manage user files in the assistant folder. Exists only for requests made using temporary api-key that were generated for the request to the dial assistants. */
|
|
4036
4187
|
appdata?: string;
|
|
@@ -4066,7 +4217,7 @@ interface operations {
|
|
|
4066
4217
|
[name: string]: unknown;
|
|
4067
4218
|
};
|
|
4068
4219
|
content: {
|
|
4069
|
-
|
|
4220
|
+
'application/octet-stream': string;
|
|
4070
4221
|
};
|
|
4071
4222
|
};
|
|
4072
4223
|
/** @description Invalid Authentication */
|
|
@@ -4084,15 +4235,15 @@ interface operations {
|
|
|
4084
4235
|
header?: {
|
|
4085
4236
|
/**
|
|
4086
4237
|
* @description The entity tag (ETag) of the file. This is used for conditional requests to ensure that the file is only uploaded if it matches the specified ETag.
|
|
4087
|
-
* If the file does not exist, this header is
|
|
4238
|
+
* If the file does not exist, and this header is provided, the request returns 412 Precondition Failed response.
|
|
4088
4239
|
* If this header is not provided or the value is "*", any existing file at the specified path will be overwritten.
|
|
4089
4240
|
*/
|
|
4090
|
-
|
|
4241
|
+
'If-Match'?: string;
|
|
4091
4242
|
/**
|
|
4092
4243
|
* @description The entity tag (ETag) used to ensure that the file is only uploaded if it does not already exist.
|
|
4093
4244
|
* The only supported value is "*".
|
|
4094
4245
|
*/
|
|
4095
|
-
|
|
4246
|
+
'If-None-Match'?: string;
|
|
4096
4247
|
};
|
|
4097
4248
|
path: {
|
|
4098
4249
|
/** @description The target bucket. */
|
|
@@ -4104,7 +4255,7 @@ interface operations {
|
|
|
4104
4255
|
};
|
|
4105
4256
|
requestBody: {
|
|
4106
4257
|
content: {
|
|
4107
|
-
|
|
4258
|
+
'multipart/form-data': {
|
|
4108
4259
|
/**
|
|
4109
4260
|
* Format: binary
|
|
4110
4261
|
* @description A part of multipart/form-data request
|
|
@@ -4120,7 +4271,7 @@ interface operations {
|
|
|
4120
4271
|
[name: string]: unknown;
|
|
4121
4272
|
};
|
|
4122
4273
|
content: {
|
|
4123
|
-
|
|
4274
|
+
'application/json': {
|
|
4124
4275
|
name?: string;
|
|
4125
4276
|
parentPath?: string;
|
|
4126
4277
|
bucket?: string;
|
|
@@ -4153,7 +4304,7 @@ interface operations {
|
|
|
4153
4304
|
query?: never;
|
|
4154
4305
|
header?: {
|
|
4155
4306
|
/** @description The entity tag (ETag) of the file. This is used for conditional requests to ensure that the file is only deleted if it matches the specified ETag. */
|
|
4156
|
-
|
|
4307
|
+
'If-Match'?: string;
|
|
4157
4308
|
};
|
|
4158
4309
|
path: {
|
|
4159
4310
|
/** @description The target bucket. */
|
|
@@ -4221,7 +4372,7 @@ interface operations {
|
|
|
4221
4372
|
[name: string]: unknown;
|
|
4222
4373
|
};
|
|
4223
4374
|
content: {
|
|
4224
|
-
|
|
4375
|
+
'application/json': {
|
|
4225
4376
|
name?: string;
|
|
4226
4377
|
/** @description This field is not available for folders. */
|
|
4227
4378
|
author?: string;
|
|
@@ -4237,7 +4388,7 @@ interface operations {
|
|
|
4237
4388
|
updatedAt?: number;
|
|
4238
4389
|
contentLength?: number;
|
|
4239
4390
|
contentType?: string;
|
|
4240
|
-
permissions?: (
|
|
4391
|
+
permissions?: ('READ' | 'WRITE' | 'SHARE')[];
|
|
4241
4392
|
/** @description This field is only available for folders. */
|
|
4242
4393
|
items?: {
|
|
4243
4394
|
name?: string;
|
|
@@ -4250,7 +4401,7 @@ interface operations {
|
|
|
4250
4401
|
updatedAt?: number;
|
|
4251
4402
|
contentLength?: number;
|
|
4252
4403
|
contentType?: string;
|
|
4253
|
-
permissions?: (
|
|
4404
|
+
permissions?: ('READ' | 'WRITE' | 'SHARE')[];
|
|
4254
4405
|
}[];
|
|
4255
4406
|
};
|
|
4256
4407
|
};
|
|
@@ -4273,7 +4424,7 @@ interface operations {
|
|
|
4273
4424
|
};
|
|
4274
4425
|
requestBody: {
|
|
4275
4426
|
content: {
|
|
4276
|
-
|
|
4427
|
+
'application/json': {
|
|
4277
4428
|
/** @description Source URL. Must belong to the user. */
|
|
4278
4429
|
sourceUrl?: string;
|
|
4279
4430
|
/** @description Destination URL. Must belong to the user and be of the same type as the source URL. */
|
|
@@ -4316,7 +4467,7 @@ interface operations {
|
|
|
4316
4467
|
};
|
|
4317
4468
|
requestBody: {
|
|
4318
4469
|
content: {
|
|
4319
|
-
|
|
4470
|
+
'application/json': {
|
|
4320
4471
|
/** @description Source URL. Must belong to the user. */
|
|
4321
4472
|
sourceUrl?: string;
|
|
4322
4473
|
/** @description Destination URL. Must belong to the user and be of the same type as the source URL. */
|
|
@@ -4370,7 +4521,7 @@ interface operations {
|
|
|
4370
4521
|
[name: string]: unknown;
|
|
4371
4522
|
};
|
|
4372
4523
|
content: {
|
|
4373
|
-
|
|
4524
|
+
'application/json': string;
|
|
4374
4525
|
};
|
|
4375
4526
|
};
|
|
4376
4527
|
/** @description Invalid Authentication */
|
|
@@ -4391,12 +4542,12 @@ interface operations {
|
|
|
4391
4542
|
* If the conversation does not exist, this header is ignored.
|
|
4392
4543
|
* If this header is not provided or the value is "*", any existing conversation at the specified path will be overwritten.
|
|
4393
4544
|
*/
|
|
4394
|
-
|
|
4545
|
+
'If-Match'?: string;
|
|
4395
4546
|
/**
|
|
4396
4547
|
* @description The entity tag (ETag) used to ensure that the conversation is only uploaded if it does not already exist.
|
|
4397
4548
|
* The only supported value is "*".
|
|
4398
4549
|
*/
|
|
4399
|
-
|
|
4550
|
+
'If-None-Match'?: string;
|
|
4400
4551
|
};
|
|
4401
4552
|
path: {
|
|
4402
4553
|
/** @description The target bucket. */
|
|
@@ -4408,7 +4559,7 @@ interface operations {
|
|
|
4408
4559
|
};
|
|
4409
4560
|
requestBody: {
|
|
4410
4561
|
content: {
|
|
4411
|
-
|
|
4562
|
+
'application/json': string;
|
|
4412
4563
|
};
|
|
4413
4564
|
};
|
|
4414
4565
|
responses: {
|
|
@@ -4418,7 +4569,7 @@ interface operations {
|
|
|
4418
4569
|
[name: string]: unknown;
|
|
4419
4570
|
};
|
|
4420
4571
|
content: {
|
|
4421
|
-
|
|
4572
|
+
'application/json': {
|
|
4422
4573
|
name?: string;
|
|
4423
4574
|
parentPath?: string;
|
|
4424
4575
|
bucket?: string;
|
|
@@ -4451,7 +4602,7 @@ interface operations {
|
|
|
4451
4602
|
query?: never;
|
|
4452
4603
|
header?: {
|
|
4453
4604
|
/** @description The entity tag (ETag) of the conversation. This is used for conditional requests to ensure that the conversation is only deleted if it matches the specified ETag. */
|
|
4454
|
-
|
|
4605
|
+
'If-Match'?: string;
|
|
4455
4606
|
};
|
|
4456
4607
|
path: {
|
|
4457
4608
|
/** @description The target bucket. */
|
|
@@ -4519,7 +4670,7 @@ interface operations {
|
|
|
4519
4670
|
[name: string]: unknown;
|
|
4520
4671
|
};
|
|
4521
4672
|
content: {
|
|
4522
|
-
|
|
4673
|
+
'application/json': {
|
|
4523
4674
|
name?: string;
|
|
4524
4675
|
/** @description This field is not available for folders. */
|
|
4525
4676
|
author?: string;
|
|
@@ -4533,7 +4684,7 @@ interface operations {
|
|
|
4533
4684
|
/** @description The creation time is not supported by all storage providers. */
|
|
4534
4685
|
createdAt?: number;
|
|
4535
4686
|
updatedAt?: number;
|
|
4536
|
-
permissions?: (
|
|
4687
|
+
permissions?: ('READ' | 'WRITE' | 'SHARE')[];
|
|
4537
4688
|
items?: {
|
|
4538
4689
|
name?: string;
|
|
4539
4690
|
parentPath?: string;
|
|
@@ -4543,7 +4694,7 @@ interface operations {
|
|
|
4543
4694
|
resourceType?: string;
|
|
4544
4695
|
createdAt?: number;
|
|
4545
4696
|
updatedAt?: number;
|
|
4546
|
-
permissions?: (
|
|
4697
|
+
permissions?: ('READ' | 'WRITE' | 'SHARE')[];
|
|
4547
4698
|
}[];
|
|
4548
4699
|
/** @description An optional field that can be used to request next items if present. */
|
|
4549
4700
|
nextToken?: string;
|
|
@@ -4579,7 +4730,7 @@ interface operations {
|
|
|
4579
4730
|
[name: string]: unknown;
|
|
4580
4731
|
};
|
|
4581
4732
|
content: {
|
|
4582
|
-
|
|
4733
|
+
'application/json': {
|
|
4583
4734
|
/** @description Prompt unique identifier */
|
|
4584
4735
|
id?: string;
|
|
4585
4736
|
/** @description Path to the folder where prompt located according to the user's root */
|
|
@@ -4609,12 +4760,12 @@ interface operations {
|
|
|
4609
4760
|
* If the prompt does not exist, this header is ignored.
|
|
4610
4761
|
* If this header is not provided or the value is "*", any existing prompt at the specified path will be overwritten.
|
|
4611
4762
|
*/
|
|
4612
|
-
|
|
4763
|
+
'If-Match'?: string;
|
|
4613
4764
|
/**
|
|
4614
4765
|
* @description The entity tag (ETag) used to ensure that the prompt is only uploaded if it does not already exist.
|
|
4615
4766
|
* The only supported value is "*".
|
|
4616
4767
|
*/
|
|
4617
|
-
|
|
4768
|
+
'If-None-Match'?: string;
|
|
4618
4769
|
};
|
|
4619
4770
|
path: {
|
|
4620
4771
|
/** @description The target bucket. */
|
|
@@ -4626,7 +4777,7 @@ interface operations {
|
|
|
4626
4777
|
};
|
|
4627
4778
|
requestBody: {
|
|
4628
4779
|
content: {
|
|
4629
|
-
|
|
4780
|
+
'application/json': components['schemas']['PromptRequest'];
|
|
4630
4781
|
};
|
|
4631
4782
|
};
|
|
4632
4783
|
responses: {
|
|
@@ -4636,7 +4787,7 @@ interface operations {
|
|
|
4636
4787
|
[name: string]: unknown;
|
|
4637
4788
|
};
|
|
4638
4789
|
content: {
|
|
4639
|
-
|
|
4790
|
+
'application/json': {
|
|
4640
4791
|
/** @description Resource name provided in the prompt path */
|
|
4641
4792
|
name?: string;
|
|
4642
4793
|
/** @description Relative path to the resource starting with the bucket identifier */
|
|
@@ -4649,7 +4800,7 @@ interface operations {
|
|
|
4649
4800
|
* @description A node type
|
|
4650
4801
|
* @enum {string}
|
|
4651
4802
|
*/
|
|
4652
|
-
nodeType?:
|
|
4803
|
+
nodeType?: 'ITEM' | 'FOLDER';
|
|
4653
4804
|
/** @description A resource type */
|
|
4654
4805
|
resourceType?: string;
|
|
4655
4806
|
/** @description This field is not available for folders. */
|
|
@@ -4657,7 +4808,7 @@ interface operations {
|
|
|
4657
4808
|
/** @description The creation time is not supported by all storage providers. */
|
|
4658
4809
|
createdAt?: number;
|
|
4659
4810
|
updatedAt?: number;
|
|
4660
|
-
permissions?: (
|
|
4811
|
+
permissions?: ('READ' | 'WRITE' | 'SHARE')[];
|
|
4661
4812
|
};
|
|
4662
4813
|
};
|
|
4663
4814
|
};
|
|
@@ -4682,7 +4833,7 @@ interface operations {
|
|
|
4682
4833
|
query?: never;
|
|
4683
4834
|
header?: {
|
|
4684
4835
|
/** @description The entity tag (ETag) of the prompt. This is used for conditional requests to ensure that the prompt is only deleted if it matches the specified ETag. */
|
|
4685
|
-
|
|
4836
|
+
'If-Match'?: string;
|
|
4686
4837
|
};
|
|
4687
4838
|
path: {
|
|
4688
4839
|
/** @description The target bucket. */
|
|
@@ -4750,7 +4901,7 @@ interface operations {
|
|
|
4750
4901
|
[name: string]: unknown;
|
|
4751
4902
|
};
|
|
4752
4903
|
content: {
|
|
4753
|
-
|
|
4904
|
+
'application/json': {
|
|
4754
4905
|
name?: string;
|
|
4755
4906
|
author?: string;
|
|
4756
4907
|
parentPath?: string;
|
|
@@ -4807,7 +4958,7 @@ interface operations {
|
|
|
4807
4958
|
[name: string]: unknown;
|
|
4808
4959
|
};
|
|
4809
4960
|
content: {
|
|
4810
|
-
|
|
4961
|
+
'application/json': components['schemas']['Toolset'];
|
|
4811
4962
|
};
|
|
4812
4963
|
};
|
|
4813
4964
|
/** @description Invalid Authentication */
|
|
@@ -4816,8 +4967,8 @@ interface operations {
|
|
|
4816
4967
|
[name: string]: unknown;
|
|
4817
4968
|
};
|
|
4818
4969
|
content: {
|
|
4819
|
-
|
|
4820
|
-
error?: components[
|
|
4970
|
+
'application/json': {
|
|
4971
|
+
error?: components['schemas']['Error'];
|
|
4821
4972
|
};
|
|
4822
4973
|
};
|
|
4823
4974
|
};
|
|
@@ -4832,12 +4983,12 @@ interface operations {
|
|
|
4832
4983
|
* If the toolset does not exist, this header is ignored.
|
|
4833
4984
|
* If this header is not provided or the value is "*", any existing toolset at the specified path will be overwritten.
|
|
4834
4985
|
*/
|
|
4835
|
-
|
|
4986
|
+
'If-Match'?: string;
|
|
4836
4987
|
/**
|
|
4837
4988
|
* @description The entity tag (ETag) used to ensure that the toolset is only uploaded if it does not already exist.
|
|
4838
4989
|
* The only supported value is "*".
|
|
4839
4990
|
*/
|
|
4840
|
-
|
|
4991
|
+
'If-None-Match'?: string;
|
|
4841
4992
|
};
|
|
4842
4993
|
path: {
|
|
4843
4994
|
/** @description The target bucket. */
|
|
@@ -4849,7 +5000,7 @@ interface operations {
|
|
|
4849
5000
|
};
|
|
4850
5001
|
requestBody: {
|
|
4851
5002
|
content: {
|
|
4852
|
-
|
|
5003
|
+
'application/json': components['schemas']['Toolset'];
|
|
4853
5004
|
};
|
|
4854
5005
|
};
|
|
4855
5006
|
responses: {
|
|
@@ -4859,7 +5010,7 @@ interface operations {
|
|
|
4859
5010
|
[name: string]: unknown;
|
|
4860
5011
|
};
|
|
4861
5012
|
content: {
|
|
4862
|
-
|
|
5013
|
+
'application/json': {
|
|
4863
5014
|
name?: string;
|
|
4864
5015
|
author?: string;
|
|
4865
5016
|
parentPath?: string;
|
|
@@ -4879,8 +5030,8 @@ interface operations {
|
|
|
4879
5030
|
[name: string]: unknown;
|
|
4880
5031
|
};
|
|
4881
5032
|
content: {
|
|
4882
|
-
|
|
4883
|
-
error?: components[
|
|
5033
|
+
'application/json': {
|
|
5034
|
+
error?: components['schemas']['Error'];
|
|
4884
5035
|
};
|
|
4885
5036
|
};
|
|
4886
5037
|
};
|
|
@@ -4891,7 +5042,7 @@ interface operations {
|
|
|
4891
5042
|
query?: never;
|
|
4892
5043
|
header?: {
|
|
4893
5044
|
/** @description The entity tag (ETag) of the toolset. This is used for conditional requests to ensure that the toolset is only deleted if it matches the specified ETag. */
|
|
4894
|
-
|
|
5045
|
+
'If-Match'?: string;
|
|
4895
5046
|
};
|
|
4896
5047
|
path: {
|
|
4897
5048
|
/** @description The target bucket. */
|
|
@@ -4926,6 +5077,101 @@ interface operations {
|
|
|
4926
5077
|
};
|
|
4927
5078
|
};
|
|
4928
5079
|
};
|
|
5080
|
+
getAllToolSetTools: {
|
|
5081
|
+
parameters: {
|
|
5082
|
+
query?: never;
|
|
5083
|
+
header?: never;
|
|
5084
|
+
path: {
|
|
5085
|
+
/** @description The target toolset ID. The parameter specifies the unique identifier of the toolset. */
|
|
5086
|
+
toolset_id: string;
|
|
5087
|
+
};
|
|
5088
|
+
cookie?: never;
|
|
5089
|
+
};
|
|
5090
|
+
requestBody?: never;
|
|
5091
|
+
responses: {
|
|
5092
|
+
/** @description Success */
|
|
5093
|
+
200: {
|
|
5094
|
+
headers: {
|
|
5095
|
+
[name: string]: unknown;
|
|
5096
|
+
};
|
|
5097
|
+
content: {
|
|
5098
|
+
'application/json': {
|
|
5099
|
+
id?: string;
|
|
5100
|
+
result?: {
|
|
5101
|
+
tools?: {
|
|
5102
|
+
name?: string;
|
|
5103
|
+
title?: string;
|
|
5104
|
+
}[];
|
|
5105
|
+
};
|
|
5106
|
+
};
|
|
5107
|
+
};
|
|
5108
|
+
};
|
|
5109
|
+
/** @description Forbidden */
|
|
5110
|
+
403: {
|
|
5111
|
+
headers: {
|
|
5112
|
+
[name: string]: unknown;
|
|
5113
|
+
};
|
|
5114
|
+
content: {
|
|
5115
|
+
'application/json': {
|
|
5116
|
+
error?: components['schemas']['Error'];
|
|
5117
|
+
};
|
|
5118
|
+
};
|
|
5119
|
+
};
|
|
5120
|
+
};
|
|
5121
|
+
};
|
|
5122
|
+
getAllToolSetAllowedTools: {
|
|
5123
|
+
parameters: {
|
|
5124
|
+
query?: never;
|
|
5125
|
+
header?: never;
|
|
5126
|
+
path: {
|
|
5127
|
+
/** @description The target toolset ID. The parameter specifies the unique identifier of the toolset. */
|
|
5128
|
+
toolset_id: string;
|
|
5129
|
+
};
|
|
5130
|
+
cookie?: never;
|
|
5131
|
+
};
|
|
5132
|
+
requestBody?: never;
|
|
5133
|
+
responses: {
|
|
5134
|
+
/** @description Success */
|
|
5135
|
+
200: {
|
|
5136
|
+
headers: {
|
|
5137
|
+
[name: string]: unknown;
|
|
5138
|
+
};
|
|
5139
|
+
content: {
|
|
5140
|
+
'application/json': {
|
|
5141
|
+
id?: string;
|
|
5142
|
+
result?: {
|
|
5143
|
+
tools?: {
|
|
5144
|
+
name?: string;
|
|
5145
|
+
title?: string;
|
|
5146
|
+
}[];
|
|
5147
|
+
};
|
|
5148
|
+
};
|
|
5149
|
+
};
|
|
5150
|
+
};
|
|
5151
|
+
/** @description Bad request */
|
|
5152
|
+
400: {
|
|
5153
|
+
headers: {
|
|
5154
|
+
[name: string]: unknown;
|
|
5155
|
+
};
|
|
5156
|
+
content: {
|
|
5157
|
+
'application/json': {
|
|
5158
|
+
error?: components['schemas']['Error'];
|
|
5159
|
+
};
|
|
5160
|
+
};
|
|
5161
|
+
};
|
|
5162
|
+
/** @description Invalid Authentication */
|
|
5163
|
+
401: {
|
|
5164
|
+
headers: {
|
|
5165
|
+
[name: string]: unknown;
|
|
5166
|
+
};
|
|
5167
|
+
content: {
|
|
5168
|
+
'application/json': {
|
|
5169
|
+
error?: components['schemas']['Error'];
|
|
5170
|
+
};
|
|
5171
|
+
};
|
|
5172
|
+
};
|
|
5173
|
+
};
|
|
5174
|
+
};
|
|
4929
5175
|
toolsetSignin: {
|
|
4930
5176
|
parameters: {
|
|
4931
5177
|
query?: never;
|
|
@@ -4935,19 +5181,19 @@ interface operations {
|
|
|
4935
5181
|
};
|
|
4936
5182
|
requestBody: {
|
|
4937
5183
|
content: {
|
|
4938
|
-
|
|
5184
|
+
'application/json': {
|
|
4939
5185
|
/** @description The Toolset URL (e.g., toolsets/{bucket}/{path}). */
|
|
4940
5186
|
url: string;
|
|
4941
5187
|
/**
|
|
4942
5188
|
* @description The scope of credentials for the Toolset.
|
|
4943
5189
|
* @enum {string}
|
|
4944
5190
|
*/
|
|
4945
|
-
credentials_level:
|
|
5191
|
+
credentials_level: 'GLOBAL' | 'APP' | 'USER';
|
|
4946
5192
|
/**
|
|
4947
5193
|
* @description The authentication method.
|
|
4948
5194
|
* @enum {string}
|
|
4949
5195
|
*/
|
|
4950
|
-
authentication_type:
|
|
5196
|
+
authentication_type: 'OAUTH' | 'API_KEY';
|
|
4951
5197
|
/** @description The authorization code (OAUTH only). */
|
|
4952
5198
|
code?: string;
|
|
4953
5199
|
/** @description The API key value (API_KEY only). */
|
|
@@ -4962,7 +5208,7 @@ interface operations {
|
|
|
4962
5208
|
[name: string]: unknown;
|
|
4963
5209
|
};
|
|
4964
5210
|
content: {
|
|
4965
|
-
|
|
5211
|
+
'application/json': {
|
|
4966
5212
|
/** @description Signin status. */
|
|
4967
5213
|
status?: string;
|
|
4968
5214
|
};
|
|
@@ -5007,19 +5253,19 @@ interface operations {
|
|
|
5007
5253
|
};
|
|
5008
5254
|
requestBody: {
|
|
5009
5255
|
content: {
|
|
5010
|
-
|
|
5256
|
+
'application/json': {
|
|
5011
5257
|
/** @description The Toolset URL (e.g., toolsets/{bucket}/{path}). */
|
|
5012
5258
|
url: string;
|
|
5013
5259
|
/**
|
|
5014
5260
|
* @description The scope of credentials for the Toolset.
|
|
5015
5261
|
* @enum {string}
|
|
5016
5262
|
*/
|
|
5017
|
-
credentials_level:
|
|
5263
|
+
credentials_level: 'GLOBAL' | 'APP' | 'USER';
|
|
5018
5264
|
/**
|
|
5019
5265
|
* @description The authentication method.
|
|
5020
5266
|
* @enum {string}
|
|
5021
5267
|
*/
|
|
5022
|
-
authentication_type:
|
|
5268
|
+
authentication_type: 'OAUTH' | 'API_KEY';
|
|
5023
5269
|
};
|
|
5024
5270
|
};
|
|
5025
5271
|
};
|
|
@@ -5030,7 +5276,7 @@ interface operations {
|
|
|
5030
5276
|
[name: string]: unknown;
|
|
5031
5277
|
};
|
|
5032
5278
|
content: {
|
|
5033
|
-
|
|
5279
|
+
'application/json': {
|
|
5034
5280
|
/** @description Signout status. */
|
|
5035
5281
|
status?: string;
|
|
5036
5282
|
};
|
|
@@ -5099,7 +5345,7 @@ interface operations {
|
|
|
5099
5345
|
[name: string]: unknown;
|
|
5100
5346
|
};
|
|
5101
5347
|
content: {
|
|
5102
|
-
|
|
5348
|
+
'application/json': {
|
|
5103
5349
|
name?: string;
|
|
5104
5350
|
author?: string;
|
|
5105
5351
|
parentPath?: string;
|
|
@@ -5145,7 +5391,7 @@ interface operations {
|
|
|
5145
5391
|
};
|
|
5146
5392
|
requestBody: {
|
|
5147
5393
|
content: {
|
|
5148
|
-
|
|
5394
|
+
'application/json': {
|
|
5149
5395
|
/** @description The publication URL. For admins it is `publications/public/`. For users it is `publications/user_bucket/`. */
|
|
5150
5396
|
url?: string;
|
|
5151
5397
|
};
|
|
@@ -5158,7 +5404,7 @@ interface operations {
|
|
|
5158
5404
|
[name: string]: unknown;
|
|
5159
5405
|
};
|
|
5160
5406
|
content: {
|
|
5161
|
-
|
|
5407
|
+
'application/json': components['schemas']['PublicationResponse'];
|
|
5162
5408
|
};
|
|
5163
5409
|
};
|
|
5164
5410
|
/** @description Bad request */
|
|
@@ -5200,7 +5446,7 @@ interface operations {
|
|
|
5200
5446
|
};
|
|
5201
5447
|
requestBody: {
|
|
5202
5448
|
content: {
|
|
5203
|
-
|
|
5449
|
+
'application/json': {
|
|
5204
5450
|
/** @description The publication request. Template is `publications/bucketId/requestId`. */
|
|
5205
5451
|
url?: string;
|
|
5206
5452
|
};
|
|
@@ -5213,7 +5459,7 @@ interface operations {
|
|
|
5213
5459
|
[name: string]: unknown;
|
|
5214
5460
|
};
|
|
5215
5461
|
content: {
|
|
5216
|
-
|
|
5462
|
+
'application/json': components['schemas']['GetPublicationResponseObject'];
|
|
5217
5463
|
};
|
|
5218
5464
|
};
|
|
5219
5465
|
/** @description Bad request */
|
|
@@ -5255,7 +5501,7 @@ interface operations {
|
|
|
5255
5501
|
};
|
|
5256
5502
|
requestBody?: {
|
|
5257
5503
|
content: {
|
|
5258
|
-
|
|
5504
|
+
'application/json': components['schemas']['PublicationRequest'];
|
|
5259
5505
|
};
|
|
5260
5506
|
};
|
|
5261
5507
|
responses: {
|
|
@@ -5265,7 +5511,7 @@ interface operations {
|
|
|
5265
5511
|
[name: string]: unknown;
|
|
5266
5512
|
};
|
|
5267
5513
|
content: {
|
|
5268
|
-
|
|
5514
|
+
'application/json': components['schemas']['PublicationResponseObject'];
|
|
5269
5515
|
};
|
|
5270
5516
|
};
|
|
5271
5517
|
/** @description Bad request */
|
|
@@ -5307,7 +5553,7 @@ interface operations {
|
|
|
5307
5553
|
};
|
|
5308
5554
|
requestBody?: {
|
|
5309
5555
|
content: {
|
|
5310
|
-
|
|
5556
|
+
'application/json': components['schemas']['UpdatePublicationRequest'];
|
|
5311
5557
|
};
|
|
5312
5558
|
};
|
|
5313
5559
|
responses: {
|
|
@@ -5317,7 +5563,7 @@ interface operations {
|
|
|
5317
5563
|
[name: string]: unknown;
|
|
5318
5564
|
};
|
|
5319
5565
|
content: {
|
|
5320
|
-
|
|
5566
|
+
'application/json': components['schemas']['PublicationResponseObject'];
|
|
5321
5567
|
};
|
|
5322
5568
|
};
|
|
5323
5569
|
/** @description Bad request */
|
|
@@ -5359,7 +5605,7 @@ interface operations {
|
|
|
5359
5605
|
};
|
|
5360
5606
|
requestBody: {
|
|
5361
5607
|
content: {
|
|
5362
|
-
|
|
5608
|
+
'application/json': {
|
|
5363
5609
|
/** @description The publication URL. Template is `publications/bucketId/requestId`. */
|
|
5364
5610
|
url?: string;
|
|
5365
5611
|
};
|
|
@@ -5412,7 +5658,7 @@ interface operations {
|
|
|
5412
5658
|
};
|
|
5413
5659
|
requestBody: {
|
|
5414
5660
|
content: {
|
|
5415
|
-
|
|
5661
|
+
'application/json': {
|
|
5416
5662
|
/** @description The publication URL. Template is `publications/bucketId/requestId`. */
|
|
5417
5663
|
url?: string;
|
|
5418
5664
|
/** @description Rejection comment. */
|
|
@@ -5427,7 +5673,7 @@ interface operations {
|
|
|
5427
5673
|
[name: string]: unknown;
|
|
5428
5674
|
};
|
|
5429
5675
|
content: {
|
|
5430
|
-
|
|
5676
|
+
'application/json': components['schemas']['PublicationResponseObject'];
|
|
5431
5677
|
};
|
|
5432
5678
|
};
|
|
5433
5679
|
/** @description Bad request */
|
|
@@ -5469,7 +5715,7 @@ interface operations {
|
|
|
5469
5715
|
};
|
|
5470
5716
|
requestBody: {
|
|
5471
5717
|
content: {
|
|
5472
|
-
|
|
5718
|
+
'application/json': {
|
|
5473
5719
|
/** @description The publication URL. Template is `publications/bucketId/requestId`. */
|
|
5474
5720
|
url?: string;
|
|
5475
5721
|
};
|
|
@@ -5482,7 +5728,7 @@ interface operations {
|
|
|
5482
5728
|
[name: string]: unknown;
|
|
5483
5729
|
};
|
|
5484
5730
|
content: {
|
|
5485
|
-
|
|
5731
|
+
'application/json': components['schemas']['PublicationResponseObject'];
|
|
5486
5732
|
};
|
|
5487
5733
|
};
|
|
5488
5734
|
/** @description Bad request */
|
|
@@ -5524,7 +5770,7 @@ interface operations {
|
|
|
5524
5770
|
};
|
|
5525
5771
|
requestBody: {
|
|
5526
5772
|
content: {
|
|
5527
|
-
|
|
5773
|
+
'application/json': {
|
|
5528
5774
|
/** @description Publication public folder URL. Template is `public/folderName` */
|
|
5529
5775
|
url?: string;
|
|
5530
5776
|
};
|
|
@@ -5537,7 +5783,7 @@ interface operations {
|
|
|
5537
5783
|
[name: string]: unknown;
|
|
5538
5784
|
};
|
|
5539
5785
|
content: {
|
|
5540
|
-
|
|
5786
|
+
'application/json': components['schemas']['PublicationRules'];
|
|
5541
5787
|
};
|
|
5542
5788
|
};
|
|
5543
5789
|
/** @description Bad request */
|
|
@@ -5579,13 +5825,13 @@ interface operations {
|
|
|
5579
5825
|
};
|
|
5580
5826
|
requestBody: {
|
|
5581
5827
|
content: {
|
|
5582
|
-
|
|
5828
|
+
'application/json': {
|
|
5583
5829
|
/** @description An array of resources to share. */
|
|
5584
5830
|
resources?: {
|
|
5585
5831
|
/** @description A relative url of the resource to share. */
|
|
5586
5832
|
url?: string;
|
|
5587
5833
|
/** @description Lists the permissions you grant for the resource. */
|
|
5588
|
-
permissions?: (
|
|
5834
|
+
permissions?: ('READ' | 'WRITE')[];
|
|
5589
5835
|
}[];
|
|
5590
5836
|
/** @description The ID of the receiving DIAL deployment (application or toolset). */
|
|
5591
5837
|
receiver?: string;
|
|
@@ -5618,13 +5864,13 @@ interface operations {
|
|
|
5618
5864
|
};
|
|
5619
5865
|
requestBody: {
|
|
5620
5866
|
content: {
|
|
5621
|
-
|
|
5867
|
+
'application/json': {
|
|
5622
5868
|
/** @description An array of resources to share. */
|
|
5623
5869
|
resources?: {
|
|
5624
5870
|
/** @description A relative url of the resource to share. */
|
|
5625
5871
|
url?: string;
|
|
5626
5872
|
/** @description Lists the permissions you grant for the resource. */
|
|
5627
|
-
permissions?: (
|
|
5873
|
+
permissions?: ('READ' | 'WRITE')[];
|
|
5628
5874
|
}[];
|
|
5629
5875
|
/** @description The ID of the receiving DIAL deployment (application or toolset). */
|
|
5630
5876
|
receiver?: string;
|
|
@@ -5657,14 +5903,14 @@ interface operations {
|
|
|
5657
5903
|
};
|
|
5658
5904
|
requestBody: {
|
|
5659
5905
|
content: {
|
|
5660
|
-
|
|
5906
|
+
'application/json': {
|
|
5661
5907
|
/**
|
|
5662
5908
|
* @description Currently, supported the next options:
|
|
5663
5909
|
* - `me`: returns shared resources with you.
|
|
5664
5910
|
* - `others`: returns resources that you have shared with others
|
|
5665
5911
|
* @enum {string}
|
|
5666
5912
|
*/
|
|
5667
|
-
with?:
|
|
5913
|
+
with?: 'me' | 'others';
|
|
5668
5914
|
};
|
|
5669
5915
|
};
|
|
5670
5916
|
};
|
|
@@ -5675,20 +5921,20 @@ interface operations {
|
|
|
5675
5921
|
[name: string]: unknown;
|
|
5676
5922
|
};
|
|
5677
5923
|
content: {
|
|
5678
|
-
|
|
5924
|
+
'application/json': {
|
|
5679
5925
|
resources?: {
|
|
5680
5926
|
url?: string;
|
|
5681
5927
|
/**
|
|
5682
5928
|
* @description Lists the permissions you have on the resource if `with` is set to "me".
|
|
5683
5929
|
* Lists the permissions you have granted to others if `with` is set to "others".
|
|
5684
5930
|
*/
|
|
5685
|
-
permissions?: (
|
|
5931
|
+
permissions?: ('READ' | 'WRITE')[];
|
|
5686
5932
|
}[];
|
|
5687
5933
|
receivers?: {
|
|
5688
5934
|
receiver?: string;
|
|
5689
5935
|
resources?: {
|
|
5690
5936
|
url?: string;
|
|
5691
|
-
permissions?: (
|
|
5937
|
+
permissions?: ('READ' | 'WRITE')[];
|
|
5692
5938
|
}[];
|
|
5693
5939
|
}[];
|
|
5694
5940
|
};
|
|
@@ -5712,13 +5958,13 @@ interface operations {
|
|
|
5712
5958
|
};
|
|
5713
5959
|
requestBody: {
|
|
5714
5960
|
content: {
|
|
5715
|
-
|
|
5961
|
+
'application/json': {
|
|
5716
5962
|
/** @description An array of resources to share. */
|
|
5717
5963
|
resources?: {
|
|
5718
5964
|
/** @description A relative url of the resource to share. */
|
|
5719
5965
|
url?: string;
|
|
5720
5966
|
/** @description Lists the permissions you have on the resource. */
|
|
5721
|
-
permissions?: (
|
|
5967
|
+
permissions?: ('READ' | 'WRITE' | 'SHARE')[];
|
|
5722
5968
|
/**
|
|
5723
5969
|
* @description Indicates whether global resource credentials should be shared with user.
|
|
5724
5970
|
* @default false
|
|
@@ -5739,7 +5985,7 @@ interface operations {
|
|
|
5739
5985
|
[name: string]: unknown;
|
|
5740
5986
|
};
|
|
5741
5987
|
content: {
|
|
5742
|
-
|
|
5988
|
+
'application/json': {
|
|
5743
5989
|
invitationLink?: string;
|
|
5744
5990
|
};
|
|
5745
5991
|
};
|
|
@@ -5762,15 +6008,15 @@ interface operations {
|
|
|
5762
6008
|
};
|
|
5763
6009
|
requestBody: {
|
|
5764
6010
|
content: {
|
|
5765
|
-
|
|
5766
|
-
resourceTypes?: (
|
|
6011
|
+
'application/json': {
|
|
6012
|
+
resourceTypes?: ('FILE' | 'PROMPT' | 'CONVERSATION' | 'APPLICATION' | 'TOOL_SET')[];
|
|
5767
6013
|
/**
|
|
5768
6014
|
* @description Currently, supported the next options:
|
|
5769
6015
|
* - `me`: returns shared resources with you.
|
|
5770
6016
|
* - `others`: returns resources that you have shared with others
|
|
5771
6017
|
* @enum {string}
|
|
5772
6018
|
*/
|
|
5773
|
-
with?:
|
|
6019
|
+
with?: 'me' | 'others';
|
|
5774
6020
|
/**
|
|
5775
6021
|
* @description If true, includes additional user information such as resource owner display name, users who have shared the resource with you, and users with whom you have shared the resource.
|
|
5776
6022
|
* @default false
|
|
@@ -5786,7 +6032,7 @@ interface operations {
|
|
|
5786
6032
|
[name: string]: unknown;
|
|
5787
6033
|
};
|
|
5788
6034
|
content: {
|
|
5789
|
-
|
|
6035
|
+
'application/json': {
|
|
5790
6036
|
resources?: {
|
|
5791
6037
|
nodeType?: string;
|
|
5792
6038
|
resourceType?: string;
|
|
@@ -5798,7 +6044,7 @@ interface operations {
|
|
|
5798
6044
|
* @description Lists the permissions you have on the resource if `with` is set to "me".
|
|
5799
6045
|
* Lists the permissions you have granted to others if `with` is set to "others".
|
|
5800
6046
|
*/
|
|
5801
|
-
permissions?: (
|
|
6047
|
+
permissions?: ('READ' | 'WRITE' | 'SHARE')[];
|
|
5802
6048
|
/** @description Resource owner display name (a configurable claim from JWT or a project name for API keys). The field is populated if `with` is set to "me" and `includeUserInfo` is true. */
|
|
5803
6049
|
author?: string;
|
|
5804
6050
|
/** @description A list of users who have shared the resource with you. The field is populated if `with` is set to "me" and `includeUserInfo` is true. */
|
|
@@ -5808,14 +6054,14 @@ interface operations {
|
|
|
5808
6054
|
/** @description The timestamp when the shared resource has been accepted. */
|
|
5809
6055
|
acceptedAt?: number;
|
|
5810
6056
|
/** @description A list of permissions granted by the user. */
|
|
5811
|
-
permissions?: (
|
|
6057
|
+
permissions?: ('READ' | 'WRITE' | 'SHARE')[];
|
|
5812
6058
|
}[];
|
|
5813
6059
|
/** @description A list of users with whom you have shared the resource. The field is populated if `with` is set to "others" and `includeUserInfo` is true. */
|
|
5814
6060
|
sharedWith?: {
|
|
5815
6061
|
/** @description User display name (a configurable claim from JWT or a project name for API keys). */
|
|
5816
6062
|
user?: string;
|
|
5817
6063
|
/** @description A list of permissions granted to the user. */
|
|
5818
|
-
permissions?: (
|
|
6064
|
+
permissions?: ('READ' | 'WRITE' | 'SHARE')[];
|
|
5819
6065
|
}[];
|
|
5820
6066
|
/**
|
|
5821
6067
|
* @description Indicates whether global resource credentials were shared with user.
|
|
@@ -5844,7 +6090,7 @@ interface operations {
|
|
|
5844
6090
|
};
|
|
5845
6091
|
requestBody: {
|
|
5846
6092
|
content: {
|
|
5847
|
-
|
|
6093
|
+
'application/json': {
|
|
5848
6094
|
/** @description An array of resources to revoke. */
|
|
5849
6095
|
resources?: {
|
|
5850
6096
|
/** @description A relative url of the resource to revoke. */
|
|
@@ -5879,7 +6125,7 @@ interface operations {
|
|
|
5879
6125
|
};
|
|
5880
6126
|
requestBody: {
|
|
5881
6127
|
content: {
|
|
5882
|
-
|
|
6128
|
+
'application/json': {
|
|
5883
6129
|
/** @description An array of resources to discard. */
|
|
5884
6130
|
resources?: {
|
|
5885
6131
|
/** @description A relative url of the resource to discard. */
|
|
@@ -5914,7 +6160,7 @@ interface operations {
|
|
|
5914
6160
|
};
|
|
5915
6161
|
requestBody: {
|
|
5916
6162
|
content: {
|
|
5917
|
-
|
|
6163
|
+
'application/json': {
|
|
5918
6164
|
/** @description The relative URL of the original resource where user's permissions will be copied from. */
|
|
5919
6165
|
sourceUrl?: string;
|
|
5920
6166
|
/** @description The relative URL of the original resource where user's permissions will be copied to. */
|
|
@@ -5954,7 +6200,7 @@ interface operations {
|
|
|
5954
6200
|
[name: string]: unknown;
|
|
5955
6201
|
};
|
|
5956
6202
|
content: {
|
|
5957
|
-
|
|
6203
|
+
'application/json': {
|
|
5958
6204
|
invitations?: {
|
|
5959
6205
|
id?: string;
|
|
5960
6206
|
author?: string;
|
|
@@ -5964,7 +6210,7 @@ interface operations {
|
|
|
5964
6210
|
/** @description Resource owner display name (a configurable claim from JWT or a project name for API keys). */
|
|
5965
6211
|
author?: string;
|
|
5966
6212
|
/** @description Lists of permissions to be granted. */
|
|
5967
|
-
permissions?: (
|
|
6213
|
+
permissions?: ('READ' | 'WRITE' | 'SHARE')[];
|
|
5968
6214
|
/**
|
|
5969
6215
|
* @description Indicates whether global resource credentials was shared with user.
|
|
5970
6216
|
* @default false
|
|
@@ -6006,7 +6252,7 @@ interface operations {
|
|
|
6006
6252
|
[name: string]: unknown;
|
|
6007
6253
|
};
|
|
6008
6254
|
content: {
|
|
6009
|
-
|
|
6255
|
+
'application/json': {
|
|
6010
6256
|
id?: string;
|
|
6011
6257
|
author?: string;
|
|
6012
6258
|
/** @description An array of shared resources. */
|
|
@@ -6014,7 +6260,7 @@ interface operations {
|
|
|
6014
6260
|
/** @description A relative url of the shared resource. */
|
|
6015
6261
|
url?: string;
|
|
6016
6262
|
/** @description Lists the permissions you have on the resource. */
|
|
6017
|
-
permissions?: (
|
|
6263
|
+
permissions?: ('READ' | 'WRITE' | 'SHARE')[];
|
|
6018
6264
|
/**
|
|
6019
6265
|
* @description Indicates whether global resource credentials was shared with user.
|
|
6020
6266
|
* @default false
|
|
@@ -6077,7 +6323,7 @@ interface operations {
|
|
|
6077
6323
|
[name: string]: unknown;
|
|
6078
6324
|
};
|
|
6079
6325
|
content: {
|
|
6080
|
-
|
|
6326
|
+
'application/json': components['schemas']['NotificationsResponse'];
|
|
6081
6327
|
};
|
|
6082
6328
|
};
|
|
6083
6329
|
/** @description Bad request */
|
|
@@ -6119,7 +6365,7 @@ interface operations {
|
|
|
6119
6365
|
};
|
|
6120
6366
|
requestBody: {
|
|
6121
6367
|
content: {
|
|
6122
|
-
|
|
6368
|
+
'application/json': {
|
|
6123
6369
|
/** @description Notification identifiers. */
|
|
6124
6370
|
ids?: string[];
|
|
6125
6371
|
};
|
|
@@ -6172,7 +6418,7 @@ interface operations {
|
|
|
6172
6418
|
};
|
|
6173
6419
|
requestBody: {
|
|
6174
6420
|
content: {
|
|
6175
|
-
|
|
6421
|
+
'application/json': {
|
|
6176
6422
|
/** @description An array of resources to subscribe to. */
|
|
6177
6423
|
resources?: {
|
|
6178
6424
|
/** @description A relative url of the resource to subscribe to. */
|
|
@@ -6188,10 +6434,10 @@ interface operations {
|
|
|
6188
6434
|
[name: string]: unknown;
|
|
6189
6435
|
};
|
|
6190
6436
|
content: {
|
|
6191
|
-
|
|
6437
|
+
'text/event-stream': {
|
|
6192
6438
|
url?: string;
|
|
6193
6439
|
/** @enum {string} */
|
|
6194
|
-
action?:
|
|
6440
|
+
action?: 'CREATE' | 'UPDATE' | 'DELETE';
|
|
6195
6441
|
timestamp?: number;
|
|
6196
6442
|
}[];
|
|
6197
6443
|
};
|
|
@@ -6228,7 +6474,7 @@ interface operations {
|
|
|
6228
6474
|
};
|
|
6229
6475
|
requestBody: {
|
|
6230
6476
|
content: {
|
|
6231
|
-
|
|
6477
|
+
'application/json': {
|
|
6232
6478
|
/** @description session id. */
|
|
6233
6479
|
sessionId?: string;
|
|
6234
6480
|
};
|
|
@@ -6241,7 +6487,7 @@ interface operations {
|
|
|
6241
6487
|
[name: string]: unknown;
|
|
6242
6488
|
};
|
|
6243
6489
|
content: {
|
|
6244
|
-
|
|
6490
|
+
'application/json': {
|
|
6245
6491
|
sessionId?: string;
|
|
6246
6492
|
};
|
|
6247
6493
|
};
|
|
@@ -6285,7 +6531,7 @@ interface operations {
|
|
|
6285
6531
|
};
|
|
6286
6532
|
requestBody: {
|
|
6287
6533
|
content: {
|
|
6288
|
-
|
|
6534
|
+
'application/json': {
|
|
6289
6535
|
/** @description session id. */
|
|
6290
6536
|
sessionId?: string;
|
|
6291
6537
|
};
|
|
@@ -6298,7 +6544,7 @@ interface operations {
|
|
|
6298
6544
|
[name: string]: unknown;
|
|
6299
6545
|
};
|
|
6300
6546
|
content: {
|
|
6301
|
-
|
|
6547
|
+
'application/json': {
|
|
6302
6548
|
sessionId?: string;
|
|
6303
6549
|
};
|
|
6304
6550
|
};
|
|
@@ -6342,13 +6588,13 @@ interface operations {
|
|
|
6342
6588
|
};
|
|
6343
6589
|
requestBody: {
|
|
6344
6590
|
content: {
|
|
6345
|
-
|
|
6591
|
+
'application/json': {
|
|
6346
6592
|
/** @description session id. */
|
|
6347
6593
|
sessionId?: string;
|
|
6348
6594
|
/** @description code to be executed */
|
|
6349
6595
|
code?: string;
|
|
6350
|
-
inputFiles?: components[
|
|
6351
|
-
outputFiles?: components[
|
|
6596
|
+
inputFiles?: components['schemas']['CodeInterpreterRequestFile'];
|
|
6597
|
+
outputFiles?: components['schemas']['CodeInterpreterRequestFile'];
|
|
6352
6598
|
};
|
|
6353
6599
|
};
|
|
6354
6600
|
};
|
|
@@ -6359,7 +6605,7 @@ interface operations {
|
|
|
6359
6605
|
[name: string]: unknown;
|
|
6360
6606
|
};
|
|
6361
6607
|
content: {
|
|
6362
|
-
|
|
6608
|
+
'application/json': {
|
|
6363
6609
|
status?: string;
|
|
6364
6610
|
stdout?: string;
|
|
6365
6611
|
stderr?: string;
|
|
@@ -6407,7 +6653,7 @@ interface operations {
|
|
|
6407
6653
|
};
|
|
6408
6654
|
requestBody: {
|
|
6409
6655
|
content: {
|
|
6410
|
-
|
|
6656
|
+
'multipart/form-data': {
|
|
6411
6657
|
/**
|
|
6412
6658
|
* Format: binary
|
|
6413
6659
|
* @description A part of multipart/form-data request
|
|
@@ -6423,7 +6669,7 @@ interface operations {
|
|
|
6423
6669
|
[name: string]: unknown;
|
|
6424
6670
|
};
|
|
6425
6671
|
content: {
|
|
6426
|
-
|
|
6672
|
+
'application/json': components['schemas']['CodeInterpreterFile'];
|
|
6427
6673
|
};
|
|
6428
6674
|
};
|
|
6429
6675
|
/** @description Bad request */
|
|
@@ -6465,7 +6711,7 @@ interface operations {
|
|
|
6465
6711
|
};
|
|
6466
6712
|
requestBody: {
|
|
6467
6713
|
content: {
|
|
6468
|
-
|
|
6714
|
+
'application/json': components['schemas']['CodeInterpreterFile'];
|
|
6469
6715
|
};
|
|
6470
6716
|
};
|
|
6471
6717
|
responses: {
|
|
@@ -6475,7 +6721,7 @@ interface operations {
|
|
|
6475
6721
|
[name: string]: unknown;
|
|
6476
6722
|
};
|
|
6477
6723
|
content: {
|
|
6478
|
-
|
|
6724
|
+
'application/octet-stream': string;
|
|
6479
6725
|
};
|
|
6480
6726
|
};
|
|
6481
6727
|
/** @description Bad request */
|
|
@@ -6517,7 +6763,7 @@ interface operations {
|
|
|
6517
6763
|
};
|
|
6518
6764
|
requestBody: {
|
|
6519
6765
|
content: {
|
|
6520
|
-
|
|
6766
|
+
'application/json': {
|
|
6521
6767
|
sessionId?: string;
|
|
6522
6768
|
};
|
|
6523
6769
|
};
|
|
@@ -6529,8 +6775,8 @@ interface operations {
|
|
|
6529
6775
|
[name: string]: unknown;
|
|
6530
6776
|
};
|
|
6531
6777
|
content: {
|
|
6532
|
-
|
|
6533
|
-
files?: components[
|
|
6778
|
+
'application/json': {
|
|
6779
|
+
files?: components['schemas']['CodeInterpreterFile'][];
|
|
6534
6780
|
};
|
|
6535
6781
|
};
|
|
6536
6782
|
};
|
|
@@ -6573,7 +6819,7 @@ interface operations {
|
|
|
6573
6819
|
};
|
|
6574
6820
|
requestBody: {
|
|
6575
6821
|
content: {
|
|
6576
|
-
|
|
6822
|
+
'application/json': components['schemas']['CodeInterpreterRequestFile'];
|
|
6577
6823
|
};
|
|
6578
6824
|
};
|
|
6579
6825
|
responses: {
|
|
@@ -6583,7 +6829,7 @@ interface operations {
|
|
|
6583
6829
|
[name: string]: unknown;
|
|
6584
6830
|
};
|
|
6585
6831
|
content: {
|
|
6586
|
-
|
|
6832
|
+
'application/json': components['schemas']['CodeInterpreterFile'];
|
|
6587
6833
|
};
|
|
6588
6834
|
};
|
|
6589
6835
|
/** @description Bad request */
|
|
@@ -6625,7 +6871,7 @@ interface operations {
|
|
|
6625
6871
|
};
|
|
6626
6872
|
requestBody: {
|
|
6627
6873
|
content: {
|
|
6628
|
-
|
|
6874
|
+
'application/json': components['schemas']['CodeInterpreterRequestFile'];
|
|
6629
6875
|
};
|
|
6630
6876
|
};
|
|
6631
6877
|
responses: {
|
|
@@ -6635,7 +6881,7 @@ interface operations {
|
|
|
6635
6881
|
[name: string]: unknown;
|
|
6636
6882
|
};
|
|
6637
6883
|
content: {
|
|
6638
|
-
|
|
6884
|
+
'application/json': {
|
|
6639
6885
|
name?: string;
|
|
6640
6886
|
parentPath?: string;
|
|
6641
6887
|
bucket?: string;
|
|
@@ -6647,7 +6893,7 @@ interface operations {
|
|
|
6647
6893
|
updatedAt?: number;
|
|
6648
6894
|
contentLength?: number;
|
|
6649
6895
|
contentType?: string;
|
|
6650
|
-
permissions?: (
|
|
6896
|
+
permissions?: ('READ' | 'WRITE')[];
|
|
6651
6897
|
};
|
|
6652
6898
|
};
|
|
6653
6899
|
};
|
|
@@ -6690,7 +6936,7 @@ interface operations {
|
|
|
6690
6936
|
};
|
|
6691
6937
|
requestBody: {
|
|
6692
6938
|
content: {
|
|
6693
|
-
|
|
6939
|
+
'application/json': {
|
|
6694
6940
|
/** @description session id. */
|
|
6695
6941
|
sessionId?: string;
|
|
6696
6942
|
};
|
|
@@ -6703,7 +6949,7 @@ interface operations {
|
|
|
6703
6949
|
[name: string]: unknown;
|
|
6704
6950
|
};
|
|
6705
6951
|
content: {
|
|
6706
|
-
|
|
6952
|
+
'application/json': components['schemas']['GetSession'];
|
|
6707
6953
|
};
|
|
6708
6954
|
};
|
|
6709
6955
|
/** @description Bad request */
|
|
@@ -6743,6 +6989,40 @@ interface operations {
|
|
|
6743
6989
|
};
|
|
6744
6990
|
};
|
|
6745
6991
|
};
|
|
6992
|
+
getDeploymentsByInterfaceType: {
|
|
6993
|
+
parameters: {
|
|
6994
|
+
query?: {
|
|
6995
|
+
/** @description Filter deployments by the interface types they support. Can accept multiple values as comma-separated list or array. <br> `chat` - Deployments that expose chat-based interfaces. This includes the OpenAI-compatible chat completion interface and Responses API. Matches models with `chat` type and applications with `dial:applicationTypeCompletionEndpoint`. Never includes toolsets. <br> `embedding` - Deployments that expose embedding endpoints. Matches only models with `embedding` type. Never includes applications and toolsets. <br> `mcp` - Deployments that expose MCP (Model Context Protocol) interface (toolsets and applications with `dial:applicationTypeMcp`). Never includes models. <br> `custom_ui` - Deployments that expose custom UI interfaces (applications with `dial:applicationTypeViewerUrl`). Never includes models and toolsets. <br> `all` - Include all deployments regardless of interface type (default behavior if parameter is omitted). */
|
|
6996
|
+
interface_type?: ('chat' | 'embeddings' | 'mcp' | 'custom_ui' | 'all')[];
|
|
6997
|
+
};
|
|
6998
|
+
header?: never;
|
|
6999
|
+
path?: never;
|
|
7000
|
+
cookie?: never;
|
|
7001
|
+
};
|
|
7002
|
+
requestBody?: never;
|
|
7003
|
+
responses: {
|
|
7004
|
+
/** @description Success */
|
|
7005
|
+
200: {
|
|
7006
|
+
headers: {
|
|
7007
|
+
[name: string]: unknown;
|
|
7008
|
+
};
|
|
7009
|
+
content: {
|
|
7010
|
+
'application/json': components['schemas']['Deployments'];
|
|
7011
|
+
};
|
|
7012
|
+
};
|
|
7013
|
+
/** @description Invalid Authentication */
|
|
7014
|
+
401: {
|
|
7015
|
+
headers: {
|
|
7016
|
+
[name: string]: unknown;
|
|
7017
|
+
};
|
|
7018
|
+
content: {
|
|
7019
|
+
'application/json': {
|
|
7020
|
+
error?: components['schemas']['Error'];
|
|
7021
|
+
};
|
|
7022
|
+
};
|
|
7023
|
+
};
|
|
7024
|
+
};
|
|
7025
|
+
};
|
|
6746
7026
|
getDeployments: {
|
|
6747
7027
|
parameters: {
|
|
6748
7028
|
query?: never;
|
|
@@ -6758,9 +7038,9 @@ interface operations {
|
|
|
6758
7038
|
[name: string]: unknown;
|
|
6759
7039
|
};
|
|
6760
7040
|
content: {
|
|
6761
|
-
|
|
7041
|
+
'application/json': {
|
|
6762
7042
|
/** @description An array of models. */
|
|
6763
|
-
data?: components[
|
|
7043
|
+
data?: components['schemas']['ModelOpenAi'][];
|
|
6764
7044
|
};
|
|
6765
7045
|
};
|
|
6766
7046
|
};
|
|
@@ -6770,8 +7050,8 @@ interface operations {
|
|
|
6770
7050
|
[name: string]: unknown;
|
|
6771
7051
|
};
|
|
6772
7052
|
content: {
|
|
6773
|
-
|
|
6774
|
-
error?: components[
|
|
7053
|
+
'application/json': {
|
|
7054
|
+
error?: components['schemas']['Error'];
|
|
6775
7055
|
};
|
|
6776
7056
|
};
|
|
6777
7057
|
};
|
|
@@ -6795,7 +7075,7 @@ interface operations {
|
|
|
6795
7075
|
[name: string]: unknown;
|
|
6796
7076
|
};
|
|
6797
7077
|
content: {
|
|
6798
|
-
|
|
7078
|
+
'application/json': components['schemas']['ModelOpenAi'];
|
|
6799
7079
|
};
|
|
6800
7080
|
};
|
|
6801
7081
|
/** @description Invalid Authentication */
|
|
@@ -6804,8 +7084,8 @@ interface operations {
|
|
|
6804
7084
|
[name: string]: unknown;
|
|
6805
7085
|
};
|
|
6806
7086
|
content: {
|
|
6807
|
-
|
|
6808
|
-
error?: components[
|
|
7087
|
+
'application/json': {
|
|
7088
|
+
error?: components['schemas']['Error'];
|
|
6809
7089
|
};
|
|
6810
7090
|
};
|
|
6811
7091
|
};
|
|
@@ -6826,9 +7106,9 @@ interface operations {
|
|
|
6826
7106
|
[name: string]: unknown;
|
|
6827
7107
|
};
|
|
6828
7108
|
content: {
|
|
6829
|
-
|
|
7109
|
+
'application/json': {
|
|
6830
7110
|
/** @description An array of models. */
|
|
6831
|
-
data?: components[
|
|
7111
|
+
data?: components['schemas']['ModelOpenAi'][];
|
|
6832
7112
|
};
|
|
6833
7113
|
};
|
|
6834
7114
|
};
|
|
@@ -6838,8 +7118,8 @@ interface operations {
|
|
|
6838
7118
|
[name: string]: unknown;
|
|
6839
7119
|
};
|
|
6840
7120
|
content: {
|
|
6841
|
-
|
|
6842
|
-
error?: components[
|
|
7121
|
+
'application/json': {
|
|
7122
|
+
error?: components['schemas']['Error'];
|
|
6843
7123
|
};
|
|
6844
7124
|
};
|
|
6845
7125
|
};
|
|
@@ -6863,7 +7143,7 @@ interface operations {
|
|
|
6863
7143
|
[name: string]: unknown;
|
|
6864
7144
|
};
|
|
6865
7145
|
content: {
|
|
6866
|
-
|
|
7146
|
+
'application/json': components['schemas']['ModelOpenAi'];
|
|
6867
7147
|
};
|
|
6868
7148
|
};
|
|
6869
7149
|
/** @description Invalid Authentication */
|
|
@@ -6872,8 +7152,8 @@ interface operations {
|
|
|
6872
7152
|
[name: string]: unknown;
|
|
6873
7153
|
};
|
|
6874
7154
|
content: {
|
|
6875
|
-
|
|
6876
|
-
error?: components[
|
|
7155
|
+
'application/json': {
|
|
7156
|
+
error?: components['schemas']['Error'];
|
|
6877
7157
|
};
|
|
6878
7158
|
};
|
|
6879
7159
|
};
|
|
@@ -6894,9 +7174,9 @@ interface operations {
|
|
|
6894
7174
|
[name: string]: unknown;
|
|
6895
7175
|
};
|
|
6896
7176
|
content: {
|
|
6897
|
-
|
|
7177
|
+
'application/json': {
|
|
6898
7178
|
/** @description An array of Applications. */
|
|
6899
|
-
data?: components[
|
|
7179
|
+
data?: components['schemas']['ApplicationOpenAi'][];
|
|
6900
7180
|
};
|
|
6901
7181
|
};
|
|
6902
7182
|
};
|
|
@@ -6906,8 +7186,8 @@ interface operations {
|
|
|
6906
7186
|
[name: string]: unknown;
|
|
6907
7187
|
};
|
|
6908
7188
|
content: {
|
|
6909
|
-
|
|
6910
|
-
error?: components[
|
|
7189
|
+
'application/json': {
|
|
7190
|
+
error?: components['schemas']['Error'];
|
|
6911
7191
|
};
|
|
6912
7192
|
};
|
|
6913
7193
|
};
|
|
@@ -6931,7 +7211,7 @@ interface operations {
|
|
|
6931
7211
|
[name: string]: unknown;
|
|
6932
7212
|
};
|
|
6933
7213
|
content: {
|
|
6934
|
-
|
|
7214
|
+
'application/json': components['schemas']['ApplicationOpenAi'];
|
|
6935
7215
|
};
|
|
6936
7216
|
};
|
|
6937
7217
|
/** @description Invalid Authentication */
|
|
@@ -6940,8 +7220,8 @@ interface operations {
|
|
|
6940
7220
|
[name: string]: unknown;
|
|
6941
7221
|
};
|
|
6942
7222
|
content: {
|
|
6943
|
-
|
|
6944
|
-
error?: components[
|
|
7223
|
+
'application/json': {
|
|
7224
|
+
error?: components['schemas']['Error'];
|
|
6945
7225
|
};
|
|
6946
7226
|
};
|
|
6947
7227
|
};
|
|
@@ -6962,9 +7242,9 @@ interface operations {
|
|
|
6962
7242
|
[name: string]: unknown;
|
|
6963
7243
|
};
|
|
6964
7244
|
content: {
|
|
6965
|
-
|
|
7245
|
+
'application/json': {
|
|
6966
7246
|
/** @description An array of toolsets. */
|
|
6967
|
-
data?: components[
|
|
7247
|
+
data?: components['schemas']['ToolsetOpenAi'][];
|
|
6968
7248
|
};
|
|
6969
7249
|
};
|
|
6970
7250
|
};
|
|
@@ -6974,8 +7254,8 @@ interface operations {
|
|
|
6974
7254
|
[name: string]: unknown;
|
|
6975
7255
|
};
|
|
6976
7256
|
content: {
|
|
6977
|
-
|
|
6978
|
-
error?: components[
|
|
7257
|
+
'application/json': {
|
|
7258
|
+
error?: components['schemas']['Error'];
|
|
6979
7259
|
};
|
|
6980
7260
|
};
|
|
6981
7261
|
};
|
|
@@ -6999,7 +7279,7 @@ interface operations {
|
|
|
6999
7279
|
[name: string]: unknown;
|
|
7000
7280
|
};
|
|
7001
7281
|
content: {
|
|
7002
|
-
|
|
7282
|
+
'application/json': components['schemas']['ToolsetOpenAi'];
|
|
7003
7283
|
};
|
|
7004
7284
|
};
|
|
7005
7285
|
/** @description Invalid Authentication */
|
|
@@ -7008,8 +7288,8 @@ interface operations {
|
|
|
7008
7288
|
[name: string]: unknown;
|
|
7009
7289
|
};
|
|
7010
7290
|
content: {
|
|
7011
|
-
|
|
7012
|
-
error?: components[
|
|
7291
|
+
'application/json': {
|
|
7292
|
+
error?: components['schemas']['Error'];
|
|
7013
7293
|
};
|
|
7014
7294
|
};
|
|
7015
7295
|
};
|
|
@@ -7033,7 +7313,7 @@ interface operations {
|
|
|
7033
7313
|
[name: string]: unknown;
|
|
7034
7314
|
};
|
|
7035
7315
|
content: {
|
|
7036
|
-
|
|
7316
|
+
'application/json': {
|
|
7037
7317
|
/** @description Statistics for requests per hour. */
|
|
7038
7318
|
hourRequestStats?: {
|
|
7039
7319
|
/** @description Total number of requests allowed per hour. */
|
|
@@ -7138,7 +7418,7 @@ interface operations {
|
|
|
7138
7418
|
[name: string]: unknown;
|
|
7139
7419
|
};
|
|
7140
7420
|
content: {
|
|
7141
|
-
|
|
7421
|
+
'application/json': string;
|
|
7142
7422
|
};
|
|
7143
7423
|
};
|
|
7144
7424
|
/** @description Forbidden */
|
|
@@ -7168,7 +7448,7 @@ interface operations {
|
|
|
7168
7448
|
[name: string]: unknown;
|
|
7169
7449
|
};
|
|
7170
7450
|
content: {
|
|
7171
|
-
|
|
7451
|
+
'application/json': components['schemas']['ReviewConsentResponse'];
|
|
7172
7452
|
};
|
|
7173
7453
|
};
|
|
7174
7454
|
/** @description Forbidden */
|
|
@@ -7192,7 +7472,7 @@ interface operations {
|
|
|
7192
7472
|
};
|
|
7193
7473
|
requestBody: {
|
|
7194
7474
|
content: {
|
|
7195
|
-
|
|
7475
|
+
'application/json': components['schemas']['AcceptConsentRequest'];
|
|
7196
7476
|
};
|
|
7197
7477
|
};
|
|
7198
7478
|
responses: {
|
|
@@ -7212,6 +7492,385 @@ interface operations {
|
|
|
7212
7492
|
};
|
|
7213
7493
|
};
|
|
7214
7494
|
};
|
|
7495
|
+
subscribeOnClientChannel: {
|
|
7496
|
+
parameters: {
|
|
7497
|
+
query?: never;
|
|
7498
|
+
header?: {
|
|
7499
|
+
/** @description Client channel ID. The client should provide the header in case of reconnect. */
|
|
7500
|
+
'X-DIAL-CLIENT-CHANNEL-ID'?: string;
|
|
7501
|
+
};
|
|
7502
|
+
path?: never;
|
|
7503
|
+
cookie?: never;
|
|
7504
|
+
};
|
|
7505
|
+
requestBody?: never;
|
|
7506
|
+
responses: {
|
|
7507
|
+
/** @description Success */
|
|
7508
|
+
200: {
|
|
7509
|
+
headers: {
|
|
7510
|
+
/** @description Client channel ID. **Note**: The header is optional and is passed in the response only if provided in the request. */
|
|
7511
|
+
'X-DIAL-CLIENT-CHANNEL-ID'?: string;
|
|
7512
|
+
[name: string]: unknown;
|
|
7513
|
+
};
|
|
7514
|
+
content: {
|
|
7515
|
+
'text/event-stream': string;
|
|
7516
|
+
};
|
|
7517
|
+
};
|
|
7518
|
+
/** @description Bad request */
|
|
7519
|
+
400: {
|
|
7520
|
+
headers: {
|
|
7521
|
+
[name: string]: unknown;
|
|
7522
|
+
};
|
|
7523
|
+
content?: never;
|
|
7524
|
+
};
|
|
7525
|
+
/** @description Unauthorized */
|
|
7526
|
+
401: {
|
|
7527
|
+
headers: {
|
|
7528
|
+
[name: string]: unknown;
|
|
7529
|
+
};
|
|
7530
|
+
content?: never;
|
|
7531
|
+
};
|
|
7532
|
+
};
|
|
7533
|
+
};
|
|
7534
|
+
unsubscribeOnClientChannel: {
|
|
7535
|
+
parameters: {
|
|
7536
|
+
query?: never;
|
|
7537
|
+
header: {
|
|
7538
|
+
/** @description Client channel ID */
|
|
7539
|
+
'X-DIAL-CLIENT-CHANNEL-ID': string;
|
|
7540
|
+
};
|
|
7541
|
+
path?: never;
|
|
7542
|
+
cookie?: never;
|
|
7543
|
+
};
|
|
7544
|
+
requestBody?: never;
|
|
7545
|
+
responses: {
|
|
7546
|
+
/** @description Success */
|
|
7547
|
+
200: {
|
|
7548
|
+
headers: {
|
|
7549
|
+
[name: string]: unknown;
|
|
7550
|
+
};
|
|
7551
|
+
content?: never;
|
|
7552
|
+
};
|
|
7553
|
+
/** @description Unauthorized */
|
|
7554
|
+
401: {
|
|
7555
|
+
headers: {
|
|
7556
|
+
[name: string]: unknown;
|
|
7557
|
+
};
|
|
7558
|
+
content?: never;
|
|
7559
|
+
};
|
|
7560
|
+
/** @description Client channel is not found */
|
|
7561
|
+
404: {
|
|
7562
|
+
headers: {
|
|
7563
|
+
[name: string]: unknown;
|
|
7564
|
+
};
|
|
7565
|
+
content?: never;
|
|
7566
|
+
};
|
|
7567
|
+
};
|
|
7568
|
+
};
|
|
7569
|
+
reportResponseToClientChannel: {
|
|
7570
|
+
parameters: {
|
|
7571
|
+
query?: never;
|
|
7572
|
+
header: {
|
|
7573
|
+
/** @description Client channel ID */
|
|
7574
|
+
'X-DIAL-CLIENT-CHANNEL-ID': string;
|
|
7575
|
+
};
|
|
7576
|
+
path?: never;
|
|
7577
|
+
cookie?: never;
|
|
7578
|
+
};
|
|
7579
|
+
requestBody: {
|
|
7580
|
+
content: {
|
|
7581
|
+
'application/json': components['schemas']['JsonRpcResponse'];
|
|
7582
|
+
};
|
|
7583
|
+
};
|
|
7584
|
+
responses: {
|
|
7585
|
+
/** @description Success */
|
|
7586
|
+
200: {
|
|
7587
|
+
headers: {
|
|
7588
|
+
[name: string]: unknown;
|
|
7589
|
+
};
|
|
7590
|
+
content?: never;
|
|
7591
|
+
};
|
|
7592
|
+
/** @description Bad request */
|
|
7593
|
+
400: {
|
|
7594
|
+
headers: {
|
|
7595
|
+
[name: string]: unknown;
|
|
7596
|
+
};
|
|
7597
|
+
content?: never;
|
|
7598
|
+
};
|
|
7599
|
+
/** @description Unauthorized */
|
|
7600
|
+
401: {
|
|
7601
|
+
headers: {
|
|
7602
|
+
[name: string]: unknown;
|
|
7603
|
+
};
|
|
7604
|
+
content?: never;
|
|
7605
|
+
};
|
|
7606
|
+
};
|
|
7607
|
+
};
|
|
7608
|
+
interactWithClientChannel: {
|
|
7609
|
+
parameters: {
|
|
7610
|
+
query?: never;
|
|
7611
|
+
header: {
|
|
7612
|
+
/** @description Client channel ID */
|
|
7613
|
+
'X-DIAL-CLIENT-CHANNEL-ID': string;
|
|
7614
|
+
};
|
|
7615
|
+
path?: never;
|
|
7616
|
+
cookie?: never;
|
|
7617
|
+
};
|
|
7618
|
+
requestBody: {
|
|
7619
|
+
content: {
|
|
7620
|
+
'application/json': components['schemas']['JsonRpcRequest'] | components['schemas']['JsonRpcRequest'][];
|
|
7621
|
+
};
|
|
7622
|
+
};
|
|
7623
|
+
responses: {
|
|
7624
|
+
/** @description Success */
|
|
7625
|
+
200: {
|
|
7626
|
+
headers: {
|
|
7627
|
+
[name: string]: unknown;
|
|
7628
|
+
};
|
|
7629
|
+
content: {
|
|
7630
|
+
'text/event-stream': string;
|
|
7631
|
+
};
|
|
7632
|
+
};
|
|
7633
|
+
/** @description Bad request */
|
|
7634
|
+
400: {
|
|
7635
|
+
headers: {
|
|
7636
|
+
[name: string]: unknown;
|
|
7637
|
+
};
|
|
7638
|
+
content?: never;
|
|
7639
|
+
};
|
|
7640
|
+
/** @description Unauthorized */
|
|
7641
|
+
401: {
|
|
7642
|
+
headers: {
|
|
7643
|
+
[name: string]: unknown;
|
|
7644
|
+
};
|
|
7645
|
+
content?: never;
|
|
7646
|
+
};
|
|
7647
|
+
};
|
|
7648
|
+
};
|
|
7649
|
+
}
|
|
7650
|
+
|
|
7651
|
+
type SuccessStatus = 200 | 201 | 202 | 204;
|
|
7652
|
+
type UnknownIfNever<T> = [T] extends [never] ? unknown : T;
|
|
7653
|
+
type JsonContent<T> = T extends {
|
|
7654
|
+
content: infer TContent;
|
|
7655
|
+
} ? TContent extends {
|
|
7656
|
+
'application/json': infer TJson;
|
|
7657
|
+
} ? TJson : unknown : undefined;
|
|
7658
|
+
type OperationResponses<TOperation> = TOperation extends {
|
|
7659
|
+
responses: infer TResponses;
|
|
7660
|
+
} ? TResponses : never;
|
|
7661
|
+
type OperationSuccessData<TOperation> = UnknownIfNever<JsonContent<OperationResponses<TOperation>[Extract<keyof OperationResponses<TOperation>, SuccessStatus>]>>;
|
|
7662
|
+
type OperationErrorData<TOperation> = UnknownIfNever<JsonContent<OperationResponses<TOperation>[Exclude<keyof OperationResponses<TOperation>, SuccessStatus>]>>;
|
|
7663
|
+
type OperationBody<TOperation> = TOperation extends {
|
|
7664
|
+
requestBody: {
|
|
7665
|
+
content: infer TContent;
|
|
7666
|
+
};
|
|
7667
|
+
} ? TContent extends {
|
|
7668
|
+
'application/json': infer TBody;
|
|
7669
|
+
} ? TBody : unknown : never;
|
|
7670
|
+
type OperationParameterLocation<TOperation, TLocation extends 'query' | 'header' | 'cookie'> = TOperation extends {
|
|
7671
|
+
parameters: infer TParameters;
|
|
7672
|
+
} ? TLocation extends keyof TParameters ? NonNullable<TParameters[TLocation]> : never : never;
|
|
7673
|
+
type OperationParams<TOperation> = {
|
|
7674
|
+
query?: OperationParameterLocation<TOperation, 'query'>;
|
|
7675
|
+
header?: OperationParameterLocation<TOperation, 'header'>;
|
|
7676
|
+
cookie?: OperationParameterLocation<TOperation, 'cookie'>;
|
|
7677
|
+
};
|
|
7678
|
+
type SDKOperationParams<TOperation> = {
|
|
7679
|
+
params?: OperationParams<TOperation>;
|
|
7680
|
+
};
|
|
7681
|
+
type SDKOperationBody<TOperation> = OperationBody<TOperation> extends never ? {
|
|
7682
|
+
body?: never;
|
|
7683
|
+
} : TOperation extends {
|
|
7684
|
+
requestBody: unknown;
|
|
7685
|
+
} ? {
|
|
7686
|
+
body: OperationBody<TOperation>;
|
|
7687
|
+
} : {
|
|
7688
|
+
body?: OperationBody<TOperation>;
|
|
7689
|
+
};
|
|
7690
|
+
type SDKResponse<TData, TError = unknown> = {
|
|
7691
|
+
data: TData;
|
|
7692
|
+
error?: never;
|
|
7693
|
+
response: Response;
|
|
7694
|
+
} | {
|
|
7695
|
+
data?: never;
|
|
7696
|
+
error: TError;
|
|
7697
|
+
response: Response;
|
|
7698
|
+
};
|
|
7699
|
+
type SDKHeaders = Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined> | [string, string][];
|
|
7700
|
+
interface SDKRequestInit<TBody = unknown> {
|
|
7701
|
+
body?: TBody;
|
|
7702
|
+
headers?: SDKHeaders;
|
|
7703
|
+
params?: {
|
|
7704
|
+
query?: Record<string, unknown>;
|
|
7705
|
+
header?: Record<string, unknown>;
|
|
7706
|
+
path?: Record<string, unknown>;
|
|
7707
|
+
cookie?: Record<string, unknown>;
|
|
7708
|
+
};
|
|
7709
|
+
parseAs?: 'json' | 'text' | 'blob' | 'arrayBuffer' | 'stream';
|
|
7710
|
+
[key: string]: unknown;
|
|
7711
|
+
}
|
|
7712
|
+
type SDKOperationInit<TOperation> = Omit<SDKRequestInit, 'body' | 'params'> & SDKOperationParams<TOperation> & SDKOperationBody<TOperation>;
|
|
7713
|
+
type SDKOperationResponse<TOperation> = SDKResponse<OperationSuccessData<TOperation>, OperationErrorData<TOperation>>;
|
|
7714
|
+
type SDKOperationId = keyof operations;
|
|
7715
|
+
interface ConversationModelId {
|
|
7716
|
+
/** Application/model unique identifier. */
|
|
7717
|
+
id: string;
|
|
7718
|
+
[key: string]: unknown;
|
|
7719
|
+
}
|
|
7720
|
+
interface ConversationMessageSettings {
|
|
7721
|
+
prompt: string;
|
|
7722
|
+
temperature: number;
|
|
7723
|
+
[key: string]: unknown;
|
|
7724
|
+
}
|
|
7725
|
+
interface ConversationMessage {
|
|
7726
|
+
role: string;
|
|
7727
|
+
content: string;
|
|
7728
|
+
model?: ConversationModelId;
|
|
7729
|
+
settings?: ConversationMessageSettings;
|
|
7730
|
+
[key: string]: unknown;
|
|
7731
|
+
}
|
|
7732
|
+
interface Conversation {
|
|
7733
|
+
/** Conversation unique identifier. */
|
|
7734
|
+
id: string;
|
|
7735
|
+
/** Path to the folder where conversation is located according to the user's root. */
|
|
7736
|
+
folderId: string;
|
|
7737
|
+
/** Display name. */
|
|
7738
|
+
name: string;
|
|
7739
|
+
/** System prompt. */
|
|
7740
|
+
prompt: string;
|
|
7741
|
+
temperature: number;
|
|
7742
|
+
lastActivityDate?: number;
|
|
7743
|
+
model: ConversationModelId;
|
|
7744
|
+
messages: ConversationMessage[];
|
|
7745
|
+
customViewState?: Record<string, unknown>;
|
|
7746
|
+
[key: string]: unknown;
|
|
7215
7747
|
}
|
|
7748
|
+
interface ConversationResource {
|
|
7749
|
+
name?: string;
|
|
7750
|
+
author?: string;
|
|
7751
|
+
parentPath?: string;
|
|
7752
|
+
bucket?: string;
|
|
7753
|
+
url?: string;
|
|
7754
|
+
nodeType?: string;
|
|
7755
|
+
resourceType?: 'CONVERSATION' | string;
|
|
7756
|
+
etag?: string;
|
|
7757
|
+
createdAt?: number;
|
|
7758
|
+
updatedAt?: number;
|
|
7759
|
+
permissions?: string[];
|
|
7760
|
+
[key: string]: unknown;
|
|
7761
|
+
}
|
|
7762
|
+
type DeploymentData = components['schemas']['DeploymentBase'] & components['schemas']['DeploymentWithFeatures'];
|
|
7763
|
+
type ModelCapabilities = components['schemas']['ModelCapabilities'];
|
|
7764
|
+
type ModelLimits = components['schemas']['ModelLimits'];
|
|
7765
|
+
type ModelPricing = components['schemas']['ModelPricing'];
|
|
7766
|
+
type ModelData = components['schemas']['ModelOpenAi'];
|
|
7767
|
+
interface ModelListData {
|
|
7768
|
+
/** An array of models. */
|
|
7769
|
+
data?: ModelData[];
|
|
7770
|
+
[key: string]: unknown;
|
|
7771
|
+
}
|
|
7772
|
+
|
|
7773
|
+
interface SDKOptions {
|
|
7774
|
+
baseUrl: string;
|
|
7775
|
+
apiKey?: string;
|
|
7776
|
+
token?: string;
|
|
7777
|
+
headers?: Record<string, string>;
|
|
7778
|
+
fetch?: typeof fetch;
|
|
7779
|
+
}
|
|
7780
|
+
/** Methods exposed by `createSDK` (explicit shape avoids TS emit limits on the inferred return type). */
|
|
7781
|
+
interface DIAL_SDK {
|
|
7782
|
+
acceptUserConsent: (deployment_id: string, init: SDKOperationInit<operations['acceptUserConsent']>) => Promise<SDKOperationResponse<operations['acceptUserConsent']>>;
|
|
7783
|
+
approvePublication: (init: SDKOperationInit<operations['approvePublication']>) => Promise<SDKOperationResponse<operations['approvePublication']>>;
|
|
7784
|
+
callMcp: (deployment_id: string, init: SDKOperationInit<operations['callMcp']>) => Promise<SDKOperationResponse<operations['callMcp']>>;
|
|
7785
|
+
callToolSet: (toolset_name: string, init: SDKOperationInit<operations['callToolSet']>) => Promise<SDKOperationResponse<operations['callToolSet']>>;
|
|
7786
|
+
closeSession: (init: SDKOperationInit<operations['closeSession']>) => Promise<SDKOperationResponse<operations['closeSession']>>;
|
|
7787
|
+
configurationDeployment: (deployment_name: string, init?: SDKOperationInit<operations['configurationDeployment']>) => Promise<SDKOperationResponse<operations['configurationDeployment']>>;
|
|
7788
|
+
copyResource: (init: SDKOperationInit<operations['copyResource']>) => Promise<SDKOperationResponse<operations['copyResource']>>;
|
|
7789
|
+
copySharedResources: (init: SDKOperationInit<operations['copySharedResources']>) => Promise<SDKOperationResponse<operations['copySharedResources']>>;
|
|
7790
|
+
createPublication: (init?: SDKOperationInit<operations['createPublication']>) => Promise<SDKOperationResponse<operations['createPublication']>>;
|
|
7791
|
+
deleteConversation: (bucket: string, conversation_path: string, init?: SDKOperationInit<operations['deleteConversation']>) => Promise<SDKOperationResponse<operations['deleteConversation']>>;
|
|
7792
|
+
deleteCustomApplication: (bucket: string, application_path: string, init?: SDKOperationInit<operations['deleteCustomApplication']>) => Promise<SDKOperationResponse<operations['deleteCustomApplication']>>;
|
|
7793
|
+
deleteFile: (bucket: string, file_path: string, init?: SDKOperationInit<operations['deleteFile']>) => Promise<SDKOperationResponse<operations['deleteFile']>>;
|
|
7794
|
+
deleteInvitation: (invitation_id: string, init?: SDKOperationInit<operations['deleteInvitation']>) => Promise<SDKOperationResponse<operations['deleteInvitation']>>;
|
|
7795
|
+
deleteNotifications: (init: SDKOperationInit<operations['deleteNotifications']>) => Promise<SDKOperationResponse<operations['deleteNotifications']>>;
|
|
7796
|
+
deletePrompt: (bucket: string, prompt_path: string, init?: SDKOperationInit<operations['deletePrompt']>) => Promise<SDKOperationResponse<operations['deletePrompt']>>;
|
|
7797
|
+
deletePublication: (init: SDKOperationInit<operations['deletePublication']>) => Promise<SDKOperationResponse<operations['deletePublication']>>;
|
|
7798
|
+
deleteToolSet: (bucket: string, toolset_path: string, init?: SDKOperationInit<operations['deleteToolSet']>) => Promise<SDKOperationResponse<operations['deleteToolSet']>>;
|
|
7799
|
+
deployApplication: (init: SDKOperationInit<operations['deployApplication']>) => Promise<SDKOperationResponse<operations['deployApplication']>>;
|
|
7800
|
+
discardSharedResources: (init: SDKOperationInit<operations['discardSharedResources']>) => Promise<SDKOperationResponse<operations['discardSharedResources']>>;
|
|
7801
|
+
downloadFile: (bucket: string, file_path: string, init?: SDKOperationInit<operations['downloadFile']>) => Promise<SDKOperationResponse<operations['downloadFile']>>;
|
|
7802
|
+
downloadFileFromCodeInterpreter: (init: SDKOperationInit<operations['downloadFileFromCodeInterpreter']>) => Promise<SDKOperationResponse<operations['downloadFileFromCodeInterpreter']>>;
|
|
7803
|
+
executeCode: (init: SDKOperationInit<operations['executeCode']>) => Promise<SDKOperationResponse<operations['executeCode']>>;
|
|
7804
|
+
getAllToolSetAllowedTools: (toolset_id: string, init?: SDKOperationInit<operations['getAllToolSetAllowedTools']>) => Promise<SDKOperationResponse<operations['getAllToolSetAllowedTools']>>;
|
|
7805
|
+
getAllToolSetTools: (toolset_id: string, init?: SDKOperationInit<operations['getAllToolSetTools']>) => Promise<SDKOperationResponse<operations['getAllToolSetTools']>>;
|
|
7806
|
+
getApplication: (application_name: string, init?: SDKOperationInit<operations['getApplication']>) => Promise<SDKOperationResponse<operations['getApplication']>>;
|
|
7807
|
+
getApplicationLogs: (init: SDKOperationInit<operations['getApplicationLogs']>) => Promise<SDKOperationResponse<operations['getApplicationLogs']>>;
|
|
7808
|
+
getApplicationMetadata: (bucket: string, path: string, init?: SDKOperationInit<operations['getApplicationMetadata']>) => Promise<SDKOperationResponse<operations['getApplicationMetadata']>>;
|
|
7809
|
+
getApplications: (init?: SDKOperationInit<operations['getApplications']>) => Promise<SDKOperationResponse<operations['getApplications']>>;
|
|
7810
|
+
getConversation: (bucket: string, conversation_path: string, init?: SDKRequestInit) => Promise<SDKResponse<Conversation>>;
|
|
7811
|
+
getConversationMetadata: (bucket: string, path: string, init?: SDKOperationInit<operations['getConversationMetadata']>) => Promise<SDKOperationResponse<operations['getConversationMetadata']>>;
|
|
7812
|
+
getCustomApplication: (bucket: string, application_path: string, init?: SDKOperationInit<operations['getCustomApplication']>) => Promise<SDKOperationResponse<operations['getCustomApplication']>>;
|
|
7813
|
+
getCustomApplicationSchema: (init: SDKOperationInit<operations['getCustomApplicationSchema']>) => Promise<SDKOperationResponse<operations['getCustomApplicationSchema']>>;
|
|
7814
|
+
getCustomToolSet: (bucket: string, toolset_path: string, init?: SDKOperationInit<operations['getCustomToolSet']>) => Promise<SDKOperationResponse<operations['getCustomToolSet']>>;
|
|
7815
|
+
getDeployment: (deployment_name: string, init?: SDKOperationInit<operations['getDeployment']>) => Promise<SDKOperationResponse<operations['getDeployment']>>;
|
|
7816
|
+
getDeploymentLimits: (deployment_name: string, init?: SDKOperationInit<operations['getDeploymentLimits']>) => Promise<SDKOperationResponse<operations['getDeploymentLimits']>>;
|
|
7817
|
+
getDeployments: (init?: SDKOperationInit<operations['getDeployments']>) => Promise<SDKOperationResponse<operations['getDeployments']>>;
|
|
7818
|
+
getDeploymentsByInterfaceType: (init?: SDKOperationInit<operations['getDeploymentsByInterfaceType']>) => Promise<SDKOperationResponse<operations['getDeploymentsByInterfaceType']>>;
|
|
7819
|
+
getFileMetadata: (bucket: string, path: string, init?: SDKOperationInit<operations['getFileMetadata']>) => Promise<SDKOperationResponse<operations['getFileMetadata']>>;
|
|
7820
|
+
getInvitation: (invitation_id: string, init?: SDKOperationInit<operations['getInvitation']>) => Promise<SDKOperationResponse<operations['getInvitation']>>;
|
|
7821
|
+
getInvitations: (init?: SDKOperationInit<operations['getInvitations']>) => Promise<SDKOperationResponse<operations['getInvitations']>>;
|
|
7822
|
+
getMetaSchemaOfCustomApplicationSchema: (init?: SDKOperationInit<operations['getMetaSchemaOfCustomApplicationSchema']>) => Promise<SDKOperationResponse<operations['getMetaSchemaOfCustomApplicationSchema']>>;
|
|
7823
|
+
getModel: (model_name: string, init?: SDKOperationInit<operations['getModel']>) => Promise<SDKOperationResponse<operations['getModel']>>;
|
|
7824
|
+
getModels: (init?: SDKOperationInit<operations['getModels']>) => Promise<SDKOperationResponse<operations['getModels']>>;
|
|
7825
|
+
getNotifications: (init?: SDKOperationInit<operations['getNotifications']>) => Promise<SDKOperationResponse<operations['getNotifications']>>;
|
|
7826
|
+
getPerRequestPermissions: (init: SDKOperationInit<operations['getPerRequestPermissions']>) => Promise<SDKOperationResponse<operations['getPerRequestPermissions']>>;
|
|
7827
|
+
getPrompt: (bucket: string, prompt_path: string, init?: SDKOperationInit<operations['getPrompt']>) => Promise<SDKOperationResponse<operations['getPrompt']>>;
|
|
7828
|
+
getPromptMetadata: (bucket: string, path: string, init?: SDKOperationInit<operations['getPromptMetadata']>) => Promise<SDKOperationResponse<operations['getPromptMetadata']>>;
|
|
7829
|
+
getPublication: (init: SDKOperationInit<operations['getPublication']>) => Promise<SDKOperationResponse<operations['getPublication']>>;
|
|
7830
|
+
getPublicationRules: (init: SDKOperationInit<operations['getPublicationRules']>) => Promise<SDKOperationResponse<operations['getPublicationRules']>>;
|
|
7831
|
+
getPublications: (init: SDKOperationInit<operations['getPublications']>) => Promise<SDKOperationResponse<operations['getPublications']>>;
|
|
7832
|
+
getSession: (init: SDKOperationInit<operations['getSession']>) => Promise<SDKOperationResponse<operations['getSession']>>;
|
|
7833
|
+
getSharedResources: (init: SDKOperationInit<operations['getSharedResources']>) => Promise<SDKOperationResponse<operations['getSharedResources']>>;
|
|
7834
|
+
getToolSetMetadata: (bucket: string, path: string, init?: SDKOperationInit<operations['getToolSetMetadata']>) => Promise<SDKOperationResponse<operations['getToolSetMetadata']>>;
|
|
7835
|
+
getToolSets: (init?: SDKOperationInit<operations['getToolSets']>) => Promise<SDKOperationResponse<operations['getToolSets']>>;
|
|
7836
|
+
getToolset: (toolset_name: string, init?: SDKOperationInit<operations['getToolset']>) => Promise<SDKOperationResponse<operations['getToolset']>>;
|
|
7837
|
+
getUserBucket: (init?: SDKOperationInit<operations['getUserBucket']>) => Promise<SDKOperationResponse<operations['getUserBucket']>>;
|
|
7838
|
+
getUserInfo: (init?: SDKOperationInit<operations['getUserInfo']>) => Promise<SDKOperationResponse<operations['getUserInfo']>>;
|
|
7839
|
+
grantPerRequestPermissions: (init: SDKOperationInit<operations['grantPerRequestPermissions']>) => Promise<SDKOperationResponse<operations['grantPerRequestPermissions']>>;
|
|
7840
|
+
interactWithClientChannel: (init: SDKOperationInit<operations['interactWithClientChannel']>) => Promise<SDKOperationResponse<operations['interactWithClientChannel']>>;
|
|
7841
|
+
listCustomApplicationSchemas: (init?: SDKOperationInit<operations['listCustomApplicationSchemas']>) => Promise<SDKOperationResponse<operations['listCustomApplicationSchemas']>>;
|
|
7842
|
+
listFilesFromCodeInterpreter: (init: SDKOperationInit<operations['listFilesFromCodeInterpreter']>) => Promise<SDKOperationResponse<operations['listFilesFromCodeInterpreter']>>;
|
|
7843
|
+
moveResource: (init: SDKOperationInit<operations['moveResource']>) => Promise<SDKOperationResponse<operations['moveResource']>>;
|
|
7844
|
+
openSession: (init: SDKOperationInit<operations['openSession']>) => Promise<SDKOperationResponse<operations['openSession']>>;
|
|
7845
|
+
rateDeployment: (deployment_name: string, init: SDKOperationInit<operations['rateDeployment']>) => Promise<SDKOperationResponse<operations['rateDeployment']>>;
|
|
7846
|
+
redeployApplication: (init: SDKOperationInit<operations['redeployApplication']>) => Promise<SDKOperationResponse<operations['redeployApplication']>>;
|
|
7847
|
+
rejectPublication: (init: SDKOperationInit<operations['rejectPublication']>) => Promise<SDKOperationResponse<operations['rejectPublication']>>;
|
|
7848
|
+
reloadConfig: (init?: SDKOperationInit<operations['reloadConfig']>) => Promise<SDKOperationResponse<operations['reloadConfig']>>;
|
|
7849
|
+
reportResponseToClientChannel: (init: SDKOperationInit<operations['reportResponseToClientChannel']>) => Promise<SDKOperationResponse<operations['reportResponseToClientChannel']>>;
|
|
7850
|
+
requestUserConsent: (deployment_id: string, init?: SDKOperationInit<operations['requestUserConsent']>) => Promise<SDKOperationResponse<operations['requestUserConsent']>>;
|
|
7851
|
+
revokePerRequestPermissions: (init: SDKOperationInit<operations['revokePerRequestPermissions']>) => Promise<SDKOperationResponse<operations['revokePerRequestPermissions']>>;
|
|
7852
|
+
revokeSharedResources: (init: SDKOperationInit<operations['revokeSharedResources']>) => Promise<SDKOperationResponse<operations['revokeSharedResources']>>;
|
|
7853
|
+
saveConversation: (bucket: string, conversation_path: string, init: SDKRequestInit<Conversation> & {
|
|
7854
|
+
body: Conversation;
|
|
7855
|
+
}) => Promise<SDKResponse<ConversationResource>>;
|
|
7856
|
+
saveCustomApplication: (bucket: string, application_path: string, init: SDKOperationInit<operations['saveCustomApplication']>) => Promise<SDKOperationResponse<operations['saveCustomApplication']>>;
|
|
7857
|
+
savePrompt: (bucket: string, prompt_path: string, init: SDKOperationInit<operations['savePrompt']>) => Promise<SDKOperationResponse<operations['savePrompt']>>;
|
|
7858
|
+
saveToolSet: (bucket: string, toolset_path: string, init: SDKOperationInit<operations['saveToolSet']>) => Promise<SDKOperationResponse<operations['saveToolSet']>>;
|
|
7859
|
+
sendChatCompletionRequest: (deployment_name: string, init: SDKOperationInit<operations['sendChatCompletionRequest']>) => Promise<SDKOperationResponse<operations['sendChatCompletionRequest']>>;
|
|
7860
|
+
sendEmbeddingsRequest: (deployment_name: string, init: SDKOperationInit<operations['sendEmbeddingsRequest']>) => Promise<SDKOperationResponse<operations['sendEmbeddingsRequest']>>;
|
|
7861
|
+
shareResource: (init: SDKOperationInit<operations['shareResource']>) => Promise<SDKOperationResponse<operations['shareResource']>>;
|
|
7862
|
+
subscribeOnClientChannel: (init?: SDKOperationInit<operations['subscribeOnClientChannel']>) => Promise<SDKOperationResponse<operations['subscribeOnClientChannel']>>;
|
|
7863
|
+
subscribeToResources: (init: SDKOperationInit<operations['subscribeToResources']>) => Promise<SDKOperationResponse<operations['subscribeToResources']>>;
|
|
7864
|
+
toolSetSignout: (init: SDKOperationInit<operations['toolSetSignout']>) => Promise<SDKOperationResponse<operations['toolSetSignout']>>;
|
|
7865
|
+
toolsetSignin: (init: SDKOperationInit<operations['toolsetSignin']>) => Promise<SDKOperationResponse<operations['toolsetSignin']>>;
|
|
7866
|
+
transferInputFile: (init: SDKOperationInit<operations['transferInputFile']>) => Promise<SDKOperationResponse<operations['transferInputFile']>>;
|
|
7867
|
+
transferOutputFile: (init: SDKOperationInit<operations['transferOutputFile']>) => Promise<SDKOperationResponse<operations['transferOutputFile']>>;
|
|
7868
|
+
undeployApplication: (init: SDKOperationInit<operations['undeployApplication']>) => Promise<SDKOperationResponse<operations['undeployApplication']>>;
|
|
7869
|
+
unsubscribeOnClientChannel: (init: SDKOperationInit<operations['unsubscribeOnClientChannel']>) => Promise<SDKOperationResponse<operations['unsubscribeOnClientChannel']>>;
|
|
7870
|
+
updatePublication: (init?: SDKOperationInit<operations['updatePublication']>) => Promise<SDKOperationResponse<operations['updatePublication']>>;
|
|
7871
|
+
uploadFile: (bucket: string, file_path: string, init: SDKOperationInit<operations['uploadFile']>) => Promise<SDKOperationResponse<operations['uploadFile']>>;
|
|
7872
|
+
uploadFileToCodeInterpreter: (init: SDKOperationInit<operations['uploadFileToCodeInterpreter']>) => Promise<SDKOperationResponse<operations['uploadFileToCodeInterpreter']>>;
|
|
7873
|
+
}
|
|
7874
|
+
declare function createSDK(opts: SDKOptions): DIAL_SDK;
|
|
7216
7875
|
|
|
7217
|
-
export { type DIAL_SDK, type SDKOptions, type components, createSDK, type operations, type paths };
|
|
7876
|
+
export { type Conversation, type ConversationMessage, type ConversationMessageSettings, type ConversationModelId, type ConversationResource, type DIAL_SDK, type DeploymentData, type ModelCapabilities, type ModelData, type ModelLimits, type ModelListData, type ModelPricing, type SDKOperationId, type SDKOperationInit, type SDKOperationResponse, type SDKOptions, type SDKRequestInit, type SDKResponse, type components, createSDK, type operations, type paths };
|