kb-cloud-client-typescript 2.4.0-alpha.91 → 2.4.0-alpha.93

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 (55) hide show
  1. package/dist/adminapi/apis/account-api.d.ts +310 -0
  2. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/account-api.js +303 -0
  4. package/dist/adminapi/apis/account-api.js.map +1 -1
  5. package/dist/adminapi/apis/rdbms-api.d.ts +310 -0
  6. package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/rdbms-api.js +303 -0
  8. package/dist/adminapi/apis/rdbms-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +310 -0
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +303 -0
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/index.d.ts +1 -0
  14. package/dist/adminapi/models/index.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.js +1 -0
  16. package/dist/adminapi/models/index.js.map +1 -1
  17. package/dist/adminapi/models/object-privilege-reset-step.d.ts +31 -0
  18. package/dist/adminapi/models/object-privilege-reset-step.d.ts.map +1 -0
  19. package/dist/adminapi/models/object-privilege-reset-step.js +16 -0
  20. package/dist/adminapi/models/object-privilege-reset-step.js.map +1 -0
  21. package/dist/openapi/apis/account-api.d.ts +310 -0
  22. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  23. package/dist/openapi/apis/account-api.js +303 -0
  24. package/dist/openapi/apis/account-api.js.map +1 -1
  25. package/dist/openapi/apis/rdbms-api.d.ts +310 -0
  26. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  27. package/dist/openapi/apis/rdbms-api.js +303 -0
  28. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  29. package/dist/openapi/apis/shared-api.d.ts +310 -0
  30. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  31. package/dist/openapi/apis/shared-api.js +303 -0
  32. package/dist/openapi/apis/shared-api.js.map +1 -1
  33. package/dist/openapi/models/index.d.ts +1 -0
  34. package/dist/openapi/models/index.d.ts.map +1 -1
  35. package/dist/openapi/models/index.js +1 -0
  36. package/dist/openapi/models/index.js.map +1 -1
  37. package/dist/openapi/models/object-privilege-reset-step.d.ts +31 -0
  38. package/dist/openapi/models/object-privilege-reset-step.d.ts.map +1 -0
  39. package/dist/openapi/models/object-privilege-reset-step.js +16 -0
  40. package/dist/openapi/models/object-privilege-reset-step.js.map +1 -0
  41. package/package.json +1 -1
  42. package/src/adminapi/.openapi-generator/FILES +1 -0
  43. package/src/adminapi/apis/account-api.ts +533 -0
  44. package/src/adminapi/apis/rdbms-api.ts +533 -0
  45. package/src/adminapi/apis/shared-api.ts +533 -0
  46. package/src/adminapi/models/index.ts +1 -0
  47. package/src/adminapi/models/object-privilege-reset-step.ts +36 -0
  48. package/src/adminapi.yaml +204 -0
  49. package/src/openapi/.openapi-generator/FILES +1 -0
  50. package/src/openapi/apis/account-api.ts +533 -0
  51. package/src/openapi/apis/rdbms-api.ts +533 -0
  52. package/src/openapi/apis/shared-api.ts +533 -0
  53. package/src/openapi/models/index.ts +1 -0
  54. package/src/openapi/models/object-privilege-reset-step.ts +36 -0
  55. package/src/openapi.yaml +204 -0
@@ -7157,6 +7157,70 @@ const SharedApiAxiosParamCreator = function (configuration) {
7157
7157
  options: localVarRequestOptions,
7158
7158
  };
7159
7159
  },
