@botpress/client 0.12.4 → 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.20.0
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).
@@ -1398,37 +1398,37 @@ export interface CreateFileResponse {
1398
1398
  */
1399
1399
  export interface CreateFileResponseFile {
1400
1400
  /**
1401
- *
1401
+ * File ID
1402
1402
  * @type {string}
1403
1403
  * @memberof CreateFileResponseFile
1404
1404
  */
1405
1405
  'id': string;
1406
1406
  /**
1407
- *
1407
+ * The ID of the bot the file belongs to
1408
1408
  * @type {string}
1409
1409
  * @memberof CreateFileResponseFile
1410
1410
  */
1411
1411
  'botId': string;
1412
1412
  /**
1413
- *
1413
+ * File name
1414
1414
  * @type {string}
1415
1415
  * @memberof CreateFileResponseFile
1416
1416
  */
1417
- 'name': string;
1417
+ 'name': string | null;
1418
1418
  /**
1419
- *
1419
+ * File size in bytes
1420
1420
  * @type {number}
1421
1421
  * @memberof CreateFileResponseFile
1422
1422
  */
1423
1423
  'size': number | null;
1424
1424
  /**
1425
- *
1425
+ * MIME type of the file\'s content
1426
1426
  * @type {string}
1427
1427
  * @memberof CreateFileResponseFile
1428
1428
  */
1429
1429
  'contentType': string;
1430
1430
  /**
1431
- * 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
1432
1432
  * @type {{ [key: string]: string; }}
1433
1433
  * @memberof CreateFileResponseFile
1434
1434
  */
@@ -1436,31 +1436,31 @@ export interface CreateFileResponseFile {
1436
1436
  [key: string]: string;
1437
1437
  };
1438
1438
  /**
1439
- *
1439
+ * File creation timestamp in ISO 8601 format
1440
1440
  * @type {string}
1441
1441
  * @memberof CreateFileResponseFile
1442
1442
  */
1443
1443
  'createdAt': string;
1444
1444
  /**
1445
- *
1445
+ * File last update timestamp in ISO 8601 format
1446
1446
  * @type {string}
1447
1447
  * @memberof CreateFileResponseFile
1448
1448
  */
1449
1449
  'updatedAt': string;
1450
1450
  /**
1451
- *
1451
+ * Access policies configured for the file.
1452
1452
  * @type {Array<string>}
1453
1453
  * @memberof CreateFileResponseFile
1454
1454
  */
1455
1455
  'accessPolicies': Array<string>;
1456
1456
  /**
1457
- *
1457
+ * Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created.
1458
1458
  * @type {string}
1459
1459
  * @memberof CreateFileResponseFile
1460
1460
  */
1461
1461
  'indexingStatus'?: CreateFileResponseFileIndexingStatusEnum;
1462
1462
  /**
1463
- *
1463
+ * Last failure reason of the file indexing if the indexing status is \"FAILED\".
1464
1464
  * @type {string}
1465
1465
  * @memberof CreateFileResponseFile
1466
1466
  */
@@ -1473,6 +1473,56 @@ export declare const CreateFileResponseFileIndexingStatusEnum: {
1473
1473
  readonly Failed: "FAILED";
1474
1474
  };
1475
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
+ }
1476
1526
  /**
1477
1527
  *
1478
1528
  * @export
@@ -2366,6 +2416,50 @@ export interface DeleteTableRowsResponse {
2366
2416
  */
2367
2417
  'deletedRows': number;
2368
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
+ }
2369
2463
  /**
2370
2464
  * The event object represents an action or an occurrence.
2371
2465
  * @export
@@ -3083,6 +3177,66 @@ export interface GetOrCreateMessageResponse {
3083
3177
  */
3084
3178
  'message': Message;
3085
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
+ }
3086
3240
  /**
3087
3241
  *
3088
3242
  * @export
@@ -4808,37 +4962,37 @@ export interface ListFilesResponse {
4808
4962
  */
