@botpress/client 0.11.8 → 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.3
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).
@@ -226,6 +226,14 @@ export interface Bot {
226
226
  * @memberof Bot
227
227
  */
228
228
  'subscriptions': CreateBotBodySubscriptions;
229
+ /**
230
+ * Actions definition
231
+ * @type {{ [key: string]: CreateBotBodyActionsValue; }}
232
+ * @memberof Bot
233
+ */
234
+ 'actions': {
235
+ [key: string]: CreateBotBodyActionsValue;
236
+ };
229
237
  /**
230
238
  * Name of the [Bot](#schema_bot)
231
239
  * @type {string}
@@ -1024,6 +1032,14 @@ export interface CreateBotBody {
1024
1032
  * @memberof CreateBotBody
1025
1033
  */
1026
1034
  'subscriptions'?: CreateBotBodySubscriptions;
1035
+ /**
1036
+ * Actions definition
1037
+ * @type {{ [key: string]: CreateBotBodyActionsValue; }}
1038
+ * @memberof CreateBotBody
1039
+ */
1040
+ 'actions'?: {
1041
+ [key: string]: CreateBotBodyActionsValue;
1042
+ };
1027
1043
  /**
1028
1044
  *
1029
1045
  * @type {CreateBotBodyConfiguration}
@@ -1079,6 +1095,52 @@ export interface CreateBotBody {
1079
1095
  */
1080
1096
  'dev'?: boolean;
1081
1097
  }
1098
+ /**
1099
+ * Action definition
1100
+ * @export
1101
+ * @interface CreateBotBodyActionsValue
1102
+ */
1103
+ export interface CreateBotBodyActionsValue {
1104
+ /**
1105
+ * Title of the action
1106
+ * @type {string}
1107
+ * @memberof CreateBotBodyActionsValue
1108
+ */
1109
+ 'title'?: string;
1110
+ /**
1111
+ * Description of the action
1112
+ * @type {string}
1113
+ * @memberof CreateBotBodyActionsValue
1114
+ */
1115
+ 'description'?: string;
1116
+ /**
1117
+ *
1118
+ * @type {CreateBotBodyActionsValueInput}
1119
+ * @memberof CreateBotBodyActionsValue
1120
+ */
1121
+ 'input': CreateBotBodyActionsValueInput;
1122
+ /**
1123
+ *
1124
+ * @type {CreateBotBodyActionsValueInput}
1125
+ * @memberof CreateBotBodyActionsValue
1126
+ */
1127
+ 'output': CreateBotBodyActionsValueInput;
1128
+ }
1129
+ /**
1130
+ *
1131
+ * @export
1132
+ * @interface CreateBotBodyActionsValueInput
1133
+ */
1134
+ export interface CreateBotBodyActionsValueInput {
1135
+ /**
1136
+ *
1137
+ * @type {{ [key: string]: any; }}
1138
+ * @memberof CreateBotBodyActionsValueInput
1139
+ */
1140
+ 'schema': {
1141
+ [key: string]: any;
1142
+ };
1143
+ }
1082
1144
  /**
1083
1145
  *
1084
1146
  * @export
@@ -1411,47 +1473,81 @@ export interface CreateEventResponse {
1411
1473
  */
1412
1474
  export interface CreateFileBody {
1413
1475
  /**
1414
- * ID of the bot the file will be used for
1415
- * @type {string}
1476
+ *
1477
+ * @type {any}
1416
1478
  * @memberof CreateFileBody
1417
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
+ */
1418
1512
  'botId': string;
1419
1513
  /**
1420
- * Base64-encoded file contents
1514
+ *
1421
1515
  * @type {string}
1422
- * @memberof CreateFileBody
1516
+ * @memberof CreateFileResponseFile
1517
+ */
1518
+ 'filename': string;
1519
+ /**
1520
+ *
1521
+ * @type {number}
1522
+ * @memberof CreateFileResponseFile
1423
1523
  */
1424
- 'contents': string;
1524
+ 'bytes': number | null;
1425
1525
  /**
1426
- * 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
+ *
1427
1535
  * @type {string}
1428
- * @memberof CreateFileBody
1536
+ * @memberof CreateFileResponseFile
1429
1537
  */
1430
- 'name': string;
1538
+ 'createdAt': string;
1431
1539
  /**
1432
- * Accepted values: private, public
1540
+ *
1433
1541
  * @type {string}
1434
- * @memberof CreateFileBody
1542
+ * @memberof CreateFileResponseFile
1435
1543
  */
1436
- 'accessType': CreateFileBodyAccessTypeEnum;
1437
- }
1438
- export declare const CreateFileBodyAccessTypeEnum: {
1439
- readonly Private: "private";
1440
- readonly Public: "public";
1441
- };
1442
- export type CreateFileBodyAccessTypeEnum = typeof CreateFileBodyAccessTypeEnum[keyof typeof CreateFileBodyAccessTypeEnum];
1443
- /**
1444
- *
1445
- * @export
1446
- * @interface CreateFileResponse
1447
- */
1448
- export interface CreateFileResponse {
1544
+ 'updatedAt': string;
1449
1545
  /**
1450
1546
  *
1451
- * @type {any}
1452
- * @memberof CreateFileResponse
1547
+ * @type {Array<string>}
1548
+ * @memberof CreateFileResponseFile
1453
1549
  */
1454
- 'file': any;
1550
+ 'accessPolicies': Array<string>;
1455
1551
  }
