kb-cloud-client-typescript 2.3.0-alpha.103 → 2.3.0-alpha.105
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/backup-method-api.d.ts +10 -2
- package/dist/adminapi/apis/backup-method-api.d.ts.map +1 -1
- package/dist/adminapi/apis/backup-method-api.js +10 -5
- package/dist/adminapi/apis/backup-method-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +10 -2
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +10 -5
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/ai-agent-turn-action.d.ts +1 -1
- package/dist/adminapi/models/backup-method-option.d.ts +6 -0
- package/dist/adminapi/models/backup-method-option.d.ts.map +1 -1
- package/dist/adminapi/models/environment-update.d.ts +0 -6
- package/dist/adminapi/models/environment-update.d.ts.map +1 -1
- package/dist/adminapi/models/scheduling-config.d.ts +0 -6
- package/dist/adminapi/models/scheduling-config.d.ts.map +1 -1
- package/dist/openapi/apis/backup-method-api.d.ts +10 -2
- package/dist/openapi/apis/backup-method-api.d.ts.map +1 -1
- package/dist/openapi/apis/backup-method-api.js +10 -5
- package/dist/openapi/apis/backup-method-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +10 -2
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +10 -5
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/ai-agent-turn-action.d.ts +1 -1
- package/dist/openapi/models/backup-method-option.d.ts +6 -0
- package/dist/openapi/models/backup-method-option.d.ts.map +1 -1
- package/dist/openapi/models/environment.d.ts +0 -6
- package/dist/openapi/models/environment.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/backup-method-api.ts +18 -5
- package/src/adminapi/apis/shared-api.ts +18 -5
- package/src/adminapi/models/ai-agent-turn-action.ts +1 -1
- package/src/adminapi/models/backup-method-option.ts +6 -0
- package/src/adminapi/models/environment-update.ts +0 -6
- package/src/adminapi/models/scheduling-config.ts +0 -6
- package/src/adminapi.yaml +18 -11
- package/src/openapi/apis/backup-method-api.ts +18 -5
- package/src/openapi/apis/shared-api.ts +18 -5
- package/src/openapi/models/ai-agent-turn-action.ts +1 -1
- package/src/openapi/models/backup-method-option.ts +6 -0
- package/src/openapi/models/environment.ts +0 -6
- package/src/openapi.yaml +17 -5
|
@@ -3572,10 +3572,11 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3572
3572
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
3573
3573
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
3574
3574
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
3575
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
3575
3576
|
* @param {*} [options] Override http request option.
|
|
3576
3577
|
* @throws {RequiredError}
|
|
3577
3578
|
*/
|
|
3578
|
-
getBackupMethod: async (orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options = {}) => {
|
|
3579
|
+
getBackupMethod: async (orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options = {}) => {
|
|
3579
3580
|
// verify required parameter 'orgName' is not null or undefined
|
|
3580
3581
|
(0, common_1.assertParamExists)('getBackupMethod', 'orgName', orgName);
|
|
3581
3582
|
// verify required parameter 'engineName' is not null or undefined
|
|
@@ -3615,6 +3616,9 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3615
3616
|
if (component !== undefined) {
|
|
3616
3617
|
localVarQueryParameter['component'] = component;
|
|
3617
3618
|
}
|
|
3619
|
+
if (mode !== undefined) {
|
|
3620
|
+
localVarQueryParameter['mode'] = mode;
|
|
3621
|
+
}
|
|
3618
3622
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3619
3623
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3620
3624
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12707,12 +12711,13 @@ const SharedApiFp = function (configuration) {
|
|
|
12707
12711
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
12708
12712
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
12709
12713
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
12714
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
12710
12715
|
* @param {*} [options] Override http request option.
|
|
12711
12716
|
* @throws {RequiredError}
|
|
12712
12717
|
*/
|
|
12713
|
-
async getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options) {
|
|
12718
|
+
async getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options) {
|
|
12714
12719
|
var _a, _b, _c;
|
|
12715
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options);
|
|
12720
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options);
|
|
12716
12721
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12717
12722
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getBackupMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12718
12723
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -16341,7 +16346,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
16341
16346
|
* @throws {RequiredError}
|
|
16342
16347
|
*/
|
|
16343
16348
|
getBackupMethod(requestParameters, options) {
|
|
16344
|
-
return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
16349
|
+
return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(axios, basePath));
|
|
16345
16350
|
},
|
|
16346
16351
|
/**
|
|
16347
16352
|
*
|
|
@@ -18877,7 +18882,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
18877
18882
|
* @memberof SharedApi
|
|
18878
18883
|
*/
|
|
18879
18884
|
getBackupMethod(requestParameters, options) {
|
|
18880
|
-
return (0, exports.SharedApiFp)(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
18885
|
+
return (0, exports.SharedApiFp)(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
|
|
18881
18886
|
}
|
|
18882
18887
|
/**
|
|
18883
18888
|
*
|