@botpress/client 0.16.1 → 0.16.2
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 +1 -1
- package/dist/bundle.cjs.map +2 -2
- package/dist/gen/api.d.ts +90 -1
- package/dist/gen/base.d.ts +1 -1
- package/dist/gen/client.d.ts +1 -0
- 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 +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
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.27.
|
|
5
|
+
* The version of the OpenAPI document: 0.27.13
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -37,6 +37,12 @@ export interface Account {
|
|
|
37
37
|
* @memberof Account
|
|
38
38
|
*/
|
|
39
39
|
'displayName'?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof Account
|
|
44
|
+
*/
|
|
45
|
+
'emailVerified': boolean;
|
|
40
46
|
/**
|
|
41
47
|
*
|
|
42
48
|
* @type {string}
|
|
@@ -2573,6 +2579,12 @@ export interface GetAccountResponseAccount {
|
|
|
2573
2579
|
* @memberof GetAccountResponseAccount
|
|
2574
2580
|
*/
|
|
2575
2581
|
'displayName'?: string;
|
|
2582
|
+
/**
|
|
2583
|
+
*
|
|
2584
|
+
* @type {boolean}
|
|
2585
|
+
* @memberof GetAccountResponseAccount
|
|
2586
|
+
*/
|
|
2587
|
+
'emailVerified': boolean;
|
|
2576
2588
|
/**
|
|
2577
2589
|
*
|
|
2578
2590
|
* @type {string}
|
|
@@ -4065,6 +4077,52 @@ export interface GetUserResponse {
|
|
|
4065
4077
|
*/
|
|
4066
4078
|
'user': User;
|
|
4067
4079
|
}
|
|
4080
|
+
/**
|
|
4081
|
+
*
|
|
4082
|
+
* @export
|
|
4083
|
+
* @interface GetWorkspaceMemberResponse
|
|
4084
|
+
*/
|
|
4085
|
+
export interface GetWorkspaceMemberResponse {
|
|
4086
|
+
/**
|
|
4087
|
+
*
|
|
4088
|
+
* @type {string}
|
|
4089
|
+
* @memberof GetWorkspaceMemberResponse
|
|
4090
|
+
*/
|
|
4091
|
+
'id': string;
|
|
4092
|
+
/**
|
|
4093
|
+
*
|
|
4094
|
+
* @type {string}
|
|
4095
|
+
* @memberof GetWorkspaceMemberResponse
|
|
4096
|
+
*/
|
|
4097
|
+
'userId'?: string;
|
|
4098
|
+
/**
|
|
4099
|
+
*
|
|
4100
|
+
* @type {string}
|
|
4101
|
+
* @memberof GetWorkspaceMemberResponse
|
|
4102
|
+
*/
|
|
4103
|
+
'email': string;
|
|
4104
|
+
/**
|
|
4105
|
+
*
|
|
4106
|
+
* @type {string}
|
|
4107
|
+
* @memberof GetWorkspaceMemberResponse
|
|
4108
|
+
*/
|
|
4109
|
+
'createdAt': string;
|
|
4110
|
+
/**
|
|
4111
|
+
*
|
|
4112
|
+
* @type {string}
|
|
4113
|
+
* @memberof GetWorkspaceMemberResponse
|
|
4114
|
+
*/
|
|
4115
|
+
'role': GetWorkspaceMemberResponseRoleEnum;
|
|
4116
|
+
}
|
|
4117
|
+
export declare const GetWorkspaceMemberResponseRoleEnum: {
|
|
4118
|
+
readonly Viewer: "viewer";
|
|
4119
|
+
readonly Billing: "billing";
|
|
4120
|
+
readonly Developer: "developer";
|
|
4121
|
+
readonly Manager: "manager";
|
|
4122
|
+
readonly Administrator: "administrator";
|
|
4123
|
+
readonly Owner: "owner";
|
|
4124
|
+
};
|
|
4125
|
+
export type GetWorkspaceMemberResponseRoleEnum = typeof GetWorkspaceMemberResponseRoleEnum[keyof typeof GetWorkspaceMemberResponseRoleEnum];
|
|
4068
4126
|
/**
|
|
4069
4127
|
*
|
|
4070
4128
|
* @export
|
|
@@ -6461,6 +6519,12 @@ export interface UpdateAccountBody {
|
|
|
6461
6519
|
* @memberof UpdateAccountBody
|
|
6462
6520
|
*/
|
|
6463
6521
|
'profilePicture'?: string;
|
|
6522
|
+
/**
|
|
6523
|
+
*
|
|
6524
|
+
* @type {boolean}
|
|
6525
|
+
* @memberof UpdateAccountBody
|
|
6526
|
+
*/
|
|
6527
|
+
'refresh'?: boolean;
|
|
6464
6528
|
}
|
|
6465
6529
|
/**
|
|
6466
6530
|
*
|
|
@@ -8696,6 +8760,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8696
8760
|
* @throws {RequiredError}
|
|
8697
8761
|
*/
|
|
8698
8762
|
getWorkspace: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8763
|
+
/**
|
|
8764
|
+
* Get details of the account authenticating with this endpoint.
|
|
8765
|
+
* @param {*} [options] Override http request option.
|
|
8766
|
+
* @throws {RequiredError}
|
|
8767
|
+
*/
|
|
8768
|
+
getWorkspaceMember: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8699
8769
|
/**
|
|
8700
8770
|
* Get workspace quota
|
|
8701
8771
|
* @param {string} id Workspace ID
|
|
@@ -9620,6 +9690,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
9620
9690
|
* @throws {RequiredError}
|
|
9621
9691
|
*/
|
|
9622
9692
|
getWorkspace(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWorkspaceResponse>>;
|
|
9693
|
+
/**
|
|
9694
|
+
* Get details of the account authenticating with this endpoint.
|
|
9695
|
+
* @param {*} [options] Override http request option.
|
|
9696
|
+
* @throws {RequiredError}
|
|
9697
|
+
*/
|
|
9698
|
+
getWorkspaceMember(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWorkspaceMemberResponse>>;
|
|
9623
9699
|
/**
|
|
9624
9700
|
* Get workspace quota
|
|
9625
9701
|
* @param {string} id Workspace ID
|
|
@@ -10513,6 +10589,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
10513
10589
|
* @throws {RequiredError}
|
|
10514
10590
|
*/
|
|
10515
10591
|
getWorkspace(requestParameters: DefaultApiGetWorkspaceRequest, options?: AxiosRequestConfig): AxiosPromise<GetWorkspaceResponse>;
|
|
10592
|
+
/**
|
|
10593
|
+
* Get details of the account authenticating with this endpoint.
|
|
10594
|
+
* @param {*} [options] Override http request option.
|
|
10595
|
+
* @throws {RequiredError}
|
|
10596
|
+
*/
|
|
10597
|
+
getWorkspaceMember(options?: AxiosRequestConfig): AxiosPromise<GetWorkspaceMemberResponse>;
|
|
10516
10598
|
/**
|
|
10517
10599
|
* Get workspace quota
|
|
10518
10600
|
* @param {DefaultApiGetWorkspaceQuotaRequest} requestParameters Request parameters.
|
|
@@ -13442,6 +13524,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
13442
13524
|
* @memberof DefaultApi
|
|
13443
13525
|
*/
|
|
13444
13526
|
getWorkspace(requestParameters: DefaultApiGetWorkspaceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetWorkspaceResponse, any>>;
|
|
13527
|
+
/**
|
|
13528
|
+
* Get details of the account authenticating with this endpoint.
|
|
13529
|
+
* @param {*} [options] Override http request option.
|
|
13530
|
+
* @throws {RequiredError}
|
|
13531
|
+
* @memberof DefaultApi
|
|
13532
|
+
*/
|
|
13533
|
+
getWorkspaceMember(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetWorkspaceMemberResponse, any>>;
|
|
13445
13534
|
/**
|
|
13446
13535
|
* Get workspace quota
|
|
13447
13536
|
* @param {DefaultApiGetWorkspaceQuotaRequest} requestParameters Request parameters.
|
package/dist/gen/base.d.ts
CHANGED
package/dist/gen/client.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ export declare class ApiClient {
|
|
|
99
99
|
deleteWorkspace: (props: DeleteWorkspaceProps) => Promise<object>;
|
|
100
100
|
getAuditRecords: (props: GetAuditRecordsProps) => Promise<import("./api").GetAuditRecordsResponse>;
|
|
101
101
|
listWorkspaceMembers: (props: ListWorkspaceMembersProps) => Promise<import("./api").ListWorkspaceMembersResponse>;
|
|
102
|
+
getWorkspaceMember: () => Promise<import("./api").GetWorkspaceMemberResponse>;
|
|
102
103
|
deleteWorkspaceMember: (props: DeleteWorkspaceMemberProps) => Promise<object>;
|
|
103
104
|
createWorkspaceMember: (createWorkspaceMemberBody: CreateWorkspaceMemberProps) => Promise<import("./api").CreateWorkspaceMemberResponse>;
|
|
104
105
|
updateWorkspaceMember: ({ id, ...updateWorkspaceMemberBody }: UpdateWorkspaceMemberProps) => Promise<import("./api").UpdateWorkspaceMemberResponse>;
|
package/dist/gen/common.d.ts
CHANGED
package/dist/gen/index.d.ts
CHANGED