1456
1552
  /**
1457
1553
  *
@@ -1495,11 +1591,11 @@ export interface CreateIntegrationBody {
1495
1591
  };
1496
1592
  /**
1497
1593
  *
1498
- * @type {{ [key: string]: CreateIntegrationBodyActionsValue; }}
1594
+ * @type {{ [key: string]: CreateBotBodyActionsValue; }}
1499
1595
  * @memberof CreateIntegrationBody
1500
1596
  */
1501
1597
  'actions'?: {
1502
- [key: string]: CreateIntegrationBodyActionsValue;
1598
+ [key: string]: CreateBotBodyActionsValue;
1503
1599
  };
1504
1600
  /**
1505
1601
  *
@@ -1580,52 +1676,6 @@ export interface CreateIntegrationBody {
1580
1676
  */
1581
1677
  'description'?: string;
1582
1678
  }
1583
- /**
1584
- * Action definition
1585
- * @export
1586
- * @interface CreateIntegrationBodyActionsValue
1587
- */
1588
- export interface CreateIntegrationBodyActionsValue {
1589
- /**
1590
- * Title of the action
1591
- * @type {string}
1592
- * @memberof CreateIntegrationBodyActionsValue
1593
- */
1594
- 'title'?: string;
1595
- /**
1596
- * Description of the action
1597
- * @type {string}
1598
- * @memberof CreateIntegrationBodyActionsValue
1599
- */
1600
- 'description'?: string;
1601
- /**
1602
- *
1603
- * @type {CreateIntegrationBodyActionsValueInput}
1604
- * @memberof CreateIntegrationBodyActionsValue
1605
- */
1606
- 'input': CreateIntegrationBodyActionsValueInput;
1607
- /**
1608
- *
1609
- * @type {CreateIntegrationBodyActionsValueInput}
1610
- * @memberof CreateIntegrationBodyActionsValue
1611
- */
1612
- 'output': CreateIntegrationBodyActionsValueInput;
1613
- }
1614
- /**
1615
- *
1616
- * @export
1617
- * @interface CreateIntegrationBodyActionsValueInput
1618
- */
1619
- export interface CreateIntegrationBodyActionsValueInput {
1620
- /**
1621
- *
1622
- * @type {{ [key: string]: any; }}
1623
- * @memberof CreateIntegrationBodyActionsValueInput
1624
- */
1625
- 'schema': {
1626
- [key: string]: any;
1627
- };
1628
- }
1629
1679
  /**
1630
1680
  *
1631
1681
  * @export
@@ -2811,6 +2861,12 @@ export interface GetAuditRecordsResponseRecordsInner {
2811
2861
  * @memberof GetAuditRecordsResponseRecordsInner
2812
2862
  */
2813
2863
  'resourceName'?: string | null;
2864
+ /**
2865
+ *
2866
+ * @type {string}
2867
+ * @memberof GetAuditRecordsResponseRecordsInner
2868
+ */
2869
+ 'value'?: string | null;
2814
2870
  /**
2815
2871
  *
2816
2872
  * @type {string}
@@ -2838,6 +2894,7 @@ export declare const GetAuditRecordsResponseRecordsInnerActionEnum: {
2838
2894
  readonly UpdateWorkspace: "UPDATE_WORKSPACE";
2839
2895
  readonly UpgradeWorkspacePlan: "UPGRADE_WORKSPACE_PLAN";
2840
2896
  readonly SetSpendingLimit: "SET_SPENDING_LIMIT";
2897
+ readonly SetAiSpendingLimit: "SET_AI_SPENDING_LIMIT";
2841
2898
  };
2842
2899
  export type GetAuditRecordsResponseRecordsInnerActionEnum = typeof GetAuditRecordsResponseRecordsInnerActionEnum[keyof typeof GetAuditRecordsResponseRecordsInnerActionEnum];
2843
2900
  /**
@@ -3021,15 +3078,28 @@ export interface GetEventResponse {
3021
3078
  /**
3022
3079
  *
3023
3080
  * @export
3024
- * @interface GetFileResponse
3081
+ * @interface GetFileContentResponse
3025
3082
  */
3026
- export interface GetFileResponse {
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
3095
+ */
3096
+ export interface GetFileMetadataResponse {
3027
3097
  /**
3028
3098
  *
3029
- * @type {any}
3030
- * @memberof GetFileResponse
3099
+ * @type {CreateFileResponseFile}
3100
+ * @memberof GetFileMetadataResponse
3031
3101
  */
3032
- 'file': any;
3102
+ 'file': CreateFileResponseFile;
3033
3103
  }
3034
3104
  /**
3035
3105
  *
@@ -3441,6 +3511,25 @@ export interface GetTaskResponse {
3441
3511
  */
3442
3512
  'task': Task;
3443
3513
  }
