kb-cloud-client-typescript 2.4.0-alpha.93 → 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 (245) 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/component-item-create.d.ts +12 -0
  18. package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
  19. package/dist/adminapi/models/component-item.d.ts +19 -0
  20. package/dist/adminapi/models/component-item.d.ts.map +1 -1
  21. package/dist/adminapi/models/index.d.ts +12 -0
  22. package/dist/adminapi/models/index.d.ts.map +1 -1
  23. package/dist/adminapi/models/index.js +12 -0
  24. package/dist/adminapi/models/index.js.map +1 -1
  25. package/dist/adminapi/models/instance-template-attribute.d.ts +0 -1
  26. package/dist/adminapi/models/instance-template-attribute.d.ts.map +1 -1
  27. package/dist/adminapi/models/instance-template-attribute.js +0 -1
  28. package/dist/adminapi/models/instance-template-attribute.js.map +1 -1
  29. package/dist/adminapi/models/instance-template-create.d.ts +9 -3
  30. package/dist/adminapi/models/instance-template-create.d.ts.map +1 -1
  31. package/dist/adminapi/models/instance.d.ts +6 -0
  32. package/dist/adminapi/models/instance.d.ts.map +1 -1
  33. package/dist/adminapi/models/mode-option.d.ts +7 -0
  34. package/dist/adminapi/models/mode-option.d.ts.map +1 -1
  35. package/dist/adminapi/models/mongo-rbacbinding-change.d.ts +32 -0
  36. package/dist/adminapi/models/mongo-rbacbinding-change.d.ts.map +1 -0
  37. package/dist/adminapi/models/mongo-rbacbinding-change.js +16 -0
  38. package/dist/adminapi/models/mongo-rbacbinding-change.js.map +1 -0
  39. package/dist/adminapi/models/mongo-rbaccapabilities.d.ts +32 -0
  40. package/dist/adminapi/models/mongo-rbaccapabilities.d.ts.map +1 -0
  41. package/dist/adminapi/models/mongo-rbaccapabilities.js +16 -0
  42. package/dist/adminapi/models/mongo-rbaccapabilities.js.map +1 -0
  43. package/dist/adminapi/models/mongo-rbacpassword-change.d.ts +25 -0
  44. package/dist/adminapi/models/mongo-rbacpassword-change.d.ts.map +1 -0
  45. package/dist/adminapi/models/mongo-rbacpassword-change.js +16 -0
  46. package/dist/adminapi/models/mongo-rbacpassword-change.js.map +1 -0
  47. package/dist/adminapi/models/mongo-rbacprivilege.d.ts +32 -0
  48. package/dist/adminapi/models/mongo-rbacprivilege.d.ts.map +1 -0
  49. package/dist/adminapi/models/mongo-rbacprivilege.js +16 -0
  50. package/dist/adminapi/models/mongo-rbacprivilege.js.map +1 -0
  51. package/dist/adminapi/models/mongo-rbacresource-capability.d.ts +31 -0
  52. package/dist/adminapi/models/mongo-rbacresource-capability.d.ts.map +1 -0
  53. package/dist/adminapi/models/mongo-rbacresource-capability.js +16 -0
  54. package/dist/adminapi/models/mongo-rbacresource-capability.js.map +1 -0
  55. package/dist/adminapi/models/mongo-rbacresource.d.ts +43 -0
  56. package/dist/adminapi/models/mongo-rbacresource.d.ts.map +1 -0
  57. package/dist/adminapi/models/mongo-rbacresource.js +16 -0
  58. package/dist/adminapi/models/mongo-rbacresource.js.map +1 -0
  59. package/dist/adminapi/models/mongo-rbacrole-ref.d.ts +31 -0
  60. package/dist/adminapi/models/mongo-rbacrole-ref.d.ts.map +1 -0
  61. package/dist/adminapi/models/mongo-rbacrole-ref.js +16 -0
  62. package/dist/adminapi/models/mongo-rbacrole-ref.js.map +1 -0
  63. package/dist/adminapi/models/mongo-rbacrole-write.d.ts +51 -0
  64. package/dist/adminapi/models/mongo-rbacrole-write.d.ts.map +1 -0
  65. package/dist/adminapi/models/mongo-rbacrole-write.js +16 -0
  66. package/dist/adminapi/models/mongo-rbacrole-write.js.map +1 -0
  67. package/dist/adminapi/models/mongo-rbacrole.d.ts +69 -0
  68. package/dist/adminapi/models/mongo-rbacrole.d.ts.map +1 -0
  69. package/dist/adminapi/models/mongo-rbacrole.js +16 -0
  70. package/dist/adminapi/models/mongo-rbacrole.js.map +1 -0
  71. package/dist/adminapi/models/mongo-rbacuser-create.d.ts +44 -0
  72. package/dist/adminapi/models/mongo-rbacuser-create.d.ts.map +1 -0
  73. package/dist/adminapi/models/mongo-rbacuser-create.js +16 -0
  74. package/dist/adminapi/models/mongo-rbacuser-create.js.map +1 -0
  75. package/dist/adminapi/models/mongo-rbacuser.d.ts +57 -0
  76. package/dist/adminapi/models/mongo-rbacuser.d.ts.map +1 -0
  77. package/dist/adminapi/models/mongo-rbacuser.js +16 -0
  78. package/dist/adminapi/models/mongo-rbacuser.js.map +1 -0
  79. package/dist/adminapi/models/object-privilege-evidence.d.ts +6 -0
  80. package/dist/adminapi/models/object-privilege-evidence.d.ts.map +1 -1
  81. package/dist/adminapi/models/object-privilege-reset-step.d.ts +1 -1
  82. package/dist/adminapi/models/placement-scope.d.ts +22 -0
  83. package/dist/adminapi/models/placement-scope.d.ts.map +1 -0
  84. package/dist/adminapi/models/placement-scope.js +26 -0
  85. package/dist/adminapi/models/placement-scope.js.map +1 -0
  86. package/dist/internalapi/models/component-item.d.ts +19 -0
  87. package/dist/internalapi/models/component-item.d.ts.map +1 -1
  88. package/dist/internalapi/models/index.d.ts +2 -0
  89. package/dist/internalapi/models/index.d.ts.map +1 -1
  90. package/dist/internalapi/models/index.js +2 -0
  91. package/dist/internalapi/models/index.js.map +1 -1
  92. package/dist/internalapi/models/instance-template-create-env-inner.d.ts +31 -0
  93. package/dist/internalapi/models/instance-template-create-env-inner.d.ts.map +1 -0
  94. package/dist/internalapi/models/instance-template-create-env-inner.js +16 -0
  95. package/dist/internalapi/models/instance-template-create-env-inner.js.map +1 -0
  96. package/dist/internalapi/models/instance-template-create.d.ts +72 -0
  97. package/dist/internalapi/models/instance-template-create.d.ts.map +1 -0
  98. package/dist/internalapi/models/instance-template-create.js +16 -0
  99. package/dist/internalapi/models/instance-template-create.js.map +1 -0
  100. package/dist/openapi/apis/account-api.d.ts +1129 -38
  101. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  102. package/dist/openapi/apis/account-api.js +1283 -149
  103. package/dist/openapi/apis/account-api.js.map +1 -1
  104. package/dist/openapi/apis/mongodb-api.d.ts +943 -4
  105. package/dist/openapi/apis/mongodb-api.d.ts.map +1 -1
  106. package/dist/openapi/apis/mongodb-api.js +1005 -0
  107. package/dist/openapi/apis/mongodb-api.js.map +1 -1
  108. package/dist/openapi/apis/rdbms-api.d.ts +186 -34
  109. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  110. package/dist/openapi/apis/rdbms-api.js +166 -37
  111. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  112. package/dist/openapi/apis/shared-api.d.ts +1196 -105
  113. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  114. package/dist/openapi/apis/shared-api.js +1273 -139
  115. package/dist/openapi/apis/shared-api.js.map +1 -1
  116. package/dist/openapi/models/component-item-create.d.ts +12 -0
  117. package/dist/openapi/models/component-item-create.d.ts.map +1 -1
  118. package/dist/openapi/models/component-item.d.ts +19 -0
  119. package/dist/openapi/models/component-item.d.ts.map +1 -1
  120. package/dist/openapi/models/index.d.ts +12 -0
  121. package/dist/openapi/models/index.d.ts.map +1 -1
  122. package/dist/openapi/models/index.js +12 -0
  123. package/dist/openapi/models/index.js.map +1 -1
  124. package/dist/openapi/models/instance-template-attribute.d.ts +0 -1
  125. package/dist/openapi/models/instance-template-attribute.d.ts.map +1 -1
  126. package/dist/openapi/models/instance-template-attribute.js +0 -1
  127. package/dist/openapi/models/instance-template-attribute.js.map +1 -1
  128. package/dist/openapi/models/instance-template-create.d.ts +9 -3
  129. package/dist/openapi/models/instance-template-create.d.ts.map +1 -1
  130. package/dist/openapi/models/instance.d.ts +6 -0
  131. package/dist/openapi/models/instance.d.ts.map +1 -1
  132. package/dist/openapi/models/mode-option.d.ts +7 -0
  133. package/dist/openapi/models/mode-option.d.ts.map +1 -1
  134. package/dist/openapi/models/mongo-rbacbinding-change.d.ts +32 -0
  135. package/dist/openapi/models/mongo-rbacbinding-change.d.ts.map +1 -0
  136. package/dist/openapi/models/mongo-rbacbinding-change.js +16 -0
  137. package/dist/openapi/models/mongo-rbacbinding-change.js.map +1 -0
  138. package/dist/openapi/models/mongo-rbaccapabilities.d.ts +32 -0
  139. package/dist/openapi/models/mongo-rbaccapabilities.d.ts.map +1 -0
  140. package/dist/openapi/models/mongo-rbaccapabilities.js +16 -0
  141. package/dist/openapi/models/mongo-rbaccapabilities.js.map +1 -0
  142. package/dist/openapi/models/mongo-rbacpassword-change.d.ts +25 -0
  143. package/dist/openapi/models/mongo-rbacpassword-change.d.ts.map +1 -0
  144. package/dist/openapi/models/mongo-rbacpassword-change.js +16 -0
  145. package/dist/openapi/models/mongo-rbacpassword-change.js.map +1 -0
  146. package/dist/openapi/models/mongo-rbacprivilege.d.ts +32 -0
  147. package/dist/openapi/models/mongo-rbacprivilege.d.ts.map +1 -0
  148. package/dist/openapi/models/mongo-rbacprivilege.js +16 -0
  149. package/dist/openapi/models/mongo-rbacprivilege.js.map +1 -0
  150. package/dist/openapi/models/mongo-rbacresource-capability.d.ts +31 -0
  151. package/dist/openapi/models/mongo-rbacresource-capability.d.ts.map +1 -0
  152. package/dist/openapi/models/mongo-rbacresource-capability.js +16 -0
  153. package/dist/openapi/models/mongo-rbacresource-capability.js.map +1 -0
  154. package/dist/openapi/models/mongo-rbacresource.d.ts +43 -0
  155. package/dist/openapi/models/mongo-rbacresource.d.ts.map +1 -0
  156. package/dist/openapi/models/mongo-rbacresource.js +16 -0
  157. package/dist/openapi/models/mongo-rbacresource.js.map +1 -0
  158. package/dist/openapi/models/mongo-rbacrole-ref.d.ts +31 -0
  159. package/dist/openapi/models/mongo-rbacrole-ref.d.ts.map +1 -0
  160. package/dist/openapi/models/mongo-rbacrole-ref.js +16 -0
  161. package/dist/openapi/models/mongo-rbacrole-ref.js.map +1 -0
  162. package/dist/openapi/models/mongo-rbacrole-write.d.ts +51 -0
  163. package/dist/openapi/models/mongo-rbacrole-write.d.ts.map +1 -0
  164. package/dist/openapi/models/mongo-rbacrole-write.js +16 -0
  165. package/dist/openapi/models/mongo-rbacrole-write.js.map +1 -0
  166. package/dist/openapi/models/mongo-rbacrole.d.ts +69 -0
  167. package/dist/openapi/models/mongo-rbacrole.d.ts.map +1 -0
  168. package/dist/openapi/models/mongo-rbacrole.js +16 -0
  169. package/dist/openapi/models/mongo-rbacrole.js.map +1 -0
  170. package/dist/openapi/models/mongo-rbacuser-create.d.ts +44 -0
  171. package/dist/openapi/models/mongo-rbacuser-create.d.ts.map +1 -0
  172. package/dist/openapi/models/mongo-rbacuser-create.js +16 -0
  173. package/dist/openapi/models/mongo-rbacuser-create.js.map +1 -0
  174. package/dist/openapi/models/mongo-rbacuser.d.ts +57 -0
  175. package/dist/openapi/models/mongo-rbacuser.d.ts.map +1 -0
  176. package/dist/openapi/models/mongo-rbacuser.js +16 -0
  177. package/dist/openapi/models/mongo-rbacuser.js.map +1 -0
  178. package/dist/openapi/models/object-privilege-evidence.d.ts +6 -0
  179. package/dist/openapi/models/object-privilege-evidence.d.ts.map +1 -1
  180. package/dist/openapi/models/object-privilege-reset-step.d.ts +1 -1
  181. package/dist/openapi/models/placement-scope.d.ts +22 -0
  182. package/dist/openapi/models/placement-scope.d.ts.map +1 -0
  183. package/dist/openapi/models/placement-scope.js +26 -0
  184. package/dist/openapi/models/placement-scope.js.map +1 -0
  185. package/package.json +1 -1
  186. package/src/adminapi/.openapi-generator/FILES +12 -0
  187. package/src/adminapi/apis/account-api.ts +3961 -2069
  188. package/src/adminapi/apis/mongodb-api.ts +1757 -120
  189. package/src/adminapi/apis/rdbms-api.ts +298 -43
  190. package/src/adminapi/apis/shared-api.ts +2363 -471
  191. package/src/adminapi/models/component-item-create.ts +12 -0
  192. package/src/adminapi/models/component-item.ts +21 -0
  193. package/src/adminapi/models/index.ts +12 -0
  194. package/src/adminapi/models/instance-template-attribute.ts +0 -1
  195. package/src/adminapi/models/instance-template-create.ts +9 -3
  196. package/src/adminapi/models/instance.ts +6 -0
  197. package/src/adminapi/models/mode-option.ts +9 -0
  198. package/src/adminapi/models/mongo-rbacbinding-change.ts +39 -0
  199. package/src/adminapi/models/mongo-rbaccapabilities.ts +39 -0
  200. package/src/adminapi/models/mongo-rbacpassword-change.ts +30 -0
  201. package/src/adminapi/models/mongo-rbacprivilege.ts +39 -0
  202. package/src/adminapi/models/mongo-rbacresource-capability.ts +36 -0
  203. package/src/adminapi/models/mongo-rbacresource.ts +48 -0
  204. package/src/adminapi/models/mongo-rbacrole-ref.ts +36 -0
  205. package/src/adminapi/models/mongo-rbacrole-write.ts +60 -0
  206. package/src/adminapi/models/mongo-rbacrole.ts +78 -0
  207. package/src/adminapi/models/mongo-rbacuser-create.ts +51 -0
  208. package/src/adminapi/models/mongo-rbacuser.ts +66 -0
  209. package/src/adminapi/models/object-privilege-evidence.ts +6 -0
  210. package/src/adminapi/models/object-privilege-reset-step.ts +1 -1
  211. package/src/adminapi/models/placement-scope.ts +31 -0
  212. package/src/adminapi.yaml +935 -81
  213. package/src/internalapi/.openapi-generator/FILES +2 -0
  214. package/src/internalapi/models/component-item.ts +21 -0
  215. package/src/internalapi/models/index.ts +2 -0
  216. package/src/internalapi/models/instance-template-create-env-inner.ts +36 -0
  217. package/src/internalapi/models/instance-template-create.ts +75 -0
  218. package/src/internalapi.yaml +62 -0
  219. package/src/openapi/.openapi-generator/FILES +12 -0
  220. package/src/openapi/apis/account-api.ts +3961 -2069
  221. package/src/openapi/apis/mongodb-api.ts +1757 -120
  222. package/src/openapi/apis/rdbms-api.ts +298 -43
  223. package/src/openapi/apis/shared-api.ts +2168 -276
  224. package/src/openapi/models/component-item-create.ts +12 -0
  225. package/src/openapi/models/component-item.ts +21 -0
  226. package/src/openapi/models/index.ts +12 -0
  227. package/src/openapi/models/instance-template-attribute.ts +0 -1
  228. package/src/openapi/models/instance-template-create.ts +9 -3
  229. package/src/openapi/models/instance.ts +6 -0
  230. package/src/openapi/models/mode-option.ts +9 -0
  231. package/src/openapi/models/mongo-rbacbinding-change.ts +39 -0
  232. package/src/openapi/models/mongo-rbaccapabilities.ts +39 -0
  233. package/src/openapi/models/mongo-rbacpassword-change.ts +30 -0
  234. package/src/openapi/models/mongo-rbacprivilege.ts +39 -0
  235. package/src/openapi/models/mongo-rbacresource-capability.ts +36 -0
  236. package/src/openapi/models/mongo-rbacresource.ts +48 -0
  237. package/src/openapi/models/mongo-rbacrole-ref.ts +36 -0
  238. package/src/openapi/models/mongo-rbacrole-write.ts +60 -0
  239. package/src/openapi/models/mongo-rbacrole.ts +78 -0
  240. package/src/openapi/models/mongo-rbacuser-create.ts +51 -0
  241. package/src/openapi/models/mongo-rbacuser.ts +66 -0
  242. package/src/openapi/models/object-privilege-evidence.ts +6 -0
  243. package/src/openapi/models/object-privilege-reset-step.ts +1 -1
  244. package/src/openapi/models/placement-scope.ts +31 -0
  245. package/src/openapi.yaml +935 -81
