kb-cloud-client-typescript 2.2.71 → 2.2.73
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/adminapi/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/elasticsearch-api.d.ts +1221 -0
- package/dist/adminapi/apis/elasticsearch-api.d.ts.map +1 -0
- package/dist/adminapi/apis/elasticsearch-api.js +1332 -0
- package/dist/adminapi/apis/elasticsearch-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +1187 -14
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +1402 -134
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/account-option.d.ts +18 -0
- package/dist/adminapi/models/account-option.d.ts.map +1 -1
- package/dist/adminapi/models/esput-security-user-request.d.ts +63 -0
- package/dist/adminapi/models/esput-security-user-request.d.ts.map +1 -0
- package/dist/adminapi/models/esput-security-user-request.js +16 -0
- package/dist/adminapi/models/esput-security-user-request.js.map +1 -0
- package/dist/adminapi/models/essecurity-application-privileges.d.ts +37 -0
- package/dist/adminapi/models/essecurity-application-privileges.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-application-privileges.js +16 -0
- package/dist/adminapi/models/essecurity-application-privileges.js.map +1 -0
- package/dist/adminapi/models/essecurity-field-security.d.ts +31 -0
- package/dist/adminapi/models/essecurity-field-security.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-field-security.js +16 -0
- package/dist/adminapi/models/essecurity-field-security.js.map +1 -0
- package/dist/adminapi/models/essecurity-index-privileges.d.ts +50 -0
- package/dist/adminapi/models/essecurity-index-privileges.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-index-privileges.js +16 -0
- package/dist/adminapi/models/essecurity-index-privileges.js.map +1 -0
- package/dist/adminapi/models/essecurity-password-request.d.ts +25 -0
- package/dist/adminapi/models/essecurity-password-request.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-password-request.js +16 -0
- package/dist/adminapi/models/essecurity-password-request.js.map +1 -0
- package/dist/adminapi/models/essecurity-remote-cluster-privileges.d.ts +31 -0
- package/dist/adminapi/models/essecurity-remote-cluster-privileges.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-remote-cluster-privileges.js +16 -0
- package/dist/adminapi/models/essecurity-remote-cluster-privileges.js.map +1 -0
- package/dist/adminapi/models/essecurity-remote-index-privileges.d.ts +56 -0
- package/dist/adminapi/models/essecurity-remote-index-privileges.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-remote-index-privileges.js +16 -0
- package/dist/adminapi/models/essecurity-remote-index-privileges.js.map +1 -0
- package/dist/adminapi/models/essecurity-role-descriptor.d.ts +97 -0
- package/dist/adminapi/models/essecurity-role-descriptor.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-role-descriptor.js +16 -0
- package/dist/adminapi/models/essecurity-role-descriptor.js.map +1 -0
- package/dist/adminapi/models/essecurity-role-mapping.d.ts +54 -0
- package/dist/adminapi/models/essecurity-role-mapping.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-role-mapping.js +16 -0
- package/dist/adminapi/models/essecurity-role-mapping.js.map +1 -0
- package/dist/adminapi/models/essecurity-role-template-format.d.ts +22 -0
- package/dist/adminapi/models/essecurity-role-template-format.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-role-template-format.js +26 -0
- package/dist/adminapi/models/essecurity-role-template-format.js.map +1 -0
- package/dist/adminapi/models/essecurity-role-template.d.ts +34 -0
- package/dist/adminapi/models/essecurity-role-template.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-role-template.js +16 -0
- package/dist/adminapi/models/essecurity-role-template.js.map +1 -0
- package/dist/adminapi/models/essecurity-user.d.ts +51 -0
- package/dist/adminapi/models/essecurity-user.d.ts.map +1 -0
- package/dist/adminapi/models/essecurity-user.js +16 -0
- package/dist/adminapi/models/essecurity-user.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +12 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +12 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/elasticsearch-api.d.ts +1221 -0
- package/dist/openapi/apis/elasticsearch-api.d.ts.map +1 -0
- package/dist/openapi/apis/elasticsearch-api.js +1332 -0
- package/dist/openapi/apis/elasticsearch-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +1187 -14
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +1407 -139
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/account-option.d.ts +18 -0
- package/dist/openapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/models/esput-security-user-request.d.ts +63 -0
- package/dist/openapi/models/esput-security-user-request.d.ts.map +1 -0
- package/dist/openapi/models/esput-security-user-request.js +16 -0
- package/dist/openapi/models/esput-security-user-request.js.map +1 -0
- package/dist/openapi/models/essecurity-application-privileges.d.ts +37 -0
- package/dist/openapi/models/essecurity-application-privileges.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-application-privileges.js +16 -0
- package/dist/openapi/models/essecurity-application-privileges.js.map +1 -0
- package/dist/openapi/models/essecurity-field-security.d.ts +31 -0
- package/dist/openapi/models/essecurity-field-security.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-field-security.js +16 -0
- package/dist/openapi/models/essecurity-field-security.js.map +1 -0
- package/dist/openapi/models/essecurity-index-privileges.d.ts +50 -0
- package/dist/openapi/models/essecurity-index-privileges.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-index-privileges.js +16 -0
- package/dist/openapi/models/essecurity-index-privileges.js.map +1 -0
- package/dist/openapi/models/essecurity-password-request.d.ts +25 -0
- package/dist/openapi/models/essecurity-password-request.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-password-request.js +16 -0
- package/dist/openapi/models/essecurity-password-request.js.map +1 -0
- package/dist/openapi/models/essecurity-remote-cluster-privileges.d.ts +31 -0
- package/dist/openapi/models/essecurity-remote-cluster-privileges.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-remote-cluster-privileges.js +16 -0
- package/dist/openapi/models/essecurity-remote-cluster-privileges.js.map +1 -0
- package/dist/openapi/models/essecurity-remote-index-privileges.d.ts +56 -0
- package/dist/openapi/models/essecurity-remote-index-privileges.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-remote-index-privileges.js +16 -0
- package/dist/openapi/models/essecurity-remote-index-privileges.js.map +1 -0
- package/dist/openapi/models/essecurity-role-descriptor.d.ts +97 -0
- package/dist/openapi/models/essecurity-role-descriptor.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-role-descriptor.js +16 -0
- package/dist/openapi/models/essecurity-role-descriptor.js.map +1 -0
- package/dist/openapi/models/essecurity-role-mapping.d.ts +54 -0
- package/dist/openapi/models/essecurity-role-mapping.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-role-mapping.js +16 -0
- package/dist/openapi/models/essecurity-role-mapping.js.map +1 -0
- package/dist/openapi/models/essecurity-role-template-format.d.ts +22 -0
- package/dist/openapi/models/essecurity-role-template-format.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-role-template-format.js +26 -0
- package/dist/openapi/models/essecurity-role-template-format.js.map +1 -0
- package/dist/openapi/models/essecurity-role-template.d.ts +34 -0
- package/dist/openapi/models/essecurity-role-template.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-role-template.js +16 -0
- package/dist/openapi/models/essecurity-role-template.js.map +1 -0
- package/dist/openapi/models/essecurity-user.d.ts +51 -0
- package/dist/openapi/models/essecurity-user.d.ts.map +1 -0
- package/dist/openapi/models/essecurity-user.js +16 -0
- package/dist/openapi/models/essecurity-user.js.map +1 -0
- package/dist/openapi/models/index.d.ts +12 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +12 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +13 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/elasticsearch-api.ts +2072 -0
- package/src/adminapi/apis/shared-api.ts +2141 -139
- package/src/adminapi/models/account-option.ts +18 -0
- package/src/adminapi/models/esput-security-user-request.ts +66 -0
- package/src/adminapi/models/essecurity-application-privileges.ts +42 -0
- package/src/adminapi/models/essecurity-field-security.ts +36 -0
- package/src/adminapi/models/essecurity-index-privileges.ts +57 -0
- package/src/adminapi/models/essecurity-password-request.ts +30 -0
- package/src/adminapi/models/essecurity-remote-cluster-privileges.ts +36 -0
- package/src/adminapi/models/essecurity-remote-index-privileges.ts +63 -0
- package/src/adminapi/models/essecurity-role-descriptor.ts +102 -0
- package/src/adminapi/models/essecurity-role-mapping.ts +57 -0
- package/src/adminapi/models/essecurity-role-template-format.ts +31 -0
- package/src/adminapi/models/essecurity-role-template.ts +41 -0
- package/src/adminapi/models/essecurity-user.ts +54 -0
- package/src/adminapi/models/index.ts +12 -0
- package/src/adminapi.yaml +874 -0
- package/src/openapi/.openapi-generator/FILES +13 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/elasticsearch-api.ts +2072 -0
- package/src/openapi/apis/shared-api.ts +2144 -142
- package/src/openapi/models/account-option.ts +18 -0
- package/src/openapi/models/esput-security-user-request.ts +66 -0
- package/src/openapi/models/essecurity-application-privileges.ts +42 -0
- package/src/openapi/models/essecurity-field-security.ts +36 -0
- package/src/openapi/models/essecurity-index-privileges.ts +57 -0
- package/src/openapi/models/essecurity-password-request.ts +30 -0
- package/src/openapi/models/essecurity-remote-cluster-privileges.ts +36 -0
- package/src/openapi/models/essecurity-remote-index-privileges.ts +63 -0
- package/src/openapi/models/essecurity-role-descriptor.ts +102 -0
- package/src/openapi/models/essecurity-role-mapping.ts +57 -0
- package/src/openapi/models/essecurity-role-template-format.ts +31 -0
- package/src/openapi/models/essecurity-role-template.ts +41 -0
- package/src/openapi/models/essecurity-user.ts +54 -0
- package/src/openapi/models/index.ts +12 -0
- package/src/openapi.yaml +874 -0
|
@@ -74,6 +74,24 @@ export interface AccountOption {
|
|
|
74
74
|
* @memberof AccountOption
|
|
75
75
|
*/
|
|
76
76
|
'delete': boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Whether the engine supports account lock and unlock actions.
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof AccountOption
|
|
81
|
+
*/
|
|
82
|
+
'supportLock'?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Whether the engine supports service account access-key management.
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof AccountOption
|
|
87
|
+
*/
|
|
88
|
+
'supportServiceAccount'?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Account names that are protected from update, delete, lock, and unlock actions.
|
|
91
|
+
* @type {Array<string>}
|
|
92
|
+
* @memberof AccountOption
|
|
93
|
+
*/
|
|
94
|
+
'protectedAccounts'?: Array<string>;
|
|
77
95
|
/**
|
|
78
96
|
*
|
|
79
97
|
* @type {boolean}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ESPutSecurityUserRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface ESPutSecurityUserRequest {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ESPutSecurityUserRequest
|
|
27
|
+
*/
|
|
28
|
+
'password'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ESPutSecurityUserRequest
|
|
33
|
+
*/
|
|
34
|
+
'password_hash'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<string>}
|
|
38
|
+
* @memberof ESPutSecurityUserRequest
|
|
39
|
+
*/
|
|
40
|
+
'roles': Array<string>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ESPutSecurityUserRequest
|
|
45
|
+
*/
|
|
46
|
+
'full_name'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ESPutSecurityUserRequest
|
|
51
|
+
*/
|
|
52
|
+
'email'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {{ [key: string]: any; }}
|
|
56
|
+
* @memberof ESPutSecurityUserRequest
|
|
57
|
+
*/
|
|
58
|
+
'metadata'?: { [key: string]: any; };
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof ESPutSecurityUserRequest
|
|
63
|
+
*/
|
|
64
|
+
'enabled'?: boolean | null;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ESSecurityApplicationPrivileges
|
|
21
|
+
*/
|
|
22
|
+
export interface ESSecurityApplicationPrivileges {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ESSecurityApplicationPrivileges
|
|
27
|
+
*/
|
|
28
|
+
'application'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof ESSecurityApplicationPrivileges
|
|
33
|
+
*/
|
|
34
|
+
'privileges'?: Array<string>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<string>}
|
|
38
|
+
* @memberof ESSecurityApplicationPrivileges
|
|
39
|
+
*/
|
|
40
|
+
'resources'?: Array<string>;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ESSecurityFieldSecurity
|
|
21
|
+
*/
|
|
22
|
+
export interface ESSecurityFieldSecurity {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof ESSecurityFieldSecurity
|
|
27
|
+
*/
|
|
28
|
+
'grant'?: Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof ESSecurityFieldSecurity
|
|
33
|
+
*/
|
|
34
|
+
'except'?: Array<string>;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ESSecurityFieldSecurity } from './essecurity-field-security';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ESSecurityIndexPrivileges
|
|
24
|
+
*/
|
|
25
|
+
export interface ESSecurityIndexPrivileges {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<string>}
|
|
29
|
+
* @memberof ESSecurityIndexPrivileges
|
|
30
|
+
*/
|
|
31
|
+
'names': Array<string>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<string>}
|
|
35
|
+
* @memberof ESSecurityIndexPrivileges
|
|
36
|
+
*/
|
|
37
|
+
'privileges': Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ESSecurityFieldSecurity}
|
|
41
|
+
* @memberof ESSecurityIndexPrivileges
|
|
42
|
+
*/
|
|
43
|
+
'field_security'?: ESSecurityFieldSecurity;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ESSecurityIndexPrivileges
|
|
48
|
+
*/
|
|
49
|
+
'query'?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof ESSecurityIndexPrivileges
|
|
54
|
+
*/
|
|
55
|
+
'allow_restricted_indices'?: boolean | null;
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ESSecurityPasswordRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface ESSecurityPasswordRequest {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ESSecurityPasswordRequest
|
|
27
|
+
*/
|
|
28
|
+
'password': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ESSecurityRemoteClusterPrivileges
|
|
21
|
+
*/
|
|
22
|
+
export interface ESSecurityRemoteClusterPrivileges {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof ESSecurityRemoteClusterPrivileges
|
|
27
|
+
*/
|
|
28
|
+
'clusters': Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof ESSecurityRemoteClusterPrivileges
|
|
33
|
+
*/
|
|
34
|
+
'privileges': Array<string>;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ESSecurityFieldSecurity } from './essecurity-field-security';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ESSecurityRemoteIndexPrivileges
|
|
24
|
+
*/
|
|
25
|
+
export interface ESSecurityRemoteIndexPrivileges {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<string>}
|
|
29
|
+
* @memberof ESSecurityRemoteIndexPrivileges
|
|
30
|
+
*/
|
|
31
|
+
'clusters': Array<string>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<string>}
|
|
35
|
+
* @memberof ESSecurityRemoteIndexPrivileges
|
|
36
|
+
*/
|
|
37
|
+
'names': Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Array<string>}
|
|
41
|
+
* @memberof ESSecurityRemoteIndexPrivileges
|
|
42
|
+
*/
|
|
43
|
+
'privileges': Array<string>;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {ESSecurityFieldSecurity}
|
|
47
|
+
* @memberof ESSecurityRemoteIndexPrivileges
|
|
48
|
+
*/
|
|
49
|
+
'field_security'?: ESSecurityFieldSecurity;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ESSecurityRemoteIndexPrivileges
|
|
54
|
+
*/
|
|
55
|
+
'query'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof ESSecurityRemoteIndexPrivileges
|
|
60
|
+
*/
|
|
61
|
+
'allow_restricted_indices'?: boolean | null;
|
|
62
|
+
}
|
|
63
|
+
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ESSecurityApplicationPrivileges } from './essecurity-application-privileges';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { ESSecurityIndexPrivileges } from './essecurity-index-privileges';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { ESSecurityRemoteClusterPrivileges } from './essecurity-remote-cluster-privileges';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { ESSecurityRemoteIndexPrivileges } from './essecurity-remote-index-privileges';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @export
|
|
32
|
+
* @interface ESSecurityRoleDescriptor
|
|
33
|
+
*/
|
|
34
|
+
export interface ESSecurityRoleDescriptor {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ESSecurityRoleDescriptor
|
|
39
|
+
*/
|
|
40
|
+
'description'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<string>}
|
|
44
|
+
* @memberof ESSecurityRoleDescriptor
|
|
45
|
+
*/
|
|
46
|
+
'cluster'?: Array<string>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {{ [key: string]: any; }}
|
|
50
|
+
* @memberof ESSecurityRoleDescriptor
|
|
51
|
+
*/
|
|
52
|
+
'global'?: { [key: string]: any; };
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Array<ESSecurityIndexPrivileges>}
|
|
56
|
+
* @memberof ESSecurityRoleDescriptor
|
|
57
|
+
*/
|
|
58
|
+
'indices'?: Array<ESSecurityIndexPrivileges>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Array<ESSecurityRemoteIndexPrivileges>}
|
|
62
|
+
* @memberof ESSecurityRoleDescriptor
|
|
63
|
+
*/
|
|
64
|
+
'remote_indices'?: Array<ESSecurityRemoteIndexPrivileges>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Array<ESSecurityRemoteClusterPrivileges>}
|
|
68
|
+
* @memberof ESSecurityRoleDescriptor
|
|
69
|
+
*/
|
|
70
|
+
'remote_cluster'?: Array<ESSecurityRemoteClusterPrivileges>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<ESSecurityApplicationPrivileges>}
|
|
74
|
+
* @memberof ESSecurityRoleDescriptor
|
|
75
|
+
*/
|
|
76
|
+
'applications'?: Array<ESSecurityApplicationPrivileges>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Array<string>}
|
|
80
|
+
* @memberof ESSecurityRoleDescriptor
|
|
81
|
+
*/
|
|
82
|
+
'run_as'?: Array<string>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {{ [key: string]: any; }}
|
|
86
|
+
* @memberof ESSecurityRoleDescriptor
|
|
87
|
+
*/
|
|
88
|
+
'metadata'?: { [key: string]: any; };
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {{ [key: string]: any; }}
|
|
92
|
+
* @memberof ESSecurityRoleDescriptor
|
|
93
|
+
*/
|
|
94
|
+
'restriction'?: { [key: string]: any; };
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {{ [key: string]: any; }}
|
|
98
|
+
* @memberof ESSecurityRoleDescriptor
|
|
99
|
+
*/
|
|
100
|
+
'transient_metadata'?: { [key: string]: any; };
|
|
101
|
+
}
|
|
102
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ESSecurityRoleTemplate } from './essecurity-role-template';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ESSecurityRoleMapping
|
|
24
|
+
*/
|
|
25
|
+
export interface ESSecurityRoleMapping {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof ESSecurityRoleMapping
|
|
30
|
+
*/
|
|
31
|
+
'enabled'?: boolean | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<string>}
|
|
35
|
+
* @memberof ESSecurityRoleMapping
|
|
36
|
+
*/
|
|
37
|
+
'roles'?: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Array<ESSecurityRoleTemplate>}
|
|
41
|
+
* @memberof ESSecurityRoleMapping
|
|
42
|
+
*/
|
|
43
|
+
'role_templates'?: Array<ESSecurityRoleTemplate>;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {{ [key: string]: any; }}
|
|
47
|
+
* @memberof ESSecurityRoleMapping
|
|
48
|
+
*/
|
|
49
|
+
'rules'?: { [key: string]: any; };
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {{ [key: string]: any; }}
|
|
53
|
+
* @memberof ESSecurityRoleMapping
|
|
54
|
+
*/
|
|
55
|
+
'metadata'?: { [key: string]: any; };
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const ESSecurityRoleTemplateFormat = {
|
|
24
|
+
string: 'string',
|
|
25
|
+
json: 'json'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type ESSecurityRoleTemplateFormat = typeof ESSecurityRoleTemplateFormat[keyof typeof ESSecurityRoleTemplateFormat];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ESSecurityRoleTemplateFormat } from './essecurity-role-template-format';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ESSecurityRoleTemplate
|
|
24
|
+
*/
|
|
25
|
+
export interface ESSecurityRoleTemplate {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {{ [key: string]: any; }}
|
|
29
|
+
* @memberof ESSecurityRoleTemplate
|
|
30
|
+
*/
|
|
31
|
+
'template'?: { [key: string]: any; };
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ESSecurityRoleTemplateFormat}
|
|
35
|
+
* @memberof ESSecurityRoleTemplate
|
|
36
|
+
*/
|
|
37
|
+
'format'?: ESSecurityRoleTemplateFormat;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ESSecurityUser
|
|
21
|
+
*/
|
|
22
|
+
export interface ESSecurityUser {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof ESSecurityUser
|
|
27
|
+
*/
|
|
28
|
+
'roles'?: Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ESSecurityUser
|
|
33
|
+
*/
|
|
34
|
+
'full_name'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ESSecurityUser
|
|
39
|
+
*/
|
|
40
|
+
'email'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: any; }}
|
|
44
|
+
* @memberof ESSecurityUser
|
|
45
|
+
*/
|
|
46
|
+
'metadata'?: { [key: string]: any; };
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof ESSecurityUser
|
|
51
|
+
*/
|
|
52
|
+
'enabled'?: boolean | null;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -276,6 +276,18 @@ export * from './dms-task-list';
|
|
|
276
276
|
export * from './dms-unique-key';
|
|
277
277
|
export * from './dms-view-metadata';
|
|
278
278
|
export * from './dns';
|
|
279
|
+
export * from './esput-security-user-request';
|
|
280
|
+
export * from './essecurity-application-privileges';
|
|
281
|
+
export * from './essecurity-field-security';
|
|
282
|
+
export * from './essecurity-index-privileges';
|
|
283
|
+
export * from './essecurity-password-request';
|
|
284
|
+
export * from './essecurity-remote-cluster-privileges';
|
|
285
|
+
export * from './essecurity-remote-index-privileges';
|
|
286
|
+
export * from './essecurity-role-descriptor';
|
|
287
|
+
export * from './essecurity-role-mapping';
|
|
288
|
+
export * from './essecurity-role-template';
|
|
289
|
+
export * from './essecurity-role-template-format';
|
|
290
|
+
export * from './essecurity-user';
|
|
279
291
|
export * from './enable-service-version200-response';
|
|
280
292
|
export * from './enable-service-version-request';
|
|
281
293
|
export * from './encryption-algorithm';
|