@epam/ai-dial-typescript-sdk 0.1.0-dev.27 → 0.1.0-dev.28

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/dist/index.js CHANGED
@@ -5,12 +5,10 @@ import createClient from "openapi-fetch";
5
5
  var acceptUserConsentUrl = (deployment_id) => {
6
6
  return `/v1/consent/${deployment_id}`;
7
7
  };
8
+ var applyConfigManifestsUrl = "/v1/admin/apply";
8
9
  var approvePublicationUrl = "/v1/ops/publication/approve";
9
- var callMcpUrl = (deployment_id) => {
10
- return `/v1/deployments/${deployment_id}/mcp`;
11
- };
12
- var callToolSetUrl = (toolset_name) => {
13
- return `/v1/toolset/${toolset_name}/mcp`;
10
+ var cancelResponseItemUrl = (response_id) => {
11
+ return `/openai/v1/responses/${response_id}/cancel`;
14
12
  };
15
13
  var closeSessionUrl = "/v1/ops/code_interpreter/close_session";
16
14
  var configurationDeploymentUrl = (deployment_name) => {
@@ -18,7 +16,14 @@ var configurationDeploymentUrl = (deployment_name) => {
18
16
  };
19
17
  var copyResourceUrl = "/v1/ops/resource/copy";
20
18
  var copySharedResourcesUrl = "/v1/ops/resource/share/copy";
19
+ var createCompletionUrl = (deployment_name) => {
20
+ return `/openai/deployments/${deployment_name}/completions`;
21
+ };
22
+ var createEmbeddingUrl = (deployment_name) => {
23
+ return `/openai/deployments/${deployment_name}/embeddings`;
24
+ };
21
25
  var createPublicationUrl = "/v1/ops/publication/create";
26
+ var createResponseUrl = "/openai/v1/responses";
22
27
  var deleteConversationUrl = (bucket, conversation_path) => {
23
28
  return `/v1/conversations/${bucket}/${conversation_path}`;
24
29
  };
@@ -28,30 +33,54 @@ var deleteCustomApplicationUrl = (bucket, application_path) => {
28
33
  var deleteFileUrl = (bucket, file_path) => {
29
34
  return `/v1/files/${bucket}/${file_path}`;
30
35
  };
36
+ var deleteGlobalSettingsUrl = (bucket, path) => {
37
+ return `/v1/settings/${bucket}/${path}`;
38
+ };
39
+ var deleteInterceptorUrl = (bucket, path) => {
40
+ return `/v1/interceptors/${bucket}/${path}`;
41
+ };
31
42
  var deleteInvitationUrl = (invitation_id) => {
32
43
  return `/v1/invitations/${invitation_id}`;
33
44
  };
45
+ var deleteKeyUrl = (bucket, path) => {
46
+ return `/v1/keys/${bucket}/${path}`;
47
+ };
48
+ var deleteModelUrl = (bucket, path) => {
49
+ return `/v1/models/${bucket}/${path}`;
50
+ };
34
51
  var deleteNotificationsUrl = "/v1/ops/notification/delete";
35
52
  var deletePromptUrl = (bucket, prompt_path) => {
36
53
  return `/v1/prompts/${bucket}/${prompt_path}`;
37
54
  };
38
55
  var deletePublicationUrl = "/v1/ops/publication/delete";
56
+ var deleteResponseItemUrl = (response_id) => {
57
+ return `/openai/v1/responses/${response_id}`;
58
+ };
59
+ var deleteRoleUrl = (bucket, path) => {
60
+ return `/v1/roles/${bucket}/${path}`;
61
+ };
62
+ var deleteRouteUrl = (bucket, path) => {
63
+ return `/v1/routes/${bucket}/${path}`;
64
+ };
65
+ var deleteSchemaUrl = (bucket, path) => {
66
+ return `/v1/schemas/${bucket}/${path}`;
67
+ };
39
68
  var deleteToolSetUrl = (bucket, toolset_path) => {
40
69
  return `/v1/toolsets/${bucket}/${toolset_path}`;
41
70
  };
71
+ var deleteToolSetMcpUrl = (toolset_name) => {
72
+ return `/v1/toolset/${toolset_name}/mcp`;
73
+ };
42
74
  var deployApplicationUrl = "/v1/ops/application/deploy";
43
75
  var discardSharedResourcesUrl = "/v1/ops/resource/share/discard";
44
76
  var downloadFileUrl = (bucket, file_path) => {
45
77
  return `/v1/files/${bucket}/${file_path}`;
46
78
  };
47
79
  var downloadFileFromCodeInterpreterUrl = "/v1/ops/code_interpreter/download_file";
48
- var executeCodeUrl = "/v1/ops/code_interpreter/execute_code";
49
- var getAllToolSetAllowedToolsUrl = (toolset_id) => {
50
- return `/v1/toolset/${toolset_id}/allowed-tools`;
51
- };
52
- var getAllToolSetToolsUrl = (toolset_id) => {
53
- return `/v1/toolset/${toolset_id}/tools`;
80
+ var downloadSkillFolderUrl = (bucket, path) => {
81
+ return `/v2/skills/${bucket}/${path}`;
54
82
  };
83
+ var executeCodeUrl = "/v1/ops/code_interpreter/execute_code";
55
84
  var getApplicationUrl = (application_name) => {
56
85
  return `/openai/applications/${application_name}`;
57
86
  };
@@ -60,6 +89,7 @@ var getApplicationMetadataUrl = (bucket, path) => {
60
89
  return `/v1/metadata/applications/${bucket}/${path}`;
61
90
  };
62
91
  var getApplicationsUrl = "/openai/applications";
92
+ var getConfigHealthUrl = "/v1/admin/health/config";
63
93
  var getConversationUrl = (bucket, conversation_path) => {
64
94
  return `/v1/conversations/${bucket}/${conversation_path}`;
65
95
  };
@@ -80,18 +110,59 @@ var getDeploymentLimitsUrl = (deployment_name) => {
80
110
  return `/v1/deployments/${deployment_name}/limits`;
81
111
  };
82
112
  var getDeploymentsUrl = "/openai/deployments";
83
- var getDeploymentsByInterfaceTypeUrl = "/v1/deployments";
113
+ var getFileConfigInterceptorUrl = (name) => {
114
+ return `/v1/admin/config/file/interceptors/${name}`;
115
+ };
116
+ var getFileConfigModelUrl = (name) => {
117
+ return `/v1/admin/config/file/models/${name}`;
118
+ };
119
+ var getFileConfigRoleUrl = (name) => {
120
+ return `/v1/admin/config/file/roles/${name}`;
121
+ };
122
+ var getFileConfigRouteUrl = (name) => {
123
+ return `/v1/admin/config/file/routes/${name}`;
124
+ };
125
+ var getFileConfigSchemaUrl = (name) => {
126
+ return `/v1/admin/config/file/schemas/${name}`;
127
+ };
128
+ var getFileConfigSettingsUrl = (name) => {
129
+ return `/v1/admin/config/file/settings/${name}`;
130
+ };
84
131
  var getFileMetadataUrl = (bucket, path) => {
85
132
  return `/v1/metadata/files/${bucket}/${path}`;
86
133
  };
134
+ var getGlobalSettingsUrl = (bucket, path) => {
135
+ return `/v1/settings/${bucket}/${path}`;
136
+ };
137
+ var getGlobalSettingsMetadataUrl = (bucket, path) => {
138
+ return `/v1/metadata/settings/${bucket}/${path}`;
139
+ };
140
+ var getInterceptorUrl = (bucket, path) => {
141
+ return `/v1/interceptors/${bucket}/${path}`;
142
+ };
143
+ var getInterceptorMetadataUrl = (bucket, path) => {
144
+ return `/v1/metadata/interceptors/${bucket}/${path}`;
145
+ };
87
146
  var getInvitationUrl = (invitation_id) => {
88
147
  return `/v1/invitations/${invitation_id}`;
89
148
  };
90
149
  var getInvitationsUrl = "/v1/invitations";
150
+ var getKeyUrl = (bucket, path) => {
151
+ return `/v1/keys/${bucket}/${path}`;
152
+ };
153
+ var getKeyMetadataUrl = (bucket, path) => {
154
+ return `/v1/metadata/keys/${bucket}/${path}`;
155
+ };
91
156
  var getMetaSchemaOfCustomApplicationSchemaUrl = "/v1/application_type_schemas/meta_schema";
92
157
  var getModelUrl = (model_name) => {
93
158
  return `/openai/models/${model_name}`;
94
159
  };
160
+ var getModelByPathUrl = (bucket, path) => {
161
+ return `/v1/models/${bucket}/${path}`;
162
+ };
163
+ var getModelMetadataUrl = (bucket, path) => {
164
+ return `/v1/metadata/models/${bucket}/${path}`;
165
+ };
95
166
  var getModelsUrl = "/openai/models";
96
167
  var getNotificationsUrl = "/v1/ops/notification/list";
97
168
  var getPerRequestPermissionsUrl = "/v1/ops/resource/per-request-permissions/list";
@@ -104,11 +175,41 @@ var getPromptMetadataUrl = (bucket, path) => {
104
175
  var getPublicationUrl = "/v1/ops/publication/get";
105
176
  var getPublicationRulesUrl = "/v1/ops/publication/rule/list";
106
177
  var getPublicationsUrl = "/v1/ops/publication/list";
178
+ var getResponseItemUrl = (response_id) => {
179
+ return `/openai/v1/responses/${response_id}`;
180
+ };
181
+ var getRoleUrl = (bucket, path) => {
182
+ return `/v1/roles/${bucket}/${path}`;
183
+ };
184
+ var getRoleMetadataUrl = (bucket, path) => {
185
+ return `/v1/metadata/roles/${bucket}/${path}`;
186
+ };
187
+ var getRouteUrl = (bucket, path) => {
188
+ return `/v1/routes/${bucket}/${path}`;
189
+ };
190
+ var getRouteMetadataUrl = (bucket, path) => {
191
+ return `/v1/metadata/routes/${bucket}/${path}`;
192
+ };
193
+ var getSchemaUrl = (bucket, path) => {
194
+ return `/v1/schemas/${bucket}/${path}`;
195
+ };
196
+ var getSchemaMetadataUrl = (bucket, path) => {
197
+ return `/v1/metadata/schemas/${bucket}/${path}`;
198
+ };
107
199
  var getSessionUrl = "/v1/ops/code_interpreter/get_session";
108
200
  var getSharedResourcesUrl = "/v1/ops/resource/share/list";
201
+ var getToolSetAllowedToolsUrl = (toolset_name) => {
202
+ return `/v1/toolset/${toolset_name}/allowed-tools`;
203
+ };
204
+ var getToolSetMcpUrl = (toolset_name) => {
205
+ return `/v1/toolset/${toolset_name}/mcp`;
206
+ };
109
207
  var getToolSetMetadataUrl = (bucket, path) => {
110
208
  return `/v1/metadata/toolsets/${bucket}/${path}`;
111
209
  };
210
+ var getToolSetToolsUrl = (toolset_name) => {
211
+ return `/v1/toolset/${toolset_name}/tools`;
212
+ };
112
213
  var getToolSetsUrl = "/openai/toolsets";
113
214
  var getToolsetUrl = (toolset_name) => {
114
215
  return `/openai/toolsets/${toolset_name}`;
@@ -116,18 +217,32 @@ var getToolsetUrl = (toolset_name) => {
116
217
  var getUserBucketUrl = "/v1/bucket";
117
218
  var getUserInfoUrl = "/v1/user/info";
118
219
  var grantPerRequestPermissionsUrl = "/v1/ops/resource/per-request-permissions/grant";
119
- var interactWithClientChannelUrl = "/v1/ops/client-channel/interact";
220
+ var interactClientChannelUrl = "/v1/ops/client-channel/interact";
120
221
  var listCustomApplicationSchemasUrl = "/v1/application_type_schemas/schemas";
222
+ var listDeploymentsUrl = "/v1/deployments";
223
+ var listFileConfigInterceptorsUrl = "/v1/admin/config/file/interceptors";
224
+ var listFileConfigModelsUrl = "/v1/admin/config/file/models";
225
+ var listFileConfigRolesUrl = "/v1/admin/config/file/roles";
226
+ var listFileConfigRoutesUrl = "/v1/admin/config/file/routes";
227
+ var listFileConfigSchemasUrl = "/v1/admin/config/file/schemas";
228
+ var listFileConfigSettingsUrl = "/v1/admin/config/file/settings";
121
229
  var listFilesFromCodeInterpreterUrl = "/v1/ops/code_interpreter/list_files";
230
+ var listPublishedResourcesUrl = "/v1/ops/publication/resource/list";
122
231
  var moveResourceUrl = "/v1/ops/resource/move";
123
232
  var openSessionUrl = "/v1/ops/code_interpreter/open_session";
233
+ var postApplicationMcpUrl = (deployment_name) => {
234
+ return `/v1/deployments/${deployment_name}/mcp`;
235
+ };
236
+ var postToolSetMcpUrl = (toolset_name) => {
237
+ return `/v1/toolset/${toolset_name}/mcp`;
238
+ };
124
239
  var rateDeploymentUrl = (deployment_name) => {
125
240
  return `/v1/${deployment_name}/rate`;
126
241
  };
127
242
  var redeployApplicationUrl = "/v1/ops/application/redeploy";
128
243
  var rejectPublicationUrl = "/v1/ops/publication/reject";
129
244
  var reloadConfigUrl = "/v1/ops/config/reload";
130
- var reportResponseToClientChannelUrl = "/v1/ops/client-channel/report";
245
+ var reportClientChannelUrl = "/v1/ops/client-channel/report";
131
246
  var requestUserConsentUrl = (deployment_id) => {
132
247
  return `/v1/consent/${deployment_id}`;
133
248
  };
@@ -139,32 +254,60 @@ var saveConversationUrl = (bucket, conversation_path) => {
139
254
  var saveCustomApplicationUrl = (bucket, application_path) => {
140
255
  return `/v1/applications/${bucket}/${application_path}`;
141
256
  };
257
+ var saveGlobalSettingsUrl = (bucket, path) => {
258
+ return `/v1/settings/${bucket}/${path}`;
259
+ };
260
+ var saveInterceptorUrl = (bucket, path) => {
261
+ return `/v1/interceptors/${bucket}/${path}`;
262
+ };
263
+ var saveKeyUrl = (bucket, path) => {
264
+ return `/v1/keys/${bucket}/${path}`;
265
+ };
266
+ var saveModelUrl = (bucket, path) => {
267
+ return `/v1/models/${bucket}/${path}`;
268
+ };
142
269
  var savePromptUrl = (bucket, prompt_path) => {
143
270
  return `/v1/prompts/${bucket}/${prompt_path}`;
144
271
  };
272
+ var saveRoleUrl = (bucket, path) => {
273
+ return `/v1/roles/${bucket}/${path}`;
274
+ };
275
+ var saveRouteUrl = (bucket, path) => {
276
+ return `/v1/routes/${bucket}/${path}`;
277
+ };
278
+ var saveSchemaUrl = (bucket, path) => {
279
+ return `/v1/schemas/${bucket}/${path}`;
280
+ };
145
281
  var saveToolSetUrl = (bucket, toolset_path) => {
146
282
  return `/v1/toolsets/${bucket}/${toolset_path}`;
147
283
  };
148
284
  var sendChatCompletionRequestUrl = (deployment_name) => {
149
285
  return `/openai/deployments/${deployment_name}/chat/completions`;
150
286
  };
151
- var sendEmbeddingsRequestUrl = (deployment_name) => {
152
- return `/openai/deployments/${deployment_name}/embeddings`;
153
- };
154
287
  var shareResourceUrl = "/v1/ops/resource/share/create";
155
- var subscribeOnClientChannelUrl = "/v1/ops/client-channel/subscribe";
288
+ var subscribeClientChannelUrl = "/v1/ops/client-channel/subscribe";
156
289
  var subscribeToResourcesUrl = "/v1/ops/resource/subscribe";
290
+ var tokenizeUrl = (deployment_name) => {
291
+ return `/v1/deployments/${deployment_name}/tokenize`;
292
+ };
157
293
  var toolSetSignoutUrl = "/v1/ops/toolset/signout";
158
294
  var toolsetSigninUrl = "/v1/ops/toolset/signin";
159
295
  var transferInputFileUrl = "/v1/ops/code_interpreter/transfer_input_file";
160
296
  var transferOutputFileUrl = "/v1/ops/code_interpreter/transfer_output_file";
297
+ var truncatePromptUrl = (deployment_name) => {
298
+ return `/v1/deployments/${deployment_name}/truncate_prompt`;
299
+ };
161
300
  var undeployApplicationUrl = "/v1/ops/application/undeploy";
162
- var unsubscribeOnClientChannelUrl = "/v1/ops/client-channel/unsubscribe";
301
+ var unsubscribeClientChannelUrl = "/v1/ops/client-channel/unsubscribe";
163
302
  var updatePublicationUrl = "/v1/ops/publication/update";
164
303
  var uploadFileUrl = (bucket, file_path) => {
165
304
  return `/v1/files/${bucket}/${file_path}`;
166
305
  };
167
306
  var uploadFileToCodeInterpreterUrl = "/v1/ops/code_interpreter/upload_file";
307
+ var uploadSkillFolderUrl = (bucket, path) => {
308
+ return `/v2/skills/${bucket}/${path}`;
309
+ };
310
+ var validateConfigManifestsUrl = "/v1/admin/validate";
168
311
 
169
312
  // src/client.ts
170
313
  function createSDK(opts) {
@@ -182,10 +325,10 @@ function createSDK(opts) {
182
325
  acceptUserConsentUrl(deployment_id),
183
326
  init
184
327
  ),
328
+ applyConfigManifests: (init) => client.POST(applyConfigManifestsUrl, init),
185
329
  approvePublication: (init) => client.POST(approvePublicationUrl, init),
186
- callMcp: (deployment_id, init) => client.POST(callMcpUrl(deployment_id), init),
187
- callToolSet: (toolset_name, init) => client.POST(
188
- callToolSetUrl(toolset_name),
330
+ cancelResponseItem: (response_id, init) => client.POST(
331
+ cancelResponseItemUrl(response_id),
189
332
  init
190
333
  ),
191
334
  closeSession: (init) => client.POST(closeSessionUrl, init),
@@ -195,7 +338,16 @@ function createSDK(opts) {
195
338
  ),
196
339
  copyResource: (init) => client.POST(copyResourceUrl, init),
197
340
  copySharedResources: (init) => client.POST(copySharedResourcesUrl, init),
341
+ createCompletion: (deployment_name, init) => client.POST(
342
+ createCompletionUrl(deployment_name),
343
+ init
344
+ ),
345
+ createEmbedding: (deployment_name, init) => client.POST(
346
+ createEmbeddingUrl(deployment_name),
347
+ init
348
+ ),
198
349
  createPublication: (init) => client.POST(createPublicationUrl, init),
350
+ createResponse: (init) => client.POST(createResponseUrl, init),
199
351
  deleteConversation: (bucket, conversation_path, init) => client.DELETE(
200
352
  deleteConversationUrl(bucket, conversation_path),
201
353
  init
@@ -208,20 +360,56 @@ function createSDK(opts) {
208
360
  deleteFileUrl(bucket, file_path),
209
361
  init
210
362
  ),
363
+ deleteGlobalSettings: (bucket, path, init) => client.DELETE(
364
+ deleteGlobalSettingsUrl(bucket, path),
365
+ init
366
+ ),
367
+ deleteInterceptor: (bucket, path, init) => client.DELETE(
368
+ deleteInterceptorUrl(bucket, path),
369
+ init
370
+ ),
211
371
  deleteInvitation: (invitation_id, init) => client.DELETE(
212
372
  deleteInvitationUrl(invitation_id),
213
373
  init
214
374
  ),
375
+ deleteKey: (bucket, path, init) => client.DELETE(
376
+ deleteKeyUrl(bucket, path),
377
+ init
378
+ ),
379
+ deleteModel: (bucket, path, init) => client.DELETE(
380
+ deleteModelUrl(bucket, path),
381
+ init
382
+ ),
215
383
  deleteNotifications: (init) => client.POST(deleteNotificationsUrl, init),
216
384
  deletePrompt: (bucket, prompt_path, init) => client.DELETE(
217
385
  deletePromptUrl(bucket, prompt_path),
218
386
  init
219
387
  ),
220
388
  deletePublication: (init) => client.POST(deletePublicationUrl, init),
389
+ deleteResponseItem: (response_id, init) => client.DELETE(
390
+ deleteResponseItemUrl(response_id),
391
+ init
392
+ ),
393
+ deleteRole: (bucket, path, init) => client.DELETE(
394
+ deleteRoleUrl(bucket, path),
395
+ init
396
+ ),
397
+ deleteRoute: (bucket, path, init) => client.DELETE(
398
+ deleteRouteUrl(bucket, path),
399
+ init
400
+ ),
401
+ deleteSchema: (bucket, path, init) => client.DELETE(
402
+ deleteSchemaUrl(bucket, path),
403
+ init
404
+ ),
221
405
  deleteToolSet: (bucket, toolset_path, init) => client.DELETE(
222
406
  deleteToolSetUrl(bucket, toolset_path),
223
407
  init
224
408
  ),
409
+ deleteToolSetMcp: (toolset_name, init) => client.DELETE(
410
+ deleteToolSetMcpUrl(toolset_name),
411
+ init
412
+ ),
225
413
  deployApplication: (init) => client.POST(deployApplicationUrl, init),
226
414
  discardSharedResources: (init) => client.POST(discardSharedResourcesUrl, init),
227
415
  downloadFile: (bucket, file_path, init) => client.GET(
@@ -229,15 +417,11 @@ function createSDK(opts) {
229
417
  init
230
418
  ),
231
419
  downloadFileFromCodeInterpreter: (init) => client.POST(downloadFileFromCodeInterpreterUrl, init),
232
- executeCode: (init) => client.POST(executeCodeUrl, init),
233
- getAllToolSetAllowedTools: (toolset_id, init) => client.GET(
234
- getAllToolSetAllowedToolsUrl(toolset_id),
235
- init
236
- ),
237
- getAllToolSetTools: (toolset_id, init) => client.GET(
238
- getAllToolSetToolsUrl(toolset_id),
420
+ downloadSkillFolder: (bucket, path, init) => client.GET(
421
+ downloadSkillFolderUrl(bucket, path),
239
422
  init
240
423
  ),
424
+ executeCode: (init) => client.POST(executeCodeUrl, init),
241
425
  getApplication: (application_name, init) => client.GET(
242
426
  getApplicationUrl(application_name),
243
427
  init
@@ -248,6 +432,7 @@ function createSDK(opts) {
248
432
  init
249
433
  ),
250
434
  getApplications: (init) => client.GET(getApplicationsUrl, init),
435
+ getConfigHealth: (init) => client.GET(getConfigHealthUrl, init),
251
436
  getConversation: (bucket, conversation_path, init) => client.GET(
252
437
  getConversationUrl(bucket, conversation_path),
253
438
  init
@@ -274,21 +459,61 @@ function createSDK(opts) {
274
459
  init
275
460
  ),
276
461
  getDeployments: (init) => client.GET(getDeploymentsUrl, init),
277
- getDeploymentsByInterfaceType: (init) => client.GET(getDeploymentsByInterfaceTypeUrl, init),
462
+ getFileConfigInterceptor: (name, init) => client.GET(
463
+ getFileConfigInterceptorUrl(name),
464
+ init
465
+ ),
466
+ getFileConfigModel: (name, init) => client.GET(getFileConfigModelUrl(name), init),
467
+ getFileConfigRole: (name, init) => client.GET(getFileConfigRoleUrl(name), init),
468
+ getFileConfigRoute: (name, init) => client.GET(getFileConfigRouteUrl(name), init),
469
+ getFileConfigSchema: (name, init) => client.GET(getFileConfigSchemaUrl(name), init),
470
+ getFileConfigSettings: (name, init) => client.GET(
471
+ getFileConfigSettingsUrl(name),
472
+ init
473
+ ),
278
474
  getFileMetadata: (bucket, path, init) => client.GET(
279
475
  getFileMetadataUrl(bucket, path),
280
476
  init
281
477
  ),
478
+ getGlobalSettings: (bucket, path, init) => client.GET(
479
+ getGlobalSettingsUrl(bucket, path),
480
+ init
481
+ ),
482
+ getGlobalSettingsMetadata: (bucket, path, init) => client.GET(
483
+ getGlobalSettingsMetadataUrl(bucket, path),
484
+ init
485
+ ),
486
+ getInterceptor: (bucket, path, init) => client.GET(
487
+ getInterceptorUrl(bucket, path),
488
+ init
489
+ ),
490
+ getInterceptorMetadata: (bucket, path, init) => client.GET(
491
+ getInterceptorMetadataUrl(bucket, path),
492
+ init
493
+ ),
282
494
  getInvitation: (invitation_id, init) => client.GET(
283
495
  getInvitationUrl(invitation_id),
284
496
  init
285
497
  ),
286
498
  getInvitations: (init) => client.GET(getInvitationsUrl, init),
499
+ getKey: (bucket, path, init) => client.GET(getKeyUrl(bucket, path), init),
500
+ getKeyMetadata: (bucket, path, init) => client.GET(
501
+ getKeyMetadataUrl(bucket, path),
502
+ init
503
+ ),
287
504
  getMetaSchemaOfCustomApplicationSchema: (init) => client.GET(
288
505
  getMetaSchemaOfCustomApplicationSchemaUrl,
289
506
  init
290
507
  ),
291
508
  getModel: (model_name, init) => client.GET(getModelUrl(model_name), init),
509
+ getModelByPath: (bucket, path, init) => client.GET(
510
+ getModelByPathUrl(bucket, path),
511
+ init
512
+ ),
513
+ getModelMetadata: (bucket, path, init) => client.GET(
514
+ getModelMetadataUrl(bucket, path),
515
+ init
516
+ ),
292
517
  getModels: (init) => client.GET(getModelsUrl, init),
293
518
  getNotifications: (init) => client.POST(getNotificationsUrl, init),
294
519
  getPerRequestPermissions: (init) => client.POST(getPerRequestPermissionsUrl, init),
@@ -303,22 +528,69 @@ function createSDK(opts) {
303
528
  getPublication: (init) => client.POST(getPublicationUrl, init),
304
529
  getPublicationRules: (init) => client.POST(getPublicationRulesUrl, init),
305
530
  getPublications: (init) => client.POST(getPublicationsUrl, init),
531
+ getResponseItem: (response_id, init) => client.GET(
532
+ getResponseItemUrl(response_id),
533
+ init
534
+ ),
535
+ getRole: (bucket, path, init) => client.GET(getRoleUrl(bucket, path), init),
536
+ getRoleMetadata: (bucket, path, init) => client.GET(
537
+ getRoleMetadataUrl(bucket, path),
538
+ init
539
+ ),
540
+ getRoute: (bucket, path, init) => client.GET(getRouteUrl(bucket, path), init),
541
+ getRouteMetadata: (bucket, path, init) => client.GET(
542
+ getRouteMetadataUrl(bucket, path),
543
+ init
544
+ ),
545
+ getSchema: (bucket, path, init) => client.GET(getSchemaUrl(bucket, path), init),
546
+ getSchemaMetadata: (bucket, path, init) => client.GET(
547
+ getSchemaMetadataUrl(bucket, path),
548
+ init
549
+ ),
306
550
  getSession: (init) => client.POST(getSessionUrl, init),
307
551
  getSharedResources: (init) => client.POST(getSharedResourcesUrl, init),
552
+ getToolSetAllowedTools: (toolset_name, init) => client.GET(
553
+ getToolSetAllowedToolsUrl(toolset_name),
554
+ init
555
+ ),
556
+ getToolSetMcp: (toolset_name, init) => client.GET(
557
+ getToolSetMcpUrl(toolset_name),
558
+ init
559
+ ),
308
560
  getToolSetMetadata: (bucket, path, init) => client.GET(
309
561
  getToolSetMetadataUrl(bucket, path),
310
562
  init
311
563
  ),
564
+ getToolSetTools: (toolset_name, init) => client.GET(
565
+ getToolSetToolsUrl(toolset_name),
566
+ init
567
+ ),
312
568
  getToolSets: (init) => client.GET(getToolSetsUrl, init),
313
569
  getToolset: (toolset_name, init) => client.GET(getToolsetUrl(toolset_name), init),
314
570
  getUserBucket: (init) => client.GET(getUserBucketUrl, init),
315
571
  getUserInfo: (init) => client.GET(getUserInfoUrl, init),
316
572
  grantPerRequestPermissions: (init) => client.POST(grantPerRequestPermissionsUrl, init),
317
- interactWithClientChannel: (init) => client.POST(interactWithClientChannelUrl, init),
573
+ interactClientChannel: (init) => client.POST(interactClientChannelUrl, init),
318
574
  listCustomApplicationSchemas: (init) => client.GET(listCustomApplicationSchemasUrl, init),
575
+ listDeployments: (init) => client.GET(listDeploymentsUrl, init),
576
+ listFileConfigInterceptors: (init) => client.GET(listFileConfigInterceptorsUrl, init),
577
+ listFileConfigModels: (init) => client.GET(listFileConfigModelsUrl, init),
578
+ listFileConfigRoles: (init) => client.GET(listFileConfigRolesUrl, init),
579
+ listFileConfigRoutes: (init) => client.GET(listFileConfigRoutesUrl, init),
580
+ listFileConfigSchemas: (init) => client.GET(listFileConfigSchemasUrl, init),
581
+ listFileConfigSettings: (init) => client.GET(listFileConfigSettingsUrl, init),
319
582
  listFilesFromCodeInterpreter: (init) => client.POST(listFilesFromCodeInterpreterUrl, init),
583
+ listPublishedResources: (init) => client.POST(listPublishedResourcesUrl, init),
320
584
  moveResource: (init) => client.POST(moveResourceUrl, init),
321
585
  openSession: (init) => client.POST(openSessionUrl, init),
586
+ postApplicationMcp: (deployment_name, init) => client.POST(
587
+ postApplicationMcpUrl(deployment_name),
588
+ init
589
+ ),
590
+ postToolSetMcp: (toolset_name, init) => client.POST(
591
+ postToolSetMcpUrl(toolset_name),
592
+ init
593
+ ),
322
594
  rateDeployment: (deployment_name, init) => client.POST(
323
595
  rateDeploymentUrl(deployment_name),
324
596
  init
@@ -326,7 +598,7 @@ function createSDK(opts) {
326
598
  redeployApplication: (init) => client.POST(redeployApplicationUrl, init),
327
599
  rejectPublication: (init) => client.POST(rejectPublicationUrl, init),
328
600
  reloadConfig: (init) => client.POST(reloadConfigUrl, init),
329
- reportResponseToClientChannel: (init) => client.POST(reportResponseToClientChannelUrl, init),
601
+ reportClientChannel: (init) => client.POST(reportClientChannelUrl, init),
330
602
  requestUserConsent: (deployment_id, init) => client.GET(
331
603
  requestUserConsentUrl(deployment_id),
332
604
  init
@@ -341,10 +613,23 @@ function createSDK(opts) {
341
613
  saveCustomApplicationUrl(bucket, application_path),
342
614
  init
343
615
  ),
616
+ saveGlobalSettings: (bucket, path, init) => client.PUT(
617
+ saveGlobalSettingsUrl(bucket, path),
618
+ init
619
+ ),
620
+ saveInterceptor: (bucket, path, init) => client.PUT(
621
+ saveInterceptorUrl(bucket, path),
622
+ init
623
+ ),
624
+ saveKey: (bucket, path, init) => client.PUT(saveKeyUrl(bucket, path), init),
625
+ saveModel: (bucket, path, init) => client.PUT(saveModelUrl(bucket, path), init),
344
626
  savePrompt: (bucket, prompt_path, init) => client.PUT(
345
627
  savePromptUrl(bucket, prompt_path),
346
628
  init
347
629
  ),
630
+ saveRole: (bucket, path, init) => client.PUT(saveRoleUrl(bucket, path), init),
631
+ saveRoute: (bucket, path, init) => client.PUT(saveRouteUrl(bucket, path), init),
632
+ saveSchema: (bucket, path, init) => client.PUT(saveSchemaUrl(bucket, path), init),
348
633
  saveToolSet: (bucket, toolset_path, init) => client.PUT(
349
634
  saveToolSetUrl(bucket, toolset_path),
350
635
  init
@@ -353,25 +638,34 @@ function createSDK(opts) {
353
638
  sendChatCompletionRequestUrl(deployment_name),
354
639
  init
355
640
  ),
356
- sendEmbeddingsRequest: (deployment_name, init) => client.POST(
357
- sendEmbeddingsRequestUrl(deployment_name),
358
- init
359
- ),
360
641
  shareResource: (init) => client.POST(shareResourceUrl, init),
361
- subscribeOnClientChannel: (init) => client.POST(subscribeOnClientChannelUrl, init),
642
+ subscribeClientChannel: (init) => client.POST(subscribeClientChannelUrl, init),
362
643
  subscribeToResources: (init) => client.POST(subscribeToResourcesUrl, init),
644
+ tokenize: (deployment_name, init) => client.POST(
645
+ tokenizeUrl(deployment_name),
646
+ init
647
+ ),
363
648
  toolSetSignout: (init) => client.POST(toolSetSignoutUrl, init),
364
649
  toolsetSignin: (init) => client.POST(toolsetSigninUrl, init),
365
650
  transferInputFile: (init) => client.POST(transferInputFileUrl, init),
366
651
  transferOutputFile: (init) => client.POST(transferOutputFileUrl, init),
652
+ truncatePrompt: (deployment_name, init) => client.POST(
653
+ truncatePromptUrl(deployment_name),
654
+ init
655
+ ),
367
656
  undeployApplication: (init) => client.POST(undeployApplicationUrl, init),
368
- unsubscribeOnClientChannel: (init) => client.POST(unsubscribeOnClientChannelUrl, init),
657
+ unsubscribeClientChannel: (init) => client.POST(unsubscribeClientChannelUrl, init),
369
658
  updatePublication: (init) => client.POST(updatePublicationUrl, init),
370
659
  uploadFile: (bucket, file_path, init) => client.PUT(
371
660
  uploadFileUrl(bucket, file_path),
372
661
  init
373
662
  ),
374
- uploadFileToCodeInterpreter: (init) => client.POST(uploadFileToCodeInterpreterUrl, init)
663
+ uploadFileToCodeInterpreter: (init) => client.POST(uploadFileToCodeInterpreterUrl, init),
664
+ uploadSkillFolder: (bucket, path, init) => client.PUT(
665
+ uploadSkillFolderUrl(bucket, path),
666
+ init
667
+ ),
668
+ validateConfigManifests: (init) => client.POST(validateConfigManifestsUrl, init)
375
669
  };
376
670
  }
377
671
  export {