@botpress/client 0.12.3 → 0.13.0

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/gen/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Botpress API
3
3
  * API for Botpress Cloud
4
4
  *
5
- * The version of the OpenAPI document: 0.19.3
5
+ * The version of the OpenAPI document: 0.21.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -418,6 +418,12 @@ export interface BotIntegrationsValue {
418
418
  * @memberof BotIntegrationsValue
419
419
  */
420
420
  'iconUrl': string;
421
+ /**
422
+ * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
423
+ * @type {boolean}
424
+ * @memberof BotIntegrationsValue
425
+ */
426
+ 'public': boolean;
421
427
  }
422
428
  export declare const BotIntegrationsValueStatusEnum: {
423
429
  readonly RegistrationPending: "registration_pending";
@@ -1392,37 +1398,37 @@ export interface CreateFileResponse {
1392
1398
  */
1393
1399
  export interface CreateFileResponseFile {
1394
1400
  /**
1395
- *
1401
+ * File ID
1396
1402
  * @type {string}
1397
1403
  * @memberof CreateFileResponseFile
1398
1404
  */
1399
1405
  'id': string;
1400
1406
  /**
1401
- *
1407
+ * The ID of the bot the file belongs to
1402
1408
  * @type {string}
1403
1409
  * @memberof CreateFileResponseFile
1404
1410
  */
1405
1411
  'botId': string;
1406
1412
  /**
1407
- *
1413
+ * File name
1408
1414
  * @type {string}
1409
1415
  * @memberof CreateFileResponseFile
1410
1416
  */
1411
- 'name': string;
1417
+ 'name': string | null;
1412
1418
  /**
1413
- *
1419
+ * File size in bytes
1414
1420
  * @type {number}
1415
1421
  * @memberof CreateFileResponseFile
1416
1422
  */
1417
1423
  'size': number | null;
1418
1424
  /**
1419
- *
1425
+ * MIME type of the file\'s content
1420
1426
  * @type {string}
1421
1427
  * @memberof CreateFileResponseFile
1422
1428
  */
1423
1429
  'contentType': string;
1424
1430
  /**
1425
- * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
1431
+ * The tags of the file as an object of key/value pairs
1426
1432
  * @type {{ [key: string]: string; }}
1427
1433
  * @memberof CreateFileResponseFile
1428
1434
  */
@@ -1430,31 +1436,31 @@ export interface CreateFileResponseFile {
1430
1436
  [key: string]: string;
1431
1437
  };
1432
1438
  /**
1433
- *
1439
+ * File creation timestamp in ISO 8601 format
1434
1440
  * @type {string}
1435
1441
  * @memberof CreateFileResponseFile
1436
1442
  */
1437
1443
  'createdAt': string;
1438
1444
  /**
1439
- *
1445
+ * File last update timestamp in ISO 8601 format
1440
1446
  * @type {string}
1441
1447
  * @memberof CreateFileResponseFile
1442
1448
  */
1443
1449
  'updatedAt': string;
1444
1450
  /**
1445
- *
1451
+ * Access policies configured for the file.
1446
1452
  * @type {Array<string>}
1447
1453
  * @memberof CreateFileResponseFile
1448
1454
  */
1449
1455
  'accessPolicies': Array<string>;
1450
1456
  /**
1451
- *
1457
+ * Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created.
1452
1458
  * @type {string}
1453
1459
  * @memberof CreateFileResponseFile
1454
1460
  */
1455
1461
  'indexingStatus'?: CreateFileResponseFileIndexingStatusEnum;
1456
1462
  /**
1457
- *
1463
+ * Last failure reason of the file indexing if the indexing status is \"FAILED\".
1458
1464
  * @type {string}
1459
1465
  * @memberof CreateFileResponseFile
1460
1466
  */
@@ -1467,6 +1473,56 @@ export declare const CreateFileResponseFileIndexingStatusEnum: {
1467
1473
  readonly Failed: "FAILED";
1468
1474
  };
1469
1475
  export type CreateFileResponseFileIndexingStatusEnum = typeof CreateFileResponseFileIndexingStatusEnum[keyof typeof CreateFileResponseFileIndexingStatusEnum];
1476
+ /**
1477
+ *
1478
+ * @export
1479
+ * @interface CreateIntegrationApiKeyBody
1480
+ */
1481
+ export interface CreateIntegrationApiKeyBody {
1482
+ /**
1483
+ *
1484
+ * @type {string}
1485
+ * @memberof CreateIntegrationApiKeyBody
1486
+ */
1487
+ 'integrationVersionId': string;
1488
+ /**
1489
+ *
1490
+ * @type {string}
1491
+ * @memberof CreateIntegrationApiKeyBody
1492
+ */
1493
+ 'note'?: string;
1494
+ }
1495
+ /**
1496
+ *
1497
+ * @export
1498
+ * @interface CreateIntegrationApiKeyResponse
1499
+ */
1500
+ export interface CreateIntegrationApiKeyResponse {
1501
+ /**
1502
+ *
1503
+ * @type {string}
1504
+ * @memberof CreateIntegrationApiKeyResponse
1505
+ */
1506
+ 'id': string;
1507
+ /**
1508
+ *
1509
+ * @type {string}
1510
+ * @memberof CreateIntegrationApiKeyResponse
1511
+ */
1512
+ 'createdAt': string;
1513
+ /**
1514
+ *
1515
+ * @type {string}
1516
+ * @memberof CreateIntegrationApiKeyResponse
1517
+ */
1518
+ 'note': string;
1519
+ /**
1520
+ * The IAK value. This will only be returned here when created and cannot be retrieved later.
1521
+ * @type {string}
1522
+ * @memberof CreateIntegrationApiKeyResponse
1523
+ */
1524
+ 'value': string;
1525
+ }
1470
1526
  /**
1471
1527
  *
1472
1528
  * @export
@@ -1593,6 +1649,12 @@ export interface CreateIntegrationBody {
1593
1649
  * @memberof CreateIntegrationBody
1594
1650
  */
1595
1651
  'description'?: string;
1652
+ /**
1653
+ * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
1654
+ * @type {boolean}
1655
+ * @memberof CreateIntegrationBody
1656
+ */
1657
+ 'public'?: boolean;
1596
1658
  }
1597
1659
  /**
1598
1660
  *
@@ -2354,6 +2416,50 @@ export interface DeleteTableRowsResponse {
2354
2416
  */
2355
2417
  'deletedRows': number;
2356
2418
  }
2419
+ /**
2420
+ *
2421
+ * @export
2422
+ * @interface DuplicateTableBody
2423
+ */
2424
+ export interface DuplicateTableBody {
2425
+ /**
2426
+ *
2427
+ * @type {string}
2428
+ * @memberof DuplicateTableBody
2429
+ */
2430
+ 'tableName'?: string;
2431
+ /**
2432
+ * Only duplicate the schema, not the content
2433
+ * @type {boolean}
2434
+ * @memberof DuplicateTableBody
2435
+ */
2436
+ 'schemaOnly'?: boolean;
2437
+ /**
2438
+ * Use a different factor for the table. Leave empty to use the same as the duplicated table.
2439
+ * @type {number}
2440
+ * @memberof DuplicateTableBody
2441
+ */
2442
+ 'factor'?: number;
2443
+ }
2444
+ /**
2445
+ *
2446
+ * @export
2447
+ * @interface DuplicateTableResponse
2448
+ */
2449
+ export interface DuplicateTableResponse {
2450
+ /**
2451
+ *
2452
+ * @type {Table}
2453
+ * @memberof DuplicateTableResponse
2454
+ */
2455
+ 'table': Table;
2456
+ /**
2457
+ * The total number of rows present in the table.
2458
+ * @type {number}
2459
+ * @memberof DuplicateTableResponse
2460
+ */
2461
+ 'rows': number;
2462
+ }
2357
2463
  /**
2358
2464
  * The event object represents an action or an occurrence.
2359
2465
  * @export
@@ -3071,6 +3177,66 @@ export interface GetOrCreateMessageResponse {
3071
3177
  */
3072
3178
  'message': Message;
3073
3179
  }
