@botpress/client 0.12.4 → 0.13.1

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.22.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
@@ -1913,6 +1963,12 @@ export interface CreateTableBody {
1913
1963
  * @memberof CreateTableBody
1914
1964
  */
1915
1965
  'factor'?: number;
1966
+ /**
1967
+ * A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
1968
+ * @type {boolean}
1969
+ * @memberof CreateTableBody
1970
+ */
1971
+ 'frozen'?: boolean;
1916
1972
  /**
1917
1973
  * 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.
1918
1974
  * @type {{ [key: string]: any; }}
@@ -2366,6 +2422,50 @@ export interface DeleteTableRowsResponse {
2366
2422
  */
2367
2423
  'deletedRows': number;
2368
2424
  }
2425
+ /**
2426
+ *
2427
+ * @export
2428
+ * @interface DuplicateTableBody
2429
+ */
2430
+ export interface DuplicateTableBody {
2431
+ /**
2432
+ *
2433
+ * @type {string}
2434
+ * @memberof DuplicateTableBody
2435
+ */
2436
+ 'tableName'?: string;
2437
+ /**
2438
+ * Only duplicate the schema, not the content
2439
+ * @type {boolean}
2440
+ * @memberof DuplicateTableBody
2441
+ */
2442
+ 'schemaOnly'?: boolean;
2443
+ /**
2444
+ * Use a different factor for the table. Leave empty to use the same as the duplicated table.
2445
+ * @type {number}
2446
+ * @memberof DuplicateTableBody
2447
+ */
2448
+ 'factor'?: number;
2449
+ }
2450
+ /**
2451
+ *
2452
+ * @export
2453
+ * @interface DuplicateTableResponse
2454
+ */
2455
+ export interface DuplicateTableResponse {
2456
+ /**
2457
+ *
2458
+ * @type {Table}
2459
+ * @memberof DuplicateTableResponse
2460
+ */
2461
+ 'table': Table;
2462
+ /**
2463
+ * The total number of rows present in the table.
2464
+ * @type {number}
2465
+ * @memberof DuplicateTableResponse
2466
+ */
2467
+ 'rows': number;
2468
+ }
2369
2469
  /**
2370
2470
  * The event object represents an action or an occurrence.
2371
2471
  * @export
@@ -3083,6 +3183,72 @@ export interface GetOrCreateMessageResponse {
3083
3183
  */
3084
3184
  'message': Message;
3085
3185
  }
3186
+ /**
3187
+ *
3188
+ * @export
3189
+ * @interface GetOrCreateTableBody
3190
+ */
3191
+ export interface GetOrCreateTableBody {
3192
+ /**
3193
+ * 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.
3194
+ * @type {number}
3195
+ * @memberof GetOrCreateTableBody
3196
+ */
3197
+ 'factor'?: number;
3198
+ /**
3199
+ * A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
3200
+ * @type {boolean}
3201
+ * @memberof GetOrCreateTableBody
3202
+ */
3203
+ 'frozen'?: boolean;
3204
+ /**
3205
+ * 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.
3206
+ * @type {{ [key: string]: any; }}
3207
+ * @memberof GetOrCreateTableBody
3208
+ */
3209
+ 'schema': {
3210
+ [key: string]: any;
3211
+ };
3212
+ /**
3213
+ * Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs.
3214
+ * @type {{ [key: string]: string; }}
3215
+ * @memberof GetOrCreateTableBody
3216
+ */
3217
+ 'tags'?: {
3218
+ [key: string]: string;
3219
+ };
3220
+ }
3221
+ /**
3222
+ *
3223
+ * @export
3224
+ * @interface GetOrCreateTableResponse
3225
+ */
3226
+ export interface GetOrCreateTableResponse {
3227
+ /**
3228
+ *
3229
+ * @type {Table}
3230
+ * @memberof GetOrCreateTableResponse
3231
+ */
3232
+ 'table': Table;
3233
+ /**
3234
+ * Flag indicating if the table was newly created.
3235
+ * @type {boolean}
3236
+ * @memberof GetOrCreateTableResponse
3237
+ */
3238
+ 'created': boolean;
3239
+ /**
3240
+ * The total number of rows present in the table.
3241
+ * @type {number}
3242
+ * @memberof GetOrCreateTableResponse
3243
+ */
3244
+ 'rows': number;
3245
+ /**
3246
+ * The number of rows pending indexing, relevant for search functionalities.
3247
+ * @type {number}
3248
+ * @memberof GetOrCreateTableResponse
3249
+ */
3250
+ 'indexingCount': number;
3251
+ }
3086
3252
  /**
3087
3253
  *
3088
3254
  * @export
@@ -4808,37 +4974,37 @@ export interface ListFilesResponse {
4808
4974
  */
