@botpress/client 0.11.9 → 0.12.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.18.5
5
+ * The version of the OpenAPI document: 0.19.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1473,47 +1473,81 @@ export interface CreateEventResponse {
1473
1473
  */
1474
1474
  export interface CreateFileBody {
1475
1475
  /**
1476
- * ID of the bot the file will be used for
1477
- * @type {string}
1476
+ *
1477
+ * @type {any}
1478
1478
  * @memberof CreateFileBody
1479
1479
  */
1480
+ 'data'?: any | null;
1481
+ }
1482
+ /**
1483
+ *
1484
+ * @export
1485
+ * @interface CreateFileResponse
1486
+ */
1487
+ export interface CreateFileResponse {
1488
+ /**
1489
+ *
1490
+ * @type {CreateFileResponseFile}
1491
+ * @memberof CreateFileResponse
1492
+ */
1493
+ 'file': CreateFileResponseFile;
1494
+ }
1495
+ /**
1496
+ *
1497
+ * @export
1498
+ * @interface CreateFileResponseFile
1499
+ */
1500
+ export interface CreateFileResponseFile {
1501
+ /**
1502
+ *
1503
+ * @type {string}
1504
+ * @memberof CreateFileResponseFile
1505
+ */
1506
+ 'id': string;
1507
+ /**
1508
+ *
1509
+ * @type {string}
1510
+ * @memberof CreateFileResponseFile
1511
+ */
1480
1512
  'botId': string;
1481
1513
  /**
1482
- * Base64-encoded file contents
1514
+ *
1483
1515
  * @type {string}
1484
- * @memberof CreateFileBody
1516
+ * @memberof CreateFileResponseFile
1517
+ */
1518
+ 'filename': string;
1519
+ /**
1520
+ *
1521
+ * @type {number}
1522
+ * @memberof CreateFileResponseFile
1485
1523
  */
1486
- 'contents': string;
1524
+ 'bytes': number | null;
1487
1525
  /**
1488
- * Optional arbitrary file name (e.g. my-image.jpg), will be used for display purposes only.
1526
+ * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
1527
+ * @type {{ [key: string]: string; }}
1528
+ * @memberof CreateFileResponseFile
1529
+ */
1530
+ 'tags': {
1531
+ [key: string]: string;
1532
+ };
1533
+ /**
1534
+ *
1489
1535
  * @type {string}
1490
- * @memberof CreateFileBody
1536
+ * @memberof CreateFileResponseFile
1491
1537
  */
1492
- 'name': string;
1538
+ 'createdAt': string;
1493
1539
  /**
1494
- * Accepted values: private, public
1540
+ *
1495
1541
  * @type {string}
1496
- * @memberof CreateFileBody
1542
+ * @memberof CreateFileResponseFile
1497
1543
  */
1498
- 'accessType': CreateFileBodyAccessTypeEnum;
1499
- }
1500
- export declare const CreateFileBodyAccessTypeEnum: {
1501
- readonly Private: "private";
1502
- readonly Public: "public";
1503
- };
1504
- export type CreateFileBodyAccessTypeEnum = typeof CreateFileBodyAccessTypeEnum[keyof typeof CreateFileBodyAccessTypeEnum];
1505
- /**
1506
- *
1507
- * @export
1508
- * @interface CreateFileResponse
1509
- */
1510
- export interface CreateFileResponse {
1544
+ 'updatedAt': string;
1511
1545
  /**
1512
1546
  *
1513
- * @type {any}
1514
- * @memberof CreateFileResponse
1547
+ * @type {Array<string>}
1548
+ * @memberof CreateFileResponseFile
1515
1549
  */
1516
- 'file': any;
1550
+ 'accessPolicies': Array<string>;
1517
1551
  }
1518
1552
  /**
1519
1553
  *
@@ -3044,15 +3078,28 @@ export interface GetEventResponse {
3044
3078
  /**
3045
3079
  *
3046
3080
  * @export
3047
- * @interface GetFileResponse
3081
+ * @interface GetFileContentResponse
3082
+ */
3083
+ export interface GetFileContentResponse {
3084
+ /**
3085
+ * Temporary pre-signed URL to download the file, should be used shortly after retrieving and should not be stored long-term as the URL will expire after a short timeframe.
3086
+ * @type {string}
3087
+ * @memberof GetFileContentResponse
3088
+ */
3089
+ 'url': string;
3090
+ }
3091
+ /**
3092
+ *
3093
+ * @export
3094
+ * @interface GetFileMetadataResponse
3048
3095
  */
3049
- export interface GetFileResponse {
3096
+ export interface GetFileMetadataResponse {
3050
3097
  /**
3051
3098
  *
3052
- * @type {any}
3053
- * @memberof GetFileResponse
3099
+ * @type {CreateFileResponseFile}
3100
+ * @memberof GetFileMetadataResponse
3054
3101
  */
3055
- 'file': any;
3102
+ 'file': CreateFileResponseFile;
3056
3103
  }
3057
3104
  /**
3058
3105
  *
@@ -4532,10 +4579,10 @@ export interface ListEventsResponse {
4532
4579
  export interface ListFilesResponse {
4533
4580
  /**
4534
4581
  *
4535
- * @type {Array<any>}
4582
+ * @type {Array<ListFilesResponseFilesInner>}
4536
4583
  * @memberof ListFilesResponse
4537
4584
  */
4538
- 'files': Array<any>;
4585
+ 'files': Array<ListFilesResponseFilesInner>;
4539
4586
  /**
4540
4587
  *
4541
4588
  * @type {ListConversationsResponseMeta}
@@ -4543,6 +4590,55 @@ export interface ListFilesResponse {
4543
4590
  */
4544
4591
  'meta': ListConversationsResponseMeta;
4545
4592
  }
4593
+ /**
4594
+ *
4595
+ * @export
4596
+ * @interface ListFilesResponseFilesInner
4597
+ */
4598
+ export interface ListFilesResponseFilesInner {
4599
+ /**
4600
+ *
4601
+ * @type {string}
4602
+ * @memberof ListFilesResponseFilesInner
4603
+ */
4604
+ 'id': string;
4605
+ /**
4606
+ *
4607
+ * @type {string}
4608
+ * @memberof ListFilesResponseFilesInner
4609
+ */
4610
+ 'botId': string;
4611
+ /**
4612
+ *
4613
+ * @type {string}
4614
+ * @memberof ListFilesResponseFilesInner
4615
+ */
4616
+ 'filename': string;
4617
+ /**
4618
+ *
4619
+ * @type {number}
4620
+ * @memberof ListFilesResponseFilesInner
4621
+ */
4622
+ 'bytes': number | null;
4623
+ /**
4624
+ *
4625
+ * @type {string}
4626
+ * @memberof ListFilesResponseFilesInner
4627
+ */
4628
+ 'createdAt': string;
4629
+ /**
4630
+ *
4631
+ * @type {string}
4632
+ * @memberof ListFilesResponseFilesInner
4633
+ */
4634
+ 'updatedAt': string;
4635
+ /**
4636
+ *
4637
+ * @type {Array<string>}
4638
+ * @memberof ListFilesResponseFilesInner
4639
+ */
4640
+ 'accessPolicies': Array<string>;
4641
+ }
4546
4642
  /**
4547
4643
  *
4548
4644
  * @export
@@ -5096,53 +5192,56 @@ export type MessageDirectionEnum = typeof MessageDirectionEnum[keyof typeof Mess
5096
5192
  */
5097
5193
  export interface ModelFile {
5098
5194
  /**
5099
- * ID of the bot the file will be used for
5195
+ *
5100
5196
  * @type {string}
5101
5197
  * @memberof ModelFile
5102
5198
  */
5103
- 'botId': string;
5199
+ 'id': string;
5104
5200
  /**
5105
- * Optional arbitrary file name (e.g. my-image.jpg), will be used for display purposes only.
5201
+ *
5106
5202
  * @type {string}
5107
5203
  * @memberof ModelFile
5108
5204
  */
5109
- 'name': string;
5205
+ 'botId': string;
5110
5206
  /**
5111
- * Accepted values: private, public
5207
+ *
5112
5208
  * @type {string}
5113
5209
  * @memberof ModelFile
5114
5210
  */
5115
- 'accessType': ModelFileAccessTypeEnum;
5211
+ 'filename': string;
5116
5212
  /**
5117
- * ID of the [File](#schema_file)
5118
- * @type {string}
5213
+ *
5214
+ * @type {number}
5119
5215
  * @memberof ModelFile
5120
5216
  */
5121
- 'id': string;
5217
+ 'bytes': number | null;
5218
+ /**
5219
+ * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
5220
+ * @type {{ [key: string]: string; }}
5221
+ * @memberof ModelFile
5222
+ */
5223
+ 'tags': {
5224
+ [key: string]: string;
5225
+ };
5122
5226
  /**
5123
- * Creation date of the [File](#schema_file) in ISO 8601 format
5227
+ *
5124
5228
  * @type {string}
5125
5229
  * @memberof ModelFile
5126
5230
  */
5127
5231
  'createdAt': string;
5128
5232
  /**
5129
- * Size of the file in bytes
5130
- * @type {number}
5233
+ *
5234
+ * @type {string}
5131
5235
  * @memberof ModelFile
5132
5236
  */
5133
- 'size': number;
5237
+ 'updatedAt': string;
5134
5238
  /**
5135
- * Public URL to the file contents, available only if the access type is public. If the file is private, use the Download endpoint to retrieve the file contents.
5136
- * @type {string}
5239
+ *
5240
+ * @type {Array<string>}
5137
5241
  * @memberof ModelFile
5138
5242
  */
5139
- 'publicUrl'?: string;
5243
+ 'accessPolicies': Array<string>;
5140
5244
  }
5141
- export declare const ModelFileAccessTypeEnum: {
5142
- readonly Private: "private";
5143
- readonly Public: "public";
5144
- };
5145
- export type ModelFileAccessTypeEnum = typeof ModelFileAccessTypeEnum[keyof typeof ModelFileAccessTypeEnum];
5146
5245
  /**
5147
5246
  *
5148
5247
  * @export
@@ -6147,6 +6246,36 @@ export interface UpdateConversationResponse {
6147
6246
  */
6148
6247
  'conversation': Conversation;
6149
6248
  }