3514
+ /**
3515
+ *
3516
+ * @export
3517
+ * @interface GetUpcomingInvoiceResponse
3518
+ */
3519
+ export interface GetUpcomingInvoiceResponse {
3520
+ /**
3521
+ * ID of the invoice.
3522
+ * @type {string}
3523
+ * @memberof GetUpcomingInvoiceResponse
3524
+ */
3525
+ 'id': string;
3526
+ /**
3527
+ * Total amount to pay of the invoice.
3528
+ * @type {number}
3529
+ * @memberof GetUpcomingInvoiceResponse
3530
+ */
3531
+ 'total': number;
3532
+ }
3444
3533
  /**
3445
3534
  *
3446
3535
  * @export
@@ -3845,11 +3934,11 @@ export interface Integration {
3845
3934
  };
3846
3935
  /**
3847
3936
  *
3848
- * @type {{ [key: string]: CreateIntegrationBodyActionsValue; }}
3937
+ * @type {{ [key: string]: CreateBotBodyActionsValue; }}
3849
3938
  * @memberof Integration
3850
3939
  */
3851
3940
  'actions': {
3852
- [key: string]: CreateIntegrationBodyActionsValue;
3941
+ [key: string]: CreateBotBodyActionsValue;
3853
3942
  };
3854
3943
  /**
3855
3944
  *
@@ -4490,10 +4579,10 @@ export interface ListEventsResponse {
4490
4579
  export interface ListFilesResponse {
4491
4580
  /**
4492
4581
  *
4493
- * @type {Array<any>}
4582
+ * @type {Array<ListFilesResponseFilesInner>}
4494
4583
  * @memberof ListFilesResponse
4495
4584
  */
4496
- 'files': Array<any>;
4585
+ 'files': Array<ListFilesResponseFilesInner>;
4497
4586
  /**
4498
4587
  *
4499
4588
  * @type {ListConversationsResponseMeta}
@@ -4501,6 +4590,55 @@ export interface ListFilesResponse {
4501
4590
  */
4502
4591
  'meta': ListConversationsResponseMeta;
4503
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
+ }
4504
4642
  /**
4505
4643
  *
4506
4644
  * @export
@@ -5054,53 +5192,56 @@ export type MessageDirectionEnum = typeof MessageDirectionEnum[keyof typeof Mess
5054
5192
  */
5055
5193
  export interface ModelFile {
5056
5194
  /**
5057
- * ID of the bot the file will be used for
5195
+ *
5058
5196
  * @type {string}
5059
5197
  * @memberof ModelFile
5060
5198
  */
5061
- 'botId': string;
5199
+ 'id': string;
5062
5200
  /**
5063
- * Optional arbitrary file name (e.g. my-image.jpg), will be used for display purposes only.
5201
+ *
5064
5202
  * @type {string}
5065
5203
  * @memberof ModelFile
5066
5204
  */
5067
- 'name': string;
5205
+ 'botId': string;
5068
5206
  /**
5069
- * Accepted values: private, public
5207
+ *
5070
5208
  * @type {string}
5071
5209
  * @memberof ModelFile
5072
5210
  */
5073
- 'accessType': ModelFileAccessTypeEnum;
5211
+ 'filename': string;
5074
5212
  /**
5075
- * ID of the [File](#schema_file)
5076
- * @type {string}
5213
+ *
5214
+ * @type {number}
5077
5215
  * @memberof ModelFile
5078
5216
  */
5079
- 'id': string;
5217
+ 'bytes': number | null;
5080
5218
  /**
5081
- * Creation date of the [File](#schema_file) in ISO 8601 format
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
+ };
5226
+ /**
5227
+ *
5082
5228
  * @type {string}
5083
5229
  * @memberof ModelFile
5084
5230
  */
5085
5231
  'createdAt': string;
5086
5232
  /**
5087
- * Size of the file in bytes
5088
- * @type {number}
5233
+ *
5234
+ * @type {string}
5089
5235
  * @memberof ModelFile
5090
5236
  */
5091
- 'size': number;
5237
+ 'updatedAt': string;
5092
5238
  /**
5093
- * 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.
5094
- * @type {string}
5239
+ *
5240
+ * @type {Array<string>}
5095
5241
  * @memberof ModelFile
5096
5242
  */
5097
- 'publicUrl'?: string;
5243
+ 'accessPolicies': Array<string>;
5098
5244
  }
