@epam/ai-dial-typescript-sdk 0.1.0-dev.33 → 0.1.0-dev.35

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
@@ -29,6 +29,9 @@ var createResponseUrl = "/openai/v1/responses";
29
29
  var createSkillGroupingFolderUrl = (bucket, path) => {
30
30
  return `/v2/skills/${bucket}/${path}/`;
31
31
  };
32
+ var deleteCatalogSchemaResourceUrl = (bucket, path) => {
33
+ return `/v1/catalog_schemas/${bucket}/${path}`;
34
+ };
32
35
  var deleteConversationUrl = (bucket, conversation_path) => {
33
36
  return `/v1/conversations/${bucket}/${conversation_path}`;
34
37
  };
@@ -112,10 +115,20 @@ var getApplicationUrl = (application_name) => {
112
115
  return `/openai/applications/${application_name}`;
113
116
  };
114
117
  var getApplicationLogsUrl = "/v1/ops/application/logs";
118
+ var getApplicationMcpResourcesUrl = (deployment_name) => {
119
+ return `/v1/deployments/${deployment_name}/mcp/resources`;
120
+ };
115
121
  var getApplicationMetadataUrl = (bucket, path) => {
116
122
  return `/v1/metadata/applications/${bucket}/${path}`;
117
123
  };
118
124
  var getApplicationsUrl = "/openai/applications";
125
+ var getCatalogSchemaUrl = "/v1/catalog_schemas/schema";
126
+ var getCatalogSchemaMetadataUrl = (bucket, path) => {
127
+ return `/v1/metadata/catalog_schemas/${bucket}/${path}`;
128
+ };
129
+ var getCatalogSchemaResourceUrl = (bucket, path) => {
130
+ return `/v1/catalog_schemas/${bucket}/${path}`;
131
+ };
119
132
  var getConfigHealthUrl = "/v1/admin/health/config";