4809
4963
  export interface ListFilesResponseFilesInner {
4810
4964
  /**
4811
- *
4965
+ * File ID
4812
4966
  * @type {string}
4813
4967
  * @memberof ListFilesResponseFilesInner
4814
4968
  */
4815
4969
  'id': string;
4816
4970
  /**
4817
- *
4971
+ * The ID of the bot the file belongs to
4818
4972
  * @type {string}
4819
4973
  * @memberof ListFilesResponseFilesInner
4820
4974
  */
4821
4975
  'botId': string;
4822
4976
  /**
4823
- *
4977
+ * File name
4824
4978
  * @type {string}
4825
4979
  * @memberof ListFilesResponseFilesInner
4826
4980
  */
4827
- 'name': string;
4981
+ 'name': string | null;
4828
4982
  /**
4829
- *
4983
+ * File size in bytes
4830
4984
  * @type {number}
4831
4985
  * @memberof ListFilesResponseFilesInner
4832
4986
  */
4833
4987
  'size': number | null;
4834
4988
  /**
4835
- *
4989
+ * MIME type of the file\'s content
4836
4990
  * @type {string}
4837
4991
  * @memberof ListFilesResponseFilesInner
4838
4992
  */
4839
4993
  'contentType': string;
4840
4994
  /**
4841
- * 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
4842
4996
  * @type {{ [key: string]: string; }}
4843
4997
  * @memberof ListFilesResponseFilesInner
4844
4998
  */
@@ -4846,31 +5000,31 @@ export interface ListFilesResponseFilesInner {
4846
5000
  [key: string]: string;
4847
5001
  };
4848
5002
  /**
4849
- *
5003
+ * File creation timestamp in ISO 8601 format
4850
5004
  * @type {string}
4851
5005
  * @memberof ListFilesResponseFilesInner
4852
5006
  */
4853
5007
  'createdAt': string;
4854
5008
  /**
4855
- *
5009
+ * File last update timestamp in ISO 8601 format
4856
5010
  * @type {string}
4857
5011
  * @memberof ListFilesResponseFilesInner
4858
5012
  */
4859
5013
  'updatedAt': string;
4860
5014
  /**
4861
- *
5015
+ * Access policies configured for the file.
4862
5016
  * @type {Array<string>}
4863
5017
  * @memberof ListFilesResponseFilesInner
4864
5018
  */
4865
5019
  'accessPolicies': Array<string>;
4866
5020
  /**
4867
- *
5021
+ * Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created.
4868
5022
  * @type {string}
4869
5023
  * @memberof ListFilesResponseFilesInner
4870
5024
  */
4871
5025
  'indexingStatus'?: ListFilesResponseFilesInnerIndexingStatusEnum;
4872
5026
  /**
4873
- *
5027
+ * Last failure reason of the file indexing if the indexing status is \"FAILED\".
4874
5028
  * @type {string}
4875
5029
  * @memberof ListFilesResponseFilesInner
4876
5030
  */
@@ -4883,6 +5037,19 @@ export declare const ListFilesResponseFilesInnerIndexingStatusEnum: {
4883
5037
  readonly Failed: "FAILED";
4884
5038
  };
4885
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
+ }
4886
5053
  /**
4887
5054
  *
4888
5055
  * @export
@@ -5534,37 +5701,37 @@ export type MessageDirectionEnum = typeof MessageDirectionEnum[keyof typeof Mess
5534
5701
  */
