kb-cloud-client-typescript 2.4.0-alpha.94 → 2.4.0-alpha.95

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 (175) hide show
  1. package/dist/adminapi/apis/account-api.d.ts +1129 -38
  2. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/account-api.js +1283 -149
  4. package/dist/adminapi/apis/account-api.js.map +1 -1
  5. package/dist/adminapi/apis/mongodb-api.d.ts +943 -4
  6. package/dist/adminapi/apis/mongodb-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/mongodb-api.js +1005 -0
  8. package/dist/adminapi/apis/mongodb-api.js.map +1 -1
  9. package/dist/adminapi/apis/rdbms-api.d.ts +186 -34
  10. package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/rdbms-api.js +166 -37
  12. package/dist/adminapi/apis/rdbms-api.js.map +1 -1
  13. package/dist/adminapi/apis/shared-api.d.ts +1196 -105
  14. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/shared-api.js +1273 -139
  16. package/dist/adminapi/apis/shared-api.js.map +1 -1
  17. package/dist/adminapi/models/index.d.ts +11 -0
  18. package/dist/adminapi/models/index.d.ts.map +1 -1
  19. package/dist/adminapi/models/index.js +11 -0
  20. package/dist/adminapi/models/index.js.map +1 -1
  21. package/dist/adminapi/models/mongo-rbacbinding-change.d.ts +32 -0
  22. package/dist/adminapi/models/mongo-rbacbinding-change.d.ts.map +1 -0
  23. package/dist/adminapi/models/mongo-rbacbinding-change.js +16 -0
  24. package/dist/adminapi/models/mongo-rbacbinding-change.js.map +1 -0
  25. package/dist/adminapi/models/mongo-rbaccapabilities.d.ts +32 -0
  26. package/dist/adminapi/models/mongo-rbaccapabilities.d.ts.map +1 -0
  27. package/dist/adminapi/models/mongo-rbaccapabilities.js +16 -0
  28. package/dist/adminapi/models/mongo-rbaccapabilities.js.map +1 -0
  29. package/dist/adminapi/models/mongo-rbacpassword-change.d.ts +25 -0
  30. package/dist/adminapi/models/mongo-rbacpassword-change.d.ts.map +1 -0
  31. package/dist/adminapi/models/mongo-rbacpassword-change.js +16 -0
  32. package/dist/adminapi/models/mongo-rbacpassword-change.js.map +1 -0
  33. package/dist/adminapi/models/mongo-rbacprivilege.d.ts +32 -0
  34. package/dist/adminapi/models/mongo-rbacprivilege.d.ts.map +1 -0
  35. package/dist/adminapi/models/mongo-rbacprivilege.js +16 -0
  36. package/dist/adminapi/models/mongo-rbacprivilege.js.map +1 -0
  37. package/dist/adminapi/models/mongo-rbacresource-capability.d.ts +31 -0
  38. package/dist/adminapi/models/mongo-rbacresource-capability.d.ts.map +1 -0
  39. package/dist/adminapi/models/mongo-rbacresource-capability.js +16 -0
  40. package/dist/adminapi/models/mongo-rbacresource-capability.js.map +1 -0
  41. package/dist/adminapi/models/mongo-rbacresource.d.ts +43 -0
  42. package/dist/adminapi/models/mongo-rbacresource.d.ts.map +1 -0
  43. package/dist/adminapi/models/mongo-rbacresource.js +16 -0
  44. package/dist/adminapi/models/mongo-rbacresource.js.map +1 -0
  45. package/dist/adminapi/models/mongo-rbacrole-ref.d.ts +31 -0
  46. package/dist/adminapi/models/mongo-rbacrole-ref.d.ts.map +1 -0
  47. package/dist/adminapi/models/mongo-rbacrole-ref.js +16 -0
  48. package/dist/adminapi/models/mongo-rbacrole-ref.js.map +1 -0
  49. package/dist/adminapi/models/mongo-rbacrole-write.d.ts +51 -0
  50. package/dist/adminapi/models/mongo-rbacrole-write.d.ts.map +1 -0
  51. package/dist/adminapi/models/mongo-rbacrole-write.js +16 -0
  52. package/dist/adminapi/models/mongo-rbacrole-write.js.map +1 -0
  53. package/dist/adminapi/models/mongo-rbacrole.d.ts +69 -0
  54. package/dist/adminapi/models/mongo-rbacrole.d.ts.map +1 -0
  55. package/dist/adminapi/models/mongo-rbacrole.js +16 -0
  56. package/dist/adminapi/models/mongo-rbacrole.js.map +1 -0
  57. package/dist/adminapi/models/mongo-rbacuser-create.d.ts +44 -0
  58. package/dist/adminapi/models/mongo-rbacuser-create.d.ts.map +1 -0
  59. package/dist/adminapi/models/mongo-rbacuser-create.js +16 -0
  60. package/dist/adminapi/models/mongo-rbacuser-create.js.map +1 -0
  61. package/dist/adminapi/models/mongo-rbacuser.d.ts +57 -0
  62. package/dist/adminapi/models/mongo-rbacuser.d.ts.map +1 -0
  63. package/dist/adminapi/models/mongo-rbacuser.js +16 -0
  64. package/dist/adminapi/models/mongo-rbacuser.js.map +1 -0
  65. package/dist/adminapi/models/object-privilege-evidence.d.ts +6 -0
  66. package/dist/adminapi/models/object-privilege-evidence.d.ts.map +1 -1
  67. package/dist/adminapi/models/object-privilege-reset-step.d.ts +1 -1
  68. package/dist/openapi/apis/account-api.d.ts +1129 -38
  69. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  70. package/dist/openapi/apis/account-api.js +1283 -149
  71. package/dist/openapi/apis/account-api.js.map +1 -1
  72. package/dist/openapi/apis/mongodb-api.d.ts +943 -4
  73. package/dist/openapi/apis/mongodb-api.d.ts.map +1 -1
  74. package/dist/openapi/apis/mongodb-api.js +1005 -0
  75. package/dist/openapi/apis/mongodb-api.js.map +1 -1
  76. package/dist/openapi/apis/rdbms-api.d.ts +186 -34
  77. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  78. package/dist/openapi/apis/rdbms-api.js +166 -37
  79. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  80. package/dist/openapi/apis/shared-api.d.ts +1196 -105
  81. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  82. package/dist/openapi/apis/shared-api.js +1273 -139
  83. package/dist/openapi/apis/shared-api.js.map +1 -1
  84. package/dist/openapi/models/index.d.ts +11 -0
  85. package/dist/openapi/models/index.d.ts.map +1 -1
  86. package/dist/openapi/models/index.js +11 -0
  87. package/dist/openapi/models/index.js.map +1 -1
  88. package/dist/openapi/models/mongo-rbacbinding-change.d.ts +32 -0
  89. package/dist/openapi/models/mongo-rbacbinding-change.d.ts.map +1 -0
  90. package/dist/openapi/models/mongo-rbacbinding-change.js +16 -0
  91. package/dist/openapi/models/mongo-rbacbinding-change.js.map +1 -0
  92. package/dist/openapi/models/mongo-rbaccapabilities.d.ts +32 -0
  93. package/dist/openapi/models/mongo-rbaccapabilities.d.ts.map +1 -0
  94. package/dist/openapi/models/mongo-rbaccapabilities.js +16 -0
  95. package/dist/openapi/models/mongo-rbaccapabilities.js.map +1 -0
  96. package/dist/openapi/models/mongo-rbacpassword-change.d.ts +25 -0
  97. package/dist/openapi/models/mongo-rbacpassword-change.d.ts.map +1 -0
  98. package/dist/openapi/models/mongo-rbacpassword-change.js +16 -0
  99. package/dist/openapi/models/mongo-rbacpassword-change.js.map +1 -0
  100. package/dist/openapi/models/mongo-rbacprivilege.d.ts +32 -0
  101. package/dist/openapi/models/mongo-rbacprivilege.d.ts.map +1 -0
  102. package/dist/openapi/models/mongo-rbacprivilege.js +16 -0
  103. package/dist/openapi/models/mongo-rbacprivilege.js.map +1 -0
  104. package/dist/openapi/models/mongo-rbacresource-capability.d.ts +31 -0
  105. package/dist/openapi/models/mongo-rbacresource-capability.d.ts.map +1 -0
  106. package/dist/openapi/models/mongo-rbacresource-capability.js +16 -0
  107. package/dist/openapi/models/mongo-rbacresource-capability.js.map +1 -0
  108. package/dist/openapi/models/mongo-rbacresource.d.ts +43 -0
  109. package/dist/openapi/models/mongo-rbacresource.d.ts.map +1 -0
  110. package/dist/openapi/models/mongo-rbacresource.js +16 -0
  111. package/dist/openapi/models/mongo-rbacresource.js.map +1 -0
  112. package/dist/openapi/models/mongo-rbacrole-ref.d.ts +31 -0
  113. package/dist/openapi/models/mongo-rbacrole-ref.d.ts.map +1 -0
  114. package/dist/openapi/models/mongo-rbacrole-ref.js +16 -0
  115. package/dist/openapi/models/mongo-rbacrole-ref.js.map +1 -0
  116. package/dist/openapi/models/mongo-rbacrole-write.d.ts +51 -0
  117. package/dist/openapi/models/mongo-rbacrole-write.d.ts.map +1 -0
  118. package/dist/openapi/models/mongo-rbacrole-write.js +16 -0
  119. package/dist/openapi/models/mongo-rbacrole-write.js.map +1 -0
  120. package/dist/openapi/models/mongo-rbacrole.d.ts +69 -0
  121. package/dist/openapi/models/mongo-rbacrole.d.ts.map +1 -0
  122. package/dist/openapi/models/mongo-rbacrole.js +16 -0
  123. package/dist/openapi/models/mongo-rbacrole.js.map +1 -0
  124. package/dist/openapi/models/mongo-rbacuser-create.d.ts +44 -0
  125. package/dist/openapi/models/mongo-rbacuser-create.d.ts.map +1 -0
  126. package/dist/openapi/models/mongo-rbacuser-create.js +16 -0
  127. package/dist/openapi/models/mongo-rbacuser-create.js.map +1 -0
  128. package/dist/openapi/models/mongo-rbacuser.d.ts +57 -0
  129. package/dist/openapi/models/mongo-rbacuser.d.ts.map +1 -0
  130. package/dist/openapi/models/mongo-rbacuser.js +16 -0
  131. package/dist/openapi/models/mongo-rbacuser.js.map +1 -0
  132. package/dist/openapi/models/object-privilege-evidence.d.ts +6 -0
  133. package/dist/openapi/models/object-privilege-evidence.d.ts.map +1 -1
  134. package/dist/openapi/models/object-privilege-reset-step.d.ts +1 -1
  135. package/package.json +1 -1
  136. package/src/adminapi/.openapi-generator/FILES +11 -0
  137. package/src/adminapi/apis/account-api.ts +3961 -2069
  138. package/src/adminapi/apis/mongodb-api.ts +1757 -120
  139. package/src/adminapi/apis/rdbms-api.ts +298 -43
  140. package/src/adminapi/apis/shared-api.ts +2363 -471
  141. package/src/adminapi/models/index.ts +11 -0
  142. package/src/adminapi/models/mongo-rbacbinding-change.ts +39 -0
  143. package/src/adminapi/models/mongo-rbaccapabilities.ts +39 -0
  144. package/src/adminapi/models/mongo-rbacpassword-change.ts +30 -0
  145. package/src/adminapi/models/mongo-rbacprivilege.ts +39 -0
  146. package/src/adminapi/models/mongo-rbacresource-capability.ts +36 -0
  147. package/src/adminapi/models/mongo-rbacresource.ts +48 -0
  148. package/src/adminapi/models/mongo-rbacrole-ref.ts +36 -0
  149. package/src/adminapi/models/mongo-rbacrole-write.ts +60 -0
  150. package/src/adminapi/models/mongo-rbacrole.ts +78 -0
  151. package/src/adminapi/models/mongo-rbacuser-create.ts +51 -0
  152. package/src/adminapi/models/mongo-rbacuser.ts +66 -0
  153. package/src/adminapi/models/object-privilege-evidence.ts +6 -0
  154. package/src/adminapi/models/object-privilege-reset-step.ts +1 -1
  155. package/src/adminapi.yaml +958 -134
  156. package/src/openapi/.openapi-generator/FILES +11 -0
  157. package/src/openapi/apis/account-api.ts +3961 -2069
  158. package/src/openapi/apis/mongodb-api.ts +1757 -120
  159. package/src/openapi/apis/rdbms-api.ts +298 -43
  160. package/src/openapi/apis/shared-api.ts +2168 -276
  161. package/src/openapi/models/index.ts +11 -0
  162. package/src/openapi/models/mongo-rbacbinding-change.ts +39 -0
  163. package/src/openapi/models/mongo-rbaccapabilities.ts +39 -0
  164. package/src/openapi/models/mongo-rbacpassword-change.ts +30 -0
  165. package/src/openapi/models/mongo-rbacprivilege.ts +39 -0
  166. package/src/openapi/models/mongo-rbacresource-capability.ts +36 -0
  167. package/src/openapi/models/mongo-rbacresource.ts +48 -0
  168. package/src/openapi/models/mongo-rbacrole-ref.ts +36 -0
  169. package/src/openapi/models/mongo-rbacrole-write.ts +60 -0
  170. package/src/openapi/models/mongo-rbacrole.ts +78 -0
  171. package/src/openapi/models/mongo-rbacuser-create.ts +51 -0
  172. package/src/openapi/models/mongo-rbacuser.ts +66 -0
  173. package/src/openapi/models/object-privilege-evidence.ts +6 -0
  174. package/src/openapi/models/object-privilege-reset-step.ts +1 -1
  175. package/src/openapi.yaml +958 -134
