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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/dist/adminapi/apis/account-api.d.ts +1129 -38
  2. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/account-api.js +1283 -149
  4. package/dist/adminapi/apis/account-api.js.map +1 -1
  5. package/dist/adminapi/apis/mongodb-api.d.ts +943 -4
  6. package/dist/adminapi/apis/mongodb-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/mongodb-api.js +1005 -0
  8. package/dist/adminapi/apis/mongodb-api.js.map +1 -1
  9. package/dist/adminapi/apis/rdbms-api.d.ts +186 -34
  10. package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/rdbms-api.js +166 -37
  12. package/dist/adminapi/apis/rdbms-api.js.map +1 -1
  13. package/dist/adminapi/apis/shared-api.d.ts +1196 -105
  14. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/shared-api.js +1273 -139
  16. package/dist/adminapi/apis/shared-api.js.map +1 -1
  17. package/dist/adminapi/models/index.d.ts +11 -0
  18. package/dist/adminapi/models/index.d.ts.map +1 -1
  19. package/dist/adminapi/models/index.js +11 -0
  20. package/dist/adminapi/models/index.js.map +1 -1
  21. package/dist/adminapi/models/mongo-rbacbinding-change.d.ts +32 -0
  22. package/dist/adminapi/models/mongo-rbacbinding-change.d.ts.map +1 -0
  23. package/dist/adminapi/models/mongo-rbacbinding-change.js +16 -0
  24. package/dist/adminapi/models/mongo-rbacbinding-change.js.map +1 -0
  25. package/dist/adminapi/models/mongo-rbaccapabilities.d.ts +32 -0
  26. package/dist/adminapi/models/mongo-rbaccapabilities.d.ts.map +1 -0
  27. package/dist/adminapi/models/mongo-rbaccapabilities.js +16 -0
  28. package/dist/adminapi/models/mongo-rbaccapabilities.js.map +1 -0
  29. package/dist/adminapi/models/mongo-rbacpassword-change.d.ts +25 -0
  30. package/dist/adminapi/models/mongo-rbacpassword-change.d.ts.map +1 -0
  31. package/dist/adminapi/models/mongo-rbacpassword-change.js +16 -0
  32. package/dist/adminapi/models/mongo-rbacpassword-change.js.map +1 -0
  33. package/dist/adminapi/models/mongo-rbacprivilege.d.ts +32 -0
  34. package/dist/adminapi/models/mongo-rbacprivilege.d.ts.map +1 -0
  35. package/dist/adminapi/models/mongo-rbacprivilege.js +16 -0
  36. package/dist/adminapi/models/mongo-rbacprivilege.js.map +1 -0
  37. package/dist/adminapi/models/mongo-rbacresource-capability.d.ts +31 -0
  38. package/dist/adminapi/models/mongo-rbacresource-capability.d.ts.map +1 -0
  39. package/dist/adminapi/models/mongo-rbacresource-capability.js +16 -0
  40. package/dist/adminapi/models/mongo-rbacresource-capability.js.map +1 -0
  41. package/dist/adminapi/models/mongo-rbacresource.d.ts +43 -0
  42. package/dist/adminapi/models/mongo-rbacresource.d.ts.map +1 -0
  43. package/dist/adminapi/models/mongo-rbacresource.js +16 -0
  44. package/dist/adminapi/models/mongo-rbacresource.js.map +1 -0
  45. package/dist/adminapi/models/mongo-rbacrole-ref.d.ts +31 -0
  46. package/dist/adminapi/models/mongo-rbacrole-ref.d.ts.map +1 -0
  47. package/dist/adminapi/models/mongo-rbacrole-ref.js +16 -0
  48. package/dist/adminapi/models/mongo-rbacrole-ref.js.map +1 -0
  49. package/dist/adminapi/models/mongo-rbacrole-write.d.ts +51 -0
  50. package/dist/adminapi/models/mongo-rbacrole-write.d.ts.map +1 -0
  51. package/dist/adminapi/models/mongo-rbacrole-write.js +16 -0
  52. package/dist/adminapi/models/mongo-rbacrole-write.js.map +1 -0
  53. package/dist/adminapi/models/mongo-rbacrole.d.ts +69 -0
  54. package/dist/adminapi/models/mongo-rbacrole.d.ts.map +1 -0
  55. package/dist/adminapi/models/mongo-rbacrole.js +16 -0
  56. package/dist/adminapi/models/mongo-rbacrole.js.map +1 -0
  57. package/dist/adminapi/models/mongo-rbacuser-create.d.ts +44 -0
  58. package/dist/adminapi/models/mongo-rbacuser-create.d.ts.map +1 -0
  59. package/dist/adminapi/models/mongo-rbacuser-create.js +16 -0
  60. package/dist/adminapi/models/mongo-rbacuser-create.js.map +1 -0
  61. package/dist/adminapi/models/mongo-rbacuser.d.ts +57 -0
  62. package/dist/adminapi/models/mongo-rbacuser.d.ts.map +1 -0
  63. package/dist/adminapi/models/mongo-rbacuser.js +16 -0
  64. package/dist/adminapi/models/mongo-rbacuser.js.map +1 -0
  65. package/dist/adminapi/models/object-privilege-evidence.d.ts +6 -0
  66. package/dist/adminapi/models/object-privilege-evidence.d.ts.map +1 -1
  67. package/dist/adminapi/models/object-privilege-reset-step.d.ts +1 -1
  68. package/dist/openapi/apis/account-api.d.ts +1129 -38
  69. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  70. package/dist/openapi/apis/account-api.js +1283 -149
  71. package/dist/openapi/apis/account-api.js.map +1 -1
  72. package/dist/openapi/apis/mongodb-api.d.ts +943 -4
  73. package/dist/openapi/apis/mongodb-api.d.ts.map +1 -1
  74. package/dist/openapi/apis/mongodb-api.js +1005 -0
  75. package/dist/openapi/apis/mongodb-api.js.map +1 -1
  76. package/dist/openapi/apis/rdbms-api.d.ts +186 -34
  77. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  78. package/dist/openapi/apis/rdbms-api.js +166 -37
  79. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  80. package/dist/openapi/apis/shared-api.d.ts +1196 -105
  81. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  82. package/dist/openapi/apis/shared-api.js +1273 -139
  83. package/dist/openapi/apis/shared-api.js.map +1 -1
  84. package/dist/openapi/models/index.d.ts +11 -0
  85. package/dist/openapi/models/index.d.ts.map +1 -1
  86. package/dist/openapi/models/index.js +11 -0
  87. package/dist/openapi/models/index.js.map +1 -1
  88. package/dist/openapi/models/mongo-rbacbinding-change.d.ts +32 -0
  89. package/dist/openapi/models/mongo-rbacbinding-change.d.ts.map +1 -0
  90. package/dist/openapi/models/mongo-rbacbinding-change.js +16 -0
  91. package/dist/openapi/models/mongo-rbacbinding-change.js.map +1 -0
  92. package/dist/openapi/models/mongo-rbaccapabilities.d.ts +32 -0
  93. package/dist/openapi/models/mongo-rbaccapabilities.d.ts.map +1 -0
  94. package/dist/openapi/models/mongo-rbaccapabilities.js +16 -0
  95. package/dist/openapi/models/mongo-rbaccapabilities.js.map +1 -0
  96. package/dist/openapi/models/mongo-rbacpassword-change.d.ts +25 -0
  97. package/dist/openapi/models/mongo-rbacpassword-change.d.ts.map +1 -0
  98. package/dist/openapi/models/mongo-rbacpassword-change.js +16 -0
  99. package/dist/openapi/models/mongo-rbacpassword-change.js.map +1 -0
  100. package/dist/openapi/models/mongo-rbacprivilege.d.ts +32 -0
  101. package/dist/openapi/models/mongo-rbacprivilege.d.ts.map +1 -0
  102. package/dist/openapi/models/mongo-rbacprivilege.js +16 -0
  103. package/dist/openapi/models/mongo-rbacprivilege.js.map +1 -0
  104. package/dist/openapi/models/mongo-rbacresource-capability.d.ts +31 -0
  105. package/dist/openapi/models/mongo-rbacresource-capability.d.ts.map +1 -0
  106. package/dist/openapi/models/mongo-rbacresource-capability.js +16 -0
  107. package/dist/openapi/models/mongo-rbacresource-capability.js.map +1 -0
  108. package/dist/openapi/models/mongo-rbacresource.d.ts +43 -0
  109. package/dist/openapi/models/mongo-rbacresource.d.ts.map +1 -0
  110. package/dist/openapi/models/mongo-rbacresource.js +16 -0
  111. package/dist/openapi/models/mongo-rbacresource.js.map +1 -0
  112. package/dist/openapi/models/mongo-rbacrole-ref.d.ts +31 -0
  113. package/dist/openapi/models/mongo-rbacrole-ref.d.ts.map +1 -0
  114. package/dist/openapi/models/mongo-rbacrole-ref.js +16 -0
  115. package/dist/openapi/models/mongo-rbacrole-ref.js.map +1 -0
  116. package/dist/openapi/models/mongo-rbacrole-write.d.ts +51 -0
  117. package/dist/openapi/models/mongo-rbacrole-write.d.ts.map +1 -0
  118. package/dist/openapi/models/mongo-rbacrole-write.js +16 -0
  119. package/dist/openapi/models/mongo-rbacrole-write.js.map +1 -0
  120. package/dist/openapi/models/mongo-rbacrole.d.ts +69 -0
  121. package/dist/openapi/models/mongo-rbacrole.d.ts.map +1 -0
  122. package/dist/openapi/models/mongo-rbacrole.js +16 -0
  123. package/dist/openapi/models/mongo-rbacrole.js.map +1 -0
  124. package/dist/openapi/models/mongo-rbacuser-create.d.ts +44 -0
  125. package/dist/openapi/models/mongo-rbacuser-create.d.ts.map +1 -0
  126. package/dist/openapi/models/mongo-rbacuser-create.js +16 -0
  127. package/dist/openapi/models/mongo-rbacuser-create.js.map +1 -0
  128. package/dist/openapi/models/mongo-rbacuser.d.ts +57 -0
  129. package/dist/openapi/models/mongo-rbacuser.d.ts.map +1 -0
  130. package/dist/openapi/models/mongo-rbacuser.js +16 -0
  131. package/dist/openapi/models/mongo-rbacuser.js.map +1 -0
  132. package/dist/openapi/models/object-privilege-evidence.d.ts +6 -0
  133. package/dist/openapi/models/object-privilege-evidence.d.ts.map +1 -1
  134. package/dist/openapi/models/object-privilege-reset-step.d.ts +1 -1
  135. package/package.json +1 -1
  136. package/src/adminapi/.openapi-generator/FILES +11 -0
  137. package/src/adminapi/apis/account-api.ts +3961 -2069
  138. package/src/adminapi/apis/mongodb-api.ts +1757 -120
  139. package/src/adminapi/apis/rdbms-api.ts +298 -43
  140. package/src/adminapi/apis/shared-api.ts +2363 -471
  141. package/src/adminapi/models/index.ts +11 -0
  142. package/src/adminapi/models/mongo-rbacbinding-change.ts +39 -0
  143. package/src/adminapi/models/mongo-rbaccapabilities.ts +39 -0
  144. package/src/adminapi/models/mongo-rbacpassword-change.ts +30 -0
  145. package/src/adminapi/models/mongo-rbacprivilege.ts +39 -0
  146. package/src/adminapi/models/mongo-rbacresource-capability.ts +36 -0
  147. package/src/adminapi/models/mongo-rbacresource.ts +48 -0
  148. package/src/adminapi/models/mongo-rbacrole-ref.ts +36 -0
  149. package/src/adminapi/models/mongo-rbacrole-write.ts +60 -0
  150. package/src/adminapi/models/mongo-rbacrole.ts +78 -0
  151. package/src/adminapi/models/mongo-rbacuser-create.ts +51 -0
  152. package/src/adminapi/models/mongo-rbacuser.ts +66 -0
  153. package/src/adminapi/models/object-privilege-evidence.ts +6 -0
  154. package/src/adminapi/models/object-privilege-reset-step.ts +1 -1
  155. package/src/adminapi.yaml +958 -134
  156. package/src/openapi/.openapi-generator/FILES +11 -0
  157. package/src/openapi/apis/account-api.ts +3961 -2069
  158. package/src/openapi/apis/mongodb-api.ts +1757 -120
  159. package/src/openapi/apis/rdbms-api.ts +298 -43
  160. package/src/openapi/apis/shared-api.ts +2168 -276
  161. package/src/openapi/models/index.ts +11 -0
  162. package/src/openapi/models/mongo-rbacbinding-change.ts +39 -0
  163. package/src/openapi/models/mongo-rbaccapabilities.ts +39 -0
  164. package/src/openapi/models/mongo-rbacpassword-change.ts +30 -0
  165. package/src/openapi/models/mongo-rbacprivilege.ts +39 -0
  166. package/src/openapi/models/mongo-rbacresource-capability.ts +36 -0
  167. package/src/openapi/models/mongo-rbacresource.ts +48 -0
  168. package/src/openapi/models/mongo-rbacrole-ref.ts +36 -0
  169. package/src/openapi/models/mongo-rbacrole-write.ts +60 -0
  170. package/src/openapi/models/mongo-rbacrole.ts +78 -0
  171. package/src/openapi/models/mongo-rbacuser-create.ts +51 -0
  172. package/src/openapi/models/mongo-rbacuser.ts +66 -0
  173. package/src/openapi/models/object-privilege-evidence.ts +6 -0
  174. package/src/openapi/models/object-privilege-reset-step.ts +1 -1
  175. package/src/openapi.yaml +958 -134
@@ -272,6 +272,20 @@ import type { MilvusRoleList } from '../models';
272
272
  // @ts-ignore
273
273
  import type { MilvusRoleRequest } from '../models';
274
274
  // @ts-ignore
275
+ import type { MongoRBACBindingChange } from '../models';
276
+ // @ts-ignore
277
+ import type { MongoRBACCapabilities } from '../models';
278
+ // @ts-ignore
279
+ import type { MongoRBACPasswordChange } from '../models';
280
+ // @ts-ignore
281
+ import type { MongoRBACRole } from '../models';
282
+ // @ts-ignore
283
+ import type { MongoRBACRoleWrite } from '../models';
284
+ // @ts-ignore
285
+ import type { MongoRBACUser } from '../models';
286
+ // @ts-ignore
287
+ import type { MongoRBACUserCreate } from '../models';
288
+ // @ts-ignore
275
289
  import type { NodeList } from '../models';
276
290
  // @ts-ignore
277
291
  import type { NodeResourceStatsList } from '../models';
@@ -280,6 +294,8 @@ import type { ObjectPrivilegeCapabilities } from '../models';
280
294
  // @ts-ignore
281
295
  import type { ObjectPrivilegeChange } from '../models';
282
296
  // @ts-ignore
297
+ import type { ObjectPrivilegeEvidence } from '../models';
298
+ // @ts-ignore
283
299
  import type { ObjectPrivilegeObjectList } from '../models';
284
300
  // @ts-ignore
285
301
  import type { ObjectPrivilegeResetStep } from '../models';
@@ -5883,62 +5899,33 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
5883
5899
  };
5884
5900
  },
5885
5901
  /**
5886
- *
5887
- * @summary Get alert config
5888
- * @param {string} orgName name of the Org
5889
- * @param {*} [options] Override http request option.
5890
- * @throws {RequiredError}
5891
- */
5892
- getAlertConfig: async (orgName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5893
- // verify required parameter 'orgName' is not null or undefined
5894
- assertParamExists('getAlertConfig', 'orgName', orgName)
5895
- const localVarPath = `/api/v1/organizations/{orgName}/alerts/config`
5896
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
5897
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5898
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5899
- let baseOptions;
5900
- if (configuration) {
5901
- baseOptions = configuration.baseOptions;
5902
- }
5903
-
5904
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5905
- const localVarHeaderParameter = {} as any;
5906
- const localVarQueryParameter = {} as any;
5907
-
5908
- // authentication BearerToken required
5909
- // http bearer authentication required
5910
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
5911
-
5912
- // authentication DigestAuth required
5913
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
5914
-
5915
-
5916
-
5917
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5918
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5919
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5920
-
5921
- return {
5922
- url: toPathString(localVarUrlObj),
5923
- options: localVarRequestOptions,
5924
- };
5925
- },
5926
- /**
5927
- *
5928
- * @summary Get alert inhibit
5929
- * @param {string} orgName name of the Org
5930
- * @param {string} inhibitId inhibit id
5902
+ * 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.
5903
+ * @summary Read native account privilege summary or selected database evidence
5904
+ * @param {string} engineName
5905
+ * @param {string} orgName
5906
+ * @param {string} clusterName
5907
+ * @param {string} accountName
5908
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
5909
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
5910
+ * @param {string} [subjectQualifiers]
5911
+ * @param {string} [databaseName] PostgreSQL database to inspect on demand. Omit for the global summary.
5931
5912
  * @param {*} [options] Override http request option.
5932
5913
  * @throws {RequiredError}
5933
5914
  */