5535
5702
  export interface ModelFile {
5536
5703
  /**
5537
- *
5704
+ * File ID
5538
5705
  * @type {string}
5539
5706
  * @memberof ModelFile
5540
5707
  */
5541
5708
  'id': string;
5542
5709
  /**
5543
- *
5710
+ * The ID of the bot the file belongs to
5544
5711
  * @type {string}
5545
5712
  * @memberof ModelFile
5546
5713
  */
5547
5714
  'botId': string;
5548
5715
  /**
5549
- *
5716
+ * File name
5550
5717
  * @type {string}
5551
5718
  * @memberof ModelFile
5552
5719
  */
5553
- 'name': string;
5720
+ 'name': string | null;
5554
5721
  /**
5555
- *
5722
+ * File size in bytes
5556
5723
  * @type {number}
5557
5724
  * @memberof ModelFile
5558
5725
  */
5559
5726
  'size': number | null;
5560
5727
  /**
5561
- *
5728
+ * MIME type of the file\'s content
5562
5729
  * @type {string}
5563
5730
  * @memberof ModelFile
5564
5731
  */
5565
5732
  'contentType': string;
5566
5733
  /**
5567
- * 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
5568
5735
  * @type {{ [key: string]: string; }}
5569
5736
  * @memberof ModelFile
5570
5737
  */
@@ -5572,31 +5739,31 @@ export interface ModelFile {
5572
5739
  [key: string]: string;
5573
5740
  };
5574
5741
  /**
5575
- *
5742
+ * File creation timestamp in ISO 8601 format
5576
5743
  * @type {string}
5577
5744
  * @memberof ModelFile
5578
5745
  */
5579
5746
  'createdAt': string;
5580
5747
  /**
5581
- *
5748
+ * File last update timestamp in ISO 8601 format
5582
5749
  * @type {string}
5583
5750
  * @memberof ModelFile
5584
5751
  */
5585
5752
  'updatedAt': string;
5586
5753
  /**
5587
- *
5754
+ * Access policies configured for the file.
5588
5755
  * @type {Array<string>}
5589
5756
  * @memberof ModelFile
5590
5757
  */
5591
5758
  'accessPolicies': Array<string>;
5592
5759
  /**
5593
- *
5760
+ * Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created.
5594
5761
  * @type {string}
5595
5762
  * @memberof ModelFile
5596
5763
  */
5597
5764
  'indexingStatus'?: ModelFileIndexingStatusEnum;
5598
5765
  /**
5599
- *
5766
+ * Last failure reason of the file indexing if the indexing status is \"FAILED\".
5600
5767
  * @type {string}
5601
5768
  * @memberof ModelFile
5602
5769
  */
@@ -5763,31 +5930,62 @@ export interface SearchFilesResponse {
5763
5930
  */
5764
5931
  export interface SearchFilesResponsePassagesInner {
5765
5932
  /**
5766
- *
5933
+ * The content of the matching passage in the file including surrounding context, if any.
5767
5934
  * @type {string}
5768
5935
  * @memberof SearchFilesResponsePassagesInner
5769
5936
  */
5770
- 'fileId': string;
5937
+ 'content': string;
5771
5938
  /**
5772
- *
5939
+ * The score indicating the similarity of the passage to the query. A higher score indicates higher similarity.
5773
5940
  * @type {number}
5774
5941
  * @memberof SearchFilesResponsePassagesInner
5775
5942
  */
5776
5943
  'score': number;
5777
5944
  /**
5778
5945
  *
5779
- * @type {string}
5946
+ * @type {SearchFilesResponsePassagesInnerFile}
5780
5947
  * @memberof SearchFilesResponsePassagesInner
5781
5948
  */
5782
- 'content': string;
5949
+ 'file': SearchFilesResponsePassagesInnerFile;
5950
+ }
5951
+ /**
5952
+ *
5953
+ * @export
5954
+ * @interface SearchFilesResponsePassagesInnerFile
5955
+ */
5956
+ export interface SearchFilesResponsePassagesInnerFile {
5783
5957
  /**
5784
- * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
5958
+ * File ID
5959
+ * @type {string}
5960
+ * @memberof SearchFilesResponsePassagesInnerFile
5961
+ */
5962
+ 'id': string;
5963
+ /**
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.
5785
5971
  * @type {{ [key: string]: string; }}
5786
- * @memberof SearchFilesResponsePassagesInner
5972
+ * @memberof SearchFilesResponsePassagesInnerFile
5787
5973
  */
5788
5974
  'tags': {
5789
5975
  [key: string]: string;
5790
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;
5791
5989
  }
5792
5990
  /**
5793
5991
  *
@@ -6666,7 +6864,7 @@ export interface UpdateConversationResponse {
6666
6864
  */
6667
6865
  export interface UpdateFileMetadataBody {
6668
6866
  /**
6669
- * 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.
6670
6868
  * @type {{ [key: string]: string; }}
6671
6869
  * @memberof UpdateFileMetadataBody
6672
6870
  */
@@ -6681,7 +6879,7 @@ export interface UpdateFileMetadataBody {
6681
6879
  */
6682
6880
  export interface UpdateFileMetadataResponse {
6683
6881
  /**
6684
- * 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.
6685
6883
  * @type {{ [key: string]: string; }}
6686
6884
  * @memberof UpdateFileMetadataResponse
6687
6885
  */
@@ -8081,14 +8279,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8081
8279
  * @param {string} xName File name
8082
8280
  * @param {string} [xTags] File tags as URL-encoded JSON string representing an object of key-value pairs.
8083
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.
8084
- * @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.
8085
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;.
8086
8284
  * @param {string} [contentLength] File content length
8087
8285
  * @param {CreateFileBody} [createFileBody] The file to upload.
8088
8286
  * @param {*} [options] Override http request option.
8089
8287
  * @throws {RequiredError}
8090
8288
  */
8091
- 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>;
8092
8290
  /**
8093
8291
  * Create integration
8094
8292
  * @param {CreateIntegrationBody} [createIntegrationBody] Integration
@@ -8096,6 +8294,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8096
8294
  * @throws {RequiredError}
8097
8295
  */
8098
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>;
8099
8304
  /**
8100
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.
8101
8306
  * @param {CreateMessageBody} [createMessageBody] Message data
@@ -8189,6 +8394,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8189
8394
  * @throws {RequiredError}
8190
8395
  */
8191
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>;
8192
8404
  /**
8193
8405
  * Permanently deletes a [Message](#schema_message). It cannot be undone.
8194
8406
  * @param {string} id Message id
@@ -8246,6 +8458,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8246
8458
  * @throws {RequiredError}
8247
8459
  */
8248
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>;
8249
8469
  /**
8250
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.
8251
8471
  * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
@@ -8389,6 +8609,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8389
8609
  * @throws {RequiredError}
8390
8610
  */
8391
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>;
8392
8620
  /**
8393
8621
  * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.
8394
8622
  * @param {GetOrCreateUserBody} [getOrCreateUserBody] User data
@@ -8586,6 +8814,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8586
8814
  listFiles: (botId: string, nextToken?: string, tags?: {
8587
8815
  [key: string]: string;
8588
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>;
8589
8824
  /**
8590
8825
  * List integrations
8591
8826
  * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
@@ -8747,16 +8982,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8747
8982
  /**
8748
8983
  * Search files
8749
8984
  * @param {string} botId Bot ID
8750
- * @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.
8751
8986
  * @param {{ [key: string]: string; }} [tags] Filter by tags
8752
- * @param {string} [contextDepth] The number of neighbor passages to prepend and append as surrounding context to the content of each returned passage. Default: 0, Maximum: 10
8753
- * @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.
8754
8989
  * @param {*} [options] Override http request option.
8755
8990
  * @throws {RequiredError}
8756
8991
  */
8757
8992
  searchFiles: (botId: string, query: string, tags?: {
8758
8993
  [key: string]: string;
8759
- } | undefined, contextDepth?: string, limit?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8994
+ } | undefined, contextDepth?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8760
8995
  /**
8761
8996
  * Set a preference for the account
8762
8997
  * @param {string} key Preference key
@@ -8987,14 +9222,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8987
9222
  * @param {string} xName File name
8988
9223
  * @param {string} [xTags] File tags as URL-encoded JSON string representing an object of key-value pairs.
8989
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.
8990
- * @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.
8991
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;.
8992
9227
  * @param {string} [contentLength] File content length
8993
9228
  * @param {CreateFileBody} [createFileBody] The file to upload.
8994
9229
  * @param {*} [options] Override http request option.
8995
9230
  * @throws {RequiredError}
8996
9231
  */
8997
- 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>>;
8998
9233
  /**
8999
9234
  * Create integration
9000
9235
  * @param {CreateIntegrationBody} [createIntegrationBody] Integration
@@ -9002,6 +9237,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9002
9237
  * @throws {RequiredError}
9003
9238
  */
9004
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>>;
9005
9247
  /**
9006
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.
9007
9249
  * @param {CreateMessageBody} [createMessageBody] Message data
@@ -9095,6 +9337,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9095
9337
  * @throws {RequiredError}
9096
9338
  */
9097
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>>;
9098
9347
  /**
9099
9348
  * Permanently deletes a [Message](#schema_message). It cannot be undone.
9100
9349
  * @param {string} id Message id
@@ -9152,6 +9401,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9152
9401
  * @throws {RequiredError}
9153
9402
  */
9154
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>>;
9155
9412
  /**
9156
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.
9157
9414
  * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
@@ -9297,6 +9554,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9297
9554
  * @throws {RequiredError}
9298
9555
  */
9299
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>>;
9300
9565
  /**
9301
9566
  * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.
9302
9567
  * @param {GetOrCreateUserBody} [getOrCreateUserBody] User data
@@ -9494,6 +9759,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9494
9759
  listFiles(botId: string, nextToken?: string, tags?: {
9495
9760
  [key: string]: string;
9496
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>>;
9497
9769
  /**
9498
9770
  * List integrations
9499
9771
  * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
@@ -9655,16 +9927,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9655
9927
  /**
9656
9928
  * Search files
9657
9929
  * @param {string} botId Bot ID
9658
- * @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.
9659
9931
  * @param {{ [key: string]: string; }} [tags] Filter by tags
9660
- * @param {string} [contextDepth] The number of neighbor passages to prepend and append as surrounding context to the content of each returned passage. Default: 0, Maximum: 10
9661
- * @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.
9662
9934
  * @param {*} [options] Override http request option.
9663
9935
  * @throws {RequiredError}
9664
9936
  */
9665
9937
  searchFiles(botId: string, query: string, tags?: {
9666
9938
  [key: string]: string;
9667
- } | undefined, contextDepth?: string, 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>>;
9668
9940
  /**
9669
9941
  * Set a preference for the account
9670
9942
  * @param {string} key Preference key
@@ -9899,6 +10171,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9899
10171
  * @throws {RequiredError}
9900
10172
  */
9901
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>;
9902
10181
  /**
9903
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.
9904
10183
  * @param {DefaultApiCreateMessageRequest} requestParameters Request parameters.
@@ -9990,6 +10269,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9990
10269
  * @throws {RequiredError}
9991
10270
  */
9992
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>;
9993
10279
  /**
9994
10280
  * Permanently deletes a [Message](#schema_message). It cannot be undone.
9995
10281
  * @param {DefaultApiDeleteMessageRequest} requestParameters Request parameters.
@@ -10046,6 +10332,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10046
10332
  * @throws {RequiredError}
10047
10333
  */
10048
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>;
10049
10342
  /**
10050
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.
10051
10344
  * @param {DefaultApiFindTableRowsRequest} requestParameters Request parameters.
@@ -10179,6 +10472,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10179
10472
  * @throws {RequiredError}
10180
10473
  */
10181
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>;
10182
10482
  /**
10183
10483
  * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.
10184
10484
  * @param {DefaultApiGetOrCreateUserRequest} requestParameters Request parameters.
@@ -10347,6 +10647,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10347
10647
  * @throws {RequiredError}
10348
10648
  */
10349
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>;
10350
10657
  /**
10351
10658
  * List integrations
10352
10659
  * @param {DefaultApiListIntegrationsRequest} requestParameters Request parameters.
@@ -10798,10 +11105,10 @@ export interface DefaultApiCreateFileRequest {
10798
11105
  readonly xAccessPolicies?: string;
10799
11106
  /**
10800
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.
10801
- * @type {string}
11108
+ * @type {boolean}
10802
11109
  * @memberof DefaultApiCreateFile
10803
11110
  */
10804
- readonly xIndex?: string;
11111
+ readonly xIndex?: boolean;
10805
11112
  /**
10806
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;.
10807
11114
  * @type {string}
@@ -10834,6 +11141,19 @@ export interface DefaultApiCreateIntegrationRequest {
10834
11141
  */
10835
11142
  readonly createIntegrationBody?: CreateIntegrationBody;
10836
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
+ }
10837
11157
  /**
10838
11158
  * Request parameters for createMessage operation in DefaultApi.
10839
11159
  * @export
@@ -11015,6 +11335,19 @@ export interface DefaultApiDeleteIntegrationRequest {
11015
11335
  */
11016
11336
  readonly id: string;
11017
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
+ }
11018
11351
  /**
11019
11352
  * Request parameters for deleteMessage operation in DefaultApi.
11020
11353
  * @export
@@ -11125,6 +11458,25 @@ export interface DefaultApiDeleteWorkspaceMemberRequest {
11125
11458
  */
11126
11459
  readonly id: string;
11127
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
+ }
11128
11480
  /**
11129
11481
  * Request parameters for findTableRows operation in DefaultApi.
11130
11482
  * @export
@@ -11418,6 +11770,25 @@ export interface DefaultApiGetOrCreateMessageRequest {
11418
11770
  */
11419
11771
  readonly getOrCreateMessageBody?: GetOrCreateMessageBody;
11420
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
+ }
11421
11792
  /**
11422
11793
  * Request parameters for getOrCreateUser operation in DefaultApi.
11423
11794
  * @export
@@ -11884,6 +12255,19 @@ export interface DefaultApiListFilesRequest {
11884
12255
  [key: string]: string;
11885
12256
  };
11886
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
+ }
11887
12271
  /**
11888
12272
  * Request parameters for listIntegrations operation in DefaultApi.
11889
12273
  * @export
@@ -12276,7 +12660,7 @@ export interface DefaultApiSearchFilesRequest {
12276
12660
  */
12277
12661
  readonly botId: string;
12278
12662
  /**
12279
- * 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.
12280
12664
  * @type {string}
12281
12665
  * @memberof DefaultApiSearchFiles
12282
12666
  */
@@ -12291,16 +12675,16 @@ export interface DefaultApiSearchFilesRequest {
12291
12675
  };
12292
12676
  /**
12293
12677
  * The number of neighbor passages to prepend and append as surrounding context to the content of each returned passage. Default: 0, Maximum: 10
12294
- * @type {string}
12678
+ * @type {number}
12295
12679
  * @memberof DefaultApiSearchFiles
12296
12680
  */
12297
- readonly contextDepth?: string;
12681
+ readonly contextDepth?: number;
12298
12682
  /**
12299
12683
  * The maximum number of passages to return.
12300
- * @type {string}
12684
+ * @type {number}
12301
12685
  * @memberof DefaultApiSearchFiles
12302
12686
  */
12303
- readonly limit?: string;
12687
+ readonly limit?: number;
12304
12688
  }
12305
12689
  /**
12306
12690
  * Request parameters for setAccountPreference operation in DefaultApi.
@@ -12742,6 +13126,14 @@ export declare class DefaultApi extends BaseAPI {
12742
13126
  * @memberof DefaultApi
12743
13127
  */
12744
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>>;
12745
13137
  /**
12746
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.
12747
13139
  * @param {DefaultApiCreateMessageRequest} requestParameters Request parameters.
@@ -12846,6 +13238,14 @@ export declare class DefaultApi extends BaseAPI {
12846
13238
  * @memberof DefaultApi
12847
13239
  */
12848
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>>;
12849
13249
  /**
12850
13250
  * Permanently deletes a [Message](#schema_message). It cannot be undone.
12851
13251
  * @param {DefaultApiDeleteMessageRequest} requestParameters Request parameters.
@@ -12910,6 +13310,14 @@ export declare class DefaultApi extends BaseAPI {
12910
13310
  * @memberof DefaultApi
12911
13311
  */
12912
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>>;
12913
13321
  /**
12914
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.
12915
13323
  * @param {DefaultApiFindTableRowsRequest} requestParameters Request parameters.
@@ -13062,6 +13470,14 @@ export declare class DefaultApi extends BaseAPI {
13062
13470
  * @memberof DefaultApi
13063
13471
  */
13064
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>>;
13065
13481
  /**
13066
13482
  * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.
13067
13483
  * @param {DefaultApiGetOrCreateUserRequest} requestParameters Request parameters.
@@ -13254,6 +13670,14 @@ export declare class DefaultApi extends BaseAPI {
13254
13670
  * @memberof DefaultApi
13255
13671
  */
13256
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>>;
13257
13681
  /**
13258
13682
  * List integrations
13259
13683
  * @param {DefaultApiListIntegrationsRequest} requestParameters Request parameters.