3180
+ /**
3181
+ *
3182
+ * @export
3183
+ * @interface GetOrCreateTableBody
3184
+ */
3185
+ export interface GetOrCreateTableBody {
3186
+ /**
3187
+ * The \'factor\' multiplies the row\'s data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
3188
+ * @type {number}
3189
+ * @memberof GetOrCreateTableBody
3190
+ */
3191
+ 'factor'?: number;
3192
+ /**
3193
+ * Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed.
3194
+ * @type {{ [key: string]: any; }}
3195
+ * @memberof GetOrCreateTableBody
3196
+ */
3197
+ 'schema': {
3198
+ [key: string]: any;
3199
+ };
3200
+ /**
3201
+ * Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs.
3202
+ * @type {{ [key: string]: string; }}
3203
+ * @memberof GetOrCreateTableBody
3204
+ */
3205
+ 'tags'?: {
3206
+ [key: string]: string;
3207
+ };
3208
+ }
3209
+ /**
3210
+ *
3211
+ * @export
3212
+ * @interface GetOrCreateTableResponse
3213
+ */
3214
+ export interface GetOrCreateTableResponse {
3215
+ /**
3216
+ *
3217
+ * @type {Table}
3218
+ * @memberof GetOrCreateTableResponse
3219
+ */
3220
+ 'table': Table;
3221
+ /**
3222
+ * Flag indicating if the table was newly created.
3223
+ * @type {boolean}
3224
+ * @memberof GetOrCreateTableResponse
3225
+ */
3226
+ 'created': boolean;
3227
+ /**
3228
+ * The total number of rows present in the table.
3229
+ * @type {number}
3230
+ * @memberof GetOrCreateTableResponse
3231
+ */
3232
+ 'rows': number;
3233
+ /**
3234
+ * The number of rows pending indexing, relevant for search functionalities.
3235
+ * @type {number}
3236
+ * @memberof GetOrCreateTableResponse
3237
+ */
3238
+ 'indexingCount': number;
3239
+ }
3074
3240
  /**
3075
3241
  *
3076
3242
  * @export
@@ -3302,6 +3468,12 @@ export interface GetPublicIntegrationByIdResponseIntegration {
3302
3468
  * @memberof GetPublicIntegrationByIdResponseIntegration
3303
3469
  */
3304
3470
  'readmeUrl': string;
3471
+ /**
3472
+ * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
3473
+ * @type {boolean}
3474
+ * @memberof GetPublicIntegrationByIdResponseIntegration
3475
+ */
3476
+ 'public': boolean;
3305
3477
  /**
3306
3478
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
3307
3479
  * @type {Array<string>}
@@ -4311,6 +4483,12 @@ export interface Integration {
4311
4483
  * @memberof Integration
4312
4484
  */
4313
4485
  'readmeUrl': string;
4486
+ /**
4487
+ * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
4488
+ * @type {boolean}
4489
+ * @memberof Integration
4490
+ */
4491
+ 'public': boolean;
4314
4492
  /**
4315
4493
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
4316
4494
  * @type {Array<string>}
@@ -4784,37 +4962,37 @@ export interface ListFilesResponse {
4784
4962
  */
