@epam/ai-dial-typescript-sdk 0.1.0-dev.3 → 0.1.0-dev.30

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,9 +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 callToolSetUrl = (toolset_name) => {
46
- return `/v1/toolset/${toolset_name}/mcp`;
46
+ var cancelResponseItemUrl = (response_id) => {
47
+ return `/openai/v1/responses/${response_id}/cancel`;
47
48
  };
48
49
  var closeSessionUrl = "/v1/ops/code_interpreter/close_session";
49
50
  var configurationDeploymentUrl = (deployment_name) => {
@@ -51,7 +52,14 @@ var configurationDeploymentUrl = (deployment_name) => {
51
52
  };
52
53
  var copyResourceUrl = "/v1/ops/resource/copy";
53
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
+ };
54
61
  var createPublicationUrl = "/v1/ops/publication/create";
62
+ var createResponseUrl = "/openai/v1/responses";
55
63
  var deleteConversationUrl = (bucket, conversation_path) => {
56
64
  return `/v1/conversations/${bucket}/${conversation_path}`;
57
65
  };
@@ -61,23 +69,53 @@ var deleteCustomApplicationUrl = (bucket, application_path) => {
61
69
  var deleteFileUrl = (bucket, file_path) => {
62
70
  return `/v1/files/${bucket}/${file_path}`;
63
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
+ };
64
78
  var deleteInvitationUrl = (invitation_id) => {
65
79
  return `/v1/invitations/${invitation_id}`;
66
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
+ };
67
87
  var deleteNotificationsUrl = "/v1/ops/notification/delete";
68
88
  var deletePromptUrl = (bucket, prompt_path) => {
69
89
  return `/v1/prompts/${bucket}/${prompt_path}`;
70
90
  };
71
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
+ };
72
104
  var deleteToolSetUrl = (bucket, toolset_path) => {
73
105
  return `/v1/toolsets/${bucket}/${toolset_path}`;
74
106
  };
107
+ var deleteToolSetMcpUrl = (toolset_name) => {
108
+ return `/v1/toolset/${toolset_name}/mcp`;
109
+ };
75
110
  var deployApplicationUrl = "/v1/ops/application/deploy";
76
111
  var discardSharedResourcesUrl = "/v1/ops/resource/share/discard";
77
112
  var downloadFileUrl = (bucket, file_path) => {
78
113
  return `/v1/files/${bucket}/${file_path}`;
79
114
  };
80
115
  var downloadFileFromCodeInterpreterUrl = "/v1/ops/code_interpreter/download_file";
116
+ var downloadSkillFolderUrl = (bucket, path) => {
117
+ return `/v2/skills/${bucket}/${path}`;
118
+ };
81
119
  var executeCodeUrl = "/v1/ops/code_interpreter/execute_code";
82
120
  var getApplicationUrl = (application_name) => {
83
121
  return `/openai/applications/${application_name}`;
@@ -87,6 +125,7 @@ var getApplicationMetadataUrl = (bucket, path) => {
87
125
  return `/v1/metadata/applications/${bucket}/${path}`;
88
126
  };
89
127
  var getApplicationsUrl = "/openai/applications";
128
+ var getConfigHealthUrl = "/v1/admin/health/config";
90
129
  var getConversationUrl = (bucket, conversation_path) => {
91
130
  return `/v1/conversations/${bucket}/${conversation_path}`;
92
131
  };
@@ -107,17 +146,59 @@ var getDeploymentLimitsUrl = (deployment_name) => {
107
146
  return `/v1/deployments/${deployment_name}/limits`;
108
147
  };
109
148
  var getDeploymentsUrl = "/openai/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
+ };
110
167
  var getFileMetadataUrl = (bucket, path) => {
111
168
  return `/v1/metadata/files/${bucket}/${path}`;
112
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
+ };
113
182
  var getInvitationUrl = (invitation_id) => {
114
183
  return `/v1/invitations/${invitation_id}`;
115
184
  };
116
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
+ };
117
192
  var getMetaSchemaOfCustomApplicationSchemaUrl = "/v1/application_type_schemas/meta_schema";
118
193
  var getModelUrl = (model_name) => {
119
194
  return `/openai/models/${model_name}`;
120
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
+ };
121
202
  var getModelsUrl = "/openai/models";
122
203
  var getNotificationsUrl = "/v1/ops/notification/list";
123
204
  var getPerRequestPermissionsUrl = "/v1/ops/resource/per-request-permissions/list";