@@ -141,10 +141,18 @@ import type { MilvusRole } from '../models';
141
141
  import type { MilvusRoleCreateRequest } from '../models';
142
142
  import type { MilvusRoleList } from '../models';
143
143
  import type { MilvusRoleRequest } from '../models';
144
+ import type { MongoRBACBindingChange } from '../models';
145
+ import type { MongoRBACCapabilities } from '../models';
146
+ import type { MongoRBACPasswordChange } from '../models';
147
+ import type { MongoRBACRole } from '../models';
148
+ import type { MongoRBACRoleWrite } from '../models';
149
+ import type { MongoRBACUser } from '../models';
150
+ import type { MongoRBACUserCreate } from '../models';
144
151
  import type { NodeList } from '../models';
145
152
  import type { NodeResourceStatsList } from '../models';
146
153
  import type { ObjectPrivilegeCapabilities } from '../models';
147
154
  import type { ObjectPrivilegeChange } from '../models';
155
+ import type { ObjectPrivilegeEvidence } from '../models';
148
156
  import type { ObjectPrivilegeObjectList } from '../models';
149
157
  import type { ObjectPrivilegeResetStep } from '../models';
150
158
  import type { ObjectPrivilegeSnapshot } from '../models';
@@ -1274,6 +1282,21 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1274
1282
  * @throws {RequiredError}
1275
1283
  */
1276
1284
  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>;
1285
+ /**
1286
+ * 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.
1287
+ * @summary Read native account privilege summary or selected database evidence
1288
+ * @param {string} engineName
1289
+ * @param {string} orgName
1290
+ * @param {string} clusterName
1291
+ * @param {string} accountName
1292
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
1293
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
1294
+ * @param {string} [subjectQualifiers]
1295
+ * @param {string} [databaseName] PostgreSQL database to inspect on demand. Omit for the global summary.
1296
+ * @param {*} [options] Override http request option.
1297
+ * @throws {RequiredError}
1298
+ */
1299
+ getAccountPrivilegeOverview: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1277
1300
  /**
1278
1301
  *
1279
1302
  * @summary Get backup
@@ -1917,19 +1940,20 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1917
1940
  */
