@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.cjs +50 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +919 -30
- package/dist/index.d.ts +919 -30
- package/dist/index.js +50 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -65,6 +65,9 @@ var createResponseUrl = "/openai/v1/responses";
|
|
|
65
65
|
var createSkillGroupingFolderUrl = (bucket, path) => {
|
|
66
66
|
return `/v2/skills/${bucket}/${path}/`;
|
|
67
67
|
};
|
|
68
|
+
var deleteCatalogSchemaResourceUrl = (bucket, path) => {
|
|
69
|
+
return `/v1/catalog_schemas/${bucket}/${path}`;
|
|
70
|
+
};
|
|
68
71
|
var deleteConversationUrl = (bucket, conversation_path) => {
|
|
69
72
|
return `/v1/conversations/${bucket}/${conversation_path}`;
|
|
70
73
|
};
|
|
@@ -148,10 +151,20 @@ var getApplicationUrl = (application_name) => {
|
|
|
148
151
|
return `/openai/applications/${application_name}`;
|
|
149
152
|
};
|
|
150
153
|
var getApplicationLogsUrl = "/v1/ops/application/logs";
|
|
154
|
+
var getApplicationMcpResourcesUrl = (deployment_name) => {
|
|
155
|
+
return `/v1/deployments/${deployment_name}/mcp/resources`;
|
|
156
|
+
};
|
|
151
157
|
var getApplicationMetadataUrl = (bucket, path) => {
|
|
152
158
|
return `/v1/metadata/applications/${bucket}/${path}`;
|
|
153
159
|
};
|
|
154
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
|
+
};
|
|
155
168
|
var getConfigHealthUrl = "/v1/admin/health/config";
|
|
156
169
|
var getConversationUrl = (bucket, conversation_path) => {
|
|
157
170
|
return `/v1/conversations/${bucket}/${conversation_path}`;
|
|
@@ -179,6 +192,9 @@ var getExternalServiceUrl = (appid, id) => {
|
|
|
179
192
|
var getFileConfigApplicationUrl = (name) => {
|
|
180
193
|
return `/v1/admin/config/file/applications/${name}`;
|
|
181
194
|
};
|
|
195
|
+
var getFileConfigCatalogSchemaUrl = (name) => {
|
|
196
|
+
return `/v1/admin/config/file/catalog_schemas/${name}`;
|
|
197
|
+
};
|
|
182
198
|
var getFileConfigInterceptorUrl = (name) => {
|
|
183
199
|
return `/v1/admin/config/file/interceptors/${name}`;
|
|
184
200
|
};
|
|
@@ -228,6 +244,7 @@ var getKeyUrl = (bucket, path) => {
|
|
|
228
244
|
var getKeyMetadataUrl = (bucket, path) => {
|
|
229
245
|
return `/v1/metadata/keys/${bucket}/${path}`;
|
|
230
246
|
};
|
|
247
|
+
var getMetaSchemaOfCatalogSchemaUrl = "/v1/catalog_schemas/meta_schema";
|
|
231
248
|
var getMetaSchemaOfCustomApplicationSchemaUrl = "/v1/application_type_schemas/meta_schema";
|
|
232
249
|
var getModelUrl = (model_name) => {
|
|
233
250
|
return `/openai/models/${model_name}`;
|
|
@@ -293,12 +310,14 @@ var getUserBucketUrl = "/v1/bucket";
|
|
|
293
310
|
var getUserInfoUrl = "/v1/user/info";
|
|
294
311
|
var grantPerRequestPermissionsUrl = "/v1/ops/resource/per-request-permissions/grant";
|
|
295
312
|
var interactClientChannelUrl = "/v1/ops/client-channel/interact";
|
|
313
|
+
var listCatalogSchemasUrl = "/v1/catalog_schemas/schemas";
|
|
296
314
|
var listCustomApplicationSchemasUrl = "/v1/application_type_schemas/schemas";
|
|
297
315
|
var listDeploymentsUrl = "/v1/deployments";
|
|
298
316
|
var listExternalServicesUrl = (appid) => {
|
|
299
317
|
return `/v1/applications/${appid}/external-services`;
|
|
300
318
|
};
|
|
301
319
|
var listFileConfigApplicationsUrl = "/v1/admin/config/file/applications";
|
|
320
|
+
var listFileConfigCatalogSchemasUrl = "/v1/admin/config/file/catalog_schemas";
|
|
302
321
|
var listFileConfigInterceptorsUrl = "/v1/admin/config/file/interceptors";
|
|
303
322
|
var listFileConfigKeysUrl = "/v1/admin/config/file/keys";
|
|
304
323
|
var listFileConfigModelsUrl = "/v1/admin/config/file/models";
|
|
@@ -341,6 +360,9 @@ var requestUserConsentUrl = (deployment_id) => {
|
|
|
341
360
|
};
|
|
342
361
|
var revokePerRequestPermissionsUrl = "/v1/ops/resource/per-request-permissions/revoke";
|
|
343
362
|
var revokeSharedResourcesUrl = "/v1/ops/resource/share/revoke";
|
|
363
|
+
var saveCatalogSchemaResourceUrl = (bucket, path) => {
|
|
364
|
+
return `/v1/catalog_schemas/${bucket}/${path}`;
|
|
365
|
+
};
|
|
344
366
|
var saveConversationUrl = (bucket, conversation_path) => {
|
|
345
367
|
return `/v1/conversations/${bucket}/${conversation_path}`;
|
|
346
368
|
};
|
|
@@ -450,6 +472,10 @@ function createSDK(opts) {
|
|
|
450
472
|
createSkillGroupingFolderUrl(bucket, path),
|
|
451
473
|
init
|
|
452
474
|
),
|
|
475
|
+
deleteCatalogSchemaResource: (bucket, path, init) => client.DELETE(
|
|
476
|
+
deleteCatalogSchemaResourceUrl(bucket, path),
|
|
477
|
+
init
|
|
478
|
+
),
|
|
453
479
|
deleteConversation: (bucket, conversation_path, init) => client.DELETE(
|
|
454
480
|
deleteConversationUrl(bucket, conversation_path),
|
|
455
481
|
init
|
|
@@ -560,11 +586,24 @@ function createSDK(opts) {
|
|
|
560
586
|
init
|
|
561
587
|
),
|
|
562
588
|
getApplicationLogs: (init) => client.POST(getApplicationLogsUrl, init),
|
|
589
|
+
getApplicationMcpResources: (deployment_name, init) => client.GET(
|
|
590
|
+
getApplicationMcpResourcesUrl(deployment_name),
|
|
591
|
+
init
|
|
592
|
+
),
|
|
563
593
|
getApplicationMetadata: (bucket, path, init) => client.GET(
|
|
564
594
|
getApplicationMetadataUrl(bucket, path),
|
|
565
595
|
init
|
|
566
596
|
),
|
|
567
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
|
+
),
|
|
568
607
|
getConfigHealth: (init) => client.GET(getConfigHealthUrl, init),
|
|
569
608
|
getConversation: (bucket, conversation_path, init) => client.GET(
|
|
570
609
|
getConversationUrl(bucket, conversation_path),
|
|
@@ -600,6 +639,10 @@ function createSDK(opts) {
|
|
|
600
639
|
getFileConfigApplicationUrl(name),
|
|
601
640
|
init
|
|
602
641
|
),
|
|
642
|
+
getFileConfigCatalogSchema: (name, init) => client.GET(
|
|
643
|
+
getFileConfigCatalogSchemaUrl(name),
|
|
644
|
+
init
|
|
645
|
+
),
|
|
603
646
|
getFileConfigInterceptor: (name, init) => client.GET(
|
|
604
647
|
getFileConfigInterceptorUrl(name),
|
|
605
648
|
init
|
|
@@ -647,6 +690,7 @@ function createSDK(opts) {
|
|
|
647
690
|
getKeyMetadataUrl(bucket, path),
|
|
648
691
|
init
|
|
649
692
|
),
|
|
693
|
+
getMetaSchemaOfCatalogSchema: (init) => client.GET(getMetaSchemaOfCatalogSchemaUrl, init),
|
|
650
694
|
getMetaSchemaOfCustomApplicationSchema: (init) => client.GET(
|
|
651
695
|
getMetaSchemaOfCustomApplicationSchemaUrl,
|
|
652
696
|
init
|
|
@@ -717,6 +761,7 @@ function createSDK(opts) {
|
|
|
717
761
|
getUserInfo: (init) => client.GET(getUserInfoUrl, init),
|
|
718
762
|
grantPerRequestPermissions: (init) => client.POST(grantPerRequestPermissionsUrl, init),
|
|
719
763
|
interactClientChannel: (init) => client.POST(interactClientChannelUrl, init),
|
|
764
|
+
listCatalogSchemas: (init) => client.GET(listCatalogSchemasUrl, init),
|
|
720
765
|
listCustomApplicationSchemas: (init) => client.GET(listCustomApplicationSchemasUrl, init),
|
|
721
766
|
listDeployments: (init) => client.GET(listDeploymentsUrl, init),
|
|
722
767
|
listExternalServices: (appid, init) => client.GET(
|
|
@@ -724,6 +769,7 @@ function createSDK(opts) {
|
|
|
724
769
|
init
|
|
725
770
|
),
|
|
726
771
|
listFileConfigApplications: (init) => client.GET(listFileConfigApplicationsUrl, init),
|
|
772
|
+
listFileConfigCatalogSchemas: (init) => client.GET(listFileConfigCatalogSchemasUrl, init),
|
|
727
773
|
listFileConfigInterceptors: (init) => client.GET(listFileConfigInterceptorsUrl, init),
|
|
728
774
|
listFileConfigKeys: (init) => client.GET(listFileConfigKeysUrl, init),
|
|
729
775
|
listFileConfigModels: (init) => client.GET(listFileConfigModelsUrl, init),
|
|
@@ -774,6 +820,10 @@ function createSDK(opts) {
|
|
|
774
820
|
),
|
|
775
821
|
revokePerRequestPermissions: (init) => client.POST(revokePerRequestPermissionsUrl, init),
|
|
776
822
|
revokeSharedResources: (init) => client.POST(revokeSharedResourcesUrl, init),
|
|
823
|
+
saveCatalogSchemaResource: (bucket, path, init) => client.PUT(
|
|
824
|
+
saveCatalogSchemaResourceUrl(bucket, path),
|
|
825
|
+
init
|
|
826
|
+
),
|
|
777
827
|
saveConversation: (bucket, conversation_path, init) => client.PUT(
|
|
778
828
|
saveConversationUrl(bucket, conversation_path),
|
|
779
829
|
init
|