6249
+ /**
6250
+ *
6251
+ * @export
6252
+ * @interface UpdateFileMetadataBody
6253
+ */
6254
+ export interface UpdateFileMetadataBody {
6255
+ /**
6256
+ * Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value.
6257
+ * @type {{ [key: string]: string; }}
6258
+ * @memberof UpdateFileMetadataBody
6259
+ */
6260
+ 'tags': {
6261
+ [key: string]: string;
6262
+ };
6263
+ }
6264
+ /**
6265
+ *
6266
+ * @export
6267
+ * @interface UpdateFileMetadataResponse
6268
+ */
6269
+ export interface UpdateFileMetadataResponse {
6270
+ /**
6271
+ * The tags to update as an object of key/value pairs. A tag key can be set to a null value to delete it.
6272
+ * @type {{ [key: string]: string; }}
6273
+ * @memberof UpdateFileMetadataResponse
6274
+ */
6275
+ 'tags': {
6276
+ [key: string]: string;
6277
+ };
6278
+ }
6150
6279
  /**
6151
6280
  *
6152
6281
  * @export
@@ -7529,12 +7658,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7529
7658
  */
7530
7659
  createEvent: (createEventBody?: CreateEventBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7531
7660
  /**
7532
- * Create File
7533
- * @param {CreateFileBody} [createFileBody] Create File
7661
+ * Creates a file.
7662
+ * @param {string} xFilename File name
7663
+ * @param {string} xBotId Bot id
7664
+ * @param {string} [xTags] File tags as URL-encoded JSON string representing an object of key-value pairs.
7665
+ * @param {string} [xAccessPolicies] File access policies
7666
+ * @param {string} [contentType] File content type
7667
+ * @param {string} [contentLength] File content length
7668
+ * @param {string} [xIntegrationId] Integration id
7669
+ * @param {string} [xUserId] User id
7670
+ * @param {string} [xUserRole] User role
7671
+ * @param {CreateFileBody} [createFileBody] The file to upload.
7534
7672
  * @param {*} [options] Override http request option.
7535
7673
  * @throws {RequiredError}
7536
7674
  */
7537
- createFile: (createFileBody?: CreateFileBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7675
+ createFile: (xFilename: string, xBotId: string, xTags?: string, xAccessPolicies?: string, contentType?: string, contentLength?: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, createFileBody?: CreateFileBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7538
7676
  /**
7539
7677
  * Create integration
7540
7678
  * @param {CreateIntegrationBody} [createIntegrationBody] Integration
@@ -7622,12 +7760,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7622
7760
  */
7623
7761
  deleteConversation: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7624
7762
  /**
7625
- * Delete File
7763
+ * Deletes a file.
7626
7764
  * @param {string} id File ID
7765
+ * @param {string} xBotId Bot id
7766
+ * @param {string} [xIntegrationId] Integration id
7767
+ * @param {string} [xUserId] User id
7768
+ * @param {string} [xUserRole] User role
7627
7769
  * @param {*} [options] Override http request option.
7628
7770
  * @throws {RequiredError}
7629
7771
  */
7630
- deleteFile: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7772
+ deleteFile: (id: string, xBotId: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7631
7773
  /**
7632
7774
  * Delete integration
7633
7775
  * @param {string} id Integration ID
@@ -7692,13 +7834,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7692
7834
  * @throws {RequiredError}
7693
7835
  */
7694
7836
  deleteWorkspaceMember: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7695
- /**
7696
- * Download File
7697
- * @param {string} id File ID
7698
- * @param {*} [options] Override http request option.
7699
- * @throws {RequiredError}
7700
- */
7701
- downloadFile: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7702
7837
  /**
7703
7838
  * 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.
7704
7839
  * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
@@ -7783,12 +7918,27 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7783
7918
  */
7784
7919
  getEvent: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7785
7920
  /**
7786
- * Get File
7921
+ * Returns a presigned URL to download the file content.
7787
7922
  * @param {string} id File ID
7923
+ * @param {string} xBotId Bot id
7924
+ * @param {string} [xIntegrationId] Integration id
7925
+ * @param {string} [xUserId] User id
7926
+ * @param {string} [xUserRole] User role
7788
7927
  * @param {*} [options] Override http request option.
7789
7928
  * @throws {RequiredError}
7790
7929
  */
7791
- getFile: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7930
+ getFileContent: (id: string, xBotId: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7931
+ /**
7932
+ * Get file metadata
7933
+ * @param {string} id File ID
7934
+ * @param {string} xBotId Bot id
7935
+ * @param {string} [xIntegrationId] Integration id
7936
+ * @param {string} [xUserId] User id
7937
+ * @param {string} [xUserRole] User role
7938
+ * @param {*} [options] Override http request option.
7939
+ * @throws {RequiredError}
7940
+ */
7941
+ getFileMetadata: (id: string, xBotId: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7792
7942
  /**
7793
7943
  * Get integration
7794
7944
  * @param {string} id Integration ID
@@ -8022,13 +8172,18 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8022
8172
  */
8023
8173
  listEvents: (nextToken?: string, type?: string, conversationId?: string, userId?: string, messageId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8024
8174
  /**
8025
- * List Files
8175
+ * List files for bot
8176
+ * @param {string} xBotId Bot id
8026
8177
  * @param {string} botId Bot ID
8027
8178
  * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
8179
+ * @param {string} [xIntegrationId] Integration id
8180
+ * @param {string} [xUserId] User id
8181
+ * @param {string} [xUserRole] User role
8182
+ * @param {string} [tags] Tags to filter files by as a JSON string representing an object of key-value pairs to match files\&#39; tags against.
8028
8183
  * @param {*} [options] Override http request option.
8029
8184
  * @throws {RequiredError}
8030
8185
  */
8031
- listFiles: (botId: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8186
+ listFiles: (xBotId: string, botId: string, nextToken?: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, tags?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8032
8187
  /**
8033
8188
  * List integrations
8034
8189
  * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
@@ -8244,6 +8399,18 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8244
8399
  * @throws {RequiredError}
8245
8400
  */
8246
8401
  updateConversation: (id: string, updateConversationBody?: UpdateConversationBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8402
+ /**
8403
+ * Update file metadata
8404
+ * @param {string} id File ID
8405
+ * @param {string} xBotId Bot id
8406
+ * @param {string} [xIntegrationId] Integration id
8407
+ * @param {string} [xUserId] User id
8408
+ * @param {string} [xUserRole] User role
8409
+ * @param {UpdateFileMetadataBody} [updateFileMetadataBody] File metadata to update.
8410
+ * @param {*} [options] Override http request option.
8411
+ * @throws {RequiredError}
8412
+ */
8413
+ updateFileMetadata: (id: string, xBotId: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, updateFileMetadataBody?: UpdateFileMetadataBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8247
8414
  /**
8248
8415
  * Update integration
8249
8416
  * @param {string} id Integration ID
@@ -8405,12 +8572,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8405
8572
  */
8406
8573
  createEvent(createEventBody?: CreateEventBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventResponse>>;
8407
8574
  /**
8408
- * Create File
8409
- * @param {CreateFileBody} [createFileBody] Create File
8575
+ * Creates a file.
8576
+ * @param {string} xFilename File name
8577
+ * @param {string} xBotId Bot id
8578
+ * @param {string} [xTags] File tags as URL-encoded JSON string representing an object of key-value pairs.
8579
+ * @param {string} [xAccessPolicies] File access policies
8580
+ * @param {string} [contentType] File content type
8581
+ * @param {string} [contentLength] File content length
8582
+ * @param {string} [xIntegrationId] Integration id
8583
+ * @param {string} [xUserId] User id
8584
+ * @param {string} [xUserRole] User role
8585
+ * @param {CreateFileBody} [createFileBody] The file to upload.
8410
8586
  * @param {*} [options] Override http request option.
8411
8587
  * @throws {RequiredError}
8412
8588
  */
8413
- createFile(createFileBody?: CreateFileBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFileResponse>>;
8589
+ createFile(xFilename: string, xBotId: string, xTags?: string, xAccessPolicies?: string, contentType?: string, contentLength?: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, createFileBody?: CreateFileBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFileResponse>>;
8414
8590
  /**
8415
8591
  * Create integration
8416
8592
  * @param {CreateIntegrationBody} [createIntegrationBody] Integration
@@ -8498,12 +8674,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8498
8674
  */
8499
8675
  deleteConversation(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
8500
8676
  /**
8501
- * Delete File
8677
+ * Deletes a file.
8502
8678
  * @param {string} id File ID
8679
+ * @param {string} xBotId Bot id
8680
+ * @param {string} [xIntegrationId] Integration id
8681
+ * @param {string} [xUserId] User id
8682
+ * @param {string} [xUserRole] User role
8503
8683
  * @param {*} [options] Override http request option.
8504
8684
  * @throws {RequiredError}
8505
8685
  */
8506
- deleteFile(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
8686
+ deleteFile(id: string, xBotId: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
8507
8687
  /**
8508
8688
  * Delete integration
8509
8689
  * @param {string} id Integration ID
@@ -8568,13 +8748,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8568
8748
  * @throws {RequiredError}
8569
8749
  */
8570
8750
  deleteWorkspaceMember(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
8571
- /**
8572
- * Download File
8573
- * @param {string} id File ID
8574
- * @param {*} [options] Override http request option.
8575
- * @throws {RequiredError}
8576
- */
8577
- downloadFile(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
8578
8751
  /**
8579
8752
  * 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.
8580
8753
  * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
@@ -8661,12 +8834,27 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8661
8834
  */
8662
8835
  getEvent(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventResponse>>;
8663
8836
  /**
8664
- * Get File
8837
+ * Returns a presigned URL to download the file content.
8838
+ * @param {string} id File ID
8839
+ * @param {string} xBotId Bot id
8840
+ * @param {string} [xIntegrationId] Integration id
8841
+ * @param {string} [xUserId] User id
8842
+ * @param {string} [xUserRole] User role
8843
+ * @param {*} [options] Override http request option.
8844
+ * @throws {RequiredError}
8845
+ */
8846
+ getFileContent(id: string, xBotId: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFileContentResponse>>;
8847
+ /**
8848
+ * Get file metadata
8665
8849
  * @param {string} id File ID
8850
+ * @param {string} xBotId Bot id
8851
+ * @param {string} [xIntegrationId] Integration id
8852
+ * @param {string} [xUserId] User id
8853
+ * @param {string} [xUserRole] User role
8666
8854
  * @param {*} [options] Override http request option.
8667
8855
  * @throws {RequiredError}
8668
8856
  */
8669
- getFile(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFileResponse>>;
8857
+ getFileMetadata(id: string, xBotId: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFileMetadataResponse>>;
8670
8858
  /**
8671
8859
  * Get integration
8672
8860
  * @param {string} id Integration ID
@@ -8900,13 +9088,18 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8900
9088
  */
8901
9089
  listEvents(nextToken?: string, type?: string, conversationId?: string, userId?: string, messageId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEventsResponse>>;
8902
9090
  /**
8903
- * List Files
9091
+ * List files for bot
9092
+ * @param {string} xBotId Bot id
8904
9093
  * @param {string} botId Bot ID
8905
9094
  * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
9095
+ * @param {string} [xIntegrationId] Integration id
9096
+ * @param {string} [xUserId] User id
9097
+ * @param {string} [xUserRole] User role
9098
+ * @param {string} [tags] Tags to filter files by as a JSON string representing an object of key-value pairs to match files\&#39; tags against.
8906
9099
  * @param {*} [options] Override http request option.
8907
9100
  * @throws {RequiredError}
8908
9101
  */
8909
- listFiles(botId: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFilesResponse>>;
9102
+ listFiles(xBotId: string, botId: string, nextToken?: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, tags?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFilesResponse>>;
8910
9103
  /**
8911
9104
  * List integrations
8912
9105
  * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
@@ -9122,6 +9315,18 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9122
9315
  * @throws {RequiredError}
9123
9316
  */
9124
9317
  updateConversation(id: string, updateConversationBody?: UpdateConversationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateConversationResponse>>;
9318
+ /**
9319
+ * Update file metadata
9320
+ * @param {string} id File ID
9321
+ * @param {string} xBotId Bot id
9322
+ * @param {string} [xIntegrationId] Integration id
9323
+ * @param {string} [xUserId] User id
9324
+ * @param {string} [xUserRole] User role
9325
+ * @param {UpdateFileMetadataBody} [updateFileMetadataBody] File metadata to update.
9326
+ * @param {*} [options] Override http request option.
9327
+ * @throws {RequiredError}
9328
+ */
9329
+ updateFileMetadata(id: string, xBotId: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, updateFileMetadataBody?: UpdateFileMetadataBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateFileMetadataResponse>>;
9125
9330
  /**
9126
9331
  * Update integration
9127
9332
  * @param {string} id Integration ID
@@ -9278,12 +9483,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9278
9483
  */
9279
9484
  createEvent(requestParameters?: DefaultApiCreateEventRequest, options?: AxiosRequestConfig): AxiosPromise<CreateEventResponse>;
9280
9485
  /**
9281
- * Create File
9486
+ * Creates a file.
9282
9487
  * @param {DefaultApiCreateFileRequest} requestParameters Request parameters.
9283
9488
  * @param {*} [options] Override http request option.
9284
9489
  * @throws {RequiredError}
9285
9490
  */
9286
- createFile(requestParameters?: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): AxiosPromise<CreateFileResponse>;
9491
+ createFile(requestParameters: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): AxiosPromise<CreateFileResponse>;
9287
9492
  /**
9288
9493
  * Create integration
9289
9494
  * @param {DefaultApiCreateIntegrationRequest} requestParameters Request parameters.
@@ -9369,7 +9574,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9369
9574
  */
9370
9575
  deleteConversation(requestParameters: DefaultApiDeleteConversationRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
9371
9576
  /**
9372
- * Delete File
9577
+ * Deletes a file.
9373
9578
  * @param {DefaultApiDeleteFileRequest} requestParameters Request parameters.
9374
9579
  * @param {*} [options] Override http request option.
9375
9580
  * @throws {RequiredError}
@@ -9438,13 +9643,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9438
9643
  * @throws {RequiredError}
9439
9644
  */
9440
9645
  deleteWorkspaceMember(requestParameters: DefaultApiDeleteWorkspaceMemberRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
9441
- /**
9442
- * Download File
9443
- * @param {DefaultApiDownloadFileRequest} requestParameters Request parameters.
9444
- * @param {*} [options] Override http request option.
9445
- * @throws {RequiredError}
9446
- */
9447
- downloadFile(requestParameters: DefaultApiDownloadFileRequest, options?: AxiosRequestConfig): AxiosPromise<any>;
9448
9646
  /**
9449
9647
  * 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.
9450
9648
  * @param {DefaultApiFindTableRowsRequest} requestParameters Request parameters.
@@ -9523,12 +9721,19 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9523
9721
  */
9524
9722
  getEvent(requestParameters: DefaultApiGetEventRequest, options?: AxiosRequestConfig): AxiosPromise<GetEventResponse>;
9525
9723
  /**
9526
- * Get File
9527
- * @param {DefaultApiGetFileRequest} requestParameters Request parameters.
9724
+ * Returns a presigned URL to download the file content.
9725
+ * @param {DefaultApiGetFileContentRequest} requestParameters Request parameters.
9528
9726
  * @param {*} [options] Override http request option.
9529
9727
  * @throws {RequiredError}
9530
9728
  */
9531
- getFile(requestParameters: DefaultApiGetFileRequest, options?: AxiosRequestConfig): AxiosPromise<GetFileResponse>;
9729
+ getFileContent(requestParameters: DefaultApiGetFileContentRequest, options?: AxiosRequestConfig): AxiosPromise<GetFileContentResponse>;
9730
+ /**
9731
+ * Get file metadata
9732
+ * @param {DefaultApiGetFileMetadataRequest} requestParameters Request parameters.
9733
+ * @param {*} [options] Override http request option.
9734
+ * @throws {RequiredError}
9735
+ */
9736
+ getFileMetadata(requestParameters: DefaultApiGetFileMetadataRequest, options?: AxiosRequestConfig): AxiosPromise<GetFileMetadataResponse>;
9532
9737
  /**
9533
9738
  * Get integration
9534
9739
  * @param {DefaultApiGetIntegrationRequest} requestParameters Request parameters.
@@ -9733,7 +9938,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9733
9938
  */
9734
9939
  listEvents(requestParameters?: DefaultApiListEventsRequest, options?: AxiosRequestConfig): AxiosPromise<ListEventsResponse>;
9735
9940
  /**
9736
- * List Files
9941
+ * List files for bot
9737
9942
  * @param {DefaultApiListFilesRequest} requestParameters Request parameters.
9738
9943
  * @param {*} [options] Override http request option.
9739
9944
  * @throws {RequiredError}
@@ -9913,6 +10118,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9913
10118
  * @throws {RequiredError}
9914
10119
  */
9915
10120
  updateConversation(requestParameters: DefaultApiUpdateConversationRequest, options?: AxiosRequestConfig): AxiosPromise<UpdateConversationResponse>;
10121
+ /**
10122
+ * Update file metadata
10123
+ * @param {DefaultApiUpdateFileMetadataRequest} requestParameters Request parameters.
10124
+ * @param {*} [options] Override http request option.
10125
+ * @throws {RequiredError}
10126
+ */
10127
+ updateFileMetadata(requestParameters: DefaultApiUpdateFileMetadataRequest, options?: AxiosRequestConfig): AxiosPromise<UpdateFileMetadataResponse>;
9916
10128
  /**
9917
10129
  * Update integration
9918
10130
  * @param {DefaultApiUpdateIntegrationRequest} requestParameters Request parameters.
@@ -10157,7 +10369,61 @@ export interface DefaultApiCreateEventRequest {
10157
10369
  */
10158
10370
  export interface DefaultApiCreateFileRequest {
10159
10371
  /**
10160
- * Create File
10372
+ * File name
10373
+ * @type {string}
10374
+ * @memberof DefaultApiCreateFile
10375
+ */
10376
+ readonly xFilename: string;
10377
+ /**
10378
+ * Bot id
10379
+ * @type {string}
10380
+ * @memberof DefaultApiCreateFile
10381
+ */
10382
+ readonly xBotId: string;
10383
+ /**
10384
+ * File tags as URL-encoded JSON string representing an object of key-value pairs.
10385
+ * @type {string}
10386
+ * @memberof DefaultApiCreateFile
10387
+ */
10388
+ readonly xTags?: string;
10389
+ /**
10390
+ * File access policies
10391
+ * @type {string}
10392
+ * @memberof DefaultApiCreateFile
10393
+ */
10394
+ readonly xAccessPolicies?: string;
10395
+ /**
10396
+ * File content type
10397
+ * @type {string}
10398
+ * @memberof DefaultApiCreateFile
10399
+ */
10400
+ readonly contentType?: string;
10401
+ /**
10402
+ * File content length
10403
+ * @type {string}
10404
+ * @memberof DefaultApiCreateFile
10405
+ */
10406
+ readonly contentLength?: string;
10407
+ /**
10408
+ * Integration id
10409
+ * @type {string}
10410
+ * @memberof DefaultApiCreateFile
10411
+ */
10412
+ readonly xIntegrationId?: string;
10413
+ /**
10414
+ * User id
10415
+ * @type {string}
10416
+ * @memberof DefaultApiCreateFile
10417
+ */
10418
+ readonly xUserId?: string;
10419
+ /**
10420
+ * User role
10421
+ * @type {string}
10422
+ * @memberof DefaultApiCreateFile
10423
+ */
10424
+ readonly xUserRole?: string;
10425
+ /**
10426
+ * The file to upload.
10161
10427
  * @type {CreateFileBody}
10162
10428
  * @memberof DefaultApiCreateFile
10163
10429
  */
@@ -10343,6 +10609,30 @@ export interface DefaultApiDeleteFileRequest {
10343
10609
  * @memberof DefaultApiDeleteFile
10344
10610
  */
10345
10611
  readonly id: string;
10612
+ /**
10613
+ * Bot id
10614
+ * @type {string}
10615
+ * @memberof DefaultApiDeleteFile
10616
+ */
10617
+ readonly xBotId: string;
10618
+ /**
10619
+ * Integration id
10620
+ * @type {string}
10621
+ * @memberof DefaultApiDeleteFile
10622
+ */
10623
+ readonly xIntegrationId?: string;
10624
+ /**
10625
+ * User id
10626
+ * @type {string}
10627
+ * @memberof DefaultApiDeleteFile
10628
+ */
10629
+ readonly xUserId?: string;
10630
+ /**
10631
+ * User role
10632
+ * @type {string}
10633
+ * @memberof DefaultApiDeleteFile
10634
+ */
10635
+ readonly xUserRole?: string;
10346
10636
  }
10347
10637
  /**
10348
10638
  * Request parameters for deleteIntegration operation in DefaultApi.
@@ -10467,19 +10757,6 @@ export interface DefaultApiDeleteWorkspaceMemberRequest {
10467
10757
  */
10468
10758
  readonly id: string;
10469
10759
  }
10470
- /**
10471
- * Request parameters for downloadFile operation in DefaultApi.
10472
- * @export
10473
- * @interface DefaultApiDownloadFileRequest
10474
- */
10475
- export interface DefaultApiDownloadFileRequest {
10476
- /**
10477
- * File ID
10478
- * @type {string}
10479
- * @memberof DefaultApiDownloadFile
10480
- */
10481
- readonly id: string;
10482
- }
10483
10760
  /**
10484
10761
  * Request parameters for findTableRows operation in DefaultApi.
10485
10762
  * @export
@@ -10646,17 +10923,78 @@ export interface DefaultApiGetEventRequest {
10646
10923
  readonly id: string;
10647
10924
  }
10648
10925
  /**
10649
- * Request parameters for getFile operation in DefaultApi.
10926
+ * Request parameters for getFileContent operation in DefaultApi.
10650
10927
  * @export
10651
- * @interface DefaultApiGetFileRequest
10928
+ * @interface DefaultApiGetFileContentRequest
10652
10929
  */
10653
- export interface DefaultApiGetFileRequest {
10930
+ export interface DefaultApiGetFileContentRequest {
10654
10931
  /**
10655
10932
  * File ID
10656
10933
  * @type {string}
10657
- * @memberof DefaultApiGetFile
10934
+ * @memberof DefaultApiGetFileContent
10658
10935
  */
10659
10936
  readonly id: string;
10937
+ /**
10938
+ * Bot id
10939
+ * @type {string}
10940
+ * @memberof DefaultApiGetFileContent
10941
+ */
10942
+ readonly xBotId: string;
10943
+ /**
10944
+ * Integration id
10945
+ * @type {string}
10946
+ * @memberof DefaultApiGetFileContent
10947
+ */
10948
+ readonly xIntegrationId?: string;
10949
+ /**
10950
+ * User id
10951
+ * @type {string}
10952
+ * @memberof DefaultApiGetFileContent
10953
+ */
10954
+ readonly xUserId?: string;
10955
+ /**
10956
+ * User role
10957
+ * @type {string}
10958
+ * @memberof DefaultApiGetFileContent
10959
+ */
10960
+ readonly xUserRole?: string;
10961
+ }
10962
+ /**
10963
+ * Request parameters for getFileMetadata operation in DefaultApi.
10964
+ * @export
10965
+ * @interface DefaultApiGetFileMetadataRequest
10966
+ */
10967
+ export interface DefaultApiGetFileMetadataRequest {
10968
+ /**
10969
+ * File ID
10970
+ * @type {string}
10971
+ * @memberof DefaultApiGetFileMetadata
10972
+ */
10973
+ readonly id: string;
10974
+ /**
10975
+ * Bot id
10976
+ * @type {string}
10977
+ * @memberof DefaultApiGetFileMetadata
10978
+ */
10979
+ readonly xBotId: string;
10980
+ /**
10981
+ * Integration id
10982
+ * @type {string}
10983
+ * @memberof DefaultApiGetFileMetadata
10984
+ */
10985
+ readonly xIntegrationId?: string;
10986
+ /**
10987
+ * User id
10988
+ * @type {string}
10989
+ * @memberof DefaultApiGetFileMetadata
10990
+ */
10991
+ readonly xUserId?: string;
10992
+ /**
10993
+ * User role
10994
+ * @type {string}
10995
+ * @memberof DefaultApiGetFileMetadata
10996
+ */
10997
+ readonly xUserRole?: string;
10660
10998
  }
10661
10999
  /**
10662
11000
  * Request parameters for getIntegration operation in DefaultApi.
@@ -11205,6 +11543,12 @@ export interface DefaultApiListEventsRequest {
11205
11543
  * @interface DefaultApiListFilesRequest
11206
11544
  */
11207
11545
  export interface DefaultApiListFilesRequest {
11546
+ /**
11547
+ * Bot id
11548
+ * @type {string}
11549
+ * @memberof DefaultApiListFiles
11550
+ */
11551
+ readonly xBotId: string;
11208
11552
  /**
11209
11553
  * Bot ID
11210
11554
  * @type {string}
@@ -11217,6 +11561,30 @@ export interface DefaultApiListFilesRequest {
11217
11561
  * @memberof DefaultApiListFiles
11218
11562
  */
11219
11563
  readonly nextToken?: string;
11564
+ /**
11565
+ * Integration id
11566
+ * @type {string}
11567
+ * @memberof DefaultApiListFiles
11568
+ */
11569
+ readonly xIntegrationId?: string;
11570
+ /**
11571
+ * User id
11572
+ * @type {string}
11573
+ * @memberof DefaultApiListFiles
11574
+ */
11575
+ readonly xUserId?: string;
11576
+ /**
11577
+ * User role
11578
+ * @type {string}
11579
+ * @memberof DefaultApiListFiles
11580
+ */
11581
+ readonly xUserRole?: string;
11582
+ /**
11583
+ * Tags to filter files by as a JSON string representing an object of key-value pairs to match files\&#39; tags against.
11584
+ * @type {string}
11585
+ * @memberof DefaultApiListFiles
11586
+ */
11587
+ readonly tags?: string;
11220
11588
  }
11221
11589
  /**
11222
11590
  * Request parameters for listIntegrations operation in DefaultApi.
@@ -11736,6 +12104,49 @@ export interface DefaultApiUpdateConversationRequest {
11736
12104
  */
11737
12105
  readonly updateConversationBody?: UpdateConversationBody;
11738
12106
  }
12107
+ /**
12108
+ * Request parameters for updateFileMetadata operation in DefaultApi.
12109
+ * @export
12110
+ * @interface DefaultApiUpdateFileMetadataRequest
12111
+ */
12112
+ export interface DefaultApiUpdateFileMetadataRequest {
12113
+ /**
12114
+ * File ID
12115
+ * @type {string}
12116
+ * @memberof DefaultApiUpdateFileMetadata
12117
+ */
12118
+ readonly id: string;
12119
+ /**
12120
+ * Bot id
12121
+ * @type {string}
12122
+ * @memberof DefaultApiUpdateFileMetadata
12123
+ */
12124
+ readonly xBotId: string;
12125
+ /**
12126
+ * Integration id
12127
+ * @type {string}
12128
+ * @memberof DefaultApiUpdateFileMetadata
12129
+ */
12130
+ readonly xIntegrationId?: string;
12131
+ /**
12132
+ * User id
12133
+ * @type {string}
12134
+ * @memberof DefaultApiUpdateFileMetadata
12135
+ */
12136
+ readonly xUserId?: string;
12137
+ /**
12138
+ * User role
12139
+ * @type {string}
12140
+ * @memberof DefaultApiUpdateFileMetadata
12141
+ */
12142
+ readonly xUserRole?: string;
12143
+ /**
12144
+ * File metadata to update.
12145
+ * @type {UpdateFileMetadataBody}
12146
+ * @memberof DefaultApiUpdateFileMetadata
12147
+ */
12148
+ readonly updateFileMetadataBody?: UpdateFileMetadataBody;
12149
+ }
11739
12150
  /**
11740
12151
  * Request parameters for updateIntegration operation in DefaultApi.
11741
12152
  * @export
@@ -12003,13 +12414,13 @@ export declare class DefaultApi extends BaseAPI {
12003
12414
  */
12004
12415
  createEvent(requestParameters?: DefaultApiCreateEventRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventResponse, any>>;
12005
12416
  /**
12006
- * Create File
12417
+ * Creates a file.
12007
12418
  * @param {DefaultApiCreateFileRequest} requestParameters Request parameters.
12008
12419
  * @param {*} [options] Override http request option.
12009
12420
  * @throws {RequiredError}
12010
12421
  * @memberof DefaultApi
12011
12422
  */
12012
- createFile(requestParameters?: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFileResponse, any>>;
12423
+ createFile(requestParameters: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFileResponse, any>>;
12013
12424
  /**
12014
12425
  * Create integration
12015
12426
  * @param {DefaultApiCreateIntegrationRequest} requestParameters Request parameters.
@@ -12107,7 +12518,7 @@ export declare class DefaultApi extends BaseAPI {
12107
12518
  */
12108
12519
  deleteConversation(requestParameters: DefaultApiDeleteConversationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
12109
12520
  /**
12110
- * Delete File
12521
+ * Deletes a file.
12111
12522
  * @param {DefaultApiDeleteFileRequest} requestParameters Request parameters.
12112
12523
  * @param {*} [options] Override http request option.
12113
12524
  * @throws {RequiredError}
@@ -12186,14 +12597,6 @@ export declare class DefaultApi extends BaseAPI {
12186
12597
  * @memberof DefaultApi
12187
12598
  */
12188
12599
  deleteWorkspaceMember(requestParameters: DefaultApiDeleteWorkspaceMemberRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
12189
- /**
12190
- * Download File
12191
- * @param {DefaultApiDownloadFileRequest} requestParameters Request parameters.
12192
- * @param {*} [options] Override http request option.
12193
- * @throws {RequiredError}
12194
- * @memberof DefaultApi
12195
- */
12196
- downloadFile(requestParameters: DefaultApiDownloadFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
12197
12600
  /**
12198
12601
  * 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.
12199
12602
  * @param {DefaultApiFindTableRowsRequest} requestParameters Request parameters.
@@ -12283,13 +12686,21 @@ export declare class DefaultApi extends BaseAPI {
12283
12686
  */
12284
12687
  getEvent(requestParameters: DefaultApiGetEventRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventResponse, any>>;
12285
12688
  /**
12286
- * Get File
12287
- * @param {DefaultApiGetFileRequest} requestParameters Request parameters.
12689
+ * Returns a presigned URL to download the file content.
12690
+ * @param {DefaultApiGetFileContentRequest} requestParameters Request parameters.
12691
+ * @param {*} [options] Override http request option.
12692
+ * @throws {RequiredError}
12693
+ * @memberof DefaultApi
12694
+ */
12695
+ getFileContent(requestParameters: DefaultApiGetFileContentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFileContentResponse, any>>;
12696
+ /**
12697
+ * Get file metadata
12698
+ * @param {DefaultApiGetFileMetadataRequest} requestParameters Request parameters.
12288
12699
  * @param {*} [options] Override http request option.
12289
12700
  * @throws {RequiredError}
12290
12701
  * @memberof DefaultApi
12291
12702
  */
12292
- getFile(requestParameters: DefaultApiGetFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFileResponse, any>>;
12703
+ getFileMetadata(requestParameters: DefaultApiGetFileMetadataRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFileMetadataResponse, any>>;
12293
12704
  /**
12294
12705
  * Get integration
12295
12706
  * @param {DefaultApiGetIntegrationRequest} requestParameters Request parameters.
@@ -12523,7 +12934,7 @@ export declare class DefaultApi extends BaseAPI {
12523
12934
  */
12524
12935
  listEvents(requestParameters?: DefaultApiListEventsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEventsResponse, any>>;
12525
12936
  /**
12526
- * List Files
12937
+ * List files for bot
12527
12938
  * @param {DefaultApiListFilesRequest} requestParameters Request parameters.
12528
12939
  * @param {*} [options] Override http request option.
12529
12940
  * @throws {RequiredError}
@@ -12729,6 +13140,14 @@ export declare class DefaultApi extends BaseAPI {
12729
13140
  * @memberof DefaultApi
12730
13141
  */
12731
13142
  updateConversation(requestParameters: DefaultApiUpdateConversationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateConversationResponse, any>>;
13143
+ /**
13144
+ * Update file metadata
13145
+ * @param {DefaultApiUpdateFileMetadataRequest} requestParameters Request parameters.
13146
+ * @param {*} [options] Override http request option.
13147
+ * @throws {RequiredError}
13148
+ * @memberof DefaultApi
13149
+ */
13150
+ updateFileMetadata(requestParameters: DefaultApiUpdateFileMetadataRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateFileMetadataResponse, any>>;
12732
13151
  /**
12733
13152
  * Update integration
12734
13153
  * @param {DefaultApiUpdateIntegrationRequest} requestParameters Request parameters.