@botpress/client 0.13.1 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/gen/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Botpress API
3
3
  * API for Botpress Cloud
4
4
  *
5
- * The version of the OpenAPI document: 0.22.0
5
+ * The version of the OpenAPI document: 0.26.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -601,155 +601,6 @@ export interface ChangeAISpendQuotaBody {
601
601
  */
602
602
  'monthlySpendingLimit': number;
603
603
  }
604
- /**
605
- *
606
- * @export
607
- * @interface ChangeWorkspacePlanBody
608
- */
609
- export interface ChangeWorkspacePlanBody {
610
- /**
611
- *
612
- * @type {string}
613
- * @memberof ChangeWorkspacePlanBody
614
- */
615
- 'plan': ChangeWorkspacePlanBodyPlanEnum;
616
- }
617
- export declare const ChangeWorkspacePlanBodyPlanEnum: {
618
- readonly Free: "free";
619
- readonly Premium: "premium";
620
- };
621
- export type ChangeWorkspacePlanBodyPlanEnum = typeof ChangeWorkspacePlanBodyPlanEnum[keyof typeof ChangeWorkspacePlanBodyPlanEnum];
622
- /**
623
- *
624
- * @export
625
- * @interface ChangeWorkspacePlanResponse
626
- */
627
- export interface ChangeWorkspacePlanResponse {
628
- /**
629
- *
630
- * @type {string}
631
- * @memberof ChangeWorkspacePlanResponse
632
- */
633
- 'id': string;
634
- /**
635
- *
636
- * @type {string}
637
- * @memberof ChangeWorkspacePlanResponse
638
- */
639
- 'name': string;
640
- /**
641
- *
642
- * @type {string}
643
- * @memberof ChangeWorkspacePlanResponse
644
- */
645
- 'ownerId': string;
646
- /**
647
- *
648
- * @type {string}
649
- * @memberof ChangeWorkspacePlanResponse
650
- */
651
- 'createdAt': string;
652
- /**
653
- *
654
- * @type {string}
655
- * @memberof ChangeWorkspacePlanResponse
656
- */
657
- 'updatedAt': string;
658
- /**
659
- *
660
- * @type {number}
661
- * @memberof ChangeWorkspacePlanResponse
662
- */
663
- 'botCount': number;
664
- /**
665
- *
666
- * @type {string}
667
- * @memberof ChangeWorkspacePlanResponse
668
- */
669
- 'accountType': ChangeWorkspacePlanResponseAccountTypeEnum;
670
- /**
671
- *
672
- * @type {string}
673
- * @memberof ChangeWorkspacePlanResponse
674
- */
675
- 'billingVersion': ChangeWorkspacePlanResponseBillingVersionEnum;
676
- /**
677
- *
678
- * @type {string}
679
- * @memberof ChangeWorkspacePlanResponse
680
- */
681
- 'plan': ChangeWorkspacePlanResponsePlanEnum;
682
- /**
683
- *
684
- * @type {boolean}
685
- * @memberof ChangeWorkspacePlanResponse
686
- */
687
- 'blocked': boolean;
688
- /**
689
- *
690
- * @type {number}
691
- * @memberof ChangeWorkspacePlanResponse
692
- */
693
- 'spendingLimit': number;
694
- /**
695
- *
696
- * @type {string}
697
- * @memberof ChangeWorkspacePlanResponse
698
- */
699
- 'about'?: string;
700
- /**
701
- *
702
- * @type {string}
703
- * @memberof ChangeWorkspacePlanResponse
704
- */
705
- 'profilePicture'?: string;
706
- /**
707
- *
708
- * @type {string}
709
- * @memberof ChangeWorkspacePlanResponse
710
- */
711
- 'contactEmail'?: string;
712
- /**
713
- *
714
- * @type {string}
715
- * @memberof ChangeWorkspacePlanResponse
716
- */
717
- 'website'?: string;
718
- /**
719
- *
720
- * @type {Array<string>}
721
- * @memberof ChangeWorkspacePlanResponse
722
- */
723
- 'socialAccounts'?: Array<string>;
724
- /**
725
- *
726
- * @type {boolean}
727
- * @memberof ChangeWorkspacePlanResponse
728
- */
729
- 'isPublic'?: boolean;
730
- /**
731
- *
732
- * @type {string}
733
- * @memberof ChangeWorkspacePlanResponse
734
- */
735
- 'handle'?: string;
736
- }
737
- export declare const ChangeWorkspacePlanResponseAccountTypeEnum: {
738
- readonly Free: "free";
739
- readonly Premium: "premium";
740
- };
741
- export type ChangeWorkspacePlanResponseAccountTypeEnum = typeof ChangeWorkspacePlanResponseAccountTypeEnum[keyof typeof ChangeWorkspacePlanResponseAccountTypeEnum];
742
- export declare const ChangeWorkspacePlanResponseBillingVersionEnum: {
743
- readonly V1: "v1";
744
- readonly V2: "v2";
745
- };
746
- export type ChangeWorkspacePlanResponseBillingVersionEnum = typeof ChangeWorkspacePlanResponseBillingVersionEnum[keyof typeof ChangeWorkspacePlanResponseBillingVersionEnum];
747
- export declare const ChangeWorkspacePlanResponsePlanEnum: {
748
- readonly Community: "community";
749
- readonly Team: "team";
750
- readonly Enterprise: "enterprise";
751
- };
752
- export type ChangeWorkspacePlanResponsePlanEnum = typeof ChangeWorkspacePlanResponsePlanEnum[keyof typeof ChangeWorkspacePlanResponsePlanEnum];
753
604
  /**
754
605
  *
755
606
  * @export
@@ -1372,12 +1223,43 @@ export interface CreateEventResponse {
1372
1223
  */
1373
1224
  export interface CreateFileBody {
1374
1225
  /**
1375
- *
1376
- * @type {any}
1226
+ * File name
1227
+ * @type {string}
1228
+ * @memberof CreateFileBody
1229
+ */
1230
+ 'name'?: string;
1231
+ /**
1232
+ * File tags as an object of key/value pairs
1233
+ * @type {{ [key: string]: string; }}
1377
1234
  * @memberof CreateFileBody
1378
1235
  */
1379
- 'data'?: any | null;
1236
+ 'tags'?: {
1237
+ [key: string]: string;
1238
+ };
1239
+ /**
1240
+ * Set to a value of \'true\' to index the file in vector storage. Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.
1241
+ * @type {boolean}
1242
+ * @memberof CreateFileBody
1243
+ */
1244
+ 'index'?: boolean;
1245
+ /**
1246
+ * File access policies. Add \"public_content\" to allow public access to the file content. Add \"integrations\" to allow read, search and list operations for any integration installed in the bot.
1247
+ * @type {Array<string>}
1248
+ * @memberof CreateFileBody
1249
+ */
1250
+ 'accessPolicies'?: Array<CreateFileBodyAccessPoliciesEnum>;
1251
+ /**
1252
+ * File content type. If omitted, the content type will be inferred from the file extension. If a type cannot be inferred, the default is \"application/octet-stream\".
1253
+ * @type {string}
1254
+ * @memberof CreateFileBody
1255
+ */
1256
+ 'contentType'?: string;
1380
1257
  }