5099
- export declare const ModelFileAccessTypeEnum: {
5100
- readonly Private: "private";
5101
- readonly Public: "public";
5102
- };
5103
- export type ModelFileAccessTypeEnum = typeof ModelFileAccessTypeEnum[keyof typeof ModelFileAccessTypeEnum];
5104
5245
  /**
5105
5246
  *
5106
5247
  * @export
@@ -5806,6 +5947,14 @@ export interface UpdateBotBody {
5806
5947
  'events'?: {
5807
5948
  [key: string]: UpdateBotBodyEventsValue | null;
5808
5949
  };
5950
+ /**
5951
+ *
5952
+ * @type {{ [key: string]: UpdateBotBodyActionsValue | null; }}
5953
+ * @memberof UpdateBotBody
5954
+ */
5955
+ 'actions'?: {
5956
+ [key: string]: UpdateBotBodyActionsValue | null;
5957
+ };
5809
5958
  /**
5810
5959
  *
5811
5960
  * @type {{ [key: string]: UpdateBotBodyStatesValue | null; }}
@@ -5859,6 +6008,37 @@ export declare const UpdateBotBodyAuthenticationEnum: {
5859
6008
  readonly Iam: "iam";
5860
6009
  };
5861
6010
  export type UpdateBotBodyAuthenticationEnum = typeof UpdateBotBodyAuthenticationEnum[keyof typeof UpdateBotBodyAuthenticationEnum];
6011
+ /**
6012
+ * Action definition
6013
+ * @export
6014
+ * @interface UpdateBotBodyActionsValue
6015
+ */
6016
+ export interface UpdateBotBodyActionsValue {
6017
+ /**
6018
+ * Title of the action
6019
+ * @type {string}
6020
+ * @memberof UpdateBotBodyActionsValue
6021
+ */
6022
+ 'title'?: string;
6023
+ /**
6024
+ * Description of the action
6025
+ * @type {string}
6026
+ * @memberof UpdateBotBodyActionsValue
6027
+ */
6028
+ 'description'?: string;
6029
+ /**
6030
+ *
6031
+ * @type {CreateBotBodyActionsValueInput}
6032
+ * @memberof UpdateBotBodyActionsValue
6033
+ */
6034
+ 'input': CreateBotBodyActionsValueInput;
6035
+ /**
6036
+ *
6037
+ * @type {CreateBotBodyActionsValueInput}
6038
+ * @memberof UpdateBotBodyActionsValue
6039
+ */
6040
+ 'output': CreateBotBodyActionsValueInput;
6041
+ }
5862
6042
  /**
5863
6043
  * Event Definition
5864
6044
  * @export
@@ -6064,7 +6244,37 @@ export interface UpdateConversationResponse {
6064
6244
  * @type {Conversation}
6065
6245
  * @memberof UpdateConversationResponse
6066
6246
  */
6067
- 'conversation': Conversation;
6247
+ 'conversation': Conversation;
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
+ };
6068
6278
  }
6069
6279
  /**
6070
6280
  *
@@ -6094,11 +6304,11 @@ export interface UpdateIntegrationBody {
6094
6304
  'identifier'?: UpdateIntegrationBodyIdentifier;
6095
6305
  /**
6096
6306
  *
6097
- * @type {{ [key: string]: UpdateIntegrationBodyActionsValue | null; }}
6307
+ * @type {{ [key: string]: UpdateBotBodyActionsValue | null; }}
6098
6308
  * @memberof UpdateIntegrationBody
6099
6309
  */
6100
6310
  'actions'?: {
6101
- [key: string]: UpdateIntegrationBodyActionsValue | null;
6311
+ [key: string]: UpdateBotBodyActionsValue | null;
6102
6312
  };
6103
6313
  /**
6104
6314
  *
@@ -6175,37 +6385,6 @@ export interface UpdateIntegrationBody {
6175
6385
  */
6176
6386
  'url'?: string;
6177
6387
  }
6178
- /**
6179
- * Action definition
6180
- * @export
6181
- * @interface UpdateIntegrationBodyActionsValue
6182
- */
6183
- export interface UpdateIntegrationBodyActionsValue {
6184
- /**
6185
- * Title of the action
6186
- * @type {string}
6187
- * @memberof UpdateIntegrationBodyActionsValue
6188
- */
6189
- 'title'?: string;
6190
- /**
6191
- * Description of the action
6192
- * @type {string}
6193
- * @memberof UpdateIntegrationBodyActionsValue
6194
- */
6195
- 'description'?: string;
6196
- /**
6197
- *
6198
- * @type {CreateIntegrationBodyActionsValueInput}
6199
- * @memberof UpdateIntegrationBodyActionsValue
6200
- */
6201
- 'input': CreateIntegrationBodyActionsValueInput;
6202
- /**
6203
- *
6204
- * @type {CreateIntegrationBodyActionsValueInput}
6205
- * @memberof UpdateIntegrationBodyActionsValue
6206
- */
6207
- 'output': CreateIntegrationBodyActionsValueInput;
6208
- }
6209
6388
  /**
6210
6389
  *
6211
6390
  * @export
@@ -7479,12 +7658,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7479
7658
  */
