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

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
@@ -36,6 +36,7 @@ import type { BackupScheduleCreate } from '../models';
36
36
  import type { BackupScheduleList } from '../models';
37
37
  import type { BackupScheduleUpdate } from '../models';
38
38
  import type { BackupView } from '../models';
39
+ import type { BindSeaweedFSPoliciesRequest } from '../models';
39
40
  import type { Broker } from '../models';
40
41
  import type { BuildBackupObjRequest } from '../models';
41
42
  import type { CkAccount } from '../models';
@@ -121,6 +122,7 @@ import type { IpWhitelist } from '../models';
121
122
  import type { IpWhitelistList } from '../models';
122
123
  import type { ListClickhouseAccountRoles200Response } from '../models';
123
124
  import type { ListClickhouseAccountRoles200ResponsePrivilegesInner } from '../models';
125
+ import type { ListSeaweedFSPolicies200Response } from '../models';
124
126
  import type { MetricsQueryType } from '../models';
125
127
  import type { MilvusAccountPassword } from '../models';
126
128
  import type { MilvusAccountRoles } from '../models';
@@ -314,6 +316,17 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
314
316
  * @throws {RequiredError}
315
317
  */
316
318
  batchUpdateOrgParameters: (orgName: string, orgParameter: Array<OrgParameter>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
319
+ /**
320
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
321
+ * @summary bindSeaweedFSPolicies
322
+ * @param {string} orgName
323
+ * @param {string} clusterName
324
+ * @param {string} accountName
325
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ */
329
+ bindSeaweedFSPolicies: (orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
317
330
  /**
318
331
  *
319
332
  * @summary build backup object with a existing backup directory
@@ -550,6 +563,27 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
550
563
  * @throws {RequiredError}
551
564
  */
552
565
  createRole: (orgName: string, roleCreate: RoleCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
566
+ /**
567
+ * 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.
568
+ * @summary createSeaweedFSAccessKey
569
+ * @param {string} orgName
570
+ * @param {string} clusterName
571
+ * @param {string} accountName
572
+ * @param {Account} account
573
+ * @param {*} [options] Override http request option.
574
+ * @throws {RequiredError}
575
+ */
576
+ createSeaweedFSAccessKey: (orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
577
+ /**
578
+ * 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.
579
+ * @summary createSeaweedFSAccount
580
+ * @param {string} orgName name of the organization
581
+ * @param {string} clusterName name of the cluster
582
+ * @param {Account} body
583
+ * @param {*} [options] Override http request option.
584
+ * @throws {RequiredError}
585
+ */
586
+ createSeaweedFSAccount: (orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
553
587
  /**
554
588
  * create a MinIO service account access key
555
589
  * @summary Create MinIO access key
@@ -923,6 +957,37 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
923
957
  * @throws {RequiredError}
924
958
  */
925
959
  deleteRoleByName: (orgName: string, roleName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
960
+ /**
961
+ *
962
+ * @summary deleteSeaweedFSAccessKey
963
+ * @param {string} orgName
964
+ * @param {string} clusterName
965
+ * @param {string} accountName
966
+ * @param {string} accessKey
967
+ * @param {*} [options] Override http request option.
968
+ * @throws {RequiredError}
969
+ */
970
+ deleteSeaweedFSAccessKey: (orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
971
+ /**
972
+ * delete an account in cluster
973
+ * @summary deleteSeaweedFSAccount
974
+ * @param {string} orgName name of the organization
975
+ * @param {string} clusterName name of the cluster
976
+ * @param {string} accountName name of the account
977
+ * @param {*} [options] Override http request option.
978
+ * @throws {RequiredError}
979
+ */
980
+ deleteSeaweedFSAccount: (orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
981
+ /**
982
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
983
+ * @summary deleteSeaweedFSPolicy
984
+ * @param {string} orgName
985
+ * @param {string} clusterName
986
+ * @param {string} policyName
987
+ * @param {*} [options] Override http request option.
988
+ * @throws {RequiredError}
989
+ */
990
+ deleteSeaweedFSPolicy: (orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
926
991
  /**
927
992
  * delete a MinIO service account access key
928
993
  * @summary Delete MinIO access key
@@ -1613,6 +1678,17 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1613
1678
  * @throws {RequiredError}
1614
1679
  */
1615
1680
  getRootAccountPassword: (engineName: string, orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1681
+ /**
1682
+ * get root account password
1683
+ * @summary getRootSeaweedFSAccountPassword
1684
+ * @param {string} orgName name of the Org
1685
+ * @param {string} clusterName name of the Cluster
1686
+ * @param {string} accountName name of the account
1687
+ * @param {string} [component] name of the component
1688
+ * @param {*} [options] Override http request option.
1689
+ * @throws {RequiredError}
1690
+ */
1691
+ getRootSeaweedFSAccountPassword: (orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1616
1692
  /**
1617
1693
  *
1618
1694
  * @summary list all databases or schema of the cluster
@@ -2329,6 +2405,24 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
2329
2405
  * @throws {RequiredError}
2330
2406
  */
2331
2407
  listRoles: (orgName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2408
+ /**
2409
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
2410
+ * @summary listSeaweedFSAccounts
2411
+ * @param {string} orgName name of the organization
2412
+ * @param {string} clusterName name of the cluster
2413
+ * @param {*} [options] Override http request option.
2414
+ * @throws {RequiredError}
2415
+ */
2416
+ listSeaweedFSAccounts: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2417
+ /**
2418
+ *
2419
+ * @summary listSeaweedFSPolicies
2420
+ * @param {string} orgName
2421
+ * @param {string} clusterName
2422
+ * @param {*} [options] Override http request option.
2423
+ * @throws {RequiredError}
2424
+ */
2425
+ listSeaweedFSPolicies: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2332
2426
  /**
2333
2427
  * list MinIO service account access keys
2334
2428
  * @summary List MinIO access keys
@@ -2542,6 +2636,19 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
2542
2636
  * @throws {RequiredError}
2543
2637
  */
2544
2638
  putElasticsearchSecurityUser: (orgName: string, clusterName: string, username: string, body: ESPutSecurityUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2639
+ /**
2640
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
2641
+ * @summary putSeaweedFSPolicy
2642
+ * @param {string} orgName
2643
+ * @param {string} clusterName
2644
+ * @param {string} policyName
2645
+ * @param {{ [key: string]: any; }} requestBody
2646
+ * @param {*} [options] Override http request option.
2647
+ * @throws {RequiredError}
2648
+ */
2649
+ putSeaweedFSPolicy: (orgName: string, clusterName: string, policyName: string, requestBody: {
2650
+ [key: string]: any;
2651
+ }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2545
2652
  /**
2546
2653
  *
2547
2654
  * @summary create a SQL query
@@ -3372,6 +3479,28 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
3372
3479
  * @throws {RequiredError}
3373
3480
  */
3374
3481
  updateRoleByName: (orgName: string, roleName: string, roleUpdate: RoleUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3482
+ /**
3483
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
3484
+ * @summary updateSeaweedFSAccount
3485
+ * @param {string} orgName name of the organization
3486
+ * @param {string} clusterName name of the cluster
3487
+ * @param {string} accountName name of the account
3488
+ * @param {Account} body
3489
+ * @param {*} [options] Override http request option.
3490
+ * @throws {RequiredError}
3491
+ */
3492
+ updateSeaweedFSAccount: (orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3493
+ /**
3494
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
3495
+ * @summary updateSeaweedFSAccountPrivileges
3496
+ * @param {string} orgName name of the Org
3497
+ * @param {string} clusterName name of the Cluster
3498
+ * @param {string} accountName name of the account
3499
+ * @param {Array<PrivilegeListItem>} body
3500
+ * @param {*} [options] Override http request option.
3501
+ * @throws {RequiredError}
3502
+ */
3503
+ updateSeaweedFSAccountPrivileges: (orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3375
3504
  /**
3376
3505
  * update a MinIO service account access key
3377
3506
  * @summary Update MinIO access key
@@ -3568,6 +3697,17 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
3568
3697
  * @throws {RequiredError}
3569
3698
  */
3570
3699
  batchUpdateOrgParameters(orgName: string, orgParameter: Array<OrgParameter>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrgParameter>>>;
3700
+ /**
3701
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
3702
+ * @summary bindSeaweedFSPolicies
3703
+ * @param {string} orgName
3704
+ * @param {string} clusterName
3705
+ * @param {string} accountName
3706
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
3707
+ * @param {*} [options] Override http request option.
3708
+ * @throws {RequiredError}
3709
+ */
3710
+ bindSeaweedFSPolicies(orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3571
3711
  /**
3572
3712
  *
3573
3713
  * @summary build backup object with a existing backup directory
@@ -3804,6 +3944,27 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
3804
3944
  * @throws {RequiredError}
3805
3945
  */
3806
3946
  createRole(orgName: string, roleCreate: RoleCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Role>>;
3947
+ /**
3948
+ * 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.
3949
+ * @summary createSeaweedFSAccessKey
3950
+ * @param {string} orgName
3951
+ * @param {string} clusterName
3952
+ * @param {string} accountName
3953
+ * @param {Account} account
3954
+ * @param {*} [options] Override http request option.
3955
+ * @throws {RequiredError}
3956
+ */
3957
+ createSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>>;
3958
+ /**
3959
+ * 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.
3960
+ * @summary createSeaweedFSAccount
3961
+ * @param {string} orgName name of the organization
3962
+ * @param {string} clusterName name of the cluster
3963
+ * @param {Account} body
3964
+ * @param {*} [options] Override http request option.
3965
+ * @throws {RequiredError}
3966
+ */
3967
+ createSeaweedFSAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>>;
3807
3968
  /**
3808
3969
  * create a MinIO service account access key
3809
3970
  * @summary Create MinIO access key
@@ -4177,6 +4338,37 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
4177
4338
  * @throws {RequiredError}
4178
4339
  */
4179
4340
  deleteRoleByName(orgName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4341
+ /**
4342
+ *
4343
+ * @summary deleteSeaweedFSAccessKey
4344
+ * @param {string} orgName
4345
+ * @param {string} clusterName
4346
+ * @param {string} accountName
4347
+ * @param {string} accessKey
4348
+ * @param {*} [options] Override http request option.
4349
+ * @throws {RequiredError}
4350
+ */
4351
+ deleteSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4352
+ /**
4353
+ * delete an account in cluster
4354
+ * @summary deleteSeaweedFSAccount
4355
+ * @param {string} orgName name of the organization
4356
+ * @param {string} clusterName name of the cluster
4357
+ * @param {string} accountName name of the account
4358
+ * @param {*} [options] Override http request option.
4359
+ * @throws {RequiredError}
4360
+ */
4361
+ deleteSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4362
+ /**
4363
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
4364
+ * @summary deleteSeaweedFSPolicy
4365
+ * @param {string} orgName
4366
+ * @param {string} clusterName
4367
+ * @param {string} policyName
4368
+ * @param {*} [options] Override http request option.
4369
+ * @throws {RequiredError}
4370
+ */
4371
+ deleteSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4180
4372
  /**
4181
4373
  * delete a MinIO service account access key
4182
4374
  * @summary Delete MinIO access key
@@ -4869,6 +5061,17 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
4869
5061
  * @throws {RequiredError}
4870
5062
  */
4871
5063
  getRootAccountPassword(engineName: string, orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
5064
+ /**
5065
+ * get root account password
5066
+ * @summary getRootSeaweedFSAccountPassword
5067
+ * @param {string} orgName name of the Org
5068
+ * @param {string} clusterName name of the Cluster
5069
+ * @param {string} accountName name of the account
5070
+ * @param {string} [component] name of the component
5071
+ * @param {*} [options] Override http request option.
5072
+ * @throws {RequiredError}
5073
+ */
5074
+ getRootSeaweedFSAccountPassword(orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
4872
5075
  /**
4873
5076
  *
4874
5077
  * @summary list all databases or schema of the cluster
@@ -5591,6 +5794,24 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
5591
5794
  * @throws {RequiredError}
5592
5795
  */
5593
5796
  listRoles(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RoleList>>;
5797
+ /**
5798
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
5799
+ * @summary listSeaweedFSAccounts
5800
+ * @param {string} orgName name of the organization
5801
+ * @param {string} clusterName name of the cluster
5802
+ * @param {*} [options] Override http request option.
5803
+ * @throws {RequiredError}
5804
+ */
5805
+ listSeaweedFSAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>>;
5806
+ /**
5807
+ *
5808
+ * @summary listSeaweedFSPolicies
5809
+ * @param {string} orgName
5810
+ * @param {string} clusterName
5811
+ * @param {*} [options] Override http request option.
5812
+ * @throws {RequiredError}
5813
+ */
5814
+ listSeaweedFSPolicies(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSeaweedFSPolicies200Response>>;
5594
5815
  /**
5595
5816
  * list MinIO service account access keys
5596
5817
  * @summary List MinIO access keys
@@ -5804,6 +6025,19 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
5804
6025
  * @throws {RequiredError}
5805
6026
  */
5806
6027
  putElasticsearchSecurityUser(orgName: string, clusterName: string, username: string, body: ESPutSecurityUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6028
+ /**
6029
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
6030
+ * @summary putSeaweedFSPolicy
6031
+ * @param {string} orgName
6032
+ * @param {string} clusterName
6033
+ * @param {string} policyName
6034
+ * @param {{ [key: string]: any; }} requestBody
6035
+ * @param {*} [options] Override http request option.
6036
+ * @throws {RequiredError}
6037
+ */
6038
+ putSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, requestBody: {
6039
+ [key: string]: any;
6040
+ }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5807
6041
  /**
5808
6042
  *
5809
6043
  * @summary create a SQL query
@@ -6634,6 +6868,28 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
6634
6868
  * @throws {RequiredError}
6635
6869
  */
6636
6870
  updateRoleByName(orgName: string, roleName: string, roleUpdate: RoleUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Role>>;
6871
+ /**
6872
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
6873
+ * @summary updateSeaweedFSAccount
6874
+ * @param {string} orgName name of the organization
6875
+ * @param {string} clusterName name of the cluster
6876
+ * @param {string} accountName name of the account
6877
+ * @param {Account} body
6878
+ * @param {*} [options] Override http request option.
6879
+ * @throws {RequiredError}
6880
+ */
6881
+ updateSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>>;
6882
+ /**
6883
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
6884
+ * @summary updateSeaweedFSAccountPrivileges
6885
+ * @param {string} orgName name of the Org
6886
+ * @param {string} clusterName name of the Cluster
6887
+ * @param {string} accountName name of the account
6888
+ * @param {Array<PrivilegeListItem>} body
6889
+ * @param {*} [options] Override http request option.
6890
+ * @throws {RequiredError}
6891
+ */
6892
+ updateSeaweedFSAccountPrivileges(orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6637
6893
  /**
6638
6894
  * update a MinIO service account access key
6639
6895
  * @summary Update MinIO access key
@@ -6787,6 +7043,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
6787
7043
  * @throws {RequiredError}
6788
7044
  */
6789
7045
  batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>>;
7046
+ /**
7047
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
7048
+ * @summary bindSeaweedFSPolicies
7049
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
7050
+ * @param {*} [options] Override http request option.
7051
+ * @throws {RequiredError}
7052
+ */
7053
+ bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
6790
7054
  /**
6791
7055
  *
6792
7056
  * @summary build backup object with a existing backup directory
@@ -6972,6 +7236,22 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
6972
7236
  * @throws {RequiredError}
6973
7237
  */
6974
7238
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
7239
+ /**
7240
+ * 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.
7241
+ * @summary createSeaweedFSAccessKey
7242
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
7243
+ * @param {*} [options] Override http request option.
7244
+ * @throws {RequiredError}
7245
+ */
7246
+ createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
7247
+ /**
7248
+ * 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.
7249
+ * @summary createSeaweedFSAccount
7250
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
7251
+ * @param {*} [options] Override http request option.
7252
+ * @throws {RequiredError}
7253
+ */
7254
+ createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
6975
7255
  /**
6976
7256
  * create a MinIO service account access key
6977
7257
  * @summary Create MinIO access key
@@ -7276,6 +7556,30 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
7276
7556
  * @throws {RequiredError}
7277
7557
  */
7278
7558
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7559
+ /**
7560
+ *
7561
+ * @summary deleteSeaweedFSAccessKey
7562
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
7563
+ * @param {*} [options] Override http request option.
7564
+ * @throws {RequiredError}
7565
+ */
7566
+ deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7567
+ /**
7568
+ * delete an account in cluster
7569
+ * @summary deleteSeaweedFSAccount
7570
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
7571
+ * @param {*} [options] Override http request option.
7572
+ * @throws {RequiredError}
7573
+ */
7574
+ deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7575
+ /**
7576
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
7577
+ * @summary deleteSeaweedFSPolicy
7578
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
7579
+ * @param {*} [options] Override http request option.
7580
+ * @throws {RequiredError}
7581
+ */
7582
+ deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7279
7583
  /**
7280
7584
  * delete a MinIO service account access key
7281
7585
  * @summary Delete MinIO access key
@@ -7780,6 +8084,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
7780
8084
  * @throws {RequiredError}
7781
8085
  */
7782
8086
  getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
8087
+ /**
8088
+ * get root account password
8089
+ * @summary getRootSeaweedFSAccountPassword
8090
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
8091
+ * @param {*} [options] Override http request option.
8092
+ * @throws {RequiredError}
8093
+ */
8094
+ getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
7783
8095
  /**
7784
8096
  *
7785
8097
  * @summary list all databases or schema of the cluster
@@ -8328,6 +8640,22 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
8328
8640
  * @throws {RequiredError}
8329
8641
  */
8330
8642
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList>;
8643
+ /**
8644
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
8645
+ * @summary listSeaweedFSAccounts
8646
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
8647
+ * @param {*} [options] Override http request option.
8648
+ * @throws {RequiredError}
8649
+ */
8650
+ listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
8651
+ /**
8652
+ *
8653
+ * @summary listSeaweedFSPolicies
8654
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
8655
+ * @param {*} [options] Override http request option.
8656
+ * @throws {RequiredError}
8657
+ */
8658
+ listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
8331
8659
  /**
8332
8660
  * list MinIO service account access keys
8333
8661
  * @summary List MinIO access keys
@@ -8496,6 +8824,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
8496
8824
  * @throws {RequiredError}
8497
8825
  */
8498
8826
  putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8827
+ /**
8828
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
8829
+ * @summary putSeaweedFSPolicy
8830
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
8831
+ * @param {*} [options] Override http request option.
8832
+ * @throws {RequiredError}
8833
+ */
8834
+ putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8499
8835
  /**
8500
8836
  *
8501
8837
  * @summary create a SQL query
@@ -9031,6 +9367,22 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
9031
9367
  * @throws {RequiredError}
9032
9368
  */
9033
9369
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
9370
+ /**
9371
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
9372
+ * @summary updateSeaweedFSAccount
9373
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
9374
+ * @param {*} [options] Override http request option.
9375
+ * @throws {RequiredError}
9376
+ */
9377
+ updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
9378
+ /**
9379
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
9380
+ * @summary updateSeaweedFSAccountPrivileges
9381
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
9382
+ * @param {*} [options] Override http request option.
9383
+ * @throws {RequiredError}
9384
+ */
9385
+ updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9034
9386
  /**
9035
9387
  * update a MinIO service account access key
9036
9388
  * @summary Update MinIO access key
@@ -9172,6 +9524,15 @@ export interface SharedApiInterface {
9172
9524
  * @memberof SharedApiInterface
9173
9525
  */
9174
9526
  batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>>;
9527
+ /**
9528
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
9529
+ * @summary bindSeaweedFSPolicies
9530
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
9531
+ * @param {*} [options] Override http request option.
9532
+ * @throws {RequiredError}
9533
+ * @memberof SharedApiInterface
9534
+ */
9535
+ bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9175
9536
  /**
9176
9537
  *
9177
9538
  * @summary build backup object with a existing backup directory
@@ -9380,6 +9741,24 @@ export interface SharedApiInterface {
9380
9741
  * @memberof SharedApiInterface
9381
9742
  */
9382
9743
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
9744
+ /**
9745
+ * 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.
9746
+ * @summary createSeaweedFSAccessKey
9747
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
9748
+ * @param {*} [options] Override http request option.
9749
+ * @throws {RequiredError}
9750
+ * @memberof SharedApiInterface
9751
+ */
9752
+ createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
9753
+ /**
9754
+ * 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.
9755
+ * @summary createSeaweedFSAccount
9756
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
9757
+ * @param {*} [options] Override http request option.
9758
+ * @throws {RequiredError}
9759
+ * @memberof SharedApiInterface
9760
+ */
9761
+ createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
9383
9762
  /**
9384
9763
  * create a MinIO service account access key
9385
9764
  * @summary Create MinIO access key
@@ -9722,6 +10101,33 @@ export interface SharedApiInterface {
9722
10101
  * @memberof SharedApiInterface
9723
10102
  */
9724
10103
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
10104
+ /**
10105
+ *
10106
+ * @summary deleteSeaweedFSAccessKey
10107
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
10108
+ * @param {*} [options] Override http request option.
10109
+ * @throws {RequiredError}
10110
+ * @memberof SharedApiInterface
10111
+ */
10112
+ deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
10113
+ /**
10114
+ * delete an account in cluster
10115
+ * @summary deleteSeaweedFSAccount
10116
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
10117
+ * @param {*} [options] Override http request option.
10118
+ * @throws {RequiredError}
10119
+ * @memberof SharedApiInterface
10120
+ */
10121
+ deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
10122
+ /**
10123
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
10124
+ * @summary deleteSeaweedFSPolicy
10125
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
10126
+ * @param {*} [options] Override http request option.
10127
+ * @throws {RequiredError}
10128
+ * @memberof SharedApiInterface
10129
+ */
10130
+ deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9725
10131
  /**
9726
10132
  * delete a MinIO service account access key
9727
10133
  * @summary Delete MinIO access key
@@ -10289,6 +10695,15 @@ export interface SharedApiInterface {
10289
10695
  * @memberof SharedApiInterface
10290
10696
  */
10291
10697
  getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
10698
+ /**
10699
+ * get root account password
10700
+ * @summary getRootSeaweedFSAccountPassword
10701
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
10702
+ * @param {*} [options] Override http request option.
10703
+ * @throws {RequiredError}
10704
+ * @memberof SharedApiInterface
10705
+ */
10706
+ getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
10292
10707
  /**
10293
10708
  *
10294
10709
  * @summary list all databases or schema of the cluster
@@ -10905,6 +11320,24 @@ export interface SharedApiInterface {
10905
11320
  * @memberof SharedApiInterface
10906
11321
  */
10907
11322
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList>;
11323
+ /**
11324
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
11325
+ * @summary listSeaweedFSAccounts
11326
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
11327
+ * @param {*} [options] Override http request option.
11328
+ * @throws {RequiredError}
11329
+ * @memberof SharedApiInterface
11330
+ */
11331
+ listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
11332
+ /**
11333
+ *
11334
+ * @summary listSeaweedFSPolicies
11335
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
11336
+ * @param {*} [options] Override http request option.
11337
+ * @throws {RequiredError}
11338
+ * @memberof SharedApiInterface
11339
+ */
11340
+ listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
10908
11341
  /**
10909
11342
  * list MinIO service account access keys
10910
11343
  * @summary List MinIO access keys
@@ -11094,6 +11527,15 @@ export interface SharedApiInterface {
11094
11527
  * @memberof SharedApiInterface
11095
11528
  */
11096
11529
  putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11530
+ /**
11531
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
11532
+ * @summary putSeaweedFSPolicy
11533
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
11534
+ * @param {*} [options] Override http request option.
11535
+ * @throws {RequiredError}
11536
+ * @memberof SharedApiInterface
11537
+ */
11538
+ putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11097
11539
  /**
11098
11540
  *
11099
11541
  * @summary create a SQL query
@@ -11696,6 +12138,24 @@ export interface SharedApiInterface {
11696
12138
  * @memberof SharedApiInterface
11697
12139
  */
11698
12140
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
12141
+ /**
12142
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
12143
+ * @summary updateSeaweedFSAccount
12144
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
12145
+ * @param {*} [options] Override http request option.
12146
+ * @throws {RequiredError}
12147
+ * @memberof SharedApiInterface
12148
+ */
12149
+ updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
12150
+ /**
12151
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
12152
+ * @summary updateSeaweedFSAccountPrivileges
12153
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
12154
+ * @param {*} [options] Override http request option.
12155
+ * @throws {RequiredError}
12156
+ * @memberof SharedApiInterface
12157
+ */
12158
+ updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11699
12159
  /**
11700
12160
  * update a MinIO service account access key
11701
12161
  * @summary Update MinIO access key
@@ -12126,6 +12586,37 @@ export interface SharedApiBatchUpdateOrgParametersRequest {
12126
12586
  */
12127
12587
  readonly orgParameter: Array<OrgParameter>;
12128
12588
  }
12589
+ /**
12590
+ * Request parameters for bindSeaweedFSPolicies operation in SharedApi.
12591
+ * @export
12592
+ * @interface SharedApiBindSeaweedFSPoliciesRequest
12593
+ */
12594
+ export interface SharedApiBindSeaweedFSPoliciesRequest {
12595
+ /**
12596
+ *
12597
+ * @type {string}
12598
+ * @memberof SharedApiBindSeaweedFSPolicies
12599
+ */
12600
+ readonly orgName: string;
12601
+ /**
12602
+ *
12603
+ * @type {string}
12604
+ * @memberof SharedApiBindSeaweedFSPolicies
12605
+ */
12606
+ readonly clusterName: string;
12607
+ /**
12608
+ *
12609
+ * @type {string}
12610
+ * @memberof SharedApiBindSeaweedFSPolicies
12611
+ */
12612
+ readonly accountName: string;
12613
+ /**
12614
+ *
12615
+ * @type {BindSeaweedFSPoliciesRequest}
12616
+ * @memberof SharedApiBindSeaweedFSPolicies
12617
+ */
12618
+ readonly bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest;
12619
+ }
12129
12620
  /**
12130
12621
  * Request parameters for buildBackupObj operation in SharedApi.
12131
12622
  * @export
@@ -12721,15 +13212,71 @@ export interface SharedApiCreateRoleRequest {
12721
13212
  /**
12722
13213
  * name of the Org
12723
13214
  * @type {string}
12724
- * @memberof SharedApiCreateRole
13215
+ * @memberof SharedApiCreateRole
13216
+ */
13217
+ readonly orgName: string;
13218
+ /**
13219
+ *
13220
+ * @type {RoleCreate}
13221
+ * @memberof SharedApiCreateRole
13222
+ */
13223
+ readonly roleCreate: RoleCreate;
13224
+ }
13225
+ /**
13226
+ * Request parameters for createSeaweedFSAccessKey operation in SharedApi.
13227
+ * @export
13228
+ * @interface SharedApiCreateSeaweedFSAccessKeyRequest
13229
+ */
13230
+ export interface SharedApiCreateSeaweedFSAccessKeyRequest {
13231
+ /**
13232
+ *
13233
+ * @type {string}
13234
+ * @memberof SharedApiCreateSeaweedFSAccessKey
13235
+ */
13236
+ readonly orgName: string;
13237
+ /**
13238
+ *
13239
+ * @type {string}
13240
+ * @memberof SharedApiCreateSeaweedFSAccessKey
13241
+ */
13242
+ readonly clusterName: string;
13243
+ /**
13244
+ *
13245
+ * @type {string}
13246
+ * @memberof SharedApiCreateSeaweedFSAccessKey
13247
+ */
13248
+ readonly accountName: string;
13249
+ /**
13250
+ *
13251
+ * @type {Account}
13252
+ * @memberof SharedApiCreateSeaweedFSAccessKey
13253
+ */
13254
+ readonly account: Account;
13255
+ }
13256
+ /**
13257
+ * Request parameters for createSeaweedFSAccount operation in SharedApi.
13258
+ * @export
13259
+ * @interface SharedApiCreateSeaweedFSAccountRequest
13260
+ */
13261
+ export interface SharedApiCreateSeaweedFSAccountRequest {
13262
+ /**
13263
+ * name of the organization
13264
+ * @type {string}
13265
+ * @memberof SharedApiCreateSeaweedFSAccount
13266
+ */
13267
+ readonly orgName: string;
13268
+ /**
13269
+ * name of the cluster
13270
+ * @type {string}
13271
+ * @memberof SharedApiCreateSeaweedFSAccount
12725
13272
  */
12726
- readonly orgName: string;
13273
+ readonly clusterName: string;
12727
13274
  /**
12728
13275
  *
12729
- * @type {RoleCreate}
12730
- * @memberof SharedApiCreateRole
13276
+ * @type {Account}
13277
+ * @memberof SharedApiCreateSeaweedFSAccount
12731
13278
  */
12732
- readonly roleCreate: RoleCreate;
13279
+ readonly body: Account;
12733
13280
  }
12734
13281
  /**
12735
13282
  * Request parameters for createServiceAccount operation in SharedApi.
@@ -13639,6 +14186,87 @@ export interface SharedApiDeleteRoleByNameRequest {
13639
14186
  */
13640
14187
  readonly roleName: string;
13641
14188
  }
14189
+ /**
14190
+ * Request parameters for deleteSeaweedFSAccessKey operation in SharedApi.
14191
+ * @export
14192
+ * @interface SharedApiDeleteSeaweedFSAccessKeyRequest
14193
+ */
14194
+ export interface SharedApiDeleteSeaweedFSAccessKeyRequest {
14195
+ /**
14196
+ *
14197
+ * @type {string}
14198
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
14199
+ */
14200
+ readonly orgName: string;
14201
+ /**
14202
+ *
14203
+ * @type {string}
14204
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
14205
+ */
14206
+ readonly clusterName: string;
14207
+ /**
14208
+ *
14209
+ * @type {string}
14210
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
14211
+ */
14212
+ readonly accountName: string;
14213
+ /**
14214
+ *
14215
+ * @type {string}
14216
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
14217
+ */
14218
+ readonly accessKey: string;
14219
+ }
14220
+ /**
14221
+ * Request parameters for deleteSeaweedFSAccount operation in SharedApi.
14222
+ * @export
14223
+ * @interface SharedApiDeleteSeaweedFSAccountRequest
14224
+ */
14225
+ export interface SharedApiDeleteSeaweedFSAccountRequest {
14226
+ /**
14227
+ * name of the organization
14228
+ * @type {string}
14229
+ * @memberof SharedApiDeleteSeaweedFSAccount
14230
+ */
14231
+ readonly orgName: string;
14232
+ /**
14233
+ * name of the cluster
14234
+ * @type {string}
14235
+ * @memberof SharedApiDeleteSeaweedFSAccount
14236
+ */
14237
+ readonly clusterName: string;
14238
+ /**
14239
+ * name of the account
14240
+ * @type {string}
14241
+ * @memberof SharedApiDeleteSeaweedFSAccount
14242
+ */
14243
+ readonly accountName: string;
14244
+ }
14245
+ /**
14246
+ * Request parameters for deleteSeaweedFSPolicy operation in SharedApi.
14247
+ * @export
14248
+ * @interface SharedApiDeleteSeaweedFSPolicyRequest
14249
+ */
14250
+ export interface SharedApiDeleteSeaweedFSPolicyRequest {
14251
+ /**
14252
+ *
14253
+ * @type {string}
14254
+ * @memberof SharedApiDeleteSeaweedFSPolicy
14255
+ */
14256
+ readonly orgName: string;
14257
+ /**
14258
+ *
14259
+ * @type {string}
14260
+ * @memberof SharedApiDeleteSeaweedFSPolicy
14261
+ */
14262
+ readonly clusterName: string;
14263
+ /**
14264
+ *
14265
+ * @type {string}
14266
+ * @memberof SharedApiDeleteSeaweedFSPolicy
14267
+ */
14268
+ readonly policyName: string;
14269
+ }
13642
14270
  /**
13643
14271
  * Request parameters for deleteServiceAccount operation in SharedApi.
13644
14272
  * @export
@@ -15586,6 +16214,37 @@ export interface SharedApiGetRootAccountPasswordRequest {
15586
16214
  */
15587
16215
  readonly component?: string;
15588
16216
  }
16217
+ /**
16218
+ * Request parameters for getRootSeaweedFSAccountPassword operation in SharedApi.
16219
+ * @export
16220
+ * @interface SharedApiGetRootSeaweedFSAccountPasswordRequest
16221
+ */
16222
+ export interface SharedApiGetRootSeaweedFSAccountPasswordRequest {
16223
+ /**
16224
+ * name of the Org
16225
+ * @type {string}
16226
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
16227
+ */
16228
+ readonly orgName: string;
16229
+ /**
16230
+ * name of the Cluster
16231
+ * @type {string}
16232
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
16233
+ */
16234
+ readonly clusterName: string;
16235
+ /**
16236
+ * name of the account
16237
+ * @type {string}
16238
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
16239
+ */
16240
+ readonly accountName: string;
16241
+ /**
16242
+ * name of the component
16243
+ * @type {string}
16244
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
16245
+ */
16246
+ readonly component?: string;
16247
+ }
15589
16248
  /**
15590
16249
  * Request parameters for getSchemaList operation in SharedApi.
15591
16250
  * @export
@@ -17488,6 +18147,44 @@ export interface SharedApiListRolesRequest {
17488
18147
  */
17489
18148
  readonly orgName: string;
17490
18149
  }
18150
+ /**
18151
+ * Request parameters for listSeaweedFSAccounts operation in SharedApi.
18152
+ * @export
18153
+ * @interface SharedApiListSeaweedFSAccountsRequest
18154
+ */
18155
+ export interface SharedApiListSeaweedFSAccountsRequest {
18156
+ /**
18157
+ * name of the organization
18158
+ * @type {string}
18159
+ * @memberof SharedApiListSeaweedFSAccounts
18160
+ */
18161
+ readonly orgName: string;
18162
+ /**
18163
+ * name of the cluster
18164
+ * @type {string}
18165
+ * @memberof SharedApiListSeaweedFSAccounts
18166
+ */
18167
+ readonly clusterName: string;
18168
+ }
18169
+ /**
18170
+ * Request parameters for listSeaweedFSPolicies operation in SharedApi.
18171
+ * @export
18172
+ * @interface SharedApiListSeaweedFSPoliciesRequest
18173
+ */
18174
+ export interface SharedApiListSeaweedFSPoliciesRequest {
18175
+ /**
18176
+ *
18177
+ * @type {string}
18178
+ * @memberof SharedApiListSeaweedFSPolicies
18179
+ */
18180
+ readonly orgName: string;
18181
+ /**
18182
+ *
18183
+ * @type {string}
18184
+ * @memberof SharedApiListSeaweedFSPolicies
18185
+ */
18186
+ readonly clusterName: string;
18187
+ }
17491
18188
  /**
17492
18189
  * Request parameters for listServiceAccounts operation in SharedApi.
17493
18190
  * @export
@@ -18018,6 +18715,39 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
18018
18715
  */
18019
18716
  readonly body: ESPutSecurityUserRequest;
18020
18717
  }
18718
+ /**
18719
+ * Request parameters for putSeaweedFSPolicy operation in SharedApi.
18720
+ * @export
18721
+ * @interface SharedApiPutSeaweedFSPolicyRequest
18722
+ */
18723
+ export interface SharedApiPutSeaweedFSPolicyRequest {
18724
+ /**
18725
+ *
18726
+ * @type {string}
18727
+ * @memberof SharedApiPutSeaweedFSPolicy
18728
+ */
18729
+ readonly orgName: string;
18730
+ /**
18731
+ *
18732
+ * @type {string}
18733
+ * @memberof SharedApiPutSeaweedFSPolicy
18734
+ */
18735
+ readonly clusterName: string;
18736
+ /**
18737
+ *
18738
+ * @type {string}
18739
+ * @memberof SharedApiPutSeaweedFSPolicy
18740
+ */
18741
+ readonly policyName: string;
18742
+ /**
18743
+ *
18744
+ * @type {{ [key: string]: any; }}
18745
+ * @memberof SharedApiPutSeaweedFSPolicy
18746
+ */
18747
+ readonly requestBody: {
18748
+ [key: string]: any;
18749
+ };
18750
+ }
18021
18751
  /**
18022
18752
  * Request parameters for query operation in SharedApi.
18023
18753
  * @export
@@ -20636,6 +21366,68 @@ export interface SharedApiUpdateRoleByNameRequest {
20636
21366
  */
20637
21367
  readonly roleUpdate: RoleUpdate;
20638
21368
  }
21369
+ /**
21370
+ * Request parameters for updateSeaweedFSAccount operation in SharedApi.
21371
+ * @export
21372
+ * @interface SharedApiUpdateSeaweedFSAccountRequest
21373
+ */
21374
+ export interface SharedApiUpdateSeaweedFSAccountRequest {
21375
+ /**
21376
+ * name of the organization
21377
+ * @type {string}
21378
+ * @memberof SharedApiUpdateSeaweedFSAccount
21379
+ */
21380
+ readonly orgName: string;
21381
+ /**
21382
+ * name of the cluster
21383
+ * @type {string}
21384
+ * @memberof SharedApiUpdateSeaweedFSAccount
21385
+ */
21386
+ readonly clusterName: string;
21387
+ /**
21388
+ * name of the account
21389
+ * @type {string}
21390
+ * @memberof SharedApiUpdateSeaweedFSAccount
21391
+ */
21392
+ readonly accountName: string;
21393
+ /**
21394
+ *
21395
+ * @type {Account}
21396
+ * @memberof SharedApiUpdateSeaweedFSAccount
21397
+ */
21398
+ readonly body: Account;
21399
+ }
21400
+ /**
21401
+ * Request parameters for updateSeaweedFSAccountPrivileges operation in SharedApi.
21402
+ * @export
21403
+ * @interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest
21404
+ */
21405
+ export interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest {
21406
+ /**
21407
+ * name of the Org
21408
+ * @type {string}
21409
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
21410
+ */
21411
+ readonly orgName: string;
21412
+ /**
21413
+ * name of the Cluster
21414
+ * @type {string}
21415
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
21416
+ */
21417
+ readonly clusterName: string;
21418
+ /**
21419
+ * name of the account
21420
+ * @type {string}
21421
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
21422
+ */
21423
+ readonly accountName: string;
21424
+ /**
21425
+ *
21426
+ * @type {Array<PrivilegeListItem>}
21427
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
21428
+ */
21429
+ readonly body: Array<PrivilegeListItem>;
21430
+ }
20639
21431
  /**
20640
21432
  * Request parameters for updateServiceAccount operation in SharedApi.
20641
21433
  * @export
@@ -20943,6 +21735,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
20943
21735
  * @memberof SharedApi
20944
21736
  */
20945
21737
  batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgParameter[], any, {}>>;
21738
+ /**
21739
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
21740
+ * @summary bindSeaweedFSPolicies
21741
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
21742
+ * @param {*} [options] Override http request option.
21743
+ * @throws {RequiredError}
21744
+ * @memberof SharedApi
21745
+ */
21746
+ bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
20946
21747
  /**
20947
21748
  *
20948
21749
  * @summary build backup object with a existing backup directory
@@ -21151,6 +21952,24 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
21151
21952
  * @memberof SharedApi
21152
21953
  */
21153
21954
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Role, any, {}>>;
21955
+ /**
21956
+ * 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.
21957
+ * @summary createSeaweedFSAccessKey
21958
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
21959
+ * @param {*} [options] Override http request option.
21960
+ * @throws {RequiredError}
21961
+ * @memberof SharedApi
21962
+ */
21963
+ createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any, {}>>;
21964
+ /**
21965
+ * 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.
21966
+ * @summary createSeaweedFSAccount
21967
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
21968
+ * @param {*} [options] Override http request option.
21969
+ * @throws {RequiredError}
21970
+ * @memberof SharedApi
21971
+ */
21972
+ createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any, {}>>;
21154
21973
  /**
21155
21974
  * create a MinIO service account access key
21156
21975
  * @summary Create MinIO access key
@@ -21493,6 +22312,33 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
21493
22312
  * @memberof SharedApi
21494
22313
  */
21495
22314
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
22315
+ /**
22316
+ *
22317
+ * @summary deleteSeaweedFSAccessKey
22318
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
22319
+ * @param {*} [options] Override http request option.
22320
+ * @throws {RequiredError}
22321
+ * @memberof SharedApi
22322
+ */
22323
+ deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
22324
+ /**
22325
+ * delete an account in cluster
22326
+ * @summary deleteSeaweedFSAccount
22327
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
22328
+ * @param {*} [options] Override http request option.
22329
+ * @throws {RequiredError}
22330
+ * @memberof SharedApi
22331
+ */
22332
+ deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
22333
+ /**
22334
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
22335
+ * @summary deleteSeaweedFSPolicy
22336
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
22337
+ * @param {*} [options] Override http request option.
22338
+ * @throws {RequiredError}
22339
+ * @memberof SharedApi
22340
+ */
22341
+ deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
21496
22342
  /**
21497
22343
  * delete a MinIO service account access key
21498
22344
  * @summary Delete MinIO access key
@@ -22060,6 +22906,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
22060
22906
  * @memberof SharedApi
22061
22907
  */
22062
22908
  getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
22909
+ /**
22910
+ * get root account password
22911
+ * @summary getRootSeaweedFSAccountPassword
22912
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
22913
+ * @param {*} [options] Override http request option.
22914
+ * @throws {RequiredError}
22915
+ * @memberof SharedApi
22916
+ */
22917
+ getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
22063
22918
  /**
22064
22919
  *
22065
22920
  * @summary list all databases or schema of the cluster
@@ -22676,6 +23531,24 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
22676
23531
  * @memberof SharedApi
22677
23532
  */
22678
23533
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RoleList, any, {}>>;
23534
+ /**
23535
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
23536
+ * @summary listSeaweedFSAccounts
23537
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
23538
+ * @param {*} [options] Override http request option.
23539
+ * @throws {RequiredError}
23540
+ * @memberof SharedApi
23541
+ */
23542
+ listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountListItem[], any, {}>>;
23543
+ /**
23544
+ *
23545
+ * @summary listSeaweedFSPolicies
23546
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
23547
+ * @param {*} [options] Override http request option.
23548
+ * @throws {RequiredError}
23549
+ * @memberof SharedApi
23550
+ */
23551
+ listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSeaweedFSPolicies200Response, any, {}>>;
22679
23552
  /**
22680
23553
  * list MinIO service account access keys
22681
23554
  * @summary List MinIO access keys
@@ -22865,6 +23738,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
22865
23738
  * @memberof SharedApi
22866
23739
  */
22867
23740
  putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
23741
+ /**
23742
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
23743
+ * @summary putSeaweedFSPolicy
23744
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
23745
+ * @param {*} [options] Override http request option.
23746
+ * @throws {RequiredError}
23747
+ * @memberof SharedApi
23748
+ */
23749
+ putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
22868
23750
  /**
22869
23751
  *
22870
23752
  * @summary create a SQL query
@@ -23467,6 +24349,24 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
23467
24349
  * @memberof SharedApi
23468
24350
  */
23469
24351
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Role, any, {}>>;
24352
+ /**
24353
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
24354
+ * @summary updateSeaweedFSAccount
24355
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
24356
+ * @param {*} [options] Override http request option.
24357
+ * @throws {RequiredError}
24358
+ * @memberof SharedApi
24359
+ */
24360
+ updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any, {}>>;
24361
+ /**
24362
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
24363
+ * @summary updateSeaweedFSAccountPrivileges
24364
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
24365
+ * @param {*} [options] Override http request option.
24366
+ * @throws {RequiredError}
24367
+ * @memberof SharedApi
24368
+ */
24369
+ updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
23470
24370
  /**
23471
24371
  * update a MinIO service account access key
23472
24372
  * @summary Update MinIO access key