1258
+ export declare const CreateFileBodyAccessPoliciesEnum: {
1259
+ readonly PublicContent: "public_content";
1260
+ readonly Integrations: "integrations";
1261
+ };
1262
+ export type CreateFileBodyAccessPoliciesEnum = typeof CreateFileBodyAccessPoliciesEnum[keyof typeof CreateFileBodyAccessPoliciesEnum];
1381
1263
  /**
1382
1264
  *
1383
1265
  * @export
@@ -1416,7 +1298,7 @@ export interface CreateFileResponseFile {
1416
1298
  */
1417
1299
  'name': string | null;
1418
1300
  /**
1419
- * File size in bytes
1301
+ * File size in bytes. Non-null if file upload status is \"COMPLETE\".
1420
1302
  * @type {number}
1421
1303
  * @memberof CreateFileResponseFile
1422
1304
  */
@@ -1465,6 +1347,24 @@ export interface CreateFileResponseFile {
1465
1347
  * @memberof CreateFileResponseFile
1466
1348
  */
1467
1349
  'indexingFailureReason'?: string;
1350
+ /**
1351
+ * Status of the file upload process. If the status is \"PENDING\", the file content has not been uploaded yet. The status will be set to \"COMPLETE\" once the file content has been uploaded successfully. If the status is \"FAILED\", the file content could not be uploaded. See \"uploadFailureReason\" for more details.
1352
+ * @type {string}
1353
+ * @memberof CreateFileResponseFile
1354
+ */
1355
+ 'uploadStatus': CreateFileResponseFileUploadStatusEnum;
1356
+ /**
1357
+ * Failure reason of the file upload if the upload status is \"FAILED\".
1358
+ * @type {string}
1359
+ * @memberof CreateFileResponseFile
1360
+ */
1361
+ 'uploadFailureReason'?: string;
1362
+ /**
1363
+ * URL to upload the file content. File content needs to be sent to this URL via a POST request.
1364
+ * @type {string}
1365
+ * @memberof CreateFileResponseFile
1366
+ */
1367
+ 'uploadUrl': string;
1468
1368
  }
