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