kb-cloud-client-typescript 2.4.0-alpha.62 → 2.4.0-alpha.63

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.
Files changed (85) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/account-api.d.ts +906 -6
  6. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/account-api.js +981 -0
  8. package/dist/adminapi/apis/account-api.js.map +1 -1
  9. package/dist/adminapi/apis/seaweedfs-api.d.ts +951 -0
  10. package/dist/adminapi/apis/seaweedfs-api.d.ts.map +1 -0
  11. package/dist/adminapi/apis/seaweedfs-api.js +1045 -0
  12. package/dist/adminapi/apis/seaweedfs-api.js.map +1 -0
  13. package/dist/adminapi/apis/shared-api.d.ts +905 -5
  14. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/shared-api.js +991 -10
  16. package/dist/adminapi/apis/shared-api.js.map +1 -1
  17. package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
  18. package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
  19. package/dist/adminapi/models/bind-seaweed-fspolicies-request.js +16 -0
  20. package/dist/adminapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
  21. package/dist/adminapi/models/index.d.ts +3 -0
  22. package/dist/adminapi/models/index.d.ts.map +1 -1
  23. package/dist/adminapi/models/index.js +3 -0
  24. package/dist/adminapi/models/index.js.map +1 -1
  25. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
  26. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
  27. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
  28. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
  29. package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
  30. package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
  31. package/dist/adminapi/models/list-seaweed-fspolicies200-response.js +16 -0
  32. package/dist/adminapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
  33. package/dist/openapi/api.d.ts +1 -0
  34. package/dist/openapi/api.d.ts.map +1 -1
  35. package/dist/openapi/api.js +1 -0
  36. package/dist/openapi/api.js.map +1 -1
  37. package/dist/openapi/apis/account-api.d.ts +906 -6
  38. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  39. package/dist/openapi/apis/account-api.js +981 -0
  40. package/dist/openapi/apis/account-api.js.map +1 -1
  41. package/dist/openapi/apis/seaweedfs-api.d.ts +951 -0
  42. package/dist/openapi/apis/seaweedfs-api.d.ts.map +1 -0
  43. package/dist/openapi/apis/seaweedfs-api.js +1045 -0
  44. package/dist/openapi/apis/seaweedfs-api.js.map +1 -0
  45. package/dist/openapi/apis/shared-api.d.ts +905 -5
  46. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  47. package/dist/openapi/apis/shared-api.js +991 -10
  48. package/dist/openapi/apis/shared-api.js.map +1 -1
  49. package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
  50. package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
  51. package/dist/openapi/models/bind-seaweed-fspolicies-request.js +16 -0
  52. package/dist/openapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
  53. package/dist/openapi/models/index.d.ts +3 -0
  54. package/dist/openapi/models/index.d.ts.map +1 -1
  55. package/dist/openapi/models/index.js +3 -0
  56. package/dist/openapi/models/index.js.map +1 -1
  57. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
  58. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
  59. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
  60. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
  61. package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
  62. package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
  63. package/dist/openapi/models/list-seaweed-fspolicies200-response.js +16 -0
  64. package/dist/openapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
  65. package/package.json +1 -1
  66. package/src/adminapi/.openapi-generator/FILES +4 -0
  67. package/src/adminapi/api.ts +1 -0
  68. package/src/adminapi/apis/account-api.ts +1623 -55
  69. package/src/adminapi/apis/seaweedfs-api.ts +1644 -0
  70. package/src/adminapi/apis/shared-api.ts +1776 -208
  71. package/src/adminapi/models/bind-seaweed-fspolicies-request.ts +30 -0
  72. package/src/adminapi/models/index.ts +3 -0
  73. package/src/adminapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
  74. package/src/adminapi/models/list-seaweed-fspolicies200-response.ts +33 -0
  75. package/src/adminapi.yaml +562 -0
  76. package/src/openapi/.openapi-generator/FILES +4 -0
  77. package/src/openapi/api.ts +1 -0
  78. package/src/openapi/apis/account-api.ts +1623 -55
  79. package/src/openapi/apis/seaweedfs-api.ts +1644 -0
  80. package/src/openapi/apis/shared-api.ts +1776 -208
  81. package/src/openapi/models/bind-seaweed-fspolicies-request.ts +30 -0
  82. package/src/openapi/models/index.ts +3 -0
  83. package/src/openapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
  84. package/src/openapi/models/list-seaweed-fspolicies200-response.ts +33 -0
  85. package/src/openapi.yaml +562 -0
