kb-cloud-client-typescript 2.4.0-alpha.89 → 2.4.0-alpha.90

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 (215) hide show
  1. package/dist/adminapi/apis/account-api.d.ts +473 -0
  2. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/account-api.js +436 -0
  4. package/dist/adminapi/apis/account-api.js.map +1 -1
  5. package/dist/adminapi/apis/rdbms-api.d.ts +473 -0
  6. package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/rdbms-api.js +436 -0
  8. package/dist/adminapi/apis/rdbms-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +473 -0
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +436 -0
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/index.d.ts +17 -0
  14. package/dist/adminapi/models/index.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.js +17 -0
  16. package/dist/adminapi/models/index.js.map +1 -1
  17. package/dist/adminapi/models/object-privilege-capabilities.d.ts +46 -0
  18. package/dist/adminapi/models/object-privilege-capabilities.d.ts.map +1 -0
  19. package/dist/adminapi/models/object-privilege-capabilities.js +16 -0
  20. package/dist/adminapi/models/object-privilege-capabilities.js.map +1 -0
  21. package/dist/adminapi/models/object-privilege-capability.d.ts +95 -0
  22. package/dist/adminapi/models/object-privilege-capability.d.ts.map +1 -0
  23. package/dist/adminapi/models/object-privilege-capability.js +16 -0
  24. package/dist/adminapi/models/object-privilege-capability.js.map +1 -0
  25. package/dist/adminapi/models/object-privilege-change.d.ts +71 -0
  26. package/dist/adminapi/models/object-privilege-change.d.ts.map +1 -0
  27. package/dist/adminapi/models/object-privilege-change.js +16 -0
  28. package/dist/adminapi/models/object-privilege-change.js.map +1 -0
  29. package/dist/adminapi/models/object-privilege-definition.d.ts +38 -0
  30. package/dist/adminapi/models/object-privilege-definition.d.ts.map +1 -0
  31. package/dist/adminapi/models/object-privilege-definition.js +16 -0
  32. package/dist/adminapi/models/object-privilege-definition.js.map +1 -0
  33. package/dist/adminapi/models/object-privilege-evidence.d.ts +37 -0
  34. package/dist/adminapi/models/object-privilege-evidence.d.ts.map +1 -0
  35. package/dist/adminapi/models/object-privilege-evidence.js +16 -0
  36. package/dist/adminapi/models/object-privilege-evidence.js.map +1 -0
  37. package/dist/adminapi/models/object-privilege-grant-option-scope.d.ts +23 -0
  38. package/dist/adminapi/models/object-privilege-grant-option-scope.d.ts.map +1 -0
  39. package/dist/adminapi/models/object-privilege-grant-option-scope.js +27 -0
  40. package/dist/adminapi/models/object-privilege-grant-option-scope.js.map +1 -0
  41. package/dist/adminapi/models/object-privilege-grant.d.ts +43 -0
  42. package/dist/adminapi/models/object-privilege-grant.d.ts.map +1 -0
  43. package/dist/adminapi/models/object-privilege-grant.js +16 -0
  44. package/dist/adminapi/models/object-privilege-grant.js.map +1 -0
  45. package/dist/adminapi/models/object-privilege-object-list.d.ts +38 -0
  46. package/dist/adminapi/models/object-privilege-object-list.d.ts.map +1 -0
  47. package/dist/adminapi/models/object-privilege-object-list.js +16 -0
  48. package/dist/adminapi/models/object-privilege-object-list.js.map +1 -0
  49. package/dist/adminapi/models/object-privilege-object.d.ts +32 -0
  50. package/dist/adminapi/models/object-privilege-object.d.ts.map +1 -0
  51. package/dist/adminapi/models/object-privilege-object.js +16 -0
  52. package/dist/adminapi/models/object-privilege-object.js.map +1 -0
  53. package/dist/adminapi/models/object-privilege-prerequisite-check.d.ts +45 -0
  54. package/dist/adminapi/models/object-privilege-prerequisite-check.d.ts.map +1 -0
  55. package/dist/adminapi/models/object-privilege-prerequisite-check.js +16 -0
  56. package/dist/adminapi/models/object-privilege-prerequisite-check.js.map +1 -0
  57. package/dist/adminapi/models/object-privilege-prerequisite-status.d.ts +23 -0
  58. package/dist/adminapi/models/object-privilege-prerequisite-status.d.ts.map +1 -0
  59. package/dist/adminapi/models/object-privilege-prerequisite-status.js +27 -0
  60. package/dist/adminapi/models/object-privilege-prerequisite-status.js.map +1 -0
  61. package/dist/adminapi/models/object-privilege-qualifier.d.ts +43 -0
  62. package/dist/adminapi/models/object-privilege-qualifier.d.ts.map +1 -0
  63. package/dist/adminapi/models/object-privilege-qualifier.js +16 -0
  64. package/dist/adminapi/models/object-privilege-qualifier.js.map +1 -0
  65. package/dist/adminapi/models/object-privilege-snapshot.d.ts +92 -0
  66. package/dist/adminapi/models/object-privilege-snapshot.d.ts.map +1 -0
  67. package/dist/adminapi/models/object-privilege-snapshot.js +16 -0
  68. package/dist/adminapi/models/object-privilege-snapshot.js.map +1 -0
  69. package/dist/adminapi/models/object-privilege-spec.d.ts +31 -0
  70. package/dist/adminapi/models/object-privilege-spec.d.ts.map +1 -0
  71. package/dist/adminapi/models/object-privilege-spec.js +16 -0
  72. package/dist/adminapi/models/object-privilege-spec.js.map +1 -0
  73. package/dist/adminapi/models/object-privilege-subject-type.d.ts +22 -0
  74. package/dist/adminapi/models/object-privilege-subject-type.d.ts.map +1 -0
  75. package/dist/adminapi/models/object-privilege-subject-type.js +26 -0
  76. package/dist/adminapi/models/object-privilege-subject-type.js.map +1 -0
  77. package/dist/adminapi/models/object-privilege-subject.d.ts +40 -0
  78. package/dist/adminapi/models/object-privilege-subject.d.ts.map +1 -0
  79. package/dist/adminapi/models/object-privilege-subject.js +16 -0
  80. package/dist/adminapi/models/object-privilege-subject.js.map +1 -0
  81. package/dist/adminapi/models/object-privilege-target.d.ts +55 -0
  82. package/dist/adminapi/models/object-privilege-target.d.ts.map +1 -0
  83. package/dist/adminapi/models/object-privilege-target.js +16 -0
  84. package/dist/adminapi/models/object-privilege-target.js.map +1 -0
  85. package/dist/openapi/apis/account-api.d.ts +473 -0
  86. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  87. package/dist/openapi/apis/account-api.js +436 -0
  88. package/dist/openapi/apis/account-api.js.map +1 -1
  89. package/dist/openapi/apis/rdbms-api.d.ts +473 -0
  90. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  91. package/dist/openapi/apis/rdbms-api.js +436 -0
  92. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  93. package/dist/openapi/apis/shared-api.d.ts +473 -0
  94. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  95. package/dist/openapi/apis/shared-api.js +436 -0
  96. package/dist/openapi/apis/shared-api.js.map +1 -1
  97. package/dist/openapi/models/index.d.ts +17 -0
  98. package/dist/openapi/models/index.d.ts.map +1 -1
  99. package/dist/openapi/models/index.js +17 -0
  100. package/dist/openapi/models/index.js.map +1 -1
  101. package/dist/openapi/models/object-privilege-capabilities.d.ts +46 -0
  102. package/dist/openapi/models/object-privilege-capabilities.d.ts.map +1 -0
  103. package/dist/openapi/models/object-privilege-capabilities.js +16 -0
  104. package/dist/openapi/models/object-privilege-capabilities.js.map +1 -0
  105. package/dist/openapi/models/object-privilege-capability.d.ts +95 -0
  106. package/dist/openapi/models/object-privilege-capability.d.ts.map +1 -0
  107. package/dist/openapi/models/object-privilege-capability.js +16 -0
  108. package/dist/openapi/models/object-privilege-capability.js.map +1 -0
  109. package/dist/openapi/models/object-privilege-change.d.ts +71 -0
  110. package/dist/openapi/models/object-privilege-change.d.ts.map +1 -0
  111. package/dist/openapi/models/object-privilege-change.js +16 -0
  112. package/dist/openapi/models/object-privilege-change.js.map +1 -0
  113. package/dist/openapi/models/object-privilege-definition.d.ts +38 -0
  114. package/dist/openapi/models/object-privilege-definition.d.ts.map +1 -0
  115. package/dist/openapi/models/object-privilege-definition.js +16 -0
  116. package/dist/openapi/models/object-privilege-definition.js.map +1 -0
  117. package/dist/openapi/models/object-privilege-evidence.d.ts +37 -0
  118. package/dist/openapi/models/object-privilege-evidence.d.ts.map +1 -0
  119. package/dist/openapi/models/object-privilege-evidence.js +16 -0
  120. package/dist/openapi/models/object-privilege-evidence.js.map +1 -0
  121. package/dist/openapi/models/object-privilege-grant-option-scope.d.ts +23 -0
  122. package/dist/openapi/models/object-privilege-grant-option-scope.d.ts.map +1 -0
  123. package/dist/openapi/models/object-privilege-grant-option-scope.js +27 -0
  124. package/dist/openapi/models/object-privilege-grant-option-scope.js.map +1 -0
  125. package/dist/openapi/models/object-privilege-grant.d.ts +43 -0
  126. package/dist/openapi/models/object-privilege-grant.d.ts.map +1 -0
  127. package/dist/openapi/models/object-privilege-grant.js +16 -0
  128. package/dist/openapi/models/object-privilege-grant.js.map +1 -0
  129. package/dist/openapi/models/object-privilege-object-list.d.ts +38 -0
  130. package/dist/openapi/models/object-privilege-object-list.d.ts.map +1 -0
  131. package/dist/openapi/models/object-privilege-object-list.js +16 -0
  132. package/dist/openapi/models/object-privilege-object-list.js.map +1 -0
  133. package/dist/openapi/models/object-privilege-object.d.ts +32 -0
  134. package/dist/openapi/models/object-privilege-object.d.ts.map +1 -0
  135. package/dist/openapi/models/object-privilege-object.js +16 -0
  136. package/dist/openapi/models/object-privilege-object.js.map +1 -0
  137. package/dist/openapi/models/object-privilege-prerequisite-check.d.ts +45 -0
  138. package/dist/openapi/models/object-privilege-prerequisite-check.d.ts.map +1 -0
  139. package/dist/openapi/models/object-privilege-prerequisite-check.js +16 -0
  140. package/dist/openapi/models/object-privilege-prerequisite-check.js.map +1 -0
  141. package/dist/openapi/models/object-privilege-prerequisite-status.d.ts +23 -0
  142. package/dist/openapi/models/object-privilege-prerequisite-status.d.ts.map +1 -0
  143. package/dist/openapi/models/object-privilege-prerequisite-status.js +27 -0
  144. package/dist/openapi/models/object-privilege-prerequisite-status.js.map +1 -0
  145. package/dist/openapi/models/object-privilege-qualifier.d.ts +43 -0
  146. package/dist/openapi/models/object-privilege-qualifier.d.ts.map +1 -0
  147. package/dist/openapi/models/object-privilege-qualifier.js +16 -0
  148. package/dist/openapi/models/object-privilege-qualifier.js.map +1 -0
  149. package/dist/openapi/models/object-privilege-snapshot.d.ts +92 -0
  150. package/dist/openapi/models/object-privilege-snapshot.d.ts.map +1 -0
  151. package/dist/openapi/models/object-privilege-snapshot.js +16 -0
  152. package/dist/openapi/models/object-privilege-snapshot.js.map +1 -0
  153. package/dist/openapi/models/object-privilege-spec.d.ts +31 -0
  154. package/dist/openapi/models/object-privilege-spec.d.ts.map +1 -0
  155. package/dist/openapi/models/object-privilege-spec.js +16 -0
  156. package/dist/openapi/models/object-privilege-spec.js.map +1 -0
  157. package/dist/openapi/models/object-privilege-subject-type.d.ts +22 -0
  158. package/dist/openapi/models/object-privilege-subject-type.d.ts.map +1 -0
  159. package/dist/openapi/models/object-privilege-subject-type.js +26 -0
  160. package/dist/openapi/models/object-privilege-subject-type.js.map +1 -0
  161. package/dist/openapi/models/object-privilege-subject.d.ts +40 -0
  162. package/dist/openapi/models/object-privilege-subject.d.ts.map +1 -0
  163. package/dist/openapi/models/object-privilege-subject.js +16 -0
  164. package/dist/openapi/models/object-privilege-subject.js.map +1 -0
  165. package/dist/openapi/models/object-privilege-target.d.ts +55 -0
  166. package/dist/openapi/models/object-privilege-target.d.ts.map +1 -0
  167. package/dist/openapi/models/object-privilege-target.js +16 -0
  168. package/dist/openapi/models/object-privilege-target.js.map +1 -0
  169. package/package.json +1 -1
  170. package/src/adminapi/.openapi-generator/FILES +17 -0
  171. package/src/adminapi/apis/account-api.ts +811 -5
  172. package/src/adminapi/apis/rdbms-api.ts +806 -0
  173. package/src/adminapi/apis/shared-api.ts +806 -0
  174. package/src/adminapi/models/index.ts +17 -0
  175. package/src/adminapi/models/object-privilege-capabilities.ts +57 -0
  176. package/src/adminapi/models/object-privilege-capability.ts +104 -0
  177. package/src/adminapi/models/object-privilege-change.ts +78 -0
  178. package/src/adminapi/models/object-privilege-definition.ts +47 -0
  179. package/src/adminapi/models/object-privilege-evidence.ts +42 -0
  180. package/src/adminapi/models/object-privilege-grant-option-scope.ts +32 -0
  181. package/src/adminapi/models/object-privilege-grant.ts +48 -0
  182. package/src/adminapi/models/object-privilege-object-list.ts +45 -0
  183. package/src/adminapi/models/object-privilege-object.ts +39 -0
  184. package/src/adminapi/models/object-privilege-prerequisite-check.ts +56 -0
  185. package/src/adminapi/models/object-privilege-prerequisite-status.ts +32 -0
  186. package/src/adminapi/models/object-privilege-qualifier.ts +48 -0
  187. package/src/adminapi/models/object-privilege-snapshot.ts +105 -0
  188. package/src/adminapi/models/object-privilege-spec.ts +36 -0
  189. package/src/adminapi/models/object-privilege-subject-type.ts +31 -0
  190. package/src/adminapi/models/object-privilege-subject.ts +47 -0
  191. package/src/adminapi/models/object-privilege-target.ts +60 -0
  192. package/src/adminapi.yaml +675 -0
  193. package/src/openapi/.openapi-generator/FILES +17 -0
  194. package/src/openapi/apis/account-api.ts +811 -5
  195. package/src/openapi/apis/rdbms-api.ts +806 -0
  196. package/src/openapi/apis/shared-api.ts +942 -136
  197. package/src/openapi/models/index.ts +17 -0
  198. package/src/openapi/models/object-privilege-capabilities.ts +57 -0
  199. package/src/openapi/models/object-privilege-capability.ts +104 -0
  200. package/src/openapi/models/object-privilege-change.ts +78 -0
  201. package/src/openapi/models/object-privilege-definition.ts +47 -0
  202. package/src/openapi/models/object-privilege-evidence.ts +42 -0
  203. package/src/openapi/models/object-privilege-grant-option-scope.ts +32 -0
  204. package/src/openapi/models/object-privilege-grant.ts +48 -0
  205. package/src/openapi/models/object-privilege-object-list.ts +45 -0
  206. package/src/openapi/models/object-privilege-object.ts +39 -0
  207. package/src/openapi/models/object-privilege-prerequisite-check.ts +56 -0
  208. package/src/openapi/models/object-privilege-prerequisite-status.ts +32 -0
  209. package/src/openapi/models/object-privilege-qualifier.ts +48 -0
  210. package/src/openapi/models/object-privilege-snapshot.ts +105 -0
  211. package/src/openapi/models/object-privilege-spec.ts +36 -0
  212. package/src/openapi/models/object-privilege-subject-type.ts +31 -0
  213. package/src/openapi/models/object-privilege-subject.ts +47 -0
  214. package/src/openapi/models/object-privilege-target.ts +60 -0
  215. package/src/openapi.yaml +675 -0