@@ -25,8 +25,16 @@ import type { MilvusRole } from '../models';
25
25
  import type { MilvusRoleCreateRequest } from '../models';
26
26
  import type { MilvusRoleList } from '../models';
27
27
  import type { MilvusRoleRequest } from '../models';
28
+ import type { MongoRBACBindingChange } from '../models';
29
+ import type { MongoRBACCapabilities } from '../models';
30
+ import type { MongoRBACPasswordChange } from '../models';
31
+ import type { MongoRBACRole } from '../models';
32
+ import type { MongoRBACRoleWrite } from '../models';
33
+ import type { MongoRBACUser } from '../models';
34
+ import type { MongoRBACUserCreate } from '../models';
28
35
  import type { ObjectPrivilegeCapabilities } from '../models';
29
36
  import type { ObjectPrivilegeChange } from '../models';
37
+ import type { ObjectPrivilegeEvidence } from '../models';
30
38
  import type { ObjectPrivilegeObjectList } from '../models';
31
39
  import type { ObjectPrivilegeResetStep } from '../models';
32
40
  import type { ObjectPrivilegeSnapshot } from '../models';
@@ -304,6 +312,21 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
304
312
  * @throws {RequiredError}
305
313
  */
306
314
  getAccountObjectPrivileges: (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName?: string, schemaName?: string, objectName?: string, objectId?: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, catalogName?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
315
+ /**
316
+ * Without databaseName, returns role attributes, memberships, database access summaries and shared ACLs without connecting to other databases. PostgreSQL databaseName reads schema, object, ownership and PUBLIC evidence from that database only. Failed reads return an error, never an empty grant list. SQL is read-only evidence, not an exhaustive effective-access decision.
317
+ * @summary Read native account privilege summary or selected database evidence
318
+ * @param {string} engineName
319
+ * @param {string} orgName
320
+ * @param {string} clusterName
321
+ * @param {string} accountName
322
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
323
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
324
+ * @param {string} [subjectQualifiers]
325
+ * @param {string} [databaseName] PostgreSQL database to inspect on demand. Omit for the global summary.
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ */
329
+ getAccountPrivilegeOverview: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
307
330
  /**
308
331
  * Get Hive accounts
309
332
  * @summary Get Hive accounts
@@ -358,19 +381,20 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
358
381
  */
359
382
  getServiceAccount: (engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
360
383
  /**
361
- * Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
384
+ * Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
362
385
  * @summary List exact column names for account object privileges
363
386
  * @param {string} engineName
364
387
  * @param {string} orgName
365
388
  * @param {string} clusterName
366
389
  * @param {string} accountName
367
- * @param {string} objectType Object type, either table or view
390
+ * @param {string} objectType Object type, table/view; PostgreSQL also supports materializedView/foreignTable
368
391
  * @param {string} databaseName
369
392
  * @param {string} objectName
393
+ * @param {string} [schemaName] Required for PostgreSQL; not accepted for MySQL
370
394
  * @param {*} [options] Override http request option.
371
395
  * @throws {RequiredError}
372
396
  */
373
- listAccountObjectPrivilegeColumns: (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
397
+ listAccountObjectPrivilegeColumns: (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, schemaName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
374
398
  /**
375
399
  * Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
376
400
  * @summary Discover existing native privilege objects with stable routine identities
@@ -475,8 +499,138 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
475
499
  */
476
500
  lockAccount: (engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
477
501
  /**
478
- * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
479
- * @summary Preview clearing all MySQL account privileges
502
+ *
503
+ * @summary ChangeRBACUserPassword
504
+ * @param {string} orgName
505
+ * @param {string} clusterName
506
+ * @param {string} database
507
+ * @param {string} username
508
+ * @param {MongoRBACPasswordChange} mongoRBACPasswordChange
509
+ * @param {*} [options] Override http request option.
510
+ * @throws {RequiredError}
511
+ */
512
+ mongoChangeRBACUserPassword: (orgName: string, clusterName: string, database: string, username: string, mongoRBACPasswordChange: MongoRBACPasswordChange, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
513
+ /**
514
+ *
515
+ * @summary ChangeRBACUserRoles
516
+ * @param {string} orgName
517
+ * @param {string} clusterName
518
+ * @param {string} database
519
+ * @param {string} username
520
+ * @param {MongoRBACBindingChange} mongoRBACBindingChange
521
+ * @param {*} [options] Override http request option.
522
+ * @throws {RequiredError}
523
+ */
524
+ mongoChangeRBACUserRoles: (orgName: string, clusterName: string, database: string, username: string, mongoRBACBindingChange: MongoRBACBindingChange, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
525
+ /**
526
+ *
527
+ * @summary CreateRBACRole
528
+ * @param {string} orgName
529
+ * @param {string} clusterName
530
+ * @param {MongoRBACRoleWrite} mongoRBACRoleWrite
531
+ * @param {*} [options] Override http request option.
532
+ * @throws {RequiredError}
533
+ */
534
+ mongoCreateRBACRole: (orgName: string, clusterName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
535
+ /**
536
+ *
537
+ * @summary CreateRBACUser
538
+ * @param {string} orgName
539
+ * @param {string} clusterName
540
+ * @param {MongoRBACUserCreate} mongoRBACUserCreate
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ */
544
+ mongoCreateRBACUser: (orgName: string, clusterName: string, mongoRBACUserCreate: MongoRBACUserCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
545
+ /**
546
+ *
547
+ * @summary DeleteRBACRole
548
+ * @param {string} orgName
549
+ * @param {string} clusterName
550
+ * @param {string} database
551
+ * @param {string} roleName
552
+ * @param {string} expectedRevision
553
+ * @param {*} [options] Override http request option.
554
+ * @throws {RequiredError}
555
+ */
556
+ mongoDeleteRBACRole: (orgName: string, clusterName: string, database: string, roleName: string, expectedRevision: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
557
+ /**
558
+ *
559
+ * @summary DeleteRBACUser
560
+ * @param {string} orgName
561
+ * @param {string} clusterName
562
+ * @param {string} database
563
+ * @param {string} username
564
+ * @param {*} [options] Override http request option.
565
+ * @throws {RequiredError}
566
+ */
567
+ mongoDeleteRBACUser: (orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
568
+ /**
569
+ *
570
+ * @summary GetRBACCapabilities
571
+ * @param {string} orgName
572
+ * @param {string} clusterName
573
+ * @param {*} [options] Override http request option.
574
+ * @throws {RequiredError}
575
+ */
576
+ mongoGetRBACCapabilities: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
577
+ /**
578
+ *
579
+ * @summary GetRBACRole
580
+ * @param {string} orgName
581
+ * @param {string} clusterName
582
+ * @param {string} database
583
+ * @param {string} roleName
584
+ * @param {*} [options] Override http request option.
585
+ * @throws {RequiredError}
586
+ */
587
+ mongoGetRBACRole: (orgName: string, clusterName: string, database: string, roleName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
588
+ /**
589
+ *
590
+ * @summary GetRBACUser
591
+ * @param {string} orgName
592
+ * @param {string} clusterName
593
+ * @param {string} database
594
+ * @param {string} username
595
+ * @param {*} [options] Override http request option.
596
+ * @throws {RequiredError}
597
+ */
598
+ mongoGetRBACUser: (orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
599
+ /**
600
+ *
601
+ * @summary ListRBACRoles
602
+ * @param {string} orgName
603
+ * @param {string} clusterName
604
+ * @param {string} [database]
605
+ * @param {*} [options] Override http request option.
606
+ * @throws {RequiredError}
607
+ */
608
+ mongoListRBACRoles: (orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
609
+ /**
610
+ *
611
+ * @summary ListRBACUsers
612
+ * @param {string} orgName
613
+ * @param {string} clusterName
614
+ * @param {string} [database]
615
+ * @param {*} [options] Override http request option.
616
+ * @throws {RequiredError}
617
+ */
618
+ mongoListRBACUsers: (orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
619
+ /**
620
+ *
621
+ * @summary UpdateRBACRole
622
+ * @param {string} orgName
623
+ * @param {string} clusterName
624
+ * @param {string} database
625
+ * @param {string} roleName
626
+ * @param {MongoRBACRoleWrite} mongoRBACRoleWrite
627
+ * @param {*} [options] Override http request option.
628
+ * @throws {RequiredError}
629
+ */
630
+ mongoUpdateRBACRole: (orgName: string, clusterName: string, database: string, roleName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
631
+ /**
632
+ * MySQL clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
633
+ * @summary Preview clearing explicit account privileges
480
634
  * @param {string} engineName
481
635
  * @param {string} orgName
482
636
  * @param {string} clusterName
@@ -484,10 +638,12 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
484
638
  * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
485
639
  * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
486
640
  * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
641
+ * @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
642
+ * @param {boolean} [allDatabases] PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
487
643
  * @param {*} [options] Override http request option.
488
644
  * @throws {RequiredError}
489
645
  */
490
- previewAccountPrivilegeReset: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
646
+ previewAccountPrivilegeReset: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseNames?: Array<string>, allDatabases?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
491
647
  /**
492
648
  * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
493
649
  * @summary putSeaweedFSPolicy
@@ -502,8 +658,8 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
502
658
  [key: string]: any;
503
659
  }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
504
660
  /**
505
- * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
506
- * @summary Clear all MySQL account privileges
661
+ * MySQL clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
662
+ * @summary Clear explicit account privileges
507
663
  * @param {string} engineName
508
664
  * @param {string} orgName
509
665
  * @param {string} clusterName
@@ -511,10 +667,12 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
511
667
  * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
512
668
  * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
513
669
  * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
670
+ * @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
671
+ * @param {boolean} [allDatabases] PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
514
672
  * @param {*} [options] Override http request option.
515
673
  * @throws {RequiredError}
516
674
  */
517
- resetAccountPrivileges: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
675
+ resetAccountPrivileges: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseNames?: Array<string>, allDatabases?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
518
676
  /**
519
677
  * unlock an account in cluster
520
678
  * @summary Unlock cluster account
@@ -940,6 +1098,21 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
940
1098
  * @throws {RequiredError}
941
1099
  */
942
1100
  getAccountObjectPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName?: string, schemaName?: string, objectName?: string, objectId?: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, catalogName?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ObjectPrivilegeSnapshot>>;
1101
+ /**
1102
+ * Without databaseName, returns role attributes, memberships, database access summaries and shared ACLs without connecting to other databases. PostgreSQL databaseName reads schema, object, ownership and PUBLIC evidence from that database only. Failed reads return an error, never an empty grant list. SQL is read-only evidence, not an exhaustive effective-access decision.
1103
+ * @summary Read native account privilege summary or selected database evidence
1104
+ * @param {string} engineName
1105
+ * @param {string} orgName
1106
+ * @param {string} clusterName
1107
+ * @param {string} accountName
1108
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
1109
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
1110
+ * @param {string} [subjectQualifiers]
1111
+ * @param {string} [databaseName] PostgreSQL database to inspect on demand. Omit for the global summary.
1112
+ * @param {*} [options] Override http request option.
1113
+ * @throws {RequiredError}
1114
+ */
1115
+ getAccountPrivilegeOverview(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ObjectPrivilegeEvidence>>>;
943
1116
  /**
944
1117
  * Get Hive accounts
945
1118
  * @summary Get Hive accounts
@@ -994,19 +1167,20 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
994
1167
  */
995
1168
  getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>>;
996
1169
  /**
997
- * Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
1170
+ * Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
998
1171
  * @summary List exact column names for account object privileges
999
1172
  * @param {string} engineName
1000
1173
  * @param {string} orgName
1001
1174
  * @param {string} clusterName
1002
1175
  * @param {string} accountName
1003
- * @param {string} objectType Object type, either table or view
1176
+ * @param {string} objectType Object type, table/view; PostgreSQL also supports materializedView/foreignTable
1004
1177
  * @param {string} databaseName
1005
1178
  * @param {string} objectName
1179
+ * @param {string} [schemaName] Required for PostgreSQL; not accepted for MySQL
1006
1180
  * @param {*} [options] Override http request option.
1007
1181
  * @throws {RequiredError}
1008
1182
  */
1009
- listAccountObjectPrivilegeColumns(engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
1183
+ listAccountObjectPrivilegeColumns(engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, schemaName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
1010
1184
  /**
1011
1185
  * Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
1012
1186
  * @summary Discover existing native privilege objects with stable routine identities
@@ -1111,8 +1285,138 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
1111
1285
  */
1112
1286
  lockAccount(engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1113
1287
  /**
1114
- * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
1115
- * @summary Preview clearing all MySQL account privileges
1288
+ *
1289
+ * @summary ChangeRBACUserPassword
1290
+ * @param {string} orgName
1291
+ * @param {string} clusterName
1292
+ * @param {string} database
1293
+ * @param {string} username
1294
+ * @param {MongoRBACPasswordChange} mongoRBACPasswordChange
1295
+ * @param {*} [options] Override http request option.
1296
+ * @throws {RequiredError}
1297
+ */
1298
+ mongoChangeRBACUserPassword(orgName: string, clusterName: string, database: string, username: string, mongoRBACPasswordChange: MongoRBACPasswordChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1299
+ /**
1300
+ *
1301
+ * @summary ChangeRBACUserRoles
1302
+ * @param {string} orgName
1303
+ * @param {string} clusterName
1304
+ * @param {string} database
1305
+ * @param {string} username
1306
+ * @param {MongoRBACBindingChange} mongoRBACBindingChange
1307
+ * @param {*} [options] Override http request option.
1308
+ * @throws {RequiredError}
1309
+ */
1310
+ mongoChangeRBACUserRoles(orgName: string, clusterName: string, database: string, username: string, mongoRBACBindingChange: MongoRBACBindingChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1311
+ /**
1312
+ *
1313
+ * @summary CreateRBACRole
1314
+ * @param {string} orgName
1315
+ * @param {string} clusterName
1316
+ * @param {MongoRBACRoleWrite} mongoRBACRoleWrite
1317
+ * @param {*} [options] Override http request option.
1318
+ * @throws {RequiredError}
1319
+ */
1320
+ mongoCreateRBACRole(orgName: string, clusterName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1321
+ /**
1322
+ *
1323
+ * @summary CreateRBACUser
1324
+ * @param {string} orgName
1325
+ * @param {string} clusterName
1326
+ * @param {MongoRBACUserCreate} mongoRBACUserCreate
1327
+ * @param {*} [options] Override http request option.
1328
+ * @throws {RequiredError}
1329
+ */
1330
+ mongoCreateRBACUser(orgName: string, clusterName: string, mongoRBACUserCreate: MongoRBACUserCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1331
+ /**
1332
+ *
1333
+ * @summary DeleteRBACRole
1334
+ * @param {string} orgName
1335
+ * @param {string} clusterName
1336
+ * @param {string} database
1337
+ * @param {string} roleName
1338
+ * @param {string} expectedRevision
1339
+ * @param {*} [options] Override http request option.
1340
+ * @throws {RequiredError}
1341
+ */
1342
+ mongoDeleteRBACRole(orgName: string, clusterName: string, database: string, roleName: string, expectedRevision: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1343
+ /**
1344
+ *
1345
+ * @summary DeleteRBACUser
1346
+ * @param {string} orgName
1347
+ * @param {string} clusterName
1348
+ * @param {string} database
1349
+ * @param {string} username
1350
+ * @param {*} [options] Override http request option.
1351
+ * @throws {RequiredError}
1352
+ */
1353
+ mongoDeleteRBACUser(orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1354
+ /**
1355
+ *
1356
+ * @summary GetRBACCapabilities
1357
+ * @param {string} orgName
1358
+ * @param {string} clusterName
1359
+ * @param {*} [options] Override http request option.
1360
+ * @throws {RequiredError}
1361
+ */
1362
+ mongoGetRBACCapabilities(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MongoRBACCapabilities>>;
1363
+ /**
1364
+ *
1365
+ * @summary GetRBACRole
1366
+ * @param {string} orgName
1367
+ * @param {string} clusterName
1368
+ * @param {string} database
1369
+ * @param {string} roleName
1370
+ * @param {*} [options] Override http request option.
1371
+ * @throws {RequiredError}
1372
+ */
1373
+ mongoGetRBACRole(orgName: string, clusterName: string, database: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MongoRBACRole>>;
1374
+ /**
1375
+ *
1376
+ * @summary GetRBACUser
1377
+ * @param {string} orgName
1378
+ * @param {string} clusterName
1379
+ * @param {string} database
1380
+ * @param {string} username
1381
+ * @param {*} [options] Override http request option.
1382
+ * @throws {RequiredError}
1383
+ */
1384
+ mongoGetRBACUser(orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MongoRBACUser>>;
1385
+ /**
1386
+ *
1387
+ * @summary ListRBACRoles
1388
+ * @param {string} orgName
1389
+ * @param {string} clusterName
1390
+ * @param {string} [database]
1391
+ * @param {*} [options] Override http request option.
1392
+ * @throws {RequiredError}
1393
+ */
1394
+ mongoListRBACRoles(orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MongoRBACRole>>>;
1395
+ /**
1396
+ *
1397
+ * @summary ListRBACUsers
1398
+ * @param {string} orgName
1399
+ * @param {string} clusterName
1400
+ * @param {string} [database]
1401
+ * @param {*} [options] Override http request option.
1402
+ * @throws {RequiredError}
1403
+ */
1404
+ mongoListRBACUsers(orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MongoRBACUser>>>;
1405
+ /**
1406
+ *
1407
+ * @summary UpdateRBACRole
1408
+ * @param {string} orgName
1409
+ * @param {string} clusterName
1410
+ * @param {string} database
1411
+ * @param {string} roleName
1412
+ * @param {MongoRBACRoleWrite} mongoRBACRoleWrite
1413
+ * @param {*} [options] Override http request option.
1414
+ * @throws {RequiredError}
1415
+ */
1416
+ mongoUpdateRBACRole(orgName: string, clusterName: string, database: string, roleName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1417
+ /**
1418
+ * MySQL clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
1419
+ * @summary Preview clearing explicit account privileges
1116
1420
  * @param {string} engineName
1117
1421
  * @param {string} orgName
1118
1422
  * @param {string} clusterName
@@ -1120,10 +1424,12 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
1120
1424
  * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
1121
1425
  * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
1122
1426
  * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
1427
+ * @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
1428
+ * @param {boolean} [allDatabases] PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
1123
1429
  * @param {*} [options] Override http request option.
1124
1430
  * @throws {RequiredError}
1125
1431
  */
1126
- previewAccountPrivilegeReset(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ObjectPrivilegeResetStep>>>;
1432
+ previewAccountPrivilegeReset(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseNames?: Array<string>, allDatabases?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ObjectPrivilegeResetStep>>>;
1127
1433
  /**
1128
1434
  * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
1129
1435
  * @summary putSeaweedFSPolicy
@@ -1138,8 +1444,8 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
1138
1444
  [key: string]: any;
1139
1445
  }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1140
1446
  /**
1141
- * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
1142
- * @summary Clear all MySQL account privileges
1447
+ * MySQL clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
1448
+ * @summary Clear explicit account privileges
1143
1449
  * @param {string} engineName
1144
1450
  * @param {string} orgName
1145
1451
  * @param {string} clusterName
@@ -1147,10 +1453,12 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
1147
1453
  * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
1148
1454
  * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
1149
1455
  * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
1456
+ * @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
1457
+ * @param {boolean} [allDatabases] PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
1150
1458
  * @param {*} [options] Override http request option.
1151
1459
  * @throws {RequiredError}
1152
1460
  */
1153
- resetAccountPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1461
+ resetAccountPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseNames?: Array<string>, allDatabases?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1154
1462
  /**
1155
1463
  * unlock an account in cluster
1156
1464
  * @summary Unlock cluster account
@@ -1505,6 +1813,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
1505
1813
  * @throws {RequiredError}
1506
1814
  */
1507
1815
  getAccountObjectPrivileges(requestParameters: AccountApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeSnapshot>;
1816
+ /**
1817
+ * Without databaseName, returns role attributes, memberships, database access summaries and shared ACLs without connecting to other databases. PostgreSQL databaseName reads schema, object, ownership and PUBLIC evidence from that database only. Failed reads return an error, never an empty grant list. SQL is read-only evidence, not an exhaustive effective-access decision.
1818
+ * @summary Read native account privilege summary or selected database evidence
1819
+ * @param {AccountApiGetAccountPrivilegeOverviewRequest} requestParameters Request parameters.
1820
+ * @param {*} [options] Override http request option.
1821
+ * @throws {RequiredError}
1822
+ */
1823
+ getAccountPrivilegeOverview(requestParameters: AccountApiGetAccountPrivilegeOverviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeEvidence>>;
1508
1824
  /**
1509
1825
  * Get Hive accounts
1510
1826
  * @summary Get Hive accounts
@@ -1546,7 +1862,7 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
1546
1862
  */
1547
1863
  getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
1548
1864
  /**
1549
- * Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
1865
+ * Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
1550
1866
  * @summary List exact column names for account object privileges
1551
1867
  * @param {AccountApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
1552
1868
  * @param {*} [options] Override http request option.
@@ -1634,8 +1950,104 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
1634
1950
  */
1635
1951
  lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1636
1952
  /**
1637
- * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
1638
- * @summary Preview clearing all MySQL account privileges
1953
+ *
1954
+ * @summary ChangeRBACUserPassword
1955
+ * @param {AccountApiMongoChangeRBACUserPasswordRequest} requestParameters Request parameters.
1956
+ * @param {*} [options] Override http request option.
1957
+ * @throws {RequiredError}
1958
+ */
1959
+ mongoChangeRBACUserPassword(requestParameters: AccountApiMongoChangeRBACUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1960
+ /**
1961
+ *
1962
+ * @summary ChangeRBACUserRoles
1963
+ * @param {AccountApiMongoChangeRBACUserRolesRequest} requestParameters Request parameters.
1964
+ * @param {*} [options] Override http request option.
1965
+ * @throws {RequiredError}
1966
+ */
1967
+ mongoChangeRBACUserRoles(requestParameters: AccountApiMongoChangeRBACUserRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1968
+ /**
1969
+ *
1970
+ * @summary CreateRBACRole
1971
+ * @param {AccountApiMongoCreateRBACRoleRequest} requestParameters Request parameters.
1972
+ * @param {*} [options] Override http request option.
1973
+ * @throws {RequiredError}
1974
+ */
1975
+ mongoCreateRBACRole(requestParameters: AccountApiMongoCreateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1976
+ /**
1977
+ *
1978
+ * @summary CreateRBACUser
1979
+ * @param {AccountApiMongoCreateRBACUserRequest} requestParameters Request parameters.
1980
+ * @param {*} [options] Override http request option.
1981
+ * @throws {RequiredError}
1982
+ */
1983
+ mongoCreateRBACUser(requestParameters: AccountApiMongoCreateRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1984
+ /**
1985
+ *
1986
+ * @summary DeleteRBACRole
1987
+ * @param {AccountApiMongoDeleteRBACRoleRequest} requestParameters Request parameters.
1988
+ * @param {*} [options] Override http request option.
1989
+ * @throws {RequiredError}
1990
+ */
1991
+ mongoDeleteRBACRole(requestParameters: AccountApiMongoDeleteRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1992
+ /**
1993
+ *
1994
+ * @summary DeleteRBACUser
1995
+ * @param {AccountApiMongoDeleteRBACUserRequest} requestParameters Request parameters.
1996
+ * @param {*} [options] Override http request option.
1997
+ * @throws {RequiredError}
1998
+ */
1999
+ mongoDeleteRBACUser(requestParameters: AccountApiMongoDeleteRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2000
+ /**
2001
+ *
2002
+ * @summary GetRBACCapabilities
2003
+ * @param {AccountApiMongoGetRBACCapabilitiesRequest} requestParameters Request parameters.
2004
+ * @param {*} [options] Override http request option.
2005
+ * @throws {RequiredError}
2006
+ */
2007
+ mongoGetRBACCapabilities(requestParameters: AccountApiMongoGetRBACCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACCapabilities>;
2008
+ /**
2009
+ *
2010
+ * @summary GetRBACRole
2011
+ * @param {AccountApiMongoGetRBACRoleRequest} requestParameters Request parameters.
2012
+ * @param {*} [options] Override http request option.
2013
+ * @throws {RequiredError}
2014
+ */
2015
+ mongoGetRBACRole(requestParameters: AccountApiMongoGetRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACRole>;
2016
+ /**
2017
+ *
2018
+ * @summary GetRBACUser
2019
+ * @param {AccountApiMongoGetRBACUserRequest} requestParameters Request parameters.
2020
+ * @param {*} [options] Override http request option.
2021
+ * @throws {RequiredError}
2022
+ */
2023
+ mongoGetRBACUser(requestParameters: AccountApiMongoGetRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACUser>;
2024
+ /**
2025
+ *
2026
+ * @summary ListRBACRoles
2027
+ * @param {AccountApiMongoListRBACRolesRequest} requestParameters Request parameters.
2028
+ * @param {*} [options] Override http request option.
2029
+ * @throws {RequiredError}
2030
+ */
2031
+ mongoListRBACRoles(requestParameters: AccountApiMongoListRBACRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACRole>>;
2032
+ /**
2033
+ *
2034
+ * @summary ListRBACUsers
2035
+ * @param {AccountApiMongoListRBACUsersRequest} requestParameters Request parameters.
2036
+ * @param {*} [options] Override http request option.
2037
+ * @throws {RequiredError}
2038
+ */
2039
+ mongoListRBACUsers(requestParameters: AccountApiMongoListRBACUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACUser>>;
2040
+ /**
2041
+ *
2042
+ * @summary UpdateRBACRole
2043
+ * @param {AccountApiMongoUpdateRBACRoleRequest} requestParameters Request parameters.
2044
+ * @param {*} [options] Override http request option.
2045
+ * @throws {RequiredError}
2046
+ */
2047
+ mongoUpdateRBACRole(requestParameters: AccountApiMongoUpdateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2048
+ /**
2049
+ * MySQL clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
2050
+ * @summary Preview clearing explicit account privileges
1639
2051
  * @param {AccountApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
1640
2052
  * @param {*} [options] Override http request option.
1641
2053
  * @throws {RequiredError}
@@ -1650,8 +2062,8 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
1650
2062
  */
1651
2063
  putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1652
2064
  /**
1653
- * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
1654
- * @summary Clear all MySQL account privileges
2065
+ * MySQL clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
2066
+ * @summary Clear explicit account privileges
1655
2067
  * @param {AccountApiResetAccountPrivilegesRequest} requestParameters Request parameters.
1656
2068
  * @param {*} [options] Override http request option.
1657
2069
  * @throws {RequiredError}
@@ -1993,14 +2405,23 @@ export interface AccountApiInterface {
1993
2405
  */
1994
2406
  getAccountObjectPrivileges(requestParameters: AccountApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeSnapshot>;
1995
2407
  /**
1996
- * Get Hive accounts
1997
- * @summary Get Hive accounts
1998
- * @param {AccountApiGetHiveAccountsRequest} requestParameters Request parameters.
2408
+ * Without databaseName, returns role attributes, memberships, database access summaries and shared ACLs without connecting to other databases. PostgreSQL databaseName reads schema, object, ownership and PUBLIC evidence from that database only. Failed reads return an error, never an empty grant list. SQL is read-only evidence, not an exhaustive effective-access decision.
2409
+ * @summary Read native account privilege summary or selected database evidence
2410
+ * @param {AccountApiGetAccountPrivilegeOverviewRequest} requestParameters Request parameters.
1999
2411
  * @param {*} [options] Override http request option.
2000
2412
  * @throws {RequiredError}
2001
2413
  * @memberof AccountApiInterface
2002
2414
  */
2003
- getHiveAccounts(requestParameters: AccountApiGetHiveAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
2415
+ getAccountPrivilegeOverview(requestParameters: AccountApiGetAccountPrivilegeOverviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeEvidence>>;
2416
+ /**
2417
+ * Get Hive accounts
2418
+ * @summary Get Hive accounts
2419
+ * @param {AccountApiGetHiveAccountsRequest} requestParameters Request parameters.
2420
+ * @param {*} [options] Override http request option.
2421
+ * @throws {RequiredError}
2422
+ * @memberof AccountApiInterface
2423
+ */
2424
+ getHiveAccounts(requestParameters: AccountApiGetHiveAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
2004
2425
  /**
2005
2426
  * Get a Milvus native role and its privilege grants.
2006
2427
  * @summary Get Milvus role
@@ -2038,7 +2459,7 @@ export interface AccountApiInterface {
2038
2459
  */
2039
2460
  getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
2040
2461
  /**
2041
- * Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
2462
+ * Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
2042
2463
  * @summary List exact column names for account object privileges
2043
2464
  * @param {AccountApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
2044
2465
  * @param {*} [options] Override http request option.
@@ -2137,8 +2558,116 @@ export interface AccountApiInterface {
2137
2558
  */
2138
2559
  lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2139
2560
  /**
2140
- * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
2141
- * @summary Preview clearing all MySQL account privileges
2561
+ *
2562
+ * @summary ChangeRBACUserPassword
2563
+ * @param {AccountApiMongoChangeRBACUserPasswordRequest} requestParameters Request parameters.
2564
+ * @param {*} [options] Override http request option.
2565
+ * @throws {RequiredError}
2566
+ * @memberof AccountApiInterface
2567
+ */
2568
+ mongoChangeRBACUserPassword(requestParameters: AccountApiMongoChangeRBACUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2569
+ /**
2570
+ *
2571
+ * @summary ChangeRBACUserRoles
2572
+ * @param {AccountApiMongoChangeRBACUserRolesRequest} requestParameters Request parameters.
2573
+ * @param {*} [options] Override http request option.
2574
+ * @throws {RequiredError}
2575
+ * @memberof AccountApiInterface
2576
+ */
2577
+ mongoChangeRBACUserRoles(requestParameters: AccountApiMongoChangeRBACUserRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2578
+ /**
2579
+ *
2580
+ * @summary CreateRBACRole
2581
+ * @param {AccountApiMongoCreateRBACRoleRequest} requestParameters Request parameters.
2582
+ * @param {*} [options] Override http request option.
2583
+ * @throws {RequiredError}
2584
+ * @memberof AccountApiInterface
2585
+ */
2586
+ mongoCreateRBACRole(requestParameters: AccountApiMongoCreateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2587
+ /**
2588
+ *
2589
+ * @summary CreateRBACUser
2590
+ * @param {AccountApiMongoCreateRBACUserRequest} requestParameters Request parameters.
2591
+ * @param {*} [options] Override http request option.
2592
+ * @throws {RequiredError}
2593
+ * @memberof AccountApiInterface
2594
+ */
2595
+ mongoCreateRBACUser(requestParameters: AccountApiMongoCreateRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2596
+ /**
2597
+ *
2598
+ * @summary DeleteRBACRole
2599
+ * @param {AccountApiMongoDeleteRBACRoleRequest} requestParameters Request parameters.
2600
+ * @param {*} [options] Override http request option.
2601
+ * @throws {RequiredError}
2602
+ * @memberof AccountApiInterface
2603
+ */
2604
+ mongoDeleteRBACRole(requestParameters: AccountApiMongoDeleteRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2605
+ /**
2606
+ *
2607
+ * @summary DeleteRBACUser
2608
+ * @param {AccountApiMongoDeleteRBACUserRequest} requestParameters Request parameters.
2609
+ * @param {*} [options] Override http request option.
2610
+ * @throws {RequiredError}
2611
+ * @memberof AccountApiInterface
2612
+ */
2613
+ mongoDeleteRBACUser(requestParameters: AccountApiMongoDeleteRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2614
+ /**
2615
+ *
2616
+ * @summary GetRBACCapabilities
2617
+ * @param {AccountApiMongoGetRBACCapabilitiesRequest} requestParameters Request parameters.
2618
+ * @param {*} [options] Override http request option.
2619
+ * @throws {RequiredError}
2620
+ * @memberof AccountApiInterface
2621
+ */
2622
+ mongoGetRBACCapabilities(requestParameters: AccountApiMongoGetRBACCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACCapabilities>;
2623
+ /**
2624
+ *
2625
+ * @summary GetRBACRole
2626
+ * @param {AccountApiMongoGetRBACRoleRequest} requestParameters Request parameters.
2627
+ * @param {*} [options] Override http request option.
2628
+ * @throws {RequiredError}
2629
+ * @memberof AccountApiInterface
2630
+ */
2631
+ mongoGetRBACRole(requestParameters: AccountApiMongoGetRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACRole>;
2632
+ /**
2633
+ *
2634
+ * @summary GetRBACUser
2635
+ * @param {AccountApiMongoGetRBACUserRequest} requestParameters Request parameters.
2636
+ * @param {*} [options] Override http request option.
2637
+ * @throws {RequiredError}
2638
+ * @memberof AccountApiInterface
2639
+ */
2640
+ mongoGetRBACUser(requestParameters: AccountApiMongoGetRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACUser>;
2641
+ /**
2642
+ *
2643
+ * @summary ListRBACRoles
2644
+ * @param {AccountApiMongoListRBACRolesRequest} requestParameters Request parameters.
2645
+ * @param {*} [options] Override http request option.
2646
+ * @throws {RequiredError}
2647
+ * @memberof AccountApiInterface
2648
+ */
2649
+ mongoListRBACRoles(requestParameters: AccountApiMongoListRBACRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACRole>>;
2650
+ /**
2651
+ *
2652
+ * @summary ListRBACUsers
2653
+ * @param {AccountApiMongoListRBACUsersRequest} requestParameters Request parameters.
2654
+ * @param {*} [options] Override http request option.
2655
+ * @throws {RequiredError}
2656
+ * @memberof AccountApiInterface
2657
+ */
2658
+ mongoListRBACUsers(requestParameters: AccountApiMongoListRBACUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACUser>>;
2659
+ /**
2660
+ *
2661
+ * @summary UpdateRBACRole
2662
+ * @param {AccountApiMongoUpdateRBACRoleRequest} requestParameters Request parameters.
2663
+ * @param {*} [options] Override http request option.
2664
+ * @throws {RequiredError}
2665
+ * @memberof AccountApiInterface
2666
+ */
2667
+ mongoUpdateRBACRole(requestParameters: AccountApiMongoUpdateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2668
+ /**
2669
+ * MySQL clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
2670
+ * @summary Preview clearing explicit account privileges
2142
2671
  * @param {AccountApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
2143
2672
  * @param {*} [options] Override http request option.
2144
2673
  * @throws {RequiredError}
@@ -2155,8 +2684,8 @@ export interface AccountApiInterface {
2155
2684
  */
2156
2685
  putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2157
2686
  /**
2158
- * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
2159
- * @summary Clear all MySQL account privileges
2687
+ * MySQL clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
2688
+ * @summary Clear explicit account privileges
2160
2689
  * @param {AccountApiResetAccountPrivilegesRequest} requestParameters Request parameters.
2161
2690
  * @param {*} [options] Override http request option.
2162
2691
  * @throws {RequiredError}
@@ -3028,6 +3557,61 @@ export interface AccountApiGetAccountObjectPrivilegesRequest {
3028
3557
  */
3029
3558
  readonly subjectQualifiers?: string;
3030
3559
  }
3560
+ /**
3561
+ * Request parameters for getAccountPrivilegeOverview operation in AccountApi.
3562
+ * @export
3563
+ * @interface AccountApiGetAccountPrivilegeOverviewRequest
3564
+ */
3565
+ export interface AccountApiGetAccountPrivilegeOverviewRequest {
3566
+ /**
3567
+ *
3568
+ * @type {string}
3569
+ * @memberof AccountApiGetAccountPrivilegeOverview
3570
+ */
3571
+ readonly engineName: string;
3572
+ /**
3573
+ *
3574
+ * @type {string}
3575
+ * @memberof AccountApiGetAccountPrivilegeOverview
3576
+ */
3577
+ readonly orgName: string;
3578
+ /**
3579
+ *
3580
+ * @type {string}
3581
+ * @memberof AccountApiGetAccountPrivilegeOverview
3582
+ */
3583
+ readonly clusterName: string;
3584
+ /**
3585
+ *
3586
+ * @type {string}
3587
+ * @memberof AccountApiGetAccountPrivilegeOverview
3588
+ */
3589
+ readonly accountName: string;
3590
+ /**
3591
+ * Native subject kind; path account name identifies the subject.
3592
+ * @type {ObjectPrivilegeSubjectType}
3593
+ * @memberof AccountApiGetAccountPrivilegeOverview
3594
+ */
3595
+ readonly subjectType?: ObjectPrivilegeSubjectType;
3596
+ /**
3597
+ * Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
3598
+ * @type {string}
3599
+ * @memberof AccountApiGetAccountPrivilegeOverview
3600
+ */
3601
+ readonly host?: string;
3602
+ /**
3603
+ *
3604
+ * @type {string}
3605
+ * @memberof AccountApiGetAccountPrivilegeOverview
3606
+ */
3607
+ readonly subjectQualifiers?: string;
3608
+ /**
3609
+ * PostgreSQL database to inspect on demand. Omit for the global summary.
3610
+ * @type {string}
3611
+ * @memberof AccountApiGetAccountPrivilegeOverview
3612
+ */
3613
+ readonly databaseName?: string;
3614
+ }
3031
3615
  /**
3032
3616
  * Request parameters for getHiveAccounts operation in AccountApi.
3033
3617
  * @export
@@ -3202,7 +3786,7 @@ export interface AccountApiListAccountObjectPrivilegeColumnsRequest {
3202
3786
  */
3203
3787
  readonly accountName: string;
3204
3788
  /**
3205
- * Object type, either table or view
3789
+ * Object type, table/view; PostgreSQL also supports materializedView/foreignTable
3206
3790
  * @type {string}
3207
3791
  * @memberof AccountApiListAccountObjectPrivilegeColumns
3208
3792
  */
@@ -3219,6 +3803,12 @@ export interface AccountApiListAccountObjectPrivilegeColumnsRequest {
3219
3803
  * @memberof AccountApiListAccountObjectPrivilegeColumns
3220
3804
  */
3221
3805
  readonly objectName: string;
3806
+ /**
3807
+ * Required for PostgreSQL; not accepted for MySQL
3808
+ * @type {string}
3809
+ * @memberof AccountApiListAccountObjectPrivilegeColumns
3810
+ */
3811
+ readonly schemaName?: string;
3222
3812
  }
3223
3813
  /**
3224
3814
  * Request parameters for listAccountObjectPrivilegeObjects operation in AccountApi.
@@ -3488,6 +4078,366 @@ export interface AccountApiLockAccountRequest {
3488
4078
  */
3489
4079
  readonly accountName: string;
3490
4080
  }
4081
+ /**
4082
+ * Request parameters for mongoChangeRBACUserPassword operation in AccountApi.
4083
+ * @export
4084
+ * @interface AccountApiMongoChangeRBACUserPasswordRequest
4085
+ */
4086
+ export interface AccountApiMongoChangeRBACUserPasswordRequest {
4087
+ /**
4088
+ *
4089
+ * @type {string}
4090
+ * @memberof AccountApiMongoChangeRBACUserPassword
4091
+ */
4092
+ readonly orgName: string;
4093
+ /**
4094
+ *
4095
+ * @type {string}
4096
+ * @memberof AccountApiMongoChangeRBACUserPassword
4097
+ */
4098
+ readonly clusterName: string;
4099
+ /**
4100
+ *
4101
+ * @type {string}
4102
+ * @memberof AccountApiMongoChangeRBACUserPassword
4103
+ */
4104
+ readonly database: string;
4105
+ /**
4106
+ *
4107
+ * @type {string}
4108
+ * @memberof AccountApiMongoChangeRBACUserPassword
4109
+ */
4110
+ readonly username: string;
4111
+ /**
4112
+ *
4113
+ * @type {MongoRBACPasswordChange}
4114
+ * @memberof AccountApiMongoChangeRBACUserPassword
4115
+ */
4116
+ readonly mongoRBACPasswordChange: MongoRBACPasswordChange;
4117
+ }
4118
+ /**
4119
+ * Request parameters for mongoChangeRBACUserRoles operation in AccountApi.
4120
+ * @export
4121
+ * @interface AccountApiMongoChangeRBACUserRolesRequest
4122
+ */
4123
+ export interface AccountApiMongoChangeRBACUserRolesRequest {
4124
+ /**
4125
+ *
4126
+ * @type {string}
4127
+ * @memberof AccountApiMongoChangeRBACUserRoles
4128
+ */
4129
+ readonly orgName: string;
4130
+ /**
4131
+ *
4132
+ * @type {string}
4133
+ * @memberof AccountApiMongoChangeRBACUserRoles
4134
+ */
4135
+ readonly clusterName: string;
4136
+ /**
4137
+ *
4138
+ * @type {string}
4139
+ * @memberof AccountApiMongoChangeRBACUserRoles
4140
+ */
4141
+ readonly database: string;
4142
+ /**
4143
+ *
4144
+ * @type {string}
4145
+ * @memberof AccountApiMongoChangeRBACUserRoles
4146
+ */
4147
+ readonly username: string;
4148
+ /**
4149
+ *
4150
+ * @type {MongoRBACBindingChange}
4151
+ * @memberof AccountApiMongoChangeRBACUserRoles
4152
+ */
4153
+ readonly mongoRBACBindingChange: MongoRBACBindingChange;
4154
+ }
4155
+ /**
4156
+ * Request parameters for mongoCreateRBACRole operation in AccountApi.
4157
+ * @export
4158
+ * @interface AccountApiMongoCreateRBACRoleRequest
4159
+ */
4160
+ export interface AccountApiMongoCreateRBACRoleRequest {
4161
+ /**
4162
+ *
4163
+ * @type {string}
4164
+ * @memberof AccountApiMongoCreateRBACRole
4165
+ */
4166
+ readonly orgName: string;
4167
+ /**
4168
+ *
4169
+ * @type {string}
4170
+ * @memberof AccountApiMongoCreateRBACRole
4171
+ */
4172
+ readonly clusterName: string;
4173
+ /**
4174
+ *
4175
+ * @type {MongoRBACRoleWrite}
4176
+ * @memberof AccountApiMongoCreateRBACRole
4177
+ */
4178
+ readonly mongoRBACRoleWrite: MongoRBACRoleWrite;
4179
+ }
4180
+ /**
4181
+ * Request parameters for mongoCreateRBACUser operation in AccountApi.
4182
+ * @export
4183
+ * @interface AccountApiMongoCreateRBACUserRequest
4184
+ */
4185
+ export interface AccountApiMongoCreateRBACUserRequest {
4186
+ /**
4187
+ *
4188
+ * @type {string}
4189
+ * @memberof AccountApiMongoCreateRBACUser
4190
+ */
4191
+ readonly orgName: string;
4192
+ /**
4193
+ *
4194
+ * @type {string}
4195
+ * @memberof AccountApiMongoCreateRBACUser
4196
+ */
4197
+ readonly clusterName: string;
4198
+ /**
4199
+ *
4200
+ * @type {MongoRBACUserCreate}
4201
+ * @memberof AccountApiMongoCreateRBACUser
4202
+ */
4203
+ readonly mongoRBACUserCreate: MongoRBACUserCreate;
4204
+ }
4205
+ /**
4206
+ * Request parameters for mongoDeleteRBACRole operation in AccountApi.
4207
+ * @export
4208
+ * @interface AccountApiMongoDeleteRBACRoleRequest
4209
+ */
4210
+ export interface AccountApiMongoDeleteRBACRoleRequest {
4211
+ /**
4212
+ *
4213
+ * @type {string}
4214
+ * @memberof AccountApiMongoDeleteRBACRole
4215
+ */
4216
+ readonly orgName: string;
4217
+ /**
4218
+ *
4219
+ * @type {string}
4220
+ * @memberof AccountApiMongoDeleteRBACRole
4221
+ */
4222
+ readonly clusterName: string;
4223
+ /**
4224
+ *
4225
+ * @type {string}
4226
+ * @memberof AccountApiMongoDeleteRBACRole
4227
+ */
4228
+ readonly database: string;
4229
+ /**
4230
+ *
4231
+ * @type {string}
4232
+ * @memberof AccountApiMongoDeleteRBACRole
4233
+ */
4234
+ readonly roleName: string;
4235
+ /**
4236
+ *
4237
+ * @type {string}
4238
+ * @memberof AccountApiMongoDeleteRBACRole
4239
+ */
4240
+ readonly expectedRevision: string;
4241
+ }
4242
+ /**
4243
+ * Request parameters for mongoDeleteRBACUser operation in AccountApi.
4244
+ * @export
4245
+ * @interface AccountApiMongoDeleteRBACUserRequest
4246
+ */
4247
+ export interface AccountApiMongoDeleteRBACUserRequest {
4248
+ /**
4249
+ *
4250
+ * @type {string}
4251
+ * @memberof AccountApiMongoDeleteRBACUser
4252
+ */
4253
+ readonly orgName: string;
4254
+ /**
4255
+ *
4256
+ * @type {string}
4257
+ * @memberof AccountApiMongoDeleteRBACUser
4258
+ */
4259
+ readonly clusterName: string;
4260
+ /**
4261
+ *
4262
+ * @type {string}
4263
+ * @memberof AccountApiMongoDeleteRBACUser
4264
+ */
4265
+ readonly database: string;
4266
+ /**
4267
+ *
4268
+ * @type {string}
4269
+ * @memberof AccountApiMongoDeleteRBACUser
4270
+ */
4271
+ readonly username: string;
4272
+ }
4273
+ /**
4274
+ * Request parameters for mongoGetRBACCapabilities operation in AccountApi.
4275
+ * @export
4276
+ * @interface AccountApiMongoGetRBACCapabilitiesRequest
4277
+ */
4278
+ export interface AccountApiMongoGetRBACCapabilitiesRequest {
4279
+ /**
4280
+ *
4281
+ * @type {string}
4282
+ * @memberof AccountApiMongoGetRBACCapabilities
4283
+ */
4284
+ readonly orgName: string;
4285
+ /**
4286
+ *
4287
+ * @type {string}
4288
+ * @memberof AccountApiMongoGetRBACCapabilities
4289
+ */
4290
+ readonly clusterName: string;
4291
+ }
4292
+ /**
4293
+ * Request parameters for mongoGetRBACRole operation in AccountApi.
4294
+ * @export
4295
+ * @interface AccountApiMongoGetRBACRoleRequest
4296
+ */
4297
+ export interface AccountApiMongoGetRBACRoleRequest {
4298
+ /**
4299
+ *
4300
+ * @type {string}
4301
+ * @memberof AccountApiMongoGetRBACRole
4302
+ */
4303
+ readonly orgName: string;
4304
+ /**
4305
+ *
4306
+ * @type {string}
4307
+ * @memberof AccountApiMongoGetRBACRole
4308
+ */
4309
+ readonly clusterName: string;
4310
+ /**
4311
+ *
4312
+ * @type {string}
4313
+ * @memberof AccountApiMongoGetRBACRole
4314
+ */
4315
+ readonly database: string;
4316
+ /**
4317
+ *
4318
+ * @type {string}
4319
+ * @memberof AccountApiMongoGetRBACRole
4320
+ */
4321
+ readonly roleName: string;
4322
+ }
4323
+ /**
4324
+ * Request parameters for mongoGetRBACUser operation in AccountApi.
4325
+ * @export
4326
+ * @interface AccountApiMongoGetRBACUserRequest
4327
+ */
4328
+ export interface AccountApiMongoGetRBACUserRequest {
4329
+ /**
4330
+ *
4331
+ * @type {string}
4332
+ * @memberof AccountApiMongoGetRBACUser
4333
+ */
4334
+ readonly orgName: string;
4335
+ /**
4336
+ *
4337
+ * @type {string}
4338
+ * @memberof AccountApiMongoGetRBACUser
4339
+ */
4340
+ readonly clusterName: string;
4341
+ /**
4342
+ *
4343
+ * @type {string}
4344
+ * @memberof AccountApiMongoGetRBACUser
4345
+ */
4346
+ readonly database: string;
4347
+ /**
4348
+ *
4349
+ * @type {string}
4350
+ * @memberof AccountApiMongoGetRBACUser
4351
+ */
4352
+ readonly username: string;
4353
+ }
4354
+ /**
4355
+ * Request parameters for mongoListRBACRoles operation in AccountApi.
4356
+ * @export
4357
+ * @interface AccountApiMongoListRBACRolesRequest
4358
+ */
4359
+ export interface AccountApiMongoListRBACRolesRequest {
4360
+ /**
4361
+ *
4362
+ * @type {string}
4363
+ * @memberof AccountApiMongoListRBACRoles
4364
+ */
4365
+ readonly orgName: string;
4366
+ /**
4367
+ *
4368
+ * @type {string}
4369
+ * @memberof AccountApiMongoListRBACRoles
4370
+ */
4371
+ readonly clusterName: string;
4372
+ /**
4373
+ *
4374
+ * @type {string}
4375
+ * @memberof AccountApiMongoListRBACRoles
4376
+ */
4377
+ readonly database?: string;
4378
+ }
4379
+ /**
4380
+ * Request parameters for mongoListRBACUsers operation in AccountApi.
4381
+ * @export
4382
+ * @interface AccountApiMongoListRBACUsersRequest
4383
+ */
4384
+ export interface AccountApiMongoListRBACUsersRequest {
4385
+ /**
4386
+ *
4387
+ * @type {string}
4388
+ * @memberof AccountApiMongoListRBACUsers
4389
+ */
4390
+ readonly orgName: string;
4391
+ /**
4392
+ *
4393
+ * @type {string}
4394
+ * @memberof AccountApiMongoListRBACUsers
4395
+ */
4396
+ readonly clusterName: string;
4397
+ /**
4398
+ *
4399
+ * @type {string}
4400
+ * @memberof AccountApiMongoListRBACUsers
4401
+ */
4402
+ readonly database?: string;
4403
+ }
4404
+ /**
4405
+ * Request parameters for mongoUpdateRBACRole operation in AccountApi.
4406
+ * @export
4407
+ * @interface AccountApiMongoUpdateRBACRoleRequest
4408
+ */
4409
+ export interface AccountApiMongoUpdateRBACRoleRequest {
4410
+ /**
4411
+ *
4412
+ * @type {string}
4413
+ * @memberof AccountApiMongoUpdateRBACRole
4414
+ */
4415
+ readonly orgName: string;
4416
+ /**
4417
+ *
4418
+ * @type {string}
4419
+ * @memberof AccountApiMongoUpdateRBACRole
4420
+ */
4421
+ readonly clusterName: string;
4422
+ /**
4423
+ *
4424
+ * @type {string}
4425
+ * @memberof AccountApiMongoUpdateRBACRole
4426
+ */
4427
+ readonly database: string;
4428
+ /**
4429
+ *
4430
+ * @type {string}
4431
+ * @memberof AccountApiMongoUpdateRBACRole
4432
+ */
4433
+ readonly roleName: string;
4434
+ /**
4435
+ *
4436
+ * @type {MongoRBACRoleWrite}
4437
+ * @memberof AccountApiMongoUpdateRBACRole
4438
+ */
4439
+ readonly mongoRBACRoleWrite: MongoRBACRoleWrite;
4440
+ }
3491
4441
  /**
3492
4442
  * Request parameters for previewAccountPrivilegeReset operation in AccountApi.
3493
4443
  * @export
@@ -3536,6 +4486,18 @@ export interface AccountApiPreviewAccountPrivilegeResetRequest {
3536
4486
  * @memberof AccountApiPreviewAccountPrivilegeReset
3537
4487
  */
3538
4488
  readonly subjectQualifiers?: string;
4489
+ /**
4490
+ * PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
4491
+ * @type {Array<string>}
4492
+ * @memberof AccountApiPreviewAccountPrivilegeReset
4493
+ */
4494
+ readonly databaseNames?: Array<string>;
4495
+ /**
4496
+ * PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
4497
+ * @type {boolean}
4498
+ * @memberof AccountApiPreviewAccountPrivilegeReset
4499
+ */
4500
+ readonly allDatabases?: boolean;
3539
4501
  }
3540
4502
  /**
3541
4503
  * Request parameters for putSeaweedFSPolicy operation in AccountApi.
@@ -3618,6 +4580,18 @@ export interface AccountApiResetAccountPrivilegesRequest {
3618
4580
  * @memberof AccountApiResetAccountPrivileges
3619
4581
  */
3620
4582
  readonly subjectQualifiers?: string;
4583
+ /**
4584
+ * PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
4585
+ * @type {Array<string>}
4586
+ * @memberof AccountApiResetAccountPrivileges
4587
+ */
4588
+ readonly databaseNames?: Array<string>;
4589
+ /**
4590
+ * PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
4591
+ * @type {boolean}
4592
+ * @memberof AccountApiResetAccountPrivileges
4593
+ */
4594
+ readonly allDatabases?: boolean;
3621
4595
  }
3622
4596
  /**
3623
4597
  * Request parameters for unlockAccount operation in AccountApi.
@@ -4288,6 +5262,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
4288
5262
  * @memberof AccountApi
4289
5263
  */
4290
5264
  getAccountObjectPrivileges(requestParameters: AccountApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectPrivilegeSnapshot, any, {}>>;
5265
+ /**
5266
+ * Without databaseName, returns role attributes, memberships, database access summaries and shared ACLs without connecting to other databases. PostgreSQL databaseName reads schema, object, ownership and PUBLIC evidence from that database only. Failed reads return an error, never an empty grant list. SQL is read-only evidence, not an exhaustive effective-access decision.
5267
+ * @summary Read native account privilege summary or selected database evidence
5268
+ * @param {AccountApiGetAccountPrivilegeOverviewRequest} requestParameters Request parameters.
5269
+ * @param {*} [options] Override http request option.
5270
+ * @throws {RequiredError}
5271
+ * @memberof AccountApi
5272
+ */
5273
+ getAccountPrivilegeOverview(requestParameters: AccountApiGetAccountPrivilegeOverviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectPrivilegeEvidence[], any, {}>>;
4291
5274
  /**
4292
5275
  * Get Hive accounts
4293
5276
  * @summary Get Hive accounts
@@ -4334,7 +5317,7 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
4334
5317
  */
4335
5318
  getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount, any, {}>>;
4336
5319
  /**
4337
- * Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
5320
+ * Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
4338
5321
  * @summary List exact column names for account object privileges
4339
5322
  * @param {AccountApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
4340
5323
  * @param {*} [options] Override http request option.
@@ -4433,8 +5416,116 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
4433
5416
  */
4434
5417
  lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
4435
5418
  /**
4436
- * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
4437
- * @summary Preview clearing all MySQL account privileges
5419
+ *
5420
+ * @summary ChangeRBACUserPassword
5421
+ * @param {AccountApiMongoChangeRBACUserPasswordRequest} requestParameters Request parameters.
5422
+ * @param {*} [options] Override http request option.
5423
+ * @throws {RequiredError}
5424
+ * @memberof AccountApi
5425
+ */
5426
+ mongoChangeRBACUserPassword(requestParameters: AccountApiMongoChangeRBACUserPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
5427
+ /**
5428
+ *
5429
+ * @summary ChangeRBACUserRoles
5430
+ * @param {AccountApiMongoChangeRBACUserRolesRequest} requestParameters Request parameters.
5431
+ * @param {*} [options] Override http request option.
5432
+ * @throws {RequiredError}
5433
+ * @memberof AccountApi
5434
+ */
5435
+ mongoChangeRBACUserRoles(requestParameters: AccountApiMongoChangeRBACUserRolesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
5436
+ /**
5437
+ *
5438
+ * @summary CreateRBACRole
5439
+ * @param {AccountApiMongoCreateRBACRoleRequest} requestParameters Request parameters.
5440
+ * @param {*} [options] Override http request option.
5441
+ * @throws {RequiredError}
5442
+ * @memberof AccountApi
5443
+ */
5444
+ mongoCreateRBACRole(requestParameters: AccountApiMongoCreateRBACRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
5445
+ /**
5446
+ *
5447
+ * @summary CreateRBACUser
5448
+ * @param {AccountApiMongoCreateRBACUserRequest} requestParameters Request parameters.
5449
+ * @param {*} [options] Override http request option.
5450
+ * @throws {RequiredError}
5451
+ * @memberof AccountApi
5452
+ */
5453
+ mongoCreateRBACUser(requestParameters: AccountApiMongoCreateRBACUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
5454
+ /**
5455
+ *
5456
+ * @summary DeleteRBACRole
5457
+ * @param {AccountApiMongoDeleteRBACRoleRequest} requestParameters Request parameters.
5458
+ * @param {*} [options] Override http request option.
5459
+ * @throws {RequiredError}
5460
+ * @memberof AccountApi
5461
+ */
5462
+ mongoDeleteRBACRole(requestParameters: AccountApiMongoDeleteRBACRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
5463
+ /**
5464
+ *
5465
+ * @summary DeleteRBACUser
5466
+ * @param {AccountApiMongoDeleteRBACUserRequest} requestParameters Request parameters.
5467
+ * @param {*} [options] Override http request option.
5468
+ * @throws {RequiredError}
5469
+ * @memberof AccountApi
5470
+ */
5471
+ mongoDeleteRBACUser(requestParameters: AccountApiMongoDeleteRBACUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
5472
+ /**
5473
+ *
5474
+ * @summary GetRBACCapabilities
5475
+ * @param {AccountApiMongoGetRBACCapabilitiesRequest} requestParameters Request parameters.
5476
+ * @param {*} [options] Override http request option.
5477
+ * @throws {RequiredError}
5478
+ * @memberof AccountApi
5479
+ */
5480
+ mongoGetRBACCapabilities(requestParameters: AccountApiMongoGetRBACCapabilitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACCapabilities, any, {}>>;
5481
+ /**
5482
+ *
5483
+ * @summary GetRBACRole
5484
+ * @param {AccountApiMongoGetRBACRoleRequest} requestParameters Request parameters.
5485
+ * @param {*} [options] Override http request option.
5486
+ * @throws {RequiredError}
5487
+ * @memberof AccountApi
5488
+ */
5489
+ mongoGetRBACRole(requestParameters: AccountApiMongoGetRBACRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACRole, any, {}>>;
5490
+ /**
5491
+ *
5492
+ * @summary GetRBACUser
5493
+ * @param {AccountApiMongoGetRBACUserRequest} requestParameters Request parameters.
5494
+ * @param {*} [options] Override http request option.
5495
+ * @throws {RequiredError}
5496
+ * @memberof AccountApi
5497
+ */
5498
+ mongoGetRBACUser(requestParameters: AccountApiMongoGetRBACUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACUser, any, {}>>;
5499
+ /**
5500
+ *
5501
+ * @summary ListRBACRoles
5502
+ * @param {AccountApiMongoListRBACRolesRequest} requestParameters Request parameters.
5503
+ * @param {*} [options] Override http request option.
5504
+ * @throws {RequiredError}
5505
+ * @memberof AccountApi
5506
+ */
5507
+ mongoListRBACRoles(requestParameters: AccountApiMongoListRBACRolesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACRole[], any, {}>>;
5508
+ /**
5509
+ *
5510
+ * @summary ListRBACUsers
5511
+ * @param {AccountApiMongoListRBACUsersRequest} requestParameters Request parameters.
5512
+ * @param {*} [options] Override http request option.
5513
+ * @throws {RequiredError}
5514
+ * @memberof AccountApi
5515
+ */
5516
+ mongoListRBACUsers(requestParameters: AccountApiMongoListRBACUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACUser[], any, {}>>;
5517
+ /**
5518
+ *
5519
+ * @summary UpdateRBACRole
5520
+ * @param {AccountApiMongoUpdateRBACRoleRequest} requestParameters Request parameters.
5521
+ * @param {*} [options] Override http request option.
5522
+ * @throws {RequiredError}
5523
+ * @memberof AccountApi
5524
+ */
5525
+ mongoUpdateRBACRole(requestParameters: AccountApiMongoUpdateRBACRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
5526
+ /**
5527
+ * MySQL clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
5528
+ * @summary Preview clearing explicit account privileges
4438
5529
  * @param {AccountApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
4439
5530
  * @param {*} [options] Override http request option.
4440
5531
  * @throws {RequiredError}
@@ -4451,8 +5542,8 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
4451
5542
  */
4452
5543
  putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
4453
5544
  /**
4454
- * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
4455
- * @summary Clear all MySQL account privileges
5545
+ * MySQL clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections. PostgreSQL requires selected databaseNames or explicit allDatabases=true. Selected scope clears direct database/local/default ACLs only. It preserves global memberships, role attributes and privileges in other databases. Whole-account scope additionally clears memberships and elevated attributes. PUBLIC access remains. Object ownership prevents reset; RESTRICT protects dependent grants. Each database is transactional, but cross-database reset is not atomic. No objects are dropped or reassigned.
5546
+ * @summary Clear explicit account privileges
4456
5547
  * @param {AccountApiResetAccountPrivilegesRequest} requestParameters Request parameters.
4457
5548
  * @param {*} [options] Override http request option.
4458
5549
  * @throws {RequiredError}