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

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
@@ -96,6 +96,12 @@ var deleteModelUrl = (bucket, path) => {
96
96
  return `/v1/models/${bucket}/${path}`;
97
97
  };
98
98
  var deleteNotificationsUrl = "/v1/ops/notification/delete";
99
+ var deletePlatformApplicationUrl = (path) => {
100
+ return `/v1/applications/platform/${path}`;
101
+ };
102
+ var deletePlatformToolSetUrl = (path) => {
103
+ return `/v1/toolsets/platform/${path}`;
104
+ };
99
105
  var deletePromptUrl = (bucket, prompt_path) => {
100
106
  return `/v1/prompts/${bucket}/${prompt_path}`;
101
107
  };
@@ -258,6 +264,18 @@ var getModelMetadataUrl = (bucket, path) => {
258
264
  var getModelsUrl = "/openai/models";
259
265
  var getNotificationsUrl = "/v1/ops/notification/list";
260
266
  var getPerRequestPermissionsUrl = "/v1/ops/resource/per-request-permissions/list";
267
+ var getPlatformApplicationUrl = (path) => {
268
+ return `/v1/applications/platform/${path}`;
269
+ };
270
+ var getPlatformApplicationMetadataUrl = (path) => {
271
+ return `/v1/metadata/applications/platform/${path}`;
272
+ };
273
+ var getPlatformToolSetUrl = (path) => {
274
+ return `/v1/toolsets/platform/${path}`;
275
+ };
276
+ var getPlatformToolSetMetadataUrl = (path) => {
277
+ return `/v1/metadata/toolsets/platform/${path}`;
278
+ };
261
279
  var getPromptUrl = (bucket, prompt_path) => {
262
280
  return `/v1/prompts/${bucket}/${prompt_path}`;
263
281
  };
@@ -381,6 +399,12 @@ var saveKeyUrl = (bucket, path) => {
381
399
  var saveModelUrl = (bucket, path) => {
382
400
  return `/v1/models/${bucket}/${path}`;
383
401
  };
402
+ var savePlatformApplicationUrl = (path) => {
403
+ return `/v1/applications/platform/${path}`;
404
+ };
405
+ var savePlatformToolSetUrl = (path) => {
406
+ return `/v1/toolsets/platform/${path}`;
407
+ };
384
408
  var savePromptUrl = (bucket, prompt_path) => {
385
409
  return `/v1/prompts/${bucket}/${prompt_path}`;
386
410
  };
@@ -513,6 +537,14 @@ function createSDK(opts) {
513
537
  init
514
538
  ),
515
539
  deleteNotifications: (init) => client.POST(deleteNotificationsUrl, init),
540
+ deletePlatformApplication: (path, init) => client.DELETE(
541
+ deletePlatformApplicationUrl(path),
542
+ init
543
+ ),
544
+ deletePlatformToolSet: (path, init) => client.DELETE(
545
+ deletePlatformToolSetUrl(path),
546
+ init
547
+ ),
516
548
  deletePrompt: (bucket, prompt_path, init) => client.DELETE(
517
549
  deletePromptUrl(bucket, prompt_path),
518
550
  init
@@ -707,6 +739,19 @@ function createSDK(opts) {
707
739
  getModels: (init) => client.GET(getModelsUrl, init),
708
740
  getNotifications: (init) => client.POST(getNotificationsUrl, init),
709
741
  getPerRequestPermissions: (init) => client.POST(getPerRequestPermissionsUrl, init),
742
+ getPlatformApplication: (path, init) => client.GET(
743
+ getPlatformApplicationUrl(path),
744
+ init
745
+ ),
746
+ getPlatformApplicationMetadata: (path, init) => client.GET(
747
+ getPlatformApplicationMetadataUrl(path),
748
+ init
749
+ ),
750
+ getPlatformToolSet: (path, init) => client.GET(getPlatformToolSetUrl(path), init),
751
+ getPlatformToolSetMetadata: (path, init) => client.GET(
752
+ getPlatformToolSetMetadataUrl(path),
753
+ init
754
+ ),
710
755
  getPrompt: (bucket, prompt_path, init) => client.GET(
711
756
  getPromptUrl(bucket, prompt_path),
712
757
  init
@@ -842,6 +887,11 @@ function createSDK(opts) {
842
887
  ),
843
888
  saveKey: (bucket, path, init) => client.PUT(saveKeyUrl(bucket, path), init),
844
889
  saveModel: (bucket, path, init) => client.PUT(saveModelUrl(bucket, path), init),
890
+ savePlatformApplication: (path, init) => client.PUT(
891
+ savePlatformApplicationUrl(path),
892
+ init
893
+ ),
894
+ savePlatformToolSet: (path, init) => client.PUT(savePlatformToolSetUrl(path), init),
845
895
  savePrompt: (bucket, prompt_path, init) => client.PUT(
846
896
  savePromptUrl(bucket, prompt_path),
847
897
  init