@@ -575,6 +575,69 @@ const SharedApiAxiosParamCreator = function (configuration) {
575
575
  options: localVarRequestOptions,
576
576
  };
577
577
  },
578
+ /**
579
+ * Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
580
+ * @summary Grant or revoke native object and column privileges
581
+ * @param {string} engineName
582
+ * @param {string} orgName
583
+ * @param {string} clusterName
584
+ * @param {string} accountName
585
+ * @param {ObjectPrivilegeChange} body
586
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
587
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
588
+ * @param {string} [subjectQualifiers] JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
589
+ * @param {*} [options] Override http request option.
590
+ * @throws {RequiredError}
591
+ */
592
+ changeAccountObjectPrivileges: async (engineName, orgName, clusterName, accountName, body, subjectType, host, subjectQualifiers, options = {}) => {
593
+ // verify required parameter 'engineName' is not null or undefined
594
+ (0, common_1.assertParamExists)('changeAccountObjectPrivileges', 'engineName', engineName);
595
+ // verify required parameter 'orgName' is not null or undefined
596
+ (0, common_1.assertParamExists)('changeAccountObjectPrivileges', 'orgName', orgName);
597
+ // verify required parameter 'clusterName' is not null or undefined
598
+ (0, common_1.assertParamExists)('changeAccountObjectPrivileges', 'clusterName', clusterName);
599
+ // verify required parameter 'accountName' is not null or undefined
600
+ (0, common_1.assertParamExists)('changeAccountObjectPrivileges', 'accountName', accountName);
601
+ // verify required parameter 'body' is not null or undefined
602
+ (0, common_1.assertParamExists)('changeAccountObjectPrivileges', 'body', body);
603
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges`
604
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
605
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
606
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
607
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
608
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
609
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
610
+ let baseOptions;
611
+ if (configuration) {
612
+ baseOptions = configuration.baseOptions;
613
+ }
614
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
615
+ const localVarHeaderParameter = {};
616
+ const localVarQueryParameter = {};
617
+ // authentication BearerToken required
618
+ // http bearer authentication required
619
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
620
+ // authentication DigestAuth required
621
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
622
+ if (subjectType !== undefined) {
623
+ localVarQueryParameter['subjectType'] = subjectType;
624
+ }
625
+ if (host !== undefined) {
626
+ localVarQueryParameter['host'] = host;
627
+ }
628
+ if (subjectQualifiers !== undefined) {
629
+ localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
630
+ }
631
+ localVarHeaderParameter['Content-Type'] = 'application/json';
632
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
633
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
634
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
635
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
636
+ return {
637
+ url: (0, common_1.toPathString)(localVarUrlObj),
638
+ options: localVarRequestOptions,
639
+ };
640
+ },
578
641
  /**
579
642
  *
580
643
  * @summary Change Elasticsearch account password
@@ -4246,6 +4309,136 @@ const SharedApiAxiosParamCreator = function (configuration) {
4246
4309
  options: localVarRequestOptions,
4247
4310
  };
4248
4311
  },
4312
+ /**
4313
+ * Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
4314
+ * @summary List native object privilege capabilities for the connected server
4315
+ * @param {string} engineName
4316
+ * @param {string} orgName
4317
+ * @param {string} clusterName
4318
+ * @param {string} accountName
4319
+ * @param {*} [options] Override http request option.
4320
+ * @throws {RequiredError}
4321
+ */
4322
+ getAccountObjectPrivilegeCapabilities: async (engineName, orgName, clusterName, accountName, options = {}) => {
4323
+ // verify required parameter 'engineName' is not null or undefined
4324
+ (0, common_1.assertParamExists)('getAccountObjectPrivilegeCapabilities', 'engineName', engineName);
4325
+ // verify required parameter 'orgName' is not null or undefined
4326
+ (0, common_1.assertParamExists)('getAccountObjectPrivilegeCapabilities', 'orgName', orgName);
4327
+ // verify required parameter 'clusterName' is not null or undefined
4328
+ (0, common_1.assertParamExists)('getAccountObjectPrivilegeCapabilities', 'clusterName', clusterName);
4329
+ // verify required parameter 'accountName' is not null or undefined
4330
+ (0, common_1.assertParamExists)('getAccountObjectPrivilegeCapabilities', 'accountName', accountName);
4331
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/capabilities`
4332
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4333
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4334
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4335
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
4336
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4337
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4338
+ let baseOptions;
4339
+ if (configuration) {
4340
+ baseOptions = configuration.baseOptions;
4341
+ }
4342
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4343
+ const localVarHeaderParameter = {};
4344
+ const localVarQueryParameter = {};
4345
+ // authentication BearerToken required
4346
+ // http bearer authentication required
4347
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4348
+ // authentication DigestAuth required
4349
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4350
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4351
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4352
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4353
+ return {
4354
+ url: (0, common_1.toPathString)(localVarUrlObj),
4355
+ options: localVarRequestOptions,
4356
+ };
4357
+ },
4358
+ /**
4359
+ * Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
4360
+ * @summary Inspect native object and column privileges
4361
+ * @param {string} engineName
4362
+ * @param {string} orgName
4363
+ * @param {string} clusterName
4364
+ * @param {string} accountName
4365
+ * @param {string} objectType
4366
+ * @param {string} [databaseName]
4367
+ * @param {string} [schemaName]
4368
+ * @param {string} [objectName]
4369
+ * @param {string} [objectId]
4370
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
4371
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
4372
+ * @param {string} [catalogName]
4373
+ * @param {string} [subjectQualifiers] JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
4374
+ * @param {*} [options] Override http request option.
4375
+ * @throws {RequiredError}
4376
+ */
4377
+ getAccountObjectPrivileges: async (engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, objectName, objectId, subjectType, host, catalogName, subjectQualifiers, options = {}) => {
4378
+ // verify required parameter 'engineName' is not null or undefined
4379
+ (0, common_1.assertParamExists)('getAccountObjectPrivileges', 'engineName', engineName);
4380
+ // verify required parameter 'orgName' is not null or undefined
4381
+ (0, common_1.assertParamExists)('getAccountObjectPrivileges', 'orgName', orgName);
4382
+ // verify required parameter 'clusterName' is not null or undefined
4383
+ (0, common_1.assertParamExists)('getAccountObjectPrivileges', 'clusterName', clusterName);
4384
+ // verify required parameter 'accountName' is not null or undefined
4385
+ (0, common_1.assertParamExists)('getAccountObjectPrivileges', 'accountName', accountName);
4386
+ // verify required parameter 'objectType' is not null or undefined
4387
+ (0, common_1.assertParamExists)('getAccountObjectPrivileges', 'objectType', objectType);
4388
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges`
4389
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4390
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4391
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4392
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
4393
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4394
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4395
+ let baseOptions;
4396
+ if (configuration) {
4397
+ baseOptions = configuration.baseOptions;
4398
+ }
4399
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4400
+ const localVarHeaderParameter = {};
4401
+ const localVarQueryParameter = {};
4402
+ // authentication BearerToken required
4403
+ // http bearer authentication required
4404
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4405
+ // authentication DigestAuth required
4406
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4407
+ if (objectType !== undefined) {
4408
+ localVarQueryParameter['objectType'] = objectType;
4409
+ }
4410
+ if (databaseName !== undefined) {
4411
+ localVarQueryParameter['databaseName'] = databaseName;
4412
+ }
4413
+ if (schemaName !== undefined) {
4414
+ localVarQueryParameter['schemaName'] = schemaName;
4415
+ }
4416
+ if (objectName !== undefined) {
4417
+ localVarQueryParameter['objectName'] = objectName;
4418
+ }
4419
+ if (objectId !== undefined) {
4420
+ localVarQueryParameter['objectId'] = objectId;
4421
+ }
4422
+ if (subjectType !== undefined) {
4423
+ localVarQueryParameter['subjectType'] = subjectType;
4424
+ }
4425
+ if (host !== undefined) {
4426
+ localVarQueryParameter['host'] = host;
4427
+ }
4428
+ if (catalogName !== undefined) {
4429
+ localVarQueryParameter['catalogName'] = catalogName;
4430
+ }
4431
+ if (subjectQualifiers !== undefined) {
4432
+ localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
4433
+ }
4434
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4435
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4436
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4437
+ return {
4438
+ url: (0, common_1.toPathString)(localVarUrlObj),
4439
+ options: localVarRequestOptions,
4440
+ };
4441
+ },
4249
4442
  /**
4250
4443
  *
4251
4444
  * @summary Get backup
@@ -6964,6 +7157,78 @@ const SharedApiAxiosParamCreator = function (configuration) {
6964
7157
  options: localVarRequestOptions,
6965
7158
  };
6966
7159
  },
7160
+ /**
7161
+ * 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.
7162
+ * @summary Discover existing native privilege objects with stable routine identities
7163
+ * @param {string} engineName
7164
+ * @param {string} orgName
7165
+ * @param {string} clusterName
7166
+ * @param {string} accountName
7167
+ * @param {string} objectType
7168
+ * @param {string} [databaseName]
7169
+ * @param {string} [schemaName]
7170
+ * @param {number} [offset]
7171
+ * @param {number} [limit]
7172
+ * @param {string} [catalogName]
7173
+ * @param {*} [options] Override http request option.
7174
+ * @throws {RequiredError}
7175
+ */
7176
+ listAccountObjectPrivilegeObjects: async (engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, offset, limit, catalogName, options = {}) => {
7177
+ // verify required parameter 'engineName' is not null or undefined
7178
+ (0, common_1.assertParamExists)('listAccountObjectPrivilegeObjects', 'engineName', engineName);
7179
+ // verify required parameter 'orgName' is not null or undefined
7180
+ (0, common_1.assertParamExists)('listAccountObjectPrivilegeObjects', 'orgName', orgName);
7181
+ // verify required parameter 'clusterName' is not null or undefined
7182
+ (0, common_1.assertParamExists)('listAccountObjectPrivilegeObjects', 'clusterName', clusterName);
7183
+ // verify required parameter 'accountName' is not null or undefined
7184
+ (0, common_1.assertParamExists)('listAccountObjectPrivilegeObjects', 'accountName', accountName);
7185
+ // verify required parameter 'objectType' is not null or undefined
7186
+ (0, common_1.assertParamExists)('listAccountObjectPrivilegeObjects', 'objectType', objectType);
7187
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/objects`
7188
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
7189
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
7190
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
7191
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
7192
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7193
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7194
+ let baseOptions;
7195
+ if (configuration) {
7196
+ baseOptions = configuration.baseOptions;
7197
+ }
7198
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7199
+ const localVarHeaderParameter = {};
7200
+ const localVarQueryParameter = {};
7201
+ // authentication BearerToken required
7202
+ // http bearer authentication required
7203
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7204
+ // authentication DigestAuth required
7205
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
7206
+ if (objectType !== undefined) {
7207
+ localVarQueryParameter['objectType'] = objectType;
7208
+ }
7209
+ if (databaseName !== undefined) {
7210
+ localVarQueryParameter['databaseName'] = databaseName;
7211
+ }
7212
+ if (schemaName !== undefined) {
7213
+ localVarQueryParameter['schemaName'] = schemaName;
7214
+ }
7215
+ if (offset !== undefined) {
7216
+ localVarQueryParameter['offset'] = offset;
7217
+ }
7218
+ if (limit !== undefined) {
7219
+ localVarQueryParameter['limit'] = limit;
7220
+ }
7221
+ if (catalogName !== undefined) {
7222
+ localVarQueryParameter['catalogName'] = catalogName;
7223
+ }
7224
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7225
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7226
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7227
+ return {
7228
+ url: (0, common_1.toPathString)(localVarUrlObj),
7229
+ options: localVarRequestOptions,
7230
+ };
7231
+ },
6967
7232
  /**
6968
7233
  * list accounts in cluster
6969
7234
  * @summary List cluster accounts
@@ -14799,6 +15064,27 @@ const SharedApiFp = function (configuration) {
14799
15064
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.buildBackupObj']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14800
15065
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14801
15066
  },
15067
+ /**
15068
+ * Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
15069
+ * @summary Grant or revoke native object and column privileges
15070
+ * @param {string} engineName
15071
+ * @param {string} orgName
15072
+ * @param {string} clusterName
15073
+ * @param {string} accountName
15074
+ * @param {ObjectPrivilegeChange} body
15075
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
15076
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
15077
+ * @param {string} [subjectQualifiers] JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
15078
+ * @param {*} [options] Override http request option.
15079
+ * @throws {RequiredError}
15080
+ */
15081
+ async changeAccountObjectPrivileges(engineName, orgName, clusterName, accountName, body, subjectType, host, subjectQualifiers, options) {
15082
+ var _a, _b, _c;
15083
+ const localVarAxiosArgs = await localVarAxiosParamCreator.changeAccountObjectPrivileges(engineName, orgName, clusterName, accountName, body, subjectType, host, subjectQualifiers, options);
15084
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15085
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.changeAccountObjectPrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15086
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15087
+ },
14802
15088
  /**
14803
15089
  *
14804
15090
  * @summary Change Elasticsearch account password
@@ -16161,6 +16447,49 @@ const SharedApiFp = function (configuration) {
16161
16447
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.generateDemoData']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16162
16448
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16163
16449
  },
16450
+ /**
16451
+ * Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
16452
+ * @summary List native object privilege capabilities for the connected server
16453
+ * @param {string} engineName
16454
+ * @param {string} orgName
16455
+ * @param {string} clusterName
16456
+ * @param {string} accountName
16457
+ * @param {*} [options] Override http request option.
16458
+ * @throws {RequiredError}
16459
+ */
16460
+ async getAccountObjectPrivilegeCapabilities(engineName, orgName, clusterName, accountName, options) {
16461
+ var _a, _b, _c;
16462
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountObjectPrivilegeCapabilities(engineName, orgName, clusterName, accountName, options);
16463
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16464
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getAccountObjectPrivilegeCapabilities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16465
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16466
+ },
16467
+ /**
16468
+ * Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
16469
+ * @summary Inspect native object and column privileges
16470
+ * @param {string} engineName
16471
+ * @param {string} orgName
16472
+ * @param {string} clusterName
16473
+ * @param {string} accountName
16474
+ * @param {string} objectType
16475
+ * @param {string} [databaseName]
16476
+ * @param {string} [schemaName]
16477
+ * @param {string} [objectName]
16478
+ * @param {string} [objectId]
16479
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
16480
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
16481
+ * @param {string} [catalogName]
16482
+ * @param {string} [subjectQualifiers] JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
16483
+ * @param {*} [options] Override http request option.
16484
+ * @throws {RequiredError}
16485
+ */
16486
+ async getAccountObjectPrivileges(engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, objectName, objectId, subjectType, host, catalogName, subjectQualifiers, options) {
16487
+ var _a, _b, _c;
16488
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountObjectPrivileges(engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, objectName, objectId, subjectType, host, catalogName, subjectQualifiers, options);
16489
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16490
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getAccountObjectPrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16491
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16492
+ },
16164
16493
  /**
16165
16494
  *
16166
16495
  * @summary Get backup
@@ -17157,6 +17486,29 @@ const SharedApiFp = function (configuration) {
17157
17486
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.killSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17158
17487
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17159
17488
  },
17489
+ /**
17490
+ * 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.
17491
+ * @summary Discover existing native privilege objects with stable routine identities
17492
+ * @param {string} engineName
17493
+ * @param {string} orgName
17494
+ * @param {string} clusterName
17495
+ * @param {string} accountName
17496
+ * @param {string} objectType
17497
+ * @param {string} [databaseName]
17498
+ * @param {string} [schemaName]
17499
+ * @param {number} [offset]
17500
+ * @param {number} [limit]
17501
+ * @param {string} [catalogName]
17502
+ * @param {*} [options] Override http request option.
17503
+ * @throws {RequiredError}
17504
+ */
17505
+ async listAccountObjectPrivilegeObjects(engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, offset, limit, catalogName, options) {
17506
+ var _a, _b, _c;
17507
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountObjectPrivilegeObjects(engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, offset, limit, catalogName, options);
17508
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17509
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listAccountObjectPrivilegeObjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17510
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17511
+ },
17160
17512
  /**
17161
17513
  * list accounts in cluster
17162
17514
  * @summary List cluster accounts
@@ -20044,6 +20396,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20044
20396
  buildBackupObj(requestParameters, options) {
20045
20397
  return localVarFp.buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(axios, basePath));
20046
20398
  },
20399
+ /**
20400
+ * Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
20401
+ * @summary Grant or revoke native object and column privileges
20402
+ * @param {SharedApiChangeAccountObjectPrivilegesRequest} requestParameters Request parameters.
20403
+ * @param {*} [options] Override http request option.
20404
+ * @throws {RequiredError}
20405
+ */
20406
+ changeAccountObjectPrivileges(requestParameters, options) {
20407
+ return localVarFp.changeAccountObjectPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
20408
+ },
20047
20409
  /**
20048
20410
  *
20049
20411
  * @summary Change Elasticsearch account password
@@ -20875,6 +21237,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20875
21237
  generateDemoData(requestParameters, options) {
20876
21238
  return localVarFp.generateDemoData(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
20877
21239
  },
21240
+ /**
21241
+ * Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
21242
+ * @summary List native object privilege capabilities for the connected server
21243
+ * @param {SharedApiGetAccountObjectPrivilegeCapabilitiesRequest} requestParameters Request parameters.
21244
+ * @param {*} [options] Override http request option.
21245
+ * @throws {RequiredError}
21246
+ */
21247
+ getAccountObjectPrivilegeCapabilities(requestParameters, options) {
21248
+ return localVarFp.getAccountObjectPrivilegeCapabilities(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
21249
+ },
21250
+ /**
21251
+ * Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
21252
+ * @summary Inspect native object and column privileges
21253
+ * @param {SharedApiGetAccountObjectPrivilegesRequest} requestParameters Request parameters.
21254
+ * @param {*} [options] Override http request option.
21255
+ * @throws {RequiredError}
21256
+ */
21257
+ getAccountObjectPrivileges(requestParameters, options) {
21258
+ 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));
21259
+ },
20878
21260
  /**
20879
21261
  *
20880
21262
  * @summary Get backup
@@ -21464,6 +21846,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21464
21846
  killSession(requestParameters, options) {
21465
21847
  return localVarFp.killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(axios, basePath));
21466
21848
  },
21849
+ /**
21850
+ * 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.
21851
+ * @summary Discover existing native privilege objects with stable routine identities
21852
+ * @param {SharedApiListAccountObjectPrivilegeObjectsRequest} requestParameters Request parameters.
21853
+ * @param {*} [options] Override http request option.
21854
+ * @throws {RequiredError}
21855
+ */
21856
+ listAccountObjectPrivilegeObjects(requestParameters, options) {
21857
+ return localVarFp.listAccountObjectPrivilegeObjects(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.schemaName, requestParameters.offset, requestParameters.limit, requestParameters.catalogName, options).then((request) => request(axios, basePath));
21858
+ },
21467
21859
  /**
21468
21860
  * list accounts in cluster
21469
21861
  * @summary List cluster accounts
@@ -23218,6 +23610,17 @@ class SharedApi extends base_1.BaseAPI {
23218
23610
  buildBackupObj(requestParameters, options) {
23219
23611
  return (0, exports.SharedApiFp)(this.configuration).buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
23220
23612
  }
23613
+ /**
23614
+ * Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
23615
+ * @summary Grant or revoke native object and column privileges
23616
+ * @param {SharedApiChangeAccountObjectPrivilegesRequest} requestParameters Request parameters.
23617
+ * @param {*} [options] Override http request option.
23618
+ * @throws {RequiredError}
23619
+ * @memberof SharedApi
23620
+ */
23621
+ changeAccountObjectPrivileges(requestParameters, options) {
23622
+ return (0, exports.SharedApiFp)(this.configuration).changeAccountObjectPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(this.axios, this.basePath));
23623
+ }
23221
23624
  /**
23222
23625
  *
23223
23626
  * @summary Change Elasticsearch account password
@@ -24132,6 +24535,28 @@ class SharedApi extends base_1.BaseAPI {
24132
24535
  generateDemoData(requestParameters, options) {
24133
24536
  return (0, exports.SharedApiFp)(this.configuration).generateDemoData(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
24134
24537
  }
24538
+ /**
24539
+ * Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
24540
+ * @summary List native object privilege capabilities for the connected server
24541
+ * @param {SharedApiGetAccountObjectPrivilegeCapabilitiesRequest} requestParameters Request parameters.
24542
+ * @param {*} [options] Override http request option.
24543
+ * @throws {RequiredError}
24544
+ * @memberof SharedApi
24545
+ */
24546
+ getAccountObjectPrivilegeCapabilities(requestParameters, options) {
24547
+ return (0, exports.SharedApiFp)(this.configuration).getAccountObjectPrivilegeCapabilities(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
24548
+ }
24549
+ /**
24550
+ * Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
24551
+ * @summary Inspect native object and column privileges
24552
+ * @param {SharedApiGetAccountObjectPrivilegesRequest} requestParameters Request parameters.
24553
+ * @param {*} [options] Override http request option.
24554
+ * @throws {RequiredError}
24555
+ * @memberof SharedApi
24556
+ */
24557
+ getAccountObjectPrivileges(requestParameters, options) {
24558
+ return (0, exports.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));
24559
+ }
24135
24560
  /**
24136
24561
  *
24137
24562
  * @summary Get backup
@@ -24780,6 +25205,17 @@ class SharedApi extends base_1.BaseAPI {
24780
25205
  killSession(requestParameters, options) {
24781
25206
  return (0, exports.SharedApiFp)(this.configuration).killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(this.axios, this.basePath));
24782
25207
  }
25208
+ /**
25209
+ * 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.
25210
+ * @summary Discover existing native privilege objects with stable routine identities
25211
+ * @param {SharedApiListAccountObjectPrivilegeObjectsRequest} requestParameters Request parameters.
25212
+ * @param {*} [options] Override http request option.
25213
+ * @throws {RequiredError}
25214
+ * @memberof SharedApi
25215
+ */
25216
+ listAccountObjectPrivilegeObjects(requestParameters, options) {
25217
+ return (0, exports.SharedApiFp)(this.configuration).listAccountObjectPrivilegeObjects(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.schemaName, requestParameters.offset, requestParameters.limit, requestParameters.catalogName, options).then((request) => request(this.axios, this.basePath));
25218
+ }
24783
25219
  /**
24784
25220
  * list accounts in cluster
24785
25221
  * @summary List cluster accounts