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
|
@@ -3091,10 +3091,11 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3091
3091
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
3092
3092
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
3093
3093
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
3094
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
3094
3095
|
* @param {*} [options] Override http request option.
|
|
3095
3096
|
* @throws {RequiredError}
|
|
3096
3097
|
*/
|
|
3097
|
-
getBackupMethod: async (orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options = {}) => {
|
|
3098
|
+
getBackupMethod: async (orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options = {}) => {
|
|
3098
3099
|
// verify required parameter 'orgName' is not null or undefined
|
|
3099
3100
|
(0, common_1.assertParamExists)('getBackupMethod', 'orgName', orgName);
|
|
3100
3101
|
// verify required parameter 'engineName' is not null or undefined
|
|
@@ -3134,6 +3135,9 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3134
3135
|
if (component !== undefined) {
|
|
3135
3136
|
localVarQueryParameter['component'] = component;
|
|
3136
3137
|
}
|
|
3138
|
+
if (mode !== undefined) {
|
|
3139
|
+
localVarQueryParameter['mode'] = mode;
|
|
3140
|
+
}
|
|
3137
3141
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3138
3142
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3139
3143
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12057,12 +12061,13 @@ const SharedApiFp = function (configuration) {
|
|
|
12057
12061
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
12058
12062
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
12059
12063
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
12064
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
12060
12065
|
* @param {*} [options] Override http request option.
|
|
12061
12066
|
* @throws {RequiredError}
|
|
12062
12067
|
*/
|
|
12063
|
-
async getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options) {
|
|
12068
|
+
async getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options) {
|
|
12064
12069
|
var _a, _b, _c;
|
|
12065
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options);
|
|
12070
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options);
|
|
12066
12071
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12067
12072
|
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;
|
|
12068
12073
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -15616,7 +15621,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
15616
15621
|
* @throws {RequiredError}
|
|
15617
15622
|
*/
|
|
15618
15623
|
getBackupMethod(requestParameters, options) {
|
|
15619
|
-
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));
|
|
15624
|
+
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));
|
|
15620
15625
|
},
|
|
15621
15626
|
/**
|
|
15622
15627
|
*
|
|
@@ -18072,7 +18077,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
18072
18077
|
* @memberof SharedApi
|
|
18073
18078
|
*/
|
|
18074
18079
|
getBackupMethod(requestParameters, options) {
|
|
18075
|
-
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));
|
|
18080
|
+
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));
|
|
18076
18081
|
}
|
|
18077
18082
|
/**
|
|
18078
18083
|
*
|