4785
4963
  export interface ListFilesResponseFilesInner {
4786
4964
  /**
4787
- *
4965
+ * File ID
4788
4966
  * @type {string}
4789
4967
  * @memberof ListFilesResponseFilesInner
4790
4968
  */
4791
4969
  'id': string;
4792
4970
  /**
4793
- *
4971
+ * The ID of the bot the file belongs to
4794
4972
  * @type {string}
4795
4973
  * @memberof ListFilesResponseFilesInner
4796
4974
  */
4797
4975
  'botId': string;
4798
4976
  /**
4799
- *
4977
+ * File name
4800
4978
  * @type {string}
4801
4979
  * @memberof ListFilesResponseFilesInner
4802
4980
  */
4803
- 'name': string;
4981
+ 'name': string | null;
4804
4982
  /**
4805
- *
4983
+ * File size in bytes
4806
4984
  * @type {number}
4807
4985
  * @memberof ListFilesResponseFilesInner
4808
4986
  */
4809
4987
  'size': number | null;
4810
4988
  /**
4811
- *
4989
+ * MIME type of the file\'s content
4812
4990
  * @type {string}
4813
4991
  * @memberof ListFilesResponseFilesInner
4814
4992
  */
4815
4993
  'contentType': string;
4816
4994
  /**
4817
- * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
4995
+ * The tags of the file as an object of key/value pairs
4818
4996
  * @type {{ [key: string]: string; }}
4819
4997
  * @memberof ListFilesResponseFilesInner
4820
4998
  */
@@ -4822,31 +5000,31 @@ export interface ListFilesResponseFilesInner {
4822
5000
  [key: string]: string;
4823
5001
  };
4824
5002
  /**
4825
- *
5003
+ * File creation timestamp in ISO 8601 format
4826
5004
  * @type {string}
4827
5005
  * @memberof ListFilesResponseFilesInner
4828
5006
  */
4829
5007
  'createdAt': string;
4830
5008
  /**
4831
- *
5009
+ * File last update timestamp in ISO 8601 format
4832
5010
  * @type {string}
4833
5011
  * @memberof ListFilesResponseFilesInner
4834
5012
  */
4835
5013
  'updatedAt': string;
4836
5014
  /**
4837
- *
5015
+ * Access policies configured for the file.
4838
5016
  * @type {Array<string>}
4839
5017
  * @memberof ListFilesResponseFilesInner
4840
5018
  */
4841
5019
  'accessPolicies': Array<string>;
4842
5020
  /**
4843
- *
5021
+ * Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created.
4844
5022
  * @type {string}
4845
5023
  * @memberof ListFilesResponseFilesInner
4846
5024
  */
4847
5025
  'indexingStatus'?: ListFilesResponseFilesInnerIndexingStatusEnum;
4848
5026
  /**
4849
- *
5027
+ * Last failure reason of the file indexing if the indexing status is \"FAILED\".
4850
5028
  * @type {string}
4851
5029
  * @memberof ListFilesResponseFilesInner
4852
5030
  */
@@ -4859,6 +5037,19 @@ export declare const ListFilesResponseFilesInnerIndexingStatusEnum: {
4859
5037
  readonly Failed: "FAILED";
4860
5038
  };
4861
5039
  export type ListFilesResponseFilesInnerIndexingStatusEnum = typeof ListFilesResponseFilesInnerIndexingStatusEnum[keyof typeof ListFilesResponseFilesInnerIndexingStatusEnum];
5040
+ /**
5041
+ *
5042
+ * @export
5043
+ * @interface ListIntegrationApiKeysResponse
5044
+ */
5045
+ export interface ListIntegrationApiKeysResponse {
5046
+ /**
5047
+ *
5048
+ * @type {Array<ListPersonalAccessTokensResponsePatsInner>}
5049
+ * @memberof ListIntegrationApiKeysResponse
5050
+ */
5051
+ 'iaks': Array<ListPersonalAccessTokensResponsePatsInner>;
5052
+ }
4862
5053
  /**
4863
5054
  *
4864
5055
  * @export
@@ -4932,6 +5123,12 @@ export interface ListIntegrationsResponseIntegrationsInner {
4932
5123
  * @memberof ListIntegrationsResponseIntegrationsInner
4933
5124
  */
4934
5125
  'iconUrl': string;
5126
+ /**
5127
+ * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
5128
+ * @type {boolean}
5129
+ * @memberof ListIntegrationsResponseIntegrationsInner
5130
+ */
5131
+ 'public': boolean;
4935
5132
  }
4936
5133
  /**
4937
5134
  *
@@ -5082,6 +5279,12 @@ export interface ListPublicIntegrationsResponseIntegrationsInner {
5082
5279
  * @memberof ListPublicIntegrationsResponseIntegrationsInner
5083
5280
  */
5084
5281
  'iconUrl': string;
5282
+ /**
5283
+ * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
5284
+ * @type {boolean}
5285
+ * @memberof ListPublicIntegrationsResponseIntegrationsInner
5286
+ */
5287
+ 'public': boolean;
5085
5288
  /**
5086
5289
  *
5087
5290
  * @type {ListPublicIntegrationsResponseIntegrationsInnerOwnerWorkspace}
@@ -5498,37 +5701,37 @@ export type MessageDirectionEnum = typeof MessageDirectionEnum[keyof typeof Mess
5498
5701
  */
