kb-cloud-client-typescript 2.4.0-alpha.92 → 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.
- package/dist/adminapi/apis/account-api.d.ts +207 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +198 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +207 -0
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +198 -0
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +207 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +198 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +1 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/object-privilege-reset-step.d.ts +31 -0
- package/dist/adminapi/models/object-privilege-reset-step.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-reset-step.js +16 -0
- package/dist/adminapi/models/object-privilege-reset-step.js.map +1 -0
- package/dist/openapi/apis/account-api.d.ts +207 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +198 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +207 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +198 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +207 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +198 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/object-privilege-reset-step.d.ts +31 -0
- package/dist/openapi/models/object-privilege-reset-step.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-reset-step.js +16 -0
- package/dist/openapi/models/object-privilege-reset-step.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +1 -0
- package/src/adminapi/apis/account-api.ts +352 -0
- package/src/adminapi/apis/rdbms-api.ts +352 -0
- package/src/adminapi/apis/shared-api.ts +352 -0
- package/src/adminapi/models/index.ts +1 -0
- package/src/adminapi/models/object-privilege-reset-step.ts +36 -0
- package/src/adminapi.yaml +139 -0
- package/src/openapi/.openapi-generator/FILES +1 -0
- package/src/openapi/apis/account-api.ts +352 -0
- package/src/openapi/apis/rdbms-api.ts +352 -0
- package/src/openapi/apis/shared-api.ts +352 -0
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi/models/object-privilege-reset-step.ts +36 -0
- package/src/openapi.yaml +139 -0
|
@@ -10565,6 +10565,64 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
10565
10565
|
options: localVarRequestOptions,
|
|
10566
10566
|
};
|
|
10567
10567
|
},
|
|
10568
|
+
/**
|
|
10569
|
+
* 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.
|
|
10570
|
+
* @summary Preview clearing all MySQL account privileges
|
|
10571
|
+
* @param {string} engineName
|
|
10572
|
+
* @param {string} orgName
|
|
10573
|
+
* @param {string} clusterName
|
|
10574
|
+
* @param {string} accountName
|
|
10575
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
10576
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
10577
|
+
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
10578
|
+
* @param {*} [options] Override http request option.
|
|
10579
|
+
* @throws {RequiredError}
|
|
10580
|
+
*/
|
|
10581
|
+
previewAccountPrivilegeReset: async (engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options = {}) => {
|
|
10582
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
10583
|
+
(0, common_1.assertParamExists)('previewAccountPrivilegeReset', 'engineName', engineName);
|
|
10584
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10585
|
+
(0, common_1.assertParamExists)('previewAccountPrivilegeReset', 'orgName', orgName);
|
|
10586
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10587
|
+
(0, common_1.assertParamExists)('previewAccountPrivilegeReset', 'clusterName', clusterName);
|
|
10588
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
10589
|
+
(0, common_1.assertParamExists)('previewAccountPrivilegeReset', 'accountName', accountName);
|
|
10590
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/reset`
|
|
10591
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
10592
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10593
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10594
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
10595
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10596
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10597
|
+
let baseOptions;
|
|
10598
|
+
if (configuration) {
|
|
10599
|
+
baseOptions = configuration.baseOptions;
|
|
10600
|
+
}
|
|
10601
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10602
|
+
const localVarHeaderParameter = {};
|
|
10603
|
+
const localVarQueryParameter = {};
|
|
10604
|
+
// authentication BearerToken required
|
|
10605
|
+
// http bearer authentication required
|
|
10606
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10607
|
+
// authentication DigestAuth required
|
|
10608
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
10609
|
+
if (subjectType !== undefined) {
|
|
10610
|
+
localVarQueryParameter['subjectType'] = subjectType;
|
|
10611
|
+
}
|
|
10612
|
+
if (host !== undefined) {
|
|
10613
|
+
localVarQueryParameter['host'] = host;
|
|
10614
|
+
}
|
|
10615
|
+
if (subjectQualifiers !== undefined) {
|
|
10616
|
+
localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
|
|
10617
|
+
}
|
|
10618
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10619
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10620
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10621
|
+
return {
|
|
10622
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10623
|
+
options: localVarRequestOptions,
|
|
10624
|
+
};
|
|
10625
|
+
},
|
|
10568
10626
|
/**
|
|
10569
10627
|
*
|
|
10570
10628
|
* @summary Produce message to topic
|
|
@@ -12375,6 +12433,64 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12375
12433
|
options: localVarRequestOptions,
|
|
12376
12434
|
};
|
|
12377
12435
|
},
|
|
12436
|
+
/**
|
|
12437
|
+
* 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.
|
|
12438
|
+
* @summary Clear all MySQL account privileges
|
|
12439
|
+
* @param {string} engineName
|
|
12440
|
+
* @param {string} orgName
|
|
12441
|
+
* @param {string} clusterName
|
|
12442
|
+
* @param {string} accountName
|
|
12443
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
12444
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
12445
|
+
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
12446
|
+
* @param {*} [options] Override http request option.
|
|
12447
|
+
* @throws {RequiredError}
|
|
12448
|
+
*/
|
|
12449
|
+
resetAccountPrivileges: async (engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options = {}) => {
|
|
12450
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
12451
|
+
(0, common_1.assertParamExists)('resetAccountPrivileges', 'engineName', engineName);
|
|
12452
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12453
|
+
(0, common_1.assertParamExists)('resetAccountPrivileges', 'orgName', orgName);
|
|
12454
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12455
|
+
(0, common_1.assertParamExists)('resetAccountPrivileges', 'clusterName', clusterName);
|
|
12456
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
12457
|
+
(0, common_1.assertParamExists)('resetAccountPrivileges', 'accountName', accountName);
|
|
12458
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/reset`
|
|
12459
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
12460
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12461
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12462
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
12463
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12464
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12465
|
+
let baseOptions;
|
|
12466
|
+
if (configuration) {
|
|
12467
|
+
baseOptions = configuration.baseOptions;
|
|
12468
|
+
}
|
|
12469
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
12470
|
+
const localVarHeaderParameter = {};
|
|
12471
|
+
const localVarQueryParameter = {};
|
|
12472
|
+
// authentication BearerToken required
|
|
12473
|
+
// http bearer authentication required
|
|
12474
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12475
|
+
// authentication DigestAuth required
|
|
12476
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12477
|
+
if (subjectType !== undefined) {
|
|
12478
|
+
localVarQueryParameter['subjectType'] = subjectType;
|
|
12479
|
+
}
|
|
12480
|
+
if (host !== undefined) {
|
|
12481
|
+
localVarQueryParameter['host'] = host;
|
|
12482
|
+
}
|
|
12483
|
+
if (subjectQualifiers !== undefined) {
|
|
12484
|
+
localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
|
|
12485
|
+
}
|
|
12486
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12487
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12488
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12489
|
+
return {
|
|
12490
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12491
|
+
options: localVarRequestOptions,
|
|
12492
|
+
};
|
|
12493
|
+
},
|
|
12378
12494
|
/**
|
|
12379
12495
|
*
|
|
12380
12496
|
* @summary Reset consumer offset of topic
|
|
@@ -18893,6 +19009,26 @@ const SharedApiFp = function (configuration) {
|
|
|
18893
19009
|
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;
|
|
18894
19010
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18895
19011
|
},
|
|
19012
|
+
/**
|
|
19013
|
+
* 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.
|
|
19014
|
+
* @summary Preview clearing all MySQL account privileges
|
|
19015
|
+
* @param {string} engineName
|
|
19016
|
+
* @param {string} orgName
|
|
19017
|
+
* @param {string} clusterName
|
|
19018
|
+
* @param {string} accountName
|
|
19019
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
19020
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
19021
|
+
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
19022
|
+
* @param {*} [options] Override http request option.
|
|
19023
|
+
* @throws {RequiredError}
|
|
19024
|
+
*/
|
|
19025
|
+
async previewAccountPrivilegeReset(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options) {
|
|
19026
|
+
var _a, _b, _c;
|
|
19027
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.previewAccountPrivilegeReset(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options);
|
|
19028
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19029
|
+
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;
|
|
19030
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19031
|
+
},
|
|
18896
19032
|
/**
|
|
18897
19033
|
*
|
|
18898
19034
|
* @summary Produce message to topic
|
|
@@ -19481,6 +19617,26 @@ const SharedApiFp = function (configuration) {
|
|
|
19481
19617
|
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;
|
|
19482
19618
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19483
19619
|
},
|
|
19620
|
+
/**
|
|
19621
|
+
* 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.
|
|
19622
|
+
* @summary Clear all MySQL account privileges
|
|
19623
|
+
* @param {string} engineName
|
|
19624
|
+
* @param {string} orgName
|
|
19625
|
+
* @param {string} clusterName
|
|
19626
|
+
* @param {string} accountName
|
|
19627
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
19628
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
19629
|
+
* @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
|
|
19630
|
+
* @param {*} [options] Override http request option.
|
|
19631
|
+
* @throws {RequiredError}
|
|
19632
|
+
*/
|
|
19633
|
+
async resetAccountPrivileges(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options) {
|
|
19634
|
+
var _a, _b, _c;
|
|
19635
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetAccountPrivileges(engineName, orgName, clusterName, accountName, subjectType, host, subjectQualifiers, options);
|
|
19636
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19637
|
+
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;
|
|
19638
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19639
|
+
},
|
|
19484
19640
|
/**
|
|
19485
19641
|
*
|
|
19486
19642
|
* @summary Reset consumer offset of topic
|
|
@@ -22781,6 +22937,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
22781
22937
|
patchOrgParameter(requestParameters, options) {
|
|
22782
22938
|
return localVarFp.patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
|
|
22783
22939
|
},
|
|
22940
|
+
/**
|
|
22941
|
+
* 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.
|
|
22942
|
+
* @summary Preview clearing all MySQL account privileges
|
|
22943
|
+
* @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
|
|
22944
|
+
* @param {*} [options] Override http request option.
|
|
22945
|
+
* @throws {RequiredError}
|
|
22946
|
+
*/
|
|
22947
|
+
previewAccountPrivilegeReset(requestParameters, options) {
|
|
22948
|
+
return localVarFp.previewAccountPrivilegeReset(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
|
|
22949
|
+
},
|
|
22784
22950
|
/**
|
|
22785
22951
|
*
|
|
22786
22952
|
* @summary Produce message to topic
|
|
@@ -23060,6 +23226,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
23060
23226
|
reconfigureCluster(requestParameters, options) {
|
|
23061
23227
|
return localVarFp.reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23062
23228
|
},
|
|
23229
|
+
/**
|
|
23230
|
+
* 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.
|
|
23231
|
+
* @summary Clear all MySQL account privileges
|
|
23232
|
+
* @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
|
|
23233
|
+
* @param {*} [options] Override http request option.
|
|
23234
|
+
* @throws {RequiredError}
|
|
23235
|
+
*/
|
|
23236
|
+
resetAccountPrivileges(requestParameters, options) {
|
|
23237
|
+
return localVarFp.resetAccountPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
|
|
23238
|
+
},
|
|
23063
23239
|
/**
|
|
23064
23240
|
*
|
|
23065
23241
|
* @summary Reset consumer offset of topic
|
|
@@ -26209,6 +26385,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
26209
26385
|
patchOrgParameter(requestParameters, options) {
|
|
26210
26386
|
return (0, exports.SharedApiFp)(this.configuration).patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
|
|
26211
26387
|
}
|
|
26388
|
+
/**
|
|
26389
|
+
* 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.
|
|
26390
|
+
* @summary Preview clearing all MySQL account privileges
|
|
26391
|
+
* @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
|
|
26392
|
+
* @param {*} [options] Override http request option.
|
|
26393
|
+
* @throws {RequiredError}
|
|
26394
|
+
* @memberof SharedApi
|
|
26395
|
+
*/
|
|
26396
|
+
previewAccountPrivilegeReset(requestParameters, options) {
|
|
26397
|
+
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));
|
|
26398
|
+
}
|
|
26212
26399
|
/**
|
|
26213
26400
|
*
|
|
26214
26401
|
* @summary Produce message to topic
|
|
@@ -26516,6 +26703,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
26516
26703
|
reconfigureCluster(requestParameters, options) {
|
|
26517
26704
|
return (0, exports.SharedApiFp)(this.configuration).reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
26518
26705
|
}
|
|
26706
|
+
/**
|
|
26707
|
+
* 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.
|
|
26708
|
+
* @summary Clear all MySQL account privileges
|
|
26709
|
+
* @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
|
|
26710
|
+
* @param {*} [options] Override http request option.
|
|
26711
|
+
* @throws {RequiredError}
|
|
26712
|
+
* @memberof SharedApi
|
|
26713
|
+
*/
|
|
26714
|
+
resetAccountPrivileges(requestParameters, options) {
|
|
26715
|
+
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));
|
|
26716
|
+
}
|
|
26519
26717
|
/**
|
|
26520
26718
|
*
|
|
26521
26719
|
* @summary Reset consumer offset of topic
|