4809
4975
  export interface ListFilesResponseFilesInner {
4810
4976
  /**
4811
- *
4977
+ * File ID
4812
4978
  * @type {string}
4813
4979
  * @memberof ListFilesResponseFilesInner
4814
4980
  */
4815
4981
  'id': string;
4816
4982
  /**
4817
- *
4983
+ * The ID of the bot the file belongs to
4818
4984
  * @type {string}
4819
4985
  * @memberof ListFilesResponseFilesInner
4820
4986
  */
4821
4987
  'botId': string;
4822
4988
  /**
4823
- *
4989
+ * File name
4824
4990
  * @type {string}
4825
4991
  * @memberof ListFilesResponseFilesInner
4826
4992
  */
4827
- 'name': string;
4993
+ 'name': string | null;
4828
4994
  /**
4829
- *
4995
+ * File size in bytes
4830
4996
  * @type {number}
4831
4997
  * @memberof ListFilesResponseFilesInner
4832
4998
  */
4833
4999
  'size': number | null;
4834
5000
  /**
4835
- *
5001
+ * MIME type of the file\'s content
4836
5002
  * @type {string}
4837
5003
  * @memberof ListFilesResponseFilesInner
4838
5004
  */
4839
5005
  'contentType': string;
4840
5006
  /**
4841
- * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
5007
+ * The tags of the file as an object of key/value pairs
4842
5008
  * @type {{ [key: string]: string; }}
4843
5009
  * @memberof ListFilesResponseFilesInner
4844
5010
  */
@@ -4846,31 +5012,31 @@ export interface ListFilesResponseFilesInner {
4846
5012
  [key: string]: string;
4847
5013
  };
4848
5014
  /**
4849
- *
5015
+ * File creation timestamp in ISO 8601 format
4850
5016
  * @type {string}
4851
5017
  * @memberof ListFilesResponseFilesInner
4852
5018
  */
4853
5019
  'createdAt': string;
4854
5020
  /**
4855
- *
5021
+ * File last update timestamp in ISO 8601 format
4856
5022
  * @type {string}
4857
5023
  * @memberof ListFilesResponseFilesInner
4858
5024
  */
4859
5025
  'updatedAt': string;
4860
5026
  /**
4861
- *
5027
+ * Access policies configured for the file.
4862
5028
  * @type {Array<string>}
4863
5029
  * @memberof ListFilesResponseFilesInner
4864
5030
  */
4865
5031
  'accessPolicies': Array<string>;
4866
5032
  /**
4867
- *
5033
+ * Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created.
4868
5034
  * @type {string}
4869
5035
  * @memberof ListFilesResponseFilesInner
4870
5036
  */
4871
5037
  'indexingStatus'?: ListFilesResponseFilesInnerIndexingStatusEnum;
4872
5038
  /**
4873
- *
5039
+ * Last failure reason of the file indexing if the indexing status is \"FAILED\".
4874
5040
  * @type {string}
4875
5041
  * @memberof ListFilesResponseFilesInner
4876
5042
  */
@@ -4883,6 +5049,19 @@ export declare const ListFilesResponseFilesInnerIndexingStatusEnum: {
4883
5049
  readonly Failed: "FAILED";
4884
5050
  };
4885
5051
  export type ListFilesResponseFilesInnerIndexingStatusEnum = typeof ListFilesResponseFilesInnerIndexingStatusEnum[keyof typeof ListFilesResponseFilesInnerIndexingStatusEnum];
5052
+ /**
5053
+ *
5054
+ * @export
5055
+ * @interface ListIntegrationApiKeysResponse
5056
+ */
5057
+ export interface ListIntegrationApiKeysResponse {
5058
+ /**
5059
+ *
5060
+ * @type {Array<ListPersonalAccessTokensResponsePatsInner>}
5061
+ * @memberof ListIntegrationApiKeysResponse
5062
+ */
5063
+ 'iaks': Array<ListPersonalAccessTokensResponsePatsInner>;
5064
+ }
4886
5065
  /**
4887
5066
  *
4888
5067
  * @export
@@ -5534,37 +5713,37 @@ export type MessageDirectionEnum = typeof MessageDirectionEnum[keyof typeof Mess
5534
5713
  */
5535
5714
  export interface ModelFile {
5536
5715
  /**
5537
- *
5716
+ * File ID
5538
5717
  * @type {string}
5539
5718
  * @memberof ModelFile
5540
5719
  */
5541
5720
  'id': string;
5542
5721
  /**
5543
- *
5722
+ * The ID of the bot the file belongs to
5544
5723
  * @type {string}
5545
5724
  * @memberof ModelFile
5546
5725
  */
5547
5726
  'botId': string;
5548
5727
  /**
5549
- *
5728
+ * File name
5550
5729
  * @type {string}
5551
5730
  * @memberof ModelFile
5552
5731
  */
5553
- 'name': string;
5732
+ 'name': string | null;
5554
5733
  /**
5555
- *
5734
+ * File size in bytes
5556
5735
  * @type {number}
5557
5736
  * @memberof ModelFile
5558
5737
  */
5559
5738
  'size': number | null;
5560
5739
  /**
5561
- *
5740
+ * MIME type of the file\'s content
5562
5741
  * @type {string}
5563
5742
  * @memberof ModelFile
5564
5743
  */
5565
5744
  'contentType': string;
5566
5745
  /**
5567
- * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
5746
+ * The tags of the file as an object of key/value pairs
5568
5747
  * @type {{ [key: string]: string; }}
5569
5748
  * @memberof ModelFile
5570
5749
  */
@@ -5572,31 +5751,31 @@ export interface ModelFile {
5572
5751
  [key: string]: string;
5573
5752
  };
5574
5753
  /**
5575
- *
5754
+ * File creation timestamp in ISO 8601 format
5576
5755
  * @type {string}
5577
5756
  * @memberof ModelFile
5578
5757
  */
5579
5758
  'createdAt': string;
5580
5759
  /**
5581
- *
5760
+ * File last update timestamp in ISO 8601 format
5582
5761
  * @type {string}
5583
5762
  * @memberof ModelFile
5584
5763
  */
5585
5764
  'updatedAt': string;
5586
5765
  /**
5587
- *
5766
+ * Access policies configured for the file.
5588
5767
  * @type {Array<string>}
5589
5768
  * @memberof ModelFile
5590
5769
  */
5591
5770
  'accessPolicies': Array<string>;
5592
5771
  /**
5593
- *
5772
+ * Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created.
5594
5773
  * @type {string}
5595
5774
  * @memberof ModelFile
5596
5775
  */
5597
5776
  'indexingStatus'?: ModelFileIndexingStatusEnum;
5598
5777
  /**
5599
- *
5778
+ * Last failure reason of the file indexing if the indexing status is \"FAILED\".
5600
5779
  * @type {string}
5601
5780
  * @memberof ModelFile
5602
5781
  */
@@ -5763,31 +5942,62 @@ export interface SearchFilesResponse {
5763
5942
  */
5764
5943
  export interface SearchFilesResponsePassagesInner {
5765
5944
  /**
5766
- *
5945
+ * The content of the matching passage in the file including surrounding context, if any.
5767
5946
  * @type {string}
5768
5947
  * @memberof SearchFilesResponsePassagesInner
5769
5948
  */
5770
- 'fileId': string;
5949
+ 'content': string;
5771
5950
  /**
5772
- *
5951
+ * The score indicating the similarity of the passage to the query. A higher score indicates higher similarity.
5773
5952
  * @type {number}
5774
5953
  * @memberof SearchFilesResponsePassagesInner
5775
5954
  */
5776
5955
  'score': number;
5777
5956
  /**
5778
5957
  *
5779
- * @type {string}
5958
+ * @type {SearchFilesResponsePassagesInnerFile}
5780
5959
  * @memberof SearchFilesResponsePassagesInner
5781
5960
  */
5782
- 'content': string;
5961
+ 'file': SearchFilesResponsePassagesInnerFile;
5962
+ }
5963
+ /**
5964
+ *
5965
+ * @export
5966
+ * @interface SearchFilesResponsePassagesInnerFile
5967
+ */
5968
+ export interface SearchFilesResponsePassagesInnerFile {
5969
+ /**
5970
+ * File ID
5971
+ * @type {string}
5972
+ * @memberof SearchFilesResponsePassagesInnerFile
5973
+ */
5974
+ 'id': string;
5783
5975
  /**
5784
- * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
5976
+ * File name
5977
+ * @type {string}
5978
+ * @memberof SearchFilesResponsePassagesInnerFile
5979
+ */
5980
+ 'name': string | null;
5981
+ /**
5982
+ * The tags of the file as an object of key/value pairs.
5785
5983
  * @type {{ [key: string]: string; }}
5786
- * @memberof SearchFilesResponsePassagesInner
5984
+ * @memberof SearchFilesResponsePassagesInnerFile
5787
5985
  */
5788
5986
  'tags': {
5789
5987
  [key: string]: string;
5790
5988
  };
5989
+ /**
5990
+ * File creation timestamp in ISO 8601 format
5991
+ * @type {string}
5992
+ * @memberof SearchFilesResponsePassagesInnerFile
5993
+ */
5994
+ 'createdAt': string;
5995
+ /**
5996
+ * File last update timestamp in ISO 8601 format
5997
+ * @type {string}
5998
+ * @memberof SearchFilesResponsePassagesInnerFile
5999
+ */
6000
+ 'updatedAt': string;
5791
6001
  }
5792
6002
  /**
5793
6003
  *
@@ -5997,6 +6207,12 @@ export interface Table {
5997
6207
  * @memberof Table
5998
6208
  */
5999
6209
  'factor'?: number;
6210
+ /**
6211
+ * A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
6212
+ * @type {boolean}
6213
+ * @memberof Table
6214
+ */
6215
+ 'frozen'?: boolean;
6000
6216
  /**
6001
6217
  *
6002
6218
  * @type {TableSchema}
@@ -6666,7 +6882,7 @@ export interface UpdateConversationResponse {
6666
6882
  */
6667
6883
  export interface UpdateFileMetadataBody {
6668
6884
  /**
6669
- * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
6885
+ * 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
6886
  * @type {{ [key: string]: string; }}
6671
6887
  * @memberof UpdateFileMetadataBody
6672
6888
  */
@@ -6681,7 +6897,7 @@ export interface UpdateFileMetadataBody {
6681
6897
  */
6682
6898
  export interface UpdateFileMetadataResponse {
6683
6899
  /**
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.
6900
+ * The updated tags of the file.
6685
6901
  * @type {{ [key: string]: string; }}
6686
6902
  * @memberof UpdateFileMetadataResponse
6687
6903
  */
@@ -7066,6 +7282,12 @@ export interface UpdateTableBody {
7066
7282
  * @memberof UpdateTableBody
7067
7283
  */
7068
7284
  'name'?: string;
7285
+ /**
7286
+ * A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
7287
+ * @type {boolean}
7288
+ * @memberof UpdateTableBody
7289
+ */
7290
+ 'frozen'?: boolean;
7069
7291
  /**
7070
7292
  * 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.
7071
7293
  * @type {{ [key: string]: any; }}
@@ -8078,17 +8300,17 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8078
8300
  createEvent: (createEventBody?: CreateEventBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8079
8301
  /**
8080
8302
  * Creates a file.
8081
- * @param {string} xName File name
8303
+ * @param {string} [xName] File name
8082
8304
  * @param {string} [xTags] File tags as URL-encoded JSON string representing an object of key-value pairs.
8083
8305
  * @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.
8306
+ * @param {boolean} [xIndex] Set to a value of \&quot;true\&quot; to index the file in vector storage (default: false). 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
8307
  * @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
8308
  * @param {string} [contentLength] File content length
8087
8309
  * @param {CreateFileBody} [createFileBody] The file to upload.
8088
8310
  * @param {*} [options] Override http request option.
8089
8311
  * @throws {RequiredError}
8090
8312
  */
8091
- createFile: (xName: string, xTags?: string, xAccessPolicies?: string, xIndex?: string, contentType?: string, contentLength?: string, createFileBody?: CreateFileBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8313
+ createFile: (xName?: string, xTags?: string, xAccessPolicies?: string, xIndex?: boolean, contentType?: string, contentLength?: string, createFileBody?: CreateFileBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8092
8314
  /**
8093
8315
  * Create integration
8094
8316
  * @param {CreateIntegrationBody} [createIntegrationBody] Integration
@@ -8096,6 +8318,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8096
8318
  * @throws {RequiredError}
8097
8319
  */
8098
8320
  createIntegration: (createIntegrationBody?: CreateIntegrationBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8321
+ /**
8322
+ * Create an IAK
8323
+ * @param {CreateIntegrationApiKeyBody} [createIntegrationApiKeyBody] IAK metadata
8324
+ * @param {*} [options] Override http request option.
8325
+ * @throws {RequiredError}
8326
+ */
8327
+ createIntegrationApiKey: (createIntegrationApiKeyBody?: CreateIntegrationApiKeyBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8099
8328
  /**
8100
8329
  * 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
8330
  * @param {CreateMessageBody} [createMessageBody] Message data
@@ -8189,6 +8418,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8189
8418
  * @throws {RequiredError}
8190
8419
  */
8191
8420
  deleteIntegration: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8421
+ /**
8422
+ * Delete an IAK
8423
+ * @param {string} id ID of Integration Api Key
8424
+ * @param {*} [options] Override http request option.
8425
+ * @throws {RequiredError}
8426
+ */
8427
+ deleteIntegrationApiKey: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8192
8428
  /**
8193
8429
  * Permanently deletes a [Message](#schema_message). It cannot be undone.
8194
8430
  * @param {string} id Message id
@@ -8246,6 +8482,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8246
8482
  * @throws {RequiredError}
8247
8483
  */
8248
8484
  deleteWorkspaceMember: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8485
+ /**
8486
+ * Duplicates the table schema & content
8487
+ * @param {string} sourceTableId The table\&#39;s unique identifier
8488
+ * @param {DuplicateTableBody} [duplicateTableBody] Parameters for the duplication operation.
8489
+ * @param {*} [options] Override http request option.
8490
+ * @throws {RequiredError}
8491
+ */
8492
+ duplicateTable: (sourceTableId: string, duplicateTableBody?: DuplicateTableBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8249
8493
  /**
8250
8494
  * 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
8495
  * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
@@ -8389,6 +8633,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8389
8633
  * @throws {RequiredError}
8390
8634
  */
8391
8635
  getOrCreateMessage: (getOrCreateMessageBody?: GetOrCreateMessageBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8636
+ /**
8637
+ * Retrieves information about a specific table if it exists; otherwise, creates a new table based on the provided schema.
8638
+ * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
8639
+ * @param {GetOrCreateTableBody} [getOrCreateTableBody] Schema defining the structure of the table
8640
+ * @param {*} [options] Override http request option.
8641
+ * @throws {RequiredError}
8642
+ */
8643
+ getOrCreateTable: (table: string, getOrCreateTableBody?: GetOrCreateTableBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8392
8644
  /**
8393
8645
  * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.
8394
8646
  * @param {GetOrCreateUserBody} [getOrCreateUserBody] User data
@@ -8586,6 +8838,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8586
8838
  listFiles: (botId: string, nextToken?: string, tags?: {
8587
8839
  [key: string]: string;
8588
8840
  } | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8841
+ /**
8842
+ * List IAKs (Integration Api Keys) of an integration
8843
+ * @param {string} integrationVersionId ID of the integration version
8844
+ * @param {*} [options] Override http request option.
8845
+ * @throws {RequiredError}
8846
+ */
8847
+ listIntegrationApiKeys: (integrationVersionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8589
8848
  /**
8590
8849
  * List integrations
8591
8850
  * @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 +9006,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8747
9006
  /**
8748
9007
  * Search files
8749
9008
  * @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.
9009
+ * @param {string} query Query expressed in natural language to retrieve matching text passages within all indexed files in the bot using semantical search.
8751
9010
  * @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.
9011
+ * @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
9012
+ * @param {number} [limit] The maximum number of passages to return.
8754
9013
  * @param {*} [options] Override http request option.
8755
9014
  * @throws {RequiredError}
8756
9015
  */
8757
9016
  searchFiles: (botId: string, query: string, tags?: {
8758
9017
  [key: string]: string;
8759
- } | undefined, contextDepth?: string, limit?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9018
+ } | undefined, contextDepth?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8760
9019
  /**
8761
9020
  * Set a preference for the account
8762
9021
  * @param {string} key Preference key
@@ -8984,17 +9243,17 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8984
9243
  createEvent(createEventBody?: CreateEventBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventResponse>>;
8985
9244
  /**
8986
9245
  * Creates a file.
8987
- * @param {string} xName File name
9246
+ * @param {string} [xName] File name
8988
9247
  * @param {string} [xTags] File tags as URL-encoded JSON string representing an object of key-value pairs.
8989
9248
  * @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.
9249
+ * @param {boolean} [xIndex] Set to a value of \&quot;true\&quot; to index the file in vector storage (default: false). 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
9250
  * @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
9251
  * @param {string} [contentLength] File content length
8993
9252
  * @param {CreateFileBody} [createFileBody] The file to upload.
8994
9253
  * @param {*} [options] Override http request option.
8995
9254
  * @throws {RequiredError}
8996
9255
  */
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>>;
9256
+ 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
9257
  /**
8999
9258
  * Create integration
9000
9259
  * @param {CreateIntegrationBody} [createIntegrationBody] Integration
@@ -9002,6 +9261,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9002
9261
  * @throws {RequiredError}
9003
9262
  */
9004
9263
  createIntegration(createIntegrationBody?: CreateIntegrationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateIntegrationResponse>>;
9264
+ /**
9265
+ * Create an IAK
9266
+ * @param {CreateIntegrationApiKeyBody} [createIntegrationApiKeyBody] IAK metadata
9267
+ * @param {*} [options] Override http request option.
9268
+ * @throws {RequiredError}
9269
+ */
9270
+ createIntegrationApiKey(createIntegrationApiKeyBody?: CreateIntegrationApiKeyBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateIntegrationApiKeyResponse>>;
9005
9271
  /**
9006
9272
  * 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
9273
  * @param {CreateMessageBody} [createMessageBody] Message data
@@ -9095,6 +9361,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9095
9361
  * @throws {RequiredError}
9096
9362
  */
9097
9363
  deleteIntegration(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
9364
+ /**
9365
+ * Delete an IAK
9366
+ * @param {string} id ID of Integration Api Key
9367
+ * @param {*} [options] Override http request option.
9368
+ * @throws {RequiredError}
9369
+ */
9370
+ deleteIntegrationApiKey(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
9098
9371
  /**
9099
9372
  * Permanently deletes a [Message](#schema_message). It cannot be undone.
9100
9373
  * @param {string} id Message id
@@ -9152,6 +9425,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9152
9425
  * @throws {RequiredError}
9153
9426
  */
9154
9427
  deleteWorkspaceMember(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
9428
+ /**
9429
+ * Duplicates the table schema & content
9430
+ * @param {string} sourceTableId The table\&#39;s unique identifier
9431
+ * @param {DuplicateTableBody} [duplicateTableBody] Parameters for the duplication operation.
9432
+ * @param {*} [options] Override http request option.
9433
+ * @throws {RequiredError}
9434
+ */
9435
+ duplicateTable(sourceTableId: string, duplicateTableBody?: DuplicateTableBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateTableResponse>>;
9155
9436
  /**
9156
9437
  * 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
9438
  * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
@@ -9297,6 +9578,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9297
9578
  * @throws {RequiredError}
9298
9579
  */
9299
9580
  getOrCreateMessage(getOrCreateMessageBody?: GetOrCreateMessageBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrCreateMessageResponse>>;
9581
+ /**
9582
+ * Retrieves information about a specific table if it exists; otherwise, creates a new table based on the provided schema.
9583
+ * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
9584
+ * @param {GetOrCreateTableBody} [getOrCreateTableBody] Schema defining the structure of the table
9585
+ * @param {*} [options] Override http request option.
9586
+ * @throws {RequiredError}
9587
+ */
9588
+ getOrCreateTable(table: string, getOrCreateTableBody?: GetOrCreateTableBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrCreateTableResponse>>;
9300
9589
  /**
9301
9590
  * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.
9302
9591
  * @param {GetOrCreateUserBody} [getOrCreateUserBody] User data
@@ -9494,6 +9783,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9494
9783
  listFiles(botId: string, nextToken?: string, tags?: {
9495
9784
  [key: string]: string;
9496
9785
  } | undefined, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFilesResponse>>;
9786
+ /**
9787
+ * List IAKs (Integration Api Keys) of an integration
9788
+ * @param {string} integrationVersionId ID of the integration version
9789
+ * @param {*} [options] Override http request option.
9790
+ * @throws {RequiredError}
9791
+ */
9792
+ listIntegrationApiKeys(integrationVersionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListIntegrationApiKeysResponse>>;
9497
9793
  /**
9498
9794
  * List integrations
9499
9795
  * @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 +9951,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9655
9951
  /**
9656
9952
  * Search files
9657
9953
  * @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.
9954
+ * @param {string} query Query expressed in natural language to retrieve matching text passages within all indexed files in the bot using semantical search.
9659
9955
  * @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.
9956
+ * @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
9957
+ * @param {number} [limit] The maximum number of passages to return.
9662
9958
  * @param {*} [options] Override http request option.
9663
9959
  * @throws {RequiredError}
9664
9960
  */
9665
9961
  searchFiles(botId: string, query: string, tags?: {
9666
9962
  [key: string]: string;
9667
- } | undefined, contextDepth?: string, limit?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchFilesResponse>>;
9963
+ } | undefined, contextDepth?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchFilesResponse>>;
9668
9964
  /**
9669
9965
  * Set a preference for the account
9670
9966
  * @param {string} key Preference key
@@ -9891,7 +10187,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9891
10187
  * @param {*} [options] Override http request option.
9892
10188
  * @throws {RequiredError}
9893
10189
  */
9894
- createFile(requestParameters: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): AxiosPromise<CreateFileResponse>;
10190
+ createFile(requestParameters?: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): AxiosPromise<CreateFileResponse>;
9895
10191
  /**
9896
10192
  * Create integration
9897
10193
  * @param {DefaultApiCreateIntegrationRequest} requestParameters Request parameters.
@@ -9899,6 +10195,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9899
10195
  * @throws {RequiredError}
9900
10196
  */
9901
10197
  createIntegration(requestParameters?: DefaultApiCreateIntegrationRequest, options?: AxiosRequestConfig): AxiosPromise<CreateIntegrationResponse>;
10198
+ /**
10199
+ * Create an IAK
10200
+ * @param {DefaultApiCreateIntegrationApiKeyRequest} requestParameters Request parameters.
10201
+ * @param {*} [options] Override http request option.
10202
+ * @throws {RequiredError}
10203
+ */
10204
+ createIntegrationApiKey(requestParameters?: DefaultApiCreateIntegrationApiKeyRequest, options?: AxiosRequestConfig): AxiosPromise<CreateIntegrationApiKeyResponse>;
9902
10205
  /**
9903
10206
  * 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
10207
  * @param {DefaultApiCreateMessageRequest} requestParameters Request parameters.
@@ -9990,6 +10293,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9990
10293
  * @throws {RequiredError}
9991
10294
  */
9992
10295
  deleteIntegration(requestParameters: DefaultApiDeleteIntegrationRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
10296
+ /**
10297
+ * Delete an IAK
10298
+ * @param {DefaultApiDeleteIntegrationApiKeyRequest} requestParameters Request parameters.
10299
+ * @param {*} [options] Override http request option.
10300
+ * @throws {RequiredError}
10301
+ */
10302
+ deleteIntegrationApiKey(requestParameters: DefaultApiDeleteIntegrationApiKeyRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
9993
10303
  /**
9994
10304
  * Permanently deletes a [Message](#schema_message). It cannot be undone.
9995
10305
  * @param {DefaultApiDeleteMessageRequest} requestParameters Request parameters.
@@ -10046,6 +10356,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10046
10356
  * @throws {RequiredError}
10047
10357
  */
10048
10358
  deleteWorkspaceMember(requestParameters: DefaultApiDeleteWorkspaceMemberRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
10359
+ /**
10360
+ * Duplicates the table schema & content
10361
+ * @param {DefaultApiDuplicateTableRequest} requestParameters Request parameters.
10362
+ * @param {*} [options] Override http request option.
10363
+ * @throws {RequiredError}
10364
+ */
10365
+ duplicateTable(requestParameters: DefaultApiDuplicateTableRequest, options?: AxiosRequestConfig): AxiosPromise<DuplicateTableResponse>;
10049
10366
  /**
10050
10367
  * 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
10368
  * @param {DefaultApiFindTableRowsRequest} requestParameters Request parameters.
@@ -10179,6 +10496,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10179
10496
  * @throws {RequiredError}
10180
10497
  */
10181
10498
  getOrCreateMessage(requestParameters?: DefaultApiGetOrCreateMessageRequest, options?: AxiosRequestConfig): AxiosPromise<GetOrCreateMessageResponse>;
10499
+ /**
10500
+ * Retrieves information about a specific table if it exists; otherwise, creates a new table based on the provided schema.
10501
+ * @param {DefaultApiGetOrCreateTableRequest} requestParameters Request parameters.
10502
+ * @param {*} [options] Override http request option.
10503
+ * @throws {RequiredError}
10504
+ */
10505
+ getOrCreateTable(requestParameters: DefaultApiGetOrCreateTableRequest, options?: AxiosRequestConfig): AxiosPromise<GetOrCreateTableResponse>;
10182
10506
  /**
10183
10507
  * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.
10184
10508
  * @param {DefaultApiGetOrCreateUserRequest} requestParameters Request parameters.
@@ -10347,6 +10671,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10347
10671
  * @throws {RequiredError}
10348
10672
  */
10349
10673
  listFiles(requestParameters: DefaultApiListFilesRequest, options?: AxiosRequestConfig): AxiosPromise<ListFilesResponse>;
10674
+ /**
10675
+ * List IAKs (Integration Api Keys) of an integration
10676
+ * @param {DefaultApiListIntegrationApiKeysRequest} requestParameters Request parameters.
10677
+ * @param {*} [options] Override http request option.
10678
+ * @throws {RequiredError}
10679
+ */
10680
+ listIntegrationApiKeys(requestParameters: DefaultApiListIntegrationApiKeysRequest, options?: AxiosRequestConfig): AxiosPromise<ListIntegrationApiKeysResponse>;
10350
10681
  /**
10351
10682
  * List integrations
10352
10683
  * @param {DefaultApiListIntegrationsRequest} requestParameters Request parameters.
@@ -10783,7 +11114,7 @@ export interface DefaultApiCreateFileRequest {
10783
11114
  * @type {string}
10784
11115
  * @memberof DefaultApiCreateFile
10785
11116
  */
10786
- readonly xName: string;
11117
+ readonly xName?: string;
10787
11118
  /**
10788
11119
  * File tags as URL-encoded JSON string representing an object of key-value pairs.
10789
11120
  * @type {string}
@@ -10797,11 +11128,11 @@ export interface DefaultApiCreateFileRequest {
10797
11128
  */
10798
11129
  readonly xAccessPolicies?: string;
10799
11130
  /**
10800
- * 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}
11131
+ * Set to a value of \&quot;true\&quot; to index the file in vector storage (default: false). 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.
11132
+ * @type {boolean}
10802
11133
  * @memberof DefaultApiCreateFile
10803
11134
  */
10804
- readonly xIndex?: string;
11135
+ readonly xIndex?: boolean;
10805
11136
  /**
10806
11137
  * 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
11138
  * @type {string}
@@ -10834,6 +11165,19 @@ export interface DefaultApiCreateIntegrationRequest {
10834
11165
  */
10835
11166
  readonly createIntegrationBody?: CreateIntegrationBody;
10836
11167
  }
11168
+ /**
11169
+ * Request parameters for createIntegrationApiKey operation in DefaultApi.
11170
+ * @export
11171
+ * @interface DefaultApiCreateIntegrationApiKeyRequest
11172
+ */
11173
+ export interface DefaultApiCreateIntegrationApiKeyRequest {
11174
+ /**
11175
+ * IAK metadata
11176
+ * @type {CreateIntegrationApiKeyBody}
11177
+ * @memberof DefaultApiCreateIntegrationApiKey
11178
+ */
11179
+ readonly createIntegrationApiKeyBody?: CreateIntegrationApiKeyBody;
11180
+ }
10837
11181
  /**
10838
11182
  * Request parameters for createMessage operation in DefaultApi.
10839
11183
  * @export
@@ -11015,6 +11359,19 @@ export interface DefaultApiDeleteIntegrationRequest {
11015
11359
  */
11016
11360
  readonly id: string;
11017
11361
  }
11362
+ /**
11363
+ * Request parameters for deleteIntegrationApiKey operation in DefaultApi.
11364
+ * @export
11365
+ * @interface DefaultApiDeleteIntegrationApiKeyRequest
11366
+ */
11367
+ export interface DefaultApiDeleteIntegrationApiKeyRequest {
11368
+ /**
11369
+ * ID of Integration Api Key
11370
+ * @type {string}
11371
+ * @memberof DefaultApiDeleteIntegrationApiKey
11372
+ */
11373
+ readonly id: string;
11374
+ }
11018
11375
  /**
11019
11376
  * Request parameters for deleteMessage operation in DefaultApi.
11020
11377
  * @export
@@ -11125,6 +11482,25 @@ export interface DefaultApiDeleteWorkspaceMemberRequest {
11125
11482
  */
11126
11483
  readonly id: string;
11127
11484
  }
11485
+ /**
11486
+ * Request parameters for duplicateTable operation in DefaultApi.
11487
+ * @export
11488
+ * @interface DefaultApiDuplicateTableRequest
11489
+ */
11490
+ export interface DefaultApiDuplicateTableRequest {
11491
+ /**
11492
+ * The table\&#39;s unique identifier
11493
+ * @type {string}
11494
+ * @memberof DefaultApiDuplicateTable
11495
+ */
11496
+ readonly sourceTableId: string;
11497
+ /**
11498
+ * Parameters for the duplication operation.
11499
+ * @type {DuplicateTableBody}
11500
+ * @memberof DefaultApiDuplicateTable
11501
+ */
11502
+ readonly duplicateTableBody?: DuplicateTableBody;
11503
+ }
11128
11504
  /**
11129
11505
  * Request parameters for findTableRows operation in DefaultApi.
11130
11506
  * @export
@@ -11418,6 +11794,25 @@ export interface DefaultApiGetOrCreateMessageRequest {
11418
11794
  */
11419
11795
  readonly getOrCreateMessageBody?: GetOrCreateMessageBody;
11420
11796
  }
11797
+ /**
11798
+ * Request parameters for getOrCreateTable operation in DefaultApi.
11799
+ * @export
11800
+ * @interface DefaultApiGetOrCreateTableRequest
11801
+ */
11802
+ export interface DefaultApiGetOrCreateTableRequest {
11803
+ /**
11804
+ * The table\&#39;s name or unique identifier for targeting specific table operations.
11805
+ * @type {string}
11806
+ * @memberof DefaultApiGetOrCreateTable
11807
+ */
11808
+ readonly table: string;
11809
+ /**
11810
+ * Schema defining the structure of the table
11811
+ * @type {GetOrCreateTableBody}
11812
+ * @memberof DefaultApiGetOrCreateTable
11813
+ */
11814
+ readonly getOrCreateTableBody?: GetOrCreateTableBody;
11815
+ }
11421
11816
  /**
11422
11817
  * Request parameters for getOrCreateUser operation in DefaultApi.
11423
11818
  * @export
@@ -11884,6 +12279,19 @@ export interface DefaultApiListFilesRequest {
11884
12279
  [key: string]: string;
11885
12280
  };
11886
12281
  }
12282
+ /**
12283
+ * Request parameters for listIntegrationApiKeys operation in DefaultApi.
12284
+ * @export
12285
+ * @interface DefaultApiListIntegrationApiKeysRequest
12286
+ */
12287
+ export interface DefaultApiListIntegrationApiKeysRequest {
12288
+ /**
12289
+ * ID of the integration version
12290
+ * @type {string}
12291
+ * @memberof DefaultApiListIntegrationApiKeys
12292
+ */
12293
+ readonly integrationVersionId: string;
12294
+ }
11887
12295
  /**
11888
12296
  * Request parameters for listIntegrations operation in DefaultApi.
11889
12297
  * @export
@@ -12276,7 +12684,7 @@ export interface DefaultApiSearchFilesRequest {
12276
12684
  */
12277
12685
  readonly botId: string;
12278
12686
  /**
12279
- * Query expressed in natural language to retrieve matching text passages within all files using semantical search.
12687
+ * Query expressed in natural language to retrieve matching text passages within all indexed files in the bot using semantical search.
12280
12688
  * @type {string}
12281
12689
  * @memberof DefaultApiSearchFiles
12282
12690
  */
@@ -12291,16 +12699,16 @@ export interface DefaultApiSearchFilesRequest {
12291
12699
  };
12292
12700
  /**
12293
12701
  * 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}
12702
+ * @type {number}
12295
12703
  * @memberof DefaultApiSearchFiles
12296
12704
  */
12297
- readonly contextDepth?: string;
12705
+ readonly contextDepth?: number;
12298
12706
  /**
12299
12707
  * The maximum number of passages to return.
12300
- * @type {string}
12708
+ * @type {number}
12301
12709
  * @memberof DefaultApiSearchFiles
12302
12710
  */
12303
- readonly limit?: string;
12711
+ readonly limit?: number;
12304
12712
  }
12305
12713
  /**
12306
12714
  * Request parameters for setAccountPreference operation in DefaultApi.
@@ -12733,7 +13141,7 @@ export declare class DefaultApi extends BaseAPI {
12733
13141
  * @throws {RequiredError}
12734
13142
  * @memberof DefaultApi
12735
13143
  */
12736
- createFile(requestParameters: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFileResponse, any>>;
13144
+ createFile(requestParameters?: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFileResponse, any>>;
12737
13145
  /**
12738
13146
  * Create integration
12739
13147
  * @param {DefaultApiCreateIntegrationRequest} requestParameters Request parameters.
@@ -12742,6 +13150,14 @@ export declare class DefaultApi extends BaseAPI {
12742
13150
  * @memberof DefaultApi
12743
13151
  */
12744
13152
  createIntegration(requestParameters?: DefaultApiCreateIntegrationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateIntegrationResponse, any>>;
13153
+ /**
13154
+ * Create an IAK
13155
+ * @param {DefaultApiCreateIntegrationApiKeyRequest} requestParameters Request parameters.
13156
+ * @param {*} [options] Override http request option.
13157
+ * @throws {RequiredError}
13158
+ * @memberof DefaultApi
13159
+ */
13160
+ createIntegrationApiKey(requestParameters?: DefaultApiCreateIntegrationApiKeyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateIntegrationApiKeyResponse, any>>;
12745
13161
  /**
12746
13162
  * 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
13163
  * @param {DefaultApiCreateMessageRequest} requestParameters Request parameters.
@@ -12846,6 +13262,14 @@ export declare class DefaultApi extends BaseAPI {
12846
13262
  * @memberof DefaultApi
12847
13263
  */
12848
13264
  deleteIntegration(requestParameters: DefaultApiDeleteIntegrationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
13265
+ /**
13266
+ * Delete an IAK
13267
+ * @param {DefaultApiDeleteIntegrationApiKeyRequest} requestParameters Request parameters.
13268
+ * @param {*} [options] Override http request option.
13269
+ * @throws {RequiredError}
13270
+ * @memberof DefaultApi
13271
+ */
13272
+ deleteIntegrationApiKey(requestParameters: DefaultApiDeleteIntegrationApiKeyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
12849
13273
  /**
12850
13274
  * Permanently deletes a [Message](#schema_message). It cannot be undone.
12851
13275
  * @param {DefaultApiDeleteMessageRequest} requestParameters Request parameters.
@@ -12910,6 +13334,14 @@ export declare class DefaultApi extends BaseAPI {
12910
13334
  * @memberof DefaultApi
12911
13335
  */
12912
13336
  deleteWorkspaceMember(requestParameters: DefaultApiDeleteWorkspaceMemberRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
13337
+ /**
13338
+ * Duplicates the table schema & content
13339
+ * @param {DefaultApiDuplicateTableRequest} requestParameters Request parameters.
13340
+ * @param {*} [options] Override http request option.
13341
+ * @throws {RequiredError}
13342
+ * @memberof DefaultApi
13343
+ */
13344
+ duplicateTable(requestParameters: DefaultApiDuplicateTableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DuplicateTableResponse, any>>;
12913
13345
  /**
12914
13346
  * 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
13347
  * @param {DefaultApiFindTableRowsRequest} requestParameters Request parameters.
@@ -13062,6 +13494,14 @@ export declare class DefaultApi extends BaseAPI {
13062
13494
  * @memberof DefaultApi
13063
13495
  */
13064
13496
  getOrCreateMessage(requestParameters?: DefaultApiGetOrCreateMessageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrCreateMessageResponse, any>>;
13497
+ /**
13498
+ * Retrieves information about a specific table if it exists; otherwise, creates a new table based on the provided schema.
13499
+ * @param {DefaultApiGetOrCreateTableRequest} requestParameters Request parameters.
13500
+ * @param {*} [options] Override http request option.
13501
+ * @throws {RequiredError}
13502
+ * @memberof DefaultApi
13503
+ */
13504
+ getOrCreateTable(requestParameters: DefaultApiGetOrCreateTableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrCreateTableResponse, any>>;
13065
13505
  /**
13066
13506
  * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.
13067
13507
  * @param {DefaultApiGetOrCreateUserRequest} requestParameters Request parameters.
@@ -13254,6 +13694,14 @@ export declare class DefaultApi extends BaseAPI {
13254
13694
  * @memberof DefaultApi
13255
13695
  */
13256
13696
  listFiles(requestParameters: DefaultApiListFilesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFilesResponse, any>>;
13697
+ /**
13698
+ * List IAKs (Integration Api Keys) of an integration
13699
+ * @param {DefaultApiListIntegrationApiKeysRequest} requestParameters Request parameters.
13700
+ * @param {*} [options] Override http request option.
13701
+ * @throws {RequiredError}
13702
+ * @memberof DefaultApi
13703
+ */
13704
+ listIntegrationApiKeys(requestParameters: DefaultApiListIntegrationApiKeysRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListIntegrationApiKeysResponse, any>>;
13257
13705
  /**
13258
13706
  * List integrations
13259
13707
  * @param {DefaultApiListIntegrationsRequest} requestParameters Request parameters.