@botpress/client 0.13.0 → 0.14.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/bundle.cjs +7 -7
- package/dist/bundle.cjs.map +3 -3
- package/dist/gen/api.d.ts +66 -176
- package/dist/gen/base.d.ts +1 -1
- package/dist/gen/client.d.ts +1 -3
- package/dist/gen/common.d.ts +1 -1
- package/dist/gen/configuration.d.ts +1 -1
- package/dist/gen/index.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +3 -3
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
- package/readme.md +0 -4
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.24.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1963,6 +1963,12 @@ export interface CreateTableBody {
|
|
|
1963
1963
|
* @memberof CreateTableBody
|
|
1964
1964
|
*/
|
|
1965
1965
|
'factor'?: number;
|
|
1966
|
+
/**
|
|
1967
|
+
* A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
|
|
1968
|
+
* @type {boolean}
|
|
1969
|
+
* @memberof CreateTableBody
|
|
1970
|
+
*/
|
|
1971
|
+
'frozen'?: boolean;
|
|
1966
1972
|
/**
|
|
1967
1973
|
* Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed.
|
|
1968
1974
|
* @type {{ [key: string]: any; }}
|
|
@@ -3189,6 +3195,12 @@ export interface GetOrCreateTableBody {
|
|
|
3189
3195
|
* @memberof GetOrCreateTableBody
|
|
3190
3196
|
*/
|
|
3191
3197
|
'factor'?: number;
|
|
3198
|
+
/**
|
|
3199
|
+
* A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
|
|
3200
|
+
* @type {boolean}
|
|
3201
|
+
* @memberof GetOrCreateTableBody
|
|
3202
|
+
*/
|
|
3203
|
+
'frozen'?: boolean;
|
|
3192
3204
|
/**
|
|
3193
3205
|
* Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed.
|
|
3194
3206
|
* @type {{ [key: string]: any; }}
|
|
@@ -4055,125 +4067,6 @@ export interface GetUserResponse {
|
|
|
4055
4067
|
*/
|
|
4056
4068
|
'user': User;
|
|
4057
4069
|
}
|
|
4058
|
-
/**
|
|
4059
|
-
*
|
|
4060
|
-
* @export
|
|
4061
|
-
* @interface GetWorkspaceBillingDetailsResponse
|
|
4062
|
-
*/
|
|
4063
|
-
export interface GetWorkspaceBillingDetailsResponse {
|
|
4064
|
-
/**
|
|
4065
|
-
*
|
|
4066
|
-
* @type {GetWorkspaceBillingDetailsResponseCurrentPeriod}
|
|
4067
|
-
* @memberof GetWorkspaceBillingDetailsResponse
|
|
4068
|
-
*/
|
|
4069
|
-
'currentPeriod': GetWorkspaceBillingDetailsResponseCurrentPeriod;
|
|
4070
|
-
/**
|
|
4071
|
-
*
|
|
4072
|
-
* @type {GetWorkspaceBillingDetailsResponsePaymentMethod}
|
|
4073
|
-
* @memberof GetWorkspaceBillingDetailsResponse
|
|
4074
|
-
*/
|
|
4075
|
-
'paymentMethod': GetWorkspaceBillingDetailsResponsePaymentMethod | null;
|
|
4076
|
-
}
|
|
4077
|
-
/**
|
|
4078
|
-
*
|
|
4079
|
-
* @export
|
|
4080
|
-
* @interface GetWorkspaceBillingDetailsResponseCurrentPeriod
|
|
4081
|
-
*/
|
|
4082
|
-
export interface GetWorkspaceBillingDetailsResponseCurrentPeriod {
|
|
4083
|
-
/**
|
|
4084
|
-
*
|
|
4085
|
-
* @type {string}
|
|
4086
|
-
* @memberof GetWorkspaceBillingDetailsResponseCurrentPeriod
|
|
4087
|
-
*/
|
|
4088
|
-
'start': string;
|
|
4089
|
-
/**
|
|
4090
|
-
*
|
|
4091
|
-
* @type {string}
|
|
4092
|
-
* @memberof GetWorkspaceBillingDetailsResponseCurrentPeriod
|
|
4093
|
-
*/
|
|
4094
|
-
'end': string;
|
|
4095
|
-
/**
|
|
4096
|
-
*
|
|
4097
|
-
* @type {GetWorkspaceBillingDetailsResponseCurrentPeriodUsage}
|
|
4098
|
-
* @memberof GetWorkspaceBillingDetailsResponseCurrentPeriod
|
|
4099
|
-
*/
|
|
4100
|
-
'usage': GetWorkspaceBillingDetailsResponseCurrentPeriodUsage;
|
|
4101
|
-
}
|
|
4102
|
-
/**
|
|
4103
|
-
*
|
|
4104
|
-
* @export
|
|
4105
|
-
* @interface GetWorkspaceBillingDetailsResponseCurrentPeriodUsage
|
|
4106
|
-
*/
|
|
4107
|
-
export interface GetWorkspaceBillingDetailsResponseCurrentPeriodUsage {
|
|
4108
|
-
/**
|
|
4109
|
-
*
|
|
4110
|
-
* @type {GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages}
|
|
4111
|
-
* @memberof GetWorkspaceBillingDetailsResponseCurrentPeriodUsage
|
|
4112
|
-
*/
|
|
4113
|
-
'userMessages': GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages;
|
|
4114
|
-
}
|
|
4115
|
-
/**
|
|
4116
|
-
*
|
|
4117
|
-
* @export
|
|
4118
|
-
* @interface GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages
|
|
4119
|
-
*/
|
|
4120
|
-
export interface GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages {
|
|
4121
|
-
/**
|
|
4122
|
-
*
|
|
4123
|
-
* @type {string}
|
|
4124
|
-
* @memberof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages
|
|
4125
|
-
*/
|
|
4126
|
-
'status': GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessagesStatusEnum;
|
|
4127
|
-
/**
|
|
4128
|
-
*
|
|
4129
|
-
* @type {number}
|
|
4130
|
-
* @memberof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages
|
|
4131
|
-
*/
|
|
4132
|
-
'quantity': number;
|
|
4133
|
-
/**
|
|
4134
|
-
*
|
|
4135
|
-
* @type {number}
|
|
4136
|
-
* @memberof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages
|
|
4137
|
-
*/
|
|
4138
|
-
'price': number;
|
|
4139
|
-
/**
|
|
4140
|
-
*
|
|
4141
|
-
* @type {number}
|
|
4142
|
-
* @memberof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages
|
|
4143
|
-
*/
|
|
4144
|
-
'minimum': number;
|
|
4145
|
-
/**
|
|
4146
|
-
*
|
|
4147
|
-
* @type {number}
|
|
4148
|
-
* @memberof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessages
|
|
4149
|
-
*/
|
|
4150
|
-
'maximum': number;
|
|
4151
|
-
}
|
|
4152
|
-
export declare const GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessagesStatusEnum: {
|
|
4153
|
-
readonly Ok: "OK";
|
|
4154
|
-
readonly Warning: "Warning";
|
|
4155
|
-
readonly LimitReached: "LimitReached";
|
|
4156
|
-
};
|
|
4157
|
-
export type GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessagesStatusEnum = typeof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessagesStatusEnum[keyof typeof GetWorkspaceBillingDetailsResponseCurrentPeriodUsageUserMessagesStatusEnum];
|
|
4158
|
-
/**
|
|
4159
|
-
*
|
|
4160
|
-
* @export
|
|
4161
|
-
* @interface GetWorkspaceBillingDetailsResponsePaymentMethod
|
|
4162
|
-
*/
|
|
4163
|
-
export interface GetWorkspaceBillingDetailsResponsePaymentMethod {
|
|
4164
|
-
/**
|
|
4165
|
-
*
|
|
4166
|
-
* @type {string}
|
|
4167
|
-
* @memberof GetWorkspaceBillingDetailsResponsePaymentMethod
|
|
4168
|
-
*/
|
|
4169
|
-
'type': string;
|
|
4170
|
-
/**
|
|
4171
|
-
*
|
|
4172
|
-
* @type {string}
|
|
4173
|
-
* @memberof GetWorkspaceBillingDetailsResponsePaymentMethod
|
|
4174
|
-
*/
|
|
4175
|
-
'lastDigits': string;
|
|
4176
|
-
}
|
|
4177
4070
|
/**
|
|
4178
4071
|
*
|
|
4179
4072
|
* @export
|
|
@@ -6061,10 +5954,10 @@ export interface SetWorkspacePaymentMethodResponse {
|
|
|
6061
5954
|
'stripePaymentMethodId': string;
|
|
6062
5955
|
/**
|
|
6063
5956
|
*
|
|
6064
|
-
* @type {
|
|
5957
|
+
* @type {SetWorkspacePaymentMethodResponsePaymentMethod}
|
|
6065
5958
|
* @memberof SetWorkspacePaymentMethodResponse
|
|
6066
5959
|
*/
|
|
6067
|
-
'paymentMethod':
|
|
5960
|
+
'paymentMethod': SetWorkspacePaymentMethodResponsePaymentMethod | null;
|
|
6068
5961
|
/**
|
|
6069
5962
|
*
|
|
6070
5963
|
* @type {string}
|
|
@@ -6100,6 +5993,25 @@ export interface SetWorkspacePaymentMethodResponseNextAction {
|
|
|
6100
5993
|
*/
|
|
6101
5994
|
'redirectToUrl': string;
|
|
6102
5995
|
}
|
|
5996
|
+
/**
|
|
5997
|
+
*
|
|
5998
|
+
* @export
|
|
5999
|
+
* @interface SetWorkspacePaymentMethodResponsePaymentMethod
|
|
6000
|
+
*/
|
|
6001
|
+
export interface SetWorkspacePaymentMethodResponsePaymentMethod {
|
|
6002
|
+
/**
|
|
6003
|
+
*
|
|
6004
|
+
* @type {string}
|
|
6005
|
+
* @memberof SetWorkspacePaymentMethodResponsePaymentMethod
|
|
6006
|
+
*/
|
|
6007
|
+
'type': string;
|
|
6008
|
+
/**
|
|
6009
|
+
*
|
|
6010
|
+
* @type {string}
|
|
6011
|
+
* @memberof SetWorkspacePaymentMethodResponsePaymentMethod
|
|
6012
|
+
*/
|
|
6013
|
+
'lastDigits': string;
|
|
6014
|
+
}
|
|
6103
6015
|
/**
|
|
6104
6016
|
* The state object represents the current payload. A state is always linked to either a bot, a conversation or a user.
|
|
6105
6017
|
* @export
|
|
@@ -6195,6 +6107,12 @@ export interface Table {
|
|
|
6195
6107
|
* @memberof Table
|
|
6196
6108
|
*/
|
|
6197
6109
|
'factor'?: number;
|
|
6110
|
+
/**
|
|
6111
|
+
* A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
|
|
6112
|
+
* @type {boolean}
|
|
6113
|
+
* @memberof Table
|
|
6114
|
+
*/
|
|
6115
|
+
'frozen'?: boolean;
|
|
6198
6116
|
/**
|
|
6199
6117
|
*
|
|
6200
6118
|
* @type {TableSchema}
|
|
@@ -7264,6 +7182,12 @@ export interface UpdateTableBody {
|
|
|
7264
7182
|
* @memberof UpdateTableBody
|
|
7265
7183
|
*/
|
|
7266
7184
|
'name'?: string;
|
|
7185
|
+
/**
|
|
7186
|
+
* A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
|
|
7187
|
+
* @type {boolean}
|
|
7188
|
+
* @memberof UpdateTableBody
|
|
7189
|
+
*/
|
|
7190
|
+
'frozen'?: boolean;
|
|
7267
7191
|
/**
|
|
7268
7192
|
* Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed.
|
|
7269
7193
|
* @type {{ [key: string]: any; }}
|
|
@@ -8276,17 +8200,17 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8276
8200
|
createEvent: (createEventBody?: CreateEventBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8277
8201
|
/**
|
|
8278
8202
|
* Creates a file.
|
|
8279
|
-
* @param {string} xName File name
|
|
8203
|
+
* @param {string} [xName] File name
|
|
8280
8204
|
* @param {string} [xTags] File tags as URL-encoded JSON string representing an object of key-value pairs.
|
|
8281
8205
|
* @param {string} [xAccessPolicies] File access policies, comma-separated. Add \"public_content\" to allow public access to the file content. Add \"integrations\" to allo read, search and list operations for any integration installed in the bot.
|
|
8282
|
-
* @param {boolean} [xIndex] 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.
|
|
8206
|
+
* @param {boolean} [xIndex] Set to a value of \"true\" 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.
|
|
8283
8207
|
* @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 \"application/octet-stream\".
|
|
8284
8208
|
* @param {string} [contentLength] File content length
|
|
8285
8209
|
* @param {CreateFileBody} [createFileBody] The file to upload.
|
|
8286
8210
|
* @param {*} [options] Override http request option.
|
|
8287
8211
|
* @throws {RequiredError}
|
|
8288
8212
|
*/
|
|
8289
|
-
createFile: (xName
|
|
8213
|
+
createFile: (xName?: string, xTags?: string, xAccessPolicies?: string, xIndex?: boolean, contentType?: string, contentLength?: string, createFileBody?: CreateFileBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8290
8214
|
/**
|
|
8291
8215
|
* Create integration
|
|
8292
8216
|
* @param {CreateIntegrationBody} [createIntegrationBody] Integration
|
|
@@ -8725,13 +8649,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8725
8649
|
* @throws {RequiredError}
|
|
8726
8650
|
*/
|
|
8727
8651
|
getWorkspace: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8728
|
-
/**
|
|
8729
|
-
* Get billing details of workspace
|
|
8730
|
-
* @param {string} id Workspace ID
|
|
8731
|
-
* @param {*} [options] Override http request option.
|
|
8732
|
-
* @throws {RequiredError}
|
|
8733
|
-
*/
|
|
8734
|
-
getWorkspaceBillingDetails: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8735
8652
|
/**
|
|
8736
8653
|
* Get workspace quota
|
|
8737
8654
|
* @param {string} id Workspace ID
|
|
@@ -8799,10 +8716,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8799
8716
|
* @param {string} [conversationId] Filter by conversation id
|
|
8800
8717
|
* @param {string} [userId] Filter by user id
|
|
8801
8718
|
* @param {string} [messageId] Filter by message id
|
|
8719
|
+
* @param {string} [status] Filter by status. Allowed values: pending, ignored, processed, failed.
|
|
8802
8720
|
* @param {*} [options] Override http request option.
|
|
8803
8721
|
* @throws {RequiredError}
|
|
8804
8722
|
*/
|
|
8805
|
-
listEvents: (nextToken?: string, type?: string, conversationId?: string, userId?: string, messageId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8723
|
+
listEvents: (nextToken?: string, type?: string, conversationId?: string, userId?: string, messageId?: string, status?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8806
8724
|
/**
|
|
8807
8725
|
* List files for bot
|
|
8808
8726
|
* @param {string} botId Bot ID
|
|
@@ -9219,17 +9137,17 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
9219
9137
|
createEvent(createEventBody?: CreateEventBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventResponse>>;
|
|
9220
9138
|
/**
|
|
9221
9139
|
* Creates a file.
|
|
9222
|
-
* @param {string} xName File name
|
|
9140
|
+
* @param {string} [xName] File name
|
|
9223
9141
|
* @param {string} [xTags] File tags as URL-encoded JSON string representing an object of key-value pairs.
|
|
9224
9142
|
* @param {string} [xAccessPolicies] File access policies, comma-separated. Add \"public_content\" to allow public access to the file content. Add \"integrations\" to allo read, search and list operations for any integration installed in the bot.
|
|
9225
|
-
* @param {boolean} [xIndex] 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.
|
|
9143
|
+
* @param {boolean} [xIndex] Set to a value of \"true\" 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.
|
|
9226
9144
|
* @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 \"application/octet-stream\".
|
|
9227
9145
|
* @param {string} [contentLength] File content length
|
|
9228
9146
|
* @param {CreateFileBody} [createFileBody] The file to upload.
|
|
9229
9147
|
* @param {*} [options] Override http request option.
|
|
9230
9148
|
* @throws {RequiredError}
|
|
9231
9149
|
*/
|
|
9232
|
-
createFile(xName
|
|
9150
|
+
createFile(xName?: string, xTags?: string, xAccessPolicies?: string, xIndex?: boolean, contentType?: string, contentLength?: string, createFileBody?: CreateFileBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFileResponse>>;
|
|
9233
9151
|
/**
|
|
9234
9152
|
* Create integration
|
|
9235
9153
|
* @param {CreateIntegrationBody} [createIntegrationBody] Integration
|
|
@@ -9670,13 +9588,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
9670
9588
|
* @throws {RequiredError}
|
|
9671
9589
|
*/
|
|
9672
9590
|
getWorkspace(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWorkspaceResponse>>;
|
|
9673
|
-
/**
|
|
9674
|
-
* Get billing details of workspace
|
|
9675
|
-
* @param {string} id Workspace ID
|
|
9676
|
-
* @param {*} [options] Override http request option.
|
|
9677
|
-
* @throws {RequiredError}
|
|
9678
|
-
*/
|
|
9679
|
-
getWorkspaceBillingDetails(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWorkspaceBillingDetailsResponse>>;
|
|
9680
9591
|
/**
|
|
9681
9592
|
* Get workspace quota
|
|
9682
9593
|
* @param {string} id Workspace ID
|
|
@@ -9744,10 +9655,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
9744
9655
|
* @param {string} [conversationId] Filter by conversation id
|
|
9745
9656
|
* @param {string} [userId] Filter by user id
|
|
9746
9657
|
* @param {string} [messageId] Filter by message id
|
|
9658
|
+
* @param {string} [status] Filter by status. Allowed values: pending, ignored, processed, failed.
|
|
9747
9659
|
* @param {*} [options] Override http request option.
|
|
9748
9660
|
* @throws {RequiredError}
|
|
9749
9661
|
*/
|
|
9750
|
-
listEvents(nextToken?: string, type?: string, conversationId?: string, userId?: string, messageId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEventsResponse>>;
|
|
9662
|
+
listEvents(nextToken?: string, type?: string, conversationId?: string, userId?: string, messageId?: string, status?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEventsResponse>>;
|
|
9751
9663
|
/**
|
|
9752
9664
|
* List files for bot
|
|
9753
9665
|
* @param {string} botId Bot ID
|
|
@@ -10163,7 +10075,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
10163
10075
|
* @param {*} [options] Override http request option.
|
|
10164
10076
|
* @throws {RequiredError}
|
|
10165
10077
|
*/
|
|
10166
|
-
createFile(requestParameters
|
|
10078
|
+
createFile(requestParameters?: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): AxiosPromise<CreateFileResponse>;
|
|
10167
10079
|
/**
|
|
10168
10080
|
* Create integration
|
|
10169
10081
|
* @param {DefaultApiCreateIntegrationRequest} requestParameters Request parameters.
|
|
@@ -10577,13 +10489,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
10577
10489
|
* @throws {RequiredError}
|
|
10578
10490
|
*/
|
|
10579
10491
|
getWorkspace(requestParameters: DefaultApiGetWorkspaceRequest, options?: AxiosRequestConfig): AxiosPromise<GetWorkspaceResponse>;
|
|
10580
|
-
/**
|
|
10581
|
-
* Get billing details of workspace
|
|
10582
|
-
* @param {DefaultApiGetWorkspaceBillingDetailsRequest} requestParameters Request parameters.
|
|
10583
|
-
* @param {*} [options] Override http request option.
|
|
10584
|
-
* @throws {RequiredError}
|
|
10585
|
-
*/
|
|
10586
|
-
getWorkspaceBillingDetails(requestParameters: DefaultApiGetWorkspaceBillingDetailsRequest, options?: AxiosRequestConfig): AxiosPromise<GetWorkspaceBillingDetailsResponse>;
|
|
10587
10492
|
/**
|
|
10588
10493
|
* Get workspace quota
|
|
10589
10494
|
* @param {DefaultApiGetWorkspaceQuotaRequest} requestParameters Request parameters.
|
|
@@ -11090,7 +10995,7 @@ export interface DefaultApiCreateFileRequest {
|
|
|
11090
10995
|
* @type {string}
|
|
11091
10996
|
* @memberof DefaultApiCreateFile
|
|
11092
10997
|
*/
|
|
11093
|
-
readonly xName
|
|
10998
|
+
readonly xName?: string;
|
|
11094
10999
|
/**
|
|
11095
11000
|
* File tags as URL-encoded JSON string representing an object of key-value pairs.
|
|
11096
11001
|
* @type {string}
|
|
@@ -11104,7 +11009,7 @@ export interface DefaultApiCreateFileRequest {
|
|
|
11104
11009
|
*/
|
|
11105
11010
|
readonly xAccessPolicies?: string;
|
|
11106
11011
|
/**
|
|
11107
|
-
* 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.
|
|
11012
|
+
* Set to a value of \"true\" 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.
|
|
11108
11013
|
* @type {boolean}
|
|
11109
11014
|
* @memberof DefaultApiCreateFile
|
|
11110
11015
|
*/
|
|
@@ -12031,19 +11936,6 @@ export interface DefaultApiGetWorkspaceRequest {
|
|
|
12031
11936
|
*/
|
|
12032
11937
|
readonly id: string;
|
|
12033
11938
|
}
|
|
12034
|
-
/**
|
|
12035
|
-
* Request parameters for getWorkspaceBillingDetails operation in DefaultApi.
|
|
12036
|
-
* @export
|
|
12037
|
-
* @interface DefaultApiGetWorkspaceBillingDetailsRequest
|
|
12038
|
-
*/
|
|
12039
|
-
export interface DefaultApiGetWorkspaceBillingDetailsRequest {
|
|
12040
|
-
/**
|
|
12041
|
-
* Workspace ID
|
|
12042
|
-
* @type {string}
|
|
12043
|
-
* @memberof DefaultApiGetWorkspaceBillingDetails
|
|
12044
|
-
*/
|
|
12045
|
-
readonly id: string;
|
|
12046
|
-
}
|
|
12047
11939
|
/**
|
|
12048
11940
|
* Request parameters for getWorkspaceQuota operation in DefaultApi.
|
|
12049
11941
|
* @export
|
|
@@ -12227,6 +12119,12 @@ export interface DefaultApiListEventsRequest {
|
|
|
12227
12119
|
* @memberof DefaultApiListEvents
|
|
12228
12120
|
*/
|
|
12229
12121
|
readonly messageId?: string;
|
|
12122
|
+
/**
|
|
12123
|
+
* Filter by status. Allowed values: pending, ignored, processed, failed.
|
|
12124
|
+
* @type {string}
|
|
12125
|
+
* @memberof DefaultApiListEvents
|
|
12126
|
+
*/
|
|
12127
|
+
readonly status?: string;
|
|
12230
12128
|
}
|
|
12231
12129
|
/**
|
|
12232
12130
|
* Request parameters for listFiles operation in DefaultApi.
|
|
@@ -13117,7 +13015,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
13117
13015
|
* @throws {RequiredError}
|
|
13118
13016
|
* @memberof DefaultApi
|
|
13119
13017
|
*/
|
|
13120
|
-
createFile(requestParameters
|
|
13018
|
+
createFile(requestParameters?: DefaultApiCreateFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFileResponse, any>>;
|
|
13121
13019
|
/**
|
|
13122
13020
|
* Create integration
|
|
13123
13021
|
* @param {DefaultApiCreateIntegrationRequest} requestParameters Request parameters.
|
|
@@ -13590,14 +13488,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
13590
13488
|
* @memberof DefaultApi
|
|
13591
13489
|
*/
|
|
13592
13490
|
getWorkspace(requestParameters: DefaultApiGetWorkspaceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetWorkspaceResponse, any>>;
|
|
13593
|
-
/**
|
|
13594
|
-
* Get billing details of workspace
|
|
13595
|
-
* @param {DefaultApiGetWorkspaceBillingDetailsRequest} requestParameters Request parameters.
|
|
13596
|
-
* @param {*} [options] Override http request option.
|
|
13597
|
-
* @throws {RequiredError}
|
|
13598
|
-
* @memberof DefaultApi
|
|
13599
|
-
*/
|
|
13600
|
-
getWorkspaceBillingDetails(requestParameters: DefaultApiGetWorkspaceBillingDetailsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetWorkspaceBillingDetailsResponse, any>>;
|
|
13601
13491
|
/**
|
|
13602
13492
|
* Get workspace quota
|
|
13603
13493
|
* @param {DefaultApiGetWorkspaceQuotaRequest} requestParameters Request parameters.
|
package/dist/gen/base.d.ts
CHANGED
package/dist/gen/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
2
|
-
import { Configuration, DefaultApiCreateConversationRequest, DefaultApiGetConversationRequest, DefaultApiListConversationsRequest, DefaultApiGetOrCreateConversationRequest, DefaultApiUpdateConversationRequest, DefaultApiDeleteConversationRequest, DefaultApiListParticipantsRequest, DefaultApiAddParticipantRequest, DefaultApiGetParticipantRequest, DefaultApiRemoveParticipantRequest, DefaultApiCreateEventRequest, DefaultApiGetEventRequest, DefaultApiListEventsRequest, DefaultApiCreateMessageRequest, DefaultApiGetOrCreateMessageRequest, DefaultApiGetMessageRequest, DefaultApiUpdateMessageRequest, DefaultApiListMessagesRequest, DefaultApiDeleteMessageRequest, DefaultApiCreateUserRequest, DefaultApiGetUserRequest, DefaultApiListUsersRequest, DefaultApiGetOrCreateUserRequest, DefaultApiUpdateUserRequest, DefaultApiDeleteUserRequest, DefaultApiGetStateRequest, DefaultApiSetStateRequest, DefaultApiGetOrSetStateRequest, DefaultApiPatchStateRequest, DefaultApiCallActionRequest, DefaultApiConfigureIntegrationRequest, DefaultApiGetTaskRequest, DefaultApiCreateTaskRequest, DefaultApiUpdateTaskRequest, DefaultApiDeleteTaskRequest, DefaultApiListTasksRequest, DefaultApiRunVrlRequest, DefaultApiUpdateAccountRequest, DefaultApiCreatePersonalAccessTokenRequest, DefaultApiDeletePersonalAccessTokenRequest, DefaultApiSetAccountPreferenceRequest, DefaultApiGetAccountPreferenceRequest, DefaultApiListPublicIntegrationsRequest, DefaultApiGetPublicIntegrationByIdRequest, DefaultApiGetPublicIntegrationRequest, DefaultApiCreateBotRequest, DefaultApiUpdateBotRequest, DefaultApiTransferBotRequest, DefaultApiListBotsRequest, DefaultApiGetBotRequest, DefaultApiDeleteBotRequest, DefaultApiGetBotLogsRequest, DefaultApiGetBotWebchatRequest, DefaultApiGetBotAnalyticsRequest, DefaultApiListBotIssuesRequest, DefaultApiDeleteBotIssueRequest, DefaultApiListBotIssueEventsRequest,
|
|
2
|
+
import { Configuration, DefaultApiCreateConversationRequest, DefaultApiGetConversationRequest, DefaultApiListConversationsRequest, DefaultApiGetOrCreateConversationRequest, DefaultApiUpdateConversationRequest, DefaultApiDeleteConversationRequest, DefaultApiListParticipantsRequest, DefaultApiAddParticipantRequest, DefaultApiGetParticipantRequest, DefaultApiRemoveParticipantRequest, DefaultApiCreateEventRequest, DefaultApiGetEventRequest, DefaultApiListEventsRequest, DefaultApiCreateMessageRequest, DefaultApiGetOrCreateMessageRequest, DefaultApiGetMessageRequest, DefaultApiUpdateMessageRequest, DefaultApiListMessagesRequest, DefaultApiDeleteMessageRequest, DefaultApiCreateUserRequest, DefaultApiGetUserRequest, DefaultApiListUsersRequest, DefaultApiGetOrCreateUserRequest, DefaultApiUpdateUserRequest, DefaultApiDeleteUserRequest, DefaultApiGetStateRequest, DefaultApiSetStateRequest, DefaultApiGetOrSetStateRequest, DefaultApiPatchStateRequest, DefaultApiCallActionRequest, DefaultApiConfigureIntegrationRequest, DefaultApiGetTaskRequest, DefaultApiCreateTaskRequest, DefaultApiUpdateTaskRequest, DefaultApiDeleteTaskRequest, DefaultApiListTasksRequest, DefaultApiRunVrlRequest, DefaultApiUpdateAccountRequest, DefaultApiCreatePersonalAccessTokenRequest, DefaultApiDeletePersonalAccessTokenRequest, DefaultApiSetAccountPreferenceRequest, DefaultApiGetAccountPreferenceRequest, DefaultApiListPublicIntegrationsRequest, DefaultApiGetPublicIntegrationByIdRequest, DefaultApiGetPublicIntegrationRequest, DefaultApiCreateBotRequest, DefaultApiUpdateBotRequest, DefaultApiTransferBotRequest, DefaultApiListBotsRequest, DefaultApiGetBotRequest, DefaultApiDeleteBotRequest, DefaultApiGetBotLogsRequest, DefaultApiGetBotWebchatRequest, DefaultApiGetBotAnalyticsRequest, DefaultApiListBotIssuesRequest, DefaultApiDeleteBotIssueRequest, DefaultApiListBotIssueEventsRequest, DefaultApiSetWorkspacePaymentMethodRequest, DefaultApiListWorkspaceInvoicesRequest, DefaultApiGetUpcomingInvoiceRequest, DefaultApiChargeWorkspaceUnpaidInvoicesRequest, DefaultApiCreateWorkspaceRequest, DefaultApiGetPublicWorkspaceRequest, DefaultApiGetWorkspaceRequest, DefaultApiListWorkspaceUsagesRequest, DefaultApiBreakDownWorkspaceUsageByBotRequest, DefaultApiGetWorkspaceQuotaRequest, DefaultApiListWorkspaceQuotasRequest, DefaultApiUpdateWorkspaceRequest, DefaultApiCheckHandleAvailabilityRequest, DefaultApiListWorkspacesRequest, DefaultApiChangeWorkspacePlanRequest, DefaultApiDeleteWorkspaceRequest, DefaultApiGetAuditRecordsRequest, DefaultApiListWorkspaceMembersRequest, DefaultApiDeleteWorkspaceMemberRequest, DefaultApiCreateWorkspaceMemberRequest, DefaultApiUpdateWorkspaceMemberRequest, DefaultApiListIntegrationApiKeysRequest, DefaultApiCreateIntegrationApiKeyRequest, DefaultApiDeleteIntegrationApiKeyRequest, DefaultApiCreateIntegrationRequest, DefaultApiUpdateIntegrationRequest, DefaultApiListIntegrationsRequest, DefaultApiGetIntegrationRequest, DefaultApiGetIntegrationLogsRequest, DefaultApiGetIntegrationByNameRequest, DefaultApiDeleteIntegrationRequest, DefaultApiGetUsageRequest, DefaultApiListUsageHistoryRequest, DefaultApiChangeAISpendQuotaRequest, DefaultApiListActivitiesRequest, DefaultApiIntrospectRequest, DefaultApiCreateFileRequest, DefaultApiDeleteFileRequest, DefaultApiListFilesRequest, DefaultApiGetFileMetadataRequest, DefaultApiGetFileContentRequest, DefaultApiUpdateFileMetadataRequest, DefaultApiSearchFilesRequest, DefaultApiListTablesRequest, DefaultApiGetTableRequest, DefaultApiGetOrCreateTableRequest, DefaultApiCreateTableRequest, DefaultApiDuplicateTableRequest, DefaultApiUpdateTableRequest, DefaultApiRenameTableColumnRequest, DefaultApiDeleteTableRequest, DefaultApiGetTableRowRequest, DefaultApiFindTableRowsRequest, DefaultApiCreateTableRowsRequest, DefaultApiDeleteTableRowsRequest, DefaultApiUpdateTableRowsRequest, DefaultApiUpsertTableRowsRequest } from '.';
|
|
3
3
|
type SimplifyOptions = {
|
|
4
4
|
deep?: boolean;
|
|
5
5
|
};
|
|
@@ -78,7 +78,6 @@ export declare class ApiClient {
|
|
|
78
78
|
listBotIssues: (props: ListBotIssuesProps) => Promise<import("./api").ListBotIssuesResponse>;
|
|
79
79
|
deleteBotIssue: (props: DeleteBotIssueProps) => Promise<object>;
|
|
80
80
|
listBotIssueEvents: (props: ListBotIssueEventsProps) => Promise<import("./api").ListBotIssueEventsResponse>;
|
|
81
|
-
getWorkspaceBillingDetails: (props: GetWorkspaceBillingDetailsProps) => Promise<import("./api").GetWorkspaceBillingDetailsResponse>;
|
|
82
81
|
setWorkspacePaymentMethod: ({ id, ...setWorkspacePaymentMethodBody }: SetWorkspacePaymentMethodProps) => Promise<import("./api").SetWorkspacePaymentMethodResponse>;
|
|
83
82
|
listWorkspaceInvoices: (props: ListWorkspaceInvoicesProps) => Promise<import("./api").ListWorkspaceInvoicesResponse>;
|
|
84
83
|
getUpcomingInvoice: (props: GetUpcomingInvoiceProps) => Promise<import("./api").GetUpcomingInvoiceResponse>;
|
|
@@ -197,7 +196,6 @@ export type GetBotAnalyticsProps = Merge<DefaultApiGetBotAnalyticsRequest, {}>;
|
|
|
197
196
|
export type ListBotIssuesProps = Merge<DefaultApiListBotIssuesRequest, {}>;
|
|
198
197
|
export type DeleteBotIssueProps = Merge<DefaultApiDeleteBotIssueRequest, {}>;
|
|
199
198
|
export type ListBotIssueEventsProps = Merge<DefaultApiListBotIssueEventsRequest, {}>;
|
|
200
|
-
export type GetWorkspaceBillingDetailsProps = Merge<DefaultApiGetWorkspaceBillingDetailsRequest, {}>;
|
|
201
199
|
export type SetWorkspacePaymentMethodProps = Merge<Except<DefaultApiSetWorkspacePaymentMethodRequest, 'setWorkspacePaymentMethodBody'>, NonNullable<DefaultApiSetWorkspacePaymentMethodRequest['setWorkspacePaymentMethodBody']>>;
|
|
202
200
|
export type ListWorkspaceInvoicesProps = Merge<DefaultApiListWorkspaceInvoicesRequest, {}>;
|
|
203
201
|
export type GetUpcomingInvoiceProps = Merge<DefaultApiGetUpcomingInvoiceRequest, {}>;
|
package/dist/gen/common.d.ts
CHANGED
package/dist/gen/index.d.ts
CHANGED