kb-cloud-client-typescript 2.3.0-alpha.105 → 2.3.0-alpha.107
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 +158 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +168 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +158 -0
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +168 -0
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +158 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +168 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/account-option.d.ts +6 -0
- package/dist/adminapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +158 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +168 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +158 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +168 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +158 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +168 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/account-option.d.ts +6 -0
- package/dist/openapi/models/account-option.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/account-api.ts +272 -0
- package/src/adminapi/apis/rdbms-api.ts +272 -0
- package/src/adminapi/apis/shared-api.ts +272 -0
- package/src/adminapi/models/account-option.ts +6 -0
- package/src/adminapi.yaml +91 -0
- package/src/openapi/apis/account-api.ts +272 -0
- package/src/openapi/apis/rdbms-api.ts +272 -0
- package/src/openapi/apis/shared-api.ts +272 -0
- package/src/openapi/models/account-option.ts +6 -0
- package/src/openapi.yaml +91 -0
|
@@ -7592,6 +7592,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
7592
7592
|
options: localVarRequestOptions,
|
|
7593
7593
|
};
|
|
7594
7594
|
},
|
|
7595
|
+
/**
|
|
7596
|
+
* lock an account in cluster
|
|
7597
|
+
* @summary Lock cluster account
|
|
7598
|
+
* @param {string} engineName name of the engine
|
|
7599
|
+
* @param {string} orgName name of the organization
|
|
7600
|
+
* @param {string} clusterName name of the cluster
|
|
7601
|
+
* @param {string} accountName name of the account
|
|
7602
|
+
* @param {*} [options] Override http request option.
|
|
7603
|
+
* @throws {RequiredError}
|
|
7604
|
+
*/
|
|
7605
|
+
lockAccount: async (engineName, orgName, clusterName, accountName, options = {}) => {
|
|
7606
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
7607
|
+
(0, common_1.assertParamExists)('lockAccount', 'engineName', engineName);
|
|
7608
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7609
|
+
(0, common_1.assertParamExists)('lockAccount', 'orgName', orgName);
|
|
7610
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7611
|
+
(0, common_1.assertParamExists)('lockAccount', 'clusterName', clusterName);
|
|
7612
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
7613
|
+
(0, common_1.assertParamExists)('lockAccount', 'accountName', accountName);
|
|
7614
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/lock`
|
|
7615
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
7616
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7617
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
7618
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
7619
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7620
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7621
|
+
let baseOptions;
|
|
7622
|
+
if (configuration) {
|
|
7623
|
+
baseOptions = configuration.baseOptions;
|
|
7624
|
+
}
|
|
7625
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
7626
|
+
const localVarHeaderParameter = {};
|
|
7627
|
+
const localVarQueryParameter = {};
|
|
7628
|
+
// authentication BearerToken required
|
|
7629
|
+
// http bearer authentication required
|
|
7630
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7631
|
+
// authentication DigestAuth required
|
|
7632
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7633
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7634
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7635
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7636
|
+
return {
|
|
7637
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7638
|
+
options: localVarRequestOptions,
|
|
7639
|
+
};
|
|
7640
|
+
},
|
|
7595
7641
|
/**
|
|
7596
7642
|
*
|
|
7597
7643
|
* @summary batch modify database tde status
|
|
@@ -9861,6 +9907,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9861
9907
|
options: localVarRequestOptions,
|
|
9862
9908
|
};
|
|
9863
9909
|
},
|
|
9910
|
+
/**
|
|
9911
|
+
* unlock an account in cluster
|
|
9912
|
+
* @summary Unlock cluster account
|
|
9913
|
+
* @param {string} engineName name of the engine
|
|
9914
|
+
* @param {string} orgName name of the organization
|
|
9915
|
+
* @param {string} clusterName name of the cluster
|
|
9916
|
+
* @param {string} accountName name of the account
|
|
9917
|
+
* @param {*} [options] Override http request option.
|
|
9918
|
+
* @throws {RequiredError}
|
|
9919
|
+
*/
|
|
9920
|
+
unlockAccount: async (engineName, orgName, clusterName, accountName, options = {}) => {
|
|
9921
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
9922
|
+
(0, common_1.assertParamExists)('unlockAccount', 'engineName', engineName);
|
|
9923
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9924
|
+
(0, common_1.assertParamExists)('unlockAccount', 'orgName', orgName);
|
|
9925
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9926
|
+
(0, common_1.assertParamExists)('unlockAccount', 'clusterName', clusterName);
|
|
9927
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
9928
|
+
(0, common_1.assertParamExists)('unlockAccount', 'accountName', accountName);
|
|
9929
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/unlock`
|
|
9930
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
9931
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9932
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9933
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
9934
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9935
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9936
|
+
let baseOptions;
|
|
9937
|
+
if (configuration) {
|
|
9938
|
+
baseOptions = configuration.baseOptions;
|
|
9939
|
+
}
|
|
9940
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
9941
|
+
const localVarHeaderParameter = {};
|
|
9942
|
+
const localVarQueryParameter = {};
|
|
9943
|
+
// authentication BearerToken required
|
|
9944
|
+
// http bearer authentication required
|
|
9945
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9946
|
+
// authentication DigestAuth required
|
|
9947
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9948
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9949
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9950
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9951
|
+
return {
|
|
9952
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9953
|
+
options: localVarRequestOptions,
|
|
9954
|
+
};
|
|
9955
|
+
},
|
|
9864
9956
|
/**
|
|
9865
9957
|
* update an account in cluster
|
|
9866
9958
|
* @summary update cluster account
|
|
@@ -13733,6 +13825,23 @@ const SharedApiFp = function (configuration) {
|
|
|
13733
13825
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listUpgradeableServiceVersion']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13734
13826
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13735
13827
|
},
|
|
13828
|
+
/**
|
|
13829
|
+
* lock an account in cluster
|
|
13830
|
+
* @summary Lock cluster account
|
|
13831
|
+
* @param {string} engineName name of the engine
|
|
13832
|
+
* @param {string} orgName name of the organization
|
|
13833
|
+
* @param {string} clusterName name of the cluster
|
|
13834
|
+
* @param {string} accountName name of the account
|
|
13835
|
+
* @param {*} [options] Override http request option.
|
|
13836
|
+
* @throws {RequiredError}
|
|
13837
|
+
*/
|
|
13838
|
+
async lockAccount(engineName, orgName, clusterName, accountName, options) {
|
|
13839
|
+
var _a, _b, _c;
|
|
13840
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockAccount(engineName, orgName, clusterName, accountName, options);
|
|
13841
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13842
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.lockAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13843
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13844
|
+
},
|
|
13736
13845
|
/**
|
|
13737
13846
|
*
|
|
13738
13847
|
* @summary batch modify database tde status
|
|
@@ -14511,6 +14620,23 @@ const SharedApiFp = function (configuration) {
|
|
|
14511
14620
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.unfreezeMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14512
14621
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14513
14622
|
},
|
|
14623
|
+
/**
|
|
14624
|
+
* unlock an account in cluster
|
|
14625
|
+
* @summary Unlock cluster account
|
|
14626
|
+
* @param {string} engineName name of the engine
|
|
14627
|
+
* @param {string} orgName name of the organization
|
|
14628
|
+
* @param {string} clusterName name of the cluster
|
|
14629
|
+
* @param {string} accountName name of the account
|
|
14630
|
+
* @param {*} [options] Override http request option.
|
|
14631
|
+
* @throws {RequiredError}
|
|
14632
|
+
*/
|
|
14633
|
+
async unlockAccount(engineName, orgName, clusterName, accountName, options) {
|
|
14634
|
+
var _a, _b, _c;
|
|
14635
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlockAccount(engineName, orgName, clusterName, accountName, options);
|
|
14636
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14637
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.unlockAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14638
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14639
|
+
},
|
|
14514
14640
|
/**
|
|
14515
14641
|
* update an account in cluster
|
|
14516
14642
|
* @summary update cluster account
|
|
@@ -16638,6 +16764,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
16638
16764
|
listUpgradeableServiceVersion(requestParameters, options) {
|
|
16639
16765
|
return localVarFp.listUpgradeableServiceVersion(requestParameters.clusterName, requestParameters.orgName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
16640
16766
|
},
|
|
16767
|
+
/**
|
|
16768
|
+
* lock an account in cluster
|
|
16769
|
+
* @summary Lock cluster account
|
|
16770
|
+
* @param {SharedApiLockAccountRequest} requestParameters Request parameters.
|
|
16771
|
+
* @param {*} [options] Override http request option.
|
|
16772
|
+
* @throws {RequiredError}
|
|
16773
|
+
*/
|
|
16774
|
+
lockAccount(requestParameters, options) {
|
|
16775
|
+
return localVarFp.lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
16776
|
+
},
|
|
16641
16777
|
/**
|
|
16642
16778
|
*
|
|
16643
16779
|
* @summary batch modify database tde status
|
|
@@ -17047,6 +17183,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
17047
17183
|
unfreezeMember(requestParameters, options) {
|
|
17048
17184
|
return localVarFp.unfreezeMember(requestParameters.orgName, requestParameters.memberId, options).then((request) => request(axios, basePath));
|
|
17049
17185
|
},
|
|
17186
|
+
/**
|
|
17187
|
+
* unlock an account in cluster
|
|
17188
|
+
* @summary Unlock cluster account
|
|
17189
|
+
* @param {SharedApiUnlockAccountRequest} requestParameters Request parameters.
|
|
17190
|
+
* @param {*} [options] Override http request option.
|
|
17191
|
+
* @throws {RequiredError}
|
|
17192
|
+
*/
|
|
17193
|
+
unlockAccount(requestParameters, options) {
|
|
17194
|
+
return localVarFp.unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
17195
|
+
},
|
|
17050
17196
|
/**
|
|
17051
17197
|
* update an account in cluster
|
|
17052
17198
|
* @summary update cluster account
|
|
@@ -19196,6 +19342,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
19196
19342
|
listUpgradeableServiceVersion(requestParameters, options) {
|
|
19197
19343
|
return (0, exports.SharedApiFp)(this.configuration).listUpgradeableServiceVersion(requestParameters.clusterName, requestParameters.orgName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
19198
19344
|
}
|
|
19345
|
+
/**
|
|
19346
|
+
* lock an account in cluster
|
|
19347
|
+
* @summary Lock cluster account
|
|
19348
|
+
* @param {SharedApiLockAccountRequest} requestParameters Request parameters.
|
|
19349
|
+
* @param {*} [options] Override http request option.
|
|
19350
|
+
* @throws {RequiredError}
|
|
19351
|
+
* @memberof SharedApi
|
|
19352
|
+
*/
|
|
19353
|
+
lockAccount(requestParameters, options) {
|
|
19354
|
+
return (0, exports.SharedApiFp)(this.configuration).lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
19355
|
+
}
|
|
19199
19356
|
/**
|
|
19200
19357
|
*
|
|
19201
19358
|
* @summary batch modify database tde status
|
|
@@ -19646,6 +19803,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
19646
19803
|
unfreezeMember(requestParameters, options) {
|
|
19647
19804
|
return (0, exports.SharedApiFp)(this.configuration).unfreezeMember(requestParameters.orgName, requestParameters.memberId, options).then((request) => request(this.axios, this.basePath));
|
|
19648
19805
|
}
|
|
19806
|
+
/**
|
|
19807
|
+
* unlock an account in cluster
|
|
19808
|
+
* @summary Unlock cluster account
|
|
19809
|
+
* @param {SharedApiUnlockAccountRequest} requestParameters Request parameters.
|
|
19810
|
+
* @param {*} [options] Override http request option.
|
|
19811
|
+
* @throws {RequiredError}
|
|
19812
|
+
* @memberof SharedApi
|
|
19813
|
+
*/
|
|
19814
|
+
unlockAccount(requestParameters, options) {
|
|
19815
|
+
return (0, exports.SharedApiFp)(this.configuration).unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
19816
|
+
}
|
|
19649
19817
|
/**
|
|
19650
19818
|
* update an account in cluster
|
|
19651
19819
|
* @summary update cluster account
|