5934
- getAlertInhibit: async (orgName: string, inhibitId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5915
+ getAccountPrivilegeOverview: async (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5916
+ // verify required parameter 'engineName' is not null or undefined
5917
+ assertParamExists('getAccountPrivilegeOverview', 'engineName', engineName)
5935
5918
  // verify required parameter 'orgName' is not null or undefined
5936
- assertParamExists('getAlertInhibit', 'orgName', orgName)
5937
- // verify required parameter 'inhibitId' is not null or undefined
5938
- assertParamExists('getAlertInhibit', 'inhibitId', inhibitId)
5939
- const localVarPath = `/api/v1/organizations/{orgName}/alerts/inhibits/{inhibitId}`
5919
+ assertParamExists('getAccountPrivilegeOverview', 'orgName', orgName)
5920
+ // verify required parameter 'clusterName' is not null or undefined
5921
+ assertParamExists('getAccountPrivilegeOverview', 'clusterName', clusterName)
5922
+ // verify required parameter 'accountName' is not null or undefined
5923
+ assertParamExists('getAccountPrivilegeOverview', 'accountName', accountName)
5924
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/overview`
5925
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
5940
5926
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5941
- .replace(`{${"inhibitId"}}`, encodeURIComponent(String(inhibitId)));
5927
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
5928
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
5942
5929
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5943
5930
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5944
5931
  let baseOptions;
@@ -5957,94 +5944,21 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
5957
5944
  // authentication DigestAuth required
5958
5945
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
5959
5946
 
5960
-
5961
-
5962
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5963
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5964
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5965
-
5966
- return {
5967
- url: toPathString(localVarUrlObj),
5968
- options: localVarRequestOptions,
5969
- };
5970
- },
5971
- /**
5972
- *
5973
- * @param {string} orgName name of the Org
5974
- * @param {string} alertName name of the alert
5975
- * @param {*} [options] Override http request option.
5976
- * @throws {RequiredError}
5977
- */
5978
- getAlertRule: async (orgName: string, alertName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5979
- // verify required parameter 'orgName' is not null or undefined
5980
- assertParamExists('getAlertRule', 'orgName', orgName)
5981
- // verify required parameter 'alertName' is not null or undefined
5982
- assertParamExists('getAlertRule', 'alertName', alertName)
5983
- const localVarPath = `/api/v1/organizations/{orgName}/alerts/rules/{alertName}`
5984
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5985
- .replace(`{${"alertName"}}`, encodeURIComponent(String(alertName)));
5986
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5987
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5988
- let baseOptions;
5989
- if (configuration) {
5990
- baseOptions = configuration.baseOptions;
5947
+ if (subjectType !== undefined) {
5948
+ localVarQueryParameter['subjectType'] = subjectType;
5991
5949
  }
5992
5950
 
5993
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5994
- const localVarHeaderParameter = {} as any;
5995
- const localVarQueryParameter = {} as any;
5996
-
5997
- // authentication BearerToken required
5998
- // http bearer authentication required
5999
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
6000
-
6001
- // authentication DigestAuth required
6002
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
6003
-
6004
-
6005
-
6006
- setSearchParams(localVarUrlObj, localVarQueryParameter);
6007
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6008
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6009
-
6010
- return {
6011
- url: toPathString(localVarUrlObj),
6012
- options: localVarRequestOptions,
6013
- };
6014
- },
6015
- /**
6016
- *
6017
- * @summary Get backup
6018
- * @param {string} orgName name of the Org
6019
- * @param {string} backupId id of the Backup
6020
- * @param {*} [options] Override http request option.
6021
- * @throws {RequiredError}
6022
- */
6023
- getBackup: async (orgName: string, backupId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6024
- // verify required parameter 'orgName' is not null or undefined
6025
- assertParamExists('getBackup', 'orgName', orgName)
6026
- // verify required parameter 'backupId' is not null or undefined
6027
- assertParamExists('getBackup', 'backupId', backupId)
6028
- const localVarPath = `/api/v1/organizations/{orgName}/backups/{backupId}`
6029
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6030
- .replace(`{${"backupId"}}`, encodeURIComponent(String(backupId)));
6031
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6032
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6033
- let baseOptions;
6034
- if (configuration) {
6035
- baseOptions = configuration.baseOptions;
5951
+ if (host !== undefined) {
5952
+ localVarQueryParameter['host'] = host;
6036
5953
  }
6037
5954
 
6038
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6039
- const localVarHeaderParameter = {} as any;
6040
- const localVarQueryParameter = {} as any;
6041
-
6042
- // authentication BearerToken required
6043
- // http bearer authentication required
6044
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
5955
+ if (subjectQualifiers !== undefined) {
5956
+ localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
5957
+ }
6045
5958
 
6046
- // authentication DigestAuth required
6047
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
5959
+ if (databaseName !== undefined) {
5960
+ localVarQueryParameter['databaseName'] = databaseName;
5961
+ }
6048
5962
 
6049
5963
 
6050
5964
 
@@ -6059,20 +5973,16 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
6059
5973
  },
6060
5974
  /**
6061
5975
  *
6062
- * @summary Get backup log
5976
+ * @summary Get alert config
6063
5977
  * @param {string} orgName name of the Org
6064
- * @param {string} backupId id of the Backup
6065
5978
  * @param {*} [options] Override http request option.
6066
5979
  * @throws {RequiredError}
6067
5980
  */
6068
- getBackupLog: async (orgName: string, backupId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5981
+ getAlertConfig: async (orgName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6069
5982
  // verify required parameter 'orgName' is not null or undefined
6070
- assertParamExists('getBackupLog', 'orgName', orgName)
6071
- // verify required parameter 'backupId' is not null or undefined
6072
- assertParamExists('getBackupLog', 'backupId', backupId)
6073
- const localVarPath = `/api/v1/organizations/{orgName}/backups/{backupId}/logs`
6074
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6075
- .replace(`{${"backupId"}}`, encodeURIComponent(String(backupId)));
5983
+ assertParamExists('getAlertConfig', 'orgName', orgName)
5984
+ const localVarPath = `/api/v1/organizations/{orgName}/alerts/config`
5985
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
6076
5986
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6077
5987
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6078
5988
  let baseOptions;
@@ -6104,27 +6014,20 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
6104
6014
  },
6105
6015
  /**
6106
6016
  *
6107
- * @summary get backup method
6108
- * @param {string} orgName name of the org
6109
- * @param {string} engineName engine name
6110
- * @param {string} [clusterID] clusterID is required when you want to get the backup method of a existing cluster
6111
- * @param {boolean} [enablePITR] define whether to enable PITR (Point-In-Time Recovery). This setting is required when clusterId is not empty.
6112
- * @param {boolean} [withRebuildInstance] defined whether to search for rebuilding instance.
6113
- * @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
6114
- * @param {boolean} [withHScale] defined whether to search for rebuilding instance.
6115
- * @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
6116
- * @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
6017
+ * @summary Get alert inhibit
6018
+ * @param {string} orgName name of the Org
6019
+ * @param {string} inhibitId inhibit id
6117
6020
  * @param {*} [options] Override http request option.
6118
6021
  * @throws {RequiredError}
6119
6022
  */
6120
- getBackupMethod: async (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6023
+ getAlertInhibit: async (orgName: string, inhibitId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6121
6024
  // verify required parameter 'orgName' is not null or undefined
6122
- assertParamExists('getBackupMethod', 'orgName', orgName)
6123
- // verify required parameter 'engineName' is not null or undefined
6124
- assertParamExists('getBackupMethod', 'engineName', engineName)
6125
- const localVarPath = `/api/v1/organizations/{orgName}/{engineName}/clusterBackupMethod`
6025
+ assertParamExists('getAlertInhibit', 'orgName', orgName)
6026
+ // verify required parameter 'inhibitId' is not null or undefined
6027
+ assertParamExists('getAlertInhibit', 'inhibitId', inhibitId)
6028
+ const localVarPath = `/api/v1/organizations/{orgName}/alerts/inhibits/{inhibitId}`
6126
6029
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6127
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)));
6030
+ .replace(`{${"inhibitId"}}`, encodeURIComponent(String(inhibitId)));
6128
6031
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6129
6032
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6130
6033
  let baseOptions;
@@ -6143,34 +6046,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
6143
6046
  // authentication DigestAuth required
6144
6047
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
6145
6048
 
6146
- if (clusterID !== undefined) {
6147
- localVarQueryParameter['clusterID'] = clusterID;
6148
- }
6149
-
6150
- if (enablePITR !== undefined) {
6151
- localVarQueryParameter['enablePITR'] = enablePITR;
6152
- }
6153
-
6154
- if (withRebuildInstance !== undefined) {
6155
- localVarQueryParameter['withRebuildInstance'] = withRebuildInstance;
6156
- }
6157
-
6158
- if (withRestoreCluster !== undefined) {
6159
- localVarQueryParameter['withRestoreCluster'] = withRestoreCluster;
6160
- }
6161
-
6162
- if (withHScale !== undefined) {
6163
- localVarQueryParameter['withHScale'] = withHScale;
6164
- }
6165
-
6166
- if (component !== undefined) {
6167
- localVarQueryParameter['component'] = component;
6168
- }
6169
-
6170
- if (mode !== undefined) {
6171
- localVarQueryParameter['mode'] = mode;
6172
- }
6173
-
6174
6049
 
6175
6050
 
6176
6051
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6184,24 +6059,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
6184
6059
  },
6185
6060
  /**
6186
6061
  *
6187
- * @summary Get the grants (privileges) of a ClickHouse role
6188
- * @param {string} orgName
6189
- * @param {string} clusterName
6190
- * @param {string} roleName
6062
+ * @param {string} orgName name of the Org
6063
+ * @param {string} alertName name of the alert
6191
6064
  * @param {*} [options] Override http request option.
6192
6065
  * @throws {RequiredError}
6193
6066
  */
6194
- getClickhouseRoleGrants: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6067
+ getAlertRule: async (orgName: string, alertName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6195
6068
  // verify required parameter 'orgName' is not null or undefined
6196
- assertParamExists('getClickhouseRoleGrants', 'orgName', orgName)
6197
- // verify required parameter 'clusterName' is not null or undefined
6198
- assertParamExists('getClickhouseRoleGrants', 'clusterName', clusterName)
6199
- // verify required parameter 'roleName' is not null or undefined
6200
- assertParamExists('getClickhouseRoleGrants', 'roleName', roleName)
6201
- const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
6069
+ assertParamExists('getAlertRule', 'orgName', orgName)
6070
+ // verify required parameter 'alertName' is not null or undefined
6071
+ assertParamExists('getAlertRule', 'alertName', alertName)
6072
+ const localVarPath = `/api/v1/organizations/{orgName}/alerts/rules/{alertName}`
6202
6073
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6203
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
6204
- .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
6074
+ .replace(`{${"alertName"}}`, encodeURIComponent(String(alertName)));
6205
6075
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6206
6076
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6207
6077
  let baseOptions;
@@ -6233,20 +6103,239 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
6233
6103
  },
6234
6104
  /**
6235
6105
  *
6236
- * @summary Get cluster details
6106
+ * @summary Get backup
6237
6107
  * @param {string} orgName name of the Org
6238
- * @param {string} clusterName name of the KubeBlocks cluster
6108
+ * @param {string} backupId id of the Backup
6239
6109
  * @param {*} [options] Override http request option.
6240
6110
  * @throws {RequiredError}
6241
6111
  */
6242
- getCluster: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6112
+ getBackup: async (orgName: string, backupId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6243
6113
  // verify required parameter 'orgName' is not null or undefined
6244
- assertParamExists('getCluster', 'orgName', orgName)
6245
- // verify required parameter 'clusterName' is not null or undefined
6246
- assertParamExists('getCluster', 'clusterName', clusterName)
6247
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}`
6114
+ assertParamExists('getBackup', 'orgName', orgName)
6115
+ // verify required parameter 'backupId' is not null or undefined
6116
+ assertParamExists('getBackup', 'backupId', backupId)
6117
+ const localVarPath = `/api/v1/organizations/{orgName}/backups/{backupId}`
6248
6118
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6249
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6119
+ .replace(`{${"backupId"}}`, encodeURIComponent(String(backupId)));
6120
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6121
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6122
+ let baseOptions;
6123
+ if (configuration) {
6124
+ baseOptions = configuration.baseOptions;
6125
+ }
6126
+
6127
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6128
+ const localVarHeaderParameter = {} as any;
6129
+ const localVarQueryParameter = {} as any;
6130
+
6131
+ // authentication BearerToken required
6132
+ // http bearer authentication required
6133
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6134
+
6135
+ // authentication DigestAuth required
6136
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
6137
+
6138
+
6139
+
6140
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6141
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6142
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6143
+
6144
+ return {
6145
+ url: toPathString(localVarUrlObj),
6146
+ options: localVarRequestOptions,
6147
+ };
6148
+ },
6149
+ /**
6150
+ *
6151
+ * @summary Get backup log
6152
+ * @param {string} orgName name of the Org
6153
+ * @param {string} backupId id of the Backup
6154
+ * @param {*} [options] Override http request option.
6155
+ * @throws {RequiredError}
6156
+ */
6157
+ getBackupLog: async (orgName: string, backupId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6158
+ // verify required parameter 'orgName' is not null or undefined
6159
+ assertParamExists('getBackupLog', 'orgName', orgName)
6160
+ // verify required parameter 'backupId' is not null or undefined
6161
+ assertParamExists('getBackupLog', 'backupId', backupId)
6162
+ const localVarPath = `/api/v1/organizations/{orgName}/backups/{backupId}/logs`
6163
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6164
+ .replace(`{${"backupId"}}`, encodeURIComponent(String(backupId)));
6165
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6166
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6167
+ let baseOptions;
6168
+ if (configuration) {
6169
+ baseOptions = configuration.baseOptions;
6170
+ }
6171
+
6172
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6173
+ const localVarHeaderParameter = {} as any;
6174
+ const localVarQueryParameter = {} as any;
6175
+
6176
+ // authentication BearerToken required
6177
+ // http bearer authentication required
6178
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6179
+
6180
+ // authentication DigestAuth required
6181
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
6182
+
6183
+
6184
+
6185
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6186
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6187
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6188
+
6189
+ return {
6190
+ url: toPathString(localVarUrlObj),
6191
+ options: localVarRequestOptions,
6192
+ };
6193
+ },
6194
+ /**
6195
+ *
6196
+ * @summary get backup method
6197
+ * @param {string} orgName name of the org
6198
+ * @param {string} engineName engine name
6199
+ * @param {string} [clusterID] clusterID is required when you want to get the backup method of a existing cluster
6200
+ * @param {boolean} [enablePITR] define whether to enable PITR (Point-In-Time Recovery). This setting is required when clusterId is not empty.
6201
+ * @param {boolean} [withRebuildInstance] defined whether to search for rebuilding instance.
6202
+ * @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
6203
+ * @param {boolean} [withHScale] defined whether to search for rebuilding instance.
6204
+ * @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
6205
+ * @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
6206
+ * @param {*} [options] Override http request option.
6207
+ * @throws {RequiredError}
6208
+ */
6209
+ getBackupMethod: async (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6210
+ // verify required parameter 'orgName' is not null or undefined
6211
+ assertParamExists('getBackupMethod', 'orgName', orgName)
6212
+ // verify required parameter 'engineName' is not null or undefined
6213
+ assertParamExists('getBackupMethod', 'engineName', engineName)
6214
+ const localVarPath = `/api/v1/organizations/{orgName}/{engineName}/clusterBackupMethod`
6215
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6216
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)));
6217
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6218
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6219
+ let baseOptions;
6220
+ if (configuration) {
6221
+ baseOptions = configuration.baseOptions;
6222
+ }
6223
+
6224
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6225
+ const localVarHeaderParameter = {} as any;
6226
+ const localVarQueryParameter = {} as any;
6227
+
6228
+ // authentication BearerToken required
6229
+ // http bearer authentication required
6230
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6231
+
6232
+ // authentication DigestAuth required
6233
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
6234
+
6235
+ if (clusterID !== undefined) {
6236
+ localVarQueryParameter['clusterID'] = clusterID;
6237
+ }
6238
+
6239
+ if (enablePITR !== undefined) {
6240
+ localVarQueryParameter['enablePITR'] = enablePITR;
6241
+ }
6242
+
6243
+ if (withRebuildInstance !== undefined) {
6244
+ localVarQueryParameter['withRebuildInstance'] = withRebuildInstance;
6245
+ }
6246
+
6247
+ if (withRestoreCluster !== undefined) {
6248
+ localVarQueryParameter['withRestoreCluster'] = withRestoreCluster;
6249
+ }
6250
+
6251
+ if (withHScale !== undefined) {
6252
+ localVarQueryParameter['withHScale'] = withHScale;
6253
+ }
6254
+
6255
+ if (component !== undefined) {
6256
+ localVarQueryParameter['component'] = component;
6257
+ }
6258
+
6259
+ if (mode !== undefined) {
6260
+ localVarQueryParameter['mode'] = mode;
6261
+ }
6262
+
6263
+
6264
+
6265
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6266
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6267
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6268
+
6269
+ return {
6270
+ url: toPathString(localVarUrlObj),
6271
+ options: localVarRequestOptions,
6272
+ };
6273
+ },
6274
+ /**
6275
+ *
6276
+ * @summary Get the grants (privileges) of a ClickHouse role
6277
+ * @param {string} orgName
6278
+ * @param {string} clusterName
6279
+ * @param {string} roleName
6280
+ * @param {*} [options] Override http request option.
6281
+ * @throws {RequiredError}
6282
+ */
6283
+ getClickhouseRoleGrants: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6284
+ // verify required parameter 'orgName' is not null or undefined
6285
+ assertParamExists('getClickhouseRoleGrants', 'orgName', orgName)
6286
+ // verify required parameter 'clusterName' is not null or undefined
6287
+ assertParamExists('getClickhouseRoleGrants', 'clusterName', clusterName)
6288
+ // verify required parameter 'roleName' is not null or undefined
6289
+ assertParamExists('getClickhouseRoleGrants', 'roleName', roleName)
6290
+ const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
6291
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6292
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
6293
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
6294
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6295
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6296
+ let baseOptions;
6297
+ if (configuration) {
6298
+ baseOptions = configuration.baseOptions;
6299
+ }
6300
+
6301
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6302
+ const localVarHeaderParameter = {} as any;
6303
+ const localVarQueryParameter = {} as any;
6304
+
6305
+ // authentication BearerToken required
6306
+ // http bearer authentication required
6307
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6308
+
6309
+ // authentication DigestAuth required
6310
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
6311
+
6312
+
6313
+
6314
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6315
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6316
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6317
+
6318
+ return {
6319
+ url: toPathString(localVarUrlObj),
6320
+ options: localVarRequestOptions,
6321
+ };
6322
+ },
6323
+ /**
6324
+ *
6325
+ * @summary Get cluster details
6326
+ * @param {string} orgName name of the Org
6327
+ * @param {string} clusterName name of the KubeBlocks cluster
6328
+ * @param {*} [options] Override http request option.
6329
+ * @throws {RequiredError}
6330
+ */
6331
+ getCluster: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6332
+ // verify required parameter 'orgName' is not null or undefined
6333
+ assertParamExists('getCluster', 'orgName', orgName)
6334
+ // verify required parameter 'clusterName' is not null or undefined
6335
+ assertParamExists('getCluster', 'clusterName', clusterName)
6336
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}`
6337
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6338
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6250
6339
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6251
6340
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6252
6341
  let baseOptions;
@@ -9129,19 +9218,20 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9129
9218
  };
9130
9219
  },
9131
9220
  /**
9132
- * 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.
9221
+ * 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.
9133
9222
  * @summary List exact column names for account object privileges
9134
9223
  * @param {string} engineName
9135
9224
  * @param {string} orgName
9136
9225
  * @param {string} clusterName
9137
9226
  * @param {string} accountName
9138
- * @param {string} objectType Object type, either table or view
9227
+ * @param {string} objectType Object type, table/view; PostgreSQL also supports materializedView/foreignTable
9139
9228
  * @param {string} databaseName
9140
9229
  * @param {string} objectName
9230
+ * @param {string} [schemaName] Required for PostgreSQL; not accepted for MySQL
9141
9231
  * @param {*} [options] Override http request option.
9142
9232
  * @throws {RequiredError}
9143
9233
  */
9144
- listAccountObjectPrivilegeColumns: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9234
+ listAccountObjectPrivilegeColumns: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, schemaName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9145
9235
  // verify required parameter 'engineName' is not null or undefined
9146
9236
  assertParamExists('listAccountObjectPrivilegeColumns', 'engineName', engineName)
9147
9237
  // verify required parameter 'orgName' is not null or undefined
@@ -9191,6 +9281,10 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9191
9281
  localVarQueryParameter['objectName'] = objectName;
9192
9282
  }
9193
9283
 
9284
+ if (schemaName !== undefined) {
9285
+ localVarQueryParameter['schemaName'] = schemaName;
9286
+ }
9287
+
9194
9288
 
9195
9289
 
9196
9290
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -12675,20 +12769,32 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12675
12769
  };
12676
12770
  },
12677
12771
  /**
12678
- * partially update the specified apikey
12679
- * @summary Update apikey information
12680
- * @param {string} keyName Name of the apikey
12681
- * @param {ApikeyCreate} body
12772
+ *
12773
+ * @summary ChangeRBACUserPassword
12774
+ * @param {string} orgName
12775
+ * @param {string} clusterName
12776
+ * @param {string} database
12777
+ * @param {string} username
12778
+ * @param {MongoRBACPasswordChange} mongoRBACPasswordChange
12682
12779
  * @param {*} [options] Override http request option.
12683
12780
  * @throws {RequiredError}
12684
12781
  */
12685
- patchAPIkey: async (keyName: string, body: ApikeyCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12686
- // verify required parameter 'keyName' is not null or undefined
12687
- assertParamExists('patchAPIkey', 'keyName', keyName)
12688
- // verify required parameter 'body' is not null or undefined
12689
- assertParamExists('patchAPIkey', 'body', body)
12690
- const localVarPath = `/api/v1/user/apikey/{keyName}`
12691
- .replace(`{${"keyName"}}`, encodeURIComponent(String(keyName)));
12782
+ mongoChangeRBACUserPassword: async (orgName: string, clusterName: string, database: string, username: string, mongoRBACPasswordChange: MongoRBACPasswordChange, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12783
+ // verify required parameter 'orgName' is not null or undefined
12784
+ assertParamExists('mongoChangeRBACUserPassword', 'orgName', orgName)
12785
+ // verify required parameter 'clusterName' is not null or undefined
12786
+ assertParamExists('mongoChangeRBACUserPassword', 'clusterName', clusterName)
12787
+ // verify required parameter 'database' is not null or undefined
12788
+ assertParamExists('mongoChangeRBACUserPassword', 'database', database)
12789
+ // verify required parameter 'username' is not null or undefined
12790
+ assertParamExists('mongoChangeRBACUserPassword', 'username', username)
12791
+ // verify required parameter 'mongoRBACPasswordChange' is not null or undefined
12792
+ assertParamExists('mongoChangeRBACUserPassword', 'mongoRBACPasswordChange', mongoRBACPasswordChange)
12793
+ const localVarPath = `/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/users/{database}/{username}/password`
12794
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12795
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
12796
+ .replace(`{${"database"}}`, encodeURIComponent(String(database)))
12797
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
12692
12798
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12693
12799
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12694
12800
  let baseOptions;
@@ -12696,7 +12802,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12696
12802
  baseOptions = configuration.baseOptions;
12697
12803
  }
12698
12804
 
12699
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
12805
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
12700
12806
  const localVarHeaderParameter = {} as any;
12701
12807
  const localVarQueryParameter = {} as any;
12702
12808
 
@@ -12714,7 +12820,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12714
12820
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12715
12821
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12716
12822
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12717
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
12823
+ localVarRequestOptions.data = serializeDataIfNeeded(mongoRBACPasswordChange, localVarRequestOptions, configuration)
12718
12824
 
12719
12825
  return {
12720
12826
  url: toPathString(localVarUrlObj),
@@ -12722,24 +12828,655 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12722
12828
  };
12723
12829
  },
12724
12830
  /**
12725
- * Update the specified Cluster
12726
- * @summary Update cluster specified fields
12727
- * @param {string} orgName name of the Org
12728
- * @param {string} clusterName name of the KubeBlocks cluster
12729
- * @param {ClusterUpdate} body
12831
+ *
12832
+ * @summary ChangeRBACUserRoles
12833
+ * @param {string} orgName
12834
+ * @param {string} clusterName
12835
+ * @param {string} database
12836
+ * @param {string} username
12837
+ * @param {MongoRBACBindingChange} mongoRBACBindingChange
12730
12838
  * @param {*} [options] Override http request option.
12731
12839
  * @throws {RequiredError}
12732
12840
  */
12733
- patchCluster: async (orgName: string, clusterName: string, body: ClusterUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12841
+ mongoChangeRBACUserRoles: async (orgName: string, clusterName: string, database: string, username: string, mongoRBACBindingChange: MongoRBACBindingChange, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12734
12842
  // verify required parameter 'orgName' is not null or undefined
12735
- assertParamExists('patchCluster', 'orgName', orgName)
12843
+ assertParamExists('mongoChangeRBACUserRoles', 'orgName', orgName)
12736
12844
  // verify required parameter 'clusterName' is not null or undefined
12737
- assertParamExists('patchCluster', 'clusterName', clusterName)
12738
- // verify required parameter 'body' is not null or undefined
12739
- assertParamExists('patchCluster', 'body', body)
12740
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}`
12845
+ assertParamExists('mongoChangeRBACUserRoles', 'clusterName', clusterName)
12846
+ // verify required parameter 'database' is not null or undefined
12847
+ assertParamExists('mongoChangeRBACUserRoles', 'database', database)
12848
+ // verify required parameter 'username' is not null or undefined
12849
+ assertParamExists('mongoChangeRBACUserRoles', 'username', username)
12850
+ // verify required parameter 'mongoRBACBindingChange' is not null or undefined
12851
+ assertParamExists('mongoChangeRBACUserRoles', 'mongoRBACBindingChange', mongoRBACBindingChange)
12852
+ const localVarPath = `/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/users/{database}/{username}/roles`
12741
12853
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12742
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
12854
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
12855
+ .replace(`{${"database"}}`, encodeURIComponent(String(database)))
12856
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
12857
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12858
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12859
+ let baseOptions;
12860
+ if (configuration) {
12861
+ baseOptions = configuration.baseOptions;
12862
+ }
12863
+
12864
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
12865
+ const localVarHeaderParameter = {} as any;
12866
+ const localVarQueryParameter = {} as any;
12867
+
12868
+ // authentication BearerToken required
12869
+ // http bearer authentication required
12870
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12871
+
12872
+ // authentication DigestAuth required
12873
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
12874
+
12875
+
12876
+
12877
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12878
+
12879
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12880
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12881
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12882
+ localVarRequestOptions.data = serializeDataIfNeeded(mongoRBACBindingChange, localVarRequestOptions, configuration)
12883
+
12884
+ return {
12885
+ url: toPathString(localVarUrlObj),
12886
+ options: localVarRequestOptions,
12887
+ };
12888
+ },
12889
+ /**
12890
+ *
12891
+ * @summary CreateRBACRole
12892
+ * @param {string} orgName
12893
+ * @param {string} clusterName
12894
+ * @param {MongoRBACRoleWrite} mongoRBACRoleWrite
12895
+ * @param {*} [options] Override http request option.
12896
+ * @throws {RequiredError}
12897
+ */
12898
+ mongoCreateRBACRole: async (orgName: string, clusterName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12899
+ // verify required parameter 'orgName' is not null or undefined
12900
+ assertParamExists('mongoCreateRBACRole', 'orgName', orgName)
12901
+ // verify required parameter 'clusterName' is not null or undefined
12902
+ assertParamExists('mongoCreateRBACRole', 'clusterName', clusterName)
12903
+ // verify required parameter 'mongoRBACRoleWrite' is not null or undefined
12904
+ assertParamExists('mongoCreateRBACRole', 'mongoRBACRoleWrite', mongoRBACRoleWrite)
12905
+ const localVarPath = `/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/roles`
12906
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12907
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
12908
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12909
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12910
+ let baseOptions;
12911
+ if (configuration) {
12912
+ baseOptions = configuration.baseOptions;
12913
+ }
12914
+
12915
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
12916
+ const localVarHeaderParameter = {} as any;
12917
+ const localVarQueryParameter = {} as any;
12918
+
12919
+ // authentication BearerToken required
12920
+ // http bearer authentication required
12921
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12922
+
12923
+ // authentication DigestAuth required
12924
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
12925
+
12926
+
12927
+
12928
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12929
+
12930
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12931
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12932
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12933
+ localVarRequestOptions.data = serializeDataIfNeeded(mongoRBACRoleWrite, localVarRequestOptions, configuration)
12934
+
12935
+ return {
12936
+ url: toPathString(localVarUrlObj),
12937
+ options: localVarRequestOptions,
12938
+ };
12939
+ },
12940
+ /**
12941
+ *
12942
+ * @summary CreateRBACUser
12943
+ * @param {string} orgName
12944
+ * @param {string} clusterName
12945
+ * @param {MongoRBACUserCreate} mongoRBACUserCreate
12946
+ * @param {*} [options] Override http request option.
12947
+ * @throws {RequiredError}
12948
+ */
12949
+ mongoCreateRBACUser: async (orgName: string, clusterName: string, mongoRBACUserCreate: MongoRBACUserCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12950
+ // verify required parameter 'orgName' is not null or undefined
12951
+ assertParamExists('mongoCreateRBACUser', 'orgName', orgName)
12952
+ // verify required parameter 'clusterName' is not null or undefined
12953
+ assertParamExists('mongoCreateRBACUser', 'clusterName', clusterName)
12954
+ // verify required parameter 'mongoRBACUserCreate' is not null or undefined
12955
+ assertParamExists('mongoCreateRBACUser', 'mongoRBACUserCreate', mongoRBACUserCreate)
12956
+ const localVarPath = `/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/users`
12957
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12958
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
12959
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12960
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12961
+ let baseOptions;
12962
+ if (configuration) {
12963
+ baseOptions = configuration.baseOptions;
12964
+ }
12965
+
12966
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
12967
+ const localVarHeaderParameter = {} as any;
12968
+ const localVarQueryParameter = {} as any;
12969
+
12970
+ // authentication BearerToken required
12971
+ // http bearer authentication required
12972
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12973
+
12974
+ // authentication DigestAuth required
12975
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
12976
+
12977
+
12978
+
12979
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12980
+
12981
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12982
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12983
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12984
+ localVarRequestOptions.data = serializeDataIfNeeded(mongoRBACUserCreate, localVarRequestOptions, configuration)
12985
+
12986
+ return {
12987
+ url: toPathString(localVarUrlObj),
12988
+ options: localVarRequestOptions,
12989
+ };
12990
+ },
12991
+ /**
12992
+ *
12993
+ * @summary DeleteRBACRole
12994
+ * @param {string} orgName
12995
+ * @param {string} clusterName
12996
+ * @param {string} database
12997
+ * @param {string} roleName
12998
+ * @param {string} expectedRevision
12999
+ * @param {*} [options] Override http request option.
13000
+ * @throws {RequiredError}
13001
+ */
13002
+ mongoDeleteRBACRole: async (orgName: string, clusterName: string, database: string, roleName: string, expectedRevision: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13003
+ // verify required parameter 'orgName' is not null or undefined
13004
+ assertParamExists('mongoDeleteRBACRole', 'orgName', orgName)
13005
+ // verify required parameter 'clusterName' is not null or undefined
13006
+ assertParamExists('mongoDeleteRBACRole', 'clusterName', clusterName)
13007
+ // verify required parameter 'database' is not null or undefined
13008
+ assertParamExists('mongoDeleteRBACRole', 'database', database)
13009
+ // verify required parameter 'roleName' is not null or undefined
13010
+ assertParamExists('mongoDeleteRBACRole', 'roleName', roleName)
13011
+ // verify required parameter 'expectedRevision' is not null or undefined
13012
+ assertParamExists('mongoDeleteRBACRole', 'expectedRevision', expectedRevision)
13013
+ const localVarPath = `/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/roles/{database}/{roleName}`
13014
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13015
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
13016
+ .replace(`{${"database"}}`, encodeURIComponent(String(database)))
13017
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
13018
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13019
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13020
+ let baseOptions;
13021
+ if (configuration) {
13022
+ baseOptions = configuration.baseOptions;
13023
+ }
13024
+
13025
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
13026
+ const localVarHeaderParameter = {} as any;
13027
+ const localVarQueryParameter = {} as any;
13028
+
13029
+ // authentication BearerToken required
13030
+ // http bearer authentication required
13031
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13032
+
13033
+ // authentication DigestAuth required
13034
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13035
+
13036
+ if (expectedRevision !== undefined) {
13037
+ localVarQueryParameter['expectedRevision'] = expectedRevision;
13038
+ }
13039
+
13040
+
13041
+
13042
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13043
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13044
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13045
+
13046
+ return {
13047
+ url: toPathString(localVarUrlObj),
13048
+ options: localVarRequestOptions,
13049
+ };
13050
+ },
13051
+ /**
13052
+ *
13053
+ * @summary DeleteRBACUser
13054
+ * @param {string} orgName
13055
+ * @param {string} clusterName
13056
+ * @param {string} database
13057
+ * @param {string} username
13058
+ * @param {*} [options] Override http request option.
13059
+ * @throws {RequiredError}
13060
+ */
13061
+ mongoDeleteRBACUser: async (orgName: string, clusterName: string, database: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13062
+ // verify required parameter 'orgName' is not null or undefined
13063
+ assertParamExists('mongoDeleteRBACUser', 'orgName', orgName)
13064
+ // verify required parameter 'clusterName' is not null or undefined
13065
+ assertParamExists('mongoDeleteRBACUser', 'clusterName', clusterName)
13066
+ // verify required parameter 'database' is not null or undefined
13067
+ assertParamExists('mongoDeleteRBACUser', 'database', database)
13068
+ // verify required parameter 'username' is not null or undefined
13069
+ assertParamExists('mongoDeleteRBACUser', 'username', username)
13070
+ const localVarPath = `/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/users/{database}/{username}`
13071
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13072
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
13073
+ .replace(`{${"database"}}`, encodeURIComponent(String(database)))
13074
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
13075
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13076
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13077
+ let baseOptions;
13078
+ if (configuration) {
13079
+ baseOptions = configuration.baseOptions;
13080
+ }
13081
+
13082
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
13083
+ const localVarHeaderParameter = {} as any;
13084
+ const localVarQueryParameter = {} as any;
13085
+
13086
+ // authentication BearerToken required
13087
+ // http bearer authentication required
13088
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13089
+
13090
+ // authentication DigestAuth required
13091
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13092
+
13093
+
13094
+
13095
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13096
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13097
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13098
+
13099
+ return {
13100
+ url: toPathString(localVarUrlObj),
13101
+ options: localVarRequestOptions,
13102
+ };
13103
+ },
13104
+ /**
13105
+ *
13106
+ * @summary GetRBACCapabilities
13107
+ * @param {string} orgName
13108
+ * @param {string} clusterName
13109
+ * @param {*} [options] Override http request option.
13110
+ * @throws {RequiredError}
13111
+ */
13112
+ mongoGetRBACCapabilities: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13113
+ // verify required parameter 'orgName' is not null or undefined
13114
+ assertParamExists('mongoGetRBACCapabilities', 'orgName', orgName)
13115
+ // verify required parameter 'clusterName' is not null or undefined
13116
+ assertParamExists('mongoGetRBACCapabilities', 'clusterName', clusterName)
13117
+ const localVarPath = `/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/capabilities`
13118
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13119
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
13120
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13121
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13122
+ let baseOptions;
13123
+ if (configuration) {
13124
+ baseOptions = configuration.baseOptions;
13125
+ }
13126
+
13127
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13128
+ const localVarHeaderParameter = {} as any;
13129
+ const localVarQueryParameter = {} as any;
13130
+
13131
+ // authentication BearerToken required
13132
+ // http bearer authentication required
13133
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13134
+
13135
+ // authentication DigestAuth required
13136
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13137
+
13138
+
13139
+
13140
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13141
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13142
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13143
+
13144
+ return {
13145
+ url: toPathString(localVarUrlObj),
13146
+ options: localVarRequestOptions,
13147
+ };
13148
+ },
13149
+ /**
13150
+ *
13151
+ * @summary GetRBACRole
13152
+ * @param {string} orgName
13153
+ * @param {string} clusterName
13154
+ * @param {string} database
13155
+ * @param {string} roleName
13156
+ * @param {*} [options] Override http request option.
13157
+ * @throws {RequiredError}
13158
+ */
13159
+ mongoGetRBACRole: async (orgName: string, clusterName: string, database: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13160
+ // verify required parameter 'orgName' is not null or undefined
13161
+ assertParamExists('mongoGetRBACRole', 'orgName', orgName)
13162
+ // verify required parameter 'clusterName' is not null or undefined
13163
+ assertParamExists('mongoGetRBACRole', 'clusterName', clusterName)
13164
+ // verify required parameter 'database' is not null or undefined
13165
+ assertParamExists('mongoGetRBACRole', 'database', database)
13166
+ // verify required parameter 'roleName' is not null or undefined
13167
+ assertParamExists('mongoGetRBACRole', 'roleName', roleName)
13168
+ const localVarPath = `/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/roles/{database}/{roleName}`
13169
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13170
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
13171
+ .replace(`{${"database"}}`, encodeURIComponent(String(database)))
13172
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
13173
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13174
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13175
+ let baseOptions;
13176
+ if (configuration) {
13177
+ baseOptions = configuration.baseOptions;
13178
+ }
13179
+
13180
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13181
+ const localVarHeaderParameter = {} as any;
13182
+ const localVarQueryParameter = {} as any;
13183
+
13184
+ // authentication BearerToken required
13185
+ // http bearer authentication required
13186
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13187
+
13188
+ // authentication DigestAuth required
13189
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13190
+
13191
+
13192
+
13193
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13194
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13195
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13196
+
13197
+ return {
13198
+ url: toPathString(localVarUrlObj),
13199
+ options: localVarRequestOptions,
13200
+ };
13201
+ },
13202
+ /**
13203
+ *
13204
+ * @summary GetRBACUser
13205
+ * @param {string} orgName
13206
+ * @param {string} clusterName
13207
+ * @param {string} database
13208
+ * @param {string} username
13209
+ * @param {*} [options] Override http request option.
13210
+ * @throws {RequiredError}
13211
+ */
13212
+ mongoGetRBACUser: async (orgName: string, clusterName: string, database: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13213
+ // verify required parameter 'orgName' is not null or undefined
13214
+ assertParamExists('mongoGetRBACUser', 'orgName', orgName)
13215
+ // verify required parameter 'clusterName' is not null or undefined
13216
+ assertParamExists('mongoGetRBACUser', 'clusterName', clusterName)
13217
+ // verify required parameter 'database' is not null or undefined
13218
+ assertParamExists('mongoGetRBACUser', 'database', database)
13219
+ // verify required parameter 'username' is not null or undefined
13220
+ assertParamExists('mongoGetRBACUser', 'username', username)
13221
+ const localVarPath = `/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/users/{database}/{username}`
13222
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13223
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
13224
+ .replace(`{${"database"}}`, encodeURIComponent(String(database)))
13225
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
13226
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13227
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13228
+ let baseOptions;
13229
+ if (configuration) {
13230
+ baseOptions = configuration.baseOptions;
13231
+ }
13232
+
13233
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13234
+ const localVarHeaderParameter = {} as any;
13235
+ const localVarQueryParameter = {} as any;
13236
+
13237
+ // authentication BearerToken required
13238
+ // http bearer authentication required
13239
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13240
+
13241
+ // authentication DigestAuth required
13242
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13243
+
13244
+
13245
+
13246
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13247
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13248
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13249
+
13250
+ return {
13251
+ url: toPathString(localVarUrlObj),
13252
+ options: localVarRequestOptions,
13253
+ };
13254
+ },
13255
+ /**
13256
+ *
13257
+ * @summary ListRBACRoles
13258
+ * @param {string} orgName
13259
+ * @param {string} clusterName
13260
+ * @param {string} [database]
13261
+ * @param {*} [options] Override http request option.
13262
+ * @throws {RequiredError}
13263
+ */
13264
+ mongoListRBACRoles: async (orgName: string, clusterName: string, database?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13265
+ // verify required parameter 'orgName' is not null or undefined
13266
+ assertParamExists('mongoListRBACRoles', 'orgName', orgName)
13267
+ // verify required parameter 'clusterName' is not null or undefined
13268
+ assertParamExists('mongoListRBACRoles', 'clusterName', clusterName)
13269
+ const localVarPath = `/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/roles`
13270
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13271
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
13272
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13273
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13274
+ let baseOptions;
13275
+ if (configuration) {
13276
+ baseOptions = configuration.baseOptions;
13277
+ }
13278
+
13279
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13280
+ const localVarHeaderParameter = {} as any;
13281
+ const localVarQueryParameter = {} as any;
13282
+
13283
+ // authentication BearerToken required
13284
+ // http bearer authentication required
13285
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13286
+
13287
+ // authentication DigestAuth required
13288
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13289
+
13290
+ if (database !== undefined) {
13291
+ localVarQueryParameter['database'] = database;
13292
+ }
13293
+
13294
+
13295
+
13296
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13297
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13298
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13299
+
13300
+ return {
13301
+ url: toPathString(localVarUrlObj),
13302
+ options: localVarRequestOptions,
13303
+ };
13304
+ },
13305
+ /**
13306
+ *
13307
+ * @summary ListRBACUsers
13308
+ * @param {string} orgName
13309
+ * @param {string} clusterName
13310
+ * @param {string} [database]
13311
+ * @param {*} [options] Override http request option.
13312
+ * @throws {RequiredError}
13313
+ */
13314
+ mongoListRBACUsers: async (orgName: string, clusterName: string, database?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13315
+ // verify required parameter 'orgName' is not null or undefined
13316
+ assertParamExists('mongoListRBACUsers', 'orgName', orgName)
13317
+ // verify required parameter 'clusterName' is not null or undefined
13318
+ assertParamExists('mongoListRBACUsers', 'clusterName', clusterName)
13319
+ const localVarPath = `/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/users`
13320
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13321
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
13322
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13323
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13324
+ let baseOptions;
13325
+ if (configuration) {
13326
+ baseOptions = configuration.baseOptions;
13327
+ }
13328
+
13329
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13330
+ const localVarHeaderParameter = {} as any;
13331
+ const localVarQueryParameter = {} as any;
13332
+
13333
+ // authentication BearerToken required
13334
+ // http bearer authentication required
13335
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13336
+
13337
+ // authentication DigestAuth required
13338
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13339
+
13340
+ if (database !== undefined) {
13341
+ localVarQueryParameter['database'] = database;
13342
+ }
13343
+
13344
+
13345
+
13346
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13347
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13348
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13349
+
13350
+ return {
13351
+ url: toPathString(localVarUrlObj),
13352
+ options: localVarRequestOptions,
13353
+ };
13354
+ },
13355
+ /**
13356
+ *
13357
+ * @summary UpdateRBACRole
13358
+ * @param {string} orgName
13359
+ * @param {string} clusterName
13360
+ * @param {string} database
13361
+ * @param {string} roleName
13362
+ * @param {MongoRBACRoleWrite} mongoRBACRoleWrite
13363
+ * @param {*} [options] Override http request option.
13364
+ * @throws {RequiredError}
13365
+ */
13366
+ mongoUpdateRBACRole: async (orgName: string, clusterName: string, database: string, roleName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13367
+ // verify required parameter 'orgName' is not null or undefined
13368
+ assertParamExists('mongoUpdateRBACRole', 'orgName', orgName)
13369
+ // verify required parameter 'clusterName' is not null or undefined
13370
+ assertParamExists('mongoUpdateRBACRole', 'clusterName', clusterName)
13371
+ // verify required parameter 'database' is not null or undefined
13372
+ assertParamExists('mongoUpdateRBACRole', 'database', database)
13373
+ // verify required parameter 'roleName' is not null or undefined
13374
+ assertParamExists('mongoUpdateRBACRole', 'roleName', roleName)
13375
+ // verify required parameter 'mongoRBACRoleWrite' is not null or undefined
13376
+ assertParamExists('mongoUpdateRBACRole', 'mongoRBACRoleWrite', mongoRBACRoleWrite)
13377
+ const localVarPath = `/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/roles/{database}/{roleName}`
13378
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13379
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
13380
+ .replace(`{${"database"}}`, encodeURIComponent(String(database)))
13381
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
13382
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13383
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13384
+ let baseOptions;
13385
+ if (configuration) {
13386
+ baseOptions = configuration.baseOptions;
13387
+ }
13388
+
13389
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
13390
+ const localVarHeaderParameter = {} as any;
13391
+ const localVarQueryParameter = {} as any;
13392
+
13393
+ // authentication BearerToken required
13394
+ // http bearer authentication required
13395
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13396
+
13397
+ // authentication DigestAuth required
13398
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13399
+
13400
+
13401
+
13402
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13403
+
13404
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13405
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13406
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13407
+ localVarRequestOptions.data = serializeDataIfNeeded(mongoRBACRoleWrite, localVarRequestOptions, configuration)
13408
+
13409
+ return {
13410
+ url: toPathString(localVarUrlObj),
13411
+ options: localVarRequestOptions,
13412
+ };
13413
+ },
13414
+ /**
13415
+ * partially update the specified apikey
13416
+ * @summary Update apikey information
13417
+ * @param {string} keyName Name of the apikey
13418
+ * @param {ApikeyCreate} body
13419
+ * @param {*} [options] Override http request option.
13420
+ * @throws {RequiredError}
13421
+ */
13422
+ patchAPIkey: async (keyName: string, body: ApikeyCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13423
+ // verify required parameter 'keyName' is not null or undefined
13424
+ assertParamExists('patchAPIkey', 'keyName', keyName)
13425
+ // verify required parameter 'body' is not null or undefined
13426
+ assertParamExists('patchAPIkey', 'body', body)
13427
+ const localVarPath = `/api/v1/user/apikey/{keyName}`
13428
+ .replace(`{${"keyName"}}`, encodeURIComponent(String(keyName)));
13429
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13430
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13431
+ let baseOptions;
13432
+ if (configuration) {
13433
+ baseOptions = configuration.baseOptions;
13434
+ }
13435
+
13436
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
13437
+ const localVarHeaderParameter = {} as any;
13438
+ const localVarQueryParameter = {} as any;
13439
+
13440
+ // authentication BearerToken required
13441
+ // http bearer authentication required
13442
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13443
+
13444
+ // authentication DigestAuth required
13445
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13446
+
13447
+
13448
+
13449
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13450
+
13451
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13452
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13453
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13454
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
13455
+
13456
+ return {
13457
+ url: toPathString(localVarUrlObj),
13458
+ options: localVarRequestOptions,
13459
+ };
13460
+ },
13461
+ /**
13462
+ * Update the specified Cluster
13463
+ * @summary Update cluster specified fields
13464
+ * @param {string} orgName name of the Org
13465
+ * @param {string} clusterName name of the KubeBlocks cluster
13466
+ * @param {ClusterUpdate} body
13467
+ * @param {*} [options] Override http request option.
13468
+ * @throws {RequiredError}
13469
+ */
13470
+ patchCluster: async (orgName: string, clusterName: string, body: ClusterUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13471
+ // verify required parameter 'orgName' is not null or undefined
13472
+ assertParamExists('patchCluster', 'orgName', orgName)
13473
+ // verify required parameter 'clusterName' is not null or undefined
13474
+ assertParamExists('patchCluster', 'clusterName', clusterName)
13475
+ // verify required parameter 'body' is not null or undefined
13476
+ assertParamExists('patchCluster', 'body', body)
13477
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}`
13478
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13479
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
12743
13480
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12744
13481
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12745
13482
  let baseOptions;
@@ -12922,8 +13659,8 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12922
13659
  };
12923
13660
  },
12924
13661
  /**
12925
- * 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.
12926
- * @summary Preview clearing all MySQL account privileges
13662
+ * 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.
13663
+ * @summary Preview clearing explicit account privileges
12927
13664
  * @param {string} engineName
12928
13665
  * @param {string} orgName
12929
13666
  * @param {string} clusterName
@@ -12931,10 +13668,12 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12931
13668
  * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
12932
13669
  * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
12933
13670
  * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
13671
+ * @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
13672
+ * @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.
12934
13673
  * @param {*} [options] Override http request option.
12935
13674
  * @throws {RequiredError}
12936
13675
  */
12937
- previewAccountPrivilegeReset: async (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13676
+ previewAccountPrivilegeReset: async (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseNames?: Array<string>, allDatabases?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12938
13677
  // verify required parameter 'engineName' is not null or undefined
12939
13678
  assertParamExists('previewAccountPrivilegeReset', 'engineName', engineName)
12940
13679
  // verify required parameter 'orgName' is not null or undefined
@@ -12978,6 +13717,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12978
13717
  localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
12979
13718
  }
12980
13719
 
13720
+ if (databaseNames) {
13721
+ localVarQueryParameter['databaseNames'] = databaseNames;
13722
+ }
13723
+
13724
+ if (allDatabases !== undefined) {
13725
+ localVarQueryParameter['allDatabases'] = allDatabases;
13726
+ }
13727
+
12981
13728
 
12982
13729
 
12983
13730
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -15161,8 +15908,8 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
15161
15908
  };
15162
15909
  },
15163
15910
  /**
15164
- * 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.
15165
- * @summary Clear all MySQL account privileges
15911
+ * 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.
15912
+ * @summary Clear explicit account privileges
15166
15913
  * @param {string} engineName
15167
15914
  * @param {string} orgName
15168
15915
  * @param {string} clusterName
@@ -15170,10 +15917,12 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
15170
15917
  * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
15171
15918
  * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
15172
15919
  * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
15920
+ * @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
15921
+ * @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.
15173
15922
  * @param {*} [options] Override http request option.
15174
15923
  * @throws {RequiredError}
15175
15924
  */
15176
- resetAccountPrivileges: async (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15925
+ resetAccountPrivileges: async (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, databaseNames?: Array<string>, allDatabases?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15177
15926
  // verify required parameter 'engineName' is not null or undefined
15178
15927
  assertParamExists('resetAccountPrivileges', 'engineName', engineName)
15179
15928
  // verify required parameter 'orgName' is not null or undefined
@@ -15217,6 +15966,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
15217
15966
  localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
15218
15967
  }
15219
15968
 
15969
+ if (databaseNames) {
15970
+ localVarQueryParameter['databaseNames'] = databaseNames;
15971
+ }
15972
+
15973
+ if (allDatabases !== undefined) {
15974
+ localVarQueryParameter['allDatabases'] = allDatabases;
15975
+ }
15976
+
15220
15977
 
15221
15978
 
15222
15979
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -19898,6 +20655,26 @@ export const SharedApiFp = function(configuration?: Configuration) {
19898
20655
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getAccountObjectPrivileges']?.[localVarOperationServerIndex]?.url;
19899
20656
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19900
20657
  },
20658
+ /**
20659
+ * 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.
20660
+ * @summary Read native account privilege summary or selected database evidence
20661
+ * @param {string} engineName
20662
+ * @param {string} orgName
20663
+ * @param {string} clusterName
20664
+ * @param {string} accountName
20665
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
20666
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
20667
+ * @param {string} [subjectQualifiers]
20668
+ * @param {string} [databaseName] PostgreSQL database to inspect on demand. Omit for the global summary.
20669
+ * @param {*} [options] Override http request option.
20670
+ * @throws {RequiredError}
20671
+ */
20672
+ async 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>>> {
20673
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountPrivilegeOverview(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, databaseName, options);
20674
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20675
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getAccountPrivilegeOverview']?.[localVarOperationServerIndex]?.url;
20676
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20677
+ },
19901
20678
  /**
19902
20679
  *
19903
20680
  * @summary Get alert config
@@ -20847,20 +21624,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
20847
21624
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20848
21625
  },
20849
21626
  /**
20850
- * 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.
21627
+ * 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.
20851
21628
  * @summary List exact column names for account object privileges
20852
21629
  * @param {string} engineName
20853
21630
  * @param {string} orgName
20854
21631
  * @param {string} clusterName
20855
21632
  * @param {string} accountName
20856
- * @param {string} objectType Object type, either table or view
21633
+ * @param {string} objectType Object type, table/view; PostgreSQL also supports materializedView/foreignTable
20857
21634
  * @param {string} databaseName
20858
21635
  * @param {string} objectName
21636
+ * @param {string} [schemaName] Required for PostgreSQL; not accepted for MySQL
20859
21637
  * @param {*} [options] Override http request option.
20860
21638
  * @throws {RequiredError}
20861
21639
  */
20862
- async 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>>> {
20863
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountObjectPrivilegeColumns(engineName, orgName, clusterName, accountName, objectType, databaseName, objectName, options);
21640
+ async 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>>> {
21641
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountObjectPrivilegeColumns(engineName, orgName, clusterName, accountName, objectType, databaseName, objectName, schemaName, options);
20864
21642
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20865
21643
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listAccountObjectPrivilegeColumns']?.[localVarOperationServerIndex]?.url;
20866
21644
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -21902,6 +22680,196 @@ export const SharedApiFp = function(configuration?: Configuration) {
21902
22680
  const localVarOperationServerBasePath = operationServerMap['SharedApi.markClusterRestoreCompleted']?.[localVarOperationServerIndex]?.url;
21903
22681
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21904
22682
  },
22683
+ /**
22684
+ *
22685
+ * @summary ChangeRBACUserPassword
22686
+ * @param {string} orgName
22687
+ * @param {string} clusterName
22688
+ * @param {string} database
22689
+ * @param {string} username
22690
+ * @param {MongoRBACPasswordChange} mongoRBACPasswordChange
22691
+ * @param {*} [options] Override http request option.
22692
+ * @throws {RequiredError}
22693
+ */
22694
+ async mongoChangeRBACUserPassword(orgName: string, clusterName: string, database: string, username: string, mongoRBACPasswordChange: MongoRBACPasswordChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22695
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoChangeRBACUserPassword(orgName, clusterName, database, username, mongoRBACPasswordChange, options);
22696
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22697
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.mongoChangeRBACUserPassword']?.[localVarOperationServerIndex]?.url;
22698
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22699
+ },
22700
+ /**
22701
+ *
22702
+ * @summary ChangeRBACUserRoles
22703
+ * @param {string} orgName
22704
+ * @param {string} clusterName
22705
+ * @param {string} database
22706
+ * @param {string} username
22707
+ * @param {MongoRBACBindingChange} mongoRBACBindingChange
22708
+ * @param {*} [options] Override http request option.
22709
+ * @throws {RequiredError}
22710
+ */
22711
+ async mongoChangeRBACUserRoles(orgName: string, clusterName: string, database: string, username: string, mongoRBACBindingChange: MongoRBACBindingChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22712
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoChangeRBACUserRoles(orgName, clusterName, database, username, mongoRBACBindingChange, options);
22713
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22714
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.mongoChangeRBACUserRoles']?.[localVarOperationServerIndex]?.url;
22715
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22716
+ },
22717
+ /**
22718
+ *
22719
+ * @summary CreateRBACRole
22720
+ * @param {string} orgName
22721
+ * @param {string} clusterName
22722
+ * @param {MongoRBACRoleWrite} mongoRBACRoleWrite
22723
+ * @param {*} [options] Override http request option.
22724
+ * @throws {RequiredError}
22725
+ */
22726
+ async mongoCreateRBACRole(orgName: string, clusterName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22727
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCreateRBACRole(orgName, clusterName, mongoRBACRoleWrite, options);
22728
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22729
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.mongoCreateRBACRole']?.[localVarOperationServerIndex]?.url;
22730
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22731
+ },
22732
+ /**
22733
+ *
22734
+ * @summary CreateRBACUser
22735
+ * @param {string} orgName
22736
+ * @param {string} clusterName
22737
+ * @param {MongoRBACUserCreate} mongoRBACUserCreate
22738
+ * @param {*} [options] Override http request option.
22739
+ * @throws {RequiredError}
22740
+ */
22741
+ async mongoCreateRBACUser(orgName: string, clusterName: string, mongoRBACUserCreate: MongoRBACUserCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22742
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCreateRBACUser(orgName, clusterName, mongoRBACUserCreate, options);
22743
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22744
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.mongoCreateRBACUser']?.[localVarOperationServerIndex]?.url;
22745
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22746
+ },
22747
+ /**
22748
+ *
22749
+ * @summary DeleteRBACRole
22750
+ * @param {string} orgName
22751
+ * @param {string} clusterName
22752
+ * @param {string} database
22753
+ * @param {string} roleName
22754
+ * @param {string} expectedRevision
22755
+ * @param {*} [options] Override http request option.
22756
+ * @throws {RequiredError}
22757
+ */
22758
+ async mongoDeleteRBACRole(orgName: string, clusterName: string, database: string, roleName: string, expectedRevision: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22759
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoDeleteRBACRole(orgName, clusterName, database, roleName, expectedRevision, options);
22760
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22761
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.mongoDeleteRBACRole']?.[localVarOperationServerIndex]?.url;
22762
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22763
+ },
22764
+ /**
22765
+ *
22766
+ * @summary DeleteRBACUser
22767
+ * @param {string} orgName
22768
+ * @param {string} clusterName
22769
+ * @param {string} database
22770
+ * @param {string} username
22771
+ * @param {*} [options] Override http request option.
22772
+ * @throws {RequiredError}
22773
+ */
22774
+ async mongoDeleteRBACUser(orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22775
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoDeleteRBACUser(orgName, clusterName, database, username, options);
22776
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22777
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.mongoDeleteRBACUser']?.[localVarOperationServerIndex]?.url;
22778
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22779
+ },
22780
+ /**
22781
+ *
22782
+ * @summary GetRBACCapabilities
22783
+ * @param {string} orgName
22784
+ * @param {string} clusterName
22785
+ * @param {*} [options] Override http request option.
22786
+ * @throws {RequiredError}
22787
+ */
22788
+ async mongoGetRBACCapabilities(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MongoRBACCapabilities>> {
22789
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoGetRBACCapabilities(orgName, clusterName, options);
22790
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22791
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.mongoGetRBACCapabilities']?.[localVarOperationServerIndex]?.url;
22792
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22793
+ },
22794
+ /**
22795
+ *
22796
+ * @summary GetRBACRole
22797
+ * @param {string} orgName
22798
+ * @param {string} clusterName
22799
+ * @param {string} database
22800
+ * @param {string} roleName
22801
+ * @param {*} [options] Override http request option.
22802
+ * @throws {RequiredError}
22803
+ */
22804
+ async mongoGetRBACRole(orgName: string, clusterName: string, database: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MongoRBACRole>> {
22805
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoGetRBACRole(orgName, clusterName, database, roleName, options);
22806
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22807
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.mongoGetRBACRole']?.[localVarOperationServerIndex]?.url;
22808
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22809
+ },
22810
+ /**
22811
+ *
22812
+ * @summary GetRBACUser
22813
+ * @param {string} orgName
22814
+ * @param {string} clusterName
22815
+ * @param {string} database
22816
+ * @param {string} username
22817
+ * @param {*} [options] Override http request option.
22818
+ * @throws {RequiredError}
22819
+ */
22820
+ async mongoGetRBACUser(orgName: string, clusterName: string, database: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MongoRBACUser>> {
22821
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoGetRBACUser(orgName, clusterName, database, username, options);
22822
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22823
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.mongoGetRBACUser']?.[localVarOperationServerIndex]?.url;
22824
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22825
+ },
22826
+ /**
22827
+ *
22828
+ * @summary ListRBACRoles
22829
+ * @param {string} orgName
22830
+ * @param {string} clusterName
22831
+ * @param {string} [database]
22832
+ * @param {*} [options] Override http request option.
22833
+ * @throws {RequiredError}
22834
+ */
22835
+ async mongoListRBACRoles(orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MongoRBACRole>>> {
22836
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoListRBACRoles(orgName, clusterName, database, options);
22837
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22838
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.mongoListRBACRoles']?.[localVarOperationServerIndex]?.url;
22839
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22840
+ },
22841
+ /**
22842
+ *
22843
+ * @summary ListRBACUsers
22844
+ * @param {string} orgName
22845
+ * @param {string} clusterName
22846
+ * @param {string} [database]
22847
+ * @param {*} [options] Override http request option.
22848
+ * @throws {RequiredError}
22849
+ */
22850
+ async mongoListRBACUsers(orgName: string, clusterName: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MongoRBACUser>>> {
22851
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoListRBACUsers(orgName, clusterName, database, options);
22852
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22853
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.mongoListRBACUsers']?.[localVarOperationServerIndex]?.url;
22854
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22855
+ },
22856
+ /**
22857
+ *
22858
+ * @summary UpdateRBACRole
22859
+ * @param {string} orgName
22860
+ * @param {string} clusterName
22861
+ * @param {string} database
22862
+ * @param {string} roleName
22863
+ * @param {MongoRBACRoleWrite} mongoRBACRoleWrite
22864
+ * @param {*} [options] Override http request option.
22865
+ * @throws {RequiredError}
22866
+ */
22867
+ async mongoUpdateRBACRole(orgName: string, clusterName: string, database: string, roleName: string, mongoRBACRoleWrite: MongoRBACRoleWrite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22868
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoUpdateRBACRole(orgName, clusterName, database, roleName, mongoRBACRoleWrite, options);
22869
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22870
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.mongoUpdateRBACRole']?.[localVarOperationServerIndex]?.url;
22871
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22872
+ },
21905
22873
  /**
21906
22874
  * partially update the specified apikey
21907
22875
  * @summary Update apikey information
@@ -21976,8 +22944,8 @@ export const SharedApiFp = function(configuration?: Configuration) {
21976
22944
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21977
22945
  },
21978
22946
  /**
21979
- * 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.
21980
- * @summary Preview clearing all MySQL account privileges
22947
+ * 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.
22948
+ * @summary Preview clearing explicit account privileges
21981
22949
  * @param {string} engineName
21982
22950
  * @param {string} orgName
21983
22951
  * @param {string} clusterName
@@ -21985,11 +22953,13 @@ export const SharedApiFp = function(configuration?: Configuration) {
21985
22953
  * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
21986
22954
  * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
21987
22955
  * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
22956
+ * @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
22957
+ * @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.
21988
22958
  * @param {*} [options] Override http request option.
21989
22959
  * @throws {RequiredError}
21990
22960
  */
21991
- async 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>>> {
21992
- const localVarAxiosArgs = await localVarAxiosParamCreator.previewAccountPrivilegeReset(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options);
22961
+ async 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>>> {
22962
+ const localVarAxiosArgs = await localVarAxiosParamCreator.previewAccountPrivilegeReset(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, databaseNames, allDatabases, options);
21993
22963
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21994
22964
  const localVarOperationServerBasePath = operationServerMap['SharedApi.previewAccountPrivilegeReset']?.[localVarOperationServerIndex]?.url;
21995
22965
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -22555,8 +23525,8 @@ export const SharedApiFp = function(configuration?: Configuration) {
22555
23525
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22556
23526
  },
22557
23527
  /**
22558
- * 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.
22559
- * @summary Clear all MySQL account privileges
23528
+ * 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.
23529
+ * @summary Clear explicit account privileges
22560
23530
  * @param {string} engineName
22561
23531
  * @param {string} orgName
22562
23532
  * @param {string} clusterName
@@ -22564,11 +23534,13 @@ export const SharedApiFp = function(configuration?: Configuration) {
22564
23534
  * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
22565
23535
  * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
22566
23536
  * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
23537
+ * @param {Array<string>} [databaseNames] PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
23538
+ * @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.
22567
23539
  * @param {*} [options] Override http request option.
22568
23540
  * @throws {RequiredError}
22569
23541
  */
22570
- async resetAccountPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22571
- const localVarAxiosArgs = await localVarAxiosParamCreator.resetAccountPrivileges(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options);
23542
+ async 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>> {
23543
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resetAccountPrivileges(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, databaseNames, allDatabases, options);
22572
23544
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22573
23545
  const localVarOperationServerBasePath = operationServerMap['SharedApi.resetAccountPrivileges']?.[localVarOperationServerIndex]?.url;
22574
23546
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -24469,6 +25441,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24469
25441
  getAccountObjectPrivileges(requestParameters: SharedApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeSnapshot> {
24470
25442
  return localVarFp.getAccountObjectPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.schemaName, requestParameters.objectName, requestParameters.objectId, requestParameters.subjectType, requestParameters.host, requestParameters.catalogName, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
24471
25443
  },
25444
+ /**
25445
+ * 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.
25446
+ * @summary Read native account privilege summary or selected database evidence
25447
+ * @param {SharedApiGetAccountPrivilegeOverviewRequest} requestParameters Request parameters.
25448
+ * @param {*} [options] Override http request option.
25449
+ * @throws {RequiredError}
25450
+ */
25451
+ getAccountPrivilegeOverview(requestParameters: SharedApiGetAccountPrivilegeOverviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeEvidence>> {
25452
+ return localVarFp.getAccountPrivilegeOverview(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, requestParameters.databaseName, options).then((request) => request(axios, basePath));
25453
+ },
24472
25454
  /**
24473
25455
  *
24474
25456
  * @summary Get alert config
@@ -25068,14 +26050,14 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
25068
26050
  return localVarFp.killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(axios, basePath));
25069
26051
  },
25070
26052
  /**
25071
- * 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.
26053
+ * 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.
25072
26054
  * @summary List exact column names for account object privileges
25073
26055
  * @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
25074
26056
  * @param {*} [options] Override http request option.
25075
26057
  * @throws {RequiredError}
25076
26058
  */
25077
26059
  listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
25078
- return localVarFp.listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, options).then((request) => request(axios, basePath));
26060
+ return localVarFp.listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, requestParameters.schemaName, options).then((request) => request(axios, basePath));
25079
26061
  },
25080
26062
  /**
25081
26063
  * 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.
@@ -25765,6 +26747,126 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
25765
26747
  markClusterRestoreCompleted(requestParameters: SharedApiMarkClusterRestoreCompletedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
25766
26748
  return localVarFp.markClusterRestoreCompleted(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
25767
26749
  },
26750
+ /**
26751
+ *
26752
+ * @summary ChangeRBACUserPassword
26753
+ * @param {SharedApiMongoChangeRBACUserPasswordRequest} requestParameters Request parameters.
26754
+ * @param {*} [options] Override http request option.
26755
+ * @throws {RequiredError}
26756
+ */
26757
+ mongoChangeRBACUserPassword(requestParameters: SharedApiMongoChangeRBACUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
26758
+ return localVarFp.mongoChangeRBACUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.username, requestParameters.mongoRBACPasswordChange, options).then((request) => request(axios, basePath));
26759
+ },
26760
+ /**
26761
+ *
26762
+ * @summary ChangeRBACUserRoles
26763
+ * @param {SharedApiMongoChangeRBACUserRolesRequest} requestParameters Request parameters.
26764
+ * @param {*} [options] Override http request option.
26765
+ * @throws {RequiredError}
26766
+ */
26767
+ mongoChangeRBACUserRoles(requestParameters: SharedApiMongoChangeRBACUserRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
26768
+ return localVarFp.mongoChangeRBACUserRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.username, requestParameters.mongoRBACBindingChange, options).then((request) => request(axios, basePath));
26769
+ },
26770
+ /**
26771
+ *
26772
+ * @summary CreateRBACRole
26773
+ * @param {SharedApiMongoCreateRBACRoleRequest} requestParameters Request parameters.
26774
+ * @param {*} [options] Override http request option.
26775
+ * @throws {RequiredError}
26776
+ */
26777
+ mongoCreateRBACRole(requestParameters: SharedApiMongoCreateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
26778
+ return localVarFp.mongoCreateRBACRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.mongoRBACRoleWrite, options).then((request) => request(axios, basePath));
26779
+ },
26780
+ /**
26781
+ *
26782
+ * @summary CreateRBACUser
26783
+ * @param {SharedApiMongoCreateRBACUserRequest} requestParameters Request parameters.
26784
+ * @param {*} [options] Override http request option.
26785
+ * @throws {RequiredError}
26786
+ */
26787
+ mongoCreateRBACUser(requestParameters: SharedApiMongoCreateRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
26788
+ return localVarFp.mongoCreateRBACUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.mongoRBACUserCreate, options).then((request) => request(axios, basePath));
26789
+ },
26790
+ /**
26791
+ *
26792
+ * @summary DeleteRBACRole
26793
+ * @param {SharedApiMongoDeleteRBACRoleRequest} requestParameters Request parameters.
26794
+ * @param {*} [options] Override http request option.
26795
+ * @throws {RequiredError}
26796
+ */
26797
+ mongoDeleteRBACRole(requestParameters: SharedApiMongoDeleteRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
26798
+ return localVarFp.mongoDeleteRBACRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.roleName, requestParameters.expectedRevision, options).then((request) => request(axios, basePath));
26799
+ },
26800
+ /**
26801
+ *
26802
+ * @summary DeleteRBACUser
26803
+ * @param {SharedApiMongoDeleteRBACUserRequest} requestParameters Request parameters.
26804
+ * @param {*} [options] Override http request option.
26805
+ * @throws {RequiredError}
26806
+ */
26807
+ mongoDeleteRBACUser(requestParameters: SharedApiMongoDeleteRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
26808
+ return localVarFp.mongoDeleteRBACUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.username, options).then((request) => request(axios, basePath));
26809
+ },
26810
+ /**
26811
+ *
26812
+ * @summary GetRBACCapabilities
26813
+ * @param {SharedApiMongoGetRBACCapabilitiesRequest} requestParameters Request parameters.
26814
+ * @param {*} [options] Override http request option.
26815
+ * @throws {RequiredError}
26816
+ */
26817
+ mongoGetRBACCapabilities(requestParameters: SharedApiMongoGetRBACCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACCapabilities> {
26818
+ return localVarFp.mongoGetRBACCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
26819
+ },
26820
+ /**
26821
+ *
26822
+ * @summary GetRBACRole
26823
+ * @param {SharedApiMongoGetRBACRoleRequest} requestParameters Request parameters.
26824
+ * @param {*} [options] Override http request option.
26825
+ * @throws {RequiredError}
26826
+ */
26827
+ mongoGetRBACRole(requestParameters: SharedApiMongoGetRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACRole> {
26828
+ return localVarFp.mongoGetRBACRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.roleName, options).then((request) => request(axios, basePath));
26829
+ },
26830
+ /**
26831
+ *
26832
+ * @summary GetRBACUser
26833
+ * @param {SharedApiMongoGetRBACUserRequest} requestParameters Request parameters.
26834
+ * @param {*} [options] Override http request option.
26835
+ * @throws {RequiredError}
26836
+ */
26837
+ mongoGetRBACUser(requestParameters: SharedApiMongoGetRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACUser> {
26838
+ return localVarFp.mongoGetRBACUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.username, options).then((request) => request(axios, basePath));
26839
+ },
26840
+ /**
26841
+ *
26842
+ * @summary ListRBACRoles
26843
+ * @param {SharedApiMongoListRBACRolesRequest} requestParameters Request parameters.
26844
+ * @param {*} [options] Override http request option.
26845
+ * @throws {RequiredError}
26846
+ */
26847
+ mongoListRBACRoles(requestParameters: SharedApiMongoListRBACRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACRole>> {
26848
+ return localVarFp.mongoListRBACRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, options).then((request) => request(axios, basePath));
26849
+ },
26850
+ /**
26851
+ *
26852
+ * @summary ListRBACUsers
26853
+ * @param {SharedApiMongoListRBACUsersRequest} requestParameters Request parameters.
26854
+ * @param {*} [options] Override http request option.
26855
+ * @throws {RequiredError}
26856
+ */
26857
+ mongoListRBACUsers(requestParameters: SharedApiMongoListRBACUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACUser>> {
26858
+ return localVarFp.mongoListRBACUsers(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, options).then((request) => request(axios, basePath));
26859
+ },
26860
+ /**
26861
+ *
26862
+ * @summary UpdateRBACRole
26863
+ * @param {SharedApiMongoUpdateRBACRoleRequest} requestParameters Request parameters.
26864
+ * @param {*} [options] Override http request option.
26865
+ * @throws {RequiredError}
26866
+ */
26867
+ mongoUpdateRBACRole(requestParameters: SharedApiMongoUpdateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
26868
+ return localVarFp.mongoUpdateRBACRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.roleName, requestParameters.mongoRBACRoleWrite, options).then((request) => request(axios, basePath));
26869
+ },
25768
26870
  /**
25769
26871
  * partially update the specified apikey
25770
26872
  * @summary Update apikey information
@@ -25816,14 +26918,14 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
25816
26918
  return localVarFp.patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
25817
26919
  },
25818
26920
  /**
25819
- * 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.
25820
- * @summary Preview clearing all MySQL account privileges
26921
+ * 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.
26922
+ * @summary Preview clearing explicit account privileges
25821
26923
  * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
25822
26924
  * @param {*} [options] Override http request option.
25823
26925
  * @throws {RequiredError}
25824
26926
  */
25825
26927
  previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>> {
25826
- return localVarFp.previewAccountPrivilegeReset(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
26928
+ return localVarFp.previewAccountPrivilegeReset(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, requestParameters.databaseNames, requestParameters.allDatabases, options).then((request) => request(axios, basePath));
25827
26929
  },
25828
26930
  /**
25829
26931
  *
@@ -26105,14 +27207,14 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
26105
27207
  return localVarFp.reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
26106
27208
  },
26107
27209
  /**
26108
- * 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.
26109
- * @summary Clear all MySQL account privileges
27210
+ * 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.
27211
+ * @summary Clear explicit account privileges
26110
27212
  * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
26111
27213
  * @param {*} [options] Override http request option.
26112
27214
  * @throws {RequiredError}
26113
27215
  */
26114
27216
  resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
26115
- return localVarFp.resetAccountPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
27217
+ return localVarFp.resetAccountPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, requestParameters.databaseNames, requestParameters.allDatabases, options).then((request) => request(axios, basePath));
26116
27218
  },
26117
27219
  /**
26118
27220
  *
@@ -27683,6 +28785,16 @@ export interface SharedApiInterface {
27683
28785
  */
27684
28786
  getAccountObjectPrivileges(requestParameters: SharedApiGetAccountObjectPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ObjectPrivilegeSnapshot>;
27685
28787
 
28788
+ /**
28789
+ * 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.
28790
+ * @summary Read native account privilege summary or selected database evidence
28791
+ * @param {SharedApiGetAccountPrivilegeOverviewRequest} requestParameters Request parameters.
28792
+ * @param {*} [options] Override http request option.
28793
+ * @throws {RequiredError}
28794
+ * @memberof SharedApiInterface
28795
+ */
28796
+ getAccountPrivilegeOverview(requestParameters: SharedApiGetAccountPrivilegeOverviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeEvidence>>;
28797
+
27686
28798
  /**
27687
28799
  *
27688
28800
  * @summary Get alert config
@@ -28282,7 +29394,7 @@ export interface SharedApiInterface {
28282
29394
  killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
28283
29395
 
28284
29396
  /**
28285
- * 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.
29397
+ * 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.
28286
29398
  * @summary List exact column names for account object privileges
28287
29399
  * @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
28288
29400
  * @param {*} [options] Override http request option.
@@ -28979,6 +30091,126 @@ export interface SharedApiInterface {
28979
30091
  */
28980
30092
  markClusterRestoreCompleted(requestParameters: SharedApiMarkClusterRestoreCompletedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
28981
30093
 
30094
+ /**
30095
+ *
30096
+ * @summary ChangeRBACUserPassword
30097
+ * @param {SharedApiMongoChangeRBACUserPasswordRequest} requestParameters Request parameters.
30098
+ * @param {*} [options] Override http request option.
30099
+ * @throws {RequiredError}
30100
+ * @memberof SharedApiInterface
30101
+ */
30102
+ mongoChangeRBACUserPassword(requestParameters: SharedApiMongoChangeRBACUserPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
30103
+
30104
+ /**
30105
+ *
30106
+ * @summary ChangeRBACUserRoles
30107
+ * @param {SharedApiMongoChangeRBACUserRolesRequest} requestParameters Request parameters.
30108
+ * @param {*} [options] Override http request option.
30109
+ * @throws {RequiredError}
30110
+ * @memberof SharedApiInterface
30111
+ */
30112
+ mongoChangeRBACUserRoles(requestParameters: SharedApiMongoChangeRBACUserRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
30113
+
30114
+ /**
30115
+ *
30116
+ * @summary CreateRBACRole
30117
+ * @param {SharedApiMongoCreateRBACRoleRequest} requestParameters Request parameters.
30118
+ * @param {*} [options] Override http request option.
30119
+ * @throws {RequiredError}
30120
+ * @memberof SharedApiInterface
30121
+ */
30122
+ mongoCreateRBACRole(requestParameters: SharedApiMongoCreateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
30123
+
30124
+ /**
30125
+ *
30126
+ * @summary CreateRBACUser
30127
+ * @param {SharedApiMongoCreateRBACUserRequest} requestParameters Request parameters.
30128
+ * @param {*} [options] Override http request option.
30129
+ * @throws {RequiredError}
30130
+ * @memberof SharedApiInterface
30131
+ */
30132
+ mongoCreateRBACUser(requestParameters: SharedApiMongoCreateRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
30133
+
30134
+ /**
30135
+ *
30136
+ * @summary DeleteRBACRole
30137
+ * @param {SharedApiMongoDeleteRBACRoleRequest} requestParameters Request parameters.
30138
+ * @param {*} [options] Override http request option.
30139
+ * @throws {RequiredError}
30140
+ * @memberof SharedApiInterface
30141
+ */
30142
+ mongoDeleteRBACRole(requestParameters: SharedApiMongoDeleteRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
30143
+
30144
+ /**
30145
+ *
30146
+ * @summary DeleteRBACUser
30147
+ * @param {SharedApiMongoDeleteRBACUserRequest} requestParameters Request parameters.
30148
+ * @param {*} [options] Override http request option.
30149
+ * @throws {RequiredError}
30150
+ * @memberof SharedApiInterface
30151
+ */
30152
+ mongoDeleteRBACUser(requestParameters: SharedApiMongoDeleteRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
30153
+
30154
+ /**
30155
+ *
30156
+ * @summary GetRBACCapabilities
30157
+ * @param {SharedApiMongoGetRBACCapabilitiesRequest} requestParameters Request parameters.
30158
+ * @param {*} [options] Override http request option.
30159
+ * @throws {RequiredError}
30160
+ * @memberof SharedApiInterface
30161
+ */
30162
+ mongoGetRBACCapabilities(requestParameters: SharedApiMongoGetRBACCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACCapabilities>;
30163
+
30164
+ /**
30165
+ *
30166
+ * @summary GetRBACRole
30167
+ * @param {SharedApiMongoGetRBACRoleRequest} requestParameters Request parameters.
30168
+ * @param {*} [options] Override http request option.
30169
+ * @throws {RequiredError}
30170
+ * @memberof SharedApiInterface
30171
+ */
30172
+ mongoGetRBACRole(requestParameters: SharedApiMongoGetRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACRole>;
30173
+
30174
+ /**
30175
+ *
30176
+ * @summary GetRBACUser
30177
+ * @param {SharedApiMongoGetRBACUserRequest} requestParameters Request parameters.
30178
+ * @param {*} [options] Override http request option.
30179
+ * @throws {RequiredError}
30180
+ * @memberof SharedApiInterface
30181
+ */
30182
+ mongoGetRBACUser(requestParameters: SharedApiMongoGetRBACUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoRBACUser>;
30183
+
30184
+ /**
30185
+ *
30186
+ * @summary ListRBACRoles
30187
+ * @param {SharedApiMongoListRBACRolesRequest} requestParameters Request parameters.
30188
+ * @param {*} [options] Override http request option.
30189
+ * @throws {RequiredError}
30190
+ * @memberof SharedApiInterface
30191
+ */
30192
+ mongoListRBACRoles(requestParameters: SharedApiMongoListRBACRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACRole>>;
30193
+
30194
+ /**
30195
+ *
30196
+ * @summary ListRBACUsers
30197
+ * @param {SharedApiMongoListRBACUsersRequest} requestParameters Request parameters.
30198
+ * @param {*} [options] Override http request option.
30199
+ * @throws {RequiredError}
30200
+ * @memberof SharedApiInterface
30201
+ */
30202
+ mongoListRBACUsers(requestParameters: SharedApiMongoListRBACUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<MongoRBACUser>>;
30203
+
30204
+ /**
30205
+ *
30206
+ * @summary UpdateRBACRole
30207
+ * @param {SharedApiMongoUpdateRBACRoleRequest} requestParameters Request parameters.
30208
+ * @param {*} [options] Override http request option.
30209
+ * @throws {RequiredError}
30210
+ * @memberof SharedApiInterface
30211
+ */
30212
+ mongoUpdateRBACRole(requestParameters: SharedApiMongoUpdateRBACRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
30213
+
28982
30214
  /**
28983
30215
  * partially update the specified apikey
28984
30216
  * @summary Update apikey information
@@ -29030,8 +30262,8 @@ export interface SharedApiInterface {
29030
30262
  patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
29031
30263
 
29032
30264
  /**
29033
- * 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.
29034
- * @summary Preview clearing all MySQL account privileges
30265
+ * 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.
30266
+ * @summary Preview clearing explicit account privileges
29035
30267
  * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
29036
30268
  * @param {*} [options] Override http request option.
29037
30269
  * @throws {RequiredError}
@@ -29319,8 +30551,8 @@ export interface SharedApiInterface {
29319
30551
  reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
29320
30552
 
29321
30553
  /**
29322
- * 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.
29323
- * @summary Clear all MySQL account privileges
30554
+ * 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.
30555
+ * @summary Clear explicit account privileges
29324
30556
  * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
29325
30557
  * @param {*} [options] Override http request option.
29326
30558
  * @throws {RequiredError}
@@ -33360,6 +34592,69 @@ export interface SharedApiGetAccountObjectPrivilegesRequest {
33360
34592
  readonly subjectQualifiers?: string
33361
34593
  }
33362
34594
 
34595
+ /**
34596
+ * Request parameters for getAccountPrivilegeOverview operation in SharedApi.
34597
+ * @export
34598
+ * @interface SharedApiGetAccountPrivilegeOverviewRequest
34599
+ */
34600
+ export interface SharedApiGetAccountPrivilegeOverviewRequest {
34601
+ /**
34602
+ *
34603
+ * @type {string}
34604
+ * @memberof SharedApiGetAccountPrivilegeOverview
34605
+ */
34606
+ readonly engineName: string
34607
+
34608
+ /**
34609
+ *
34610
+ * @type {string}
34611
+ * @memberof SharedApiGetAccountPrivilegeOverview
34612
+ */
34613
+ readonly orgName: string
34614
+
34615
+ /**
34616
+ *
34617
+ * @type {string}
34618
+ * @memberof SharedApiGetAccountPrivilegeOverview
34619
+ */
34620
+ readonly clusterName: string
34621
+
34622
+ /**
34623
+ *
34624
+ * @type {string}
34625
+ * @memberof SharedApiGetAccountPrivilegeOverview
34626
+ */
34627
+ readonly accountName: string
34628
+
34629
+ /**
34630
+ * Native subject kind; path account name identifies the subject.
34631
+ * @type {ObjectPrivilegeSubjectType}
34632
+ * @memberof SharedApiGetAccountPrivilegeOverview
34633
+ */
34634
+ readonly subjectType?: ObjectPrivilegeSubjectType
34635
+
34636
+ /**
34637
+ * Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
34638
+ * @type {string}
34639
+ * @memberof SharedApiGetAccountPrivilegeOverview
34640
+ */
34641
+ readonly host?: string
34642
+
34643
+ /**
34644
+ *
34645
+ * @type {string}
34646
+ * @memberof SharedApiGetAccountPrivilegeOverview
34647
+ */
34648
+ readonly subjectQualifiers?: string
34649
+
34650
+ /**
34651
+ * PostgreSQL database to inspect on demand. Omit for the global summary.
34652
+ * @type {string}
34653
+ * @memberof SharedApiGetAccountPrivilegeOverview
34654
+ */
34655
+ readonly databaseName?: string
34656
+ }
34657
+
33363
34658
  /**
33364
34659
  * Request parameters for getAlertConfig operation in SharedApi.
33365
34660
  * @export
@@ -35425,7 +36720,7 @@ export interface SharedApiListAccountObjectPrivilegeColumnsRequest {
35425
36720
  readonly accountName: string
35426
36721
 
35427
36722
  /**
35428
- * Object type, either table or view
36723
+ * Object type, table/view; PostgreSQL also supports materializedView/foreignTable
35429
36724
  * @type {string}
35430
36725
  * @memberof SharedApiListAccountObjectPrivilegeColumns
35431
36726
  */
@@ -35444,6 +36739,13 @@ export interface SharedApiListAccountObjectPrivilegeColumnsRequest {
35444
36739
  * @memberof SharedApiListAccountObjectPrivilegeColumns
35445
36740
  */
35446
36741
  readonly objectName: string
36742
+
36743
+ /**
36744
+ * Required for PostgreSQL; not accepted for MySQL
36745
+ * @type {string}
36746
+ * @memberof SharedApiListAccountObjectPrivilegeColumns
36747
+ */
36748
+ readonly schemaName?: string
35447
36749
  }
35448
36750
 
35449
36751
  /**
@@ -37364,6 +38666,412 @@ export interface SharedApiMarkClusterRestoreCompletedRequest {
37364
38666
  readonly clusterName: string
37365
38667
  }
37366
38668
 
38669
+ /**
38670
+ * Request parameters for mongoChangeRBACUserPassword operation in SharedApi.
38671
+ * @export
38672
+ * @interface SharedApiMongoChangeRBACUserPasswordRequest
38673
+ */
38674
+ export interface SharedApiMongoChangeRBACUserPasswordRequest {
38675
+ /**
38676
+ *
38677
+ * @type {string}
38678
+ * @memberof SharedApiMongoChangeRBACUserPassword
38679
+ */
38680
+ readonly orgName: string
38681
+
38682
+ /**
38683
+ *
38684
+ * @type {string}
38685
+ * @memberof SharedApiMongoChangeRBACUserPassword
38686
+ */
38687
+ readonly clusterName: string
38688
+
38689
+ /**
38690
+ *
38691
+ * @type {string}
38692
+ * @memberof SharedApiMongoChangeRBACUserPassword
38693
+ */
38694
+ readonly database: string
38695
+
38696
+ /**
38697
+ *
38698
+ * @type {string}
38699
+ * @memberof SharedApiMongoChangeRBACUserPassword
38700
+ */
38701
+ readonly username: string
38702
+
38703
+ /**
38704
+ *
38705
+ * @type {MongoRBACPasswordChange}
38706
+ * @memberof SharedApiMongoChangeRBACUserPassword
38707
+ */
38708
+ readonly mongoRBACPasswordChange: MongoRBACPasswordChange
38709
+ }
38710
+
38711
+ /**
38712
+ * Request parameters for mongoChangeRBACUserRoles operation in SharedApi.
38713
+ * @export
38714
+ * @interface SharedApiMongoChangeRBACUserRolesRequest
38715
+ */
38716
+ export interface SharedApiMongoChangeRBACUserRolesRequest {
38717
+ /**
38718
+ *
38719
+ * @type {string}
38720
+ * @memberof SharedApiMongoChangeRBACUserRoles
38721
+ */
38722
+ readonly orgName: string
38723
+
38724
+ /**
38725
+ *
38726
+ * @type {string}
38727
+ * @memberof SharedApiMongoChangeRBACUserRoles
38728
+ */
38729
+ readonly clusterName: string
38730
+
38731
+ /**
38732
+ *
38733
+ * @type {string}
38734
+ * @memberof SharedApiMongoChangeRBACUserRoles
38735
+ */
38736
+ readonly database: string
38737
+
38738
+ /**
38739
+ *
38740
+ * @type {string}
38741
+ * @memberof SharedApiMongoChangeRBACUserRoles
38742
+ */
38743
+ readonly username: string
38744
+
38745
+ /**
38746
+ *
38747
+ * @type {MongoRBACBindingChange}
38748
+ * @memberof SharedApiMongoChangeRBACUserRoles
38749
+ */
38750
+ readonly mongoRBACBindingChange: MongoRBACBindingChange
38751
+ }
38752
+
38753
+ /**
38754
+ * Request parameters for mongoCreateRBACRole operation in SharedApi.
38755
+ * @export
38756
+ * @interface SharedApiMongoCreateRBACRoleRequest
38757
+ */
38758
+ export interface SharedApiMongoCreateRBACRoleRequest {
38759
+ /**
38760
+ *
38761
+ * @type {string}
38762
+ * @memberof SharedApiMongoCreateRBACRole
38763
+ */
38764
+ readonly orgName: string
38765
+
38766
+ /**
38767
+ *
38768
+ * @type {string}
38769
+ * @memberof SharedApiMongoCreateRBACRole
38770
+ */
38771
+ readonly clusterName: string
38772
+
38773
+ /**
38774
+ *
38775
+ * @type {MongoRBACRoleWrite}
38776
+ * @memberof SharedApiMongoCreateRBACRole
38777
+ */
38778
+ readonly mongoRBACRoleWrite: MongoRBACRoleWrite
38779
+ }
38780
+
38781
+ /**
38782
+ * Request parameters for mongoCreateRBACUser operation in SharedApi.
38783
+ * @export
38784
+ * @interface SharedApiMongoCreateRBACUserRequest
38785
+ */
38786
+ export interface SharedApiMongoCreateRBACUserRequest {
38787
+ /**
38788
+ *
38789
+ * @type {string}
38790
+ * @memberof SharedApiMongoCreateRBACUser
38791
+ */
38792
+ readonly orgName: string
38793
+
38794
+ /**
38795
+ *
38796
+ * @type {string}
38797
+ * @memberof SharedApiMongoCreateRBACUser
38798
+ */
38799
+ readonly clusterName: string
38800
+
38801
+ /**
38802
+ *
38803
+ * @type {MongoRBACUserCreate}
38804
+ * @memberof SharedApiMongoCreateRBACUser
38805
+ */
38806
+ readonly mongoRBACUserCreate: MongoRBACUserCreate
38807
+ }
38808
+
38809
+ /**
38810
+ * Request parameters for mongoDeleteRBACRole operation in SharedApi.
38811
+ * @export
38812
+ * @interface SharedApiMongoDeleteRBACRoleRequest
38813
+ */
38814
+ export interface SharedApiMongoDeleteRBACRoleRequest {
38815
+ /**
38816
+ *
38817
+ * @type {string}
38818
+ * @memberof SharedApiMongoDeleteRBACRole
38819
+ */
38820
+ readonly orgName: string
38821
+
38822
+ /**
38823
+ *
38824
+ * @type {string}
38825
+ * @memberof SharedApiMongoDeleteRBACRole
38826
+ */
38827
+ readonly clusterName: string
38828
+
38829
+ /**
38830
+ *
38831
+ * @type {string}
38832
+ * @memberof SharedApiMongoDeleteRBACRole
38833
+ */
38834
+ readonly database: string
38835
+
38836
+ /**
38837
+ *
38838
+ * @type {string}
38839
+ * @memberof SharedApiMongoDeleteRBACRole
38840
+ */
38841
+ readonly roleName: string
38842
+
38843
+ /**
38844
+ *
38845
+ * @type {string}
38846
+ * @memberof SharedApiMongoDeleteRBACRole
38847
+ */
38848
+ readonly expectedRevision: string
38849
+ }
38850
+
38851
+ /**
38852
+ * Request parameters for mongoDeleteRBACUser operation in SharedApi.
38853
+ * @export
38854
+ * @interface SharedApiMongoDeleteRBACUserRequest
38855
+ */
38856
+ export interface SharedApiMongoDeleteRBACUserRequest {
38857
+ /**
38858
+ *
38859
+ * @type {string}
38860
+ * @memberof SharedApiMongoDeleteRBACUser
38861
+ */
38862
+ readonly orgName: string
38863
+
38864
+ /**
38865
+ *
38866
+ * @type {string}
38867
+ * @memberof SharedApiMongoDeleteRBACUser
38868
+ */
38869
+ readonly clusterName: string
38870
+
38871
+ /**
38872
+ *
38873
+ * @type {string}
38874
+ * @memberof SharedApiMongoDeleteRBACUser
38875
+ */
38876
+ readonly database: string
38877
+
38878
+ /**
38879
+ *
38880
+ * @type {string}
38881
+ * @memberof SharedApiMongoDeleteRBACUser
38882
+ */
38883
+ readonly username: string
38884
+ }
38885
+
38886
+ /**
38887
+ * Request parameters for mongoGetRBACCapabilities operation in SharedApi.
38888
+ * @export
38889
+ * @interface SharedApiMongoGetRBACCapabilitiesRequest
38890
+ */
38891
+ export interface SharedApiMongoGetRBACCapabilitiesRequest {
38892
+ /**
38893
+ *
38894
+ * @type {string}
38895
+ * @memberof SharedApiMongoGetRBACCapabilities
38896
+ */
38897
+ readonly orgName: string
38898
+
38899
+ /**
38900
+ *
38901
+ * @type {string}
38902
+ * @memberof SharedApiMongoGetRBACCapabilities
38903
+ */
38904
+ readonly clusterName: string
38905
+ }
38906
+
38907
+ /**
38908
+ * Request parameters for mongoGetRBACRole operation in SharedApi.
38909
+ * @export
38910
+ * @interface SharedApiMongoGetRBACRoleRequest
38911
+ */
38912
+ export interface SharedApiMongoGetRBACRoleRequest {
38913
+ /**
38914
+ *
38915
+ * @type {string}
38916
+ * @memberof SharedApiMongoGetRBACRole
38917
+ */
38918
+ readonly orgName: string
38919
+
38920
+ /**
38921
+ *
38922
+ * @type {string}
38923
+ * @memberof SharedApiMongoGetRBACRole
38924
+ */
38925
+ readonly clusterName: string
38926
+
38927
+ /**
38928
+ *
38929
+ * @type {string}
38930
+ * @memberof SharedApiMongoGetRBACRole
38931
+ */
38932
+ readonly database: string
38933
+
38934
+ /**
38935
+ *
38936
+ * @type {string}
38937
+ * @memberof SharedApiMongoGetRBACRole
38938
+ */
38939
+ readonly roleName: string
38940
+ }
38941
+
38942
+ /**
38943
+ * Request parameters for mongoGetRBACUser operation in SharedApi.
38944
+ * @export
38945
+ * @interface SharedApiMongoGetRBACUserRequest
38946
+ */
38947
+ export interface SharedApiMongoGetRBACUserRequest {
38948
+ /**
38949
+ *
38950
+ * @type {string}
38951
+ * @memberof SharedApiMongoGetRBACUser
38952
+ */
38953
+ readonly orgName: string
38954
+
38955
+ /**
38956
+ *
38957
+ * @type {string}
38958
+ * @memberof SharedApiMongoGetRBACUser
38959
+ */
38960
+ readonly clusterName: string
38961
+
38962
+ /**
38963
+ *
38964
+ * @type {string}
38965
+ * @memberof SharedApiMongoGetRBACUser
38966
+ */
38967
+ readonly database: string
38968
+
38969
+ /**
38970
+ *
38971
+ * @type {string}
38972
+ * @memberof SharedApiMongoGetRBACUser
38973
+ */
38974
+ readonly username: string
38975
+ }
38976
+
38977
+ /**
38978
+ * Request parameters for mongoListRBACRoles operation in SharedApi.
38979
+ * @export
38980
+ * @interface SharedApiMongoListRBACRolesRequest
38981
+ */
38982
+ export interface SharedApiMongoListRBACRolesRequest {
38983
+ /**
38984
+ *
38985
+ * @type {string}
38986
+ * @memberof SharedApiMongoListRBACRoles
38987
+ */
38988
+ readonly orgName: string
38989
+
38990
+ /**
38991
+ *
38992
+ * @type {string}
38993
+ * @memberof SharedApiMongoListRBACRoles
38994
+ */
38995
+ readonly clusterName: string
38996
+
38997
+ /**
38998
+ *
38999
+ * @type {string}
39000
+ * @memberof SharedApiMongoListRBACRoles
39001
+ */
39002
+ readonly database?: string
39003
+ }
39004
+
39005
+ /**
39006
+ * Request parameters for mongoListRBACUsers operation in SharedApi.
39007
+ * @export
39008
+ * @interface SharedApiMongoListRBACUsersRequest
39009
+ */
39010
+ export interface SharedApiMongoListRBACUsersRequest {
39011
+ /**
39012
+ *
39013
+ * @type {string}
39014
+ * @memberof SharedApiMongoListRBACUsers
39015
+ */
39016
+ readonly orgName: string
39017
+
39018
+ /**
39019
+ *
39020
+ * @type {string}
39021
+ * @memberof SharedApiMongoListRBACUsers
39022
+ */
39023
+ readonly clusterName: string
39024
+
39025
+ /**
39026
+ *
39027
+ * @type {string}
39028
+ * @memberof SharedApiMongoListRBACUsers
39029
+ */
39030
+ readonly database?: string
39031
+ }
39032
+
39033
+ /**
39034
+ * Request parameters for mongoUpdateRBACRole operation in SharedApi.
39035
+ * @export
39036
+ * @interface SharedApiMongoUpdateRBACRoleRequest
39037
+ */
39038
+ export interface SharedApiMongoUpdateRBACRoleRequest {
39039
+ /**
39040
+ *
39041
+ * @type {string}
39042
+ * @memberof SharedApiMongoUpdateRBACRole
39043
+ */
39044
+ readonly orgName: string
39045
+
39046
+ /**
39047
+ *
39048
+ * @type {string}
39049
+ * @memberof SharedApiMongoUpdateRBACRole
39050
+ */
39051
+ readonly clusterName: string
39052
+
39053
+ /**
39054
+ *
39055
+ * @type {string}
39056
+ * @memberof SharedApiMongoUpdateRBACRole
39057
+ */
39058
+ readonly database: string
39059
+
39060
+ /**
39061
+ *
39062
+ * @type {string}
39063
+ * @memberof SharedApiMongoUpdateRBACRole
39064
+ */
39065
+ readonly roleName: string
39066
+
39067
+ /**
39068
+ *
39069
+ * @type {MongoRBACRoleWrite}
39070
+ * @memberof SharedApiMongoUpdateRBACRole
39071
+ */
39072
+ readonly mongoRBACRoleWrite: MongoRBACRoleWrite
39073
+ }
39074
+
37367
39075
  /**
37368
39076
  * Request parameters for patchAPIkey operation in SharedApi.
37369
39077
  * @export
@@ -37544,6 +39252,20 @@ export interface SharedApiPreviewAccountPrivilegeResetRequest {
37544
39252
  * @memberof SharedApiPreviewAccountPrivilegeReset
37545
39253
  */
37546
39254
  readonly subjectQualifiers?: string
39255
+
39256
+ /**
39257
+ * PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
39258
+ * @type {Array<string>}
39259
+ * @memberof SharedApiPreviewAccountPrivilegeReset
39260
+ */
39261
+ readonly databaseNames?: Array<string>
39262
+
39263
+ /**
39264
+ * PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
39265
+ * @type {boolean}
39266
+ * @memberof SharedApiPreviewAccountPrivilegeReset
39267
+ */
39268
+ readonly allDatabases?: boolean
37547
39269
  }
37548
39270
 
37549
39271
  /**
@@ -39357,6 +41079,20 @@ export interface SharedApiResetAccountPrivilegesRequest {
39357
41079
  * @memberof SharedApiResetAccountPrivileges
39358
41080
  */
39359
41081
  readonly subjectQualifiers?: string
41082
+
41083
+ /**
41084
+ * PostgreSQL only; exact selected database names as repeated parameters. Mutually exclusive with allDatabases.
41085
+ * @type {Array<string>}
41086
+ * @memberof SharedApiResetAccountPrivileges
41087
+ */
41088
+ readonly databaseNames?: Array<string>
41089
+
41090
+ /**
41091
+ * PostgreSQL whole-account reset requires explicit true; otherwise databaseNames must be nonempty. Selected scope preserves global memberships/attributes and privileges outside those databases.
41092
+ * @type {boolean}
41093
+ * @memberof SharedApiResetAccountPrivileges
41094
+ */
41095
+ readonly allDatabases?: boolean
39360
41096
  }
39361
41097
 
39362
41098
  /**
@@ -42419,6 +44155,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
42419
44155
  return SharedApiFp(this.configuration).getAccountObjectPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.schemaName, requestParameters.objectName, requestParameters.objectId, requestParameters.subjectType, requestParameters.host, requestParameters.catalogName, requestParameters.subjectQualifiers, options).then((request) => request(this.axios, this.basePath));
42420
44156
  }
42421
44157
 
44158
+ /**
44159
+ * 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.
44160
+ * @summary Read native account privilege summary or selected database evidence
44161
+ * @param {SharedApiGetAccountPrivilegeOverviewRequest} requestParameters Request parameters.
44162
+ * @param {*} [options] Override http request option.
44163
+ * @throws {RequiredError}
44164
+ * @memberof SharedApi
44165
+ */
44166
+ public getAccountPrivilegeOverview(requestParameters: SharedApiGetAccountPrivilegeOverviewRequest, options?: RawAxiosRequestConfig) {
44167
+ return SharedApiFp(this.configuration).getAccountPrivilegeOverview(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, requestParameters.databaseName, options).then((request) => request(this.axios, this.basePath));
44168
+ }
44169
+
42422
44170
  /**
42423
44171
  *
42424
44172
  * @summary Get alert config
@@ -43138,7 +44886,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
43138
44886
  }
43139
44887
 
43140
44888
  /**
43141
- * 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.
44889
+ * 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.
43142
44890
  * @summary List exact column names for account object privileges
43143
44891
  * @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
43144
44892
  * @param {*} [options] Override http request option.
@@ -43146,7 +44894,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
43146
44894
  * @memberof SharedApi
43147
44895
  */
43148
44896
  public listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig) {
43149
- return SharedApiFp(this.configuration).listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, options).then((request) => request(this.axios, this.basePath));
44897
+ return SharedApiFp(this.configuration).listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, requestParameters.schemaName, options).then((request) => request(this.axios, this.basePath));
43150
44898
  }
43151
44899
 
43152
44900
  /**
@@ -43975,6 +45723,150 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
43975
45723
  return SharedApiFp(this.configuration).markClusterRestoreCompleted(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
43976
45724
  }
43977
45725
 
45726
+ /**
45727
+ *
45728
+ * @summary ChangeRBACUserPassword
45729
+ * @param {SharedApiMongoChangeRBACUserPasswordRequest} requestParameters Request parameters.
45730
+ * @param {*} [options] Override http request option.
45731
+ * @throws {RequiredError}
45732
+ * @memberof SharedApi
45733
+ */
45734
+ public mongoChangeRBACUserPassword(requestParameters: SharedApiMongoChangeRBACUserPasswordRequest, options?: RawAxiosRequestConfig) {
45735
+ return SharedApiFp(this.configuration).mongoChangeRBACUserPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.username, requestParameters.mongoRBACPasswordChange, options).then((request) => request(this.axios, this.basePath));
45736
+ }
45737
+
45738
+ /**
45739
+ *
45740
+ * @summary ChangeRBACUserRoles
45741
+ * @param {SharedApiMongoChangeRBACUserRolesRequest} requestParameters Request parameters.
45742
+ * @param {*} [options] Override http request option.
45743
+ * @throws {RequiredError}
45744
+ * @memberof SharedApi
45745
+ */
45746
+ public mongoChangeRBACUserRoles(requestParameters: SharedApiMongoChangeRBACUserRolesRequest, options?: RawAxiosRequestConfig) {
45747
+ return SharedApiFp(this.configuration).mongoChangeRBACUserRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.username, requestParameters.mongoRBACBindingChange, options).then((request) => request(this.axios, this.basePath));
45748
+ }
45749
+
45750
+ /**
45751
+ *
45752
+ * @summary CreateRBACRole
45753
+ * @param {SharedApiMongoCreateRBACRoleRequest} requestParameters Request parameters.
45754
+ * @param {*} [options] Override http request option.
45755
+ * @throws {RequiredError}
45756
+ * @memberof SharedApi
45757
+ */
45758
+ public mongoCreateRBACRole(requestParameters: SharedApiMongoCreateRBACRoleRequest, options?: RawAxiosRequestConfig) {
45759
+ return SharedApiFp(this.configuration).mongoCreateRBACRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.mongoRBACRoleWrite, options).then((request) => request(this.axios, this.basePath));
45760
+ }
45761
+
45762
+ /**
45763
+ *
45764
+ * @summary CreateRBACUser
45765
+ * @param {SharedApiMongoCreateRBACUserRequest} requestParameters Request parameters.
45766
+ * @param {*} [options] Override http request option.
45767
+ * @throws {RequiredError}
45768
+ * @memberof SharedApi
45769
+ */
45770
+ public mongoCreateRBACUser(requestParameters: SharedApiMongoCreateRBACUserRequest, options?: RawAxiosRequestConfig) {
45771
+ return SharedApiFp(this.configuration).mongoCreateRBACUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.mongoRBACUserCreate, options).then((request) => request(this.axios, this.basePath));
45772
+ }
45773
+
45774
+ /**
45775
+ *
45776
+ * @summary DeleteRBACRole
45777
+ * @param {SharedApiMongoDeleteRBACRoleRequest} requestParameters Request parameters.
45778
+ * @param {*} [options] Override http request option.
45779
+ * @throws {RequiredError}
45780
+ * @memberof SharedApi
45781
+ */
45782
+ public mongoDeleteRBACRole(requestParameters: SharedApiMongoDeleteRBACRoleRequest, options?: RawAxiosRequestConfig) {
45783
+ return SharedApiFp(this.configuration).mongoDeleteRBACRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.roleName, requestParameters.expectedRevision, options).then((request) => request(this.axios, this.basePath));
45784
+ }
45785
+
45786
+ /**
45787
+ *
45788
+ * @summary DeleteRBACUser
45789
+ * @param {SharedApiMongoDeleteRBACUserRequest} requestParameters Request parameters.
45790
+ * @param {*} [options] Override http request option.
45791
+ * @throws {RequiredError}
45792
+ * @memberof SharedApi
45793
+ */
45794
+ public mongoDeleteRBACUser(requestParameters: SharedApiMongoDeleteRBACUserRequest, options?: RawAxiosRequestConfig) {
45795
+ return SharedApiFp(this.configuration).mongoDeleteRBACUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
45796
+ }
45797
+
45798
+ /**
45799
+ *
45800
+ * @summary GetRBACCapabilities
45801
+ * @param {SharedApiMongoGetRBACCapabilitiesRequest} requestParameters Request parameters.
45802
+ * @param {*} [options] Override http request option.
45803
+ * @throws {RequiredError}
45804
+ * @memberof SharedApi
45805
+ */
45806
+ public mongoGetRBACCapabilities(requestParameters: SharedApiMongoGetRBACCapabilitiesRequest, options?: RawAxiosRequestConfig) {
45807
+ return SharedApiFp(this.configuration).mongoGetRBACCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
45808
+ }
45809
+
45810
+ /**
45811
+ *
45812
+ * @summary GetRBACRole
45813
+ * @param {SharedApiMongoGetRBACRoleRequest} requestParameters Request parameters.
45814
+ * @param {*} [options] Override http request option.
45815
+ * @throws {RequiredError}
45816
+ * @memberof SharedApi
45817
+ */
45818
+ public mongoGetRBACRole(requestParameters: SharedApiMongoGetRBACRoleRequest, options?: RawAxiosRequestConfig) {
45819
+ return SharedApiFp(this.configuration).mongoGetRBACRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
45820
+ }
45821
+
45822
+ /**
45823
+ *
45824
+ * @summary GetRBACUser
45825
+ * @param {SharedApiMongoGetRBACUserRequest} requestParameters Request parameters.
45826
+ * @param {*} [options] Override http request option.
45827
+ * @throws {RequiredError}
45828
+ * @memberof SharedApi
45829
+ */
45830
+ public mongoGetRBACUser(requestParameters: SharedApiMongoGetRBACUserRequest, options?: RawAxiosRequestConfig) {
45831
+ return SharedApiFp(this.configuration).mongoGetRBACUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
45832
+ }
45833
+
45834
+ /**
45835
+ *
45836
+ * @summary ListRBACRoles
45837
+ * @param {SharedApiMongoListRBACRolesRequest} requestParameters Request parameters.
45838
+ * @param {*} [options] Override http request option.
45839
+ * @throws {RequiredError}
45840
+ * @memberof SharedApi
45841
+ */
45842
+ public mongoListRBACRoles(requestParameters: SharedApiMongoListRBACRolesRequest, options?: RawAxiosRequestConfig) {
45843
+ return SharedApiFp(this.configuration).mongoListRBACRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
45844
+ }
45845
+
45846
+ /**
45847
+ *
45848
+ * @summary ListRBACUsers
45849
+ * @param {SharedApiMongoListRBACUsersRequest} requestParameters Request parameters.
45850
+ * @param {*} [options] Override http request option.
45851
+ * @throws {RequiredError}
45852
+ * @memberof SharedApi
45853
+ */
45854
+ public mongoListRBACUsers(requestParameters: SharedApiMongoListRBACUsersRequest, options?: RawAxiosRequestConfig) {
45855
+ return SharedApiFp(this.configuration).mongoListRBACUsers(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
45856
+ }
45857
+
45858
+ /**
45859
+ *
45860
+ * @summary UpdateRBACRole
45861
+ * @param {SharedApiMongoUpdateRBACRoleRequest} requestParameters Request parameters.
45862
+ * @param {*} [options] Override http request option.
45863
+ * @throws {RequiredError}
45864
+ * @memberof SharedApi
45865
+ */
45866
+ public mongoUpdateRBACRole(requestParameters: SharedApiMongoUpdateRBACRoleRequest, options?: RawAxiosRequestConfig) {
45867
+ return SharedApiFp(this.configuration).mongoUpdateRBACRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.database, requestParameters.roleName, requestParameters.mongoRBACRoleWrite, options).then((request) => request(this.axios, this.basePath));
45868
+ }
45869
+
43978
45870
  /**
43979
45871
  * partially update the specified apikey
43980
45872
  * @summary Update apikey information
@@ -44036,15 +45928,15 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
44036
45928
  }
44037
45929
 
44038
45930
  /**
44039
- * 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.
44040
- * @summary Preview clearing all MySQL account privileges
45931
+ * 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.
45932
+ * @summary Preview clearing explicit account privileges
44041
45933
  * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
44042
45934
  * @param {*} [options] Override http request option.
44043
45935
  * @throws {RequiredError}
44044
45936
  * @memberof SharedApi
44045
45937
  */
44046
45938
  public previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig) {
44047
- return SharedApiFp(this.configuration).previewAccountPrivilegeReset(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(this.axios, this.basePath));
45939
+ return SharedApiFp(this.configuration).previewAccountPrivilegeReset(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, requestParameters.databaseNames, requestParameters.allDatabases, options).then((request) => request(this.axios, this.basePath));
44048
45940
  }
44049
45941
 
44050
45942
  /**
@@ -44383,15 +46275,15 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
44383
46275
  }
44384
46276
 
44385
46277
  /**
44386
- * 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.
44387
- * @summary Clear all MySQL account privileges
46278
+ * 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.
46279
+ * @summary Clear explicit account privileges
44388
46280
  * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
44389
46281
  * @param {*} [options] Override http request option.
44390
46282
  * @throws {RequiredError}
44391
46283
  * @memberof SharedApi
44392
46284
  */
44393
46285
  public resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
44394
- return SharedApiFp(this.configuration).resetAccountPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(this.axios, this.basePath));
46286
+ return SharedApiFp(this.configuration).resetAccountPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, requestParameters.databaseNames, requestParameters.allDatabases, options).then((request) => request(this.axios, this.basePath));
44395
46287
  }
44396
46288
 
44397
46289
  /**