kb-cloud-client-typescript 2.4.0-alpha.92 → 2.4.0-alpha.94
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/component-item-create.d.ts +12 -0
- package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
- package/dist/adminapi/models/component-item.d.ts +19 -0
- package/dist/adminapi/models/component-item.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +2 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +2 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/instance-template-attribute.d.ts +0 -1
- package/dist/adminapi/models/instance-template-attribute.d.ts.map +1 -1
- package/dist/adminapi/models/instance-template-attribute.js +0 -1
- package/dist/adminapi/models/instance-template-attribute.js.map +1 -1
- package/dist/adminapi/models/instance-template-create.d.ts +9 -3
- package/dist/adminapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/adminapi/models/instance.d.ts +6 -0
- package/dist/adminapi/models/instance.d.ts.map +1 -1
- package/dist/adminapi/models/mode-option.d.ts +7 -0
- package/dist/adminapi/models/mode-option.d.ts.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/adminapi/models/placement-scope.d.ts +22 -0
- package/dist/adminapi/models/placement-scope.d.ts.map +1 -0
- package/dist/adminapi/models/placement-scope.js +26 -0
- package/dist/adminapi/models/placement-scope.js.map +1 -0
- package/dist/internalapi/models/component-item.d.ts +19 -0
- package/dist/internalapi/models/component-item.d.ts.map +1 -1
- package/dist/internalapi/models/index.d.ts +2 -0
- package/dist/internalapi/models/index.d.ts.map +1 -1
- package/dist/internalapi/models/index.js +2 -0
- package/dist/internalapi/models/index.js.map +1 -1
- package/dist/internalapi/models/instance-template-create-env-inner.d.ts +31 -0
- package/dist/internalapi/models/instance-template-create-env-inner.d.ts.map +1 -0
- package/dist/internalapi/models/instance-template-create-env-inner.js +16 -0
- package/dist/internalapi/models/instance-template-create-env-inner.js.map +1 -0
- package/dist/internalapi/models/instance-template-create.d.ts +72 -0
- package/dist/internalapi/models/instance-template-create.d.ts.map +1 -0
- package/dist/internalapi/models/instance-template-create.js +16 -0
- package/dist/internalapi/models/instance-template-create.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/component-item-create.d.ts +12 -0
- package/dist/openapi/models/component-item-create.d.ts.map +1 -1
- package/dist/openapi/models/component-item.d.ts +19 -0
- package/dist/openapi/models/component-item.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +2 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +2 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/instance-template-attribute.d.ts +0 -1
- package/dist/openapi/models/instance-template-attribute.d.ts.map +1 -1
- package/dist/openapi/models/instance-template-attribute.js +0 -1
- package/dist/openapi/models/instance-template-attribute.js.map +1 -1
- package/dist/openapi/models/instance-template-create.d.ts +9 -3
- package/dist/openapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/openapi/models/instance.d.ts +6 -0
- package/dist/openapi/models/instance.d.ts.map +1 -1
- package/dist/openapi/models/mode-option.d.ts +7 -0
- package/dist/openapi/models/mode-option.d.ts.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/dist/openapi/models/placement-scope.d.ts +22 -0
- package/dist/openapi/models/placement-scope.d.ts.map +1 -0
- package/dist/openapi/models/placement-scope.js +26 -0
- package/dist/openapi/models/placement-scope.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +2 -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/component-item-create.ts +12 -0
- package/src/adminapi/models/component-item.ts +21 -0
- package/src/adminapi/models/index.ts +2 -0
- package/src/adminapi/models/instance-template-attribute.ts +0 -1
- package/src/adminapi/models/instance-template-create.ts +9 -3
- package/src/adminapi/models/instance.ts +6 -0
- package/src/adminapi/models/mode-option.ts +9 -0
- package/src/adminapi/models/object-privilege-reset-step.ts +36 -0
- package/src/adminapi/models/placement-scope.ts +31 -0
- package/src/adminapi.yaml +174 -5
- package/src/internalapi/.openapi-generator/FILES +2 -0
- package/src/internalapi/models/component-item.ts +21 -0
- package/src/internalapi/models/index.ts +2 -0
- package/src/internalapi/models/instance-template-create-env-inner.ts +36 -0
- package/src/internalapi/models/instance-template-create.ts +75 -0
- package/src/internalapi.yaml +62 -0
- package/src/openapi/.openapi-generator/FILES +2 -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/component-item-create.ts +12 -0
- package/src/openapi/models/component-item.ts +21 -0
- package/src/openapi/models/index.ts +2 -0
- package/src/openapi/models/instance-template-attribute.ts +0 -1
- package/src/openapi/models/instance-template-create.ts +9 -3
- package/src/openapi/models/instance.ts +6 -0
- package/src/openapi/models/mode-option.ts +9 -0
- package/src/openapi/models/object-privilege-reset-step.ts +36 -0
- package/src/openapi/models/placement-scope.ts +31 -0
- package/src/openapi.yaml +174 -5
|
@@ -10612,6 +10612,64 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
10612
10612
|
options: localVarRequestOptions,
|
|
10613
10613
|
};
|
|
10614
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
|
+
},
|
|
10615
10673
|
/**
|
|
10616
10674
|
*
|
|
10617
10675
|
* @summary Produce message to topic
|
|
@@ -12422,6 +12480,64 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12422
12480
|
options: localVarRequestOptions,
|
|
12423
12481
|
};
|
|
12424
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
|
+
},
|
|
12425
12541
|
/**
|
|
12426
12542
|
*
|
|
12427
12543
|
* @summary Reset consumer offset of topic
|
|
@@ -18857,6 +18973,26 @@ const SharedApiFp = function (configuration) {
|
|
|
18857
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;
|
|
18858
18974
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18859
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
|
+
},
|
|
18860
18996
|
/**
|
|
18861
18997
|
*
|
|
18862
18998
|
* @summary Produce message to topic
|
|
@@ -19445,6 +19581,26 @@ const SharedApiFp = function (configuration) {
|
|
|
19445
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;
|
|
19446
19582
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19447
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
|
+
},
|
|
19448
19604
|
/**
|
|
19449
19605
|
*
|
|
19450
19606
|
* @summary Reset consumer offset of topic
|
|
@@ -22746,6 +22902,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
22746
22902
|
patchOrgParameter(requestParameters, options) {
|
|
22747
22903
|
return localVarFp.patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
|
|
22748
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
|
+
},
|
|
22749
22915
|
/**
|
|
22750
22916
|
*
|
|
22751
22917
|
* @summary Produce message to topic
|
|
@@ -23025,6 +23191,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
23025
23191
|
reconfigureCluster(requestParameters, options) {
|
|
23026
23192
|
return localVarFp.reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23027
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
|
+
},
|
|
23028
23204
|
/**
|
|
23029
23205
|
*
|
|
23030
23206
|
* @summary Reset consumer offset of topic
|
|
@@ -26197,6 +26373,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
26197
26373
|
patchOrgParameter(requestParameters, options) {
|
|
26198
26374
|
return (0, exports.SharedApiFp)(this.configuration).patchOrgParameter(requestParameters.orgName, requestParameters.parameterName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
|
|
26199
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
|
+
}
|
|
26200
26387
|
/**
|
|
26201
26388
|
*
|
|
26202
26389
|
* @summary Produce message to topic
|
|
@@ -26504,6 +26691,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
26504
26691
|
reconfigureCluster(requestParameters, options) {
|
|
26505
26692
|
return (0, exports.SharedApiFp)(this.configuration).reconfigureCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
26506
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
|
+
}
|
|
26507
26705
|
/**
|
|
26508
26706
|
*
|
|
26509
26707
|
* @summary Reset consumer offset of topic
|