kb-cloud-client-typescript 2.3.0-alpha.106 → 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
|
@@ -7819,6 +7819,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
7819
7819
|
options: localVarRequestOptions,
|
|
7820
7820
|
};
|
|
7821
7821
|
},
|
|
7822
|
+
/**
|
|
7823
|
+
* lock an account in cluster
|
|
7824
|
+
* @summary Lock cluster account
|
|
7825
|
+
* @param {string} engineName name of the engine
|
|
7826
|
+
* @param {string} orgName name of the organization
|
|
7827
|
+
* @param {string} clusterName name of the cluster
|
|
7828
|
+
* @param {string} accountName name of the account
|
|
7829
|
+
* @param {*} [options] Override http request option.
|
|
7830
|
+
* @throws {RequiredError}
|
|
7831
|
+
*/
|
|
7832
|
+
lockAccount: async (engineName, orgName, clusterName, accountName, options = {}) => {
|
|
7833
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
7834
|
+
(0, common_1.assertParamExists)('lockAccount', 'engineName', engineName);
|
|
7835
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7836
|
+
(0, common_1.assertParamExists)('lockAccount', 'orgName', orgName);
|
|
7837
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7838
|
+
(0, common_1.assertParamExists)('lockAccount', 'clusterName', clusterName);
|
|
7839
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
7840
|
+
(0, common_1.assertParamExists)('lockAccount', 'accountName', accountName);
|
|
7841
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/lock`
|
|
7842
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
7843
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7844
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
7845
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
7846
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7847
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7848
|
+
let baseOptions;
|
|
7849
|
+
if (configuration) {
|
|
7850
|
+
baseOptions = configuration.baseOptions;
|
|
7851
|
+
}
|
|
7852
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
7853
|
+
const localVarHeaderParameter = {};
|
|
7854
|
+
const localVarQueryParameter = {};
|
|
7855
|
+
// authentication BearerToken required
|
|
7856
|
+
// http bearer authentication required
|
|
7857
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7858
|
+
// authentication DigestAuth required
|
|
7859
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7860
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7861
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7862
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7863
|
+
return {
|
|
7864
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7865
|
+
options: localVarRequestOptions,
|
|
7866
|
+
};
|
|
7867
|
+
},
|
|
7822
7868
|
/**
|
|
7823
7869
|
*
|
|
7824
7870
|
* @summary batch modify database tde status
|
|
@@ -10212,6 +10258,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
10212
10258
|
options: localVarRequestOptions,
|
|
10213
10259
|
};
|
|
10214
10260
|
},
|
|
10261
|
+
/**
|
|
10262
|
+
* unlock an account in cluster
|
|
10263
|
+
* @summary Unlock cluster account
|
|
10264
|
+
* @param {string} engineName name of the engine
|
|
10265
|
+
* @param {string} orgName name of the organization
|
|
10266
|
+
* @param {string} clusterName name of the cluster
|
|
10267
|
+
* @param {string} accountName name of the account
|
|
10268
|
+
* @param {*} [options] Override http request option.
|
|
10269
|
+
* @throws {RequiredError}
|
|
10270
|
+
*/
|
|
10271
|
+
unlockAccount: async (engineName, orgName, clusterName, accountName, options = {}) => {
|
|
10272
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
10273
|
+
(0, common_1.assertParamExists)('unlockAccount', 'engineName', engineName);
|
|
10274
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10275
|
+
(0, common_1.assertParamExists)('unlockAccount', 'orgName', orgName);
|
|
10276
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10277
|
+
(0, common_1.assertParamExists)('unlockAccount', 'clusterName', clusterName);
|
|
10278
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
10279
|
+
(0, common_1.assertParamExists)('unlockAccount', 'accountName', accountName);
|
|
10280
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/unlock`
|
|
10281
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
10282
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10283
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10284
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
10285
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10286
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10287
|
+
let baseOptions;
|
|
10288
|
+
if (configuration) {
|
|
10289
|
+
baseOptions = configuration.baseOptions;
|
|
10290
|
+
}
|
|
10291
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
10292
|
+
const localVarHeaderParameter = {};
|
|
10293
|
+
const localVarQueryParameter = {};
|
|
10294
|
+
// authentication BearerToken required
|
|
10295
|
+
// http bearer authentication required
|
|
10296
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10297
|
+
// authentication DigestAuth required
|
|
10298
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
10299
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10300
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10301
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10302
|
+
return {
|
|
10303
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10304
|
+
options: localVarRequestOptions,
|
|
10305
|
+
};
|
|
10306
|
+
},
|
|
10215
10307
|
/**
|
|
10216
10308
|
* update an account in cluster
|
|
10217
10309
|
* @summary update cluster account
|
|
@@ -14281,6 +14373,23 @@ const SharedApiFp = function (configuration) {
|
|
|
14281
14373
|
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;
|
|
14282
14374
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14283
14375
|
},
|
|
14376
|
+
/**
|
|
14377
|
+
* lock an account in cluster
|
|
14378
|
+
* @summary Lock cluster account
|
|
14379
|
+
* @param {string} engineName name of the engine
|
|
14380
|
+
* @param {string} orgName name of the organization
|
|
14381
|
+
* @param {string} clusterName name of the cluster
|
|
14382
|
+
* @param {string} accountName name of the account
|
|
14383
|
+
* @param {*} [options] Override http request option.
|
|
14384
|
+
* @throws {RequiredError}
|
|
14385
|
+
*/
|
|
14386
|
+
async lockAccount(engineName, orgName, clusterName, accountName, options) {
|
|
14387
|
+
var _a, _b, _c;
|
|
14388
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockAccount(engineName, orgName, clusterName, accountName, options);
|
|
14389
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14390
|
+
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;
|
|
14391
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14392
|
+
},
|
|
14284
14393
|
/**
|
|
14285
14394
|
*
|
|
14286
14395
|
* @summary batch modify database tde status
|
|
@@ -15106,6 +15215,23 @@ const SharedApiFp = function (configuration) {
|
|
|
15106
15215
|
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;
|
|
15107
15216
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15108
15217
|
},
|
|
15218
|
+
/**
|
|
15219
|
+
* unlock an account in cluster
|
|
15220
|
+
* @summary Unlock cluster account
|
|
15221
|
+
* @param {string} engineName name of the engine
|
|
15222
|
+
* @param {string} orgName name of the organization
|
|
15223
|
+
* @param {string} clusterName name of the cluster
|
|
15224
|
+
* @param {string} accountName name of the account
|
|
15225
|
+
* @param {*} [options] Override http request option.
|
|
15226
|
+
* @throws {RequiredError}
|
|
15227
|
+
*/
|
|
15228
|
+
async unlockAccount(engineName, orgName, clusterName, accountName, options) {
|
|
15229
|
+
var _a, _b, _c;
|
|
15230
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlockAccount(engineName, orgName, clusterName, accountName, options);
|
|
15231
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15232
|
+
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;
|
|
15233
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15234
|
+
},
|
|
15109
15235
|
/**
|
|
15110
15236
|
* update an account in cluster
|
|
15111
15237
|
* @summary update cluster account
|
|
@@ -17295,6 +17421,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
17295
17421
|
listUpgradeableServiceVersion(requestParameters, options) {
|
|
17296
17422
|
return localVarFp.listUpgradeableServiceVersion(requestParameters.clusterName, requestParameters.orgName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
17297
17423
|
},
|
|
17424
|
+
/**
|
|
17425
|
+
* lock an account in cluster
|
|
17426
|
+
* @summary Lock cluster account
|
|
17427
|
+
* @param {SharedApiLockAccountRequest} requestParameters Request parameters.
|
|
17428
|
+
* @param {*} [options] Override http request option.
|
|
17429
|
+
* @throws {RequiredError}
|
|
17430
|
+
*/
|
|
17431
|
+
lockAccount(requestParameters, options) {
|
|
17432
|
+
return localVarFp.lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
17433
|
+
},
|
|
17298
17434
|
/**
|
|
17299
17435
|
*
|
|
17300
17436
|
* @summary batch modify database tde status
|
|
@@ -17734,6 +17870,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
17734
17870
|
unfreezeMember(requestParameters, options) {
|
|
17735
17871
|
return localVarFp.unfreezeMember(requestParameters.orgName, requestParameters.memberId, options).then((request) => request(axios, basePath));
|
|
17736
17872
|
},
|
|
17873
|
+
/**
|
|
17874
|
+
* unlock an account in cluster
|
|
17875
|
+
* @summary Unlock cluster account
|
|
17876
|
+
* @param {SharedApiUnlockAccountRequest} requestParameters Request parameters.
|
|
17877
|
+
* @param {*} [options] Override http request option.
|
|
17878
|
+
* @throws {RequiredError}
|
|
17879
|
+
*/
|
|
17880
|
+
unlockAccount(requestParameters, options) {
|
|
17881
|
+
return localVarFp.unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
17882
|
+
},
|
|
17737
17883
|
/**
|
|
17738
17884
|
* update an account in cluster
|
|
17739
17885
|
* @summary update cluster account
|
|
@@ -19926,6 +20072,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
19926
20072
|
listUpgradeableServiceVersion(requestParameters, options) {
|
|
19927
20073
|
return (0, exports.SharedApiFp)(this.configuration).listUpgradeableServiceVersion(requestParameters.clusterName, requestParameters.orgName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
19928
20074
|
}
|
|
20075
|
+
/**
|
|
20076
|
+
* lock an account in cluster
|
|
20077
|
+
* @summary Lock cluster account
|
|
20078
|
+
* @param {SharedApiLockAccountRequest} requestParameters Request parameters.
|
|
20079
|
+
* @param {*} [options] Override http request option.
|
|
20080
|
+
* @throws {RequiredError}
|
|
20081
|
+
* @memberof SharedApi
|
|
20082
|
+
*/
|
|
20083
|
+
lockAccount(requestParameters, options) {
|
|
20084
|
+
return (0, exports.SharedApiFp)(this.configuration).lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
20085
|
+
}
|
|
19929
20086
|
/**
|
|
19930
20087
|
*
|
|
19931
20088
|
* @summary batch modify database tde status
|
|
@@ -20409,6 +20566,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
20409
20566
|
unfreezeMember(requestParameters, options) {
|
|
20410
20567
|
return (0, exports.SharedApiFp)(this.configuration).unfreezeMember(requestParameters.orgName, requestParameters.memberId, options).then((request) => request(this.axios, this.basePath));
|
|
20411
20568
|
}
|
|
20569
|
+
/**
|
|
20570
|
+
* unlock an account in cluster
|
|
20571
|
+
* @summary Unlock cluster account
|
|
20572
|
+
* @param {SharedApiUnlockAccountRequest} requestParameters Request parameters.
|
|
20573
|
+
* @param {*} [options] Override http request option.
|
|
20574
|
+
* @throws {RequiredError}
|
|
20575
|
+
* @memberof SharedApi
|
|
20576
|
+
*/
|
|
20577
|
+
unlockAccount(requestParameters, options) {
|
|
20578
|
+
return (0, exports.SharedApiFp)(this.configuration).unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
20579
|
+
}
|
|
20412
20580
|
/**
|
|
20413
20581
|
* update an account in cluster
|
|
20414
20582
|
* @summary update cluster account
|