7480
7659
  createEvent: (createEventBody?: CreateEventBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7481
7660
  /**
7482
- * Create File
7483
- * @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.
7484
7672
  * @param {*} [options] Override http request option.
7485
7673
  * @throws {RequiredError}
7486
7674
  */
7487
- 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>;
7488
7676
  /**
7489
7677
  * Create integration
7490
7678
  * @param {CreateIntegrationBody} [createIntegrationBody] Integration
@@ -7572,12 +7760,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7572
7760
  */
7573
7761
  deleteConversation: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7574
7762
  /**
7575
- * Delete File
7763
+ * Deletes a file.
7576
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
7577
7769
  * @param {*} [options] Override http request option.
7578
7770
  * @throws {RequiredError}
7579
7771
  */
7580
- deleteFile: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7772
+ deleteFile: (id: string, xBotId: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7581
7773
  /**
7582
7774
  * Delete integration
7583
7775
  * @param {string} id Integration ID
@@ -7642,13 +7834,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7642
7834
  * @throws {RequiredError}
7643
7835
  */
7644
7836
  deleteWorkspaceMember: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7645
- /**
7646
- * Download File
7647
- * @param {string} id File ID
7648
- * @param {*} [options] Override http request option.
7649
- * @throws {RequiredError}
7650
- */
7651
- downloadFile: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7652
7837
  /**
7653
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.
7654
7839
  * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
@@ -7733,12 +7918,27 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7733
7918
  */
7734
7919
  getEvent: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7735
7920
  /**
7736
- * Get File
7921
+ * Returns a presigned URL to download the file content.
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
7927
+ * @param {*} [options] Override http request option.
7928
+ * @throws {RequiredError}
7929
+ */
7930
+ getFileContent: (id: string, xBotId: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7931
+ /**
7932
+ * Get file metadata
7737
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
7738
7938
  * @param {*} [options] Override http request option.
7739
7939
  * @throws {RequiredError}
7740
7940
  */
7741
- getFile: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7941
+ getFileMetadata: (id: string, xBotId: string, xIntegrationId?: string, xUserId?: string, xUserRole?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7742
7942
  /**
7743
7943
  * Get integration
7744
7944
  * @param {string} id Integration ID
@@ -7863,6 +8063,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7863
8063
  * @throws {RequiredError}
7864
8064
  */
7865
8065
  getTask: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8066
+ /**
8067
+ * Get upcoming invoice for workspace
8068
+ * @param {string} id Workspace ID
8069
+ * @param {*} [options] Override http request option.
8070
+ * @throws {RequiredError}
8071
+ */
8072
+ getUpcomingInvoice: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7866
8073
  /**
7867
8074
  * Get usage
7868
8075
  * @param {GetUsageTypeEnum} type Type of usage
@@ -7965,13 +8172,18 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7965
8172
  */
7966
8173
  listEvents: (nextToken?: string, type?: string, conversationId?: string, userId?: string, messageId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7967
8174
  /**
7968
- * List Files
8175
+ * List files for bot
8176
+ * @param {string} xBotId Bot id
7969
8177
  * @param {string} botId Bot ID
7970
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.
7971
8183
  * @param {*} [options] Override http request option.
7972
8184
  * @throws {RequiredError}
7973
8185
  */
7974
- 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>;
7975
8187
  /**
7976
8188
  * List integrations
7977
8189
  * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
@@ -8187,6 +8399,18 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8187
8399
  * @throws {RequiredError}
8188
8400
  */
8189
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>;
8190
8414
  /**
8191
8415
  * Update integration
8192
8416
  * @param {string} id Integration ID
@@ -8348,12 +8572,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8348
8572
  */
8349
8573
  createEvent(createEventBody?: CreateEventBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventResponse>>;
8350
8574
  /**
8351
- * Create File
8352
- * @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.
8353
8586
  * @param {*} [options] Override http request option.
8354
8587
  * @throws {RequiredError}
8355
8588
  */
8356
- 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>>;
8357
8590
  /**
8358
8591
  * Create integration
8359
8592
  * @param {CreateIntegrationBody} [createIntegrationBody] Integration
@@ -8441,12 +8674,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8441
8674
  */
8442
8675
  deleteConversation(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
8443
8676
  /**
8444
- * Delete File
8677
+ * Deletes a file.
8445
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
8446
8683
  * @param {*} [options] Override http request option.
8447
8684
  * @throws {RequiredError}
8448
8685
  */
8449
- 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>>;
8450
8687
  /**
8451
8688
  * Delete integration
8452
8689
  * @param {string} id Integration ID
@@ -8511,13 +8748,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8511
8748
  * @throws {RequiredError}
8512
8749
  */
8513
8750
  deleteWorkspaceMember(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
8514
- /**
8515
- * Download File
8516
- * @param {string} id File ID
8517
- * @param {*} [options] Override http request option.
8518
- * @throws {RequiredError}
8519
- */
8520
- downloadFile(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
8521
8751
  /**
8522
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.
8523
8753
  * @param {string} table The table\&#39;s name or unique identifier for targeting specific table operations.
@@ -8604,12 +8834,27 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8604
8834
  */
8605
8835
  getEvent(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventResponse>>;
8606
8836
  /**
8607
- * 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
8608
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
8609
8854
  * @param {*} [options] Override http request option.
8610
8855
  * @throws {RequiredError}
8611
8856
  */
8612
- 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>>;
8613
8858
  /**
8614
8859
  * Get integration
8615
8860
  * @param {string} id Integration ID
@@ -8734,6 +8979,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8734
8979
  * @throws {RequiredError}
8735
8980
  */
8736
8981
  getTask(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTaskResponse>>;
8982
+ /**
8983
+ * Get upcoming invoice for workspace
8984
+ * @param {string} id Workspace ID
8985
+ * @param {*} [options] Override http request option.
8986
+ * @throws {RequiredError}
8987
+ */
8988
+ getUpcomingInvoice(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUpcomingInvoiceResponse>>;
8737
8989
  /**
8738
8990
  * Get usage
8739
8991
  * @param {GetUsageTypeEnum} type Type of usage
@@ -8836,13 +9088,18 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8836
9088
  */
8837
9089
  listEvents(nextToken?: string, type?: string, conversationId?: string, userId?: string, messageId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEventsResponse>>;
8838
9090
  /**
8839
- * List Files
9091
+ * List files for bot
9092
+ * @param {string} xBotId Bot id
8840
9093
  * @param {string} botId Bot ID
8841
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.
8842
9099
  * @param {*} [options] Override http request option.
8843
9100
  * @throws {RequiredError}
8844
9101
  */
8845
- 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>>;
8846
9103
  /**
8847
9104
  * List integrations
8848
9105
  * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
@@ -9058,6 +9315,18 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9058
9315
  * @throws {RequiredError}
9059
9316
  */
9060
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>>;
9061
9330
  /**
9062
9331
  * Update integration
9063
9332
  * @param {string} id Integration ID
@@ -9214,12 +9483,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9214
9483
  */
9215
9484
  createEvent(requestParameters?: DefaultApiCreateEventRequest, options?: AxiosRequestConfig): AxiosPromise<CreateEventResponse>;
9216
9485
  /**
9217
- * Create File
9486
+ * Creates a file.
9218
9487
  * @param {DefaultApiCreateFileRequest} requestParameters Request parameters.
9219
9488
  * @param {*} [options] Override http request option.
9220
9489
  * @throws {RequiredError}
9221
9490
  */
9222
- createFile(requestParameters?: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): AxiosPromise<CreateFileResponse>;
9491
+ createFile(requestParameters: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): AxiosPromise<CreateFileResponse>;
9223
9492
  /**
9224
9493
  * Create integration
9225
9494
  * @param {DefaultApiCreateIntegrationRequest} requestParameters Request parameters.
@@ -9305,7 +9574,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9305
9574
  */
9306
9575
  deleteConversation(requestParameters: DefaultApiDeleteConversationRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
9307
9576
  /**
9308
- * Delete File
9577
+ * Deletes a file.
9309
9578
  * @param {DefaultApiDeleteFileRequest} requestParameters Request parameters.
9310
9579
  * @param {*} [options] Override http request option.
9311
9580
  * @throws {RequiredError}
@@ -9374,13 +9643,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9374
9643
  * @throws {RequiredError}
9375
9644
  */
9376
9645
  deleteWorkspaceMember(requestParameters: DefaultApiDeleteWorkspaceMemberRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
9377
- /**
9378
- * Download File
9379
- * @param {DefaultApiDownloadFileRequest} requestParameters Request parameters.
9380
- * @param {*} [options] Override http request option.
9381
- * @throws {RequiredError}
9382
- */
9383
- downloadFile(requestParameters: DefaultApiDownloadFileRequest, options?: AxiosRequestConfig): AxiosPromise<any>;
9384
9646
  /**
9385
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.
9386
9648
  * @param {DefaultApiFindTableRowsRequest} requestParameters Request parameters.
@@ -9459,12 +9721,19 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9459
9721
  */
9460
9722
  getEvent(requestParameters: DefaultApiGetEventRequest, options?: AxiosRequestConfig): AxiosPromise<GetEventResponse>;
9461
9723
  /**
9462
- * Get File
9463
- * @param {DefaultApiGetFileRequest} requestParameters Request parameters.
9724
+ * Returns a presigned URL to download the file content.
9725
+ * @param {DefaultApiGetFileContentRequest} requestParameters Request parameters.
9464
9726
  * @param {*} [options] Override http request option.
9465
9727
  * @throws {RequiredError}
9466
9728
  */
9467
- 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>;
9468
9737
  /**
9469
9738
  * Get integration
9470
9739
  * @param {DefaultApiGetIntegrationRequest} requestParameters Request parameters.
@@ -9577,6 +9846,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9577
9846
  * @throws {RequiredError}
9578
9847
  */
9579
9848
  getTask(requestParameters: DefaultApiGetTaskRequest, options?: AxiosRequestConfig): AxiosPromise<GetTaskResponse>;
9849
+ /**
9850
+ * Get upcoming invoice for workspace
9851
+ * @param {DefaultApiGetUpcomingInvoiceRequest} requestParameters Request parameters.
9852
+ * @param {*} [options] Override http request option.
9853
+ * @throws {RequiredError}
9854
+ */
9855
+ getUpcomingInvoice(requestParameters: DefaultApiGetUpcomingInvoiceRequest, options?: AxiosRequestConfig): AxiosPromise<GetUpcomingInvoiceResponse>;
9580
9856
  /**
9581
9857
  * Get usage
9582
9858
  * @param {DefaultApiGetUsageRequest} requestParameters Request parameters.
@@ -9662,7 +9938,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9662
9938
  */
9663
9939
  listEvents(requestParameters?: DefaultApiListEventsRequest, options?: AxiosRequestConfig): AxiosPromise<ListEventsResponse>;
9664
9940
  /**
9665
- * List Files
9941
+ * List files for bot
9666
9942
  * @param {DefaultApiListFilesRequest} requestParameters Request parameters.
9667
9943
  * @param {*} [options] Override http request option.
9668
9944
  * @throws {RequiredError}
@@ -9842,6 +10118,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9842
10118
  * @throws {RequiredError}
9843
10119
  */
9844
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>;
9845
10128
  /**
9846
10129
  * Update integration
9847
10130
  * @param {DefaultApiUpdateIntegrationRequest} requestParameters Request parameters.
@@ -10086,7 +10369,61 @@ export interface DefaultApiCreateEventRequest {
10086
10369
  */
10087
10370
  export interface DefaultApiCreateFileRequest {
10088
10371
  /**
10089
- * 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.
10090
10427
  * @type {CreateFileBody}
10091
10428
  * @memberof DefaultApiCreateFile
10092
10429
  */
@@ -10272,6 +10609,30 @@ export interface DefaultApiDeleteFileRequest {
10272
10609
  * @memberof DefaultApiDeleteFile
10273
10610
  */
10274
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;
10275
10636
  }
10276
10637
  /**
10277
10638
  * Request parameters for deleteIntegration operation in DefaultApi.
@@ -10396,19 +10757,6 @@ export interface DefaultApiDeleteWorkspaceMemberRequest {
10396
10757
  */
10397
10758
  readonly id: string;
10398
10759
  }
10399
- /**
10400
- * Request parameters for downloadFile operation in DefaultApi.
10401
- * @export
10402
- * @interface DefaultApiDownloadFileRequest
10403
- */
10404
- export interface DefaultApiDownloadFileRequest {
10405
- /**
10406
- * File ID
10407
- * @type {string}
10408
- * @memberof DefaultApiDownloadFile
10409
- */
10410
- readonly id: string;
10411
- }
10412
10760
  /**
10413
10761
  * Request parameters for findTableRows operation in DefaultApi.
10414
10762
  * @export
@@ -10575,17 +10923,78 @@ export interface DefaultApiGetEventRequest {
10575
10923
  readonly id: string;
10576
10924
  }
10577
10925
  /**
10578
- * Request parameters for getFile operation in DefaultApi.
10926
+ * Request parameters for getFileContent operation in DefaultApi.
10927
+ * @export
10928
+ * @interface DefaultApiGetFileContentRequest
10929
+ */
10930
+ export interface DefaultApiGetFileContentRequest {
10931
+ /**
10932
+ * File ID
10933
+ * @type {string}
10934
+ * @memberof DefaultApiGetFileContent
10935
+ */
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.
10579
10964
  * @export
10580
- * @interface DefaultApiGetFileRequest
10965
+ * @interface DefaultApiGetFileMetadataRequest
10581
10966
  */
10582
- export interface DefaultApiGetFileRequest {
10967
+ export interface DefaultApiGetFileMetadataRequest {
10583
10968
  /**
10584
10969
  * File ID
10585
10970
  * @type {string}
10586
- * @memberof DefaultApiGetFile
10971
+ * @memberof DefaultApiGetFileMetadata
10587
10972
  */
10588
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;
10589
10998
  }
10590
10999
  /**
10591
11000
  * Request parameters for getIntegration operation in DefaultApi.
@@ -10867,6 +11276,19 @@ export interface DefaultApiGetTaskRequest {
10867
11276
  */
10868
11277
  readonly id: string;
10869
11278
  }
11279
+ /**
11280
+ * Request parameters for getUpcomingInvoice operation in DefaultApi.
11281
+ * @export
11282
+ * @interface DefaultApiGetUpcomingInvoiceRequest
11283
+ */
11284
+ export interface DefaultApiGetUpcomingInvoiceRequest {
11285
+ /**
11286
+ * Workspace ID
11287
+ * @type {string}
11288
+ * @memberof DefaultApiGetUpcomingInvoice
11289
+ */
11290
+ readonly id: string;
11291
+ }
10870
11292
  /**
10871
11293
  * Request parameters for getUsage operation in DefaultApi.
10872
11294
  * @export
@@ -11121,6 +11543,12 @@ export interface DefaultApiListEventsRequest {
11121
11543
  * @interface DefaultApiListFilesRequest
11122
11544
  */
11123
11545
  export interface DefaultApiListFilesRequest {
11546
+ /**
11547
+ * Bot id
11548
+ * @type {string}
11549
+ * @memberof DefaultApiListFiles
11550
+ */
11551
+ readonly xBotId: string;
11124
11552
  /**
11125
11553
  * Bot ID
11126
11554
  * @type {string}
@@ -11133,6 +11561,30 @@ export interface DefaultApiListFilesRequest {
11133
11561
  * @memberof DefaultApiListFiles
11134
11562
  */
11135
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;
11136
11588
  }
11137
11589
  /**
11138
11590
  * Request parameters for listIntegrations operation in DefaultApi.
@@ -11652,6 +12104,49 @@ export interface DefaultApiUpdateConversationRequest {
11652
12104
  */
11653
12105
  readonly updateConversationBody?: UpdateConversationBody;
11654
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
+ }
11655
12150
  /**
11656
12151
  * Request parameters for updateIntegration operation in DefaultApi.
11657
12152
  * @export
@@ -11919,13 +12414,13 @@ export declare class DefaultApi extends BaseAPI {
11919
12414
  */
11920
12415
  createEvent(requestParameters?: DefaultApiCreateEventRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventResponse, any>>;
11921
12416
  /**
11922
- * Create File
12417
+ * Creates a file.
11923
12418
  * @param {DefaultApiCreateFileRequest} requestParameters Request parameters.
11924
12419
  * @param {*} [options] Override http request option.
11925
12420
  * @throws {RequiredError}
11926
12421
  * @memberof DefaultApi
11927
12422
  */
11928
- createFile(requestParameters?: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFileResponse, any>>;
12423
+ createFile(requestParameters: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFileResponse, any>>;
11929
12424
  /**
11930
12425
  * Create integration
11931
12426
  * @param {DefaultApiCreateIntegrationRequest} requestParameters Request parameters.
@@ -12023,7 +12518,7 @@ export declare class DefaultApi extends BaseAPI {
12023
12518
  */
12024
12519
  deleteConversation(requestParameters: DefaultApiDeleteConversationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
12025
12520
  /**
12026
- * Delete File
12521
+ * Deletes a file.
12027
12522
  * @param {DefaultApiDeleteFileRequest} requestParameters Request parameters.
12028
12523
  * @param {*} [options] Override http request option.
12029
12524
  * @throws {RequiredError}
@@ -12102,14 +12597,6 @@ export declare class DefaultApi extends BaseAPI {
12102
12597
  * @memberof DefaultApi
12103
12598
  */
12104
12599
  deleteWorkspaceMember(requestParameters: DefaultApiDeleteWorkspaceMemberRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
12105
- /**
12106
- * Download File
12107
- * @param {DefaultApiDownloadFileRequest} requestParameters Request parameters.
12108
- * @param {*} [options] Override http request option.
12109
- * @throws {RequiredError}
12110
- * @memberof DefaultApi
12111
- */
12112
- downloadFile(requestParameters: DefaultApiDownloadFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
12113
12600
  /**
12114
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.
12115
12602
  * @param {DefaultApiFindTableRowsRequest} requestParameters Request parameters.
@@ -12199,13 +12686,21 @@ export declare class DefaultApi extends BaseAPI {
12199
12686
  */
12200
12687
  getEvent(requestParameters: DefaultApiGetEventRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventResponse, any>>;
12201
12688
  /**
12202
- * Get File
12203
- * @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.
12204
12699
  * @param {*} [options] Override http request option.
12205
12700
  * @throws {RequiredError}
12206
12701
  * @memberof DefaultApi
12207
12702
  */
12208
- getFile(requestParameters: DefaultApiGetFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFileResponse, any>>;
12703
+ getFileMetadata(requestParameters: DefaultApiGetFileMetadataRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFileMetadataResponse, any>>;
12209
12704
  /**
12210
12705
  * Get integration
12211
12706
  * @param {DefaultApiGetIntegrationRequest} requestParameters Request parameters.
@@ -12334,6 +12829,14 @@ export declare class DefaultApi extends BaseAPI {
12334
12829
  * @memberof DefaultApi
12335
12830
  */
12336
12831
  getTask(requestParameters: DefaultApiGetTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTaskResponse, any>>;
12832
+ /**
12833
+ * Get upcoming invoice for workspace
12834
+ * @param {DefaultApiGetUpcomingInvoiceRequest} requestParameters Request parameters.
12835
+ * @param {*} [options] Override http request option.
12836
+ * @throws {RequiredError}
12837
+ * @memberof DefaultApi
12838
+ */
12839
+ getUpcomingInvoice(requestParameters: DefaultApiGetUpcomingInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUpcomingInvoiceResponse, any>>;
12337
12840
  /**
12338
12841
  * Get usage
12339
12842
  * @param {DefaultApiGetUsageRequest} requestParameters Request parameters.
@@ -12431,7 +12934,7 @@ export declare class DefaultApi extends BaseAPI {
12431
12934
  */
12432
12935
  listEvents(requestParameters?: DefaultApiListEventsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEventsResponse, any>>;
12433
12936
  /**
12434
- * List Files
12937
+ * List files for bot
12435
12938
  * @param {DefaultApiListFilesRequest} requestParameters Request parameters.
12436
12939
  * @param {*} [options] Override http request option.
12437
12940
  * @throws {RequiredError}
@@ -12637,6 +13140,14 @@ export declare class DefaultApi extends BaseAPI {
12637
13140
  * @memberof DefaultApi
12638
13141
  */
12639
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>>;
12640
13151
  /**
12641
13152
  * Update integration
12642
13153
  * @param {DefaultApiUpdateIntegrationRequest} requestParameters Request parameters.