7160
+ /**
7161
+ * 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.
7162
+ * @summary List exact column names for account object privileges
7163
+ * @param {string} engineName
7164
+ * @param {string} orgName
7165
+ * @param {string} clusterName
7166
+ * @param {string} accountName
7167
+ * @param {string} objectType Object type, either table or view
7168
+ * @param {string} databaseName
7169
+ * @param {string} objectName
7170
+ * @param {*} [options] Override http request option.
7171
+ * @throws {RequiredError}
7172
+ */
7173
+ listAccountObjectPrivilegeColumns: async (engineName, orgName, clusterName, accountName, objectType, databaseName, objectName, options = {}) => {
7174
+ // verify required parameter 'engineName' is not null or undefined
7175
+ (0, common_1.assertParamExists)('listAccountObjectPrivilegeColumns', 'engineName', engineName);
7176
+ // verify required parameter 'orgName' is not null or undefined
7177
+ (0, common_1.assertParamExists)('listAccountObjectPrivilegeColumns', 'orgName', orgName);
7178
+ // verify required parameter 'clusterName' is not null or undefined
7179
+ (0, common_1.assertParamExists)('listAccountObjectPrivilegeColumns', 'clusterName', clusterName);
7180
+ // verify required parameter 'accountName' is not null or undefined
7181
+ (0, common_1.assertParamExists)('listAccountObjectPrivilegeColumns', 'accountName', accountName);
7182
+ // verify required parameter 'objectType' is not null or undefined
7183
+ (0, common_1.assertParamExists)('listAccountObjectPrivilegeColumns', 'objectType', objectType);
7184
+ // verify required parameter 'databaseName' is not null or undefined
7185
+ (0, common_1.assertParamExists)('listAccountObjectPrivilegeColumns', 'databaseName', databaseName);
7186
+ // verify required parameter 'objectName' is not null or undefined
7187
+ (0, common_1.assertParamExists)('listAccountObjectPrivilegeColumns', 'objectName', objectName);
7188
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/columns`
7189
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
7190
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
7191
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
7192
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
7193
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7194
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7195
+ let baseOptions;
7196
+ if (configuration) {
7197
+ baseOptions = configuration.baseOptions;
7198
+ }
7199
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7200
+ const localVarHeaderParameter = {};
7201
+ const localVarQueryParameter = {};
7202
+ // authentication BearerToken required
7203
+ // http bearer authentication required
7204
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7205
+ // authentication DigestAuth required
7206
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
7207
+ if (objectType !== undefined) {
7208
+ localVarQueryParameter['objectType'] = objectType;
7209
+ }
7210
+ if (databaseName !== undefined) {
7211
+ localVarQueryParameter['databaseName'] = databaseName;
7212
+ }
7213
+ if (objectName !== undefined) {
7214
+ localVarQueryParameter['objectName'] = objectName;
7215
+ }
7216
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7217
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7218
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7219
+ return {
7220
+ url: (0, common_1.toPathString)(localVarUrlObj),
7221
+ options: localVarRequestOptions,
7222
+ };
7223
+ },
7160
7224
  /**
7161
7225
  * 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
7226
  * @summary Discover existing native privilege objects with stable routine identities
@@ -10548,6 +10612,64 @@ const SharedApiAxiosParamCreator = function (configuration) {
10548
10612
  options: localVarRequestOptions,
10549
10613
  };
10550
10614
  },
10615
+ /**
10616
+ * 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.
10617
+ * @summary Preview clearing all MySQL account privileges
10618
+ * @param {string} engineName
10619
+ * @param {string} orgName
10620
+ * @param {string} clusterName
10621
+ * @param {string} accountName
10622
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
10623
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
10624
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
10625
+ * @param {*} [options] Override http request option.
10626
+ * @throws {RequiredError}
10627
+ */
10628
+ previewAccountPrivilegeReset: async (engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options = {}) => {
10629
+ // verify required parameter 'engineName' is not null or undefined
10630
+ (0, common_1.assertParamExists)('previewAccountPrivilegeReset', 'engineName', engineName);
10631
+ // verify required parameter 'orgName' is not null or undefined
10632
+ (0, common_1.assertParamExists)('previewAccountPrivilegeReset', 'orgName', orgName);
10633
+ // verify required parameter 'clusterName' is not null or undefined
10634
+ (0, common_1.assertParamExists)('previewAccountPrivilegeReset', 'clusterName', clusterName);
10635
+ // verify required parameter 'accountName' is not null or undefined
10636
+ (0, common_1.assertParamExists)('previewAccountPrivilegeReset', 'accountName', accountName);
10637
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/reset`
10638
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
10639
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10640
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10641
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
10642
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10643
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10644
+ let baseOptions;
10645
+ if (configuration) {
10646
+ baseOptions = configuration.baseOptions;
10647
+ }
10648
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10649
+ const localVarHeaderParameter = {};
10650
+ const localVarQueryParameter = {};
10651
+ // authentication BearerToken required
10652
+ // http bearer authentication required
10653
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
10654
+ // authentication DigestAuth required
10655
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
10656
+ if (subjectType !== undefined) {
10657
+ localVarQueryParameter['subjectType'] = subjectType;
10658
+ }
10659
+ if (host !== undefined) {
10660
+ localVarQueryParameter['host'] = host;
10661
+ }
10662
+ if (subjectQualifiers !== undefined) {
10663
+ localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
10664
+ }
10665
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10666
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10667
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10668
+ return {
10669
+ url: (0, common_1.toPathString)(localVarUrlObj),
10670
+ options: localVarRequestOptions,
10671
+ };
10672
+ },
10551
10673
  /**
10552
10674
  *
10553
10675
  * @summary Produce message to topic
@@ -12358,6 +12480,64 @@ const SharedApiAxiosParamCreator = function (configuration) {
12358
12480
  options: localVarRequestOptions,
12359
12481
  };
12360
12482
  },
12483
+ /**
12484
+ * 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.
12485
+ * @summary Clear all MySQL account privileges
12486
+ * @param {string} engineName
12487
+ * @param {string} orgName
12488
+ * @param {string} clusterName
12489
+ * @param {string} accountName
12490
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
12491
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
12492
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
12493
+ * @param {*} [options] Override http request option.
12494
+ * @throws {RequiredError}
12495
+ */
12496
+ resetAccountPrivileges: async (engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options = {}) => {
12497
+ // verify required parameter 'engineName' is not null or undefined
12498
+ (0, common_1.assertParamExists)('resetAccountPrivileges', 'engineName', engineName);
12499
+ // verify required parameter 'orgName' is not null or undefined
12500
+ (0, common_1.assertParamExists)('resetAccountPrivileges', 'orgName', orgName);
12501
+ // verify required parameter 'clusterName' is not null or undefined
12502
+ (0, common_1.assertParamExists)('resetAccountPrivileges', 'clusterName', clusterName);
12503
+ // verify required parameter 'accountName' is not null or undefined
12504
+ (0, common_1.assertParamExists)('resetAccountPrivileges', 'accountName', accountName);
12505
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/reset`
12506
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
12507
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12508
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
12509
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
12510
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12511
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12512
+ let baseOptions;
12513
+ if (configuration) {
12514
+ baseOptions = configuration.baseOptions;
12515
+ }
12516
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
12517
+ const localVarHeaderParameter = {};
12518
+ const localVarQueryParameter = {};
12519
+ // authentication BearerToken required
12520
+ // http bearer authentication required
12521
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
12522
+ // authentication DigestAuth required
12523
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
12524
+ if (subjectType !== undefined) {
12525
+ localVarQueryParameter['subjectType'] = subjectType;
12526
+ }
12527
+ if (host !== undefined) {
12528
+ localVarQueryParameter['host'] = host;
12529
+ }
12530
+ if (subjectQualifiers !== undefined) {
12531
+ localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
12532
+ }
12533
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12534
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12535
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12536
+ return {
12537
+ url: (0, common_1.toPathString)(localVarUrlObj),
12538
+ options: localVarRequestOptions,
12539
+ };
12540
+ },
12361
12541
  /**
12362
12542
  *
12363
12543
  * @summary Reset consumer offset of topic
@@ -17486,6 +17666,26 @@ const SharedApiFp = function (configuration) {
17486
17666
  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;
17487
17667
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17488
17668
  },
17669
+ /**
17670
+ * 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.
17671
+ * @summary List exact column names for account object privileges
17672
+ * @param {string} engineName
17673
+ * @param {string} orgName
17674
+ * @param {string} clusterName
17675
+ * @param {string} accountName
17676
+ * @param {string} objectType Object type, either table or view
17677
+ * @param {string} databaseName
17678
+ * @param {string} objectName
17679
+ * @param {*} [options] Override http request option.
17680
+ * @throws {RequiredError}
17681
+ */
17682
+ async listAccountObjectPrivilegeColumns(engineName, orgName, clusterName, accountName, objectType, databaseName, objectName, options) {
17683
+ var _a, _b, _c;
17684
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountObjectPrivilegeColumns(engineName, orgName, clusterName, accountName, objectType, databaseName, objectName, options);
17685
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17686
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listAccountObjectPrivilegeColumns']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17687
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17688
+ },
17489
17689
  /**
17490
17690
  * 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
17691
  * @summary Discover existing native privilege objects with stable routine identities
@@ -18773,6 +18973,26 @@ const SharedApiFp = function (configuration) {
18773
18973
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.patchOrgParameter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18774
18974
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18775
18975
  },
18976
+ /**
18977
+ * 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.
18978
+ * @summary Preview clearing all MySQL account privileges
18979
+ * @param {string} engineName
18980
+ * @param {string} orgName
18981
+ * @param {string} clusterName
18982
+ * @param {string} accountName
18983
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
18984
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
18985
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
18986
+ * @param {*} [options] Override http request option.
18987
+ * @throws {RequiredError}
18988
+ */
18989
+ async previewAccountPrivilegeReset(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options) {
18990
+ var _a, _b, _c;
18991
+ const localVarAxiosArgs = await localVarAxiosParamCreator.previewAccountPrivilegeReset(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options);
18992
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18993
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.previewAccountPrivilegeReset']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18994
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18995
+ },
18776
18996
  /**
18777
18997
  *
18778
18998
  * @summary Produce message to topic
@@ -19361,6 +19581,26 @@ const SharedApiFp = function (configuration) {
19361
19581
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.reconfigureCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19362
19582
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19363
19583
  },
19584
+ /**
19585
+ * 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.
19586
+ * @summary Clear all MySQL account privileges
19587
+ * @param {string} engineName
19588
+ * @param {string} orgName
19589
+ * @param {string} clusterName
19590
+ * @param {string} accountName
19591
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
19592
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
19593
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
19594
+ * @param {*} [options] Override http request option.
19595
+ * @throws {RequiredError}
19596
+ */
19597
+ async resetAccountPrivileges(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options) {
19598
+ var _a, _b, _c;
19599
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resetAccountPrivileges(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options);
19600
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19601
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.resetAccountPrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19602
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19603
+ },
19364
19604
  /**
19365
19605
  *
19366
19606
  * @summary Reset consumer offset of topic
@@ -21846,6 +22086,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21846
22086
  killSession(requestParameters, options) {
21847
22087
  return localVarFp.killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(axios, basePath));
21848
22088
  },
22089
+ /**
22090
+ * 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.
22091
+ * @summary List exact column names for account object privileges
22092
+ * @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
22093
+ * @param {*} [options] Override http request option.
22094
+ * @throws {RequiredError}
22095
+ */
22096
+ listAccountObjectPrivilegeColumns(requestParameters, options) {
22097
+ return localVarFp.listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, options).then((request) => request(axios, basePath));
22098
+ },
21849
22099
  /**
21850
22100
  * 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
22101
  * @summary Discover existing native privilege objects with stable routine identities
@@ -22652,6 +22902,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
22652
22902
  patchOrgParameter(requestParameters, options) {
22653
22903
  return localVarFp.patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
22654
22904
  },
22905
+ /**
22906
+ * 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.
22907
+ * @summary Preview clearing all MySQL account privileges
22908
+ * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
22909
+ * @param {*} [options] Override http request option.
22910
+ * @throws {RequiredError}
22911
+ */
22912
+ previewAccountPrivilegeReset(requestParameters, options) {
22913
+ return localVarFp.previewAccountPrivilegeReset(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
22914
+ },
22655
22915
  /**
22656
22916
  *
22657
22917
  * @summary Produce message to topic
@@ -22931,6 +23191,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
22931
23191
  reconfigureCluster(requestParameters, options) {
22932
23192
  return localVarFp.reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
22933
23193
  },
23194
+ /**
23195
+ * 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.
23196
+ * @summary Clear all MySQL account privileges
23197
+ * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
23198
+ * @param {*} [options] Override http request option.
23199
+ * @throws {RequiredError}
23200
+ */
23201
+ resetAccountPrivileges(requestParameters, options) {
23202
+ return localVarFp.resetAccountPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
23203
+ },
22934
23204
  /**
22935
23205
  *
22936
23206
  * @summary Reset consumer offset of topic
@@ -25205,6 +25475,17 @@ class SharedApi extends base_1.BaseAPI {
25205
25475
  killSession(requestParameters, options) {
25206
25476
  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));
25207
25477
  }
25478
+ /**
25479
+ * 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.
25480
+ * @summary List exact column names for account object privileges
25481
+ * @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
25482
+ * @param {*} [options] Override http request option.
25483
+ * @throws {RequiredError}
25484
+ * @memberof SharedApi
25485
+ */
25486
+ listAccountObjectPrivilegeColumns(requestParameters, options) {
25487
+ return (0, exports.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));
25488
+ }
25208
25489
  /**
25209
25490
  * 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
25491
  * @summary Discover existing native privilege objects with stable routine identities
@@ -26092,6 +26373,17 @@ class SharedApi extends base_1.BaseAPI {
26092
26373
  patchOrgParameter(requestParameters, options) {
26093
26374
  return (0, exports.SharedApiFp)(this.configuration).patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
26094
26375
  }
26376
+ /**
26377
+ * 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.
26378
+ * @summary Preview clearing all MySQL account privileges
26379
+ * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
26380
+ * @param {*} [options] Override http request option.
26381
+ * @throws {RequiredError}
26382
+ * @memberof SharedApi
26383
+ */
26384
+ previewAccountPrivilegeReset(requestParameters, options) {
26385
+ return (0, exports.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));
26386
+ }
26095
26387
  /**
26096
26388
  *
26097
26389
  * @summary Produce message to topic
@@ -26399,6 +26691,17 @@ class SharedApi extends base_1.BaseAPI {
26399
26691
  reconfigureCluster(requestParameters, options) {
26400
26692
  return (0, exports.SharedApiFp)(this.configuration).reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
26401
26693
  }
26694
+ /**
26695
+ * 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.
26696
+ * @summary Clear all MySQL account privileges
26697
+ * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
26698
+ * @param {*} [options] Override http request option.
26699
+ * @throws {RequiredError}
26700
+ * @memberof SharedApi
26701
+ */
26702
+ resetAccountPrivileges(requestParameters, options) {
26703
+ return (0, exports.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));
26704
+ }
26402
26705
  /**
26403
26706
  *
26404
26707
  * @summary Reset consumer offset of topic