@epam/ai-dial-typescript-sdk 0.1.0-dev.32 → 0.1.0-dev.34

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
@@ -62,6 +62,12 @@ var createEmbeddingUrl = (deployment_name) => {
62
62
  };
63
63
  var createPublicationUrl = "/v1/ops/publication/create";
64
64
  var createResponseUrl = "/openai/v1/responses";
65
+ var createSkillGroupingFolderUrl = (bucket, path) => {
66
+ return `/v2/skills/${bucket}/${path}/`;
67
+ };
68
+ var deleteCatalogSchemaResourceUrl = (bucket, path) => {
69
+ return `/v1/catalog_schemas/${bucket}/${path}`;
70
+ };
65
71
  var deleteConversationUrl = (bucket, conversation_path) => {
66
72
  return `/v1/conversations/${bucket}/${conversation_path}`;
67
73
  };
@@ -112,6 +118,9 @@ var deleteSkillFileUrl = (bucket, path, filepath) => {
112
118
  var deleteSkillFolderUrl = (bucket, path) => {
113
119
  return `/v2/skills/${bucket}/${path}`;
114
120
  };
121
+ var deleteSkillGroupingFolderUrl = (bucket, path) => {
122
+ return `/v2/skills/${bucket}/${path}/`;
123
+ };
115
124
  var deleteToolSetUrl = (bucket, toolset_path) => {
116
125
  return `/v1/toolsets/${bucket}/${toolset_path}`;
117
126
  };
@@ -130,18 +139,32 @@ var downloadSkillFileUrl = (bucket, path, filepath) => {
130
139
  var downloadSkillFolderUrl = (bucket, path) => {
131
140
  return `/v2/skills/${bucket}/${path}`;
132
141
  };
142
+ var downloadSkillGroupingFolderUrl = (bucket, path) => {
143
+ return `/v2/skills/${bucket}/${path}/`;
144
+ };
133
145
  var executeCodeUrl = "/v1/ops/code_interpreter/execute_code";
134
146
  var externalServiceGetCredentialsUrl = "/v1/ops/external-service/credentials";
147
+ var externalServiceGetOboCredentialsUrl = "/v1/ops/external-service/obo-credentials";
135
148
  var externalServiceSignInUrl = "/v1/ops/external-service/signin";
136
149
  var externalServiceSignOutUrl = "/v1/ops/external-service/signout";
137
150
  var getApplicationUrl = (application_name) => {
138
151
  return `/openai/applications/${application_name}`;
139
152
  };
140
153
  var getApplicationLogsUrl = "/v1/ops/application/logs";
154
+ var getApplicationMcpResourcesUrl = (deployment_name) => {
155
+ return `/v1/deployments/${deployment_name}/mcp/resources`;
156
+ };
141
157
  var getApplicationMetadataUrl = (bucket, path) => {
142
158
  return `/v1/metadata/applications/${bucket}/${path}`;
143
159
  };
144
160
  var getApplicationsUrl = "/openai/applications";
161
+ var getCatalogSchemaUrl = "/v1/catalog_schemas/schema";
162
+ var getCatalogSchemaMetadataUrl = (bucket, path) => {
163
+ return `/v1/metadata/catalog_schemas/${bucket}/${path}`;
164
+ };
165
+ var getCatalogSchemaResourceUrl = (bucket, path) => {
166
+ return `/v1/catalog_schemas/${bucket}/${path}`;
167
+ };
145
168
  var getConfigHealthUrl = "/v1/admin/health/config";
146
169
  var getConversationUrl = (bucket, conversation_path) => {
147
170
  return `/v1/conversations/${bucket}/${conversation_path}`;
@@ -166,9 +189,18 @@ var getDeploymentsUrl = "/openai/deployments";
166
189
  var getExternalServiceUrl = (appid, id) => {
167
190
  return `/v1/applications/${appid}/external-services/${id}`;
168
191
  };
192
+ var getFileConfigApplicationUrl = (name) => {
193
+ return `/v1/admin/config/file/applications/${name}`;
194
+ };
195
+ var getFileConfigCatalogSchemaUrl = (name) => {
196
+ return `/v1/admin/config/file/catalog_schemas/${name}`;
197
+ };
169
198
  var getFileConfigInterceptorUrl = (name) => {
170
199
  return `/v1/admin/config/file/interceptors/${name}`;
171
200
  };
201
+ var getFileConfigKeyUrl = (name) => {
202
+ return `/v1/admin/config/file/keys/${name}`;
203
+ };
172
204
  var getFileConfigModelUrl = (name) => {
173
205
  return `/v1/admin/config/file/models/${name}`;
174
206
  };
@@ -184,6 +216,9 @@ var getFileConfigSchemaUrl = (name) => {
184
216
  var getFileConfigSettingsUrl = (name) => {
185
217
  return `/v1/admin/config/file/settings/${name}`;
186
218
  };
219
+ var getFileConfigToolsetUrl = (name) => {
220
+ return `/v1/admin/config/file/toolsets/${name}`;
221
+ };
187
222
  var getFileMetadataUrl = (bucket, path) => {
188
223
  return `/v1/metadata/files/${bucket}/${path}`;
189
224
  };
@@ -209,6 +244,7 @@ var getKeyUrl = (bucket, path) => {
209
244
  var getKeyMetadataUrl = (bucket, path) => {
210
245
  return `/v1/metadata/keys/${bucket}/${path}`;
211
246
  };
247
+ var getMetaSchemaOfCatalogSchemaUrl = "/v1/catalog_schemas/meta_schema";
212
248
  var getMetaSchemaOfCustomApplicationSchemaUrl = "/v1/application_type_schemas/meta_schema";
213
249
  var getModelUrl = (model_name) => {
214
250
  return `/openai/models/${model_name}`;
@@ -274,19 +310,30 @@ var getUserBucketUrl = "/v1/bucket";
274
310
  var getUserInfoUrl = "/v1/user/info";
275
311
  var grantPerRequestPermissionsUrl = "/v1/ops/resource/per-request-permissions/grant";
276
312
  var interactClientChannelUrl = "/v1/ops/client-channel/interact";
313
+ var listCatalogSchemasUrl = "/v1/catalog_schemas/schemas";
277
314
  var listCustomApplicationSchemasUrl = "/v1/application_type_schemas/schemas";
278
315
  var listDeploymentsUrl = "/v1/deployments";
279
316
  var listExternalServicesUrl = (appid) => {
280
317
  return `/v1/applications/${appid}/external-services`;
281
318
  };
319
+ var listFileConfigApplicationsUrl = "/v1/admin/config/file/applications";
320
+ var listFileConfigCatalogSchemasUrl = "/v1/admin/config/file/catalog_schemas";
282
321
  var listFileConfigInterceptorsUrl = "/v1/admin/config/file/interceptors";
322
+ var listFileConfigKeysUrl = "/v1/admin/config/file/keys";
283
323
  var listFileConfigModelsUrl = "/v1/admin/config/file/models";
284
324
  var listFileConfigRolesUrl = "/v1/admin/config/file/roles";
285
325
  var listFileConfigRoutesUrl = "/v1/admin/config/file/routes";
286
326
  var listFileConfigSchemasUrl = "/v1/admin/config/file/schemas";
287
327
  var listFileConfigSettingsUrl = "/v1/admin/config/file/settings";
328
+ var listFileConfigToolsetsUrl = "/v1/admin/config/file/toolsets";
288
329
  var listFilesFromCodeInterpreterUrl = "/v1/ops/code_interpreter/list_files";
289
330
  var listPublishedResourcesUrl = "/v1/ops/publication/resource/list";
331
+ var listSkillFileMetadataUrl = (bucket, path, filepath) => {
332
+ return `/v2/metadata/skills/${bucket}/${path}/files/${filepath}`;
333
+ };
334
+ var listSkillMetadataUrl = (bucket, path) => {
335
+ return `/v2/metadata/skills/${bucket}/${path}`;
336
+ };
290
337
  var moveResourceUrl = "/v1/ops/resource/move";
291
338
  var openSessionUrl = "/v1/ops/code_interpreter/open_session";
292
339
  var postApplicationMcpUrl = (deployment_name) => {
@@ -304,12 +351,18 @@ var rateDeploymentUrl = (deployment_name) => {
304
351
  var redeployApplicationUrl = "/v1/ops/application/redeploy";
305
352
  var rejectPublicationUrl = "/v1/ops/publication/reject";
306
353
  var reloadConfigUrl = "/v1/ops/config/reload";
354
+ var repairToolSetUrl = (bucket, path) => {
355
+ return `/v1/ops/toolset/${bucket}/${path}/repair`;
356
+ };
307
357
  var reportClientChannelUrl = "/v1/ops/client-channel/report";
308
358
  var requestUserConsentUrl = (deployment_id) => {
309
359
  return `/v1/consent/${deployment_id}`;
310
360
  };
311
361
  var revokePerRequestPermissionsUrl = "/v1/ops/resource/per-request-permissions/revoke";
312
362
  var revokeSharedResourcesUrl = "/v1/ops/resource/share/revoke";
363
+ var saveCatalogSchemaResourceUrl = (bucket, path) => {
364
+ return `/v1/catalog_schemas/${bucket}/${path}`;
365
+ };
313
366
  var saveConversationUrl = (bucket, conversation_path) => {
314
367
  return `/v1/conversations/${bucket}/${conversation_path}`;
315
368
  };
@@ -415,6 +468,14 @@ function createSDK(opts) {
415
468
  ),
416
469
  createPublication: (init) => client.POST(createPublicationUrl, init),
417
470
  createResponse: (init) => client.POST(createResponseUrl, init),
471
+ createSkillGroupingFolder: (bucket, path, init) => client.PUT(
472
+ createSkillGroupingFolderUrl(bucket, path),
473
+ init
474
+ ),
475
+ deleteCatalogSchemaResource: (bucket, path, init) => client.DELETE(
476
+ deleteCatalogSchemaResourceUrl(bucket, path),
477
+ init
478
+ ),
418
479
  deleteConversation: (bucket, conversation_path, init) => client.DELETE(
419
480
  deleteConversationUrl(bucket, conversation_path),
420
481
  init
@@ -481,6 +542,10 @@ function createSDK(opts) {
481
542
  deleteSkillFolderUrl(bucket, path),
482
543
  init
483
544
  ),
545
+ deleteSkillGroupingFolder: (bucket, path, init) => client.DELETE(
546
+ deleteSkillGroupingFolderUrl(bucket, path),
547
+ init
548
+ ),
484
549
  deleteToolSet: (bucket, toolset_path, init) => client.DELETE(
485
550
  deleteToolSetUrl(bucket, toolset_path),
486
551
  init
@@ -504,8 +569,16 @@ function createSDK(opts) {
504
569
  downloadSkillFolderUrl(bucket, path),
505
570
  init
506
571
  ),
572
+ downloadSkillGroupingFolder: (bucket, path, init) => client.GET(
573
+ downloadSkillGroupingFolderUrl(bucket, path),
574
+ init
575
+ ),
507
576
  executeCode: (init) => client.POST(executeCodeUrl, init),
508
577
  externalServiceGetCredentials: (init) => client.POST(externalServiceGetCredentialsUrl, init),
578
+ externalServiceGetOboCredentials: (init) => client.POST(
579
+ externalServiceGetOboCredentialsUrl,
580
+ init
581
+ ),
509
582
  externalServiceSignIn: (init) => client.POST(externalServiceSignInUrl, init),
510
583
  externalServiceSignOut: (init) => client.POST(externalServiceSignOutUrl, init),
511
584
  getApplication: (application_name, init) => client.GET(
@@ -513,11 +586,24 @@ function createSDK(opts) {
513
586
  init
514
587
  ),
515
588
  getApplicationLogs: (init) => client.POST(getApplicationLogsUrl, init),
589
+ getApplicationMcpResources: (deployment_name, init) => client.GET(
590
+ getApplicationMcpResourcesUrl(deployment_name),
591
+ init
592
+ ),
516
593
  getApplicationMetadata: (bucket, path, init) => client.GET(
517
594
  getApplicationMetadataUrl(bucket, path),
518
595
  init
519
596
  ),
520
597
  getApplications: (init) => client.GET(getApplicationsUrl, init),
598
+ getCatalogSchema: (init) => client.GET(getCatalogSchemaUrl, init),
599
+ getCatalogSchemaMetadata: (bucket, path, init) => client.GET(
600
+ getCatalogSchemaMetadataUrl(bucket, path),
601
+ init
602
+ ),
603
+ getCatalogSchemaResource: (bucket, path, init) => client.GET(
604
+ getCatalogSchemaResourceUrl(bucket, path),
605
+ init
606
+ ),
521
607
  getConfigHealth: (init) => client.GET(getConfigHealthUrl, init),
522
608
  getConversation: (bucket, conversation_path, init) => client.GET(
523
609
  getConversationUrl(bucket, conversation_path),
@@ -549,10 +635,19 @@ function createSDK(opts) {
549
635
  getExternalServiceUrl(appid, id),
550
636
  init
551
637
  ),
638
+ getFileConfigApplication: (name, init) => client.GET(
639
+ getFileConfigApplicationUrl(name),
640
+ init
641
+ ),
642
+ getFileConfigCatalogSchema: (name, init) => client.GET(
643
+ getFileConfigCatalogSchemaUrl(name),
644
+ init
645
+ ),
552
646
  getFileConfigInterceptor: (name, init) => client.GET(
553
647
  getFileConfigInterceptorUrl(name),
554
648
  init
555
649
  ),
650
+ getFileConfigKey: (name, init) => client.GET(getFileConfigKeyUrl(name), init),
556
651
  getFileConfigModel: (name, init) => client.GET(getFileConfigModelUrl(name), init),
557
652
  getFileConfigRole: (name, init) => client.GET(getFileConfigRoleUrl(name), init),
558
653
  getFileConfigRoute: (name, init) => client.GET(getFileConfigRouteUrl(name), init),
@@ -561,6 +656,10 @@ function createSDK(opts) {
561
656
  getFileConfigSettingsUrl(name),
562
657
  init
563
658
  ),
659
+ getFileConfigToolset: (name, init) => client.GET(
660
+ getFileConfigToolsetUrl(name),
661
+ init
662
+ ),
564
663
  getFileMetadata: (bucket, path, init) => client.GET(
565
664
  getFileMetadataUrl(bucket, path),
566
665
  init
@@ -591,6 +690,7 @@ function createSDK(opts) {
591
690
  getKeyMetadataUrl(bucket, path),
592
691
  init
593
692
  ),
693
+ getMetaSchemaOfCatalogSchema: (init) => client.GET(getMetaSchemaOfCatalogSchemaUrl, init),
594
694
  getMetaSchemaOfCustomApplicationSchema: (init) => client.GET(
595
695
  getMetaSchemaOfCustomApplicationSchemaUrl,
596
696
  init
@@ -661,20 +761,33 @@ function createSDK(opts) {
661
761
  getUserInfo: (init) => client.GET(getUserInfoUrl, init),
662
762
  grantPerRequestPermissions: (init) => client.POST(grantPerRequestPermissionsUrl, init),
663
763
  interactClientChannel: (init) => client.POST(interactClientChannelUrl, init),
764
+ listCatalogSchemas: (init) => client.GET(listCatalogSchemasUrl, init),
664
765
  listCustomApplicationSchemas: (init) => client.GET(listCustomApplicationSchemasUrl, init),
665
766
  listDeployments: (init) => client.GET(listDeploymentsUrl, init),
666
767
  listExternalServices: (appid, init) => client.GET(
667
768
  listExternalServicesUrl(appid),
668
769
  init
669
770
  ),
771
+ listFileConfigApplications: (init) => client.GET(listFileConfigApplicationsUrl, init),
772
+ listFileConfigCatalogSchemas: (init) => client.GET(listFileConfigCatalogSchemasUrl, init),
670
773
  listFileConfigInterceptors: (init) => client.GET(listFileConfigInterceptorsUrl, init),
774
+ listFileConfigKeys: (init) => client.GET(listFileConfigKeysUrl, init),
671
775
  listFileConfigModels: (init) => client.GET(listFileConfigModelsUrl, init),
672
776
  listFileConfigRoles: (init) => client.GET(listFileConfigRolesUrl, init),
673
777
  listFileConfigRoutes: (init) => client.GET(listFileConfigRoutesUrl, init),
674
778
  listFileConfigSchemas: (init) => client.GET(listFileConfigSchemasUrl, init),
675
779
  listFileConfigSettings: (init) => client.GET(listFileConfigSettingsUrl, init),
780
+ listFileConfigToolsets: (init) => client.GET(listFileConfigToolsetsUrl, init),
676
781
  listFilesFromCodeInterpreter: (init) => client.POST(listFilesFromCodeInterpreterUrl, init),
677
782
  listPublishedResources: (init) => client.POST(listPublishedResourcesUrl, init),
783
+ listSkillFileMetadata: (bucket, path, filepath, init) => client.GET(
784
+ listSkillFileMetadataUrl(bucket, path, filepath),
785
+ init
786
+ ),
787
+ listSkillMetadata: (bucket, path, init) => client.GET(
788
+ listSkillMetadataUrl(bucket, path),
789
+ init
790
+ ),
678
791
  moveResource: (init) => client.POST(moveResourceUrl, init),
679
792
  openSession: (init) => client.POST(openSessionUrl, init),
680
793
  postApplicationMcp: (deployment_name, init) => client.POST(
@@ -696,6 +809,10 @@ function createSDK(opts) {
696
809
  redeployApplication: (init) => client.POST(redeployApplicationUrl, init),
697
810
  rejectPublication: (init) => client.POST(rejectPublicationUrl, init),
698
811
  reloadConfig: (init) => client.POST(reloadConfigUrl, init),
812
+ repairToolSet: (bucket, path, init) => client.POST(
813
+ repairToolSetUrl(bucket, path),
814
+ init
815
+ ),
699
816
  reportClientChannel: (init) => client.POST(reportClientChannelUrl, init),
700
817
  requestUserConsent: (deployment_id, init) => client.GET(
701
818
  requestUserConsentUrl(deployment_id),
@@ -703,6 +820,10 @@ function createSDK(opts) {
703
820
  ),
704
821
  revokePerRequestPermissions: (init) => client.POST(revokePerRequestPermissionsUrl, init),
705
822
  revokeSharedResources: (init) => client.POST(revokeSharedResourcesUrl, init),
823
+ saveCatalogSchemaResource: (bucket, path, init) => client.PUT(
824
+ saveCatalogSchemaResourceUrl(bucket, path),
825
+ init
826
+ ),
706
827
  saveConversation: (bucket, conversation_path, init) => client.PUT(
707
828
  saveConversationUrl(bucket, conversation_path),
708
829
  init