5499
5702
  export interface ModelFile {
5500
5703
  /**
5501
- *
5704
+ * File ID
5502
5705
  * @type {string}
5503
5706
  * @memberof ModelFile
5504
5707
  */
5505
5708
  'id': string;
5506
5709
  /**
5507
- *
5710
+ * The ID of the bot the file belongs to
5508
5711
  * @type {string}
5509
5712
  * @memberof ModelFile
5510
5713
  */
5511
5714
  'botId': string;
5512
5715
  /**
5513
- *
5716
+ * File name
5514
5717
  * @type {string}
5515
5718
  * @memberof ModelFile
5516
5719
  */
5517
- 'name': string;
5720
+ 'name': string | null;
5518
5721
  /**
5519
- *
5722
+ * File size in bytes
5520
5723
  * @type {number}
5521
5724
  * @memberof ModelFile
5522
5725
  */
5523
5726
  'size': number | null;
5524
5727
  /**
5525
- *
5728
+ * MIME type of the file\'s content
5526
5729
  * @type {string}
5527
5730
  * @memberof ModelFile
5528
5731
  */
5529
5732
  'contentType': string;
5530
5733
  /**
5531
- * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
5734
+ * The tags of the file as an object of key/value pairs
5532
5735
  * @type {{ [key: string]: string; }}
5533
5736
  * @memberof ModelFile
5534
5737
  */
@@ -5536,31 +5739,31 @@ export interface ModelFile {
5536
5739
  [key: string]: string;
5537
5740
  };
5538
5741
  /**
5539
- *
5742
+ * File creation timestamp in ISO 8601 format
5540
5743
  * @type {string}
5541
5744
  * @memberof ModelFile
5542
5745
  */
5543
5746
  'createdAt': string;
5544
5747
  /**
5545
- *
5748
+ * File last update timestamp in ISO 8601 format
5546
5749
  * @type {string}
5547
5750
  * @memberof ModelFile
5548
5751
  */
5549
5752
  'updatedAt': string;
5550
5753
  /**
5551
- *
5754
+ * Access policies configured for the file.
5552
5755
  * @type {Array<string>}
5553
5756
  * @memberof ModelFile
5554
5757
  */
5555
5758
  'accessPolicies': Array<string>;
5556
5759
  /**
5557
- *
5760
+ * Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created.
5558
5761
  * @type {string}
5559
5762
  * @memberof ModelFile
5560
5763
  */
5561
5764
  'indexingStatus'?: ModelFileIndexingStatusEnum;
5562
5765
  /**
5563
- *
5766
+ * Last failure reason of the file indexing if the indexing status is \"FAILED\".
5564
5767
  * @type {string}
5565
5768
  * @memberof ModelFile
5566
5769
  */
@@ -5727,31 +5930,62 @@ export interface SearchFilesResponse {
5727
5930
  */
5728
5931
  export interface SearchFilesResponsePassagesInner {
5729
5932
  /**
5730
- *
5933
+ * The content of the matching passage in the file including surrounding context, if any.
5731
5934
  * @type {string}
5732
5935
  * @memberof SearchFilesResponsePassagesInner
5733
5936
  */
5734
- 'fileId': string;
5937
+ 'content': string;
5735
5938
  /**
5736
- *
5939
+ * The score indicating the similarity of the passage to the query. A higher score indicates higher similarity.
5737
5940
  * @type {number}
5738
5941
  * @memberof SearchFilesResponsePassagesInner
5739
5942
  */
5740
5943
  'score': number;
5741
5944
  /**
5742
5945
  *
5743
- * @type {string}
5946
+ * @type {SearchFilesResponsePassagesInnerFile}
5744
5947
  * @memberof SearchFilesResponsePassagesInner
5745
5948
  */
5746
- 'content': string;
5949
+ 'file': SearchFilesResponsePassagesInnerFile;
5950
+ }
5951
+ /**
5952
+ *
5953
+ * @export
5954
+ * @interface SearchFilesResponsePassagesInnerFile
5955
+ */
5956
+ export interface SearchFilesResponsePassagesInnerFile {
5957
+ /**
5958
+ * File ID
5959
+ * @type {string}
5960
+ * @memberof SearchFilesResponsePassagesInnerFile
5961
+ */
5962
+ 'id': string;
5747
5963
  /**
5748
- * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
5964
+ * File name
5965
+ * @type {string}
5966
+ * @memberof SearchFilesResponsePassagesInnerFile
5967
+ */
5968
+ 'name': string | null;
5969
+ /**
5970
+ * The tags of the file as an object of key/value pairs.
5749
5971
  * @type {{ [key: string]: string; }}
5750
- * @memberof SearchFilesResponsePassagesInner
5972
+ * @memberof SearchFilesResponsePassagesInnerFile
5751
5973
  */
5752
5974
  'tags': {
5753
5975
  [key: string]: string;
5754
5976
  };
5977
+ /**
5978
+ * File creation timestamp in ISO 8601 format
5979
+ * @type {string}
5980
+ * @memberof SearchFilesResponsePassagesInnerFile
5981
+ */
5982
+ 'createdAt': string;
5983
+ /**
5984
+ * File last update timestamp in ISO 8601 format
5985
+ * @type {string}
5986
+ * @memberof SearchFilesResponsePassagesInnerFile
5987
+ */
5988
+ 'updatedAt': string;
5755
5989
  }
5756
5990
  /**
5757
5991
  *
@@ -6630,7 +6864,7 @@ export interface UpdateConversationResponse {
6630
6864
  */
6631
6865
  export interface UpdateFileMetadataBody {
6632
6866
  /**
6633
- * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
6867
+ * The tags to update as an object of key/value pairs. A tag key can be set to a null value to delete it.
6634
6868
  * @type {{ [key: string]: string; }}
6635
6869
  * @memberof UpdateFileMetadataBody
6636
6870
  */
@@ -6645,7 +6879,7 @@ export interface UpdateFileMetadataBody {
6645
6879
  */
6646
6880
  export interface UpdateFileMetadataResponse {
6647
6881
  /**
6648
- * The tags to update as an object of key/value pairs. A tag key can be set to a null value to delete it.
6882
+ * The updated tags of the file.
6649
6883
  * @type {{ [key: string]: string; }}
6650
6884
  * @memberof UpdateFileMetadataResponse
6651
6885
  */
@@ -6761,6 +6995,12 @@ export interface UpdateIntegrationBody {
6761
6995
  * @memberof UpdateIntegrationBody
6762
6996
  */
6763
6997
  'url'?: string;
6998
+ /**
6999
+ * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
7000
+ * @type {boolean}
7001
+ * @memberof UpdateIntegrationBody
7002
+ */
7003
+ 'public'?: boolean;
6764
7004
  }
6765
7005
  /**
6766
7006
  *
@@ -8039,14 +8279,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8039
8279
  * @param {string} xName File name
8040
8280
  * @param {string} [xTags] File tags as URL-encoded JSON string representing an object of key-value pairs.
8041
8281
  * @param {string} [xAccessPolicies] File access policies, comma-separated. Add \&quot;public_content\&quot; to allow public access to the file content. Add \&quot;integrations\&quot; to allo read, search and list operations for any integration installed in the bot.
8042
- * @param {string} [xIndex] Set to a value of \&quot;true\&quot; to index the file in vector storage. Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.
8282
+ * @param {boolean} [xIndex] Set to a value of \&quot;true\&quot; to index the file in vector storage. Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.
8043
8283
  * @param {string} [contentType] File content type. If omitted, the content type will be inferred from the file extension. If a type cannot be inferred, the default is \&quot;application/octet-stream\&quot;.
8044
8284
  * @param {string} [contentLength] File content length
8045
8285
  * @param {CreateFileBody} [createFileBody] The file to upload.
8046
8286
  * @param {*} [options] Override http request option.
8047
8287
  * @throws {RequiredError}
8048
8288
  */
8049
- createFile: (xName: string, xTags?: string, xAccessPolicies?: string, xIndex?: string, contentType?: string, contentLength?: string, createFileBody?: CreateFileBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8289
+ createFile: (xName: string, xTags?: string, xAccessPolicies?: string, xIndex?: boolean, contentType?: string, contentLength?: string, createFileBody?: CreateFileBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8050
8290
  /**
8051
8291
  * Create integration
8052
8292
  * @param {CreateIntegrationBody} [createIntegrationBody] Integration
@@ -8054,6 +8294,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8054
8294
  * @throws {RequiredError}
8055
8295
  */
8056
8296
  createIntegration: (createIntegrationBody?: CreateIntegrationBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8297
+ /**
8298
+ * Create an IAK
8299
+ * @param {CreateIntegrationApiKeyBody} [createIntegrationApiKeyBody] IAK metadata
8300
+ * @param {*} [options] Override http request option.
8301
+ * @throws {RequiredError}
8302
+ */
8303
+ createIntegrationApiKey: (createIntegrationApiKeyBody?: CreateIntegrationApiKeyBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8057
8304
  /**
8058
8305
  * Creates a new [Message](#schema_message). When creating a new [Message](#schema_message), the required tags must be provided. See the specific integration for more details.
8059
8306
  * @param {CreateMessageBody} [createMessageBody] Message data
@@ -8147,6 +8394,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8147
8394
  * @throws {RequiredError}
8148
8395
  */
8149
8396
  deleteIntegration: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8397
+ /**
8398
+ * Delete an IAK
8399
+ * @param {string} id ID of Integration Api Key
8400
+ * @param {*} [options] Override http request option.
8401
+ * @throws {RequiredError}
8402
+ */
8403
+ deleteIntegrationApiKey: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8150
8404
  /**
8151
8405
  * Permanently deletes a [Message](#schema_message). It cannot be undone.
8152
8406
  * @param {string} id Message id
@@ -8204,6 +8458,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8204
8458
  * @throws {RequiredError}
8205
8459
  */
8206
8460
  deleteWorkspaceMember: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8461
+ /**
8462
+ * Duplicates the table schema & content
8463
+ * @param {string} sourceTableId The table\&#39;s unique identifier
8464
+ * @param {DuplicateTableBody} [duplicateTableBody] Parameters for the duplication operation.
8465
+ * @param {*} [options] Override http request option.
8466
+ * @throws {RequiredError}
8467
+ */
8468
+ duplicateTable: (sourceTableId: string, duplicateTableBody?: DuplicateTableBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8207
8469
  /**
8208
8470
  * Enables the search and filtering of rows within a table based on specific criteria. This operation supports complex queries for advanced data manipulation and retrieval.
8209
8471
  * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
@@ -8347,6 +8609,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8347
8609
  * @throws {RequiredError}
8348
8610
  */
8349
8611
  getOrCreateMessage: (getOrCreateMessageBody?: GetOrCreateMessageBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8612
+ /**
8613
+ * Retrieves information about a specific table if it exists; otherwise, creates a new table based on the provided schema.
8614
+ * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
8615
+ * @param {GetOrCreateTableBody} [getOrCreateTableBody] Schema defining the structure of the table
8616
+ * @param {*} [options] Override http request option.
8617
+ * @throws {RequiredError}
8618
+ */
8619
+ getOrCreateTable: (table: string, getOrCreateTableBody?: GetOrCreateTableBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8350
8620
  /**
8351
8621
  * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.
8352
8622
  * @param {GetOrCreateUserBody} [getOrCreateUserBody] User data
@@ -8544,6 +8814,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8544
8814
  listFiles: (botId: string, nextToken?: string, tags?: {
8545
8815
  [key: string]: string;
8546
8816
  } | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8817
+ /**
8818
+ * List IAKs (Integration Api Keys) of an integration
8819
+ * @param {string} integrationVersionId ID of the integration version
8820
+ * @param {*} [options] Override http request option.
8821
+ * @throws {RequiredError}
8822
+ */
8823
+ listIntegrationApiKeys: (integrationVersionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8547
8824
  /**
8548
8825
  * List integrations
8549
8826
  * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
@@ -8705,15 +8982,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8705
8982
  /**
8706
8983
  * Search files
8707
8984
  * @param {string} botId Bot ID
8708
- * @param {string} query Query expressed in natural language to retrieve matching text passages within all files using semantical search.
8985
+ * @param {string} query Query expressed in natural language to retrieve matching text passages within all indexed files in the bot using semantical search.
8709
8986
  * @param {{ [key: string]: string; }} [tags] Filter by tags
8710
- * @param {string} [limit] The maximum number of passages to return.
8987
+ * @param {number} [contextDepth] The number of neighbor passages to prepend and append as surrounding context to the content of each returned passage. Default: 0, Maximum: 10
8988
+ * @param {number} [limit] The maximum number of passages to return.
8711
8989
  * @param {*} [options] Override http request option.
8712
8990
  * @throws {RequiredError}
8713
8991
  */
8714
8992
  searchFiles: (botId: string, query: string, tags?: {
8715
8993
  [key: string]: string;
8716
- } | undefined, limit?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8994
+ } | undefined, contextDepth?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8717
8995
  /**
8718
8996
  * Set a preference for the account
8719
8997
  * @param {string} key Preference key
@@ -8944,14 +9222,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8944
9222
  * @param {string} xName File name
8945
9223
  * @param {string} [xTags] File tags as URL-encoded JSON string representing an object of key-value pairs.
8946
9224
  * @param {string} [xAccessPolicies] File access policies, comma-separated. Add \&quot;public_content\&quot; to allow public access to the file content. Add \&quot;integrations\&quot; to allo read, search and list operations for any integration installed in the bot.
8947
- * @param {string} [xIndex] Set to a value of \&quot;true\&quot; to index the file in vector storage. Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.
9225
+ * @param {boolean} [xIndex] Set to a value of \&quot;true\&quot; to index the file in vector storage. Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.
8948
9226
  * @param {string} [contentType] File content type. If omitted, the content type will be inferred from the file extension. If a type cannot be inferred, the default is \&quot;application/octet-stream\&quot;.
8949
9227
  * @param {string} [contentLength] File content length
8950
9228
  * @param {CreateFileBody} [createFileBody] The file to upload.
8951
9229
  * @param {*} [options] Override http request option.
8952
9230
  * @throws {RequiredError}
8953
9231
  */
8954
- createFile(xName: string, xTags?: string, xAccessPolicies?: string, xIndex?: string, contentType?: string, contentLength?: string, createFileBody?: CreateFileBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFileResponse>>;
9232
+ createFile(xName: string, xTags?: string, xAccessPolicies?: string, xIndex?: boolean, contentType?: string, contentLength?: string, createFileBody?: CreateFileBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFileResponse>>;
8955
9233
  /**
8956
9234
  * Create integration
8957
9235
  * @param {CreateIntegrationBody} [createIntegrationBody] Integration
@@ -8959,6 +9237,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8959
9237
  * @throws {RequiredError}
8960
9238
  */
8961
9239
  createIntegration(createIntegrationBody?: CreateIntegrationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateIntegrationResponse>>;
9240
+ /**
9241
+ * Create an IAK
9242
+ * @param {CreateIntegrationApiKeyBody} [createIntegrationApiKeyBody] IAK metadata
9243
+ * @param {*} [options] Override http request option.
9244
+ * @throws {RequiredError}
9245
+ */
9246
+ createIntegrationApiKey(createIntegrationApiKeyBody?: CreateIntegrationApiKeyBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateIntegrationApiKeyResponse>>;
8962
9247
  /**
8963
9248
  * Creates a new [Message](#schema_message). When creating a new [Message](#schema_message), the required tags must be provided. See the specific integration for more details.
8964
9249
  * @param {CreateMessageBody} [createMessageBody] Message data
@@ -9052,6 +9337,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9052
9337
  * @throws {RequiredError}
9053
9338
  */
9054
9339
  deleteIntegration(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
9340
+ /**
9341
+ * Delete an IAK
9342
+ * @param {string} id ID of Integration Api Key
9343
+ * @param {*} [options] Override http request option.
9344
+ * @throws {RequiredError}
9345
+ */
9346
+ deleteIntegrationApiKey(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
9055
9347
  /**
9056
9348
  * Permanently deletes a [Message](#schema_message). It cannot be undone.
9057
9349
  * @param {string} id Message id
@@ -9109,6 +9401,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9109
9401
  * @throws {RequiredError}
9110
9402
  */
9111
9403
  deleteWorkspaceMember(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
9404
+ /**
9405
+ * Duplicates the table schema & content
9406
+ * @param {string} sourceTableId The table\&#39;s unique identifier
9407
+ * @param {DuplicateTableBody} [duplicateTableBody] Parameters for the duplication operation.
9408
+ * @param {*} [options] Override http request option.
9409
+ * @throws {RequiredError}
9410
+ */
9411
+ duplicateTable(sourceTableId: string, duplicateTableBody?: DuplicateTableBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateTableResponse>>;
9112
9412
  /**
9113
9413
  * Enables the search and filtering of rows within a table based on specific criteria. This operation supports complex queries for advanced data manipulation and retrieval.
9114
9414
  * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
@@ -9254,6 +9554,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9254
9554
  * @throws {RequiredError}
9255
9555
  */
9256
9556
  getOrCreateMessage(getOrCreateMessageBody?: GetOrCreateMessageBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrCreateMessageResponse>>;
9557
+ /**
9558
+ * Retrieves information about a specific table if it exists; otherwise, creates a new table based on the provided schema.
9559
+ * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
9560
+ * @param {GetOrCreateTableBody} [getOrCreateTableBody] Schema defining the structure of the table
9561
+ * @param {*} [options] Override http request option.
9562
+ * @throws {RequiredError}
9563
+ */
9564
+ getOrCreateTable(table: string, getOrCreateTableBody?: GetOrCreateTableBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrCreateTableResponse>>;
9257
9565
  /**
9258
9566
  * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.
9259
9567
  * @param {GetOrCreateUserBody} [getOrCreateUserBody] User data
@@ -9451,6 +9759,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9451
9759
  listFiles(botId: string, nextToken?: string, tags?: {
9452
9760
  [key: string]: string;
9453
9761
  } | undefined, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFilesResponse>>;
9762
+ /**
9763
+ * List IAKs (Integration Api Keys) of an integration
9764
+ * @param {string} integrationVersionId ID of the integration version
9765
+ * @param {*} [options] Override http request option.
9766
+ * @throws {RequiredError}
9767
+ */
9768
+ listIntegrationApiKeys(integrationVersionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListIntegrationApiKeysResponse>>;
9454
9769
  /**
9455
9770
  * List integrations
9456
9771
  * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
@@ -9612,15 +9927,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9612
9927
  /**
9613
9928
  * Search files
9614
9929
  * @param {string} botId Bot ID
9615
- * @param {string} query Query expressed in natural language to retrieve matching text passages within all files using semantical search.
9930
+ * @param {string} query Query expressed in natural language to retrieve matching text passages within all indexed files in the bot using semantical search.
9616
9931
  * @param {{ [key: string]: string; }} [tags] Filter by tags
9617
- * @param {string} [limit] The maximum number of passages to return.
9932
+ * @param {number} [contextDepth] The number of neighbor passages to prepend and append as surrounding context to the content of each returned passage. Default: 0, Maximum: 10
9933
+ * @param {number} [limit] The maximum number of passages to return.
9618
9934
  * @param {*} [options] Override http request option.
9619
9935
  * @throws {RequiredError}
9620
9936
  */
9621
9937
  searchFiles(botId: string, query: string, tags?: {
9622
9938
  [key: string]: string;
9623
- } | undefined, limit?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchFilesResponse>>;
9939
+ } | undefined, contextDepth?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchFilesResponse>>;
9624
9940
  /**
9625
9941
  * Set a preference for the account
9626
9942
  * @param {string} key Preference key
@@ -9855,6 +10171,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9855
10171
  * @throws {RequiredError}
9856
10172
  */
9857
10173
  createIntegration(requestParameters?: DefaultApiCreateIntegrationRequest, options?: AxiosRequestConfig): AxiosPromise<CreateIntegrationResponse>;
10174
+ /**
10175
+ * Create an IAK
10176
+ * @param {DefaultApiCreateIntegrationApiKeyRequest} requestParameters Request parameters.
10177
+ * @param {*} [options] Override http request option.
10178
+ * @throws {RequiredError}
10179
+ */
10180
+ createIntegrationApiKey(requestParameters?: DefaultApiCreateIntegrationApiKeyRequest, options?: AxiosRequestConfig): AxiosPromise<CreateIntegrationApiKeyResponse>;
9858
10181
  /**
9859
10182
  * Creates a new [Message](#schema_message). When creating a new [Message](#schema_message), the required tags must be provided. See the specific integration for more details.
9860
10183
  * @param {DefaultApiCreateMessageRequest} requestParameters Request parameters.
@@ -9946,6 +10269,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9946
10269
  * @throws {RequiredError}
9947
10270
  */
9948
10271
  deleteIntegration(requestParameters: DefaultApiDeleteIntegrationRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
10272
+ /**
10273
+ * Delete an IAK
10274
+ * @param {DefaultApiDeleteIntegrationApiKeyRequest} requestParameters Request parameters.
10275
+ * @param {*} [options] Override http request option.
10276
+ * @throws {RequiredError}
10277
+ */
10278
+ deleteIntegrationApiKey(requestParameters: DefaultApiDeleteIntegrationApiKeyRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
9949
10279
  /**
9950
10280
  * Permanently deletes a [Message](#schema_message). It cannot be undone.
9951
10281
  * @param {DefaultApiDeleteMessageRequest} requestParameters Request parameters.
@@ -10002,6 +10332,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10002
10332
  * @throws {RequiredError}
10003
10333
  */
10004
10334
  deleteWorkspaceMember(requestParameters: DefaultApiDeleteWorkspaceMemberRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
10335
+ /**
10336
+ * Duplicates the table schema & content
10337
+ * @param {DefaultApiDuplicateTableRequest} requestParameters Request parameters.
10338
+ * @param {*} [options] Override http request option.
10339
+ * @throws {RequiredError}
10340
+ */
10341
+ duplicateTable(requestParameters: DefaultApiDuplicateTableRequest, options?: AxiosRequestConfig): AxiosPromise<DuplicateTableResponse>;
10005
10342
  /**
10006
10343
  * Enables the search and filtering of rows within a table based on specific criteria. This operation supports complex queries for advanced data manipulation and retrieval.
10007
10344
  * @param {DefaultApiFindTableRowsRequest} requestParameters Request parameters.
@@ -10135,6 +10472,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10135
10472
  * @throws {RequiredError}
10136
10473
  */
10137
10474
  getOrCreateMessage(requestParameters?: DefaultApiGetOrCreateMessageRequest, options?: AxiosRequestConfig): AxiosPromise<GetOrCreateMessageResponse>;
10475
+ /**
10476
+ * Retrieves information about a specific table if it exists; otherwise, creates a new table based on the provided schema.
10477
+ * @param {DefaultApiGetOrCreateTableRequest} requestParameters Request parameters.
10478
+ * @param {*} [options] Override http request option.
10479
+ * @throws {RequiredError}
10480
+ */
10481
+ getOrCreateTable(requestParameters: DefaultApiGetOrCreateTableRequest, options?: AxiosRequestConfig): AxiosPromise<GetOrCreateTableResponse>;
10138
10482
  /**
10139
10483
  * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.
10140
10484
  * @param {DefaultApiGetOrCreateUserRequest} requestParameters Request parameters.
@@ -10303,6 +10647,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10303
10647
  * @throws {RequiredError}
10304
10648
  */
10305
10649
  listFiles(requestParameters: DefaultApiListFilesRequest, options?: AxiosRequestConfig): AxiosPromise<ListFilesResponse>;
10650
+ /**
10651
+ * List IAKs (Integration Api Keys) of an integration
10652
+ * @param {DefaultApiListIntegrationApiKeysRequest} requestParameters Request parameters.
10653
+ * @param {*} [options] Override http request option.
10654
+ * @throws {RequiredError}
10655
+ */
10656
+ listIntegrationApiKeys(requestParameters: DefaultApiListIntegrationApiKeysRequest, options?: AxiosRequestConfig): AxiosPromise<ListIntegrationApiKeysResponse>;
10306
10657
  /**
10307
10658
  * List integrations
10308
10659
  * @param {DefaultApiListIntegrationsRequest} requestParameters Request parameters.
@@ -10754,10 +11105,10 @@ export interface DefaultApiCreateFileRequest {
10754
11105
  readonly xAccessPolicies?: string;
10755
11106
  /**
10756
11107
  * Set to a value of \&quot;true\&quot; to index the file in vector storage. Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.
10757
- * @type {string}
11108
+ * @type {boolean}
10758
11109
  * @memberof DefaultApiCreateFile
10759
11110
  */
10760
- readonly xIndex?: string;
11111
+ readonly xIndex?: boolean;
10761
11112
  /**
10762
11113
  * File content type. If omitted, the content type will be inferred from the file extension. If a type cannot be inferred, the default is \&quot;application/octet-stream\&quot;.
10763
11114
  * @type {string}
@@ -10790,6 +11141,19 @@ export interface DefaultApiCreateIntegrationRequest {
10790
11141
  */
10791
11142
  readonly createIntegrationBody?: CreateIntegrationBody;
10792
11143
  }
11144
+ /**
11145
+ * Request parameters for createIntegrationApiKey operation in DefaultApi.
11146
+ * @export
11147
+ * @interface DefaultApiCreateIntegrationApiKeyRequest
11148
+ */
11149
+ export interface DefaultApiCreateIntegrationApiKeyRequest {
11150
+ /**
11151
+ * IAK metadata
11152
+ * @type {CreateIntegrationApiKeyBody}
11153
+ * @memberof DefaultApiCreateIntegrationApiKey
11154
+ */
11155
+ readonly createIntegrationApiKeyBody?: CreateIntegrationApiKeyBody;
11156
+ }
10793
11157
  /**
10794
11158
  * Request parameters for createMessage operation in DefaultApi.
10795
11159
  * @export
@@ -10971,6 +11335,19 @@ export interface DefaultApiDeleteIntegrationRequest {
10971
11335
  */
10972
11336
  readonly id: string;
10973
11337
  }
11338
+ /**
11339
+ * Request parameters for deleteIntegrationApiKey operation in DefaultApi.
11340
+ * @export
11341
+ * @interface DefaultApiDeleteIntegrationApiKeyRequest
11342
+ */
11343
+ export interface DefaultApiDeleteIntegrationApiKeyRequest {
11344
+ /**
11345
+ * ID of Integration Api Key
11346
+ * @type {string}
11347
+ * @memberof DefaultApiDeleteIntegrationApiKey
11348
+ */
11349
+ readonly id: string;
11350
+ }
10974
11351
  /**
10975
11352
  * Request parameters for deleteMessage operation in DefaultApi.
10976
11353
  * @export
@@ -11081,6 +11458,25 @@ export interface DefaultApiDeleteWorkspaceMemberRequest {
11081
11458
  */
11082
11459
  readonly id: string;
11083
11460
  }
11461
+ /**
11462
+ * Request parameters for duplicateTable operation in DefaultApi.
11463
+ * @export
11464
+ * @interface DefaultApiDuplicateTableRequest
11465
+ */
11466
+ export interface DefaultApiDuplicateTableRequest {
11467
+ /**
11468
+ * The table\&#39;s unique identifier
11469
+ * @type {string}
11470
+ * @memberof DefaultApiDuplicateTable
11471
+ */
11472
+ readonly sourceTableId: string;
11473
+ /**
11474
+ * Parameters for the duplication operation.
11475
+ * @type {DuplicateTableBody}
11476
+ * @memberof DefaultApiDuplicateTable
11477
+ */
11478
+ readonly duplicateTableBody?: DuplicateTableBody;
11479
+ }
11084
11480
  /**
11085
11481
  * Request parameters for findTableRows operation in DefaultApi.
11086
11482
  * @export
@@ -11374,6 +11770,25 @@ export interface DefaultApiGetOrCreateMessageRequest {
11374
11770
  */
11375
11771
  readonly getOrCreateMessageBody?: GetOrCreateMessageBody;
11376
11772
  }
11773
+ /**
11774
+ * Request parameters for getOrCreateTable operation in DefaultApi.
11775
+ * @export
11776
+ * @interface DefaultApiGetOrCreateTableRequest
11777
+ */
11778
+ export interface DefaultApiGetOrCreateTableRequest {
11779
+ /**
11780
+ * The table\&#39;s name or unique identifier for targeting specific table operations.
11781
+ * @type {string}
11782
+ * @memberof DefaultApiGetOrCreateTable
11783
+ */
11784
+ readonly table: string;
11785
+ /**
11786
+ * Schema defining the structure of the table
11787
+ * @type {GetOrCreateTableBody}
11788
+ * @memberof DefaultApiGetOrCreateTable
11789
+ */
11790
+ readonly getOrCreateTableBody?: GetOrCreateTableBody;
11791
+ }
11377
11792
  /**
11378
11793
  * Request parameters for getOrCreateUser operation in DefaultApi.
11379
11794
  * @export
@@ -11840,6 +12255,19 @@ export interface DefaultApiListFilesRequest {
11840
12255
  [key: string]: string;
11841
12256
  };
11842
12257
  }
12258
+ /**
12259
+ * Request parameters for listIntegrationApiKeys operation in DefaultApi.
12260
+ * @export
12261
+ * @interface DefaultApiListIntegrationApiKeysRequest
12262
+ */
12263
+ export interface DefaultApiListIntegrationApiKeysRequest {
12264
+ /**
12265
+ * ID of the integration version
12266
+ * @type {string}
12267
+ * @memberof DefaultApiListIntegrationApiKeys
12268
+ */
12269
+ readonly integrationVersionId: string;
12270
+ }
11843
12271
  /**
11844
12272
  * Request parameters for listIntegrations operation in DefaultApi.
11845
12273
  * @export
@@ -12232,7 +12660,7 @@ export interface DefaultApiSearchFilesRequest {
12232
12660
  */
12233
12661
  readonly botId: string;
12234
12662
  /**
12235
- * Query expressed in natural language to retrieve matching text passages within all files using semantical search.
12663
+ * Query expressed in natural language to retrieve matching text passages within all indexed files in the bot using semantical search.
12236
12664
  * @type {string}
12237
12665
  * @memberof DefaultApiSearchFiles
12238
12666
  */
@@ -12245,12 +12673,18 @@ export interface DefaultApiSearchFilesRequest {
12245
12673
  readonly tags?: {
12246
12674
  [key: string]: string;
12247
12675
  };
12676
+ /**
12677
+ * The number of neighbor passages to prepend and append as surrounding context to the content of each returned passage. Default: 0, Maximum: 10
12678
+ * @type {number}
12679
+ * @memberof DefaultApiSearchFiles
12680
+ */
12681
+ readonly contextDepth?: number;
12248
12682
  /**
12249
12683
  * The maximum number of passages to return.
12250
- * @type {string}
12684
+ * @type {number}
12251
12685
  * @memberof DefaultApiSearchFiles
12252
12686
  */
12253
- readonly limit?: string;
12687
+ readonly limit?: number;
12254
12688
  }
12255
12689
  /**
12256
12690
  * Request parameters for setAccountPreference operation in DefaultApi.
@@ -12692,6 +13126,14 @@ export declare class DefaultApi extends BaseAPI {
12692
13126
  * @memberof DefaultApi
12693
13127
  */
12694
13128
  createIntegration(requestParameters?: DefaultApiCreateIntegrationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateIntegrationResponse, any>>;
13129
+ /**
13130
+ * Create an IAK
13131
+ * @param {DefaultApiCreateIntegrationApiKeyRequest} requestParameters Request parameters.
13132
+ * @param {*} [options] Override http request option.
13133
+ * @throws {RequiredError}
13134
+ * @memberof DefaultApi
13135
+ */
13136
+ createIntegrationApiKey(requestParameters?: DefaultApiCreateIntegrationApiKeyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateIntegrationApiKeyResponse, any>>;
12695
13137
  /**
12696
13138
  * Creates a new [Message](#schema_message). When creating a new [Message](#schema_message), the required tags must be provided. See the specific integration for more details.
12697
13139
  * @param {DefaultApiCreateMessageRequest} requestParameters Request parameters.
@@ -12796,6 +13238,14 @@ export declare class DefaultApi extends BaseAPI {
12796
13238
  * @memberof DefaultApi
12797
13239
  */
12798
13240
  deleteIntegration(requestParameters: DefaultApiDeleteIntegrationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
13241
+ /**
13242
+ * Delete an IAK
13243
+ * @param {DefaultApiDeleteIntegrationApiKeyRequest} requestParameters Request parameters.
13244
+ * @param {*} [options] Override http request option.
13245
+ * @throws {RequiredError}
13246
+ * @memberof DefaultApi
13247
+ */
13248
+ deleteIntegrationApiKey(requestParameters: DefaultApiDeleteIntegrationApiKeyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
12799
13249
  /**
12800
13250
  * Permanently deletes a [Message](#schema_message). It cannot be undone.
12801
13251
  * @param {DefaultApiDeleteMessageRequest} requestParameters Request parameters.
@@ -12860,6 +13310,14 @@ export declare class DefaultApi extends BaseAPI {
12860
13310
  * @memberof DefaultApi
12861
13311
  */
12862
13312
  deleteWorkspaceMember(requestParameters: DefaultApiDeleteWorkspaceMemberRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
13313
+ /**
13314
+ * Duplicates the table schema & content
13315
+ * @param {DefaultApiDuplicateTableRequest} requestParameters Request parameters.
13316
+ * @param {*} [options] Override http request option.
13317
+ * @throws {RequiredError}
13318
+ * @memberof DefaultApi
13319
+ */
13320
+ duplicateTable(requestParameters: DefaultApiDuplicateTableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DuplicateTableResponse, any>>;
12863
13321
  /**
12864
13322
  * Enables the search and filtering of rows within a table based on specific criteria. This operation supports complex queries for advanced data manipulation and retrieval.
12865
13323
  * @param {DefaultApiFindTableRowsRequest} requestParameters Request parameters.
@@ -13012,6 +13470,14 @@ export declare class DefaultApi extends BaseAPI {
13012
13470
  * @memberof DefaultApi
13013
13471
  */
13014
13472
  getOrCreateMessage(requestParameters?: DefaultApiGetOrCreateMessageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrCreateMessageResponse, any>>;
13473
+ /**
13474
+ * Retrieves information about a specific table if it exists; otherwise, creates a new table based on the provided schema.
13475
+ * @param {DefaultApiGetOrCreateTableRequest} requestParameters Request parameters.
13476
+ * @param {*} [options] Override http request option.
13477
+ * @throws {RequiredError}
13478
+ * @memberof DefaultApi
13479
+ */
13480
+ getOrCreateTable(requestParameters: DefaultApiGetOrCreateTableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrCreateTableResponse, any>>;
13015
13481
  /**
13016
13482
  * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.
13017
13483
  * @param {DefaultApiGetOrCreateUserRequest} requestParameters Request parameters.
@@ -13204,6 +13670,14 @@ export declare class DefaultApi extends BaseAPI {
13204
13670
  * @memberof DefaultApi
13205
13671
  */
13206
13672
  listFiles(requestParameters: DefaultApiListFilesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFilesResponse, any>>;
13673
+ /**
13674
+ * List IAKs (Integration Api Keys) of an integration
13675
+ * @param {DefaultApiListIntegrationApiKeysRequest} requestParameters Request parameters.
13676
+ * @param {*} [options] Override http request option.
13677
+ * @throws {RequiredError}
13678
+ * @memberof DefaultApi
13679
+ */
13680
+ listIntegrationApiKeys(requestParameters: DefaultApiListIntegrationApiKeysRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListIntegrationApiKeysResponse, any>>;
13207
13681
  /**
13208
13682
  * List integrations
13209
13683
  * @param {DefaultApiListIntegrationsRequest} requestParameters Request parameters.