@@ -130,11 +211,41 @@ var getPromptMetadataUrl = (bucket, path) => {
130
211
  var getPublicationUrl = "/v1/ops/publication/get";
131
212
  var getPublicationRulesUrl = "/v1/ops/publication/rule/list";
132
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
+ };
133
235
  var getSessionUrl = "/v1/ops/code_interpreter/get_session";
134
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
+ };
135
243
  var getToolSetMetadataUrl = (bucket, path) => {
136
244
  return `/v1/metadata/toolsets/${bucket}/${path}`;
137
245
  };
246
+ var getToolSetToolsUrl = (toolset_name) => {
247
+ return `/v1/toolset/${toolset_name}/tools`;
248
+ };
138
249
  var getToolSetsUrl = "/openai/toolsets";
139
250
  var getToolsetUrl = (toolset_name) => {
140
251
  return `/openai/toolsets/${toolset_name}`;
@@ -142,16 +253,32 @@ var getToolsetUrl = (toolset_name) => {
142
253
  var getUserBucketUrl = "/v1/bucket";
143
254
  var getUserInfoUrl = "/v1/user/info";
144
255
  var grantPerRequestPermissionsUrl = "/v1/ops/resource/per-request-permissions/grant";
256
+ var interactClientChannelUrl = "/v1/ops/client-channel/interact";
145
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";
146
265
  var listFilesFromCodeInterpreterUrl = "/v1/ops/code_interpreter/list_files";
266
+ var listPublishedResourcesUrl = "/v1/ops/publication/resource/list";
147
267
  var moveResourceUrl = "/v1/ops/resource/move";
148
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
+ };
149
275
  var rateDeploymentUrl = (deployment_name) => {
150
276
  return `/v1/${deployment_name}/rate`;
151
277
  };
152
278
  var redeployApplicationUrl = "/v1/ops/application/redeploy";
153
279
  var rejectPublicationUrl = "/v1/ops/publication/reject";
154
280
  var reloadConfigUrl = "/v1/ops/config/reload";
281
+ var reportClientChannelUrl = "/v1/ops/client-channel/report";
155
282
  var requestUserConsentUrl = (deployment_id) => {
156
283
  return `/v1/consent/${deployment_id}`;
157
284
  };
@@ -163,30 +290,60 @@ var saveConversationUrl = (bucket, conversation_path) => {
163
290
  var saveCustomApplicationUrl = (bucket, application_path) => {
164
291
  return `/v1/applications/${bucket}/${application_path}`;
165
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
+ };
166
305
  var savePromptUrl = (bucket, prompt_path) => {
167
306
  return `/v1/prompts/${bucket}/${prompt_path}`;
168
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
+ };
169
317
  var saveToolSetUrl = (bucket, toolset_path) => {
170
318
  return `/v1/toolsets/${bucket}/${toolset_path}`;
171
319
  };
172
320
  var sendChatCompletionRequestUrl = (deployment_name) => {
173
321
  return `/openai/deployments/${deployment_name}/chat/completions`;
174
322
  };
175
- var sendEmbeddingsRequestUrl = (deployment_name) => {
176
- return `/openai/deployments/${deployment_name}/embeddings`;
177
- };
178
323
  var shareResourceUrl = "/v1/ops/resource/share/create";
324
+ var subscribeClientChannelUrl = "/v1/ops/client-channel/subscribe";
179
325
  var subscribeToResourcesUrl = "/v1/ops/resource/subscribe";
326
+ var tokenizeUrl = (deployment_name) => {
327
+ return `/v1/deployments/${deployment_name}/tokenize`;
328
+ };
180
329
  var toolSetSignoutUrl = "/v1/ops/toolset/signout";
181
330
  var toolsetSigninUrl = "/v1/ops/toolset/signin";
182
331
  var transferInputFileUrl = "/v1/ops/code_interpreter/transfer_input_file";
183
332
  var transferOutputFileUrl = "/v1/ops/code_interpreter/transfer_output_file";
333
+ var truncatePromptUrl = (deployment_name) => {
334
+ return `/v1/deployments/${deployment_name}/truncate_prompt`;
335
+ };
184
336
  var undeployApplicationUrl = "/v1/ops/application/undeploy";
337
+ var unsubscribeClientChannelUrl = "/v1/ops/client-channel/unsubscribe";
185
338
  var updatePublicationUrl = "/v1/ops/publication/update";
186
339
  var uploadFileUrl = (bucket, file_path) => {
187
340
  return `/v1/files/${bucket}/${file_path}`;
188
341
  };
189
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";
190
347
 
191
348
  // src/client.ts
192
349
  function createSDK(opts) {
@@ -200,9 +357,16 @@ function createSDK(opts) {
200
357
  fetch: opts.fetch
201
358
  });
202
359
  return {
203
- acceptUserConsent: (deployment_id, init) => client.POST(acceptUserConsentUrl(deployment_id), init),
360
+ acceptUserConsent: (deployment_id, init) => client.POST(
361
+ acceptUserConsentUrl(deployment_id),
362
+ init
363
+ ),
364
+ applyConfigManifests: (init) => client.POST(applyConfigManifestsUrl, init),
204
365
  approvePublication: (init) => client.POST(approvePublicationUrl, init),
205
- callToolSet: (toolset_name, init) => client.POST(callToolSetUrl(toolset_name), init),
366
+ cancelResponseItem: (response_id, init) => client.POST(
367
+ cancelResponseItemUrl(response_id),
368
+ init
369
+ ),
206
370
  closeSession: (init) => client.POST(closeSessionUrl, init),
207
371
  configurationDeployment: (deployment_name, init) => client.GET(
208
372
  configurationDeploymentUrl(deployment_name),
@@ -210,7 +374,16 @@ function createSDK(opts) {
210
374
  ),
211
375
  copyResource: (init) => client.POST(copyResourceUrl, init),
212
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
+ ),
213
385
  createPublication: (init) => client.POST(createPublicationUrl, init),
386
+ createResponse: (init) => client.POST(createResponseUrl, init),
214
387
  deleteConversation: (bucket, conversation_path, init) => client.DELETE(
215
388
  deleteConversationUrl(bucket, conversation_path),
216
389
  init
@@ -219,24 +392,83 @@ function createSDK(opts) {
219
392
  deleteCustomApplicationUrl(bucket, application_path),
220
393
  init
221
394
  ),
222
- deleteFile: (bucket, file_path, init) => client.DELETE(deleteFileUrl(bucket, file_path), init),
223
- deleteInvitation: (invitation_id, init) => client.DELETE(deleteInvitationUrl(invitation_id), init),
395
+ deleteFile: (bucket, file_path, init) => client.DELETE(
396
+ deleteFileUrl(bucket, file_path),
397
+ init
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
+ ),
407
+ deleteInvitation: (invitation_id, init) => client.DELETE(
408
+ deleteInvitationUrl(invitation_id),
409
+ init
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
+ ),
224
419
  deleteNotifications: (init) => client.POST(deleteNotificationsUrl, init),
225
- deletePrompt: (bucket, prompt_path, init) => client.DELETE(deletePromptUrl(bucket, prompt_path), init),
420
+ deletePrompt: (bucket, prompt_path, init) => client.DELETE(
421
+ deletePromptUrl(bucket, prompt_path),
422
+ init
423
+ ),
226
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
+ ),
227
441
  deleteToolSet: (bucket, toolset_path, init) => client.DELETE(
228
442
  deleteToolSetUrl(bucket, toolset_path),
229
443
  init
230
444
  ),
445
+ deleteToolSetMcp: (toolset_name, init) => client.DELETE(
446
+ deleteToolSetMcpUrl(toolset_name),
447
+ init
448
+ ),
231
449
  deployApplication: (init) => client.POST(deployApplicationUrl, init),
232
450
  discardSharedResources: (init) => client.POST(discardSharedResourcesUrl, init),
233
- downloadFile: (bucket, file_path, init) => client.GET(downloadFileUrl(bucket, file_path), init),
451
+ downloadFile: (bucket, file_path, init) => client.GET(
452
+ downloadFileUrl(bucket, file_path),
453
+ init
454
+ ),
234
455
  downloadFileFromCodeInterpreter: (init) => client.POST(downloadFileFromCodeInterpreterUrl, init),
456
+ downloadSkillFolder: (bucket, path, init) => client.GET(
457
+ downloadSkillFolderUrl(bucket, path),
458
+ init
459
+ ),
235
460
  executeCode: (init) => client.POST(executeCodeUrl, init),
236
- getApplication: (application_name, init) => client.GET(getApplicationUrl(application_name), init),
461
+ getApplication: (application_name, init) => client.GET(
462
+ getApplicationUrl(application_name),
463
+ init
464
+ ),
237
465
  getApplicationLogs: (init) => client.POST(getApplicationLogsUrl, init),
238
- getApplicationMetadata: (bucket, path, init) => client.GET(getApplicationMetadataUrl(bucket, path), init),
466
+ getApplicationMetadata: (bucket, path, init) => client.GET(
467
+ getApplicationMetadataUrl(bucket, path),
468
+ init
469
+ ),
239
470
  getApplications: (init) => client.GET(getApplicationsUrl, init),
471
+ getConfigHealth: (init) => client.GET(getConfigHealthUrl, init),
240
472
  getConversation: (bucket, conversation_path, init) => client.GET(
241
473
  getConversationUrl(bucket, conversation_path),
242
474
  init
@@ -254,39 +486,159 @@ function createSDK(opts) {
254
486
  getCustomToolSetUrl(bucket, toolset_path),
255
487
  init
256
488
  ),
257
- getDeployment: (deployment_name, init) => client.GET(getDeploymentUrl(deployment_name), init),
258
- getDeploymentLimits: (deployment_name, init) => client.GET(getDeploymentLimitsUrl(deployment_name), init),
489
+ getDeployment: (deployment_name, init) => client.GET(
490
+ getDeploymentUrl(deployment_name),
491
+ init
492
+ ),
493
+ getDeploymentLimits: (deployment_name, init) => client.GET(
494
+ getDeploymentLimitsUrl(deployment_name),
495
+ init
496
+ ),
259
497
  getDeployments: (init) => client.GET(getDeploymentsUrl, init),
260
- getFileMetadata: (bucket, path, init) => client.GET(getFileMetadataUrl(bucket, path), init),
261
- getInvitation: (invitation_id, init) => client.GET(getInvitationUrl(invitation_id), 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
+ ),
510
+ getFileMetadata: (bucket, path, init) => client.GET(
511
+ getFileMetadataUrl(bucket, path),
512
+ init
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
+ ),
530
+ getInvitation: (invitation_id, init) => client.GET(
531
+ getInvitationUrl(invitation_id),
532
+ init
533
+ ),
262
534
  getInvitations: (init) => client.GET(getInvitationsUrl, init),
263
- getMetaSchemaOfCustomApplicationSchema: (init) => client.GET(getMetaSchemaOfCustomApplicationSchemaUrl, 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
+ ),
540
+ getMetaSchemaOfCustomApplicationSchema: (init) => client.GET(
541
+ getMetaSchemaOfCustomApplicationSchemaUrl,
542
+ init
543
+ ),
264
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
+ ),
265
553
  getModels: (init) => client.GET(getModelsUrl, init),
266
554
  getNotifications: (init) => client.POST(getNotificationsUrl, init),
267
555
  getPerRequestPermissions: (init) => client.POST(getPerRequestPermissionsUrl, init),
268
- getPrompt: (bucket, prompt_path, init) => client.GET(getPromptUrl(bucket, prompt_path), init),
269
- getPromptMetadata: (bucket, path, init) => client.GET(getPromptMetadataUrl(bucket, path), init),
556
+ getPrompt: (bucket, prompt_path, init) => client.GET(
557
+ getPromptUrl(bucket, prompt_path),
558
+ init
559
+ ),
560
+ getPromptMetadata: (bucket, path, init) => client.GET(
561
+ getPromptMetadataUrl(bucket, path),
562
+ init
563
+ ),
270
564
  getPublication: (init) => client.POST(getPublicationUrl, init),
271
565
  getPublicationRules: (init) => client.POST(getPublicationRulesUrl, init),
272
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
+ ),
273
586
  getSession: (init) => client.POST(getSessionUrl, init),
274
587
  getSharedResources: (init) => client.POST(getSharedResourcesUrl, init),
275
- getToolSetMetadata: (bucket, path, init) => client.GET(getToolSetMetadataUrl(bucket, path), 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
+ ),
596
+ getToolSetMetadata: (bucket, path, init) => client.GET(
597
+ getToolSetMetadataUrl(bucket, path),
598
+ init
599
+ ),
600
+ getToolSetTools: (toolset_name, init) => client.GET(
601
+ getToolSetToolsUrl(toolset_name),
602
+ init
603
+ ),
276
604
  getToolSets: (init) => client.GET(getToolSetsUrl, init),
277
605
  getToolset: (toolset_name, init) => client.GET(getToolsetUrl(toolset_name), init),
278
606
  getUserBucket: (init) => client.GET(getUserBucketUrl, init),
279
607
  getUserInfo: (init) => client.GET(getUserInfoUrl, init),
280
608
  grantPerRequestPermissions: (init) => client.POST(grantPerRequestPermissionsUrl, init),
609
+ interactClientChannel: (init) => client.POST(interactClientChannelUrl, init),
281
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),
282
618
  listFilesFromCodeInterpreter: (init) => client.POST(listFilesFromCodeInterpreterUrl, init),
619
+ listPublishedResources: (init) => client.POST(listPublishedResourcesUrl, init),
283
620
  moveResource: (init) => client.POST(moveResourceUrl, init),
284
621
  openSession: (init) => client.POST(openSessionUrl, init),
285
- rateDeployment: (deployment_name, init) => client.POST(rateDeploymentUrl(deployment_name), 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
+ ),
630
+ rateDeployment: (deployment_name, init) => client.POST(
631
+ rateDeploymentUrl(deployment_name),
632
+ init
633
+ ),
286
634
  redeployApplication: (init) => client.POST(redeployApplicationUrl, init),
287
635
  rejectPublication: (init) => client.POST(rejectPublicationUrl, init),
288
636
  reloadConfig: (init) => client.POST(reloadConfigUrl, init),
289
- requestUserConsent: (deployment_id, init) => client.GET(requestUserConsentUrl(deployment_id), init),
637
+ reportClientChannel: (init) => client.POST(reportClientChannelUrl, init),
638
+ requestUserConsent: (deployment_id, init) => client.GET(
639
+ requestUserConsentUrl(deployment_id),
640
+ init
641
+ ),
290
642
  revokePerRequestPermissions: (init) => client.POST(revokePerRequestPermissionsUrl, init),
291
643
  revokeSharedResources: (init) => client.POST(revokeSharedResourcesUrl, init),
292
644
  saveConversation: (bucket, conversation_path, init) => client.PUT(
@@ -297,26 +649,59 @@ function createSDK(opts) {
297
649
  saveCustomApplicationUrl(bucket, application_path),
298
650
  init
299
651
  ),
300
- savePrompt: (bucket, prompt_path, init) => client.PUT(savePromptUrl(bucket, prompt_path), init),
301
- saveToolSet: (bucket, toolset_path, init) => client.PUT(saveToolSetUrl(bucket, toolset_path), init),
302
- sendChatCompletionRequest: (deployment_name, init) => client.POST(
303
- sendChatCompletionRequestUrl(deployment_name),
652
+ saveGlobalSettings: (bucket, path, init) => client.PUT(
653
+ saveGlobalSettingsUrl(bucket, path),
304
654
  init
305
655
  ),
306
- sendEmbeddingsRequest: (deployment_name, init) => client.POST(
307
- sendEmbeddingsRequestUrl(deployment_name),
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),
662
+ savePrompt: (bucket, prompt_path, init) => client.PUT(
663
+ savePromptUrl(bucket, prompt_path),
664
+ init
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),
669
+ saveToolSet: (bucket, toolset_path, init) => client.PUT(
670
+ saveToolSetUrl(bucket, toolset_path),
671
+ init
672
+ ),
673
+ sendChatCompletionRequest: (deployment_name, init) => client.POST(
674
+ sendChatCompletionRequestUrl(deployment_name),
308
675
  init
309
676
  ),
310
677
  shareResource: (init) => client.POST(shareResourceUrl, init),
678
+ subscribeClientChannel: (init) => client.POST(subscribeClientChannelUrl, init),
311
679
  subscribeToResources: (init) => client.POST(subscribeToResourcesUrl, init),
680
+ tokenize: (deployment_name, init) => client.POST(
681
+ tokenizeUrl(deployment_name),
682
+ init
683
+ ),
312
684
  toolSetSignout: (init) => client.POST(toolSetSignoutUrl, init),
313
685
  toolsetSignin: (init) => client.POST(toolsetSigninUrl, init),
314
686
  transferInputFile: (init) => client.POST(transferInputFileUrl, init),
315
687
  transferOutputFile: (init) => client.POST(transferOutputFileUrl, init),
688
+ truncatePrompt: (deployment_name, init) => client.POST(
689
+ truncatePromptUrl(deployment_name),
690
+ init
691
+ ),
316
692
  undeployApplication: (init) => client.POST(undeployApplicationUrl, init),
693
+ unsubscribeClientChannel: (init) => client.POST(unsubscribeClientChannelUrl, init),
317
694
  updatePublication: (init) => client.POST(updatePublicationUrl, init),
318
- uploadFile: (bucket, file_path, init) => client.PUT(uploadFileUrl(bucket, file_path), init),
319
- uploadFileToCodeInterpreter: (init) => client.POST(uploadFileToCodeInterpreterUrl, init)
695
+ uploadFile: (bucket, file_path, init) => client.PUT(
696
+ uploadFileUrl(bucket, file_path),
697
+ init
698
+ ),
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)
320
705
  };
321
706
  }
322
707
  // Annotate the CommonJS export names for ESM import in node: