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
@@ -72,6 +72,8 @@ import type { BackupScheduleUpdate } from '../models';
72
72
  // @ts-ignore
73
73
  import type { BackupView } from '../models';
74
74
  // @ts-ignore
75
+ import type { BindSeaweedFSPoliciesRequest } from '../models';
76
+ // @ts-ignore
75
77
  import type { Broker } from '../models';
76
78
  // @ts-ignore
77
79
  import type { BuildBackupObjRequest } from '../models';
@@ -244,6 +246,8 @@ import type { ListClickhouseAccountRoles200Response } from '../models';
244
246
  // @ts-ignore
245
247
  import type { ListClickhouseAccountRoles200ResponsePrivilegesInner } from '../models';
246
248
  // @ts-ignore
249
+ import type { ListSeaweedFSPolicies200Response } from '../models';
250
+ // @ts-ignore
247
251
  import type { MetricsQueryType } from '../models';
248
252
  // @ts-ignore
249
253
  import type { MilvusAccountPassword } from '../models';
@@ -936,6 +940,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
936
940
  options: localVarRequestOptions,
937
941
  };
938
942
  },
943
+ /**
944
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
945
+ * @summary bindSeaweedFSPolicies
946
+ * @param {string} orgName
947
+ * @param {string} clusterName
948
+ * @param {string} accountName
949
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
950
+ * @param {*} [options] Override http request option.
951
+ * @throws {RequiredError}
952
+ */
953
+ bindSeaweedFSPolicies: async (orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
954
+ // verify required parameter 'orgName' is not null or undefined
955
+ assertParamExists('bindSeaweedFSPolicies', 'orgName', orgName)
956
+ // verify required parameter 'clusterName' is not null or undefined
957
+ assertParamExists('bindSeaweedFSPolicies', 'clusterName', clusterName)
958
+ // verify required parameter 'accountName' is not null or undefined
959
+ assertParamExists('bindSeaweedFSPolicies', 'accountName', accountName)
960
+ // verify required parameter 'bindSeaweedFSPoliciesRequest' is not null or undefined
961
+ assertParamExists('bindSeaweedFSPolicies', 'bindSeaweedFSPoliciesRequest', bindSeaweedFSPoliciesRequest)
962
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies`
963
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
964
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
965
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
966
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
967
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
968
+ let baseOptions;
969
+ if (configuration) {
970
+ baseOptions = configuration.baseOptions;
971
+ }
972
+
973
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
974
+ const localVarHeaderParameter = {} as any;
975
+ const localVarQueryParameter = {} as any;
976
+
977
+ // authentication BearerToken required
978
+ // http bearer authentication required
979
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
980
+
981
+ // authentication DigestAuth required
982
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
983
+
984
+
985
+
986
+ localVarHeaderParameter['Content-Type'] = 'application/json';
987
+
988
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
989
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
990
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
991
+ localVarRequestOptions.data = serializeDataIfNeeded(bindSeaweedFSPoliciesRequest, localVarRequestOptions, configuration)
992
+
993
+ return {
994
+ url: toPathString(localVarUrlObj),
995
+ options: localVarRequestOptions,
996
+ };
997
+ },
939
998
  /**
940
999
  *
941
1000
  * @summary build backup object with a existing backup directory
@@ -2133,222 +2192,328 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2133
2192
  };
2134
2193
  },
2135
2194
  /**
2136
- * create a MinIO service account access key
2137
- * @summary Create MinIO access key
2138
- * @param {string} engineName name of the engine
2139
- * @param {string} orgName name of the organization
2140
- * @param {string} clusterName name of the cluster
2141
- * @param {DmsServiceAccountCreateRequest} body
2142
- * @param {*} [options] Override http request option.
2143
- * @throws {RequiredError}
2144
- */
2145
- createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2146
- // verify required parameter 'engineName' is not null or undefined
2147
- assertParamExists('createServiceAccount', 'engineName', engineName)
2148
- // verify required parameter 'orgName' is not null or undefined
2149
- assertParamExists('createServiceAccount', 'orgName', orgName)
2150
- // verify required parameter 'clusterName' is not null or undefined
2151
- assertParamExists('createServiceAccount', 'clusterName', clusterName)
2152
- // verify required parameter 'body' is not null or undefined
2153
- assertParamExists('createServiceAccount', 'body', body)
2154
- const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
2155
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
2156
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2157
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
2158
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2159
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2160
- let baseOptions;
2161
- if (configuration) {
2162
- baseOptions = configuration.baseOptions;
2163
- }
2164
-
2165
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2166
- const localVarHeaderParameter = {} as any;
2167
- const localVarQueryParameter = {} as any;
2168
-
2169
- // authentication BearerToken required
2170
- // http bearer authentication required
2171
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
2172
-
2173
- // authentication DigestAuth required
2174
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2175
-
2176
-
2177
-
2178
- localVarHeaderParameter['Content-Type'] = 'application/json';
2179
-
2180
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2181
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2182
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2183
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
2184
-
2185
- return {
2186
- url: toPathString(localVarUrlObj),
2187
- options: localVarRequestOptions,
2188
- };
2189
- },
2190
- /**
2191
- * create tag
2192
- * @summary Create cluster tags
2195
+ * 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.
2196
+ * @summary createSeaweedFSAccessKey
2193
2197
  * @param {string} orgName
2194
- * @param {TagCreate} body
2195
- * @param {*} [options] Override http request option.
2196
- * @throws {RequiredError}
2197
- */
2198
- createTag: async (orgName: string, body: TagCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2199
- // verify required parameter 'orgName' is not null or undefined
2200
- assertParamExists('createTag', 'orgName', orgName)
2201
- // verify required parameter 'body' is not null or undefined
2202
- assertParamExists('createTag', 'body', body)
2203
- const localVarPath = `/api/v1/organizations/{orgName}/tags`
2204
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
2205
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2206
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2207
- let baseOptions;
2208
- if (configuration) {
2209
- baseOptions = configuration.baseOptions;
2210
- }
2211
-
2212
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2213
- const localVarHeaderParameter = {} as any;
2214
- const localVarQueryParameter = {} as any;
2215
-
2216
- // authentication BearerToken required
2217
- // http bearer authentication required
2218
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
2219
-
2220
- // authentication DigestAuth required
2221
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2222
-
2223
-
2224
-
2225
- localVarHeaderParameter['Content-Type'] = 'application/json';
2226
-
2227
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2228
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2229
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2230
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
2231
-
2232
- return {
2233
- url: toPathString(localVarUrlObj),
2234
- options: localVarRequestOptions,
2235
- };
2236
- },
2237
- /**
2238
- * Create apikey of the authenticated user
2239
- * @summary Create apikey of the authenticated user
2240
- * @param {ApikeyCreate} body
2241
- * @param {*} [options] Override http request option.
2242
- * @throws {RequiredError}
2243
- */
2244
- createUserApikey: async (body: ApikeyCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2245
- // verify required parameter 'body' is not null or undefined
2246
- assertParamExists('createUserApikey', 'body', body)
2247
- const localVarPath = `/api/v1/user/apikeys`;
2248
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2249
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2250
- let baseOptions;
2251
- if (configuration) {
2252
- baseOptions = configuration.baseOptions;
2253
- }
2254
-
2255
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2256
- const localVarHeaderParameter = {} as any;
2257
- const localVarQueryParameter = {} as any;
2258
-
2259
- // authentication BearerToken required
2260
- // http bearer authentication required
2261
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
2262
-
2263
- // authentication DigestAuth required
2264
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2265
-
2266
-
2267
-
2268
- localVarHeaderParameter['Content-Type'] = 'application/json';
2269
-
2270
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2271
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2272
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2273
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
2274
-
2275
- return {
2276
- url: toPathString(localVarUrlObj),
2277
- options: localVarRequestOptions,
2278
- };
2279
- },
2280
- /**
2281
- *
2282
- * @summary Create custom OpsRequest
2283
- * @param {string} orgName name of the Org
2284
- * @param {string} clusterName name of the KubeBlocks cluster
2285
- * @param {OpsCustom} body
2286
- * @param {*} [options] Override http request option.
2287
- * @throws {RequiredError}
2288
- */
2289
- customOps: async (orgName: string, clusterName: string, body: OpsCustom, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2290
- // verify required parameter 'orgName' is not null or undefined
2291
- assertParamExists('customOps', 'orgName', orgName)
2292
- // verify required parameter 'clusterName' is not null or undefined
2293
- assertParamExists('customOps', 'clusterName', clusterName)
2294
- // verify required parameter 'body' is not null or undefined
2295
- assertParamExists('customOps', 'body', body)
2296
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/custom-ops`
2297
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2298
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
2299
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2300
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2301
- let baseOptions;
2302
- if (configuration) {
2303
- baseOptions = configuration.baseOptions;
2304
- }
2305
-
2306
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2307
- const localVarHeaderParameter = {} as any;
2308
- const localVarQueryParameter = {} as any;
2309
-
2310
- // authentication BearerToken required
2311
- // http bearer authentication required
2312
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
2313
-
2314
- // authentication DigestAuth required
2315
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2316
-
2317
-
2318
-
2319
- localVarHeaderParameter['Content-Type'] = 'application/json';
2320
-
2321
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2322
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2323
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2324
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
2325
-
2326
- return {
2327
- url: toPathString(localVarUrlObj),
2328
- options: localVarRequestOptions,
2329
- };
2330
- },
2331
- /**
2332
- *
2333
- * @summary Data Export
2334
- * @param {string} orgName name of the Org
2335
- * @param {string} clusterName name of the cluster
2336
- * @param {string} id id of the datasource
2337
- * @param {DmsExportRequest} [dmsExportRequest]
2198
+ * @param {string} clusterName
2199
+ * @param {string} accountName
2200
+ * @param {Account} account
2338
2201
  * @param {*} [options] Override http request option.
2339
2202
  * @throws {RequiredError}
2340
2203
  */
2341
- dataExport: async (orgName: string, clusterName: string, id: string, dmsExportRequest?: DmsExportRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2204
+ createSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, account: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2342
2205
  // verify required parameter 'orgName' is not null or undefined
2343
- assertParamExists('dataExport', 'orgName', orgName)
2206
+ assertParamExists('createSeaweedFSAccessKey', 'orgName', orgName)
2344
2207
  // verify required parameter 'clusterName' is not null or undefined
2345
- assertParamExists('dataExport', 'clusterName', clusterName)
2346
- // verify required parameter 'id' is not null or undefined
2347
- assertParamExists('dataExport', 'id', id)
2348
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/export`
2208
+ assertParamExists('createSeaweedFSAccessKey', 'clusterName', clusterName)
2209
+ // verify required parameter 'accountName' is not null or undefined
2210
+ assertParamExists('createSeaweedFSAccessKey', 'accountName', accountName)
2211
+ // verify required parameter 'account' is not null or undefined
2212
+ assertParamExists('createSeaweedFSAccessKey', 'account', account)
2213
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys`
2349
2214
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2350
2215
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2351
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2216
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
2217
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2218
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2219
+ let baseOptions;
2220
+ if (configuration) {
2221
+ baseOptions = configuration.baseOptions;
2222
+ }
2223
+
2224
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2225
+ const localVarHeaderParameter = {} as any;
2226
+ const localVarQueryParameter = {} as any;
2227
+
2228
+ // authentication BearerToken required
2229
+ // http bearer authentication required
2230
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2231
+
2232
+ // authentication DigestAuth required
2233
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2234
+
2235
+
2236
+
2237
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2238
+
2239
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2240
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2241
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2242
+ localVarRequestOptions.data = serializeDataIfNeeded(account, localVarRequestOptions, configuration)
2243
+
2244
+ return {
2245
+ url: toPathString(localVarUrlObj),
2246
+ options: localVarRequestOptions,
2247
+ };
2248
+ },
2249
+ /**
2250
+ * 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.
2251
+ * @summary createSeaweedFSAccount
2252
+ * @param {string} orgName name of the organization
2253
+ * @param {string} clusterName name of the cluster
2254
+ * @param {Account} body
2255
+ * @param {*} [options] Override http request option.
2256
+ * @throws {RequiredError}
2257
+ */
2258
+ createSeaweedFSAccount: async (orgName: string, clusterName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2259
+ // verify required parameter 'orgName' is not null or undefined
2260
+ assertParamExists('createSeaweedFSAccount', 'orgName', orgName)
2261
+ // verify required parameter 'clusterName' is not null or undefined
2262
+ assertParamExists('createSeaweedFSAccount', 'clusterName', clusterName)
2263
+ // verify required parameter 'body' is not null or undefined
2264
+ assertParamExists('createSeaweedFSAccount', 'body', body)
2265
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
2266
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2267
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
2268
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2269
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2270
+ let baseOptions;
2271
+ if (configuration) {
2272
+ baseOptions = configuration.baseOptions;
2273
+ }
2274
+
2275
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2276
+ const localVarHeaderParameter = {} as any;
2277
+ const localVarQueryParameter = {} as any;
2278
+
2279
+ // authentication BearerToken required
2280
+ // http bearer authentication required
2281
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2282
+
2283
+ // authentication DigestAuth required
2284
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2285
+
2286
+
2287
+
2288
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2289
+
2290
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2291
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2292
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2293
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
2294
+
2295
+ return {
2296
+ url: toPathString(localVarUrlObj),
2297
+ options: localVarRequestOptions,
2298
+ };
2299
+ },
2300
+ /**
2301
+ * create a MinIO service account access key
2302
+ * @summary Create MinIO access key
2303
+ * @param {string} engineName name of the engine
2304
+ * @param {string} orgName name of the organization
2305
+ * @param {string} clusterName name of the cluster
2306
+ * @param {DmsServiceAccountCreateRequest} body
2307
+ * @param {*} [options] Override http request option.
2308
+ * @throws {RequiredError}
2309
+ */
2310
+ createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2311
+ // verify required parameter 'engineName' is not null or undefined
2312
+ assertParamExists('createServiceAccount', 'engineName', engineName)
2313
+ // verify required parameter 'orgName' is not null or undefined
2314
+ assertParamExists('createServiceAccount', 'orgName', orgName)
2315
+ // verify required parameter 'clusterName' is not null or undefined
2316
+ assertParamExists('createServiceAccount', 'clusterName', clusterName)
2317
+ // verify required parameter 'body' is not null or undefined
2318
+ assertParamExists('createServiceAccount', 'body', body)
2319
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
2320
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
2321
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2322
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
2323
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2324
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2325
+ let baseOptions;
2326
+ if (configuration) {
2327
+ baseOptions = configuration.baseOptions;
2328
+ }
2329
+
2330
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2331
+ const localVarHeaderParameter = {} as any;
2332
+ const localVarQueryParameter = {} as any;
2333
+
2334
+ // authentication BearerToken required
2335
+ // http bearer authentication required
2336
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2337
+
2338
+ // authentication DigestAuth required
2339
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2340
+
2341
+
2342
+
2343
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2344
+
2345
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2346
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2347
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2348
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
2349
+
2350
+ return {
2351
+ url: toPathString(localVarUrlObj),
2352
+ options: localVarRequestOptions,
2353
+ };
2354
+ },
2355
+ /**
2356
+ * create tag
2357
+ * @summary Create cluster tags
2358
+ * @param {string} orgName
2359
+ * @param {TagCreate} body
2360
+ * @param {*} [options] Override http request option.
2361
+ * @throws {RequiredError}
2362
+ */
2363
+ createTag: async (orgName: string, body: TagCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2364
+ // verify required parameter 'orgName' is not null or undefined
2365
+ assertParamExists('createTag', 'orgName', orgName)
2366
+ // verify required parameter 'body' is not null or undefined
2367
+ assertParamExists('createTag', 'body', body)
2368
+ const localVarPath = `/api/v1/organizations/{orgName}/tags`
2369
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
2370
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2371
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2372
+ let baseOptions;
2373
+ if (configuration) {
2374
+ baseOptions = configuration.baseOptions;
2375
+ }
2376
+
2377
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2378
+ const localVarHeaderParameter = {} as any;
2379
+ const localVarQueryParameter = {} as any;
2380
+
2381
+ // authentication BearerToken required
2382
+ // http bearer authentication required
2383
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2384
+
2385
+ // authentication DigestAuth required
2386
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2387
+
2388
+
2389
+
2390
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2391
+
2392
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2393
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2394
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2395
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
2396
+
2397
+ return {
2398
+ url: toPathString(localVarUrlObj),
2399
+ options: localVarRequestOptions,
2400
+ };
2401
+ },
2402
+ /**
2403
+ * Create apikey of the authenticated user
2404
+ * @summary Create apikey of the authenticated user
2405
+ * @param {ApikeyCreate} body
2406
+ * @param {*} [options] Override http request option.
2407
+ * @throws {RequiredError}
2408
+ */
2409
+ createUserApikey: async (body: ApikeyCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2410
+ // verify required parameter 'body' is not null or undefined
2411
+ assertParamExists('createUserApikey', 'body', body)
2412
+ const localVarPath = `/api/v1/user/apikeys`;
2413
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2414
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2415
+ let baseOptions;
2416
+ if (configuration) {
2417
+ baseOptions = configuration.baseOptions;
2418
+ }
2419
+
2420
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2421
+ const localVarHeaderParameter = {} as any;
2422
+ const localVarQueryParameter = {} as any;
2423
+
2424
+ // authentication BearerToken required
2425
+ // http bearer authentication required
2426
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2427
+
2428
+ // authentication DigestAuth required
2429
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2430
+
2431
+
2432
+
2433
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2434
+
2435
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2436
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2437
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2438
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
2439
+
2440
+ return {
2441
+ url: toPathString(localVarUrlObj),
2442
+ options: localVarRequestOptions,
2443
+ };
2444
+ },
2445
+ /**
2446
+ *
2447
+ * @summary Create custom OpsRequest
2448
+ * @param {string} orgName name of the Org
2449
+ * @param {string} clusterName name of the KubeBlocks cluster
2450
+ * @param {OpsCustom} body
2451
+ * @param {*} [options] Override http request option.
2452
+ * @throws {RequiredError}
2453
+ */
2454
+ customOps: async (orgName: string, clusterName: string, body: OpsCustom, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2455
+ // verify required parameter 'orgName' is not null or undefined
2456
+ assertParamExists('customOps', 'orgName', orgName)
2457
+ // verify required parameter 'clusterName' is not null or undefined
2458
+ assertParamExists('customOps', 'clusterName', clusterName)
2459
+ // verify required parameter 'body' is not null or undefined
2460
+ assertParamExists('customOps', 'body', body)
2461
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/custom-ops`
2462
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2463
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
2464
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2465
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2466
+ let baseOptions;
2467
+ if (configuration) {
2468
+ baseOptions = configuration.baseOptions;
2469
+ }
2470
+
2471
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2472
+ const localVarHeaderParameter = {} as any;
2473
+ const localVarQueryParameter = {} as any;
2474
+
2475
+ // authentication BearerToken required
2476
+ // http bearer authentication required
2477
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2478
+
2479
+ // authentication DigestAuth required
2480
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2481
+
2482
+
2483
+
2484
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2485
+
2486
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2487
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2488
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2489
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
2490
+
2491
+ return {
2492
+ url: toPathString(localVarUrlObj),
2493
+ options: localVarRequestOptions,
2494
+ };
2495
+ },
2496
+ /**
2497
+ *
2498
+ * @summary Data Export
2499
+ * @param {string} orgName name of the Org
2500
+ * @param {string} clusterName name of the cluster
2501
+ * @param {string} id id of the datasource
2502
+ * @param {DmsExportRequest} [dmsExportRequest]
2503
+ * @param {*} [options] Override http request option.
2504
+ * @throws {RequiredError}
2505
+ */
2506
+ dataExport: async (orgName: string, clusterName: string, id: string, dmsExportRequest?: DmsExportRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2507
+ // verify required parameter 'orgName' is not null or undefined
2508
+ assertParamExists('dataExport', 'orgName', orgName)
2509
+ // verify required parameter 'clusterName' is not null or undefined
2510
+ assertParamExists('dataExport', 'clusterName', clusterName)
2511
+ // verify required parameter 'id' is not null or undefined
2512
+ assertParamExists('dataExport', 'id', id)
2513
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/export`
2514
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2515
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2516
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2352
2517
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2353
2518
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2354
2519
  let baseOptions;
@@ -3978,6 +4143,157 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3978
4143
 
3979
4144
 
3980
4145
 
4146
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4147
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4148
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4149
+
4150
+ return {
4151
+ url: toPathString(localVarUrlObj),
4152
+ options: localVarRequestOptions,
4153
+ };
4154
+ },
4155
+ /**
4156
+ *
4157
+ * @summary deleteSeaweedFSAccessKey
4158
+ * @param {string} orgName
4159
+ * @param {string} clusterName
4160
+ * @param {string} accountName
4161
+ * @param {string} accessKey
4162
+ * @param {*} [options] Override http request option.
4163
+ * @throws {RequiredError}
4164
+ */
4165
+ deleteSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4166
+ // verify required parameter 'orgName' is not null or undefined
4167
+ assertParamExists('deleteSeaweedFSAccessKey', 'orgName', orgName)
4168
+ // verify required parameter 'clusterName' is not null or undefined
4169
+ assertParamExists('deleteSeaweedFSAccessKey', 'clusterName', clusterName)
4170
+ // verify required parameter 'accountName' is not null or undefined
4171
+ assertParamExists('deleteSeaweedFSAccessKey', 'accountName', accountName)
4172
+ // verify required parameter 'accessKey' is not null or undefined
4173
+ assertParamExists('deleteSeaweedFSAccessKey', 'accessKey', accessKey)
4174
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}`
4175
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4176
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4177
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)))
4178
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
4179
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4180
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4181
+ let baseOptions;
4182
+ if (configuration) {
4183
+ baseOptions = configuration.baseOptions;
4184
+ }
4185
+
4186
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4187
+ const localVarHeaderParameter = {} as any;
4188
+ const localVarQueryParameter = {} as any;
4189
+
4190
+ // authentication BearerToken required
4191
+ // http bearer authentication required
4192
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4193
+
4194
+ // authentication DigestAuth required
4195
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4196
+
4197
+
4198
+
4199
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4200
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4201
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4202
+
4203
+ return {
4204
+ url: toPathString(localVarUrlObj),
4205
+ options: localVarRequestOptions,
4206
+ };
4207
+ },
4208
+ /**
4209
+ * delete an account in cluster
4210
+ * @summary deleteSeaweedFSAccount
4211
+ * @param {string} orgName name of the organization
4212
+ * @param {string} clusterName name of the cluster
4213
+ * @param {string} accountName name of the account
4214
+ * @param {*} [options] Override http request option.
4215
+ * @throws {RequiredError}
4216
+ */
4217
+ deleteSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4218
+ // verify required parameter 'orgName' is not null or undefined
4219
+ assertParamExists('deleteSeaweedFSAccount', 'orgName', orgName)
4220
+ // verify required parameter 'clusterName' is not null or undefined
4221
+ assertParamExists('deleteSeaweedFSAccount', 'clusterName', clusterName)
4222
+ // verify required parameter 'accountName' is not null or undefined
4223
+ assertParamExists('deleteSeaweedFSAccount', 'accountName', accountName)
4224
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
4225
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4226
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4227
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
4228
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4229
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4230
+ let baseOptions;
4231
+ if (configuration) {
4232
+ baseOptions = configuration.baseOptions;
4233
+ }
4234
+
4235
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4236
+ const localVarHeaderParameter = {} as any;
4237
+ const localVarQueryParameter = {} as any;
4238
+
4239
+ // authentication BearerToken required
4240
+ // http bearer authentication required
4241
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4242
+
4243
+ // authentication DigestAuth required
4244
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4245
+
4246
+
4247
+
4248
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4249
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4250
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4251
+
4252
+ return {
4253
+ url: toPathString(localVarUrlObj),
4254
+ options: localVarRequestOptions,
4255
+ };
4256
+ },
4257
+ /**
4258
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
4259
+ * @summary deleteSeaweedFSPolicy
4260
+ * @param {string} orgName
4261
+ * @param {string} clusterName
4262
+ * @param {string} policyName
4263
+ * @param {*} [options] Override http request option.
4264
+ * @throws {RequiredError}
4265
+ */
4266
+ deleteSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4267
+ // verify required parameter 'orgName' is not null or undefined
4268
+ assertParamExists('deleteSeaweedFSPolicy', 'orgName', orgName)
4269
+ // verify required parameter 'clusterName' is not null or undefined
4270
+ assertParamExists('deleteSeaweedFSPolicy', 'clusterName', clusterName)
4271
+ // verify required parameter 'policyName' is not null or undefined
4272
+ assertParamExists('deleteSeaweedFSPolicy', 'policyName', policyName)
4273
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
4274
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4275
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4276
+ .replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
4277
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4278
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4279
+ let baseOptions;
4280
+ if (configuration) {
4281
+ baseOptions = configuration.baseOptions;
4282
+ }
4283
+
4284
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4285
+ const localVarHeaderParameter = {} as any;
4286
+ const localVarQueryParameter = {} as any;
4287
+
4288
+ // authentication BearerToken required
4289
+ // http bearer authentication required
4290
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4291
+
4292
+ // authentication DigestAuth required
4293
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4294
+
4295
+
4296
+
3981
4297
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3982
4298
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3983
4299
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -7433,6 +7749,63 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
7433
7749
 
7434
7750
 
7435
7751
 
7752
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7753
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7754
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7755
+
7756
+ return {
7757
+ url: toPathString(localVarUrlObj),
7758
+ options: localVarRequestOptions,
7759
+ };
7760
+ },
7761
+ /**
7762
+ * get root account password
7763
+ * @summary getRootSeaweedFSAccountPassword
7764
+ * @param {string} orgName name of the Org
7765
+ * @param {string} clusterName name of the Cluster
7766
+ * @param {string} accountName name of the account
7767
+ * @param {string} [component] name of the component
7768
+ * @param {*} [options] Override http request option.
7769
+ * @throws {RequiredError}
7770
+ */
7771
+ getRootSeaweedFSAccountPassword: async (orgName: string, clusterName: string, accountName: string, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7772
+ // verify required parameter 'orgName' is not null or undefined
7773
+ assertParamExists('getRootSeaweedFSAccountPassword', 'orgName', orgName)
7774
+ // verify required parameter 'clusterName' is not null or undefined
7775
+ assertParamExists('getRootSeaweedFSAccountPassword', 'clusterName', clusterName)
7776
+ // verify required parameter 'accountName' is not null or undefined
7777
+ assertParamExists('getRootSeaweedFSAccountPassword', 'accountName', accountName)
7778
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password`
7779
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
7780
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
7781
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7782
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7783
+ let baseOptions;
7784
+ if (configuration) {
7785
+ baseOptions = configuration.baseOptions;
7786
+ }
7787
+
7788
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
7789
+ const localVarHeaderParameter = {} as any;
7790
+ const localVarQueryParameter = {} as any;
7791
+
7792
+ // authentication BearerToken required
7793
+ // http bearer authentication required
7794
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
7795
+
7796
+ // authentication DigestAuth required
7797
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
7798
+
7799
+ if (accountName !== undefined) {
7800
+ localVarQueryParameter['accountName'] = accountName;
7801
+ }
7802
+
7803
+ if (component !== undefined) {
7804
+ localVarQueryParameter['component'] = component;
7805
+ }
7806
+
7807
+
7808
+
7436
7809
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7437
7810
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7438
7811
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -11038,6 +11411,96 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
11038
11411
 
11039
11412
 
11040
11413
 
11414
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11415
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11416
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11417
+
11418
+ return {
11419
+ url: toPathString(localVarUrlObj),
11420
+ options: localVarRequestOptions,
11421
+ };
11422
+ },
11423
+ /**
11424
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
11425
+ * @summary listSeaweedFSAccounts
11426
+ * @param {string} orgName name of the organization
11427
+ * @param {string} clusterName name of the cluster
11428
+ * @param {*} [options] Override http request option.
11429
+ * @throws {RequiredError}
11430
+ */
11431
+ listSeaweedFSAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11432
+ // verify required parameter 'orgName' is not null or undefined
11433
+ assertParamExists('listSeaweedFSAccounts', 'orgName', orgName)
11434
+ // verify required parameter 'clusterName' is not null or undefined
11435
+ assertParamExists('listSeaweedFSAccounts', 'clusterName', clusterName)
11436
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
11437
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11438
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
11439
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11440
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11441
+ let baseOptions;
11442
+ if (configuration) {
11443
+ baseOptions = configuration.baseOptions;
11444
+ }
11445
+
11446
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11447
+ const localVarHeaderParameter = {} as any;
11448
+ const localVarQueryParameter = {} as any;
11449
+
11450
+ // authentication BearerToken required
11451
+ // http bearer authentication required
11452
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11453
+
11454
+ // authentication DigestAuth required
11455
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
11456
+
11457
+
11458
+
11459
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11460
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11461
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11462
+
11463
+ return {
11464
+ url: toPathString(localVarUrlObj),
11465
+ options: localVarRequestOptions,
11466
+ };
11467
+ },
11468
+ /**
11469
+ *
11470
+ * @summary listSeaweedFSPolicies
11471
+ * @param {string} orgName
11472
+ * @param {string} clusterName
11473
+ * @param {*} [options] Override http request option.
11474
+ * @throws {RequiredError}
11475
+ */
11476
+ listSeaweedFSPolicies: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11477
+ // verify required parameter 'orgName' is not null or undefined
11478
+ assertParamExists('listSeaweedFSPolicies', 'orgName', orgName)
11479
+ // verify required parameter 'clusterName' is not null or undefined
11480
+ assertParamExists('listSeaweedFSPolicies', 'clusterName', clusterName)
11481
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies`
11482
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11483
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
11484
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11485
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11486
+ let baseOptions;
11487
+ if (configuration) {
11488
+ baseOptions = configuration.baseOptions;
11489
+ }
11490
+
11491
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11492
+ const localVarHeaderParameter = {} as any;
11493
+ const localVarQueryParameter = {} as any;
11494
+
11495
+ // authentication BearerToken required
11496
+ // http bearer authentication required
11497
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11498
+
11499
+ // authentication DigestAuth required
11500
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
11501
+
11502
+
11503
+
11041
11504
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11042
11505
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11043
11506
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12118,6 +12581,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12118
12581
  options: localVarRequestOptions,
12119
12582
  };
12120
12583
  },
12584
+ /**
12585
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
12586
+ * @summary putSeaweedFSPolicy
12587
+ * @param {string} orgName
12588
+ * @param {string} clusterName
12589
+ * @param {string} policyName
12590
+ * @param {{ [key: string]: any; }} requestBody
12591
+ * @param {*} [options] Override http request option.
12592
+ * @throws {RequiredError}
12593
+ */
12594
+ putSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12595
+ // verify required parameter 'orgName' is not null or undefined
12596
+ assertParamExists('putSeaweedFSPolicy', 'orgName', orgName)
12597
+ // verify required parameter 'clusterName' is not null or undefined
12598
+ assertParamExists('putSeaweedFSPolicy', 'clusterName', clusterName)
12599
+ // verify required parameter 'policyName' is not null or undefined
12600
+ assertParamExists('putSeaweedFSPolicy', 'policyName', policyName)
12601
+ // verify required parameter 'requestBody' is not null or undefined
12602
+ assertParamExists('putSeaweedFSPolicy', 'requestBody', requestBody)
12603
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
12604
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12605
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
12606
+ .replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
12607
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12608
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12609
+ let baseOptions;
12610
+ if (configuration) {
12611
+ baseOptions = configuration.baseOptions;
12612
+ }
12613
+
12614
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
12615
+ const localVarHeaderParameter = {} as any;
12616
+ const localVarQueryParameter = {} as any;
12617
+
12618
+ // authentication BearerToken required
12619
+ // http bearer authentication required
12620
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12621
+
12622
+ // authentication DigestAuth required
12623
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
12624
+
12625
+
12626
+
12627
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12628
+
12629
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12630
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12631
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12632
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
12633
+
12634
+ return {
12635
+ url: toPathString(localVarUrlObj),
12636
+ options: localVarRequestOptions,
12637
+ };
12638
+ },
12121
12639
  /**
12122
12640
  *
12123
12641
  * @summary create a SQL query
@@ -16324,6 +16842,116 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
16324
16842
  options: localVarRequestOptions,
16325
16843
  };
16326
16844
  },
16845
+ /**
16846
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
16847
+ * @summary updateSeaweedFSAccount
16848
+ * @param {string} orgName name of the organization
16849
+ * @param {string} clusterName name of the cluster
16850
+ * @param {string} accountName name of the account
16851
+ * @param {Account} body
16852
+ * @param {*} [options] Override http request option.
16853
+ * @throws {RequiredError}
16854
+ */
16855
+ updateSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16856
+ // verify required parameter 'orgName' is not null or undefined
16857
+ assertParamExists('updateSeaweedFSAccount', 'orgName', orgName)
16858
+ // verify required parameter 'clusterName' is not null or undefined
16859
+ assertParamExists('updateSeaweedFSAccount', 'clusterName', clusterName)
16860
+ // verify required parameter 'accountName' is not null or undefined
16861
+ assertParamExists('updateSeaweedFSAccount', 'accountName', accountName)
16862
+ // verify required parameter 'body' is not null or undefined
16863
+ assertParamExists('updateSeaweedFSAccount', 'body', body)
16864
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
16865
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
16866
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
16867
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
16868
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16869
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16870
+ let baseOptions;
16871
+ if (configuration) {
16872
+ baseOptions = configuration.baseOptions;
16873
+ }
16874
+
16875
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
16876
+ const localVarHeaderParameter = {} as any;
16877
+ const localVarQueryParameter = {} as any;
16878
+
16879
+ // authentication BearerToken required
16880
+ // http bearer authentication required
16881
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
16882
+
16883
+ // authentication DigestAuth required
16884
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
16885
+
16886
+
16887
+
16888
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16889
+
16890
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16891
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16892
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16893
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
16894
+
16895
+ return {
16896
+ url: toPathString(localVarUrlObj),
16897
+ options: localVarRequestOptions,
16898
+ };
16899
+ },
16900
+ /**
16901
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
16902
+ * @summary updateSeaweedFSAccountPrivileges
16903
+ * @param {string} orgName name of the Org
16904
+ * @param {string} clusterName name of the Cluster
16905
+ * @param {string} accountName name of the account
16906
+ * @param {Array<PrivilegeListItem>} body
16907
+ * @param {*} [options] Override http request option.
16908
+ * @throws {RequiredError}
16909
+ */
16910
+ updateSeaweedFSAccountPrivileges: async (orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16911
+ // verify required parameter 'orgName' is not null or undefined
16912
+ assertParamExists('updateSeaweedFSAccountPrivileges', 'orgName', orgName)
16913
+ // verify required parameter 'clusterName' is not null or undefined
16914
+ assertParamExists('updateSeaweedFSAccountPrivileges', 'clusterName', clusterName)
16915
+ // verify required parameter 'accountName' is not null or undefined
16916
+ assertParamExists('updateSeaweedFSAccountPrivileges', 'accountName', accountName)
16917
+ // verify required parameter 'body' is not null or undefined
16918
+ assertParamExists('updateSeaweedFSAccountPrivileges', 'body', body)
16919
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
16920
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
16921
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
16922
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
16923
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16924
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16925
+ let baseOptions;
16926
+ if (configuration) {
16927
+ baseOptions = configuration.baseOptions;
16928
+ }
16929
+
16930
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
16931
+ const localVarHeaderParameter = {} as any;
16932
+ const localVarQueryParameter = {} as any;
16933
+
16934
+ // authentication BearerToken required
16935
+ // http bearer authentication required
16936
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
16937
+
16938
+ // authentication DigestAuth required
16939
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
16940
+
16941
+
16942
+
16943
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16944
+
16945
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16946
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16947
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16948
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
16949
+
16950
+ return {
16951
+ url: toPathString(localVarUrlObj),
16952
+ options: localVarRequestOptions,
16953
+ };
16954
+ },
16327
16955
  /**
16328
16956
  * update a MinIO service account access key
16329
16957
  * @summary Update MinIO access key
@@ -16932,6 +17560,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
16932
17560
  const localVarOperationServerBasePath = operationServerMap['SharedApi.batchUpdateOrgParameters']?.[localVarOperationServerIndex]?.url;
16933
17561
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16934
17562
  },
17563
+ /**
17564
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
17565
+ * @summary bindSeaweedFSPolicies
17566
+ * @param {string} orgName
17567
+ * @param {string} clusterName
17568
+ * @param {string} accountName
17569
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
17570
+ * @param {*} [options] Override http request option.
17571
+ * @throws {RequiredError}
17572
+ */
17573
+ async bindSeaweedFSPolicies(orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
17574
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options);
17575
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17576
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.bindSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
17577
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17578
+ },
16935
17579
  /**
16936
17580
  *
16937
17581
  * @summary build backup object with a existing backup directory
@@ -17283,6 +17927,37 @@ export const SharedApiFp = function(configuration?: Configuration) {
17283
17927
  const localVarOperationServerBasePath = operationServerMap['SharedApi.createRole']?.[localVarOperationServerIndex]?.url;
17284
17928
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17285
17929
  },
17930
+ /**
17931
+ * 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.
17932
+ * @summary createSeaweedFSAccessKey
17933
+ * @param {string} orgName
17934
+ * @param {string} clusterName
17935
+ * @param {string} accountName
17936
+ * @param {Account} account
17937
+ * @param {*} [options] Override http request option.
17938
+ * @throws {RequiredError}
17939
+ */
17940
+ async createSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
17941
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options);
17942
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17943
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.createSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
17944
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17945
+ },
17946
+ /**
17947
+ * 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.
17948
+ * @summary createSeaweedFSAccount
17949
+ * @param {string} orgName name of the organization
17950
+ * @param {string} clusterName name of the cluster
17951
+ * @param {Account} body
17952
+ * @param {*} [options] Override http request option.
17953
+ * @throws {RequiredError}
17954
+ */
17955
+ async createSeaweedFSAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
17956
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccount(orgName, clusterName, body, options);
17957
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17958
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.createSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
17959
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17960
+ },
17286
17961
  /**
17287
17962
  * create a MinIO service account access key
17288
17963
  * @summary Create MinIO access key
@@ -17846,6 +18521,52 @@ export const SharedApiFp = function(configuration?: Configuration) {
17846
18521
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteRoleByName']?.[localVarOperationServerIndex]?.url;
17847
18522
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17848
18523
  },
18524
+ /**
18525
+ *
18526
+ * @summary deleteSeaweedFSAccessKey
18527
+ * @param {string} orgName
18528
+ * @param {string} clusterName
18529
+ * @param {string} accountName
18530
+ * @param {string} accessKey
18531
+ * @param {*} [options] Override http request option.
18532
+ * @throws {RequiredError}
18533
+ */
18534
+ async deleteSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18535
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
18536
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18537
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
18538
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18539
+ },
18540
+ /**
18541
+ * delete an account in cluster
18542
+ * @summary deleteSeaweedFSAccount
18543
+ * @param {string} orgName name of the organization
18544
+ * @param {string} clusterName name of the cluster
18545
+ * @param {string} accountName name of the account
18546
+ * @param {*} [options] Override http request option.
18547
+ * @throws {RequiredError}
18548
+ */
18549
+ async deleteSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18550
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
18551
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18552
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
18553
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18554
+ },
18555
+ /**
18556
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
18557
+ * @summary deleteSeaweedFSPolicy
18558
+ * @param {string} orgName
18559
+ * @param {string} clusterName
18560
+ * @param {string} policyName
18561
+ * @param {*} [options] Override http request option.
18562
+ * @throws {RequiredError}
18563
+ */
18564
+ async deleteSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18565
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
18566
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18567
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
18568
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18569
+ },
17849
18570
  /**
17850
18571
  * delete a MinIO service account access key
17851
18572
  * @summary Delete MinIO access key
@@ -18851,6 +19572,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
18851
19572
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getRootAccountPassword']?.[localVarOperationServerIndex]?.url;
18852
19573
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18853
19574
  },
19575
+ /**
19576
+ * get root account password
19577
+ * @summary getRootSeaweedFSAccountPassword
19578
+ * @param {string} orgName name of the Org
19579
+ * @param {string} clusterName name of the Cluster
19580
+ * @param {string} accountName name of the account
19581
+ * @param {string} [component] name of the component
19582
+ * @param {*} [options] Override http request option.
19583
+ * @throws {RequiredError}
19584
+ */
19585
+ async getRootSeaweedFSAccountPassword(orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
19586
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options);
19587
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19588
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getRootSeaweedFSAccountPassword']?.[localVarOperationServerIndex]?.url;
19589
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19590
+ },
18854
19591
  /**
18855
19592
  *
18856
19593
  * @summary list all databases or schema of the cluster
@@ -19907,6 +20644,34 @@ export const SharedApiFp = function(configuration?: Configuration) {
19907
20644
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listRoles']?.[localVarOperationServerIndex]?.url;
19908
20645
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19909
20646
  },
20647
+ /**
20648
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
20649
+ * @summary listSeaweedFSAccounts
20650
+ * @param {string} orgName name of the organization
20651
+ * @param {string} clusterName name of the cluster
20652
+ * @param {*} [options] Override http request option.
20653
+ * @throws {RequiredError}
20654
+ */
20655
+ async listSeaweedFSAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>> {
20656
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSAccounts(orgName, clusterName, options);
20657
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20658
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listSeaweedFSAccounts']?.[localVarOperationServerIndex]?.url;
20659
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20660
+ },
20661
+ /**
20662
+ *
20663
+ * @summary listSeaweedFSPolicies
20664
+ * @param {string} orgName
20665
+ * @param {string} clusterName
20666
+ * @param {*} [options] Override http request option.
20667
+ * @throws {RequiredError}
20668
+ */
20669
+ async listSeaweedFSPolicies(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSeaweedFSPolicies200Response>> {
20670
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSPolicies(orgName, clusterName, options);
20671
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20672
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
20673
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20674
+ },
19910
20675
  /**
19911
20676
  * list MinIO service account access keys
19912
20677
  * @summary List MinIO access keys
@@ -20225,6 +20990,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
20225
20990
  const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
20226
20991
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20227
20992
  },
20993
+ /**
20994
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
20995
+ * @summary putSeaweedFSPolicy
20996
+ * @param {string} orgName
20997
+ * @param {string} clusterName
20998
+ * @param {string} policyName
20999
+ * @param {{ [key: string]: any; }} requestBody
21000
+ * @param {*} [options] Override http request option.
21001
+ * @throws {RequiredError}
21002
+ */
21003
+ async putSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
21004
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options);
21005
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21006
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.putSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
21007
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21008
+ },
20228
21009
  /**
20229
21010
  *
20230
21011
  * @summary create a SQL query
@@ -21388,6 +22169,38 @@ export const SharedApiFp = function(configuration?: Configuration) {
21388
22169
  const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRoleByName']?.[localVarOperationServerIndex]?.url;
21389
22170
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21390
22171
  },
22172
+ /**
22173
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
22174
+ * @summary updateSeaweedFSAccount
22175
+ * @param {string} orgName name of the organization
22176
+ * @param {string} clusterName name of the cluster
22177
+ * @param {string} accountName name of the account
22178
+ * @param {Account} body
22179
+ * @param {*} [options] Override http request option.
22180
+ * @throws {RequiredError}
22181
+ */
22182
+ async updateSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
22183
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccount(orgName, clusterName, accountName, body, options);
22184
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22185
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.updateSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
22186
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22187
+ },
22188
+ /**
22189
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
22190
+ * @summary updateSeaweedFSAccountPrivileges
22191
+ * @param {string} orgName name of the Org
22192
+ * @param {string} clusterName name of the Cluster
22193
+ * @param {string} accountName name of the account
22194
+ * @param {Array<PrivilegeListItem>} body
22195
+ * @param {*} [options] Override http request option.
22196
+ * @throws {RequiredError}
22197
+ */
22198
+ async updateSeaweedFSAccountPrivileges(orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22199
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options);
22200
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22201
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.updateSeaweedFSAccountPrivileges']?.[localVarOperationServerIndex]?.url;
22202
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22203
+ },
21391
22204
  /**
21392
22205
  * update a MinIO service account access key
21393
22206
  * @summary Update MinIO access key
@@ -21604,6 +22417,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
21604
22417
  batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>> {
21605
22418
  return localVarFp.batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
21606
22419
  },
22420
+ /**
22421
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
22422
+ * @summary bindSeaweedFSPolicies
22423
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
22424
+ * @param {*} [options] Override http request option.
22425
+ * @throws {RequiredError}
22426
+ */
22427
+ bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22428
+ return localVarFp.bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(axios, basePath));
22429
+ },
21607
22430
  /**
21608
22431
  *
21609
22432
  * @summary build backup object with a existing backup directory
@@ -21835,6 +22658,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
21835
22658
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
21836
22659
  return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
21837
22660
  },
22661
+ /**
22662
+ * 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.
22663
+ * @summary createSeaweedFSAccessKey
22664
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
22665
+ * @param {*} [options] Override http request option.
22666
+ * @throws {RequiredError}
22667
+ */
22668
+ createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
22669
+ return localVarFp.createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(axios, basePath));
22670
+ },
22671
+ /**
22672
+ * 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.
22673
+ * @summary createSeaweedFSAccount
22674
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
22675
+ * @param {*} [options] Override http request option.
22676
+ * @throws {RequiredError}
22677
+ */
22678
+ createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
22679
+ return localVarFp.createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
22680
+ },
21838
22681
  /**
21839
22682
  * create a MinIO service account access key
21840
22683
  * @summary Create MinIO access key
@@ -22215,6 +23058,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22215
23058
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22216
23059
  return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
22217
23060
  },
23061
+ /**
23062
+ *
23063
+ * @summary deleteSeaweedFSAccessKey
23064
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
23065
+ * @param {*} [options] Override http request option.
23066
+ * @throws {RequiredError}
23067
+ */
23068
+ deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23069
+ return localVarFp.deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
23070
+ },
23071
+ /**
23072
+ * delete an account in cluster
23073
+ * @summary deleteSeaweedFSAccount
23074
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
23075
+ * @param {*} [options] Override http request option.
23076
+ * @throws {RequiredError}
23077
+ */
23078
+ deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23079
+ return localVarFp.deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
23080
+ },
23081
+ /**
23082
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
23083
+ * @summary deleteSeaweedFSPolicy
23084
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
23085
+ * @param {*} [options] Override http request option.
23086
+ * @throws {RequiredError}
23087
+ */
23088
+ deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23089
+ return localVarFp.deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(axios, basePath));
23090
+ },
22218
23091
  /**
22219
23092
  * delete a MinIO service account access key
22220
23093
  * @summary Delete MinIO access key
@@ -22843,6 +23716,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22843
23716
  getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
22844
23717
  return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
22845
23718
  },
23719
+ /**
23720
+ * get root account password
23721
+ * @summary getRootSeaweedFSAccountPassword
23722
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
23723
+ * @param {*} [options] Override http request option.
23724
+ * @throws {RequiredError}
23725
+ */
23726
+ getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
23727
+ return localVarFp.getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
23728
+ },
22846
23729
  /**
22847
23730
  *
22848
23731
  * @summary list all databases or schema of the cluster
@@ -23521,6 +24404,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23521
24404
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList> {
23522
24405
  return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
23523
24406
  },
24407
+ /**
24408
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
24409
+ * @summary listSeaweedFSAccounts
24410
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
24411
+ * @param {*} [options] Override http request option.
24412
+ * @throws {RequiredError}
24413
+ */
24414
+ listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
24415
+ return localVarFp.listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24416
+ },
24417
+ /**
24418
+ *
24419
+ * @summary listSeaweedFSPolicies
24420
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
24421
+ * @param {*} [options] Override http request option.
24422
+ * @throws {RequiredError}
24423
+ */
24424
+ listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response> {
24425
+ return localVarFp.listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24426
+ },
23524
24427
  /**
23525
24428
  * list MinIO service account access keys
23526
24429
  * @summary List MinIO access keys
@@ -23731,6 +24634,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23731
24634
  putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23732
24635
  return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
23733
24636
  },
24637
+ /**
24638
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
24639
+ * @summary putSeaweedFSPolicy
24640
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
24641
+ * @param {*} [options] Override http request option.
24642
+ * @throws {RequiredError}
24643
+ */
24644
+ putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
24645
+ return localVarFp.putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
24646
+ },
23734
24647
  /**
23735
24648
  *
23736
24649
  * @summary create a SQL query
@@ -24400,6 +25313,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24400
25313
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
24401
25314
  return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
24402
25315
  },
25316
+ /**
25317
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
25318
+ * @summary updateSeaweedFSAccount
25319
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
25320
+ * @param {*} [options] Override http request option.
25321
+ * @throws {RequiredError}
25322
+ */
25323
+ updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
25324
+ return localVarFp.updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
25325
+ },
25326
+ /**
25327
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
25328
+ * @summary updateSeaweedFSAccountPrivileges
25329
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
25330
+ * @param {*} [options] Override http request option.
25331
+ * @throws {RequiredError}
25332
+ */
25333
+ updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
25334
+ return localVarFp.updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
25335
+ },
24403
25336
  /**
24404
25337
  * update a MinIO service account access key
24405
25338
  * @summary Update MinIO access key
@@ -24568,6 +25501,16 @@ export interface SharedApiInterface {
24568
25501
  */
24569
25502
  batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>>;
24570
25503
 
25504
+ /**
25505
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
25506
+ * @summary bindSeaweedFSPolicies
25507
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
25508
+ * @param {*} [options] Override http request option.
25509
+ * @throws {RequiredError}
25510
+ * @memberof SharedApiInterface
25511
+ */
25512
+ bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
25513
+
24571
25514
  /**
24572
25515
  *
24573
25516
  * @summary build backup object with a existing backup directory
@@ -24799,6 +25742,26 @@ export interface SharedApiInterface {
24799
25742
  */
24800
25743
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
24801
25744
 
25745
+ /**
25746
+ * 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.
25747
+ * @summary createSeaweedFSAccessKey
25748
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
25749
+ * @param {*} [options] Override http request option.
25750
+ * @throws {RequiredError}
25751
+ * @memberof SharedApiInterface
25752
+ */
25753
+ createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
25754
+
25755
+ /**
25756
+ * 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.
25757
+ * @summary createSeaweedFSAccount
25758
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
25759
+ * @param {*} [options] Override http request option.
25760
+ * @throws {RequiredError}
25761
+ * @memberof SharedApiInterface
25762
+ */
25763
+ createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
25764
+
24802
25765
  /**
24803
25766
  * create a MinIO service account access key
24804
25767
  * @summary Create MinIO access key
@@ -25179,6 +26142,36 @@ export interface SharedApiInterface {
25179
26142
  */
25180
26143
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
25181
26144
 
26145
+ /**
26146
+ *
26147
+ * @summary deleteSeaweedFSAccessKey
26148
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
26149
+ * @param {*} [options] Override http request option.
26150
+ * @throws {RequiredError}
26151
+ * @memberof SharedApiInterface
26152
+ */
26153
+ deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26154
+
26155
+ /**
26156
+ * delete an account in cluster
26157
+ * @summary deleteSeaweedFSAccount
26158
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
26159
+ * @param {*} [options] Override http request option.
26160
+ * @throws {RequiredError}
26161
+ * @memberof SharedApiInterface
26162
+ */
26163
+ deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26164
+
26165
+ /**
26166
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
26167
+ * @summary deleteSeaweedFSPolicy
26168
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
26169
+ * @param {*} [options] Override http request option.
26170
+ * @throws {RequiredError}
26171
+ * @memberof SharedApiInterface
26172
+ */
26173
+ deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26174
+
25182
26175
  /**
25183
26176
  * delete a MinIO service account access key
25184
26177
  * @summary Delete MinIO access key
@@ -25807,6 +26800,16 @@ export interface SharedApiInterface {
25807
26800
  */
25808
26801
  getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
25809
26802
 
26803
+ /**
26804
+ * get root account password
26805
+ * @summary getRootSeaweedFSAccountPassword
26806
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
26807
+ * @param {*} [options] Override http request option.
26808
+ * @throws {RequiredError}
26809
+ * @memberof SharedApiInterface
26810
+ */
26811
+ getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
26812
+
25810
26813
  /**
25811
26814
  *
25812
26815
  * @summary list all databases or schema of the cluster
@@ -26485,6 +27488,26 @@ export interface SharedApiInterface {
26485
27488
  */
26486
27489
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList>;
26487
27490
 
27491
+ /**
27492
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
27493
+ * @summary listSeaweedFSAccounts
27494
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
27495
+ * @param {*} [options] Override http request option.
27496
+ * @throws {RequiredError}
27497
+ * @memberof SharedApiInterface
27498
+ */
27499
+ listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
27500
+
27501
+ /**
27502
+ *
27503
+ * @summary listSeaweedFSPolicies
27504
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
27505
+ * @param {*} [options] Override http request option.
27506
+ * @throws {RequiredError}
27507
+ * @memberof SharedApiInterface
27508
+ */
27509
+ listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
27510
+
26488
27511
  /**
26489
27512
  * list MinIO service account access keys
26490
27513
  * @summary List MinIO access keys
@@ -26695,6 +27718,16 @@ export interface SharedApiInterface {
26695
27718
  */
26696
27719
  putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26697
27720
 
27721
+ /**
27722
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
27723
+ * @summary putSeaweedFSPolicy
27724
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
27725
+ * @param {*} [options] Override http request option.
27726
+ * @throws {RequiredError}
27727
+ * @memberof SharedApiInterface
27728
+ */
27729
+ putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
27730
+
26698
27731
  /**
26699
27732
  *
26700
27733
  * @summary create a SQL query
@@ -27364,6 +28397,26 @@ export interface SharedApiInterface {
27364
28397
  */
27365
28398
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
27366
28399
 
28400
+ /**
28401
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
28402
+ * @summary updateSeaweedFSAccount
28403
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
28404
+ * @param {*} [options] Override http request option.
28405
+ * @throws {RequiredError}
28406
+ * @memberof SharedApiInterface
28407
+ */
28408
+ updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
28409
+
28410
+ /**
28411
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
28412
+ * @summary updateSeaweedFSAccountPrivileges
28413
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
28414
+ * @param {*} [options] Override http request option.
28415
+ * @throws {RequiredError}
28416
+ * @memberof SharedApiInterface
28417
+ */
28418
+ updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
28419
+
27367
28420
  /**
27368
28421
  * update a MinIO service account access key
27369
28422
  * @summary Update MinIO access key
@@ -27854,6 +28907,41 @@ export interface SharedApiBatchUpdateOrgParametersRequest {
27854
28907
  readonly orgParameter: Array<OrgParameter>
27855
28908
  }
27856
28909
 
28910
+ /**
28911
+ * Request parameters for bindSeaweedFSPolicies operation in SharedApi.
28912
+ * @export
28913
+ * @interface SharedApiBindSeaweedFSPoliciesRequest
28914
+ */
28915
+ export interface SharedApiBindSeaweedFSPoliciesRequest {
28916
+ /**
28917
+ *
28918
+ * @type {string}
28919
+ * @memberof SharedApiBindSeaweedFSPolicies
28920
+ */
28921
+ readonly orgName: string
28922
+
28923
+ /**
28924
+ *
28925
+ * @type {string}
28926
+ * @memberof SharedApiBindSeaweedFSPolicies
28927
+ */
28928
+ readonly clusterName: string
28929
+
28930
+ /**
28931
+ *
28932
+ * @type {string}
28933
+ * @memberof SharedApiBindSeaweedFSPolicies
28934
+ */
28935
+ readonly accountName: string
28936
+
28937
+ /**
28938
+ *
28939
+ * @type {BindSeaweedFSPoliciesRequest}
28940
+ * @memberof SharedApiBindSeaweedFSPolicies
28941
+ */
28942
+ readonly bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest
28943
+ }
28944
+
27857
28945
  /**
27858
28946
  * Request parameters for buildBackupObj operation in SharedApi.
27859
28947
  * @export
@@ -28533,6 +29621,69 @@ export interface SharedApiCreateRoleRequest {
28533
29621
  readonly roleCreate: RoleCreate
28534
29622
  }
28535
29623
 
29624
+ /**
29625
+ * Request parameters for createSeaweedFSAccessKey operation in SharedApi.
29626
+ * @export
29627
+ * @interface SharedApiCreateSeaweedFSAccessKeyRequest
29628
+ */
29629
+ export interface SharedApiCreateSeaweedFSAccessKeyRequest {
29630
+ /**
29631
+ *
29632
+ * @type {string}
29633
+ * @memberof SharedApiCreateSeaweedFSAccessKey
29634
+ */
29635
+ readonly orgName: string
29636
+
29637
+ /**
29638
+ *
29639
+ * @type {string}
29640
+ * @memberof SharedApiCreateSeaweedFSAccessKey
29641
+ */
29642
+ readonly clusterName: string
29643
+
29644
+ /**
29645
+ *
29646
+ * @type {string}
29647
+ * @memberof SharedApiCreateSeaweedFSAccessKey
29648
+ */
29649
+ readonly accountName: string
29650
+
29651
+ /**
29652
+ *
29653
+ * @type {Account}
29654
+ * @memberof SharedApiCreateSeaweedFSAccessKey
29655
+ */
29656
+ readonly account: Account
29657
+ }
29658
+
29659
+ /**
29660
+ * Request parameters for createSeaweedFSAccount operation in SharedApi.
29661
+ * @export
29662
+ * @interface SharedApiCreateSeaweedFSAccountRequest
29663
+ */
29664
+ export interface SharedApiCreateSeaweedFSAccountRequest {
29665
+ /**
29666
+ * name of the organization
29667
+ * @type {string}
29668
+ * @memberof SharedApiCreateSeaweedFSAccount
29669
+ */
29670
+ readonly orgName: string
29671
+
29672
+ /**
29673
+ * name of the cluster
29674
+ * @type {string}
29675
+ * @memberof SharedApiCreateSeaweedFSAccount
29676
+ */
29677
+ readonly clusterName: string
29678
+
29679
+ /**
29680
+ *
29681
+ * @type {Account}
29682
+ * @memberof SharedApiCreateSeaweedFSAccount
29683
+ */
29684
+ readonly body: Account
29685
+ }
29686
+
28536
29687
  /**
28537
29688
  * Request parameters for createServiceAccount operation in SharedApi.
28538
29689
  * @export
@@ -29548,6 +30699,97 @@ export interface SharedApiDeleteRoleByNameRequest {
29548
30699
  readonly roleName: string
29549
30700
  }
29550
30701
 
30702
+ /**
30703
+ * Request parameters for deleteSeaweedFSAccessKey operation in SharedApi.
30704
+ * @export
30705
+ * @interface SharedApiDeleteSeaweedFSAccessKeyRequest
30706
+ */
30707
+ export interface SharedApiDeleteSeaweedFSAccessKeyRequest {
30708
+ /**
30709
+ *
30710
+ * @type {string}
30711
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
30712
+ */
30713
+ readonly orgName: string
30714
+
30715
+ /**
30716
+ *
30717
+ * @type {string}
30718
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
30719
+ */
30720
+ readonly clusterName: string
30721
+
30722
+ /**
30723
+ *
30724
+ * @type {string}
30725
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
30726
+ */
30727
+ readonly accountName: string
30728
+
30729
+ /**
30730
+ *
30731
+ * @type {string}
30732
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
30733
+ */
30734
+ readonly accessKey: string
30735
+ }
30736
+
30737
+ /**
30738
+ * Request parameters for deleteSeaweedFSAccount operation in SharedApi.
30739
+ * @export
30740
+ * @interface SharedApiDeleteSeaweedFSAccountRequest
30741
+ */
30742
+ export interface SharedApiDeleteSeaweedFSAccountRequest {
30743
+ /**
30744
+ * name of the organization
30745
+ * @type {string}
30746
+ * @memberof SharedApiDeleteSeaweedFSAccount
30747
+ */
30748
+ readonly orgName: string
30749
+
30750
+ /**
30751
+ * name of the cluster
30752
+ * @type {string}
30753
+ * @memberof SharedApiDeleteSeaweedFSAccount
30754
+ */
30755
+ readonly clusterName: string
30756
+
30757
+ /**
30758
+ * name of the account
30759
+ * @type {string}
30760
+ * @memberof SharedApiDeleteSeaweedFSAccount
30761
+ */
30762
+ readonly accountName: string
30763
+ }
30764
+
30765
+ /**
30766
+ * Request parameters for deleteSeaweedFSPolicy operation in SharedApi.
30767
+ * @export
30768
+ * @interface SharedApiDeleteSeaweedFSPolicyRequest
30769
+ */
30770
+ export interface SharedApiDeleteSeaweedFSPolicyRequest {
30771
+ /**
30772
+ *
30773
+ * @type {string}
30774
+ * @memberof SharedApiDeleteSeaweedFSPolicy
30775
+ */
30776
+ readonly orgName: string
30777
+
30778
+ /**
30779
+ *
30780
+ * @type {string}
30781
+ * @memberof SharedApiDeleteSeaweedFSPolicy
30782
+ */
30783
+ readonly clusterName: string
30784
+
30785
+ /**
30786
+ *
30787
+ * @type {string}
30788
+ * @memberof SharedApiDeleteSeaweedFSPolicy
30789
+ */
30790
+ readonly policyName: string
30791
+ }
30792
+
29551
30793
  /**
29552
30794
  * Request parameters for deleteServiceAccount operation in SharedApi.
29553
30795
  * @export
@@ -31746,6 +32988,41 @@ export interface SharedApiGetRootAccountPasswordRequest {
31746
32988
  readonly component?: string
31747
32989
  }
31748
32990
 
32991
+ /**
32992
+ * Request parameters for getRootSeaweedFSAccountPassword operation in SharedApi.
32993
+ * @export
32994
+ * @interface SharedApiGetRootSeaweedFSAccountPasswordRequest
32995
+ */
32996
+ export interface SharedApiGetRootSeaweedFSAccountPasswordRequest {
32997
+ /**
32998
+ * name of the Org
32999
+ * @type {string}
33000
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
33001
+ */
33002
+ readonly orgName: string
33003
+
33004
+ /**
33005
+ * name of the Cluster
33006
+ * @type {string}
33007
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
33008
+ */
33009
+ readonly clusterName: string
33010
+
33011
+ /**
33012
+ * name of the account
33013
+ * @type {string}
33014
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
33015
+ */
33016
+ readonly accountName: string
33017
+
33018
+ /**
33019
+ * name of the component
33020
+ * @type {string}
33021
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
33022
+ */
33023
+ readonly component?: string
33024
+ }
33025
+
31749
33026
  /**
31750
33027
  * Request parameters for getSchemaList operation in SharedApi.
31751
33028
  * @export
@@ -33888,6 +35165,48 @@ export interface SharedApiListRolesRequest {
33888
35165
  readonly orgName: string
33889
35166
  }
33890
35167
 
35168
+ /**
35169
+ * Request parameters for listSeaweedFSAccounts operation in SharedApi.
35170
+ * @export
35171
+ * @interface SharedApiListSeaweedFSAccountsRequest
35172
+ */
35173
+ export interface SharedApiListSeaweedFSAccountsRequest {
35174
+ /**
35175
+ * name of the organization
35176
+ * @type {string}
35177
+ * @memberof SharedApiListSeaweedFSAccounts
35178
+ */
35179
+ readonly orgName: string
35180
+
35181
+ /**
35182
+ * name of the cluster
35183
+ * @type {string}
35184
+ * @memberof SharedApiListSeaweedFSAccounts
35185
+ */
35186
+ readonly clusterName: string
35187
+ }
35188
+
35189
+ /**
35190
+ * Request parameters for listSeaweedFSPolicies operation in SharedApi.
35191
+ * @export
35192
+ * @interface SharedApiListSeaweedFSPoliciesRequest
35193
+ */
35194
+ export interface SharedApiListSeaweedFSPoliciesRequest {
35195
+ /**
35196
+ *
35197
+ * @type {string}
35198
+ * @memberof SharedApiListSeaweedFSPolicies
35199
+ */
35200
+ readonly orgName: string
35201
+
35202
+ /**
35203
+ *
35204
+ * @type {string}
35205
+ * @memberof SharedApiListSeaweedFSPolicies
35206
+ */
35207
+ readonly clusterName: string
35208
+ }
35209
+
33891
35210
  /**
33892
35211
  * Request parameters for listServiceAccounts operation in SharedApi.
33893
35212
  * @export
@@ -34483,6 +35802,41 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
34483
35802
  readonly body: ESPutSecurityUserRequest
34484
35803
  }
34485
35804
 
35805
+ /**
35806
+ * Request parameters for putSeaweedFSPolicy operation in SharedApi.
35807
+ * @export
35808
+ * @interface SharedApiPutSeaweedFSPolicyRequest
35809
+ */
35810
+ export interface SharedApiPutSeaweedFSPolicyRequest {
35811
+ /**
35812
+ *
35813
+ * @type {string}
35814
+ * @memberof SharedApiPutSeaweedFSPolicy
35815
+ */
35816
+ readonly orgName: string
35817
+
35818
+ /**
35819
+ *
35820
+ * @type {string}
35821
+ * @memberof SharedApiPutSeaweedFSPolicy
35822
+ */
35823
+ readonly clusterName: string
35824
+
35825
+ /**
35826
+ *
35827
+ * @type {string}
35828
+ * @memberof SharedApiPutSeaweedFSPolicy
35829
+ */
35830
+ readonly policyName: string
35831
+
35832
+ /**
35833
+ *
35834
+ * @type {{ [key: string]: any; }}
35835
+ * @memberof SharedApiPutSeaweedFSPolicy
35836
+ */
35837
+ readonly requestBody: { [key: string]: any; }
35838
+ }
35839
+
34486
35840
  /**
34487
35841
  * Request parameters for query operation in SharedApi.
34488
35842
  * @export
@@ -37458,6 +38812,76 @@ export interface SharedApiUpdateRoleByNameRequest {
37458
38812
  readonly roleUpdate: RoleUpdate
37459
38813
  }
37460
38814
 
38815
+ /**
38816
+ * Request parameters for updateSeaweedFSAccount operation in SharedApi.
38817
+ * @export
38818
+ * @interface SharedApiUpdateSeaweedFSAccountRequest
38819
+ */
38820
+ export interface SharedApiUpdateSeaweedFSAccountRequest {
38821
+ /**
38822
+ * name of the organization
38823
+ * @type {string}
38824
+ * @memberof SharedApiUpdateSeaweedFSAccount
38825
+ */
38826
+ readonly orgName: string
38827
+
38828
+ /**
38829
+ * name of the cluster
38830
+ * @type {string}
38831
+ * @memberof SharedApiUpdateSeaweedFSAccount
38832
+ */
38833
+ readonly clusterName: string
38834
+
38835
+ /**
38836
+ * name of the account
38837
+ * @type {string}
38838
+ * @memberof SharedApiUpdateSeaweedFSAccount
38839
+ */
38840
+ readonly accountName: string
38841
+
38842
+ /**
38843
+ *
38844
+ * @type {Account}
38845
+ * @memberof SharedApiUpdateSeaweedFSAccount
38846
+ */
38847
+ readonly body: Account
38848
+ }
38849
+
38850
+ /**
38851
+ * Request parameters for updateSeaweedFSAccountPrivileges operation in SharedApi.
38852
+ * @export
38853
+ * @interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest
38854
+ */
38855
+ export interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest {
38856
+ /**
38857
+ * name of the Org
38858
+ * @type {string}
38859
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
38860
+ */
38861
+ readonly orgName: string
38862
+
38863
+ /**
38864
+ * name of the Cluster
38865
+ * @type {string}
38866
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
38867
+ */
38868
+ readonly clusterName: string
38869
+
38870
+ /**
38871
+ * name of the account
38872
+ * @type {string}
38873
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
38874
+ */
38875
+ readonly accountName: string
38876
+
38877
+ /**
38878
+ *
38879
+ * @type {Array<PrivilegeListItem>}
38880
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
38881
+ */
38882
+ readonly body: Array<PrivilegeListItem>
38883
+ }
38884
+
37461
38885
  /**
37462
38886
  * Request parameters for updateServiceAccount operation in SharedApi.
37463
38887
  * @export
@@ -37815,6 +39239,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
37815
39239
  return SharedApiFp(this.configuration).batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
37816
39240
  }
37817
39241
 
39242
+ /**
39243
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
39244
+ * @summary bindSeaweedFSPolicies
39245
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
39246
+ * @param {*} [options] Override http request option.
39247
+ * @throws {RequiredError}
39248
+ * @memberof SharedApi
39249
+ */
39250
+ public bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
39251
+ return SharedApiFp(this.configuration).bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(this.axios, this.basePath));
39252
+ }
39253
+
37818
39254
  /**
37819
39255
  *
37820
39256
  * @summary build backup object with a existing backup directory
@@ -38092,6 +39528,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38092
39528
  return SharedApiFp(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
38093
39529
  }
38094
39530
 
39531
+ /**
39532
+ * 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.
39533
+ * @summary createSeaweedFSAccessKey
39534
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
39535
+ * @param {*} [options] Override http request option.
39536
+ * @throws {RequiredError}
39537
+ * @memberof SharedApi
39538
+ */
39539
+ public createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
39540
+ return SharedApiFp(this.configuration).createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(this.axios, this.basePath));
39541
+ }
39542
+
39543
+ /**
39544
+ * 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.
39545
+ * @summary createSeaweedFSAccount
39546
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
39547
+ * @param {*} [options] Override http request option.
39548
+ * @throws {RequiredError}
39549
+ * @memberof SharedApi
39550
+ */
39551
+ public createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
39552
+ return SharedApiFp(this.configuration).createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
39553
+ }
39554
+
38095
39555
  /**
38096
39556
  * create a MinIO service account access key
38097
39557
  * @summary Create MinIO access key
@@ -38548,6 +40008,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38548
40008
  return SharedApiFp(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
38549
40009
  }
38550
40010
 
40011
+ /**
40012
+ *
40013
+ * @summary deleteSeaweedFSAccessKey
40014
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
40015
+ * @param {*} [options] Override http request option.
40016
+ * @throws {RequiredError}
40017
+ * @memberof SharedApi
40018
+ */
40019
+ public deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
40020
+ return SharedApiFp(this.configuration).deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
40021
+ }
40022
+
40023
+ /**
40024
+ * delete an account in cluster
40025
+ * @summary deleteSeaweedFSAccount
40026
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
40027
+ * @param {*} [options] Override http request option.
40028
+ * @throws {RequiredError}
40029
+ * @memberof SharedApi
40030
+ */
40031
+ public deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
40032
+ return SharedApiFp(this.configuration).deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
40033
+ }
40034
+
40035
+ /**
40036
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
40037
+ * @summary deleteSeaweedFSPolicy
40038
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
40039
+ * @param {*} [options] Override http request option.
40040
+ * @throws {RequiredError}
40041
+ * @memberof SharedApi
40042
+ */
40043
+ public deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
40044
+ return SharedApiFp(this.configuration).deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(this.axios, this.basePath));
40045
+ }
40046
+
38551
40047
  /**
38552
40048
  * delete a MinIO service account access key
38553
40049
  * @summary Delete MinIO access key
@@ -39302,6 +40798,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
39302
40798
  return SharedApiFp(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
39303
40799
  }
39304
40800
 
40801
+ /**
40802
+ * get root account password
40803
+ * @summary getRootSeaweedFSAccountPassword
40804
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
40805
+ * @param {*} [options] Override http request option.
40806
+ * @throws {RequiredError}
40807
+ * @memberof SharedApi
40808
+ */
40809
+ public getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig) {
40810
+ return SharedApiFp(this.configuration).getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
40811
+ }
40812
+
39305
40813
  /**
39306
40814
  *
39307
40815
  * @summary list all databases or schema of the cluster
@@ -40116,6 +41624,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40116
41624
  return SharedApiFp(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
40117
41625
  }
40118
41626
 
41627
+ /**
41628
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
41629
+ * @summary listSeaweedFSAccounts
41630
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
41631
+ * @param {*} [options] Override http request option.
41632
+ * @throws {RequiredError}
41633
+ * @memberof SharedApi
41634
+ */
41635
+ public listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig) {
41636
+ return SharedApiFp(this.configuration).listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
41637
+ }
41638
+
41639
+ /**
41640
+ *
41641
+ * @summary listSeaweedFSPolicies
41642
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
41643
+ * @param {*} [options] Override http request option.
41644
+ * @throws {RequiredError}
41645
+ * @memberof SharedApi
41646
+ */
41647
+ public listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
41648
+ return SharedApiFp(this.configuration).listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
41649
+ }
41650
+
40119
41651
  /**
40120
41652
  * list MinIO service account access keys
40121
41653
  * @summary List MinIO access keys
@@ -40368,6 +41900,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40368
41900
  return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
40369
41901
  }
40370
41902
 
41903
+ /**
41904
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
41905
+ * @summary putSeaweedFSPolicy
41906
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
41907
+ * @param {*} [options] Override http request option.
41908
+ * @throws {RequiredError}
41909
+ * @memberof SharedApi
41910
+ */
41911
+ public putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
41912
+ return SharedApiFp(this.configuration).putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
41913
+ }
41914
+
40371
41915
  /**
40372
41916
  *
40373
41917
  * @summary create a SQL query
@@ -41171,6 +42715,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
41171
42715
  return SharedApiFp(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
41172
42716
  }
41173
42717
 
42718
+ /**
42719
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
42720
+ * @summary updateSeaweedFSAccount
42721
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
42722
+ * @param {*} [options] Override http request option.
42723
+ * @throws {RequiredError}
42724
+ * @memberof SharedApi
42725
+ */
42726
+ public updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
42727
+ return SharedApiFp(this.configuration).updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
42728
+ }
42729
+
42730
+ /**
42731
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
42732
+ * @summary updateSeaweedFSAccountPrivileges
42733
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
42734
+ * @param {*} [options] Override http request option.
42735
+ * @throws {RequiredError}
42736
+ * @memberof SharedApi
42737
+ */
42738
+ public updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
42739
+ return SharedApiFp(this.configuration).updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
42740
+ }
42741
+
41174
42742
  /**
41175
42743
  * update a MinIO service account access key
41176
42744
  * @summary Update MinIO access key