kb-cloud-client-typescript 2.4.0-alpha.26 → 2.4.0-alpha.28
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 +0 -1
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +0 -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/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 +0 -1
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +0 -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/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +0 -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 +0 -1
- package/src/adminapi/models/ops-request-name.ts +0 -6
- package/src/adminapi.yaml +6 -75
- package/src/openapi/.openapi-generator/FILES +0 -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 +0 -1
- package/src/openapi/models/ops-request-name.ts +0 -6
- package/src/openapi.yaml +2 -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 +0 -16
- 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 +0 -16
- 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
|
@@ -4127,45 +4127,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4127
4127
|
options: localVarRequestOptions,
|
|
4128
4128
|
};
|
|
4129
4129
|
},
|
|
4130
|
-
/**
|
|
4131
|
-
*
|
|
4132
|
-
* @summary list autohealing job
|
|
4133
|
-
* @param {string} orgName name of the Org
|
|
4134
|
-
* @param {string} clusterName name of the Cluster
|
|
4135
|
-
* @param {*} [options] Override http request option.
|
|
4136
|
-
* @deprecated
|
|
4137
|
-
* @throws {RequiredError}
|
|
4138
|
-
*/
|
|
4139
|
-
getAutohealing: async (orgName, clusterName, options = {}) => {
|
|
4140
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
4141
|
-
(0, common_1.assertParamExists)('getAutohealing', 'orgName', orgName);
|
|
4142
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
4143
|
-
(0, common_1.assertParamExists)('getAutohealing', 'clusterName', clusterName);
|
|
4144
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/autohealing`
|
|
4145
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4146
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4147
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4148
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4149
|
-
let baseOptions;
|
|
4150
|
-
if (configuration) {
|
|
4151
|
-
baseOptions = configuration.baseOptions;
|
|
4152
|
-
}
|
|
4153
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4154
|
-
const localVarHeaderParameter = {};
|
|
4155
|
-
const localVarQueryParameter = {};
|
|
4156
|
-
// authentication BearerToken required
|
|
4157
|
-
// http bearer authentication required
|
|
4158
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4159
|
-
// authentication DigestAuth required
|
|
4160
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4161
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4162
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4163
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4164
|
-
return {
|
|
4165
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4166
|
-
options: localVarRequestOptions,
|
|
4167
|
-
};
|
|
4168
|
-
},
|
|
4169
4130
|
/**
|
|
4170
4131
|
*
|
|
4171
4132
|
* @summary Get backup
|
|
@@ -15381,22 +15342,6 @@ const SharedApiFp = function (configuration) {
|
|
|
15381
15342
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getAlertRule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15382
15343
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15383
15344
|
},
|
|
15384
|
-
/**
|
|
15385
|
-
*
|
|
15386
|
-
* @summary list autohealing job
|
|
15387
|
-
* @param {string} orgName name of the Org
|
|
15388
|
-
* @param {string} clusterName name of the Cluster
|
|
15389
|
-
* @param {*} [options] Override http request option.
|
|
15390
|
-
* @deprecated
|
|
15391
|
-
* @throws {RequiredError}
|
|
15392
|
-
*/
|
|
15393
|
-
async getAutohealing(orgName, clusterName, options) {
|
|
15394
|
-
var _a, _b, _c;
|
|
15395
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAutohealing(orgName, clusterName, options);
|
|
15396
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15397
|
-
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;
|
|
15398
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15399
|
-
},
|
|
15400
15345
|
/**
|
|
15401
15346
|
*
|
|
15402
15347
|
* @summary Get backup
|
|
@@ -19821,17 +19766,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19821
19766
|
getAlertRule(requestParameters, options) {
|
|
19822
19767
|
return localVarFp.getAlertRule(requestParameters.orgName, requestParameters.alertName, options).then((request) => request(axios, basePath));
|
|
19823
19768
|
},
|
|
19824
|
-
/**
|
|
19825
|
-
*
|
|
19826
|
-
* @summary list autohealing job
|
|
19827
|
-
* @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
|
|
19828
|
-
* @param {*} [options] Override http request option.
|
|
19829
|
-
* @deprecated
|
|
19830
|
-
* @throws {RequiredError}
|
|
19831
|
-
*/
|
|
19832
|
-
getAutohealing(requestParameters, options) {
|
|
19833
|
-
return localVarFp.getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
19834
|
-
},
|
|
19835
19769
|
/**
|
|
19836
19770
|
*
|
|
19837
19771
|
* @summary Get backup
|
|
@@ -22886,18 +22820,6 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22886
22820
|
getAlertRule(requestParameters, options) {
|
|
22887
22821
|
return (0, exports.SharedApiFp)(this.configuration).getAlertRule(requestParameters.orgName, requestParameters.alertName, options).then((request) => request(this.axios, this.basePath));
|
|
22888
22822
|
}
|
|
22889
|
-
/**
|
|
22890
|
-
*
|
|
22891
|
-
* @summary list autohealing job
|
|
22892
|
-
* @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
|
|
22893
|
-
* @param {*} [options] Override http request option.
|
|
22894
|
-
* @deprecated
|
|
22895
|
-
* @throws {RequiredError}
|
|
22896
|
-
* @memberof SharedApi
|
|
22897
|
-
*/
|
|
22898
|
-
getAutohealing(requestParameters, options) {
|
|
22899
|
-
return (0, exports.SharedApiFp)(this.configuration).getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
22900
|
-
}
|
|
22901
22823
|
/**
|
|
22902
22824
|
*
|
|
22903
22825
|
* @summary Get backup
|