kb-cloud-client-typescript 2.4.0-alpha.25 → 2.4.0-alpha.27
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/api.d.ts +0 -1
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +0 -1
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/alert-object-api.d.ts +10 -2
- package/dist/adminapi/apis/alert-object-api.d.ts.map +1 -1
- package/dist/adminapi/apis/alert-object-api.js +10 -5
- package/dist/adminapi/apis/alert-object-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +0 -69
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +0 -78
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/disaster-recovery-task.d.ts +0 -6
- package/dist/adminapi/models/disaster-recovery-task.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +1 -1
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -1
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/ops-request-name.d.ts +0 -6
- package/dist/adminapi/models/ops-request-name.d.ts.map +1 -1
- package/dist/adminapi/models/redis-info-response.d.ts +6 -0
- package/dist/adminapi/models/redis-info-response.d.ts.map +1 -1
- package/dist/adminapi/models/redis-key-scan-progress.d.ts +49 -0
- package/dist/adminapi/models/redis-key-scan-progress.d.ts.map +1 -0
- package/dist/adminapi/models/{autohealing-list-inner.js → redis-key-scan-progress.js} +1 -1
- package/dist/adminapi/models/redis-key-scan-progress.js.map +1 -0
- package/dist/adminapi/models/redis-key-summary-list.d.ts +7 -0
- package/dist/adminapi/models/redis-key-summary-list.d.ts.map +1 -1
- package/dist/openapi/api.d.ts +0 -1
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +0 -1
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +0 -69
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +0 -78
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/data-check-detail-item.d.ts +2 -2
- package/dist/openapi/models/disaster-recovery-task.d.ts +0 -6
- package/dist/openapi/models/disaster-recovery-task.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +1 -1
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -1
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/ops-request-name.d.ts +0 -6
- package/dist/openapi/models/ops-request-name.d.ts.map +1 -1
- package/dist/openapi/models/redis-info-response.d.ts +6 -0
- package/dist/openapi/models/redis-info-response.d.ts.map +1 -1
- package/dist/openapi/models/redis-key-scan-progress.d.ts +49 -0
- package/dist/openapi/models/redis-key-scan-progress.d.ts.map +1 -0
- package/dist/openapi/models/{autohealing-list-inner.js → redis-key-scan-progress.js} +1 -1
- package/dist/openapi/models/redis-key-scan-progress.js.map +1 -0
- package/dist/openapi/models/redis-key-summary-list.d.ts +7 -0
- package/dist/openapi/models/redis-key-summary-list.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +1 -2
- package/src/adminapi/api.ts +0 -1
- package/src/adminapi/apis/alert-object-api.ts +18 -5
- package/src/adminapi/apis/shared-api.ts +0 -119
- package/src/adminapi/models/disaster-recovery-task.ts +0 -6
- package/src/adminapi/models/index.ts +1 -1
- package/src/adminapi/models/ops-request-name.ts +0 -6
- package/src/adminapi/models/redis-info-response.ts +6 -0
- package/src/adminapi/models/redis-key-scan-progress.ts +54 -0
- package/src/adminapi/models/redis-key-summary-list.ts +9 -0
- package/src/adminapi.yaml +39 -75
- package/src/openapi/.openapi-generator/FILES +1 -2
- package/src/openapi/api.ts +0 -1
- package/src/openapi/apis/shared-api.ts +0 -119
- package/src/openapi/models/data-check-detail-item.ts +2 -2
- package/src/openapi/models/disaster-recovery-task.ts +0 -6
- package/src/openapi/models/index.ts +1 -1
- package/src/openapi/models/ops-request-name.ts +0 -6
- package/src/openapi/models/redis-info-response.ts +6 -0
- package/src/openapi/models/redis-key-scan-progress.ts +54 -0
- package/src/openapi/models/redis-key-summary-list.ts +9 -0
- package/src/openapi.yaml +35 -77
- package/dist/adminapi/apis/autohealing-api.d.ts +0 -117
- package/dist/adminapi/apis/autohealing-api.d.ts.map +0 -1
- package/dist/adminapi/apis/autohealing-api.js +0 -142
- package/dist/adminapi/apis/autohealing-api.js.map +0 -1
- package/dist/adminapi/models/autohealing-list-inner.d.ts +0 -97
- package/dist/adminapi/models/autohealing-list-inner.d.ts.map +0 -1
- package/dist/adminapi/models/autohealing-list-inner.js.map +0 -1
- package/dist/openapi/apis/autohealing-api.d.ts +0 -117
- package/dist/openapi/apis/autohealing-api.d.ts.map +0 -1
- package/dist/openapi/apis/autohealing-api.js +0 -142
- package/dist/openapi/apis/autohealing-api.js.map +0 -1
- package/dist/openapi/models/autohealing-list-inner.d.ts +0 -97
- package/dist/openapi/models/autohealing-list-inner.d.ts.map +0 -1
- package/dist/openapi/models/autohealing-list-inner.js.map +0 -1
- package/src/adminapi/apis/autohealing-api.ts +0 -187
- package/src/adminapi/models/autohealing-list-inner.ts +0 -102
- package/src/openapi/apis/autohealing-api.ts +0 -187
- package/src/openapi/models/autohealing-list-inner.ts +0 -102
|
@@ -3836,45 +3836,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3836
3836
|
options: localVarRequestOptions,
|
|
3837
3837
|
};
|
|
3838
3838
|
},
|
|
3839
|
-
/**
|
|
3840
|
-
*
|
|
3841
|
-
* @summary list autohealing job
|
|
3842
|
-
* @param {string} orgName name of the Org
|
|
3843
|
-
* @param {string} clusterName name of the Cluster
|
|
3844
|
-
* @param {*} [options] Override http request option.
|
|
3845
|
-
* @deprecated
|
|
3846
|
-
* @throws {RequiredError}
|
|
3847
|
-
*/
|
|
3848
|
-
getAutohealing: async (orgName, clusterName, options = {}) => {
|
|
3849
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
3850
|
-
(0, common_1.assertParamExists)('getAutohealing', 'orgName', orgName);
|
|
3851
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
3852
|
-
(0, common_1.assertParamExists)('getAutohealing', 'clusterName', clusterName);
|
|
3853
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/autohealing`
|
|
3854
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3855
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
3856
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3857
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3858
|
-
let baseOptions;
|
|
3859
|
-
if (configuration) {
|
|
3860
|
-
baseOptions = configuration.baseOptions;
|
|
3861
|
-
}
|
|
3862
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3863
|
-
const localVarHeaderParameter = {};
|
|
3864
|
-
const localVarQueryParameter = {};
|
|
3865
|
-
// authentication BearerToken required
|
|
3866
|
-
// http bearer authentication required
|
|
3867
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3868
|
-
// authentication DigestAuth required
|
|
3869
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3870
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3871
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3872
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3873
|
-
return {
|
|
3874
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3875
|
-
options: localVarRequestOptions,
|
|
3876
|
-
};
|
|
3877
|
-
},
|
|
3878
3839
|
/**
|
|
3879
3840
|
*
|
|
3880
3841
|
* @summary Get backup
|
|
@@ -15211,22 +15172,6 @@ const SharedApiFp = function (configuration) {
|
|
|
15211
15172
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.generateDemoData']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15212
15173
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15213
15174
|
},
|
|
15214
|
-
/**
|
|
15215
|
-
*
|
|
15216
|
-
* @summary list autohealing job
|
|
15217
|
-
* @param {string} orgName name of the Org
|
|
15218
|
-
* @param {string} clusterName name of the Cluster
|
|
15219
|
-
* @param {*} [options] Override http request option.
|
|
15220
|
-
* @deprecated
|
|
15221
|
-
* @throws {RequiredError}
|
|
15222
|
-
*/
|
|
15223
|
-
async getAutohealing(orgName, clusterName, options) {
|
|
15224
|
-
var _a, _b, _c;
|
|
15225
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAutohealing(orgName, clusterName, options);
|
|
15226
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15227
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getAutohealing']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15228
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15229
|
-
},
|
|
15230
15175
|
/**
|
|
15231
15176
|
*
|
|
15232
15177
|
* @summary Get backup
|
|
@@ -19698,17 +19643,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19698
19643
|
generateDemoData(requestParameters, options) {
|
|
19699
19644
|
return localVarFp.generateDemoData(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
19700
19645
|
},
|
|
19701
|
-
/**
|
|
19702
|
-
*
|
|
19703
|
-
* @summary list autohealing job
|
|
19704
|
-
* @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
|
|
19705
|
-
* @param {*} [options] Override http request option.
|
|
19706
|
-
* @deprecated
|
|
19707
|
-
* @throws {RequiredError}
|
|
19708
|
-
*/
|
|
19709
|
-
getAutohealing(requestParameters, options) {
|
|
19710
|
-
return localVarFp.getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
19711
|
-
},
|
|
19712
19646
|
/**
|
|
19713
19647
|
*
|
|
19714
19648
|
* @summary Get backup
|
|
@@ -22777,18 +22711,6 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22777
22711
|
generateDemoData(requestParameters, options) {
|
|
22778
22712
|
return (0, exports.SharedApiFp)(this.configuration).generateDemoData(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
22779
22713
|
}
|
|
22780
|
-
/**
|
|
22781
|
-
*
|
|
22782
|
-
* @summary list autohealing job
|
|
22783
|
-
* @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
|
|
22784
|
-
* @param {*} [options] Override http request option.
|
|
22785
|
-
* @deprecated
|
|
22786
|
-
* @throws {RequiredError}
|
|
22787
|
-
* @memberof SharedApi
|
|
22788
|
-
*/
|
|
22789
|
-
getAutohealing(requestParameters, options) {
|
|
22790
|
-
return (0, exports.SharedApiFp)(this.configuration).getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
22791
|
-
}
|
|
22792
22714
|
/**
|
|
22793
22715
|
*
|
|
22794
22716
|
* @summary Get backup
|