@epam/ai-dial-typescript-sdk 0.1.0-dev.32 → 0.1.0-dev.33
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 +71 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3511 -1681
- package/dist/index.d.ts +3511 -1681
- package/dist/index.js +71 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
package/dist/index.cjs
CHANGED
|
@@ -62,6 +62,9 @@ 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
|
+
};
|
|
65
68
|
var deleteConversationUrl = (bucket, conversation_path) => {
|
|
66
69
|
return `/v1/conversations/${bucket}/${conversation_path}`;
|
|
67
70
|
};
|
|
@@ -112,6 +115,9 @@ var deleteSkillFileUrl = (bucket, path, filepath) => {
|
|
|
112
115
|
var deleteSkillFolderUrl = (bucket, path) => {
|
|
113
116
|
return `/v2/skills/${bucket}/${path}`;
|
|
114
117
|
};
|
|
118
|
+
var deleteSkillGroupingFolderUrl = (bucket, path) => {
|
|
119
|
+
return `/v2/skills/${bucket}/${path}/`;
|
|
120
|
+
};
|
|
115
121
|
var deleteToolSetUrl = (bucket, toolset_path) => {
|
|
116
122
|
return `/v1/toolsets/${bucket}/${toolset_path}`;
|
|
117
123
|
};
|
|
@@ -130,8 +136,12 @@ var downloadSkillFileUrl = (bucket, path, filepath) => {
|
|
|
130
136
|
var downloadSkillFolderUrl = (bucket, path) => {
|
|
131
137
|
return `/v2/skills/${bucket}/${path}`;
|
|
132
138
|
};
|
|
139
|
+
var downloadSkillGroupingFolderUrl = (bucket, path) => {
|
|
140
|
+
return `/v2/skills/${bucket}/${path}/`;
|
|
141
|
+
};
|
|
133
142
|
var executeCodeUrl = "/v1/ops/code_interpreter/execute_code";
|
|
134
143
|
var externalServiceGetCredentialsUrl = "/v1/ops/external-service/credentials";
|
|
144
|
+
var externalServiceGetOboCredentialsUrl = "/v1/ops/external-service/obo-credentials";
|
|
135
145
|
var externalServiceSignInUrl = "/v1/ops/external-service/signin";
|
|
136
146
|
var externalServiceSignOutUrl = "/v1/ops/external-service/signout";
|
|
137
147
|
var getApplicationUrl = (application_name) => {
|
|
@@ -166,9 +176,15 @@ var getDeploymentsUrl = "/openai/deployments";
|
|
|
166
176
|
var getExternalServiceUrl = (appid, id) => {
|
|
167
177
|
return `/v1/applications/${appid}/external-services/${id}`;
|
|
168
178
|
};
|
|
179
|
+
var getFileConfigApplicationUrl = (name) => {
|
|
180
|
+
return `/v1/admin/config/file/applications/${name}`;
|
|
181
|
+
};
|
|
169
182
|
var getFileConfigInterceptorUrl = (name) => {
|
|
170
183
|
return `/v1/admin/config/file/interceptors/${name}`;
|
|
171
184
|
};
|
|
185
|
+
var getFileConfigKeyUrl = (name) => {
|
|
186
|
+
return `/v1/admin/config/file/keys/${name}`;
|
|
187
|
+
};
|
|
172
188
|
var getFileConfigModelUrl = (name) => {
|
|
173
189
|
return `/v1/admin/config/file/models/${name}`;
|
|
174
190
|
};
|
|
@@ -184,6 +200,9 @@ var getFileConfigSchemaUrl = (name) => {
|
|
|
184
200
|
var getFileConfigSettingsUrl = (name) => {
|
|
185
201
|
return `/v1/admin/config/file/settings/${name}`;
|
|
186
202
|
};
|
|
203
|
+
var getFileConfigToolsetUrl = (name) => {
|
|
204
|
+
return `/v1/admin/config/file/toolsets/${name}`;
|
|
205
|
+
};
|
|
187
206
|
var getFileMetadataUrl = (bucket, path) => {
|
|
188
207
|
return `/v1/metadata/files/${bucket}/${path}`;
|
|
189
208
|
};
|
|
@@ -279,14 +298,23 @@ var listDeploymentsUrl = "/v1/deployments";
|
|
|
279
298
|
var listExternalServicesUrl = (appid) => {
|
|
280
299
|
return `/v1/applications/${appid}/external-services`;
|
|
281
300
|
};
|
|
301
|
+
var listFileConfigApplicationsUrl = "/v1/admin/config/file/applications";
|
|
282
302
|
var listFileConfigInterceptorsUrl = "/v1/admin/config/file/interceptors";
|
|
303
|
+
var listFileConfigKeysUrl = "/v1/admin/config/file/keys";
|
|
283
304
|
var listFileConfigModelsUrl = "/v1/admin/config/file/models";
|
|
284
305
|
var listFileConfigRolesUrl = "/v1/admin/config/file/roles";
|
|
285
306
|
var listFileConfigRoutesUrl = "/v1/admin/config/file/routes";
|
|
286
307
|
var listFileConfigSchemasUrl = "/v1/admin/config/file/schemas";
|
|
287
308
|
var listFileConfigSettingsUrl = "/v1/admin/config/file/settings";
|
|
309
|
+
var listFileConfigToolsetsUrl = "/v1/admin/config/file/toolsets";
|
|
288
310
|
var listFilesFromCodeInterpreterUrl = "/v1/ops/code_interpreter/list_files";
|
|
289
311
|
var listPublishedResourcesUrl = "/v1/ops/publication/resource/list";
|
|
312
|
+
var listSkillFileMetadataUrl = (bucket, path, filepath) => {
|
|
313
|
+
return `/v2/metadata/skills/${bucket}/${path}/files/${filepath}`;
|
|
314
|
+
};
|
|
315
|
+
var listSkillMetadataUrl = (bucket, path) => {
|
|
316
|
+
return `/v2/metadata/skills/${bucket}/${path}`;
|
|
317
|
+
};
|
|
290
318
|
var moveResourceUrl = "/v1/ops/resource/move";
|
|
291
319
|
var openSessionUrl = "/v1/ops/code_interpreter/open_session";
|
|
292
320
|
var postApplicationMcpUrl = (deployment_name) => {
|
|
@@ -304,6 +332,9 @@ var rateDeploymentUrl = (deployment_name) => {
|
|
|
304
332
|
var redeployApplicationUrl = "/v1/ops/application/redeploy";
|
|
305
333
|
var rejectPublicationUrl = "/v1/ops/publication/reject";
|
|
306
334
|
var reloadConfigUrl = "/v1/ops/config/reload";
|
|
335
|
+
var repairToolSetUrl = (bucket, path) => {
|
|
336
|
+
return `/v1/ops/toolset/${bucket}/${path}/repair`;
|
|
337
|
+
};
|
|
307
338
|
var reportClientChannelUrl = "/v1/ops/client-channel/report";
|
|
308
339
|
var requestUserConsentUrl = (deployment_id) => {
|
|
309
340
|
return `/v1/consent/${deployment_id}`;
|
|
@@ -415,6 +446,10 @@ function createSDK(opts) {
|
|
|
415
446
|
),
|
|
416
447
|
createPublication: (init) => client.POST(createPublicationUrl, init),
|
|
417
448
|
createResponse: (init) => client.POST(createResponseUrl, init),
|
|
449
|
+
createSkillGroupingFolder: (bucket, path, init) => client.PUT(
|
|
450
|
+
createSkillGroupingFolderUrl(bucket, path),
|
|
451
|
+
init
|
|
452
|
+
),
|
|
418
453
|
deleteConversation: (bucket, conversation_path, init) => client.DELETE(
|
|
419
454
|
deleteConversationUrl(bucket, conversation_path),
|
|
420
455
|
init
|
|
@@ -481,6 +516,10 @@ function createSDK(opts) {
|
|
|
481
516
|
deleteSkillFolderUrl(bucket, path),
|
|
482
517
|
init
|
|
483
518
|
),
|
|
519
|
+
deleteSkillGroupingFolder: (bucket, path, init) => client.DELETE(
|
|
520
|
+
deleteSkillGroupingFolderUrl(bucket, path),
|
|
521
|
+
init
|
|
522
|
+
),
|
|
484
523
|
deleteToolSet: (bucket, toolset_path, init) => client.DELETE(
|
|
485
524
|
deleteToolSetUrl(bucket, toolset_path),
|
|
486
525
|
init
|
|
@@ -504,8 +543,16 @@ function createSDK(opts) {
|
|
|
504
543
|
downloadSkillFolderUrl(bucket, path),
|
|
505
544
|
init
|
|
506
545
|
),
|
|
546
|
+
downloadSkillGroupingFolder: (bucket, path, init) => client.GET(
|
|
547
|
+
downloadSkillGroupingFolderUrl(bucket, path),
|
|
548
|
+
init
|
|
549
|
+
),
|
|
507
550
|
executeCode: (init) => client.POST(executeCodeUrl, init),
|
|
508
551
|
externalServiceGetCredentials: (init) => client.POST(externalServiceGetCredentialsUrl, init),
|
|
552
|
+
externalServiceGetOboCredentials: (init) => client.POST(
|
|
553
|
+
externalServiceGetOboCredentialsUrl,
|
|
554
|
+
init
|
|
555
|
+
),
|
|
509
556
|
externalServiceSignIn: (init) => client.POST(externalServiceSignInUrl, init),
|
|
510
557
|
externalServiceSignOut: (init) => client.POST(externalServiceSignOutUrl, init),
|
|
511
558
|
getApplication: (application_name, init) => client.GET(
|
|
@@ -549,10 +596,15 @@ function createSDK(opts) {
|
|
|
549
596
|
getExternalServiceUrl(appid, id),
|
|
550
597
|
init
|
|
551
598
|
),
|
|
599
|
+
getFileConfigApplication: (name, init) => client.GET(
|
|
600
|
+
getFileConfigApplicationUrl(name),
|
|
601
|
+
init
|
|
602
|
+
),
|
|
552
603
|
getFileConfigInterceptor: (name, init) => client.GET(
|
|
553
604
|
getFileConfigInterceptorUrl(name),
|
|
554
605
|
init
|
|
555
606
|
),
|
|
607
|
+
getFileConfigKey: (name, init) => client.GET(getFileConfigKeyUrl(name), init),
|
|
556
608
|
getFileConfigModel: (name, init) => client.GET(getFileConfigModelUrl(name), init),
|
|
557
609
|
getFileConfigRole: (name, init) => client.GET(getFileConfigRoleUrl(name), init),
|
|
558
610
|
getFileConfigRoute: (name, init) => client.GET(getFileConfigRouteUrl(name), init),
|
|
@@ -561,6 +613,10 @@ function createSDK(opts) {
|
|
|
561
613
|
getFileConfigSettingsUrl(name),
|
|
562
614
|
init
|
|
563
615
|
),
|
|
616
|
+
getFileConfigToolset: (name, init) => client.GET(
|
|
617
|
+
getFileConfigToolsetUrl(name),
|
|
618
|
+
init
|
|
619
|
+
),
|
|
564
620
|
getFileMetadata: (bucket, path, init) => client.GET(
|
|
565
621
|
getFileMetadataUrl(bucket, path),
|
|
566
622
|
init
|
|
@@ -667,14 +723,25 @@ function createSDK(opts) {
|
|
|
667
723
|
listExternalServicesUrl(appid),
|
|
668
724
|
init
|
|
669
725
|
),
|
|
726
|
+
listFileConfigApplications: (init) => client.GET(listFileConfigApplicationsUrl, init),
|
|
670
727
|
listFileConfigInterceptors: (init) => client.GET(listFileConfigInterceptorsUrl, init),
|
|
728
|
+
listFileConfigKeys: (init) => client.GET(listFileConfigKeysUrl, init),
|
|
671
729
|
listFileConfigModels: (init) => client.GET(listFileConfigModelsUrl, init),
|
|
672
730
|
listFileConfigRoles: (init) => client.GET(listFileConfigRolesUrl, init),
|
|
673
731
|
listFileConfigRoutes: (init) => client.GET(listFileConfigRoutesUrl, init),
|
|
674
732
|
listFileConfigSchemas: (init) => client.GET(listFileConfigSchemasUrl, init),
|
|
675
733
|
listFileConfigSettings: (init) => client.GET(listFileConfigSettingsUrl, init),
|
|
734
|
+
listFileConfigToolsets: (init) => client.GET(listFileConfigToolsetsUrl, init),
|
|
676
735
|
listFilesFromCodeInterpreter: (init) => client.POST(listFilesFromCodeInterpreterUrl, init),
|
|
677
736
|
listPublishedResources: (init) => client.POST(listPublishedResourcesUrl, init),
|
|
737
|
+
listSkillFileMetadata: (bucket, path, filepath, init) => client.GET(
|
|
738
|
+
listSkillFileMetadataUrl(bucket, path, filepath),
|
|
739
|
+
init
|
|
740
|
+
),
|
|
741
|
+
listSkillMetadata: (bucket, path, init) => client.GET(
|
|
742
|
+
listSkillMetadataUrl(bucket, path),
|
|
743
|
+
init
|
|
744
|
+
),
|
|
678
745
|
moveResource: (init) => client.POST(moveResourceUrl, init),
|
|
679
746
|
openSession: (init) => client.POST(openSessionUrl, init),
|
|
680
747
|
postApplicationMcp: (deployment_name, init) => client.POST(
|
|
@@ -696,6 +763,10 @@ function createSDK(opts) {
|
|
|
696
763
|
redeployApplication: (init) => client.POST(redeployApplicationUrl, init),
|
|
697
764
|
rejectPublication: (init) => client.POST(rejectPublicationUrl, init),
|
|
698
765
|
reloadConfig: (init) => client.POST(reloadConfigUrl, init),
|
|
766
|
+
repairToolSet: (bucket, path, init) => client.POST(
|
|
767
|
+
repairToolSetUrl(bucket, path),
|
|
768
|
+
init
|
|
769
|
+
),
|
|
699
770
|
reportClientChannel: (init) => client.POST(reportClientChannelUrl, init),
|
|
700
771
|
requestUserConsent: (deployment_id, init) => client.GET(
|
|
701
772
|
requestUserConsentUrl(deployment_id),
|