1918
1941
  killSession: (engineName: string, orgName: string, clusterName: string, session: string, keep?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1919
1942
  /**
1920
- * 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.
1943
+ * 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.
1921
1944
  * @summary List exact column names for account object privileges
1922
1945
  * @param {string} engineName
1923
1946
  * @param {string} orgName
1924
1947
  * @param {string} clusterName
1925
1948
  * @param {string} accountName
1926
- * @param {string} objectType Object type, either table or view
1949
+ * @param {string} objectType Object type, table/view; PostgreSQL also supports materializedView/foreignTable
1927
1950
  * @param {string} databaseName
1928
1951
  * @param {string} objectName
1952
+ * @param {string} [schemaName] Required for PostgreSQL; not accepted for MySQL
1929
1953
  * @param {*} [options] Override http request option.
1930
1954
  * @throws {RequiredError}
1931
1955
  */
1932
- listAccountObjectPrivilegeColumns: (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1956
+ listAccountObjectPrivilegeColumns: (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, schemaName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1933
1957
  /**
1934
1958
  * 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.
1935
1959
  * @summary Discover existing native privilege objects with stable routine identities
@@ -2683,6 +2707,136 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
2683
2707
  * @throws {RequiredError}
2684
2708
  */
2685
2709
  markClusterRestoreCompleted: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2710
+ /**
2711
+ *
2712
+ * @summary ChangeRBACUserPassword
2713
+ * @param {string} orgName
2714
+ * @param {string} clusterName
2715
+ * @param {string} database
2716
+ * @param {string} username
2717
+ * @param {MongoRBACPasswordChange} mongoRBACPasswordChange
2718
+ * @param {*} [options] Override http request option.
2719
+ * @throws {RequiredError}
2720
+ */
2721
+ mongoChangeRBACUserPassword: (orgName: string, clusterName: string, database: string, username: string, mongoRBACPasswordChange: MongoRBACPasswordChange, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2722
+ /**
2723
+ *
2724
+ * @summary ChangeRBACUserRoles
2725
+ * @param {string} orgName
2726
+ * @param {string} clusterName
2727
+ * @param {string} database
2728
+ * @param {string} username
2729
+ * @param {MongoRBACBindingChange} mongoRBACBindingChange
2730
+ * @param {*} [options] Override http request option.
2731
+ * @throws {RequiredError}
2732
+ */
2733
+ mongoChangeRBACUserRoles: (orgName: string, clusterName: string, database: string, username: string, mongoRBACBindingChange: MongoRBACBindingChange, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2734
+ /**
2735
+ *
2736
+ * @summary CreateRBACRole
2737
+ * @param {string} orgName
2738
+ * @param {string} clusterName
2739
+ * @param {MongoRBACRoleWrite} mongoRBACRoleWrite
2740
+ * @param {*} [options] Override http request option.
2741
+ * @throws {RequiredError}
2742
+ */
2743
+ mongoCreateRBACRole: (orgName: string, clusterName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2744
+ /**
2745
+ *
2746
+ * @summary CreateRBACUser
2747
+ * @param {string} orgName
2748
+ * @param {string} clusterName
2749
+ * @param {MongoRBACUserCreate} mongoRBACUserCreate
2750
+ * @param {*} [options] Override http request option.
2751
+ * @throws {RequiredError}
2752
+ */
2753
+ mongoCreateRBACUser: (orgName: string, clusterName: string, mongoRBACUserCreate: MongoRBACUserCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2754
+ /**
2755
+ *
2756
+ * @summary DeleteRBACRole
2757
+ * @param {string} orgName
2758
+ * @param {string} clusterName
2759
+ * @param {string} database
2760
+ * @param {string} roleName
2761
+ * @param {string} expectedRevision
2762
+ * @param {*} [options] Override http request option.
2763
+ * @throws {RequiredError}
2764
+ */
2765
+ mongoDeleteRBACRole: (orgName: string, clusterName: string, database: string, roleName: string, expectedRevision: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2766
+ /**
2767
+ *
2768
+ * @summary DeleteRBACUser
2769
+ * @param {string} orgName
2770
+ * @param {string} clusterName
2771
+ * @param {string} database
2772
+ * @param {string} username
2773
+ * @param {*} [options] Override http request option.
2774
+ * @throws {RequiredError}
2775
+ */
2776
+ mongoDeleteRBACUser: (orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2777
+ /**
2778
+ *
2779
+ * @summary GetRBACCapabilities
2780
+ * @param {string} orgName
2781
+ * @param {string} clusterName
2782
+ * @param {*} [options] Override http request option.
2783
+ * @throws {RequiredError}
2784
+ */
2785
+ mongoGetRBACCapabilities: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2786
+ /**
2787
+ *
2788
+ * @summary GetRBACRole
2789
+ * @param {string} orgName
2790
+ * @param {string} clusterName
2791
+ * @param {string} database
2792
+ * @param {string} roleName
2793
+ * @param {*} [options] Override http request option.
2794
+ * @throws {RequiredError}
2795
+ */
2796
+ mongoGetRBACRole: (orgName: string, clusterName: string, database: string, roleName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2797
+ /**
2798
+ *
2799
+ * @summary GetRBACUser
2800
+ * @param {string} orgName
2801
+ * @param {string} clusterName
2802
+ * @param {string} database
2803
+ * @param {string} username
2804
+ * @param {*} [options] Override http request option.
2805
+ * @throws {RequiredError}
2806
+ */
2807
+ mongoGetRBACUser: (orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2808
+ /**
2809
+ *
2810
+ * @summary ListRBACRoles
2811
+ * @param {string} orgName
2812
+ * @param {string} clusterName
2813
+ * @param {string} [database]
2814
+ * @param {*} [options] Override http request option.
2815
+ * @throws {RequiredError}
2816
+ */
2817
+ mongoListRBACRoles: (orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2818
+ /**
2819
+ *
2820
+ * @summary ListRBACUsers
2821
+ * @param {string} orgName
2822
+ * @param {string} clusterName
2823
+ * @param {string} [database]
2824
+ * @param {*} [options] Override http request option.
2825
+ * @throws {RequiredError}
2826
+ */
2827
+ mongoListRBACUsers: (orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2828
+ /**
2829
+ *
2830
+ * @summary UpdateRBACRole
2831
+ * @param {string} orgName
2832
+ * @param {string} clusterName
2833
+ * @param {string} database
2834
+ * @param {string} roleName
2835
+ * @param {MongoRBACRoleWrite} mongoRBACRoleWrite
2836
+ * @param {*} [options] Override http request option.
2837
+ * @throws {RequiredError}
2838
+ */
2839
+ mongoUpdateRBACRole: (orgName: string, clusterName: string, database: string, roleName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2686
2840
  /**
2687
2841
  * partially update the specified apikey
2688
2842
  * @summary Update apikey information
@@ -2732,8 +2886,8 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
2732
2886
  */
2733
2887
  patchOrgParameter: (orgName: string, parameterName: string, orgParameter: OrgParameter, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2734
2888
  /**
2735
- * 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.
2736
- * @summary Preview clearing all MySQL account privileges
2889
+ * 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.
2890
+ * @summary Preview clearing explicit account privileges
2737
2891
  * @param {string} engineName
2738
2892
  * @param {string} orgName
2739
2893
  * @param {string} clusterName
@@ -2741,10 +2895,12 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
2741
2895
  * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
2742
2896
  * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
2743
2897
  * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
2898
+ * @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
2899
+ * @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.
2744
2900
  * @param {*} [options] Override http request option.
2745
2901
  * @throws {RequiredError}
2746
2902
  */
2747
- previewAccountPrivilegeReset: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2903
+ previewAccountPrivilegeReset: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseNames?: Array<string>, allDatabases?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2748
2904
  /**
2749
2905
  *
2750
2906
  * @summary Produce message to topic
@@ -3168,8 +3324,8 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
3168
3324
  */
3169
3325
  reconfigureCluster: (orgName: string, clusterName: string, body: ReconfigureCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3170
3326
  /**
3171
- * 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.
3172
- * @summary Clear all MySQL account privileges
3327
+ * 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.
3328
+ * @summary Clear explicit account privileges
3173
3329
  * @param {string} engineName
3174
3330
  * @param {string} orgName
3175
3331
  * @param {string} clusterName
@@ -3177,10 +3333,12 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
3177
3333
  * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
3178
3334
  * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
3179
3335
  * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
3336
+ * @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
3337
+ * @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.
3180
3338
  * @param {*} [options] Override http request option.
3181
3339
  * @throws {RequiredError}
3182
3340
  */
3183
- resetAccountPrivileges: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3341
+ resetAccountPrivileges: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseNames?: Array<string>, allDatabases?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3184
3342
  /**
3185
3343
  *
3186
3344
  * @summary Reset consumer offset of topic
@@ -4813,6 +4971,21 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
4813
4971
  * @throws {RequiredError}
4814
4972
  */
4815
4973
  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>>;
4974
+ /**
4975
+ * 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.
4976
+ * @summary Read native account privilege summary or selected database evidence
4977
+ * @param {string} engineName
4978
+ * @param {string} orgName
4979
+ * @param {string} clusterName
4980
+ * @param {string} accountName
4981
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
4982
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
4983
+ * @param {string} [subjectQualifiers]
4984
+ * @param {string} [databaseName] PostgreSQL database to inspect on demand. Omit for the global summary.
4985
+ * @param {*} [options] Override http request option.
4986
+ * @throws {RequiredError}
4987
+ */
4988
+ 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>>>;
4816
4989
  /**
4817
4990
  *
4818
4991
  * @summary Get backup
@@ -5458,19 +5631,20 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
5458
5631
  */
5459
5632
  killSession(engineName: string, orgName: string, clusterName: string, session: string, keep?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5460
5633
  /**
5461
- * 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.
5634
+ * 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.
5462
5635
  * @summary List exact column names for account object privileges
5463
5636
  * @param {string} engineName
5464
5637
  * @param {string} orgName
5465
5638
  * @param {string} clusterName
5466
5639
  * @param {string} accountName
5467
- * @param {string} objectType Object type, either table or view
5640
+ * @param {string} objectType Object type, table/view; PostgreSQL also supports materializedView/foreignTable
5468
5641
  * @param {string} databaseName
5469
5642
  * @param {string} objectName
5643
+ * @param {string} [schemaName] Required for PostgreSQL; not accepted for MySQL
5470
5644
  * @param {*} [options] Override http request option.
5471
5645
  * @throws {RequiredError}
5472
5646
  */
5473
- 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>>>;
5647
+ 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>>>;
5474
5648
  /**
5475
5649
  * 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.
5476
5650
  * @summary Discover existing native privilege objects with stable routine identities
@@ -6230,6 +6404,136 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
6230
6404
  * @throws {RequiredError}
6231
6405
  */
6232
6406
  markClusterRestoreCompleted(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6407
+ /**
6408
+ *
6409
+ * @summary ChangeRBACUserPassword
6410
+ * @param {string} orgName
6411
+ * @param {string} clusterName
6412
+ * @param {string} database
6413
+ * @param {string} username
6414
+ * @param {MongoRBACPasswordChange} mongoRBACPasswordChange
6415
+ * @param {*} [options] Override http request option.
6416
+ * @throws {RequiredError}
6417
+ */
6418
+ mongoChangeRBACUserPassword(orgName: string, clusterName: string, database: string, username: string, mongoRBACPasswordChange: MongoRBACPasswordChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6419
+ /**
6420
+ *
6421
+ * @summary ChangeRBACUserRoles
6422
+ * @param {string} orgName
6423
+ * @param {string} clusterName
6424
+ * @param {string} database
6425
+ * @param {string} username
6426
+ * @param {MongoRBACBindingChange} mongoRBACBindingChange
6427
+ * @param {*} [options] Override http request option.
6428
+ * @throws {RequiredError}
6429
+ */
6430
+ mongoChangeRBACUserRoles(orgName: string, clusterName: string, database: string, username: string, mongoRBACBindingChange: MongoRBACBindingChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6431
+ /**
6432
+ *
6433
+ * @summary CreateRBACRole
6434
+ * @param {string} orgName
6435
+ * @param {string} clusterName
6436
+ * @param {MongoRBACRoleWrite} mongoRBACRoleWrite
6437
+ * @param {*} [options] Override http request option.
6438
+ * @throws {RequiredError}
6439
+ */
6440
+ mongoCreateRBACRole(orgName: string, clusterName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6441
+ /**
6442
+ *
6443
+ * @summary CreateRBACUser
6444
+ * @param {string} orgName
6445
+ * @param {string} clusterName
6446
+ * @param {MongoRBACUserCreate} mongoRBACUserCreate
6447
+ * @param {*} [options] Override http request option.
6448
+ * @throws {RequiredError}
6449
+ */
6450
+ mongoCreateRBACUser(orgName: string, clusterName: string, mongoRBACUserCreate: MongoRBACUserCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6451
+ /**
6452
+ *
6453
+ * @summary DeleteRBACRole
6454
+ * @param {string} orgName
6455
+ * @param {string} clusterName
6456
+ * @param {string} database
6457
+ * @param {string} roleName
6458
+ * @param {string} expectedRevision
6459
+ * @param {*} [options] Override http request option.
6460
+ * @throws {RequiredError}
6461
+ */
6462
+ mongoDeleteRBACRole(orgName: string, clusterName: string, database: string, roleName: string, expectedRevision: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6463
+ /**
6464
+ *
6465
+ * @summary DeleteRBACUser
6466
+ * @param {string} orgName
6467
+ * @param {string} clusterName
6468
+ * @param {string} database
6469
+ * @param {string} username
6470
+ * @param {*} [options] Override http request option.
6471
+ * @throws {RequiredError}
6472
+ */
6473
+ mongoDeleteRBACUser(orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6474
+ /**
6475
+ *
6476
+ * @summary GetRBACCapabilities
6477
+ * @param {string} orgName
6478
+ * @param {string} clusterName
6479
+ * @param {*} [options] Override http request option.
6480
+ * @throws {RequiredError}
6481
+ */
6482
+ mongoGetRBACCapabilities(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MongoRBACCapabilities>>;
6483
+ /**
6484
+ *
6485
+ * @summary GetRBACRole
6486
+ * @param {string} orgName
6487
+ * @param {string} clusterName
6488
+ * @param {string} database
6489
+ * @param {string} roleName
6490
+ * @param {*} [options] Override http request option.
6491
+ * @throws {RequiredError}
6492
+ */
6493
+ mongoGetRBACRole(orgName: string, clusterName: string, database: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MongoRBACRole>>;
6494
+ /**
6495
+ *
6496
+ * @summary GetRBACUser
6497
+ * @param {string} orgName
6498
+ * @param {string} clusterName
6499
+ * @param {string} database
6500
+ * @param {string} username
6501
+ * @param {*} [options] Override http request option.
6502
+ * @throws {RequiredError}
6503
+ */
6504
+ mongoGetRBACUser(orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MongoRBACUser>>;
6505
+ /**
6506
+ *
6507
+ * @summary ListRBACRoles
6508
+ * @param {string} orgName
6509
+ * @param {string} clusterName
6510
+ * @param {string} [database]
6511
+ * @param {*} [options] Override http request option.
6512
+ * @throws {RequiredError}
6513
+ */
6514
+ mongoListRBACRoles(orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MongoRBACRole>>>;
6515
+ /**
6516
+ *
6517
+ * @summary ListRBACUsers
6518
+ * @param {string} orgName
6519
+ * @param {string} clusterName
6520
+ * @param {string} [database]
6521
+ * @param {*} [options] Override http request option.
6522
+ * @throws {RequiredError}
6523
+ */
6524
+ mongoListRBACUsers(orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MongoRBACUser>>>;
6525
+ /**
6526
+ *
6527
+ * @summary UpdateRBACRole
6528
+ * @param {string} orgName
6529
+ * @param {string} clusterName
6530
+ * @param {string} database
6531
+ * @param {string} roleName
6532
+ * @param {MongoRBACRoleWrite} mongoRBACRoleWrite
6533
+ * @param {*} [options] Override http request option.
6534
+ * @throws {RequiredError}
6535
+ */
6536
+ mongoUpdateRBACRole(orgName: string, clusterName: string, database: string, roleName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6233
6537
  /**
6234
6538
  * partially update the specified apikey
6235
6539
  * @summary Update apikey information
@@ -6279,8 +6583,8 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
6279
6583
  */
6280
6584
  patchOrgParameter(orgName: string, parameterName: string, orgParameter: OrgParameter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgParameter>>;
6281
6585
  /**
6282
- * 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.
6283
- * @summary Preview clearing all MySQL account privileges
6586
+ * 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.
6587
+ * @summary Preview clearing explicit account privileges
6284
6588
  * @param {string} engineName
6285
6589
  * @param {string} orgName
6286
6590
  * @param {string} clusterName
@@ -6288,10 +6592,12 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
6288
6592
  * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
6289
6593
  * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
6290
6594
  * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
6595
+ * @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
6596
+ * @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.
6291
6597
  * @param {*} [options] Override http request option.
6292
6598
  * @throws {RequiredError}
6293
6599
  */
6294
- 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>>>;
6600
+ 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>>>;
6295
6601
  /**
6296
6602
  *
6297
6603
  * @summary Produce message to topic
@@ -6715,8 +7021,8 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
6715
7021
  */
6716
7022
  reconfigureCluster(orgName: string, clusterName: string, body: ReconfigureCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpsRequestName>>;
6717
7023
  /**
6718
- * 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.
6719
- * @summary Clear all MySQL account privileges
7024
+ * 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.
7025
+ * @summary Clear explicit account privileges
6720
7026
  * @param {string} engineName
6721
7027
  * @param {string} orgName
6722
7028
  * @param {string} clusterName
@@ -6724,10 +7030,12 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
6724
7030
  * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
6725
7031
  * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
6726
7032
  * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
7033
+ * @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
7034
+ * @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.
6727
7035
  * @param {*} [options] Override http request option.
6728
7036
  * @throws {RequiredError}
6729
7037
  */
6730
- resetAccountPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7038
+ 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>>;
6731
7039
  /**
6732
7040
  *
6733
7041
  * @summary Reset consumer offset of topic
@@ -8098,6 +8406,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
8098
8406
  * @throws {RequiredError}
8099
8407
  */
8100
8408
  getAccountObjectPrivileges(requestParameters: SharedApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeSnapshot>;
8409
+ /**
8410
+ * 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.
8411
+ * @summary Read native account privilege summary or selected database evidence
8412
+ * @param {SharedApiGetAccountPrivilegeOverviewRequest} requestParameters Request parameters.
8413
+ * @param {*} [options] Override http request option.
8414
+ * @throws {RequiredError}
8415
+ */
8416
+ getAccountPrivilegeOverview(requestParameters: SharedApiGetAccountPrivilegeOverviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeEvidence>>;
8101
8417
  /**
8102
8418
  *
8103
8419
  * @summary Get backup
@@ -8572,7 +8888,7 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
8572
8888
  */
8573
8889
  killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8574
8890
  /**
8575
- * 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.
8891
+ * 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.
8576
8892
  * @summary List exact column names for account object privileges
8577
8893
  * @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
8578
8894
  * @param {*} [options] Override http request option.
@@ -9190,104 +9506,200 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
9190
9506
  */
9191
9507
  markClusterRestoreCompleted(requestParameters: SharedApiMarkClusterRestoreCompletedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9192
9508
  /**
9193
- * partially update the specified apikey
9194
- * @summary Update apikey information
9195
- * @param {SharedApiPatchAPIkeyRequest} requestParameters Request parameters.
9509
+ *
9510
+ * @summary ChangeRBACUserPassword
9511
+ * @param {SharedApiMongoChangeRBACUserPasswordRequest} requestParameters Request parameters.
9196
9512
  * @param {*} [options] Override http request option.
9197
9513
  * @throws {RequiredError}
9198
9514
  */
9199
- patchAPIkey(requestParameters: SharedApiPatchAPIkeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Apikey>;
9515
+ mongoChangeRBACUserPassword(requestParameters: SharedApiMongoChangeRBACUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9200
9516
  /**
9201
- * Update the specified Cluster
9202
- * @summary Update cluster specified fields
9203
- * @param {SharedApiPatchClusterRequest} requestParameters Request parameters.
9517
+ *
9518
+ * @summary ChangeRBACUserRoles
9519
+ * @param {SharedApiMongoChangeRBACUserRolesRequest} requestParameters Request parameters.
9204
9520
  * @param {*} [options] Override http request option.
9205
9521
  * @throws {RequiredError}
9206
9522
  */
9207
- patchCluster(requestParameters: SharedApiPatchClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
9523
+ mongoChangeRBACUserRoles(requestParameters: SharedApiMongoChangeRBACUserRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9208
9524
  /**
9209
- * partially update the specified Org
9210
- * @summary Update organization
9211
- * @param {SharedApiPatchOrgRequest} requestParameters Request parameters.
9525
+ *
9526
+ * @summary CreateRBACRole
9527
+ * @param {SharedApiMongoCreateRBACRoleRequest} requestParameters Request parameters.
9212
9528
  * @param {*} [options] Override http request option.
9213
9529
  * @throws {RequiredError}
9214
9530
  */
9215
- patchOrg(requestParameters: SharedApiPatchOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<Org>;
9531
+ mongoCreateRBACRole(requestParameters: SharedApiMongoCreateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9216
9532
  /**
9217
- * Only authenticated organization admins can update the member\'s role
9218
- * @summary Update member role
9219
- * @param {SharedApiPatchOrgMemberRequest} requestParameters Request parameters.
9533
+ *
9534
+ * @summary CreateRBACUser
9535
+ * @param {SharedApiMongoCreateRBACUserRequest} requestParameters Request parameters.
9220
9536
  * @param {*} [options] Override http request option.
9221
9537
  * @throws {RequiredError}
9222
9538
  */
9223
- patchOrgMember(requestParameters: SharedApiPatchOrgMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgMember>;
9539
+ mongoCreateRBACUser(requestParameters: SharedApiMongoCreateRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9224
9540
  /**
9225
- * Update a parameter of an organization
9226
- * @summary Update a parameter of an organization
9227
- * @param {SharedApiPatchOrgParameterRequest} requestParameters Request parameters.
9541
+ *
9542
+ * @summary DeleteRBACRole
9543
+ * @param {SharedApiMongoDeleteRBACRoleRequest} requestParameters Request parameters.
9228
9544
  * @param {*} [options] Override http request option.
9229
9545
  * @throws {RequiredError}
9230
9546
  */
9231
- patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
9547
+ mongoDeleteRBACRole(requestParameters: SharedApiMongoDeleteRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9232
9548
  /**
9233
- * 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.
9234
- * @summary Preview clearing all MySQL account privileges
9235
- * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
9549
+ *
9550
+ * @summary DeleteRBACUser
9551
+ * @param {SharedApiMongoDeleteRBACUserRequest} requestParameters Request parameters.
9236
9552
  * @param {*} [options] Override http request option.
9237
9553
  * @throws {RequiredError}
9238
9554
  */
9239
- previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>>;
9555
+ mongoDeleteRBACUser(requestParameters: SharedApiMongoDeleteRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9240
9556
  /**
9241
9557
  *
9242
- * @summary Produce message to topic
9243
- * @param {SharedApiProduceKafkaTopicMessageRequest} requestParameters Request parameters.
9558
+ * @summary GetRBACCapabilities
9559
+ * @param {SharedApiMongoGetRBACCapabilitiesRequest} requestParameters Request parameters.
9244
9560
  * @param {*} [options] Override http request option.
9245
9561
  * @throws {RequiredError}
9246
9562
  */
9247
- produceKafkaTopicMessage(requestParameters: SharedApiProduceKafkaTopicMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<number>;
9563
+ mongoGetRBACCapabilities(requestParameters: SharedApiMongoGetRBACCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACCapabilities>;
9248
9564
  /**
9249
9565
  *
9250
- * @summary Promote cluster intance to primary
9251
- * @param {SharedApiPromoteClusterRequest} requestParameters Request parameters.
9566
+ * @summary GetRBACRole
9567
+ * @param {SharedApiMongoGetRBACRoleRequest} requestParameters Request parameters.
9252
9568
  * @param {*} [options] Override http request option.
9253
9569
  * @throws {RequiredError}
9254
9570
  */
9255
- promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
9571
+ mongoGetRBACRole(requestParameters: SharedApiMongoGetRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACRole>;
9256
9572
  /**
9257
9573
  *
9258
- * @summary Create or update Elasticsearch security role
9259
- * @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
9574
+ * @summary GetRBACUser
9575
+ * @param {SharedApiMongoGetRBACUserRequest} requestParameters Request parameters.
9260
9576
  * @param {*} [options] Override http request option.
9261
9577
  * @throws {RequiredError}
9262
9578
  */
9263
- putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9579
+ mongoGetRBACUser(requestParameters: SharedApiMongoGetRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACUser>;
9264
9580
  /**
9265
9581
  *
9266
- * @summary Create or update Elasticsearch security role mapping
9267
- * @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
9582
+ * @summary ListRBACRoles
9583
+ * @param {SharedApiMongoListRBACRolesRequest} requestParameters Request parameters.
9268
9584
  * @param {*} [options] Override http request option.
9269
9585
  * @throws {RequiredError}
9270
9586
  */
9271
- putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9587
+ mongoListRBACRoles(requestParameters: SharedApiMongoListRBACRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACRole>>;
9272
9588
  /**
9273
9589
  *
9274
- * @summary Create or update Elasticsearch security user
9275
- * @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
9590
+ * @summary ListRBACUsers
9591
+ * @param {SharedApiMongoListRBACUsersRequest} requestParameters Request parameters.
9276
9592
  * @param {*} [options] Override http request option.
9277
9593
  * @throws {RequiredError}
9278
9594
  */
9279
- putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9595
+ mongoListRBACUsers(requestParameters: SharedApiMongoListRBACUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACUser>>;
9280
9596
  /**
9281
- * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
9282
- * @summary putSeaweedFSPolicy
9283
- * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
9597
+ *
9598
+ * @summary UpdateRBACRole
9599
+ * @param {SharedApiMongoUpdateRBACRoleRequest} requestParameters Request parameters.
9284
9600
  * @param {*} [options] Override http request option.
9285
9601
  * @throws {RequiredError}
9286
9602
  */
9287
- putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9603
+ mongoUpdateRBACRole(requestParameters: SharedApiMongoUpdateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9288
9604
  /**
9289
- *
9290
- * @summary create a SQL query
9605
+ * partially update the specified apikey
9606
+ * @summary Update apikey information
9607
+ * @param {SharedApiPatchAPIkeyRequest} requestParameters Request parameters.
9608
+ * @param {*} [options] Override http request option.
9609
+ * @throws {RequiredError}
9610
+ */
9611
+ patchAPIkey(requestParameters: SharedApiPatchAPIkeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Apikey>;
9612
+ /**
9613
+ * Update the specified Cluster
9614
+ * @summary Update cluster specified fields
9615
+ * @param {SharedApiPatchClusterRequest} requestParameters Request parameters.
9616
+ * @param {*} [options] Override http request option.
9617
+ * @throws {RequiredError}
9618
+ */
9619
+ patchCluster(requestParameters: SharedApiPatchClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
9620
+ /**
9621
+ * partially update the specified Org
9622
+ * @summary Update organization
9623
+ * @param {SharedApiPatchOrgRequest} requestParameters Request parameters.
9624
+ * @param {*} [options] Override http request option.
9625
+ * @throws {RequiredError}
9626
+ */
9627
+ patchOrg(requestParameters: SharedApiPatchOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<Org>;
9628
+ /**
9629
+ * Only authenticated organization admins can update the member\'s role
9630
+ * @summary Update member role
9631
+ * @param {SharedApiPatchOrgMemberRequest} requestParameters Request parameters.
9632
+ * @param {*} [options] Override http request option.
9633
+ * @throws {RequiredError}
9634
+ */
9635
+ patchOrgMember(requestParameters: SharedApiPatchOrgMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgMember>;
9636
+ /**
9637
+ * Update a parameter of an organization
9638
+ * @summary Update a parameter of an organization
9639
+ * @param {SharedApiPatchOrgParameterRequest} requestParameters Request parameters.
9640
+ * @param {*} [options] Override http request option.
9641
+ * @throws {RequiredError}
9642
+ */
9643
+ patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
9644
+ /**
9645
+ * 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.
9646
+ * @summary Preview clearing explicit account privileges
9647
+ * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
9648
+ * @param {*} [options] Override http request option.
9649
+ * @throws {RequiredError}
9650
+ */
9651
+ previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>>;
9652
+ /**
9653
+ *
9654
+ * @summary Produce message to topic
9655
+ * @param {SharedApiProduceKafkaTopicMessageRequest} requestParameters Request parameters.
9656
+ * @param {*} [options] Override http request option.
9657
+ * @throws {RequiredError}
9658
+ */
9659
+ produceKafkaTopicMessage(requestParameters: SharedApiProduceKafkaTopicMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<number>;
9660
+ /**
9661
+ *
9662
+ * @summary Promote cluster intance to primary
9663
+ * @param {SharedApiPromoteClusterRequest} requestParameters Request parameters.
9664
+ * @param {*} [options] Override http request option.
9665
+ * @throws {RequiredError}
9666
+ */
9667
+ promoteCluster(requestParameters: SharedApiPromoteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
9668
+ /**
9669
+ *
9670
+ * @summary Create or update Elasticsearch security role
9671
+ * @param {SharedApiPutElasticsearchSecurityRoleRequest} requestParameters Request parameters.
9672
+ * @param {*} [options] Override http request option.
9673
+ * @throws {RequiredError}
9674
+ */
9675
+ putElasticsearchSecurityRole(requestParameters: SharedApiPutElasticsearchSecurityRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9676
+ /**
9677
+ *
9678
+ * @summary Create or update Elasticsearch security role mapping
9679
+ * @param {SharedApiPutElasticsearchSecurityRoleMappingRequest} requestParameters Request parameters.
9680
+ * @param {*} [options] Override http request option.
9681
+ * @throws {RequiredError}
9682
+ */
9683
+ putElasticsearchSecurityRoleMapping(requestParameters: SharedApiPutElasticsearchSecurityRoleMappingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9684
+ /**
9685
+ *
9686
+ * @summary Create or update Elasticsearch security user
9687
+ * @param {SharedApiPutElasticsearchSecurityUserRequest} requestParameters Request parameters.
9688
+ * @param {*} [options] Override http request option.
9689
+ * @throws {RequiredError}
9690
+ */
9691
+ putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9692
+ /**
9693
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
9694
+ * @summary putSeaweedFSPolicy
9695
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
9696
+ * @param {*} [options] Override http request option.
9697
+ * @throws {RequiredError}
9698
+ */
9699
+ putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9700
+ /**
9701
+ *
9702
+ * @summary create a SQL query
9291
9703
  * @param {SharedApiQueryRequest} requestParameters Request parameters.
9292
9704
  * @param {*} [options] Override http request option.
9293
9705
  * @throws {RequiredError}
@@ -9461,8 +9873,8 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
9461
9873
  */
9462
9874
  reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
9463
9875
  /**
9464
- * 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.
9465
- * @summary Clear all MySQL account privileges
9876
+ * 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.
9877
+ * @summary Clear explicit account privileges
9466
9878
  * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
9467
9879
  * @param {*} [options] Override http request option.
9468
9880
  * @throws {RequiredError}
@@ -10787,6 +11199,15 @@ export interface SharedApiInterface {
10787
11199
  * @memberof SharedApiInterface
10788
11200
  */
10789
11201
  getAccountObjectPrivileges(requestParameters: SharedApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeSnapshot>;
11202
+ /**
11203
+ * 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.
11204
+ * @summary Read native account privilege summary or selected database evidence
11205
+ * @param {SharedApiGetAccountPrivilegeOverviewRequest} requestParameters Request parameters.
11206
+ * @param {*} [options] Override http request option.
11207
+ * @throws {RequiredError}
11208
+ * @memberof SharedApiInterface
11209
+ */
11210
+ getAccountPrivilegeOverview(requestParameters: SharedApiGetAccountPrivilegeOverviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeEvidence>>;
10790
11211
  /**
10791
11212
  *
10792
11213
  * @summary Get backup
@@ -11320,7 +11741,7 @@ export interface SharedApiInterface {
11320
11741
  */
11321
11742
  killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11322
11743
  /**
11323
- * 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.
11744
+ * 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.
11324
11745
  * @summary List exact column names for account object privileges
11325
11746
  * @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
11326
11747
  * @param {*} [options] Override http request option.
@@ -12014,6 +12435,114 @@ export interface SharedApiInterface {
12014
12435
  * @memberof SharedApiInterface
12015
12436
  */
12016
12437
  markClusterRestoreCompleted(requestParameters: SharedApiMarkClusterRestoreCompletedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
12438
+ /**
12439
+ *
12440
+ * @summary ChangeRBACUserPassword
12441
+ * @param {SharedApiMongoChangeRBACUserPasswordRequest} requestParameters Request parameters.
12442
+ * @param {*} [options] Override http request option.
12443
+ * @throws {RequiredError}
12444
+ * @memberof SharedApiInterface
12445
+ */
12446
+ mongoChangeRBACUserPassword(requestParameters: SharedApiMongoChangeRBACUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
12447
+ /**
12448
+ *
12449
+ * @summary ChangeRBACUserRoles
12450
+ * @param {SharedApiMongoChangeRBACUserRolesRequest} requestParameters Request parameters.
12451
+ * @param {*} [options] Override http request option.
12452
+ * @throws {RequiredError}
12453
+ * @memberof SharedApiInterface
12454
+ */
12455
+ mongoChangeRBACUserRoles(requestParameters: SharedApiMongoChangeRBACUserRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
12456
+ /**
12457
+ *
12458
+ * @summary CreateRBACRole
12459
+ * @param {SharedApiMongoCreateRBACRoleRequest} requestParameters Request parameters.
12460
+ * @param {*} [options] Override http request option.
12461
+ * @throws {RequiredError}
12462
+ * @memberof SharedApiInterface
12463
+ */
12464
+ mongoCreateRBACRole(requestParameters: SharedApiMongoCreateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
12465
+ /**
12466
+ *
12467
+ * @summary CreateRBACUser
12468
+ * @param {SharedApiMongoCreateRBACUserRequest} requestParameters Request parameters.
12469
+ * @param {*} [options] Override http request option.
12470
+ * @throws {RequiredError}
12471
+ * @memberof SharedApiInterface
12472
+ */
12473
+ mongoCreateRBACUser(requestParameters: SharedApiMongoCreateRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
12474
+ /**
12475
+ *
12476
+ * @summary DeleteRBACRole
12477
+ * @param {SharedApiMongoDeleteRBACRoleRequest} requestParameters Request parameters.
12478
+ * @param {*} [options] Override http request option.
12479
+ * @throws {RequiredError}
12480
+ * @memberof SharedApiInterface
12481
+ */
12482
+ mongoDeleteRBACRole(requestParameters: SharedApiMongoDeleteRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
12483
+ /**
12484
+ *
12485
+ * @summary DeleteRBACUser
12486
+ * @param {SharedApiMongoDeleteRBACUserRequest} requestParameters Request parameters.
12487
+ * @param {*} [options] Override http request option.
12488
+ * @throws {RequiredError}
12489
+ * @memberof SharedApiInterface
12490
+ */
12491
+ mongoDeleteRBACUser(requestParameters: SharedApiMongoDeleteRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
12492
+ /**
12493
+ *
12494
+ * @summary GetRBACCapabilities
12495
+ * @param {SharedApiMongoGetRBACCapabilitiesRequest} requestParameters Request parameters.
12496
+ * @param {*} [options] Override http request option.
12497
+ * @throws {RequiredError}
12498
+ * @memberof SharedApiInterface
12499
+ */
12500
+ mongoGetRBACCapabilities(requestParameters: SharedApiMongoGetRBACCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACCapabilities>;
12501
+ /**
12502
+ *
12503
+ * @summary GetRBACRole
12504
+ * @param {SharedApiMongoGetRBACRoleRequest} requestParameters Request parameters.
12505
+ * @param {*} [options] Override http request option.
12506
+ * @throws {RequiredError}
12507
+ * @memberof SharedApiInterface
12508
+ */
12509
+ mongoGetRBACRole(requestParameters: SharedApiMongoGetRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACRole>;
12510
+ /**
12511
+ *
12512
+ * @summary GetRBACUser
12513
+ * @param {SharedApiMongoGetRBACUserRequest} requestParameters Request parameters.
12514
+ * @param {*} [options] Override http request option.
12515
+ * @throws {RequiredError}
12516
+ * @memberof SharedApiInterface
12517
+ */
12518
+ mongoGetRBACUser(requestParameters: SharedApiMongoGetRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACUser>;
12519
+ /**
12520
+ *
12521
+ * @summary ListRBACRoles
12522
+ * @param {SharedApiMongoListRBACRolesRequest} requestParameters Request parameters.
12523
+ * @param {*} [options] Override http request option.
12524
+ * @throws {RequiredError}
12525
+ * @memberof SharedApiInterface
12526
+ */
12527
+ mongoListRBACRoles(requestParameters: SharedApiMongoListRBACRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACRole>>;
12528
+ /**
12529
+ *
12530
+ * @summary ListRBACUsers
12531
+ * @param {SharedApiMongoListRBACUsersRequest} requestParameters Request parameters.
12532
+ * @param {*} [options] Override http request option.
12533
+ * @throws {RequiredError}
12534
+ * @memberof SharedApiInterface
12535
+ */
12536
+ mongoListRBACUsers(requestParameters: SharedApiMongoListRBACUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACUser>>;
12537
+ /**
12538
+ *
12539
+ * @summary UpdateRBACRole
12540
+ * @param {SharedApiMongoUpdateRBACRoleRequest} requestParameters Request parameters.
12541
+ * @param {*} [options] Override http request option.
12542
+ * @throws {RequiredError}
12543
+ * @memberof SharedApiInterface
12544
+ */
12545
+ mongoUpdateRBACRole(requestParameters: SharedApiMongoUpdateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
12017
12546
  /**
12018
12547
  * partially update the specified apikey
12019
12548
  * @summary Update apikey information
@@ -12060,8 +12589,8 @@ export interface SharedApiInterface {
12060
12589
  */
12061
12590
  patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
12062
12591
  /**
12063
- * 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.
12064
- * @summary Preview clearing all MySQL account privileges
12592
+ * 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.
12593
+ * @summary Preview clearing explicit account privileges
12065
12594
  * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
12066
12595
  * @param {*} [options] Override http request option.
12067
12596
  * @throws {RequiredError}
@@ -12320,8 +12849,8 @@ export interface SharedApiInterface {
12320
12849
  */
12321
12850
  reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
12322
12851
  /**
12323
- * 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.
12324
- * @summary Clear all MySQL account privileges
12852
+ * 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.
12853
+ * @summary Clear explicit account privileges
12325
12854
  * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
12326
12855
  * @param {*} [options] Override http request option.
12327
12856
  * @throws {RequiredError}
@@ -15643,6 +16172,61 @@ export interface SharedApiGetAccountObjectPrivilegesRequest {
15643
16172
  */
15644
16173
  readonly subjectQualifiers?: string;
15645
16174
  }
16175
+ /**
16176
+ * Request parameters for getAccountPrivilegeOverview operation in SharedApi.
16177
+ * @export
16178
+ * @interface SharedApiGetAccountPrivilegeOverviewRequest
16179
+ */
16180
+ export interface SharedApiGetAccountPrivilegeOverviewRequest {
16181
+ /**
16182
+ *
16183
+ * @type {string}
16184
+ * @memberof SharedApiGetAccountPrivilegeOverview
16185
+ */
16186
+ readonly engineName: string;
16187
+ /**
16188
+ *
16189
+ * @type {string}
16190
+ * @memberof SharedApiGetAccountPrivilegeOverview
16191
+ */
16192
+ readonly orgName: string;
16193
+ /**
16194
+ *
16195
+ * @type {string}
16196
+ * @memberof SharedApiGetAccountPrivilegeOverview
16197
+ */
16198
+ readonly clusterName: string;
16199
+ /**
16200
+ *
16201
+ * @type {string}
16202
+ * @memberof SharedApiGetAccountPrivilegeOverview
16203
+ */
16204
+ readonly accountName: string;
16205
+ /**
16206
+ * Native subject kind; path account name identifies the subject.
16207
+ * @type {ObjectPrivilegeSubjectType}
16208
+ * @memberof SharedApiGetAccountPrivilegeOverview
16209
+ */
16210
+ readonly subjectType?: ObjectPrivilegeSubjectType;
16211
+ /**
16212
+ * Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
16213
+ * @type {string}
16214
+ * @memberof SharedApiGetAccountPrivilegeOverview
16215
+ */
16216
+ readonly host?: string;
16217
+ /**
16218
+ *
16219
+ * @type {string}
16220
+ * @memberof SharedApiGetAccountPrivilegeOverview
16221
+ */
16222
+ readonly subjectQualifiers?: string;
16223
+ /**
16224
+ * PostgreSQL database to inspect on demand. Omit for the global summary.
16225
+ * @type {string}
16226
+ * @memberof SharedApiGetAccountPrivilegeOverview
16227
+ */
16228
+ readonly databaseName?: string;
16229
+ }
15646
16230
  /**
15647
16231
  * Request parameters for getBackup operation in SharedApi.
15648
16232
  * @export
@@ -17467,7 +18051,7 @@ export interface SharedApiListAccountObjectPrivilegeColumnsRequest {
17467
18051
  */
17468
18052
  readonly accountName: string;
17469
18053
  /**
17470
- * Object type, either table or view
18054
+ * Object type, table/view; PostgreSQL also supports materializedView/foreignTable
17471
18055
  * @type {string}
17472
18056
  * @memberof SharedApiListAccountObjectPrivilegeColumns
17473
18057
  */
@@ -17484,6 +18068,12 @@ export interface SharedApiListAccountObjectPrivilegeColumnsRequest {
17484
18068
  * @memberof SharedApiListAccountObjectPrivilegeColumns
17485
18069
  */
17486
18070
  readonly objectName: string;
18071
+ /**
18072
+ * Required for PostgreSQL; not accepted for MySQL
18073
+ * @type {string}
18074
+ * @memberof SharedApiListAccountObjectPrivilegeColumns
18075
+ */
18076
+ readonly schemaName?: string;
17487
18077
  }
17488
18078
  /**
17489
18079
  * Request parameters for listAccountObjectPrivilegeObjects operation in SharedApi.
@@ -19303,55 +19893,415 @@ export interface SharedApiMarkClusterRestoreCompletedRequest {
19303
19893
  readonly clusterName: string;
19304
19894
  }
19305
19895
  /**
19306
- * Request parameters for patchAPIkey operation in SharedApi.
19896
+ * Request parameters for mongoChangeRBACUserPassword operation in SharedApi.
19307
19897
  * @export
19308
- * @interface SharedApiPatchAPIkeyRequest
19898
+ * @interface SharedApiMongoChangeRBACUserPasswordRequest
19309
19899
  */
19310
- export interface SharedApiPatchAPIkeyRequest {
19900
+ export interface SharedApiMongoChangeRBACUserPasswordRequest {
19311
19901
  /**
19312
- * Name of the apikey
19902
+ *
19313
19903
  * @type {string}
19314
- * @memberof SharedApiPatchAPIkey
19904
+ * @memberof SharedApiMongoChangeRBACUserPassword
19315
19905
  */
19316
- readonly keyName: string;
19906
+ readonly orgName: string;
19317
19907
  /**
19318
19908
  *
19319
- * @type {ApikeyCreate}
19320
- * @memberof SharedApiPatchAPIkey
19909
+ * @type {string}
19910
+ * @memberof SharedApiMongoChangeRBACUserPassword
19321
19911
  */
19322
- readonly body: ApikeyCreate;
19323
- }
19324
- /**
19325
- * Request parameters for patchCluster operation in SharedApi.
19326
- * @export
19327
- * @interface SharedApiPatchClusterRequest
19328
- */
19329
- export interface SharedApiPatchClusterRequest {
19912
+ readonly clusterName: string;
19330
19913
  /**
19331
- * name of the Org
19914
+ *
19332
19915
  * @type {string}
19333
- * @memberof SharedApiPatchCluster
19916
+ * @memberof SharedApiMongoChangeRBACUserPassword
19334
19917
  */
19335
- readonly orgName: string;
19918
+ readonly database: string;
19336
19919
  /**
19337
- * name of the KubeBlocks cluster
19920
+ *
19338
19921
  * @type {string}
19339
- * @memberof SharedApiPatchCluster
19922
+ * @memberof SharedApiMongoChangeRBACUserPassword
19340
19923
  */
19341
- readonly clusterName: string;
19924
+ readonly username: string;
19342
19925
  /**
19343
19926
  *
19344
- * @type {ClusterUpdate}
19345
- * @memberof SharedApiPatchCluster
19927
+ * @type {MongoRBACPasswordChange}
19928
+ * @memberof SharedApiMongoChangeRBACUserPassword
19346
19929
  */
19347
- readonly body: ClusterUpdate;
19930
+ readonly mongoRBACPasswordChange: MongoRBACPasswordChange;
19348
19931
  }
19349
19932
  /**
19350
- * Request parameters for patchOrg operation in SharedApi.
19933
+ * Request parameters for mongoChangeRBACUserRoles operation in SharedApi.
19351
19934
  * @export
19352
- * @interface SharedApiPatchOrgRequest
19935
+ * @interface SharedApiMongoChangeRBACUserRolesRequest
19353
19936
  */
19354
- export interface SharedApiPatchOrgRequest {
19937
+ export interface SharedApiMongoChangeRBACUserRolesRequest {
19938
+ /**
19939
+ *
19940
+ * @type {string}
19941
+ * @memberof SharedApiMongoChangeRBACUserRoles
19942
+ */
19943
+ readonly orgName: string;
19944
+ /**
19945
+ *
19946
+ * @type {string}
19947
+ * @memberof SharedApiMongoChangeRBACUserRoles
19948
+ */
19949
+ readonly clusterName: string;
19950
+ /**
19951
+ *
19952
+ * @type {string}
19953
+ * @memberof SharedApiMongoChangeRBACUserRoles
19954
+ */
19955
+ readonly database: string;
19956
+ /**
19957
+ *
19958
+ * @type {string}
19959
+ * @memberof SharedApiMongoChangeRBACUserRoles
19960
+ */
19961
+ readonly username: string;
19962
+ /**
19963
+ *
19964
+ * @type {MongoRBACBindingChange}
19965
+ * @memberof SharedApiMongoChangeRBACUserRoles
19966
+ */
19967
+ readonly mongoRBACBindingChange: MongoRBACBindingChange;
19968
+ }
19969
+ /**
19970
+ * Request parameters for mongoCreateRBACRole operation in SharedApi.
19971
+ * @export
19972
+ * @interface SharedApiMongoCreateRBACRoleRequest
19973
+ */
19974
+ export interface SharedApiMongoCreateRBACRoleRequest {
19975
+ /**
19976
+ *
19977
+ * @type {string}
19978
+ * @memberof SharedApiMongoCreateRBACRole
19979
+ */
19980
+ readonly orgName: string;
19981
+ /**
19982
+ *
19983
+ * @type {string}
19984
+ * @memberof SharedApiMongoCreateRBACRole
19985
+ */
19986
+ readonly clusterName: string;
19987
+ /**
19988
+ *
19989
+ * @type {MongoRBACRoleWrite}
19990
+ * @memberof SharedApiMongoCreateRBACRole
19991
+ */
19992
+ readonly mongoRBACRoleWrite: MongoRBACRoleWrite;
19993
+ }
19994
+ /**
19995
+ * Request parameters for mongoCreateRBACUser operation in SharedApi.
19996
+ * @export
19997
+ * @interface SharedApiMongoCreateRBACUserRequest
19998
+ */
19999
+ export interface SharedApiMongoCreateRBACUserRequest {
20000
+ /**
20001
+ *
20002
+ * @type {string}
20003
+ * @memberof SharedApiMongoCreateRBACUser
20004
+ */
20005
+ readonly orgName: string;
20006
+ /**
20007
+ *
20008
+ * @type {string}
20009
+ * @memberof SharedApiMongoCreateRBACUser
20010
+ */
20011
+ readonly clusterName: string;
20012
+ /**
20013
+ *
20014
+ * @type {MongoRBACUserCreate}
20015
+ * @memberof SharedApiMongoCreateRBACUser
20016
+ */
20017
+ readonly mongoRBACUserCreate: MongoRBACUserCreate;
20018
+ }
20019
+ /**
20020
+ * Request parameters for mongoDeleteRBACRole operation in SharedApi.
20021
+ * @export
20022
+ * @interface SharedApiMongoDeleteRBACRoleRequest
20023
+ */
20024
+ export interface SharedApiMongoDeleteRBACRoleRequest {
20025
+ /**
20026
+ *
20027
+ * @type {string}
20028
+ * @memberof SharedApiMongoDeleteRBACRole
20029
+ */
20030
+ readonly orgName: string;
20031
+ /**
20032
+ *
20033
+ * @type {string}
20034
+ * @memberof SharedApiMongoDeleteRBACRole
20035
+ */
20036
+ readonly clusterName: string;
20037
+ /**
20038
+ *
20039
+ * @type {string}
20040
+ * @memberof SharedApiMongoDeleteRBACRole
20041
+ */
20042
+ readonly database: string;
20043
+ /**
20044
+ *
20045
+ * @type {string}
20046
+ * @memberof SharedApiMongoDeleteRBACRole
20047
+ */
20048
+ readonly roleName: string;
20049
+ /**
20050
+ *
20051
+ * @type {string}
20052
+ * @memberof SharedApiMongoDeleteRBACRole
20053
+ */
20054
+ readonly expectedRevision: string;
20055
+ }
20056
+ /**
20057
+ * Request parameters for mongoDeleteRBACUser operation in SharedApi.
20058
+ * @export
20059
+ * @interface SharedApiMongoDeleteRBACUserRequest
20060
+ */
20061
+ export interface SharedApiMongoDeleteRBACUserRequest {
20062
+ /**
20063
+ *
20064
+ * @type {string}
20065
+ * @memberof SharedApiMongoDeleteRBACUser
20066
+ */
20067
+ readonly orgName: string;
20068
+ /**
20069
+ *
20070
+ * @type {string}
20071
+ * @memberof SharedApiMongoDeleteRBACUser
20072
+ */
20073
+ readonly clusterName: string;
20074
+ /**
20075
+ *
20076
+ * @type {string}
20077
+ * @memberof SharedApiMongoDeleteRBACUser
20078
+ */
20079
+ readonly database: string;
20080
+ /**
20081
+ *
20082
+ * @type {string}
20083
+ * @memberof SharedApiMongoDeleteRBACUser
20084
+ */
20085
+ readonly username: string;
20086
+ }
20087
+ /**
20088
+ * Request parameters for mongoGetRBACCapabilities operation in SharedApi.
20089
+ * @export
20090
+ * @interface SharedApiMongoGetRBACCapabilitiesRequest
20091
+ */
20092
+ export interface SharedApiMongoGetRBACCapabilitiesRequest {
20093
+ /**
20094
+ *
20095
+ * @type {string}
20096
+ * @memberof SharedApiMongoGetRBACCapabilities
20097
+ */
20098
+ readonly orgName: string;
20099
+ /**
20100
+ *
20101
+ * @type {string}
20102
+ * @memberof SharedApiMongoGetRBACCapabilities
20103
+ */
20104
+ readonly clusterName: string;
20105
+ }
20106
+ /**
20107
+ * Request parameters for mongoGetRBACRole operation in SharedApi.
20108
+ * @export
20109
+ * @interface SharedApiMongoGetRBACRoleRequest
20110
+ */
20111
+ export interface SharedApiMongoGetRBACRoleRequest {
20112
+ /**
20113
+ *
20114
+ * @type {string}
20115
+ * @memberof SharedApiMongoGetRBACRole
20116
+ */
20117
+ readonly orgName: string;
20118
+ /**
20119
+ *
20120
+ * @type {string}
20121
+ * @memberof SharedApiMongoGetRBACRole
20122
+ */
20123
+ readonly clusterName: string;
20124
+ /**
20125
+ *
20126
+ * @type {string}
20127
+ * @memberof SharedApiMongoGetRBACRole
20128
+ */
20129
+ readonly database: string;
20130
+ /**
20131
+ *
20132
+ * @type {string}
20133
+ * @memberof SharedApiMongoGetRBACRole
20134
+ */
20135
+ readonly roleName: string;
20136
+ }
20137
+ /**
20138
+ * Request parameters for mongoGetRBACUser operation in SharedApi.
20139
+ * @export
20140
+ * @interface SharedApiMongoGetRBACUserRequest
20141
+ */
20142
+ export interface SharedApiMongoGetRBACUserRequest {
20143
+ /**
20144
+ *
20145
+ * @type {string}
20146
+ * @memberof SharedApiMongoGetRBACUser
20147
+ */
20148
+ readonly orgName: string;
20149
+ /**
20150
+ *
20151
+ * @type {string}
20152
+ * @memberof SharedApiMongoGetRBACUser
20153
+ */
20154
+ readonly clusterName: string;
20155
+ /**
20156
+ *
20157
+ * @type {string}
20158
+ * @memberof SharedApiMongoGetRBACUser
20159
+ */
20160
+ readonly database: string;
20161
+ /**
20162
+ *
20163
+ * @type {string}
20164
+ * @memberof SharedApiMongoGetRBACUser
20165
+ */
20166
+ readonly username: string;
20167
+ }
20168
+ /**
20169
+ * Request parameters for mongoListRBACRoles operation in SharedApi.
20170
+ * @export
20171
+ * @interface SharedApiMongoListRBACRolesRequest
20172
+ */
20173
+ export interface SharedApiMongoListRBACRolesRequest {
20174
+ /**
20175
+ *
20176
+ * @type {string}
20177
+ * @memberof SharedApiMongoListRBACRoles
20178
+ */
20179
+ readonly orgName: string;
20180
+ /**
20181
+ *
20182
+ * @type {string}
20183
+ * @memberof SharedApiMongoListRBACRoles
20184
+ */
20185
+ readonly clusterName: string;
20186
+ /**
20187
+ *
20188
+ * @type {string}
20189
+ * @memberof SharedApiMongoListRBACRoles
20190
+ */
20191
+ readonly database?: string;
20192
+ }
20193
+ /**
20194
+ * Request parameters for mongoListRBACUsers operation in SharedApi.
20195
+ * @export
20196
+ * @interface SharedApiMongoListRBACUsersRequest
20197
+ */
20198
+ export interface SharedApiMongoListRBACUsersRequest {
20199
+ /**
20200
+ *
20201
+ * @type {string}
20202
+ * @memberof SharedApiMongoListRBACUsers
20203
+ */
20204
+ readonly orgName: string;
20205
+ /**
20206
+ *
20207
+ * @type {string}
20208
+ * @memberof SharedApiMongoListRBACUsers
20209
+ */
20210
+ readonly clusterName: string;
20211
+ /**
20212
+ *
20213
+ * @type {string}
20214
+ * @memberof SharedApiMongoListRBACUsers
20215
+ */
20216
+ readonly database?: string;
20217
+ }
20218
+ /**
20219
+ * Request parameters for mongoUpdateRBACRole operation in SharedApi.
20220
+ * @export
20221
+ * @interface SharedApiMongoUpdateRBACRoleRequest
20222
+ */
20223
+ export interface SharedApiMongoUpdateRBACRoleRequest {
20224
+ /**
20225
+ *
20226
+ * @type {string}
20227
+ * @memberof SharedApiMongoUpdateRBACRole
20228
+ */
20229
+ readonly orgName: string;
20230
+ /**
20231
+ *
20232
+ * @type {string}
20233
+ * @memberof SharedApiMongoUpdateRBACRole
20234
+ */
20235
+ readonly clusterName: string;
20236
+ /**
20237
+ *
20238
+ * @type {string}
20239
+ * @memberof SharedApiMongoUpdateRBACRole
20240
+ */
20241
+ readonly database: string;
20242
+ /**
20243
+ *
20244
+ * @type {string}
20245
+ * @memberof SharedApiMongoUpdateRBACRole
20246
+ */
20247
+ readonly roleName: string;
20248
+ /**
20249
+ *
20250
+ * @type {MongoRBACRoleWrite}
20251
+ * @memberof SharedApiMongoUpdateRBACRole
20252
+ */
20253
+ readonly mongoRBACRoleWrite: MongoRBACRoleWrite;
20254
+ }
20255
+ /**
20256
+ * Request parameters for patchAPIkey operation in SharedApi.
20257
+ * @export
20258
+ * @interface SharedApiPatchAPIkeyRequest
20259
+ */
20260
+ export interface SharedApiPatchAPIkeyRequest {
20261
+ /**
20262
+ * Name of the apikey
20263
+ * @type {string}
20264
+ * @memberof SharedApiPatchAPIkey
20265
+ */
20266
+ readonly keyName: string;
20267
+ /**
20268
+ *
20269
+ * @type {ApikeyCreate}
20270
+ * @memberof SharedApiPatchAPIkey
20271
+ */
20272
+ readonly body: ApikeyCreate;
20273
+ }
20274
+ /**
20275
+ * Request parameters for patchCluster operation in SharedApi.
20276
+ * @export
20277
+ * @interface SharedApiPatchClusterRequest
20278
+ */
20279
+ export interface SharedApiPatchClusterRequest {
20280
+ /**
20281
+ * name of the Org
20282
+ * @type {string}
20283
+ * @memberof SharedApiPatchCluster
20284
+ */
20285
+ readonly orgName: string;
20286
+ /**
20287
+ * name of the KubeBlocks cluster
20288
+ * @type {string}
20289
+ * @memberof SharedApiPatchCluster
20290
+ */
20291
+ readonly clusterName: string;
20292
+ /**
20293
+ *
20294
+ * @type {ClusterUpdate}
20295
+ * @memberof SharedApiPatchCluster
20296
+ */
20297
+ readonly body: ClusterUpdate;
20298
+ }
20299
+ /**
20300
+ * Request parameters for patchOrg operation in SharedApi.
20301
+ * @export
20302
+ * @interface SharedApiPatchOrgRequest
20303
+ */
20304
+ export interface SharedApiPatchOrgRequest {
19355
20305
  /**
19356
20306
  * name of the Org
19357
20307
  * @type {string}
@@ -19463,6 +20413,18 @@ export interface SharedApiPreviewAccountPrivilegeResetRequest {
19463
20413
  * @memberof SharedApiPreviewAccountPrivilegeReset
19464
20414
  */
19465
20415
  readonly subjectQualifiers?: string;
20416
+ /**
20417
+ * PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
20418
+ * @type {Array<string>}
20419
+ * @memberof SharedApiPreviewAccountPrivilegeReset
20420
+ */
20421
+ readonly databaseNames?: Array<string>;
20422
+ /**
20423
+ * PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
20424
+ * @type {boolean}
20425
+ * @memberof SharedApiPreviewAccountPrivilegeReset
20426
+ */
20427
+ readonly allDatabases?: boolean;
19466
20428
  }
19467
20429
  /**
19468
20430
  * Request parameters for produceKafkaTopicMessage operation in SharedApi.
@@ -21047,6 +22009,18 @@ export interface SharedApiResetAccountPrivilegesRequest {
21047
22009
  * @memberof SharedApiResetAccountPrivileges
21048
22010
  */
21049
22011
  readonly subjectQualifiers?: string;
22012
+ /**
22013
+ * PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
22014
+ * @type {Array<string>}
22015
+ * @memberof SharedApiResetAccountPrivileges
22016
+ */
22017
+ readonly databaseNames?: Array<string>;
22018
+ /**
22019
+ * PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
22020
+ * @type {boolean}
22021
+ * @memberof SharedApiResetAccountPrivileges
22022
+ */
22023
+ readonly allDatabases?: boolean;
21050
22024
  }
21051
22025
  /**
21052
22026
  * Request parameters for resetKafkaTopicConsumerOffset operation in SharedApi.
@@ -23527,6 +24501,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
23527
24501
  * @memberof SharedApi
23528
24502
  */
23529
24503
  getAccountObjectPrivileges(requestParameters: SharedApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectPrivilegeSnapshot, any, {}>>;
24504
+ /**
24505
+ * 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.
24506
+ * @summary Read native account privilege summary or selected database evidence
24507
+ * @param {SharedApiGetAccountPrivilegeOverviewRequest} requestParameters Request parameters.
24508
+ * @param {*} [options] Override http request option.
24509
+ * @throws {RequiredError}
24510
+ * @memberof SharedApi
24511
+ */
24512
+ getAccountPrivilegeOverview(requestParameters: SharedApiGetAccountPrivilegeOverviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectPrivilegeEvidence[], any, {}>>;
23530
24513
  /**
23531
24514
  *
23532
24515
  * @summary Get backup
@@ -24060,7 +25043,7 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
24060
25043
  */
24061
25044
  killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
24062
25045
  /**
24063
- * 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.
25046
+ * 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.
24064
25047
  * @summary List exact column names for account object privileges
24065
25048
  * @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
24066
25049
  * @param {*} [options] Override http request option.
@@ -24754,6 +25737,114 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
24754
25737
  * @memberof SharedApi
24755
25738
  */
24756
25739
  markClusterRestoreCompleted(requestParameters: SharedApiMarkClusterRestoreCompletedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
25740
+ /**
25741
+ *
25742
+ * @summary ChangeRBACUserPassword
25743
+ * @param {SharedApiMongoChangeRBACUserPasswordRequest} requestParameters Request parameters.
25744
+ * @param {*} [options] Override http request option.
25745
+ * @throws {RequiredError}
25746
+ * @memberof SharedApi
25747
+ */
25748
+ mongoChangeRBACUserPassword(requestParameters: SharedApiMongoChangeRBACUserPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
25749
+ /**
25750
+ *
25751
+ * @summary ChangeRBACUserRoles
25752
+ * @param {SharedApiMongoChangeRBACUserRolesRequest} requestParameters Request parameters.
25753
+ * @param {*} [options] Override http request option.
25754
+ * @throws {RequiredError}
25755
+ * @memberof SharedApi
25756
+ */
25757
+ mongoChangeRBACUserRoles(requestParameters: SharedApiMongoChangeRBACUserRolesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
25758
+ /**
25759
+ *
25760
+ * @summary CreateRBACRole
25761
+ * @param {SharedApiMongoCreateRBACRoleRequest} requestParameters Request parameters.
25762
+ * @param {*} [options] Override http request option.
25763
+ * @throws {RequiredError}
25764
+ * @memberof SharedApi
25765
+ */
25766
+ mongoCreateRBACRole(requestParameters: SharedApiMongoCreateRBACRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
25767
+ /**
25768
+ *
25769
+ * @summary CreateRBACUser
25770
+ * @param {SharedApiMongoCreateRBACUserRequest} requestParameters Request parameters.
25771
+ * @param {*} [options] Override http request option.
25772
+ * @throws {RequiredError}
25773
+ * @memberof SharedApi
25774
+ */
25775
+ mongoCreateRBACUser(requestParameters: SharedApiMongoCreateRBACUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
25776
+ /**
25777
+ *
25778
+ * @summary DeleteRBACRole
25779
+ * @param {SharedApiMongoDeleteRBACRoleRequest} requestParameters Request parameters.
25780
+ * @param {*} [options] Override http request option.
25781
+ * @throws {RequiredError}
25782
+ * @memberof SharedApi
25783
+ */
25784
+ mongoDeleteRBACRole(requestParameters: SharedApiMongoDeleteRBACRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
25785
+ /**
25786
+ *
25787
+ * @summary DeleteRBACUser
25788
+ * @param {SharedApiMongoDeleteRBACUserRequest} requestParameters Request parameters.
25789
+ * @param {*} [options] Override http request option.
25790
+ * @throws {RequiredError}
25791
+ * @memberof SharedApi
25792
+ */
25793
+ mongoDeleteRBACUser(requestParameters: SharedApiMongoDeleteRBACUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
25794
+ /**
25795
+ *
25796
+ * @summary GetRBACCapabilities
25797
+ * @param {SharedApiMongoGetRBACCapabilitiesRequest} requestParameters Request parameters.
25798
+ * @param {*} [options] Override http request option.
25799
+ * @throws {RequiredError}
25800
+ * @memberof SharedApi
25801
+ */
25802
+ mongoGetRBACCapabilities(requestParameters: SharedApiMongoGetRBACCapabilitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACCapabilities, any, {}>>;
25803
+ /**
25804
+ *
25805
+ * @summary GetRBACRole
25806
+ * @param {SharedApiMongoGetRBACRoleRequest} requestParameters Request parameters.
25807
+ * @param {*} [options] Override http request option.
25808
+ * @throws {RequiredError}
25809
+ * @memberof SharedApi
25810
+ */
25811
+ mongoGetRBACRole(requestParameters: SharedApiMongoGetRBACRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACRole, any, {}>>;
25812
+ /**
25813
+ *
25814
+ * @summary GetRBACUser
25815
+ * @param {SharedApiMongoGetRBACUserRequest} requestParameters Request parameters.
25816
+ * @param {*} [options] Override http request option.
25817
+ * @throws {RequiredError}
25818
+ * @memberof SharedApi
25819
+ */
25820
+ mongoGetRBACUser(requestParameters: SharedApiMongoGetRBACUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACUser, any, {}>>;
25821
+ /**
25822
+ *
25823
+ * @summary ListRBACRoles
25824
+ * @param {SharedApiMongoListRBACRolesRequest} requestParameters Request parameters.
25825
+ * @param {*} [options] Override http request option.
25826
+ * @throws {RequiredError}
25827
+ * @memberof SharedApi
25828
+ */
25829
+ mongoListRBACRoles(requestParameters: SharedApiMongoListRBACRolesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACRole[], any, {}>>;
25830
+ /**
25831
+ *
25832
+ * @summary ListRBACUsers
25833
+ * @param {SharedApiMongoListRBACUsersRequest} requestParameters Request parameters.
25834
+ * @param {*} [options] Override http request option.
25835
+ * @throws {RequiredError}
25836
+ * @memberof SharedApi
25837
+ */
25838
+ mongoListRBACUsers(requestParameters: SharedApiMongoListRBACUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MongoRBACUser[], any, {}>>;
25839
+ /**
25840
+ *
25841
+ * @summary UpdateRBACRole
25842
+ * @param {SharedApiMongoUpdateRBACRoleRequest} requestParameters Request parameters.
25843
+ * @param {*} [options] Override http request option.
25844
+ * @throws {RequiredError}
25845
+ * @memberof SharedApi
25846
+ */
25847
+ mongoUpdateRBACRole(requestParameters: SharedApiMongoUpdateRBACRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
24757
25848
  /**
24758
25849
  * partially update the specified apikey
24759
25850
  * @summary Update apikey information
@@ -24800,8 +25891,8 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
24800
25891
  */
24801
25892
  patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgParameter, any, {}>>;
24802
25893
  /**
24803
- * 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.
24804
- * @summary Preview clearing all MySQL account privileges
25894
+ * 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.
25895
+ * @summary Preview clearing explicit account privileges
24805
25896
  * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
24806
25897
  * @param {*} [options] Override http request option.
24807
25898
  * @throws {RequiredError}
@@ -25060,8 +26151,8 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
25060
26151
  */
25061
26152
  reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpsRequestName, any, {}>>;
25062
26153
  /**
25063
- * 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.
25064
- * @summary Clear all MySQL account privileges
26154
+ * 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.
26155
+ * @summary Clear explicit account privileges
25065
26156
  * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
25066
26157
  * @param {*} [options] Override http request option.
25067
26158
  * @throws {RequiredError}