@epam/ai-dial-typescript-sdk 0.1.0-dev.34 → 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.d.cts CHANGED
@@ -752,6 +752,25 @@ interface paths {
752
752
  patch?: never;
753
753
  trace?: never;
754
754
  };
755
+ '/v1/applications/platform/{path}': {
756
+ parameters: {
757
+ query?: never;
758
+ header?: never;
759
+ path?: never;
760
+ cookie?: never;
761
+ };
762
+ /** /v1/applications/platform/{path} */
763
+ get: operations['getPlatformApplication'];
764
+ /** /v1/applications/platform/{path} */
765
+ put: operations['savePlatformApplication'];
766
+ post?: never;
767
+ /** /v1/applications/platform/{path} */
768
+ delete: operations['deletePlatformApplication'];
769
+ options?: never;
770
+ head?: never;
771
+ patch?: never;
772
+ trace?: never;
773
+ };
755
774
  '/v1/applications/{appId}/external-services': {
756
775
  parameters: {
757
776
  query?: never;
@@ -1191,6 +1210,23 @@ interface paths {
1191
1210
  patch?: never;
1192
1211
  trace?: never;
1193
1212
  };
1213
+ '/v1/metadata/applications/platform/{path}': {
1214
+ parameters: {
1215
+ query?: never;
1216
+ header?: never;
1217
+ path?: never;
1218
+ cookie?: never;
1219
+ };
1220
+ /** /v1/metadata/applications/platform/{path} */
1221
+ get: operations['getPlatformApplicationMetadata'];
1222
+ put?: never;
1223
+ post?: never;
1224
+ delete?: never;
1225
+ options?: never;
1226
+ head?: never;
1227
+ patch?: never;
1228
+ trace?: never;
1229
+ };
1194
1230
  '/v1/metadata/applications/{bucket}/{path}': {
1195
1231
  parameters: {
1196
1232
  query?: never;
@@ -1415,6 +1451,23 @@ interface paths {
1415
1451
  patch?: never;
1416
1452
  trace?: never;
1417
1453
  };
1454
+ '/v1/metadata/toolsets/platform/{path}': {
1455
+ parameters: {
1456
+ query?: never;
1457
+ header?: never;
1458
+ path?: never;
1459
+ cookie?: never;
1460
+ };
1461
+ /** /v1/metadata/toolsets/platform/{path} */
1462
+ get: operations['getPlatformToolSetMetadata'];
1463
+ put?: never;
1464
+ post?: never;
1465
+ delete?: never;
1466
+ options?: never;
1467
+ head?: never;
1468
+ patch?: never;
1469
+ trace?: never;
1470
+ };
1418
1471
  '/v1/metadata/toolsets/{bucket}/{path}': {
1419
1472
  parameters: {
1420
1473
  query?: never;
@@ -2525,6 +2578,25 @@ interface paths {
2525
2578
  patch?: never;
2526
2579
  trace?: never;
2527
2580
  };
2581
+ '/v1/toolsets/platform/{path}': {
2582
+ parameters: {
2583
+ query?: never;
2584
+ header?: never;
2585
+ path?: never;
2586
+ cookie?: never;
2587
+ };
2588
+ /** /v1/toolsets/platform/{path} */
2589
+ get: operations['getPlatformToolSet'];
2590
+ /** /v1/toolsets/platform/{path} */
2591
+ put: operations['savePlatformToolSet'];
2592
+ post?: never;
2593
+ /** /v1/toolsets/platform/{path} */
2594
+ delete: operations['deletePlatformToolSet'];
2595
+ options?: never;
2596
+ head?: never;
2597
+ patch?: never;
2598
+ trace?: never;
2599
+ };
2528
2600
  '/v1/toolsets/{bucket}/{toolset_path}': {
2529
2601
  parameters: {
2530
2602
  query?: never;
@@ -3051,6 +3123,7 @@ interface components {
3051
3123
  model: string;
3052
3124
  choices: components['schemas']['ChatCompletionChoice'][];
3053
3125
  usage?: components['schemas']['CompletionUsage'];
3126
+ statistics?: components['schemas']['Statistics'];
3054
3127
  };
3055
3128
  CreateChatCompletionStreamChoice: {
3056
3129
  index: number;
@@ -3669,11 +3742,15 @@ interface components {
3669
3742
  completion?: string;
3670
3743
  prompt?: string;
3671
3744
  unit?: string;
3745
+ cacheRead?: string;
3746
+ cacheWrite?: string;
3672
3747
  };
3673
3748
  PricingData: {
3674
3749
  completion?: string;
3675
3750
  prompt?: string;
3676
3751
  unit?: string;
3752
+ cache_read?: string;
3753
+ cache_write?: string;
3677
3754
  };
3678
3755
  Prompt: {
3679
3756
  content?: string;
@@ -7159,13 +7236,16 @@ interface operations {
7159
7236
  };
7160
7237
  };
7161
7238
  };
7162
- listExternalServices: {
7239
+ getPlatformApplication: {
7163
7240
  parameters: {
7164
7241
  query?: never;
7165
- header?: never;
7242
+ header?: {
7243
+ /** @description ETag precondition. */
7244
+ 'If-None-Match'?: string;
7245
+ };
7166
7246
  path: {
7167
- /** @description The application ID. Can be either a static config application name or a dynamic application path. */
7168
- appId: string;
7247
+ /** @description Application name */
7248
+ path: string;
7169
7249
  };
7170
7250
  cookie?: never;
7171
7251
  };
@@ -7174,23 +7254,23 @@ interface operations {
7174
7254
  /** @description Success */
7175
7255
  200: {
7176
7256
  headers: {
7257
+ /** @description Entity tag for the application */
7258
+ ETag: string;
7177
7259
  [name: string]: unknown;
7178
7260
  };
7179
7261
  content: {
7180
- 'application/json': components['schemas']['ListExternalServiceData'];
7262
+ 'application/json': components['schemas']['Application'] & components['schemas']['EntityMetadata'];
7181
7263
  };
7182
7264
  };
7183
- /** @description Bad request */
7184
- 400: {
7265
+ /** @description Not Modified */
7266
+ 304: {
7185
7267
  headers: {
7186
7268
  [name: string]: unknown;
7187
7269
  };
7188
- content: {
7189
- 'application/json': components['schemas']['ErrorData'];
7190
- };
7270
+ content?: never;
7191
7271
  };
7192
- /** @description Invalid Authentication */
7193
- 401: {
7272
+ /** @description Bad request */
7273
+ 400: {
7194
7274
  headers: {
7195
7275
  [name: string]: unknown;
7196
7276
  };
@@ -7216,6 +7296,20 @@ interface operations {
7216
7296
  'application/json': components['schemas']['ErrorData'];
7217
7297
  };
7218
7298
  };
7299
+ /** @description Method Not Allowed */
7300
+ 405: {
7301
+ headers: {
7302
+ [name: string]: unknown;
7303
+ };
7304
+ content?: never;
7305
+ };
7306
+ /** @description Precondition Failed - ETag mismatch */
7307
+ 412: {
7308
+ headers: {
7309
+ [name: string]: unknown;
7310
+ };
7311
+ content?: never;
7312
+ };
7219
7313
  /** @description The server had an error while processing your request. */
7220
7314
  500: {
7221
7315
  headers: {
@@ -7227,27 +7321,36 @@ interface operations {
7227
7321
  };
7228
7322
  };
7229
7323
  };
7230
- getExternalService: {
7324
+ savePlatformApplication: {
7231
7325
  parameters: {
7232
7326
  query?: never;
7233
- header?: never;
7327
+ header?: {
7328
+ /** @description ETag precondition. */
7329
+ 'If-Match'?: string;
7330
+ /** @description Conditional creation precondition. */
7331
+ 'If-None-Match'?: string;
7332
+ };
7234
7333
  path: {
7235
- /** @description The application ID. Can be either a static config application name or a dynamic application path. */
7236
- appId: string;
7237
- /** @description The external service ID defined in the application's external_services configuration. */
7238
- id: string;
7334
+ /** @description Application name */
7335
+ path: string;
7239
7336
  };
7240
7337
  cookie?: never;
7241
7338
  };
7242
- requestBody?: never;
7339
+ requestBody: {
7340
+ content: {
7341
+ 'application/json': components['schemas']['Application'];
7342
+ };
7343
+ };
7243
7344
  responses: {
7244
7345
  /** @description Success */
7245
7346
  200: {
7246
7347
  headers: {
7348
+ /** @description Entity tag for the saved application */
7349
+ ETag: string;
7247
7350
  [name: string]: unknown;
7248
7351
  };
7249
7352
  content: {
7250
- 'application/json': components['schemas']['ExternalServiceData'];
7353
+ 'application/json': components['schemas']['ConfigResourceControllerConfigWriteResponse'];
7251
7354
  };
7252
7355
  };
7253
7356
  /** @description Bad request */
@@ -7259,8 +7362,8 @@ interface operations {
7259
7362
  'application/json': components['schemas']['ErrorData'];
7260
7363
  };
7261
7364
  };
7262
- /** @description Invalid Authentication */
7263
- 401: {
7365
+ /** @description Forbidden */
7366
+ 403: {
7264
7367
  headers: {
7265
7368
  [name: string]: unknown;
7266
7369
  };
@@ -7268,8 +7371,8 @@ interface operations {
7268
7371
  'application/json': components['schemas']['ErrorData'];
7269
7372
  };
7270
7373
  };
7271
- /** @description Forbidden */
7272
- 403: {
7374
+ /** @description Not found */
7375
+ 404: {
7273
7376
  headers: {
7274
7377
  [name: string]: unknown;
7275
7378
  };
@@ -7277,8 +7380,22 @@ interface operations {
7277
7380
  'application/json': components['schemas']['ErrorData'];
7278
7381
  };
7279
7382
  };
7280
- /** @description Not found */
7281
- 404: {
7383
+ /** @description Method Not Allowed */
7384
+ 405: {
7385
+ headers: {
7386
+ [name: string]: unknown;
7387
+ };
7388
+ content?: never;
7389
+ };
7390
+ /** @description Precondition Failed - ETag mismatch */
7391
+ 412: {
7392
+ headers: {
7393
+ [name: string]: unknown;
7394
+ };
7395
+ content?: never;
7396
+ };
7397
+ /** @description Unprocessable Entity */
7398
+ 422: {
7282
7399
  headers: {
7283
7400
  [name: string]: unknown;
7284
7401
  };
@@ -7297,32 +7414,27 @@ interface operations {
7297
7414
  };
7298
7415
  };
7299
7416
  };
7300
- putExternalService: {
7417
+ deletePlatformApplication: {
7301
7418
  parameters: {
7302
7419
  query?: never;
7303
- header?: never;
7420
+ header?: {
7421
+ /** @description ETag precondition. */
7422
+ 'If-Match'?: string;
7423
+ };
7304
7424
  path: {
7305
- /** @description The application ID. Can be either a static config application name or a dynamic application path. */
7306
- appId: string;
7307
- /** @description The external service ID defined in the application's external_services configuration. */
7308
- id: string;
7425
+ /** @description Application name */
7426
+ path: string;
7309
7427
  };
7310
7428
  cookie?: never;
7311
7429
  };
7312
- requestBody: {
7313
- content: {
7314
- 'application/json': components['schemas']['ExternalService'];
7315
- };
7316
- };
7430
+ requestBody?: never;
7317
7431
  responses: {
7318
7432
  /** @description Success */
7319
- 200: {
7433
+ 204: {
7320
7434
  headers: {
7321
7435
  [name: string]: unknown;
7322
7436
  };
7323
- content: {
7324
- 'application/json': components['schemas']['ExternalServiceData'];
7325
- };
7437
+ content?: never;
7326
7438
  };
7327
7439
  /** @description Bad request */
7328
7440
  400: {
@@ -7333,8 +7445,8 @@ interface operations {
7333
7445
  'application/json': components['schemas']['ErrorData'];
7334
7446
  };
7335
7447
  };
7336
- /** @description Invalid Authentication */
7337
- 401: {
7448
+ /** @description Forbidden */
7449
+ 403: {
7338
7450
  headers: {
7339
7451
  [name: string]: unknown;
7340
7452
  };
@@ -7342,8 +7454,8 @@ interface operations {
7342
7454
  'application/json': components['schemas']['ErrorData'];
7343
7455
  };
7344
7456
  };
7345
- /** @description Forbidden */
7346
- 403: {
7457
+ /** @description Not found */
7458
+ 404: {
7347
7459
  headers: {
7348
7460
  [name: string]: unknown;
7349
7461
  };
@@ -7351,14 +7463,19 @@ interface operations {
7351
7463
  'application/json': components['schemas']['ErrorData'];
7352
7464
  };
7353
7465
  };
7354
- /** @description Not found */
7355
- 404: {
7466
+ /** @description Method Not Allowed */
7467
+ 405: {
7356
7468
  headers: {
7357
7469
  [name: string]: unknown;
7358
7470
  };
7359
- content: {
7360
- 'application/json': components['schemas']['ErrorData'];
7471
+ content?: never;
7472
+ };
7473
+ /** @description Precondition Failed - ETag mismatch */
7474
+ 412: {
7475
+ headers: {
7476
+ [name: string]: unknown;
7361
7477
  };
7478
+ content?: never;
7362
7479
  };
7363
7480
  /** @description The server had an error while processing your request. */
7364
7481
  500: {
@@ -7371,15 +7488,13 @@ interface operations {
7371
7488
  };
7372
7489
  };
7373
7490
  };
7374
- deleteExternalService: {
7491
+ listExternalServices: {
7375
7492
  parameters: {
7376
7493
  query?: never;
7377
7494
  header?: never;
7378
7495
  path: {
7379
7496
  /** @description The application ID. Can be either a static config application name or a dynamic application path. */
7380
7497
  appId: string;
7381
- /** @description The external service ID defined in the application's external_services configuration. */
7382
- id: string;
7383
7498
  };
7384
7499
  cookie?: never;
7385
7500
  };
@@ -7391,7 +7506,7 @@ interface operations {
7391
7506
  [name: string]: unknown;
7392
7507
  };
7393
7508
  content: {
7394
- 'application/json': boolean;
7509
+ 'application/json': components['schemas']['ListExternalServiceData'];
7395
7510
  };
7396
7511
  };
7397
7512
  /** @description Bad request */
@@ -7441,15 +7556,15 @@ interface operations {
7441
7556
  };
7442
7557
  };
7443
7558
  };
7444
- getCustomApplication: {
7559
+ getExternalService: {
7445
7560
  parameters: {
7446
7561
  query?: never;
7447
7562
  header?: never;
7448
7563
  path: {
7449
- /** @description The target bucket. */
7450
- bucket: string;
7451
- /** @description The target application path. The parameter specifies full path to the application, for example: `folder1/folder2/application_name` */
7452
- application_path: string;
7564
+ /** @description The application ID. Can be either a static config application name or a dynamic application path. */
7565
+ appId: string;
7566
+ /** @description The external service ID defined in the application's external_services configuration. */
7567
+ id: string;
7453
7568
  };
7454
7569
  cookie?: never;
7455
7570
  };
@@ -7458,12 +7573,10 @@ interface operations {
7458
7573
  /** @description Success */
7459
7574
  200: {
7460
7575
  headers: {
7461
- /** @description Entity tag for the application */
7462
- ETag: string;
7463
7576
  [name: string]: unknown;
7464
7577
  };
7465
7578
  content: {
7466
- 'application/json': components['schemas']['Application'];
7579
+ 'application/json': components['schemas']['ExternalServiceData'];
7467
7580
  };
7468
7581
  };
7469
7582
  /** @description Bad request */
@@ -7511,65 +7624,33 @@ interface operations {
7511
7624
  'application/json': components['schemas']['ErrorData'];
7512
7625
  };
7513
7626
  };
7514
- /** @description Failed to connect to upstream server. */
7515
- 502: {
7516
- headers: {
7517
- [name: string]: unknown;
7518
- };
7519
- content: {
7520
- 'application/json': components['schemas']['ErrorData'];
7521
- };
7522
- };
7523
- /** @description Gateway Timeout */
7524
- 504: {
7525
- headers: {
7526
- [name: string]: unknown;
7527
- };
7528
- content: {
7529
- 'application/json': components['schemas']['ErrorData'];
7530
- };
7531
- };
7532
7627
  };
7533
7628
  };
7534
- saveCustomApplication: {
7629
+ putExternalService: {
7535
7630
  parameters: {
7536
7631
  query?: never;
7537
- header?: {
7538
- /**
7539
- * @description The entity tag (ETag) of the application. This is used for conditional requests to ensure that the application is only uploaded if it matches the specified ETag.
7540
- * If the application does not exist, this header is ignored.
7541
- * If this header is not provided or the value is "*", any existing application at the specified path will be overwritten.
7542
- */
7543
- 'If-Match'?: string;
7544
- /**
7545
- * @description The entity tag (ETag) used to ensure that the application is only uploaded if it does not already exist.
7546
- * The only supported value is "*".
7547
- */
7548
- 'If-None-Match'?: string;
7549
- };
7632
+ header?: never;
7550
7633
  path: {
7551
- /** @description The target bucket. */
7552
- bucket: string;
7553
- /** @description Target application path. The parameter specifies a full path to the application, for example: `folder1/folder2/application_name` */
7554
- application_path: string;
7634
+ /** @description The application ID. Can be either a static config application name or a dynamic application path. */
7635
+ appId: string;
7636
+ /** @description The external service ID defined in the application's external_services configuration. */
7637
+ id: string;
7555
7638
  };
7556
7639
  cookie?: never;
7557
7640
  };
7558
7641
  requestBody: {
7559
7642
  content: {
7560
- 'application/json': components['schemas']['Application'];
7643
+ 'application/json': components['schemas']['ExternalService'];
7561
7644
  };
7562
7645
  };
7563
7646
  responses: {
7564
7647
  /** @description Success */
7565
7648
  200: {
7566
7649
  headers: {
7567
- /** @description Entity tag for the saved application */
7568
- ETag: string;
7569
7650
  [name: string]: unknown;
7570
7651
  };
7571
7652
  content: {
7572
- 'application/json': components['schemas']['ResourceItemMetadata'];
7653
+ 'application/json': components['schemas']['ExternalServiceData'];
7573
7654
  };
7574
7655
  };
7575
7656
  /** @description Bad request */
@@ -7608,7 +7689,255 @@ interface operations {
7608
7689
  'application/json': components['schemas']['ErrorData'];
7609
7690
  };
7610
7691
  };
7611
- /** @description Precondition Failed - ETag mismatch */
7692
+ /** @description The server had an error while processing your request. */
7693
+ 500: {
7694
+ headers: {
7695
+ [name: string]: unknown;
7696
+ };
7697
+ content: {
7698
+ 'application/json': components['schemas']['ErrorData'];
7699
+ };
7700
+ };
7701
+ };
7702
+ };
7703
+ deleteExternalService: {
7704
+ parameters: {
7705
+ query?: never;
7706
+ header?: never;
7707
+ path: {
7708
+ /** @description The application ID. Can be either a static config application name or a dynamic application path. */
7709
+ appId: string;
7710
+ /** @description The external service ID defined in the application's external_services configuration. */
7711
+ id: string;
7712
+ };
7713
+ cookie?: never;
7714
+ };
7715
+ requestBody?: never;
7716
+ responses: {
7717
+ /** @description Success */
7718
+ 200: {
7719
+ headers: {
7720
+ [name: string]: unknown;
7721
+ };
7722
+ content: {
7723
+ 'application/json': boolean;
7724
+ };
7725
+ };
7726
+ /** @description Bad request */
7727
+ 400: {
7728
+ headers: {
7729
+ [name: string]: unknown;
7730
+ };
7731
+ content: {
7732
+ 'application/json': components['schemas']['ErrorData'];
7733
+ };
7734
+ };
7735
+ /** @description Invalid Authentication */
7736
+ 401: {
7737
+ headers: {
7738
+ [name: string]: unknown;
7739
+ };
7740
+ content: {
7741
+ 'application/json': components['schemas']['ErrorData'];
7742
+ };
7743
+ };
7744
+ /** @description Forbidden */
7745
+ 403: {
7746
+ headers: {
7747
+ [name: string]: unknown;
7748
+ };
7749
+ content: {
7750
+ 'application/json': components['schemas']['ErrorData'];
7751
+ };
7752
+ };
7753
+ /** @description Not found */
7754
+ 404: {
7755
+ headers: {
7756
+ [name: string]: unknown;
7757
+ };
7758
+ content: {
7759
+ 'application/json': components['schemas']['ErrorData'];
7760
+ };
7761
+ };
7762
+ /** @description The server had an error while processing your request. */
7763
+ 500: {
7764
+ headers: {
7765
+ [name: string]: unknown;
7766
+ };
7767
+ content: {
7768
+ 'application/json': components['schemas']['ErrorData'];
7769
+ };
7770
+ };
7771
+ };
7772
+ };
7773
+ getCustomApplication: {
7774
+ parameters: {
7775
+ query?: never;
7776
+ header?: never;
7777
+ path: {
7778
+ /** @description The target bucket. */
7779
+ bucket: string;
7780
+ /** @description The target application path. The parameter specifies full path to the application, for example: `folder1/folder2/application_name` */
7781
+ application_path: string;
7782
+ };
7783
+ cookie?: never;
7784
+ };
7785
+ requestBody?: never;
7786
+ responses: {
7787
+ /** @description Success */
7788
+ 200: {
7789
+ headers: {
7790
+ /** @description Entity tag for the application */
7791
+ ETag: string;
7792
+ [name: string]: unknown;
7793
+ };
7794
+ content: {
7795
+ 'application/json': components['schemas']['Application'];
7796
+ };
7797
+ };
7798
+ /** @description Bad request */
7799
+ 400: {
7800
+ headers: {
7801
+ [name: string]: unknown;
7802
+ };
7803
+ content: {
7804
+ 'application/json': components['schemas']['ErrorData'];
7805
+ };
7806
+ };
7807
+ /** @description Invalid Authentication */
7808
+ 401: {
7809
+ headers: {
7810
+ [name: string]: unknown;
7811
+ };
7812
+ content: {
7813
+ 'application/json': components['schemas']['ErrorData'];
7814
+ };
7815
+ };
7816
+ /** @description Forbidden */
7817
+ 403: {
7818
+ headers: {
7819
+ [name: string]: unknown;
7820
+ };
7821
+ content: {
7822
+ 'application/json': components['schemas']['ErrorData'];
7823
+ };
7824
+ };
7825
+ /** @description Not found */
7826
+ 404: {
7827
+ headers: {
7828
+ [name: string]: unknown;
7829
+ };
7830
+ content: {
7831
+ 'application/json': components['schemas']['ErrorData'];
7832
+ };
7833
+ };
7834
+ /** @description The server had an error while processing your request. */
7835
+ 500: {
7836
+ headers: {
7837
+ [name: string]: unknown;
7838
+ };
7839
+ content: {
7840
+ 'application/json': components['schemas']['ErrorData'];
7841
+ };
7842
+ };
7843
+ /** @description Failed to connect to upstream server. */
7844
+ 502: {
7845
+ headers: {
7846
+ [name: string]: unknown;
7847
+ };
7848
+ content: {
7849
+ 'application/json': components['schemas']['ErrorData'];
7850
+ };
7851
+ };
7852
+ /** @description Gateway Timeout */
7853
+ 504: {
7854
+ headers: {
7855
+ [name: string]: unknown;
7856
+ };
7857
+ content: {
7858
+ 'application/json': components['schemas']['ErrorData'];
7859
+ };
7860
+ };
7861
+ };
7862
+ };
7863
+ saveCustomApplication: {
7864
+ parameters: {
7865
+ query?: never;
7866
+ header?: {
7867
+ /**
7868
+ * @description The entity tag (ETag) of the application. This is used for conditional requests to ensure that the application is only uploaded if it matches the specified ETag.
7869
+ * If the application does not exist, this header is ignored.
7870
+ * If this header is not provided or the value is "*", any existing application at the specified path will be overwritten.
7871
+ */
7872
+ 'If-Match'?: string;
7873
+ /**
7874
+ * @description The entity tag (ETag) used to ensure that the application is only uploaded if it does not already exist.
7875
+ * The only supported value is "*".
7876
+ */
7877
+ 'If-None-Match'?: string;
7878
+ };
7879
+ path: {
7880
+ /** @description The target bucket. */
7881
+ bucket: string;
7882
+ /** @description Target application path. The parameter specifies a full path to the application, for example: `folder1/folder2/application_name` */
7883
+ application_path: string;
7884
+ };
7885
+ cookie?: never;
7886
+ };
7887
+ requestBody: {
7888
+ content: {
7889
+ 'application/json': components['schemas']['Application'];
7890
+ };
7891
+ };
7892
+ responses: {
7893
+ /** @description Success */
7894
+ 200: {
7895
+ headers: {
7896
+ /** @description Entity tag for the saved application */
7897
+ ETag: string;
7898
+ [name: string]: unknown;
7899
+ };
7900
+ content: {
7901
+ 'application/json': components['schemas']['ResourceItemMetadata'];
7902
+ };
7903
+ };
7904
+ /** @description Bad request */
7905
+ 400: {
7906
+ headers: {
7907
+ [name: string]: unknown;
7908
+ };
7909
+ content: {
7910
+ 'application/json': components['schemas']['ErrorData'];
7911
+ };
7912
+ };
7913
+ /** @description Invalid Authentication */
7914
+ 401: {
7915
+ headers: {
7916
+ [name: string]: unknown;
7917
+ };
7918
+ content: {
7919
+ 'application/json': components['schemas']['ErrorData'];
7920
+ };
7921
+ };
7922
+ /** @description Forbidden */
7923
+ 403: {
7924
+ headers: {
7925
+ [name: string]: unknown;
7926
+ };
7927
+ content: {
7928
+ 'application/json': components['schemas']['ErrorData'];
7929
+ };
7930
+ };
7931
+ /** @description Not found */
7932
+ 404: {
7933
+ headers: {
7934
+ [name: string]: unknown;
7935
+ };
7936
+ content: {
7937
+ 'application/json': components['schemas']['ErrorData'];
7938
+ };
7939
+ };
7940
+ /** @description Precondition Failed - ETag mismatch */
7612
7941
  412: {
7613
7942
  headers: {
7614
7943
  [name: string]: unknown;
@@ -10219,6 +10548,72 @@ interface operations {
10219
10548
  };
10220
10549
  };
10221
10550
  };
10551
+ getPlatformApplicationMetadata: {
10552
+ parameters: {
10553
+ query?: {
10554
+ /** @description The token from the previous request to request next items. */
10555
+ token?: string;
10556
+ /** @description Limit on the number of items in the response. */
10557
+ limit?: number;
10558
+ /** @description If true, returns items recursively without nested folder metadata. */
10559
+ recursive?: boolean;
10560
+ };
10561
+ header?: never;
10562
+ path: {
10563
+ /** @description The parameter specifies path to the requested directory or application, for example: `folder1/folder2/` or `folder1/application_name/`. Note, it could be empty if you want to list the root folder. */
10564
+ path: string;
10565
+ };
10566
+ cookie?: never;
10567
+ };
10568
+ requestBody?: never;
10569
+ responses: {
10570
+ /** @description Success */
10571
+ 200: {
10572
+ headers: {
10573
+ [name: string]: unknown;
10574
+ };
10575
+ content: {
10576
+ 'application/json': components['schemas']['MetadataBase'];
10577
+ };
10578
+ };
10579
+ /** @description Bad request */
10580
+ 400: {
10581
+ headers: {
10582
+ [name: string]: unknown;
10583
+ };
10584
+ content: {
10585
+ 'application/json': components['schemas']['ErrorData'];
10586
+ };
10587
+ };
10588
+ /** @description Forbidden */
10589
+ 403: {
10590
+ headers: {
10591
+ [name: string]: unknown;
10592
+ };
10593
+ content: {
10594
+ 'application/json': components['schemas']['ErrorData'];
10595
+ };
10596
+ };
10597
+ /** @description Not found */
10598
+ 404: {
10599
+ headers: {
10600
+ [name: string]: unknown;
10601
+ };
10602
+ content: {
10603
+ 'application/json': components['schemas']['ErrorData'];
10604
+ };
10605
+ };
10606
+ /** @description The server had an error while processing your request. */
10607
+ 500: {
10608
+ headers: {
10609
+ [name: string]: unknown;
10610
+ };
10611
+ content: {
10612
+ 'application/json': components['schemas']['ErrorData'];
10613
+ };
10614
+ };
10615
+ };
10616
+ };
10222
10617
  getApplicationMetadata: {
10223
10618
  parameters: {
10224
10619
  query?: {
@@ -11133,11 +11528,77 @@ interface operations {
11133
11528
  /** @description Metadata listing is not supported for Global Settings */
11134
11529
  405: {
11135
11530
  headers: {
11136
- /** @description Supported HTTP methods */
11137
- Allow?: string;
11531
+ /** @description Supported HTTP methods */
11532
+ Allow?: string;
11533
+ [name: string]: unknown;
11534
+ };
11535
+ content?: never;
11536
+ };
11537
+ /** @description The server had an error while processing your request. */
11538
+ 500: {
11539
+ headers: {
11540
+ [name: string]: unknown;
11541
+ };
11542
+ content: {
11543
+ 'application/json': components['schemas']['ErrorData'];
11544
+ };
11545
+ };
11546
+ };
11547
+ };
11548
+ getPlatformToolSetMetadata: {
11549
+ parameters: {
11550
+ query?: {
11551
+ /** @description The token from the previous request to request next items. */
11552
+ token?: string;
11553
+ /** @description Limit on the number of items in the response. */
11554
+ limit?: number;
11555
+ /** @description If true, returns items recursively without nested folder metadata. */
11556
+ recursive?: boolean;
11557
+ };
11558
+ header?: never;
11559
+ path: {
11560
+ /** @description The parameter specifies path to a directory or a toolset, for example: `folder1/folder2/`. */
11561
+ path: string;
11562
+ };
11563
+ cookie?: never;
11564
+ };
11565
+ requestBody?: never;
11566
+ responses: {
11567
+ /** @description Success */
11568
+ 200: {
11569
+ headers: {
11570
+ [name: string]: unknown;
11571
+ };
11572
+ content: {
11573
+ 'application/json': components['schemas']['MetadataBase'];
11574
+ };
11575
+ };
11576
+ /** @description Bad request */
11577
+ 400: {
11578
+ headers: {
11579
+ [name: string]: unknown;
11580
+ };
11581
+ content: {
11582
+ 'application/json': components['schemas']['ErrorData'];
11583
+ };
11584
+ };
11585
+ /** @description Forbidden */
11586
+ 403: {
11587
+ headers: {
11588
+ [name: string]: unknown;
11589
+ };
11590
+ content: {
11591
+ 'application/json': components['schemas']['ErrorData'];
11592
+ };
11593
+ };
11594
+ /** @description Not found */
11595
+ 404: {
11596
+ headers: {
11138
11597
  [name: string]: unknown;
11139
11598
  };
11140
- content?: never;
11599
+ content: {
11600
+ 'application/json': components['schemas']['ErrorData'];
11601
+ };
11141
11602
  };
11142
11603
  /** @description The server had an error while processing your request. */
11143
11604
  500: {
@@ -16668,6 +17129,258 @@ interface operations {
16668
17129
  };
16669
17130
  };
16670
17131
  };
17132
+ getPlatformToolSet: {
17133
+ parameters: {
17134
+ query?: never;
17135
+ header?: {
17136
+ /** @description ETag precondition. */
17137
+ 'If-None-Match'?: string;
17138
+ };
17139
+ path: {
17140
+ /** @description Toolset name */
17141
+ path: string;
17142
+ };
17143
+ cookie?: never;
17144
+ };
17145
+ requestBody?: never;
17146
+ responses: {
17147
+ /** @description Success */
17148
+ 200: {
17149
+ headers: {
17150
+ /** @description Entity tag for the toolset */
17151
+ ETag: string;
17152
+ [name: string]: unknown;
17153
+ };
17154
+ content: {
17155
+ 'application/json': components['schemas']['ToolSet'] & components['schemas']['EntityMetadata'];
17156
+ };
17157
+ };
17158
+ /** @description Not Modified */
17159
+ 304: {
17160
+ headers: {
17161
+ [name: string]: unknown;
17162
+ };
17163
+ content?: never;
17164
+ };
17165
+ /** @description Bad request */
17166
+ 400: {
17167
+ headers: {
17168
+ [name: string]: unknown;
17169
+ };
17170
+ content: {
17171
+ 'application/json': components['schemas']['ErrorData'];
17172
+ };
17173
+ };
17174
+ /** @description Forbidden */
17175
+ 403: {
17176
+ headers: {
17177
+ [name: string]: unknown;
17178
+ };
17179
+ content: {
17180
+ 'application/json': components['schemas']['ErrorData'];
17181
+ };
17182
+ };
17183
+ /** @description Not found */
17184
+ 404: {
17185
+ headers: {
17186
+ [name: string]: unknown;
17187
+ };
17188
+ content: {
17189
+ 'application/json': components['schemas']['ErrorData'];
17190
+ };
17191
+ };
17192
+ /** @description Method Not Allowed */
17193
+ 405: {
17194
+ headers: {
17195
+ [name: string]: unknown;
17196
+ };
17197
+ content?: never;
17198
+ };
17199
+ /** @description Precondition Failed - ETag mismatch */
17200
+ 412: {
17201
+ headers: {
17202
+ [name: string]: unknown;
17203
+ };
17204
+ content?: never;
17205
+ };
17206
+ /** @description The server had an error while processing your request. */
17207
+ 500: {
17208
+ headers: {
17209
+ [name: string]: unknown;
17210
+ };
17211
+ content: {
17212
+ 'application/json': components['schemas']['ErrorData'];
17213
+ };
17214
+ };
17215
+ };
17216
+ };
17217
+ savePlatformToolSet: {
17218
+ parameters: {
17219
+ query?: never;
17220
+ header?: {
17221
+ /** @description ETag precondition. */
17222
+ 'If-Match'?: string;
17223
+ /** @description Conditional creation precondition. */
17224
+ 'If-None-Match'?: string;
17225
+ };
17226
+ path: {
17227
+ /** @description Toolset name */
17228
+ path: string;
17229
+ };
17230
+ cookie?: never;
17231
+ };
17232
+ requestBody: {
17233
+ content: {
17234
+ 'application/json': components['schemas']['ToolSet'];
17235
+ };
17236
+ };
17237
+ responses: {
17238
+ /** @description Success */
17239
+ 200: {
17240
+ headers: {
17241
+ /** @description Entity tag for the saved toolset */
17242
+ ETag: string;
17243
+ [name: string]: unknown;
17244
+ };
17245
+ content: {
17246
+ 'application/json': components['schemas']['ConfigResourceControllerConfigWriteResponse'];
17247
+ };
17248
+ };
17249
+ /** @description Bad request */
17250
+ 400: {
17251
+ headers: {
17252
+ [name: string]: unknown;
17253
+ };
17254
+ content: {
17255
+ 'application/json': components['schemas']['ErrorData'];
17256
+ };
17257
+ };
17258
+ /** @description Forbidden */
17259
+ 403: {
17260
+ headers: {
17261
+ [name: string]: unknown;
17262
+ };
17263
+ content: {
17264
+ 'application/json': components['schemas']['ErrorData'];
17265
+ };
17266
+ };
17267
+ /** @description Not found */
17268
+ 404: {
17269
+ headers: {
17270
+ [name: string]: unknown;
17271
+ };
17272
+ content: {
17273
+ 'application/json': components['schemas']['ErrorData'];
17274
+ };
17275
+ };
17276
+ /** @description Method Not Allowed */
17277
+ 405: {
17278
+ headers: {
17279
+ [name: string]: unknown;
17280
+ };
17281
+ content?: never;
17282
+ };
17283
+ /** @description Precondition Failed - ETag mismatch */
17284
+ 412: {
17285
+ headers: {
17286
+ [name: string]: unknown;
17287
+ };
17288
+ content?: never;
17289
+ };
17290
+ /** @description Unprocessable Entity */
17291
+ 422: {
17292
+ headers: {
17293
+ [name: string]: unknown;
17294
+ };
17295
+ content: {
17296
+ 'application/json': components['schemas']['ErrorData'];
17297
+ };
17298
+ };
17299
+ /** @description The server had an error while processing your request. */
17300
+ 500: {
17301
+ headers: {
17302
+ [name: string]: unknown;
17303
+ };
17304
+ content: {
17305
+ 'application/json': components['schemas']['ErrorData'];
17306
+ };
17307
+ };
17308
+ };
17309
+ };
17310
+ deletePlatformToolSet: {
17311
+ parameters: {
17312
+ query?: never;
17313
+ header?: {
17314
+ /** @description ETag precondition. */
17315
+ 'If-Match'?: string;
17316
+ };
17317
+ path: {
17318
+ /** @description Toolset name */
17319
+ path: string;
17320
+ };
17321
+ cookie?: never;
17322
+ };
17323
+ requestBody?: never;
17324
+ responses: {
17325
+ /** @description Success */
17326
+ 204: {
17327
+ headers: {
17328
+ [name: string]: unknown;
17329
+ };
17330
+ content?: never;
17331
+ };
17332
+ /** @description Bad request */
17333
+ 400: {
17334
+ headers: {
17335
+ [name: string]: unknown;
17336
+ };
17337
+ content: {
17338
+ 'application/json': components['schemas']['ErrorData'];
17339
+ };
17340
+ };
17341
+ /** @description Forbidden */
17342
+ 403: {
17343
+ headers: {
17344
+ [name: string]: unknown;
17345
+ };
17346
+ content: {
17347
+ 'application/json': components['schemas']['ErrorData'];
17348
+ };
17349
+ };
17350
+ /** @description Not found */
17351
+ 404: {
17352
+ headers: {
17353
+ [name: string]: unknown;
17354
+ };
17355
+ content: {
17356
+ 'application/json': components['schemas']['ErrorData'];
17357
+ };
17358
+ };
17359
+ /** @description Method Not Allowed */
17360
+ 405: {
17361
+ headers: {
17362
+ [name: string]: unknown;
17363
+ };
17364
+ content?: never;
17365
+ };
17366
+ /** @description Precondition Failed - ETag mismatch */
17367
+ 412: {
17368
+ headers: {
17369
+ [name: string]: unknown;
17370
+ };
17371
+ content?: never;
17372
+ };
17373
+ /** @description The server had an error while processing your request. */
17374
+ 500: {
17375
+ headers: {
17376
+ [name: string]: unknown;
17377
+ };
17378
+ content: {
17379
+ 'application/json': components['schemas']['ErrorData'];
17380
+ };
17381
+ };
17382
+ };
17383
+ };
16671
17384
  getCustomToolSet: {
16672
17385
  parameters: {
16673
17386
  query?: never;
@@ -18029,6 +18742,8 @@ interface DIAL_SDK {
18029
18742
  deleteKey: (bucket: string, path: string, init?: SDKOperationInit<operations['deleteKey']>) => Promise<SDKOperationResponse<operations['deleteKey']>>;
18030
18743
  deleteModel: (bucket: string, path: string, init?: SDKOperationInit<operations['deleteModel']>) => Promise<SDKOperationResponse<operations['deleteModel']>>;
18031
18744
  deleteNotifications: (init: SDKOperationInit<operations['deleteNotifications']>) => Promise<SDKOperationResponse<operations['deleteNotifications']>>;
18745
+ deletePlatformApplication: (path: string, init?: SDKOperationInit<operations['deletePlatformApplication']>) => Promise<SDKOperationResponse<operations['deletePlatformApplication']>>;
18746
+ deletePlatformToolSet: (path: string, init?: SDKOperationInit<operations['deletePlatformToolSet']>) => Promise<SDKOperationResponse<operations['deletePlatformToolSet']>>;
18032
18747
  deletePrompt: (bucket: string, prompt_path: string, init?: SDKOperationInit<operations['deletePrompt']>) => Promise<SDKOperationResponse<operations['deletePrompt']>>;
18033
18748
  deletePublication: (init: SDKOperationInit<operations['deletePublication']>) => Promise<SDKOperationResponse<operations['deletePublication']>>;
18034
18749
  deleteResponseItem: (response_id: string, init?: SDKOperationInit<operations['deleteResponseItem']>) => Promise<SDKOperationResponse<operations['deleteResponseItem']>>;
@@ -18097,6 +18812,10 @@ interface DIAL_SDK {
18097
18812
  getModels: (init?: SDKOperationInit<operations['getModels']>) => Promise<SDKOperationResponse<operations['getModels']>>;
18098
18813
  getNotifications: (init?: SDKOperationInit<operations['getNotifications']>) => Promise<SDKOperationResponse<operations['getNotifications']>>;
18099
18814
  getPerRequestPermissions: (init: SDKOperationInit<operations['getPerRequestPermissions']>) => Promise<SDKOperationResponse<operations['getPerRequestPermissions']>>;
18815
+ getPlatformApplication: (path: string, init?: SDKOperationInit<operations['getPlatformApplication']>) => Promise<SDKOperationResponse<operations['getPlatformApplication']>>;
18816
+ getPlatformApplicationMetadata: (path: string, init?: SDKOperationInit<operations['getPlatformApplicationMetadata']>) => Promise<SDKOperationResponse<operations['getPlatformApplicationMetadata']>>;
18817
+ getPlatformToolSet: (path: string, init?: SDKOperationInit<operations['getPlatformToolSet']>) => Promise<SDKOperationResponse<operations['getPlatformToolSet']>>;
18818
+ getPlatformToolSetMetadata: (path: string, init?: SDKOperationInit<operations['getPlatformToolSetMetadata']>) => Promise<SDKOperationResponse<operations['getPlatformToolSetMetadata']>>;
18100
18819
  getPrompt: (bucket: string, prompt_path: string, init?: SDKOperationInit<operations['getPrompt']>) => Promise<SDKOperationResponse<operations['getPrompt']>>;
18101
18820
  getPromptMetadata: (bucket: string, path: string, init?: SDKOperationInit<operations['getPromptMetadata']>) => Promise<SDKOperationResponse<operations['getPromptMetadata']>>;
18102
18821
  getPublication: (init: SDKOperationInit<operations['getPublication']>) => Promise<SDKOperationResponse<operations['getPublication']>>;
@@ -18162,6 +18881,8 @@ interface DIAL_SDK {
18162
18881
  saveInterceptor: (bucket: string, path: string, init: SDKOperationInit<operations['saveInterceptor']>) => Promise<SDKOperationResponse<operations['saveInterceptor']>>;
18163
18882
  saveKey: (bucket: string, path: string, init: SDKOperationInit<operations['saveKey']>) => Promise<SDKOperationResponse<operations['saveKey']>>;
18164
18883
  saveModel: (bucket: string, path: string, init: SDKOperationInit<operations['saveModel']>) => Promise<SDKOperationResponse<operations['saveModel']>>;
18884
+ savePlatformApplication: (path: string, init: SDKOperationInit<operations['savePlatformApplication']>) => Promise<SDKOperationResponse<operations['savePlatformApplication']>>;
18885
+ savePlatformToolSet: (path: string, init: SDKOperationInit<operations['savePlatformToolSet']>) => Promise<SDKOperationResponse<operations['savePlatformToolSet']>>;
18165
18886
  savePrompt: (bucket: string, prompt_path: string, init: SDKOperationInit<operations['savePrompt']>) => Promise<SDKOperationResponse<operations['savePrompt']>>;
18166
18887
  saveRole: (bucket: string, path: string, init: SDKOperationInit<operations['saveRole']>) => Promise<SDKOperationResponse<operations['saveRole']>>;
18167
18888
  saveRoute: (bucket: string, path: string, init: SDKOperationInit<operations['saveRoute']>) => Promise<SDKOperationResponse<operations['saveRoute']>>;