@@ -0,0 +1,951 @@
1
+ /**
2
+ * Admin API
3
+ * The Admin API is used to manage the ApeCloud platform.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: support@apecloud.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { Account } from '../models';
16
+ import type { AccountListItem } from '../models';
17
+ import type { BindSeaweedFSPoliciesRequest } from '../models';
18
+ import type { ListSeaweedFSPolicies200Response } from '../models';
19
+ import type { PrivilegeListItem } from '../models';
20
+ /**
21
+ * SeaweedfsApi - axios parameter creator
22
+ * @export
23
+ */
24
+ export declare const SeaweedfsApiAxiosParamCreator: (configuration?: Configuration) => {
25
+ /**
26
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
27
+ * @summary bindSeaweedFSPolicies
28
+ * @param {string} orgName
29
+ * @param {string} clusterName
30
+ * @param {string} accountName
31
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ bindSeaweedFSPolicies: (orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36
+ /**
37
+ * Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
38
+ * @summary createSeaweedFSAccessKey
39
+ * @param {string} orgName
40
+ * @param {string} clusterName
41
+ * @param {string} accountName
42
+ * @param {Account} account
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ createSeaweedFSAccessKey: (orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
47
+ /**
48
+ * Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
49
+ * @summary createSeaweedFSAccount
50
+ * @param {string} orgName name of the organization
51
+ * @param {string} clusterName name of the cluster
52
+ * @param {Account} body
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ createSeaweedFSAccount: (orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
57
+ /**
58
+ *
59
+ * @summary deleteSeaweedFSAccessKey
60
+ * @param {string} orgName
61
+ * @param {string} clusterName
62
+ * @param {string} accountName
63
+ * @param {string} accessKey
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ deleteSeaweedFSAccessKey: (orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
68
+ /**
69
+ * delete an account in cluster
70
+ * @summary deleteSeaweedFSAccount
71
+ * @param {string} orgName name of the organization
72
+ * @param {string} clusterName name of the cluster
73
+ * @param {string} accountName name of the account
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ deleteSeaweedFSAccount: (orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
78
+ /**
79
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
80
+ * @summary deleteSeaweedFSPolicy
81
+ * @param {string} orgName
82
+ * @param {string} clusterName
83
+ * @param {string} policyName
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ deleteSeaweedFSPolicy: (orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
88
+ /**
89
+ * get root account password
90
+ * @summary getRootSeaweedFSAccountPassword
91
+ * @param {string} orgName name of the Org
92
+ * @param {string} clusterName name of the Cluster
93
+ * @param {string} accountName name of the account
94
+ * @param {string} [component] name of the component
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ getRootSeaweedFSAccountPassword: (orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
99
+ /**
100
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
101
+ * @summary listSeaweedFSAccounts
102
+ * @param {string} orgName name of the organization
103
+ * @param {string} clusterName name of the cluster
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ listSeaweedFSAccounts: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
108
+ /**
109
+ *
110
+ * @summary listSeaweedFSPolicies
111
+ * @param {string} orgName
112
+ * @param {string} clusterName
113
+ * @param {*} [options] Override http request option.
114
+ * @throws {RequiredError}
115
+ */
116
+ listSeaweedFSPolicies: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
117
+ /**
118
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
119
+ * @summary putSeaweedFSPolicy
120
+ * @param {string} orgName
121
+ * @param {string} clusterName
122
+ * @param {string} policyName
123
+ * @param {{ [key: string]: any; }} requestBody
124
+ * @param {*} [options] Override http request option.
125
+ * @throws {RequiredError}
126
+ */
127
+ putSeaweedFSPolicy: (orgName: string, clusterName: string, policyName: string, requestBody: {
128
+ [key: string]: any;
129
+ }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
130
+ /**
131
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
132
+ * @summary updateSeaweedFSAccount
133
+ * @param {string} orgName name of the organization
134
+ * @param {string} clusterName name of the cluster
135
+ * @param {string} accountName name of the account
136
+ * @param {Account} body
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ updateSeaweedFSAccount: (orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
141
+ /**
142
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
143
+ * @summary updateSeaweedFSAccountPrivileges
144
+ * @param {string} orgName name of the Org
145
+ * @param {string} clusterName name of the Cluster
146
+ * @param {string} accountName name of the account
147
+ * @param {Array<PrivilegeListItem>} body
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ updateSeaweedFSAccountPrivileges: (orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
152
+ };
153
+ /**
154
+ * SeaweedfsApi - functional programming interface
155
+ * @export
156
+ */
157
+ export declare const SeaweedfsApiFp: (configuration?: Configuration) => {
158
+ /**
159
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
160
+ * @summary bindSeaweedFSPolicies
161
+ * @param {string} orgName
162
+ * @param {string} clusterName
163
+ * @param {string} accountName
164
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ bindSeaweedFSPolicies(orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
169
+ /**
170
+ * Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
171
+ * @summary createSeaweedFSAccessKey
172
+ * @param {string} orgName
173
+ * @param {string} clusterName
174
+ * @param {string} accountName
175
+ * @param {Account} account
176
+ * @param {*} [options] Override http request option.
177
+ * @throws {RequiredError}
178
+ */
179
+ createSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>>;
180
+ /**
181
+ * Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
182
+ * @summary createSeaweedFSAccount
183
+ * @param {string} orgName name of the organization
184
+ * @param {string} clusterName name of the cluster
185
+ * @param {Account} body
186
+ * @param {*} [options] Override http request option.
187
+ * @throws {RequiredError}
188
+ */
189
+ createSeaweedFSAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>>;
190
+ /**
191
+ *
192
+ * @summary deleteSeaweedFSAccessKey
193
+ * @param {string} orgName
194
+ * @param {string} clusterName
195
+ * @param {string} accountName
196
+ * @param {string} accessKey
197
+ * @param {*} [options] Override http request option.
198
+ * @throws {RequiredError}
199
+ */
200
+ deleteSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
201
+ /**
202
+ * delete an account in cluster
203
+ * @summary deleteSeaweedFSAccount
204
+ * @param {string} orgName name of the organization
205
+ * @param {string} clusterName name of the cluster
206
+ * @param {string} accountName name of the account
207
+ * @param {*} [options] Override http request option.
208
+ * @throws {RequiredError}
209
+ */
210
+ deleteSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
211
+ /**
212
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
213
+ * @summary deleteSeaweedFSPolicy
214
+ * @param {string} orgName
215
+ * @param {string} clusterName
216
+ * @param {string} policyName
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ */
220
+ deleteSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
221
+ /**
222
+ * get root account password
223
+ * @summary getRootSeaweedFSAccountPassword
224
+ * @param {string} orgName name of the Org
225
+ * @param {string} clusterName name of the Cluster
226
+ * @param {string} accountName name of the account
227
+ * @param {string} [component] name of the component
228
+ * @param {*} [options] Override http request option.
229
+ * @throws {RequiredError}
230
+ */
231
+ getRootSeaweedFSAccountPassword(orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
232
+ /**
233
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
234
+ * @summary listSeaweedFSAccounts
235
+ * @param {string} orgName name of the organization
236
+ * @param {string} clusterName name of the cluster
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ listSeaweedFSAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>>;
241
+ /**
242
+ *
243
+ * @summary listSeaweedFSPolicies
244
+ * @param {string} orgName
245
+ * @param {string} clusterName
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ listSeaweedFSPolicies(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSeaweedFSPolicies200Response>>;
250
+ /**
251
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
252
+ * @summary putSeaweedFSPolicy
253
+ * @param {string} orgName
254
+ * @param {string} clusterName
255
+ * @param {string} policyName
256
+ * @param {{ [key: string]: any; }} requestBody
257
+ * @param {*} [options] Override http request option.
258
+ * @throws {RequiredError}
259
+ */
260
+ putSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, requestBody: {
261
+ [key: string]: any;
262
+ }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
263
+ /**
264
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
265
+ * @summary updateSeaweedFSAccount
266
+ * @param {string} orgName name of the organization
267
+ * @param {string} clusterName name of the cluster
268
+ * @param {string} accountName name of the account
269
+ * @param {Account} body
270
+ * @param {*} [options] Override http request option.
271
+ * @throws {RequiredError}
272
+ */
273
+ updateSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>>;
274
+ /**
275
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
276
+ * @summary updateSeaweedFSAccountPrivileges
277
+ * @param {string} orgName name of the Org
278
+ * @param {string} clusterName name of the Cluster
279
+ * @param {string} accountName name of the account
280
+ * @param {Array<PrivilegeListItem>} body
281
+ * @param {*} [options] Override http request option.
282
+ * @throws {RequiredError}
283
+ */
284
+ updateSeaweedFSAccountPrivileges(orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
285
+ };
286
+ /**
287
+ * SeaweedfsApi - factory interface
288
+ * @export
289
+ */
290
+ export declare const SeaweedfsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
291
+ /**
292
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
293
+ * @summary bindSeaweedFSPolicies
294
+ * @param {SeaweedfsApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
295
+ * @param {*} [options] Override http request option.
296
+ * @throws {RequiredError}
297
+ */
298
+ bindSeaweedFSPolicies(requestParameters: SeaweedfsApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
299
+ /**
300
+ * Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
301
+ * @summary createSeaweedFSAccessKey
302
+ * @param {SeaweedfsApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
303
+ * @param {*} [options] Override http request option.
304
+ * @throws {RequiredError}
305
+ */
306
+ createSeaweedFSAccessKey(requestParameters: SeaweedfsApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
307
+ /**
308
+ * Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
309
+ * @summary createSeaweedFSAccount
310
+ * @param {SeaweedfsApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
311
+ * @param {*} [options] Override http request option.
312
+ * @throws {RequiredError}
313
+ */
314
+ createSeaweedFSAccount(requestParameters: SeaweedfsApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
315
+ /**
316
+ *
317
+ * @summary deleteSeaweedFSAccessKey
318
+ * @param {SeaweedfsApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
319
+ * @param {*} [options] Override http request option.
320
+ * @throws {RequiredError}
321
+ */
322
+ deleteSeaweedFSAccessKey(requestParameters: SeaweedfsApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
323
+ /**
324
+ * delete an account in cluster
325
+ * @summary deleteSeaweedFSAccount
326
+ * @param {SeaweedfsApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
327
+ * @param {*} [options] Override http request option.
328
+ * @throws {RequiredError}
329
+ */
330
+ deleteSeaweedFSAccount(requestParameters: SeaweedfsApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
331
+ /**
332
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
333
+ * @summary deleteSeaweedFSPolicy
334
+ * @param {SeaweedfsApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
335
+ * @param {*} [options] Override http request option.
336
+ * @throws {RequiredError}
337
+ */
338
+ deleteSeaweedFSPolicy(requestParameters: SeaweedfsApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
339
+ /**
340
+ * get root account password
341
+ * @summary getRootSeaweedFSAccountPassword
342
+ * @param {SeaweedfsApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
343
+ * @param {*} [options] Override http request option.
344
+ * @throws {RequiredError}
345
+ */
346
+ getRootSeaweedFSAccountPassword(requestParameters: SeaweedfsApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
347
+ /**
348
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
349
+ * @summary listSeaweedFSAccounts
350
+ * @param {SeaweedfsApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
351
+ * @param {*} [options] Override http request option.
352
+ * @throws {RequiredError}
353
+ */
354
+ listSeaweedFSAccounts(requestParameters: SeaweedfsApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
355
+ /**
356
+ *
357
+ * @summary listSeaweedFSPolicies
358
+ * @param {SeaweedfsApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
359
+ * @param {*} [options] Override http request option.
360
+ * @throws {RequiredError}
361
+ */
362
+ listSeaweedFSPolicies(requestParameters: SeaweedfsApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
363
+ /**
364
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
365
+ * @summary putSeaweedFSPolicy
366
+ * @param {SeaweedfsApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
367
+ * @param {*} [options] Override http request option.
368
+ * @throws {RequiredError}
369
+ */
370
+ putSeaweedFSPolicy(requestParameters: SeaweedfsApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
371
+ /**
372
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
373
+ * @summary updateSeaweedFSAccount
374
+ * @param {SeaweedfsApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
375
+ * @param {*} [options] Override http request option.
376
+ * @throws {RequiredError}
377
+ */
378
+ updateSeaweedFSAccount(requestParameters: SeaweedfsApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
379
+ /**
380
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
381
+ * @summary updateSeaweedFSAccountPrivileges
382
+ * @param {SeaweedfsApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
383
+ * @param {*} [options] Override http request option.
384
+ * @throws {RequiredError}
385
+ */
386
+ updateSeaweedFSAccountPrivileges(requestParameters: SeaweedfsApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
387
+ };
388
+ /**
389
+ * SeaweedfsApi - interface
390
+ * @export
391
+ * @interface SeaweedfsApi
392
+ */
393
+ export interface SeaweedfsApiInterface {
394
+ /**
395
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
396
+ * @summary bindSeaweedFSPolicies
397
+ * @param {SeaweedfsApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
398
+ * @param {*} [options] Override http request option.
399
+ * @throws {RequiredError}
400
+ * @memberof SeaweedfsApiInterface
401
+ */
402
+ bindSeaweedFSPolicies(requestParameters: SeaweedfsApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
403
+ /**
404
+ * Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
405
+ * @summary createSeaweedFSAccessKey
406
+ * @param {SeaweedfsApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
407
+ * @param {*} [options] Override http request option.
408
+ * @throws {RequiredError}
409
+ * @memberof SeaweedfsApiInterface
410
+ */
411
+ createSeaweedFSAccessKey(requestParameters: SeaweedfsApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
412
+ /**
413
+ * Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
414
+ * @summary createSeaweedFSAccount
415
+ * @param {SeaweedfsApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
416
+ * @param {*} [options] Override http request option.
417
+ * @throws {RequiredError}
418
+ * @memberof SeaweedfsApiInterface
419
+ */
420
+ createSeaweedFSAccount(requestParameters: SeaweedfsApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
421
+ /**
422
+ *
423
+ * @summary deleteSeaweedFSAccessKey
424
+ * @param {SeaweedfsApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
425
+ * @param {*} [options] Override http request option.
426
+ * @throws {RequiredError}
427
+ * @memberof SeaweedfsApiInterface
428
+ */
429
+ deleteSeaweedFSAccessKey(requestParameters: SeaweedfsApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
430
+ /**
431
+ * delete an account in cluster
432
+ * @summary deleteSeaweedFSAccount
433
+ * @param {SeaweedfsApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
434
+ * @param {*} [options] Override http request option.
435
+ * @throws {RequiredError}
436
+ * @memberof SeaweedfsApiInterface
437
+ */
438
+ deleteSeaweedFSAccount(requestParameters: SeaweedfsApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
439
+ /**
440
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
441
+ * @summary deleteSeaweedFSPolicy
442
+ * @param {SeaweedfsApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
443
+ * @param {*} [options] Override http request option.
444
+ * @throws {RequiredError}
445
+ * @memberof SeaweedfsApiInterface
446
+ */
447
+ deleteSeaweedFSPolicy(requestParameters: SeaweedfsApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
448
+ /**
449
+ * get root account password
450
+ * @summary getRootSeaweedFSAccountPassword
451
+ * @param {SeaweedfsApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
452
+ * @param {*} [options] Override http request option.
453
+ * @throws {RequiredError}
454
+ * @memberof SeaweedfsApiInterface
455
+ */
456
+ getRootSeaweedFSAccountPassword(requestParameters: SeaweedfsApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
457
+ /**
458
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
459
+ * @summary listSeaweedFSAccounts
460
+ * @param {SeaweedfsApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
461
+ * @param {*} [options] Override http request option.
462
+ * @throws {RequiredError}
463
+ * @memberof SeaweedfsApiInterface
464
+ */
465
+ listSeaweedFSAccounts(requestParameters: SeaweedfsApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
466
+ /**
467
+ *
468
+ * @summary listSeaweedFSPolicies
469
+ * @param {SeaweedfsApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
470
+ * @param {*} [options] Override http request option.
471
+ * @throws {RequiredError}
472
+ * @memberof SeaweedfsApiInterface
473
+ */
474
+ listSeaweedFSPolicies(requestParameters: SeaweedfsApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
475
+ /**
476
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
477
+ * @summary putSeaweedFSPolicy
478
+ * @param {SeaweedfsApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
479
+ * @param {*} [options] Override http request option.
480
+ * @throws {RequiredError}
481
+ * @memberof SeaweedfsApiInterface
482
+ */
483
+ putSeaweedFSPolicy(requestParameters: SeaweedfsApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
484
+ /**
485
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
486
+ * @summary updateSeaweedFSAccount
487
+ * @param {SeaweedfsApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
488
+ * @param {*} [options] Override http request option.
489
+ * @throws {RequiredError}
490
+ * @memberof SeaweedfsApiInterface
491
+ */
492
+ updateSeaweedFSAccount(requestParameters: SeaweedfsApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
493
+ /**
494
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
495
+ * @summary updateSeaweedFSAccountPrivileges
496
+ * @param {SeaweedfsApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
497
+ * @param {*} [options] Override http request option.
498
+ * @throws {RequiredError}
499
+ * @memberof SeaweedfsApiInterface
500
+ */
501
+ updateSeaweedFSAccountPrivileges(requestParameters: SeaweedfsApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
502
+ }
503
+ /**
504
+ * Request parameters for bindSeaweedFSPolicies operation in SeaweedfsApi.
505
+ * @export
506
+ * @interface SeaweedfsApiBindSeaweedFSPoliciesRequest
507
+ */
508
+ export interface SeaweedfsApiBindSeaweedFSPoliciesRequest {
509
+ /**
510
+ *
511
+ * @type {string}
512
+ * @memberof SeaweedfsApiBindSeaweedFSPolicies
513
+ */
514
+ readonly orgName: string;
515
+ /**
516
+ *
517
+ * @type {string}
518
+ * @memberof SeaweedfsApiBindSeaweedFSPolicies
519
+ */
520
+ readonly clusterName: string;
521
+ /**
522
+ *
523
+ * @type {string}
524
+ * @memberof SeaweedfsApiBindSeaweedFSPolicies
525
+ */
526
+ readonly accountName: string;
527
+ /**
528
+ *
529
+ * @type {BindSeaweedFSPoliciesRequest}
530
+ * @memberof SeaweedfsApiBindSeaweedFSPolicies
531
+ */
532
+ readonly bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest;
533
+ }
534
+ /**
535
+ * Request parameters for createSeaweedFSAccessKey operation in SeaweedfsApi.
536
+ * @export
537
+ * @interface SeaweedfsApiCreateSeaweedFSAccessKeyRequest
538
+ */
539
+ export interface SeaweedfsApiCreateSeaweedFSAccessKeyRequest {
540
+ /**
541
+ *
542
+ * @type {string}
543
+ * @memberof SeaweedfsApiCreateSeaweedFSAccessKey
544
+ */
545
+ readonly orgName: string;
546
+ /**
547
+ *
548
+ * @type {string}
549
+ * @memberof SeaweedfsApiCreateSeaweedFSAccessKey
550
+ */
551
+ readonly clusterName: string;
552
+ /**
553
+ *
554
+ * @type {string}
555
+ * @memberof SeaweedfsApiCreateSeaweedFSAccessKey
556
+ */
557
+ readonly accountName: string;
558
+ /**
559
+ *
560
+ * @type {Account}
561
+ * @memberof SeaweedfsApiCreateSeaweedFSAccessKey
562
+ */
563
+ readonly account: Account;
564
+ }
565
+ /**
566
+ * Request parameters for createSeaweedFSAccount operation in SeaweedfsApi.
567
+ * @export
568
+ * @interface SeaweedfsApiCreateSeaweedFSAccountRequest
569
+ */
570
+ export interface SeaweedfsApiCreateSeaweedFSAccountRequest {
571
+ /**
572
+ * name of the organization
573
+ * @type {string}
574
+ * @memberof SeaweedfsApiCreateSeaweedFSAccount
575
+ */
576
+ readonly orgName: string;
577
+ /**
578
+ * name of the cluster
579
+ * @type {string}
580
+ * @memberof SeaweedfsApiCreateSeaweedFSAccount
581
+ */
582
+ readonly clusterName: string;
583
+ /**
584
+ *
585
+ * @type {Account}
586
+ * @memberof SeaweedfsApiCreateSeaweedFSAccount
587
+ */
588
+ readonly body: Account;
589
+ }
590
+ /**
591
+ * Request parameters for deleteSeaweedFSAccessKey operation in SeaweedfsApi.
592
+ * @export
593
+ * @interface SeaweedfsApiDeleteSeaweedFSAccessKeyRequest
594
+ */
595
+ export interface SeaweedfsApiDeleteSeaweedFSAccessKeyRequest {
596
+ /**
597
+ *
598
+ * @type {string}
599
+ * @memberof SeaweedfsApiDeleteSeaweedFSAccessKey
600
+ */
601
+ readonly orgName: string;
602
+ /**
603
+ *
604
+ * @type {string}
605
+ * @memberof SeaweedfsApiDeleteSeaweedFSAccessKey
606
+ */
607
+ readonly clusterName: string;
608
+ /**
609
+ *
610
+ * @type {string}
611
+ * @memberof SeaweedfsApiDeleteSeaweedFSAccessKey
612
+ */
613
+ readonly accountName: string;
614
+ /**
615
+ *
616
+ * @type {string}
617
+ * @memberof SeaweedfsApiDeleteSeaweedFSAccessKey
618
+ */
619
+ readonly accessKey: string;
620
+ }
621
+ /**
622
+ * Request parameters for deleteSeaweedFSAccount operation in SeaweedfsApi.
623
+ * @export
624
+ * @interface SeaweedfsApiDeleteSeaweedFSAccountRequest
625
+ */
626
+ export interface SeaweedfsApiDeleteSeaweedFSAccountRequest {
627
+ /**
628
+ * name of the organization
629
+ * @type {string}
630
+ * @memberof SeaweedfsApiDeleteSeaweedFSAccount
631
+ */
632
+ readonly orgName: string;
633
+ /**
634
+ * name of the cluster
635
+ * @type {string}
636
+ * @memberof SeaweedfsApiDeleteSeaweedFSAccount
637
+ */
638
+ readonly clusterName: string;
639
+ /**
640
+ * name of the account
641
+ * @type {string}
642
+ * @memberof SeaweedfsApiDeleteSeaweedFSAccount
643
+ */
644
+ readonly accountName: string;
645
+ }
646
+ /**
647
+ * Request parameters for deleteSeaweedFSPolicy operation in SeaweedfsApi.
648
+ * @export
649
+ * @interface SeaweedfsApiDeleteSeaweedFSPolicyRequest
650
+ */
651
+ export interface SeaweedfsApiDeleteSeaweedFSPolicyRequest {
652
+ /**
653
+ *
654
+ * @type {string}
655
+ * @memberof SeaweedfsApiDeleteSeaweedFSPolicy
656
+ */
657
+ readonly orgName: string;
658
+ /**
659
+ *
660
+ * @type {string}
661
+ * @memberof SeaweedfsApiDeleteSeaweedFSPolicy
662
+ */
663
+ readonly clusterName: string;
664
+ /**
665
+ *
666
+ * @type {string}
667
+ * @memberof SeaweedfsApiDeleteSeaweedFSPolicy
668
+ */
669
+ readonly policyName: string;
670
+ }
671
+ /**
672
+ * Request parameters for getRootSeaweedFSAccountPassword operation in SeaweedfsApi.
673
+ * @export
674
+ * @interface SeaweedfsApiGetRootSeaweedFSAccountPasswordRequest
675
+ */
676
+ export interface SeaweedfsApiGetRootSeaweedFSAccountPasswordRequest {
677
+ /**
678
+ * name of the Org
679
+ * @type {string}
680
+ * @memberof SeaweedfsApiGetRootSeaweedFSAccountPassword
681
+ */
682
+ readonly orgName: string;
683
+ /**
684
+ * name of the Cluster
685
+ * @type {string}
686
+ * @memberof SeaweedfsApiGetRootSeaweedFSAccountPassword
687
+ */
688
+ readonly clusterName: string;
689
+ /**
690
+ * name of the account
691
+ * @type {string}
692
+ * @memberof SeaweedfsApiGetRootSeaweedFSAccountPassword
693
+ */
694
+ readonly accountName: string;
695
+ /**
696
+ * name of the component
697
+ * @type {string}
698
+ * @memberof SeaweedfsApiGetRootSeaweedFSAccountPassword
699
+ */
700
+ readonly component?: string;
701
+ }
702
+ /**
703
+ * Request parameters for listSeaweedFSAccounts operation in SeaweedfsApi.
704
+ * @export
705
+ * @interface SeaweedfsApiListSeaweedFSAccountsRequest
706
+ */
707
+ export interface SeaweedfsApiListSeaweedFSAccountsRequest {
708
+ /**
709
+ * name of the organization
710
+ * @type {string}
711
+ * @memberof SeaweedfsApiListSeaweedFSAccounts
712
+ */
713
+ readonly orgName: string;
714
+ /**
715
+ * name of the cluster
716
+ * @type {string}
717
+ * @memberof SeaweedfsApiListSeaweedFSAccounts
718
+ */
719
+ readonly clusterName: string;
720
+ }
721
+ /**
722
+ * Request parameters for listSeaweedFSPolicies operation in SeaweedfsApi.
723
+ * @export
724
+ * @interface SeaweedfsApiListSeaweedFSPoliciesRequest
725
+ */
726
+ export interface SeaweedfsApiListSeaweedFSPoliciesRequest {
727
+ /**
728
+ *
729
+ * @type {string}
730
+ * @memberof SeaweedfsApiListSeaweedFSPolicies
731
+ */
732
+ readonly orgName: string;
733
+ /**
734
+ *
735
+ * @type {string}
736
+ * @memberof SeaweedfsApiListSeaweedFSPolicies
737
+ */
738
+ readonly clusterName: string;
739
+ }
740
+ /**
741
+ * Request parameters for putSeaweedFSPolicy operation in SeaweedfsApi.
742
+ * @export
743
+ * @interface SeaweedfsApiPutSeaweedFSPolicyRequest
744
+ */
745
+ export interface SeaweedfsApiPutSeaweedFSPolicyRequest {
746
+ /**
747
+ *
748
+ * @type {string}
749
+ * @memberof SeaweedfsApiPutSeaweedFSPolicy
750
+ */
751
+ readonly orgName: string;
752
+ /**
753
+ *
754
+ * @type {string}
755
+ * @memberof SeaweedfsApiPutSeaweedFSPolicy
756
+ */
757
+ readonly clusterName: string;
758
+ /**
759
+ *
760
+ * @type {string}
761
+ * @memberof SeaweedfsApiPutSeaweedFSPolicy
762
+ */
763
+ readonly policyName: string;
764
+ /**
765
+ *
766
+ * @type {{ [key: string]: any; }}
767
+ * @memberof SeaweedfsApiPutSeaweedFSPolicy
768
+ */
769
+ readonly requestBody: {
770
+ [key: string]: any;
771
+ };
772
+ }
773
+ /**
774
+ * Request parameters for updateSeaweedFSAccount operation in SeaweedfsApi.
775
+ * @export
776
+ * @interface SeaweedfsApiUpdateSeaweedFSAccountRequest
777
+ */
778
+ export interface SeaweedfsApiUpdateSeaweedFSAccountRequest {
779
+ /**
780
+ * name of the organization
781
+ * @type {string}
782
+ * @memberof SeaweedfsApiUpdateSeaweedFSAccount
783
+ */
784
+ readonly orgName: string;
785
+ /**
786
+ * name of the cluster
787
+ * @type {string}
788
+ * @memberof SeaweedfsApiUpdateSeaweedFSAccount
789
+ */
790
+ readonly clusterName: string;
791
+ /**
792
+ * name of the account
793
+ * @type {string}
794
+ * @memberof SeaweedfsApiUpdateSeaweedFSAccount
795
+ */
796
+ readonly accountName: string;
797
+ /**
798
+ *
799
+ * @type {Account}
800
+ * @memberof SeaweedfsApiUpdateSeaweedFSAccount
801
+ */
802
+ readonly body: Account;
803
+ }
804
+ /**
805
+ * Request parameters for updateSeaweedFSAccountPrivileges operation in SeaweedfsApi.
806
+ * @export
807
+ * @interface SeaweedfsApiUpdateSeaweedFSAccountPrivilegesRequest
808
+ */
809
+ export interface SeaweedfsApiUpdateSeaweedFSAccountPrivilegesRequest {
810
+ /**
811
+ * name of the Org
812
+ * @type {string}
813
+ * @memberof SeaweedfsApiUpdateSeaweedFSAccountPrivileges
814
+ */
815
+ readonly orgName: string;
816
+ /**
817
+ * name of the Cluster
818
+ * @type {string}
819
+ * @memberof SeaweedfsApiUpdateSeaweedFSAccountPrivileges
820
+ */
821
+ readonly clusterName: string;
822
+ /**
823
+ * name of the account
824
+ * @type {string}
825
+ * @memberof SeaweedfsApiUpdateSeaweedFSAccountPrivileges
826
+ */
827
+ readonly accountName: string;
828
+ /**
829
+ *
830
+ * @type {Array<PrivilegeListItem>}
831
+ * @memberof SeaweedfsApiUpdateSeaweedFSAccountPrivileges
832
+ */
833
+ readonly body: Array<PrivilegeListItem>;
834
+ }
835
+ /**
836
+ * SeaweedfsApi - object-oriented interface
837
+ * @export
838
+ * @class SeaweedfsApi
839
+ * @extends {BaseAPI}
840
+ */
841
+ export declare class SeaweedfsApi extends BaseAPI implements SeaweedfsApiInterface {
842
+ /**
843
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
844
+ * @summary bindSeaweedFSPolicies
845
+ * @param {SeaweedfsApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
846
+ * @param {*} [options] Override http request option.
847
+ * @throws {RequiredError}
848
+ * @memberof SeaweedfsApi
849
+ */
850
+ bindSeaweedFSPolicies(requestParameters: SeaweedfsApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
851
+ /**
852
+ * Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
853
+ * @summary createSeaweedFSAccessKey
854
+ * @param {SeaweedfsApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
855
+ * @param {*} [options] Override http request option.
856
+ * @throws {RequiredError}
857
+ * @memberof SeaweedfsApi
858
+ */
859
+ createSeaweedFSAccessKey(requestParameters: SeaweedfsApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any, {}>>;
860
+ /**
861
+ * Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
862
+ * @summary createSeaweedFSAccount
863
+ * @param {SeaweedfsApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
864
+ * @param {*} [options] Override http request option.
865
+ * @throws {RequiredError}
866
+ * @memberof SeaweedfsApi
867
+ */
868
+ createSeaweedFSAccount(requestParameters: SeaweedfsApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any, {}>>;
869
+ /**
870
+ *
871
+ * @summary deleteSeaweedFSAccessKey
872
+ * @param {SeaweedfsApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
873
+ * @param {*} [options] Override http request option.
874
+ * @throws {RequiredError}
875
+ * @memberof SeaweedfsApi
876
+ */
877
+ deleteSeaweedFSAccessKey(requestParameters: SeaweedfsApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
878
+ /**
879
+ * delete an account in cluster
880
+ * @summary deleteSeaweedFSAccount
881
+ * @param {SeaweedfsApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
882
+ * @param {*} [options] Override http request option.
883
+ * @throws {RequiredError}
884
+ * @memberof SeaweedfsApi
885
+ */
886
+ deleteSeaweedFSAccount(requestParameters: SeaweedfsApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
887
+ /**
888
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
889
+ * @summary deleteSeaweedFSPolicy
890
+ * @param {SeaweedfsApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
891
+ * @param {*} [options] Override http request option.
892
+ * @throws {RequiredError}
893
+ * @memberof SeaweedfsApi
894
+ */
895
+ deleteSeaweedFSPolicy(requestParameters: SeaweedfsApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
896
+ /**
897
+ * get root account password
898
+ * @summary getRootSeaweedFSAccountPassword
899
+ * @param {SeaweedfsApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
900
+ * @param {*} [options] Override http request option.
901
+ * @throws {RequiredError}
902
+ * @memberof SeaweedfsApi
903
+ */
904
+ getRootSeaweedFSAccountPassword(requestParameters: SeaweedfsApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
905
+ /**
906
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
907
+ * @summary listSeaweedFSAccounts
908
+ * @param {SeaweedfsApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
909
+ * @param {*} [options] Override http request option.
910
+ * @throws {RequiredError}
911
+ * @memberof SeaweedfsApi
912
+ */
913
+ listSeaweedFSAccounts(requestParameters: SeaweedfsApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountListItem[], any, {}>>;
914
+ /**
915
+ *
916
+ * @summary listSeaweedFSPolicies
917
+ * @param {SeaweedfsApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
918
+ * @param {*} [options] Override http request option.
919
+ * @throws {RequiredError}
920
+ * @memberof SeaweedfsApi
921
+ */
922
+ listSeaweedFSPolicies(requestParameters: SeaweedfsApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSeaweedFSPolicies200Response, any, {}>>;
923
+ /**
924
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
925
+ * @summary putSeaweedFSPolicy
926
+ * @param {SeaweedfsApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
927
+ * @param {*} [options] Override http request option.
928
+ * @throws {RequiredError}
929
+ * @memberof SeaweedfsApi
930
+ */
931
+ putSeaweedFSPolicy(requestParameters: SeaweedfsApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
932
+ /**
933
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
934
+ * @summary updateSeaweedFSAccount
935
+ * @param {SeaweedfsApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
936
+ * @param {*} [options] Override http request option.
937
+ * @throws {RequiredError}
938
+ * @memberof SeaweedfsApi
939
+ */
940
+ updateSeaweedFSAccount(requestParameters: SeaweedfsApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any, {}>>;
941
+ /**
942
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
943
+ * @summary updateSeaweedFSAccountPrivileges
944
+ * @param {SeaweedfsApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
945
+ * @param {*} [options] Override http request option.
946
+ * @throws {RequiredError}
947
+ * @memberof SeaweedfsApi
948
+ */
949
+ updateSeaweedFSAccountPrivileges(requestParameters: SeaweedfsApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
950
+ }
951
+ //# sourceMappingURL=seaweedfs-api.d.ts.map