1469
1369
  export declare const CreateFileResponseFileIndexingStatusEnum: {
1470
1370
  readonly Pending: "PENDING";
@@ -1473,6 +1373,12 @@ export declare const CreateFileResponseFileIndexingStatusEnum: {
1473
1373
  readonly Failed: "FAILED";
1474
1374
  };
1475
1375
  export type CreateFileResponseFileIndexingStatusEnum = typeof CreateFileResponseFileIndexingStatusEnum[keyof typeof CreateFileResponseFileIndexingStatusEnum];
1376
+ export declare const CreateFileResponseFileUploadStatusEnum: {
1377
+ readonly Pending: "PENDING";
1378
+ readonly Complete: "COMPLETE";
1379
+ readonly Failed: "FAILED";
1380
+ };
1381
+ export type CreateFileResponseFileUploadStatusEnum = typeof CreateFileResponseFileUploadStatusEnum[keyof typeof CreateFileResponseFileUploadStatusEnum];
1476
1382
  /**
1477
1383
  *
1478
1384
  * @export
@@ -1484,7 +1390,7 @@ export interface CreateIntegrationApiKeyBody {
1484
1390
  * @type {string}
1485
1391
  * @memberof CreateIntegrationApiKeyBody
1486
1392
  */
1487
- 'integrationVersionId': string;
1393
+ 'integrationId': string;
1488
1394
  /**
1489
1395
  *
1490
1396
  * @type {string}
@@ -1614,7 +1520,7 @@ export interface CreateIntegrationBody {
1614
1520
  */
1615
1521
  'code'?: string;
1616
1522
  /**
1617
- * URL of the integration; Only available for dev integrations
1523
+ * URL of the integration
1618
1524
  * @type {string}
1619
1525
  * @memberof CreateIntegrationBody
1620
1526
  */
@@ -2808,14 +2714,12 @@ export declare const GetAuditRecordsResponseRecordsInnerActionEnum: {
2808
2714
  readonly DeleteBot: "DELETE_BOT";
2809
2715
  readonly DeployBot: "DEPLOY_BOT";
2810
2716
  readonly TransferBot: "TRANSFER_BOT";
2811
- readonly DowngradeWorkspacePlan: "DOWNGRADE_WORKSPACE_PLAN";
2812
2717
  readonly DownloadBotArchive: "DOWNLOAD_BOT_ARCHIVE";
2813
2718
  readonly UpdateBot: "UPDATE_BOT";
2814
2719
  readonly UpdateBotChannel: "UPDATE_BOT_CHANNEL";
2815
2720
  readonly UpdateBotConfig: "UPDATE_BOT_CONFIG";
2816
2721
  readonly UpdatePaymentMethod: "UPDATE_PAYMENT_METHOD";
2817
2722
  readonly UpdateWorkspace: "UPDATE_WORKSPACE";
2818
- readonly UpgradeWorkspacePlan: "UPGRADE_WORKSPACE_PLAN";
2819
2723
  readonly SetSpendingLimit: "SET_SPENDING_LIMIT";
2820
2724
  readonly SetAiSpendingLimit: "SET_AI_SPENDING_LIMIT";
2821
2725
  };
@@ -3019,11 +2923,111 @@ export interface GetFileContentResponse {
3019
2923
  export interface GetFileMetadataResponse {
3020
2924
  /**
3021
2925
  *
3022
- * @type {CreateFileResponseFile}
2926
+ * @type {GetFileMetadataResponseFile}
3023
2927
  * @memberof GetFileMetadataResponse
3024
2928
  */
3025
- 'file': CreateFileResponseFile;
2929
+ 'file': GetFileMetadataResponseFile;
2930
+ }
2931
+ /**
2932
+ *
2933
+ * @export
2934
+ * @interface GetFileMetadataResponseFile
2935
+ */
2936
+ export interface GetFileMetadataResponseFile {
2937
+ /**
2938
+ * File ID
2939
+ * @type {string}
2940
+ * @memberof GetFileMetadataResponseFile
2941
+ */
2942
+ 'id': string;
2943
+ /**
2944
+ * The ID of the bot the file belongs to
2945
+ * @type {string}
2946
+ * @memberof GetFileMetadataResponseFile
2947
+ */
2948
+ 'botId': string;
2949
+ /**
2950
+ * File name
2951
+ * @type {string}
2952
+ * @memberof GetFileMetadataResponseFile
2953
+ */
2954
+ 'name': string | null;
2955
+ /**
2956
+ * File size in bytes. Non-null if file upload status is \"COMPLETE\".
2957
+ * @type {number}
2958
+ * @memberof GetFileMetadataResponseFile
2959
+ */
2960
+ 'size': number | null;
2961
+ /**
2962
+ * MIME type of the file\'s content
2963
+ * @type {string}
2964
+ * @memberof GetFileMetadataResponseFile
2965
+ */
2966
+ 'contentType': string;
2967
+ /**
2968
+ * The tags of the file as an object of key/value pairs
2969
+ * @type {{ [key: string]: string; }}
2970
+ * @memberof GetFileMetadataResponseFile
2971
+ */
2972
+ 'tags': {
2973
+ [key: string]: string;
2974
+ };
2975
+ /**
2976
+ * File creation timestamp in ISO 8601 format
2977
+ * @type {string}
2978
+ * @memberof GetFileMetadataResponseFile
2979
+ */
2980
+ 'createdAt': string;
2981
+ /**
2982
+ * File last update timestamp in ISO 8601 format
2983
+ * @type {string}
2984
+ * @memberof GetFileMetadataResponseFile
2985
+ */
2986
+ 'updatedAt': string;
2987
+ /**
2988
+ * Access policies configured for the file.
2989
+ * @type {Array<string>}
2990
+ * @memberof GetFileMetadataResponseFile
2991
+ */
2992
+ 'accessPolicies': Array<string>;
2993
+ /**
2994
+ * Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created.
2995
+ * @type {string}
2996
+ * @memberof GetFileMetadataResponseFile
2997
+ */
2998
+ 'indexingStatus'?: GetFileMetadataResponseFileIndexingStatusEnum;
2999
+ /**
3000
+ * Last failure reason of the file indexing if the indexing status is \"FAILED\".
3001
+ * @type {string}
3002
+ * @memberof GetFileMetadataResponseFile
3003
+ */
3004
+ 'indexingFailureReason'?: string;
3005
+ /**
3006
+ * Status of the file upload process. If the status is \"PENDING\", the file content has not been uploaded yet. The status will be set to \"COMPLETE\" once the file content has been uploaded successfully. If the status is \"FAILED\", the file content could not be uploaded. See \"uploadFailureReason\" for more details.
3007
+ * @type {string}
3008
+ * @memberof GetFileMetadataResponseFile
3009
+ */
3010
+ 'uploadStatus': GetFileMetadataResponseFileUploadStatusEnum;
3011
+ /**
3012
+ * Failure reason of the file upload if the upload status is \"FAILED\".
3013
+ * @type {string}
3014
+ * @memberof GetFileMetadataResponseFile
3015
+ */
3016
+ 'uploadFailureReason'?: string;
3026
3017
  }
3018
+ export declare const GetFileMetadataResponseFileIndexingStatusEnum: {
3019
+ readonly Pending: "PENDING";
3020
+ readonly InProgress: "IN_PROGRESS";
3021
+ readonly Complete: "COMPLETE";
3022
+ readonly Failed: "FAILED";
3023
+ };
3024
+ export type GetFileMetadataResponseFileIndexingStatusEnum = typeof GetFileMetadataResponseFileIndexingStatusEnum[keyof typeof GetFileMetadataResponseFileIndexingStatusEnum];
3025
+ export declare const GetFileMetadataResponseFileUploadStatusEnum: {
3026
+ readonly Pending: "PENDING";
3027
+ readonly Complete: "COMPLETE";
3028
+ readonly Failed: "FAILED";
3029
+ };
3030
+ export type GetFileMetadataResponseFileUploadStatusEnum = typeof GetFileMetadataResponseFileUploadStatusEnum[keyof typeof GetFileMetadataResponseFileUploadStatusEnum];
3027
3031
  /**
3028
3032
  *
3029
3033
  * @export
@@ -3386,6 +3390,12 @@ export interface GetPublicIntegrationByIdResponseIntegration {
3386
3390
  * @memberof GetPublicIntegrationByIdResponseIntegration
3387
3391
  */
3388
3392
  'identifier': GetPublicIntegrationByIdResponseIntegrationIdentifier;
3393
+ /**
3394
+ * Title describing the task
3395
+ * @type {string}
3396
+ * @memberof GetPublicIntegrationByIdResponseIntegration
3397
+ */
3398
+ 'url': string;
3389
3399
  /**
3390
3400
  * Unique identifier of the integration that was installed on the bot
3391
3401
  * @type {string}
@@ -4067,125 +4077,6 @@ export interface GetUserResponse {
4067
4077
  */
4068
4078
  'user': User;
4069
4079
  }
4070
- /**
4071
- *
4072
- * @export
4073
- * @interface GetWorkspaceBillingDetailsResponse
4074
- */
4075
- export interface GetWorkspaceBillingDetailsResponse {
4076
- /**
4077
- *
4078
- * @type {GetWorkspaceBillingDetailsResponseCurrentPeriod}
4079
- * @memberof GetWorkspaceBillingDetailsResponse
4080
- */
4081
- 'currentPeriod': GetWorkspaceBillingDetailsResponseCurrentPeriod;
4082
- /**
4083
- *
4084
- * @type {GetWorkspaceBillingDetailsResponsePaymentMethod}
4085
- * @memberof GetWorkspaceBillingDetailsResponse
4086
- */
4087
- 'paymentMethod': GetWorkspaceBillingDetailsResponsePaymentMethod | null;
4088
- }
4089
- /**
4090
- *
4091
- * @export
4092
- * @interface GetWorkspaceBillingDetailsResponseCurrentPeriod
4093
- */
4094
- export interface GetWorkspaceBillingDetailsResponseCurrentPeriod {
4095
- /**
4096
- *
4097
- * @type {string}
4098
- * @memberof GetWorkspaceBillingDetailsResponseCurrentPeriod
4099
- */
4100
- 'start': string;
4101
- /**
4102
- *
4103
- * @type {string}
4104
- * @memberof GetWorkspaceBillingDetailsResponseCurrentPeriod
4105
- */
4106
- 'end': string;
4107
- /**
4108
- *
4109
- * @type {GetWorkspaceBillingDetailsResponseCurrentPeriodUsage}
4110
- * @memberof GetWorkspaceBillingDetailsResponseCurrentPeriod
4111
- */
4112
- 'usage': GetWorkspaceBillingDetailsResponseCurrentPeriodUsage;
4113
- }
4114
- /**
4115
- *
4116
- * @export
4117
- * @interface GetWorkspaceBillingDetailsResponseCurrentPeriodUsage
4118
- */
4119
- export interface GetWorkspaceBillingDetailsResponseCurrentPeriodUsage {
4120
- /**
4121
- *
4122
- * @type {GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages}
4123
- * @memberof GetWorkspaceBillingDetailsResponseCurrentPeriodUsage
4124
- */
4125
- 'userMessages': GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages;
4126
- }
4127
- /**
4128
- *
4129
- * @export
4130
- * @interface GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages
4131
- */
4132
- export interface GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages {
4133
- /**
4134
- *
4135
- * @type {string}
4136
- * @memberof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages
4137
- */
4138
- 'status': GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessagesStatusEnum;
4139
- /**
4140
- *
4141
- * @type {number}
4142
- * @memberof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages
4143
- */
4144
- 'quantity': number;
4145
- /**
4146
- *
4147
- * @type {number}
4148
- * @memberof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages
4149
- */
4150
- 'price': number;
4151
- /**
4152
- *
4153
- * @type {number}
4154
- * @memberof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages
4155
- */
4156
- 'minimum': number;
4157
- /**
4158
- *
4159
- * @type {number}
4160
- * @memberof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages
4161
- */
4162
- 'maximum': number;
4163
- }
4164
- export declare const GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessagesStatusEnum: {
4165
- readonly Ok: "OK";
4166
- readonly Warning: "Warning";
4167
- readonly LimitReached: "LimitReached";
4168
- };
4169
- export type GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessagesStatusEnum = typeof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessagesStatusEnum[keyof typeof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessagesStatusEnum];
4170
- /**
4171
- *
4172
- * @export
4173
- * @interface GetWorkspaceBillingDetailsResponsePaymentMethod
4174
- */
4175
- export interface GetWorkspaceBillingDetailsResponsePaymentMethod {
4176
- /**
4177
- *
4178
- * @type {string}
4179
- * @memberof GetWorkspaceBillingDetailsResponsePaymentMethod
4180
- */
4181
- 'type': string;
4182
- /**
4183
- *
4184
- * @type {string}
4185
- * @memberof GetWorkspaceBillingDetailsResponsePaymentMethod
4186
- */
4187
- 'lastDigits': string;
4188
- }
4189
4080
  /**
4190
4081
  *
4191
4082
  * @export
@@ -4401,6 +4292,12 @@ export interface Integration {
4401
4292
  * @memberof Integration
4402
4293
  */
4403
4294
  'identifier': GetPublicIntegrationByIdResponseIntegrationIdentifier;
4295
+ /**
4296
+ * Title describing the task
4297
+ * @type {string}
4298
+ * @memberof Integration
4299
+ */
4300
+ 'url': string;
4404
4301
  /**
4405
4302
  * Type of the task
4406
4303
  * @type {string}
@@ -4992,7 +4889,7 @@ export interface ListFilesResponseFilesInner {
4992
4889
  */
4993
4890
  'name': string | null;
4994
4891
  /**
4995
- * File size in bytes
4892
+ * File size in bytes. Non-null if file upload status is \"COMPLETE\".
4996
4893
  * @type {number}
4997
4894
  * @memberof ListFilesResponseFilesInner
4998
4895
  */
@@ -5041,6 +4938,18 @@ export interface ListFilesResponseFilesInner {
5041
4938
  * @memberof ListFilesResponseFilesInner
5042
4939
  */
5043
4940
  'indexingFailureReason'?: string;
4941
+ /**
4942
+ * Status of the file upload process. If the status is \"PENDING\", the file content has not been uploaded yet. The status will be set to \"COMPLETE\" once the file content has been uploaded successfully. If the status is \"FAILED\", the file content could not be uploaded. See \"uploadFailureReason\" for more details.
4943
+ * @type {string}
4944
+ * @memberof ListFilesResponseFilesInner
4945
+ */
4946
+ 'uploadStatus': ListFilesResponseFilesInnerUploadStatusEnum;
4947
+ /**
4948
+ * Failure reason of the file upload if the upload status is \"FAILED\".
4949
+ * @type {string}
4950
+ * @memberof ListFilesResponseFilesInner
4951
+ */
4952
+ 'uploadFailureReason'?: string;
5044
4953
  }
5045
4954
  export declare const ListFilesResponseFilesInnerIndexingStatusEnum: {
5046
4955
  readonly Pending: "PENDING";
@@ -5049,6 +4958,12 @@ export declare const ListFilesResponseFilesInnerIndexingStatusEnum: {
5049
4958
  readonly Failed: "FAILED";
5050
4959
  };
5051
4960
  export type ListFilesResponseFilesInnerIndexingStatusEnum = typeof ListFilesResponseFilesInnerIndexingStatusEnum[keyof typeof ListFilesResponseFilesInnerIndexingStatusEnum];
4961
+ export declare const ListFilesResponseFilesInnerUploadStatusEnum: {
4962
+ readonly Pending: "PENDING";
4963
+ readonly Complete: "COMPLETE";
4964
+ readonly Failed: "FAILED";
4965
+ };
4966
+ export type ListFilesResponseFilesInnerUploadStatusEnum = typeof ListFilesResponseFilesInnerUploadStatusEnum[keyof typeof ListFilesResponseFilesInnerUploadStatusEnum];
5052
4967
  /**
5053
4968
  *
5054
4969
  * @export
@@ -5731,7 +5646,7 @@ export interface ModelFile {
5731
5646
  */
5732
5647
  'name': string | null;
5733
5648
  /**
5734
- * File size in bytes
5649
+ * File size in bytes. Non-null if file upload status is \"COMPLETE\".
5735
5650
  * @type {number}
5736
5651
  * @memberof ModelFile
5737
5652
  */
@@ -5780,6 +5695,18 @@ export interface ModelFile {
5780
5695
  * @memberof ModelFile
5781
5696
  */
5782
5697
  'indexingFailureReason'?: string;
5698
+ /**
5699
+ * Status of the file upload process. If the status is \"PENDING\", the file content has not been uploaded yet. The status will be set to \"COMPLETE\" once the file content has been uploaded successfully. If the status is \"FAILED\", the file content could not be uploaded. See \"uploadFailureReason\" for more details.
5700
+ * @type {string}
5701
+ * @memberof ModelFile
5702
+ */
5703
+ 'uploadStatus': ModelFileUploadStatusEnum;
5704
+ /**
5705
+ * Failure reason of the file upload if the upload status is \"FAILED\".
5706
+ * @type {string}
5707
+ * @memberof ModelFile
5708
+ */
5709
+ 'uploadFailureReason'?: string;
5783
5710
  }
5784
5711
  export declare const ModelFileIndexingStatusEnum: {
5785
5712
  readonly Pending: "PENDING";
@@ -5788,6 +5715,12 @@ export declare const ModelFileIndexingStatusEnum: {
5788
5715
  readonly Failed: "FAILED";
5789
5716
  };
5790
5717
  export type ModelFileIndexingStatusEnum = typeof ModelFileIndexingStatusEnum[keyof typeof ModelFileIndexingStatusEnum];
5718
+ export declare const ModelFileUploadStatusEnum: {
5719
+ readonly Pending: "PENDING";
5720
+ readonly Complete: "COMPLETE";
5721
+ readonly Failed: "FAILED";
5722
+ };
5723
+ export type ModelFileUploadStatusEnum = typeof ModelFileUploadStatusEnum[keyof typeof ModelFileUploadStatusEnum];
5791
5724
  /**
5792
5725
  *
5793
5726
  * @export
@@ -6073,10 +6006,10 @@ export interface SetWorkspacePaymentMethodResponse {
6073
6006
  'stripePaymentMethodId': string;
6074
6007
  /**
6075
6008
  *
6076
- * @type {GetWorkspaceBillingDetailsResponsePaymentMethod}
6009
+ * @type {SetWorkspacePaymentMethodResponsePaymentMethod}
6077
6010
  * @memberof SetWorkspacePaymentMethodResponse
6078
6011
  */
6079
- 'paymentMethod': GetWorkspaceBillingDetailsResponsePaymentMethod | null;
6012
+ 'paymentMethod': SetWorkspacePaymentMethodResponsePaymentMethod | null;
6080
6013
  /**
6081
6014
  *
6082
6015
  * @type {string}
@@ -6112,6 +6045,25 @@ export interface SetWorkspacePaymentMethodResponseNextAction {
6112
6045
  */
6113
6046
  'redirectToUrl': string;
6114
6047
  }
6048
+ /**
6049
+ *
6050
+ * @export
6051
+ * @interface SetWorkspacePaymentMethodResponsePaymentMethod
6052
+ */
6053
+ export interface SetWorkspacePaymentMethodResponsePaymentMethod {
6054
+ /**
6055
+ *
6056
+ * @type {string}
6057
+ * @memberof SetWorkspacePaymentMethodResponsePaymentMethod
6058
+ */
6059
+ 'type': string;
6060
+ /**
6061
+ *
6062
+ * @type {string}
6063
+ * @memberof SetWorkspacePaymentMethodResponsePaymentMethod
6064
+ */
6065
+ 'lastDigits': string;
6066
+ }
6115
6067
  /**
6116
6068
  * The state object represents the current payload. A state is always linked to either a bot, a conversation or a user.
6117
6069
  * @export
@@ -6469,6 +6421,25 @@ export declare const TaskStatusEnum: {
6469
6421
  readonly Cancelled: "cancelled";
6470
6422
  };
6471
6423
  export type TaskStatusEnum = typeof TaskStatusEnum[keyof typeof TaskStatusEnum];
6424
+ /**
6425
+ *
6426
+ * @export
6427
+ * @interface TrackAnalyticsBody
6428
+ */
6429
+ export interface TrackAnalyticsBody {
6430
+ /**
6431
+ *
6432
+ * @type {string}
6433
+ * @memberof TrackAnalyticsBody
6434
+ */
6435
+ 'name': string;
6436
+ /**
6437
+ *
6438
+ * @type {number}
6439
+ * @memberof TrackAnalyticsBody
6440
+ */
6441
+ 'count': number;
6442
+ }
6472
6443
  /**
6473
6444
  *
6474
6445
  * @export
@@ -6882,12 +6853,12 @@ export interface UpdateConversationResponse {
6882
6853
  */
6883
6854
  export interface UpdateFileMetadataBody {
6884
6855
  /**
6885
- * The tags to update as an object of key/value pairs. A tag key can be set to a null value to delete it.
6886
- * @type {{ [key: string]: string; }}
6856
+ * The file tags to update as an object of key/value pairs with string (text) values. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`.
6857
+ * @type {{ [key: string]: string | null; }}
6887
6858
  * @memberof UpdateFileMetadataBody
6888
6859
  */
6889
6860
  'tags': {
6890
- [key: string]: string;
6861
+ [key: string]: string | null;
6891
6862
  };
6892
6863
  }
6893
6864
  /**
@@ -7008,11 +6979,11 @@ export interface UpdateIntegrationBody {
7008
6979
  */
7009
6980
  'description'?: string;
7010
6981
  /**
7011
- * URL of the integration; Only available for dev integrations
6982
+ * URL of the integration
7012
6983
  * @type {string}
7013
6984
  * @memberof UpdateIntegrationBody
7014
6985
  */
7015
- 'url'?: string;
6986
+ 'url'?: string | null;
7016
6987
  /**
7017
6988
  * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
7018
6989
  * @type {boolean}
@@ -8247,14 +8218,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8247
8218
  * @throws {RequiredError}
8248
8219
  */
8249
8220
  changeAISpendQuota: (changeAISpendQuotaBody?: ChangeAISpendQuotaBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8250
- /**
8251
- * Change workspace billing plan
8252
- * @param {string} id Workspace ID
8253
- * @param {ChangeWorkspacePlanBody} [changeWorkspacePlanBody] Billing plan to change the workspace to
8254
- * @param {*} [options] Override http request option.
8255
- * @throws {RequiredError}
8256
- */
8257
- changeWorkspacePlan: (id: string, changeWorkspacePlanBody?: ChangeWorkspacePlanBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8258
8221
  /**
8259
8222
  * Charge unpaid invoices of a workspace.
8260
8223
  * @param {string} id Workspace ID
@@ -8300,17 +8263,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8300
8263
  createEvent: (createEventBody?: CreateEventBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8301
8264
  /**
8302
8265
  * Creates a file.
8303
- * @param {string} [xName] File name
8304
- * @param {string} [xTags] File tags as URL-encoded JSON string representing an object of key-value pairs.
8305
- * @param {string} [xAccessPolicies] File access policies, comma-separated. Add \&quot;public_content\&quot; to allow public access to the file content. Add \&quot;integrations\&quot; to allo read, search and list operations for any integration installed in the bot.
8306
- * @param {boolean} [xIndex] Set to a value of \&quot;true\&quot; to index the file in vector storage (default: false). Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.
8307
- * @param {string} [contentType] File content type. If omitted, the content type will be inferred from the file extension. If a type cannot be inferred, the default is \&quot;application/octet-stream\&quot;.
8308
- * @param {string} [contentLength] File content length
8309
8266
  * @param {CreateFileBody} [createFileBody] The file to upload.
8310
8267
  * @param {*} [options] Override http request option.
8311
8268
  * @throws {RequiredError}
8312
8269
  */
8313
- createFile: (xName?: string, xTags?: string, xAccessPolicies?: string, xIndex?: boolean, contentType?: string, contentLength?: string, createFileBody?: CreateFileBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8270
+ createFile: (createFileBody?: CreateFileBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8314
8271
  /**
8315
8272
  * Create integration
8316
8273
  * @param {CreateIntegrationBody} [createIntegrationBody] Integration
@@ -8749,13 +8706,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8749
8706
  * @throws {RequiredError}
8750
8707
  */
8751
8708
  getWorkspace: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8752
- /**
8753
- * Get billing details of workspace
8754
- * @param {string} id Workspace ID
8755
- * @param {*} [options] Override http request option.
8756
- * @throws {RequiredError}
8757
- */
8758
- getWorkspaceBillingDetails: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8759
8709
  /**
8760
8710
  * Get workspace quota
8761
8711
  * @param {string} id Workspace ID
@@ -8823,10 +8773,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8823
8773
  * @param {string} [conversationId] Filter by conversation id
8824
8774
  * @param {string} [userId] Filter by user id
8825
8775
  * @param {string} [messageId] Filter by message id
8776
+ * @param {string} [status] Filter by status. Allowed values: pending, ignored, processed, failed.
8826
8777
  * @param {*} [options] Override http request option.
8827
8778
  * @throws {RequiredError}
8828
8779
  */
8829
- listEvents: (nextToken?: string, type?: string, conversationId?: string, userId?: string, messageId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8780
+ listEvents: (nextToken?: string, type?: string, conversationId?: string, userId?: string, messageId?: string, status?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8830
8781
  /**
8831
8782
  * List files for bot
8832
8783
  * @param {string} botId Bot ID
@@ -8840,11 +8791,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8840
8791
  } | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8841
8792
  /**
8842
8793
  * List IAKs (Integration Api Keys) of an integration
8843
- * @param {string} integrationVersionId ID of the integration version
8794
+ * @param {string} integrationId ID of the integration
8844
8795
  * @param {*} [options] Override http request option.
8845
8796
  * @throws {RequiredError}
8846
8797
  */
8847
- listIntegrationApiKeys: (integrationVersionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8798
+ listIntegrationApiKeys: (integrationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8848
8799
  /**
8849
8800
  * List integrations
8850
8801
  * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
@@ -9042,6 +8993,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
9042
8993
  * @throws {RequiredError}
9043
8994
  */
9044
8995
  setWorkspacePaymentMethod: (id: string, setWorkspacePaymentMethodBody?: SetWorkspacePaymentMethodBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8996
+ /**
8997
+ * Add an event to the analytics
8998
+ * @param {TrackAnalyticsBody} [trackAnalyticsBody] Add an event to the analytics
8999
+ * @param {*} [options] Override http request option.
9000
+ * @throws {RequiredError}
9001
+ */
9002
+ trackAnalytics: (trackAnalyticsBody?: TrackAnalyticsBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9045
9003
  /**
9046
9004
  * Transfer bot to another workspace. You need to be a Manager member of the workspace the bot currently belongs to and have permission to create bots in the target workspace.
9047
9005
  * @param {string} id Bot ID
@@ -9190,14 +9148,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9190
9148
  * @throws {RequiredError}
9191
9149
  */
9192
9150
  changeAISpendQuota(changeAISpendQuotaBody?: ChangeAISpendQuotaBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
9193
- /**
9194
- * Change workspace billing plan
9195
- * @param {string} id Workspace ID
9196
- * @param {ChangeWorkspacePlanBody} [changeWorkspacePlanBody] Billing plan to change the workspace to
9197
- * @param {*} [options] Override http request option.
9198
- * @throws {RequiredError}
9199
- */
9200
- changeWorkspacePlan(id: string, changeWorkspacePlanBody?: ChangeWorkspacePlanBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangeWorkspacePlanResponse>>;
9201
9151
  /**
9202
9152
  * Charge unpaid invoices of a workspace.
9203
9153
  * @param {string} id Workspace ID
@@ -9243,17 +9193,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9243
9193
  createEvent(createEventBody?: CreateEventBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventResponse>>;
9244
9194
  /**
9245
9195
  * Creates a file.
9246
- * @param {string} [xName] File name
9247
- * @param {string} [xTags] File tags as URL-encoded JSON string representing an object of key-value pairs.
9248
- * @param {string} [xAccessPolicies] File access policies, comma-separated. Add \&quot;public_content\&quot; to allow public access to the file content. Add \&quot;integrations\&quot; to allo read, search and list operations for any integration installed in the bot.
9249
- * @param {boolean} [xIndex] Set to a value of \&quot;true\&quot; to index the file in vector storage (default: false). Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.
9250
- * @param {string} [contentType] File content type. If omitted, the content type will be inferred from the file extension. If a type cannot be inferred, the default is \&quot;application/octet-stream\&quot;.
9251
- * @param {string} [contentLength] File content length
9252
9196
  * @param {CreateFileBody} [createFileBody] The file to upload.
9253
9197
  * @param {*} [options] Override http request option.
9254
9198
  * @throws {RequiredError}
9255
9199
  */
9256
- createFile(xName?: string, xTags?: string, xAccessPolicies?: string, xIndex?: boolean, contentType?: string, contentLength?: string, createFileBody?: CreateFileBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFileResponse>>;
9200
+ createFile(createFileBody?: CreateFileBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFileResponse>>;
9257
9201
  /**
9258
9202
  * Create integration
9259
9203
  * @param {CreateIntegrationBody} [createIntegrationBody] Integration
@@ -9694,13 +9638,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9694
9638
  * @throws {RequiredError}
9695
9639
  */
9696
9640
  getWorkspace(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWorkspaceResponse>>;
9697
- /**
9698
- * Get billing details of workspace
9699
- * @param {string} id Workspace ID
9700
- * @param {*} [options] Override http request option.
9701
- * @throws {RequiredError}
9702
- */
9703
- getWorkspaceBillingDetails(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWorkspaceBillingDetailsResponse>>;
9704
9641
  /**
9705
9642
  * Get workspace quota
9706
9643
  * @param {string} id Workspace ID
@@ -9768,10 +9705,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9768
9705
  * @param {string} [conversationId] Filter by conversation id
9769
9706
  * @param {string} [userId] Filter by user id
9770
9707
  * @param {string} [messageId] Filter by message id
9708
+ * @param {string} [status] Filter by status. Allowed values: pending, ignored, processed, failed.
9771
9709
  * @param {*} [options] Override http request option.
9772
9710
  * @throws {RequiredError}
9773
9711
  */
9774
- listEvents(nextToken?: string, type?: string, conversationId?: string, userId?: string, messageId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEventsResponse>>;
9712
+ listEvents(nextToken?: string, type?: string, conversationId?: string, userId?: string, messageId?: string, status?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEventsResponse>>;
9775
9713
  /**
9776
9714
  * List files for bot
9777
9715
  * @param {string} botId Bot ID
@@ -9785,11 +9723,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9785
9723
  } | undefined, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFilesResponse>>;
9786
9724
  /**
9787
9725
  * List IAKs (Integration Api Keys) of an integration
9788
- * @param {string} integrationVersionId ID of the integration version
9726
+ * @param {string} integrationId ID of the integration
9789
9727
  * @param {*} [options] Override http request option.
9790
9728
  * @throws {RequiredError}
9791
9729
  */
9792
- listIntegrationApiKeys(integrationVersionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListIntegrationApiKeysResponse>>;
9730
+ listIntegrationApiKeys(integrationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListIntegrationApiKeysResponse>>;
9793
9731
  /**
9794
9732
  * List integrations
9795
9733
  * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results
@@ -9987,6 +9925,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9987
9925
  * @throws {RequiredError}
9988
9926
  */
9989
9927
  setWorkspacePaymentMethod(id: string, setWorkspacePaymentMethodBody?: SetWorkspacePaymentMethodBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetWorkspacePaymentMethodResponse>>;
9928
+ /**
9929
+ * Add an event to the analytics
9930
+ * @param {TrackAnalyticsBody} [trackAnalyticsBody] Add an event to the analytics
9931
+ * @param {*} [options] Override http request option.
9932
+ * @throws {RequiredError}
9933
+ */
9934
+ trackAnalytics(trackAnalyticsBody?: TrackAnalyticsBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
9990
9935
  /**
9991
9936
  * Transfer bot to another workspace. You need to be a Manager member of the workspace the bot currently belongs to and have permission to create bots in the target workspace.
9992
9937
  * @param {string} id Bot ID
@@ -10132,13 +10077,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10132
10077
  * @throws {RequiredError}
10133
10078
  */
10134
10079
  changeAISpendQuota(requestParameters?: DefaultApiChangeAISpendQuotaRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
10135
- /**
10136
- * Change workspace billing plan
10137
- * @param {DefaultApiChangeWorkspacePlanRequest} requestParameters Request parameters.
10138
- * @param {*} [options] Override http request option.
10139
- * @throws {RequiredError}
10140
- */
10141
- changeWorkspacePlan(requestParameters: DefaultApiChangeWorkspacePlanRequest, options?: AxiosRequestConfig): AxiosPromise<ChangeWorkspacePlanResponse>;
10142
10080
  /**
10143
10081
  * Charge unpaid invoices of a workspace.
10144
10082
  * @param {DefaultApiChargeWorkspaceUnpaidInvoicesRequest} requestParameters Request parameters.
@@ -10601,13 +10539,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10601
10539
  * @throws {RequiredError}
10602
10540
  */
10603
10541
  getWorkspace(requestParameters: DefaultApiGetWorkspaceRequest, options?: AxiosRequestConfig): AxiosPromise<GetWorkspaceResponse>;
10604
- /**
10605
- * Get billing details of workspace
10606
- * @param {DefaultApiGetWorkspaceBillingDetailsRequest} requestParameters Request parameters.
10607
- * @param {*} [options] Override http request option.
10608
- * @throws {RequiredError}
10609
- */
10610
- getWorkspaceBillingDetails(requestParameters: DefaultApiGetWorkspaceBillingDetailsRequest, options?: AxiosRequestConfig): AxiosPromise<GetWorkspaceBillingDetailsResponse>;
10611
10542
  /**
10612
10543
  * Get workspace quota
10613
10544
  * @param {DefaultApiGetWorkspaceQuotaRequest} requestParameters Request parameters.
@@ -10831,6 +10762,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10831
10762
  * @throws {RequiredError}
10832
10763
  */
10833
10764
  setWorkspacePaymentMethod(requestParameters: DefaultApiSetWorkspacePaymentMethodRequest, options?: AxiosRequestConfig): AxiosPromise<SetWorkspacePaymentMethodResponse>;
10765
+ /**
10766
+ * Add an event to the analytics
10767
+ * @param {DefaultApiTrackAnalyticsRequest} requestParameters Request parameters.
10768
+ * @param {*} [options] Override http request option.
10769
+ * @throws {RequiredError}
10770
+ */
10771
+ trackAnalytics(requestParameters?: DefaultApiTrackAnalyticsRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
10834
10772
  /**
10835
10773
  * Transfer bot to another workspace. You need to be a Manager member of the workspace the bot currently belongs to and have permission to create bots in the target workspace.
10836
10774
  * @param {DefaultApiTransferBotRequest} requestParameters Request parameters.
@@ -11000,25 +10938,6 @@ export interface DefaultApiChangeAISpendQuotaRequest {
11000
10938
  */
11001
10939
  readonly changeAISpendQuotaBody?: ChangeAISpendQuotaBody;
11002
10940
  }
11003
- /**
11004
- * Request parameters for changeWorkspacePlan operation in DefaultApi.
11005
- * @export
11006
- * @interface DefaultApiChangeWorkspacePlanRequest
11007
- */
11008
- export interface DefaultApiChangeWorkspacePlanRequest {
11009
- /**
11010
- * Workspace ID
11011
- * @type {string}
11012
- * @memberof DefaultApiChangeWorkspacePlan
11013
- */
11014
- readonly id: string;
11015
- /**
11016
- * Billing plan to change the workspace to
11017
- * @type {ChangeWorkspacePlanBody}
11018
- * @memberof DefaultApiChangeWorkspacePlan
11019
- */
11020
- readonly changeWorkspacePlanBody?: ChangeWorkspacePlanBody;
11021
- }
11022
10941
  /**
11023
10942
  * Request parameters for chargeWorkspaceUnpaidInvoices operation in DefaultApi.
11024
10943
  * @export
@@ -11109,42 +11028,6 @@ export interface DefaultApiCreateEventRequest {
11109
11028
  * @interface DefaultApiCreateFileRequest
11110
11029
  */
11111
11030
  export interface DefaultApiCreateFileRequest {
11112
- /**
11113
- * File name
11114
- * @type {string}
11115
- * @memberof DefaultApiCreateFile
11116
- */
11117
- readonly xName?: string;
11118
- /**
11119
- * File tags as URL-encoded JSON string representing an object of key-value pairs.
11120
- * @type {string}
11121
- * @memberof DefaultApiCreateFile
11122
- */
11123
- readonly xTags?: string;
11124
- /**
11125
- * File access policies, comma-separated. Add \&quot;public_content\&quot; to allow public access to the file content. Add \&quot;integrations\&quot; to allo read, search and list operations for any integration installed in the bot.
11126
- * @type {string}
11127
- * @memberof DefaultApiCreateFile
11128
- */
11129
- readonly xAccessPolicies?: string;
11130
- /**
11131
- * Set to a value of \&quot;true\&quot; to index the file in vector storage (default: false). Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.
11132
- * @type {boolean}
11133
- * @memberof DefaultApiCreateFile
11134
- */
11135
- readonly xIndex?: boolean;
11136
- /**
11137
- * File content type. If omitted, the content type will be inferred from the file extension. If a type cannot be inferred, the default is \&quot;application/octet-stream\&quot;.
11138
- * @type {string}
11139
- * @memberof DefaultApiCreateFile
11140
- */
11141
- readonly contentType?: string;
11142
- /**
11143
- * File content length
11144
- * @type {string}
11145
- * @memberof DefaultApiCreateFile
11146
- */
11147
- readonly contentLength?: string;
11148
11031
  /**
11149
11032
  * The file to upload.
11150
11033
  * @type {CreateFileBody}
@@ -12055,19 +11938,6 @@ export interface DefaultApiGetWorkspaceRequest {
12055
11938
  */
12056
11939
  readonly id: string;
12057
11940
  }
12058
- /**
12059
- * Request parameters for getWorkspaceBillingDetails operation in DefaultApi.
12060
- * @export
12061
- * @interface DefaultApiGetWorkspaceBillingDetailsRequest
12062
- */
12063
- export interface DefaultApiGetWorkspaceBillingDetailsRequest {
12064
- /**
12065
- * Workspace ID
12066
- * @type {string}
12067
- * @memberof DefaultApiGetWorkspaceBillingDetails
12068
- */
12069
- readonly id: string;
12070
- }
12071
11941
  /**
12072
11942
  * Request parameters for getWorkspaceQuota operation in DefaultApi.
12073
11943
  * @export
@@ -12251,6 +12121,12 @@ export interface DefaultApiListEventsRequest {
12251
12121
  * @memberof DefaultApiListEvents
12252
12122
  */
12253
12123
  readonly messageId?: string;
12124
+ /**
12125
+ * Filter by status. Allowed values: pending, ignored, processed, failed.
12126
+ * @type {string}
12127
+ * @memberof DefaultApiListEvents
12128
+ */
12129
+ readonly status?: string;
12254
12130
  }
12255
12131
  /**
12256
12132
  * Request parameters for listFiles operation in DefaultApi.
@@ -12286,11 +12162,11 @@ export interface DefaultApiListFilesRequest {
12286
12162
  */
12287
12163
  export interface DefaultApiListIntegrationApiKeysRequest {
12288
12164
  /**
12289
- * ID of the integration version
12165
+ * ID of the integration
12290
12166
  * @type {string}
12291
12167
  * @memberof DefaultApiListIntegrationApiKeys
12292
12168
  */
12293
- readonly integrationVersionId: string;
12169
+ readonly integrationId: string;
12294
12170
  }
12295
12171
  /**
12296
12172
  * Request parameters for listIntegrations operation in DefaultApi.
@@ -12779,6 +12655,19 @@ export interface DefaultApiSetWorkspacePaymentMethodRequest {
12779
12655
  */
12780
12656
  readonly setWorkspacePaymentMethodBody?: SetWorkspacePaymentMethodBody;
12781
12657
  }
12658
+ /**
12659
+ * Request parameters for trackAnalytics operation in DefaultApi.
12660
+ * @export
12661
+ * @interface DefaultApiTrackAnalyticsRequest
12662
+ */
12663
+ export interface DefaultApiTrackAnalyticsRequest {
12664
+ /**
12665
+ * Add an event to the analytics
12666
+ * @type {TrackAnalyticsBody}
12667
+ * @memberof DefaultApiTrackAnalytics
12668
+ */
12669
+ readonly trackAnalyticsBody?: TrackAnalyticsBody;
12670
+ }
12782
12671
  /**
12783
12672
  * Request parameters for transferBot operation in DefaultApi.
12784
12673
  * @export
@@ -13078,14 +12967,6 @@ export declare class DefaultApi extends BaseAPI {
13078
12967
  * @memberof DefaultApi
13079
12968
  */
13080
12969
  changeAISpendQuota(requestParameters?: DefaultApiChangeAISpendQuotaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
13081
- /**
13082
- * Change workspace billing plan
13083
- * @param {DefaultApiChangeWorkspacePlanRequest} requestParameters Request parameters.
13084
- * @param {*} [options] Override http request option.
13085
- * @throws {RequiredError}
13086
- * @memberof DefaultApi
13087
- */
13088
- changeWorkspacePlan(requestParameters: DefaultApiChangeWorkspacePlanRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangeWorkspacePlanResponse, any>>;
13089
12970
  /**
13090
12971
  * Charge unpaid invoices of a workspace.
13091
12972
  * @param {DefaultApiChargeWorkspaceUnpaidInvoicesRequest} requestParameters Request parameters.
@@ -13614,14 +13495,6 @@ export declare class DefaultApi extends BaseAPI {
13614
13495
  * @memberof DefaultApi
13615
13496
  */
13616
13497
  getWorkspace(requestParameters: DefaultApiGetWorkspaceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetWorkspaceResponse, any>>;
13617
- /**
13618
- * Get billing details of workspace
13619
- * @param {DefaultApiGetWorkspaceBillingDetailsRequest} requestParameters Request parameters.
13620
- * @param {*} [options] Override http request option.
13621
- * @throws {RequiredError}
13622
- * @memberof DefaultApi
13623
- */
13624
- getWorkspaceBillingDetails(requestParameters: DefaultApiGetWorkspaceBillingDetailsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetWorkspaceBillingDetailsResponse, any>>;
13625
13498
  /**
13626
13499
  * Get workspace quota
13627
13500
  * @param {DefaultApiGetWorkspaceQuotaRequest} requestParameters Request parameters.
@@ -13877,6 +13750,14 @@ export declare class DefaultApi extends BaseAPI {
13877
13750
  * @memberof DefaultApi
13878
13751
  */
13879
13752
  setWorkspacePaymentMethod(requestParameters: DefaultApiSetWorkspacePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SetWorkspacePaymentMethodResponse, any>>;
13753
+ /**
13754
+ * Add an event to the analytics
13755
+ * @param {DefaultApiTrackAnalyticsRequest} requestParameters Request parameters.
13756
+ * @param {*} [options] Override http request option.
13757
+ * @throws {RequiredError}
13758
+ * @memberof DefaultApi
13759
+ */
13760
+ trackAnalytics(requestParameters?: DefaultApiTrackAnalyticsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
13880
13761
  /**
13881
13762
  * Transfer bot to another workspace. You need to be a Manager member of the workspace the bot currently belongs to and have permission to create bots in the target workspace.
13882
13763
  * @param {DefaultApiTransferBotRequest} requestParameters Request parameters.