120
133
  var getConversationUrl = (bucket, conversation_path) => {
121
134
  return `/v1/conversations/${bucket}/${conversation_path}`;
@@ -143,6 +156,9 @@ var getExternalServiceUrl = (appid, id) => {
143
156
  var getFileConfigApplicationUrl = (name) => {
144
157
  return `/v1/admin/config/file/applications/${name}`;
145
158
  };
159
+ var getFileConfigCatalogSchemaUrl = (name) => {
160
+ return `/v1/admin/config/file/catalog_schemas/${name}`;
161
+ };
146
162
  var getFileConfigInterceptorUrl = (name) => {
147
163
  return `/v1/admin/config/file/interceptors/${name}`;
148
164
  };
@@ -192,6 +208,7 @@ var getKeyUrl = (bucket, path) => {
192
208
  var getKeyMetadataUrl = (bucket, path) => {
193
209
  return `/v1/metadata/keys/${bucket}/${path}`;
194
210
  };
211
+ var getMetaSchemaOfCatalogSchemaUrl = "/v1/catalog_schemas/meta_schema";
195
212
  var getMetaSchemaOfCustomApplicationSchemaUrl = "/v1/application_type_schemas/meta_schema";
196
213
  var getModelUrl = (model_name) => {
197
214
  return `/openai/models/${model_name}`;
@@ -257,12 +274,14 @@ var getUserBucketUrl = "/v1/bucket";
257
274
  var getUserInfoUrl = "/v1/user/info";
258
275
  var grantPerRequestPermissionsUrl = "/v1/ops/resource/per-request-permissions/grant";
259
276
  var interactClientChannelUrl = "/v1/ops/client-channel/interact";
277
+ var listCatalogSchemasUrl = "/v1/catalog_schemas/schemas";
260
278
  var listCustomApplicationSchemasUrl = "/v1/application_type_schemas/schemas";
261
279
  var listDeploymentsUrl = "/v1/deployments";
262
280
  var listExternalServicesUrl = (appid) => {
263
281
  return `/v1/applications/${appid}/external-services`;
264
282
  };
265
283
  var listFileConfigApplicationsUrl = "/v1/admin/config/file/applications";
284
+ var listFileConfigCatalogSchemasUrl = "/v1/admin/config/file/catalog_schemas";
266
285
  var listFileConfigInterceptorsUrl = "/v1/admin/config/file/interceptors";
267
286
  var listFileConfigKeysUrl = "/v1/admin/config/file/keys";
268
287
  var listFileConfigModelsUrl = "/v1/admin/config/file/models";
@@ -305,6 +324,9 @@ var requestUserConsentUrl = (deployment_id) => {
305
324
  };
306
325
  var revokePerRequestPermissionsUrl = "/v1/ops/resource/per-request-permissions/revoke";
307
326
  var revokeSharedResourcesUrl = "/v1/ops/resource/share/revoke";
327
+ var saveCatalogSchemaResourceUrl = (bucket, path) => {
328
+ return `/v1/catalog_schemas/${bucket}/${path}`;
329
+ };
308
330
  var saveConversationUrl = (bucket, conversation_path) => {
309
331
  return `/v1/conversations/${bucket}/${conversation_path}`;
310
332
  };
@@ -414,6 +436,10 @@ function createSDK(opts) {
414
436
  createSkillGroupingFolderUrl(bucket, path),
415
437
  init
416
438
  ),
439
+ deleteCatalogSchemaResource: (bucket, path, init) => client.DELETE(
440
+ deleteCatalogSchemaResourceUrl(bucket, path),
441
+ init
442
+ ),
417
443
  deleteConversation: (bucket, conversation_path, init) => client.DELETE(
418
444
  deleteConversationUrl(bucket, conversation_path),
419
445
  init
@@ -524,11 +550,24 @@ function createSDK(opts) {
524
550
  init
525
551
  ),
526
552
  getApplicationLogs: (init) => client.POST(getApplicationLogsUrl, init),
553
+ getApplicationMcpResources: (deployment_name, init) => client.GET(
554
+ getApplicationMcpResourcesUrl(deployment_name),
555
+ init
556
+ ),
527
557
  getApplicationMetadata: (bucket, path, init) => client.GET(
528
558
  getApplicationMetadataUrl(bucket, path),
529
559
  init
530
560
  ),
531
561
  getApplications: (init) => client.GET(getApplicationsUrl, init),
562
+ getCatalogSchema: (init) => client.GET(getCatalogSchemaUrl, init),
563
+ getCatalogSchemaMetadata: (bucket, path, init) => client.GET(
564
+ getCatalogSchemaMetadataUrl(bucket, path),
565
+ init
566
+ ),
567
+ getCatalogSchemaResource: (bucket, path, init) => client.GET(
568
+ getCatalogSchemaResourceUrl(bucket, path),
569
+ init
570
+ ),
532
571
  getConfigHealth: (init) => client.GET(getConfigHealthUrl, init),
533
572
  getConversation: (bucket, conversation_path, init) => client.GET(
534
573
  getConversationUrl(bucket, conversation_path),
@@ -564,6 +603,10 @@ function createSDK(opts) {
564
603
  getFileConfigApplicationUrl(name),
565
604
  init
566
605
  ),
606
+ getFileConfigCatalogSchema: (name, init) => client.GET(
607
+ getFileConfigCatalogSchemaUrl(name),
608
+ init
609
+ ),
567
610
  getFileConfigInterceptor: (name, init) => client.GET(
568
611
  getFileConfigInterceptorUrl(name),
569
612
  init
@@ -611,6 +654,7 @@ function createSDK(opts) {
611
654
  getKeyMetadataUrl(bucket, path),
612
655
  init
613
656
  ),
657
+ getMetaSchemaOfCatalogSchema: (init) => client.GET(getMetaSchemaOfCatalogSchemaUrl, init),
614
658
  getMetaSchemaOfCustomApplicationSchema: (init) => client.GET(
615
659
  getMetaSchemaOfCustomApplicationSchemaUrl,
616
660
  init
@@ -681,6 +725,7 @@ function createSDK(opts) {
681
725
  getUserInfo: (init) => client.GET(getUserInfoUrl, init),
682
726
  grantPerRequestPermissions: (init) => client.POST(grantPerRequestPermissionsUrl, init),
683
727
  interactClientChannel: (init) => client.POST(interactClientChannelUrl, init),
728
+ listCatalogSchemas: (init) => client.GET(listCatalogSchemasUrl, init),
684
729
  listCustomApplicationSchemas: (init) => client.GET(listCustomApplicationSchemasUrl, init),
685
730
  listDeployments: (init) => client.GET(listDeploymentsUrl, init),
686
731
  listExternalServices: (appid, init) => client.GET(
@@ -688,6 +733,7 @@ function createSDK(opts) {
688
733
  init
689
734
  ),
690
735
  listFileConfigApplications: (init) => client.GET(listFileConfigApplicationsUrl, init),
736
+ listFileConfigCatalogSchemas: (init) => client.GET(listFileConfigCatalogSchemasUrl, init),
691
737
  listFileConfigInterceptors: (init) => client.GET(listFileConfigInterceptorsUrl, init),
692
738
  listFileConfigKeys: (init) => client.GET(listFileConfigKeysUrl, init),
693
739
  listFileConfigModels: (init) => client.GET(listFileConfigModelsUrl, init),
@@ -738,6 +784,10 @@ function createSDK(opts) {
738
784
  ),
739
785
  revokePerRequestPermissions: (init) => client.POST(revokePerRequestPermissionsUrl, init),
740
786
  revokeSharedResources: (init) => client.POST(revokeSharedResourcesUrl, init),
787
+ saveCatalogSchemaResource: (bucket, path, init) => client.PUT(
788
+ saveCatalogSchemaResourceUrl(bucket, path),
789
+ init
790
+ ),
741
791
  saveConversation: (bucket, conversation_path, init) => client.PUT(
742
792
  saveConversationUrl(bucket, conversation_path),
743
793
  init