kb-cloud-client-typescript 2.4.0-alpha.73 → 2.4.0-alpha.75
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/dms-api.d.ts +0 -152
- package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dms-api.js +0 -165
- package/dist/adminapi/apis/dms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +0 -152
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +0 -165
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/data-import200-response.d.ts +7 -1
- package/dist/adminapi/models/data-import200-response.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +1 -2
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -2
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/provision-config.d.ts +3 -2
- package/dist/adminapi/models/provision-config.d.ts.map +1 -1
- package/dist/adminapi/models/{dms-task-info.js → victoria-logs-config.d.ts} +7 -5
- package/dist/adminapi/models/victoria-logs-config.d.ts.map +1 -0
- package/dist/adminapi/models/{dms-task-list.js → victoria-logs-config.js} +1 -1
- package/dist/adminapi/models/victoria-logs-config.js.map +1 -0
- package/dist/openapi/apis/dms-api.d.ts +0 -152
- package/dist/openapi/apis/dms-api.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.js +0 -165
- package/dist/openapi/apis/dms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +0 -152
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +0 -165
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/data-import200-response.d.ts +7 -1
- package/dist/openapi/models/data-import200-response.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +0 -2
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +0 -2
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +1 -2
- package/src/adminapi/apis/dms-api.ts +0 -267
- package/src/adminapi/apis/shared-api.ts +0 -267
- package/src/adminapi/models/data-import200-response.ts +7 -1
- package/src/adminapi/models/index.ts +1 -2
- package/src/adminapi/models/provision-config.ts +5 -2
- package/src/adminapi/models/{dms-task-list.ts → victoria-logs-config.ts} +4 -11
- package/src/adminapi.yaml +24 -119
- package/src/openapi/.openapi-generator/FILES +0 -2
- package/src/openapi/apis/dms-api.ts +0 -267
- package/src/openapi/apis/shared-api.ts +0 -267
- package/src/openapi/models/data-import200-response.ts +7 -1
- package/src/openapi/models/index.ts +0 -2
- package/src/openapi.yaml +4 -117
- package/dist/adminapi/models/dms-task-info.d.ts +0 -61
- package/dist/adminapi/models/dms-task-info.d.ts.map +0 -1
- package/dist/adminapi/models/dms-task-info.js.map +0 -1
- package/dist/adminapi/models/dms-task-list.d.ts +0 -26
- package/dist/adminapi/models/dms-task-list.d.ts.map +0 -1
- package/dist/adminapi/models/dms-task-list.js.map +0 -1
- package/dist/openapi/models/dms-task-info.d.ts +0 -61
- package/dist/openapi/models/dms-task-info.d.ts.map +0 -1
- package/dist/openapi/models/dms-task-info.js +0 -16
- package/dist/openapi/models/dms-task-info.js.map +0 -1
- package/dist/openapi/models/dms-task-list.d.ts +0 -26
- package/dist/openapi/models/dms-task-list.d.ts.map +0 -1
- package/dist/openapi/models/dms-task-list.js +0 -16
- package/dist/openapi/models/dms-task-list.js.map +0 -1
- package/src/adminapi/models/dms-task-info.ts +0 -66
- package/src/openapi/models/dms-task-info.ts +0 -66
- package/src/openapi/models/dms-task-list.ts +0 -33
|
@@ -6950,96 +6950,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6950
6950
|
options: localVarRequestOptions,
|
|
6951
6951
|
};
|
|
6952
6952
|
},
|
|
6953
|
-
/**
|
|
6954
|
-
*
|
|
6955
|
-
* @summary Get the task list
|
|
6956
|
-
* @param {string} orgName name of the Org
|
|
6957
|
-
* @param {string} clusterName name of the cluster
|
|
6958
|
-
* @param {string} id id of the datasource
|
|
6959
|
-
* @param {*} [options] Override http request option.
|
|
6960
|
-
* @throws {RequiredError}
|
|
6961
|
-
*/
|
|
6962
|
-
getTaskList: async (orgName, clusterName, id, options = {}) => {
|
|
6963
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
6964
|
-
(0, common_1.assertParamExists)('getTaskList', 'orgName', orgName);
|
|
6965
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
6966
|
-
(0, common_1.assertParamExists)('getTaskList', 'clusterName', clusterName);
|
|
6967
|
-
// verify required parameter 'id' is not null or undefined
|
|
6968
|
-
(0, common_1.assertParamExists)('getTaskList', 'id', id);
|
|
6969
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/tasks`
|
|
6970
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6971
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
6972
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6973
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6974
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6975
|
-
let baseOptions;
|
|
6976
|
-
if (configuration) {
|
|
6977
|
-
baseOptions = configuration.baseOptions;
|
|
6978
|
-
}
|
|
6979
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6980
|
-
const localVarHeaderParameter = {};
|
|
6981
|
-
const localVarQueryParameter = {};
|
|
6982
|
-
// authentication BearerToken required
|
|
6983
|
-
// http bearer authentication required
|
|
6984
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6985
|
-
// authentication DigestAuth required
|
|
6986
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6987
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6988
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6989
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6990
|
-
return {
|
|
6991
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6992
|
-
options: localVarRequestOptions,
|
|
6993
|
-
};
|
|
6994
|
-
},
|
|
6995
|
-
/**
|
|
6996
|
-
*
|
|
6997
|
-
* @summary Get the task progress
|
|
6998
|
-
* @param {string} orgName name of the Org
|
|
6999
|
-
* @param {string} clusterName name of the cluster
|
|
7000
|
-
* @param {string} id id of the datasource
|
|
7001
|
-
* @param {string} taskId the task id
|
|
7002
|
-
* @param {*} [options] Override http request option.
|
|
7003
|
-
* @throws {RequiredError}
|
|
7004
|
-
*/
|
|
7005
|
-
getTaskProgress: async (orgName, clusterName, id, taskId, options = {}) => {
|
|
7006
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
7007
|
-
(0, common_1.assertParamExists)('getTaskProgress', 'orgName', orgName);
|
|
7008
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
7009
|
-
(0, common_1.assertParamExists)('getTaskProgress', 'clusterName', clusterName);
|
|
7010
|
-
// verify required parameter 'id' is not null or undefined
|
|
7011
|
-
(0, common_1.assertParamExists)('getTaskProgress', 'id', id);
|
|
7012
|
-
// verify required parameter 'taskId' is not null or undefined
|
|
7013
|
-
(0, common_1.assertParamExists)('getTaskProgress', 'taskId', taskId);
|
|
7014
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/task`
|
|
7015
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7016
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
7017
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7018
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7019
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7020
|
-
let baseOptions;
|
|
7021
|
-
if (configuration) {
|
|
7022
|
-
baseOptions = configuration.baseOptions;
|
|
7023
|
-
}
|
|
7024
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7025
|
-
const localVarHeaderParameter = {};
|
|
7026
|
-
const localVarQueryParameter = {};
|
|
7027
|
-
// authentication BearerToken required
|
|
7028
|
-
// http bearer authentication required
|
|
7029
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7030
|
-
// authentication DigestAuth required
|
|
7031
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7032
|
-
if (taskId !== undefined) {
|
|
7033
|
-
localVarQueryParameter['taskId'] = taskId;
|
|
7034
|
-
}
|
|
7035
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7036
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7037
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7038
|
-
return {
|
|
7039
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7040
|
-
options: localVarRequestOptions,
|
|
7041
|
-
};
|
|
7042
|
-
},
|
|
7043
6953
|
/**
|
|
7044
6954
|
*
|
|
7045
6955
|
* @summary get tenants detail information of the oceanbase cluster
|
|
@@ -17249,39 +17159,6 @@ const SharedApiFp = function (configuration) {
|
|
|
17249
17159
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getTags']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17250
17160
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17251
17161
|
},
|
|
17252
|
-
/**
|
|
17253
|
-
*
|
|
17254
|
-
* @summary Get the task list
|
|
17255
|
-
* @param {string} orgName name of the Org
|
|
17256
|
-
* @param {string} clusterName name of the cluster
|
|
17257
|
-
* @param {string} id id of the datasource
|
|
17258
|
-
* @param {*} [options] Override http request option.
|
|
17259
|
-
* @throws {RequiredError}
|
|
17260
|
-
*/
|
|
17261
|
-
async getTaskList(orgName, clusterName, id, options) {
|
|
17262
|
-
var _a, _b, _c;
|
|
17263
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskList(orgName, clusterName, id, options);
|
|
17264
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17265
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getTaskList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17266
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17267
|
-
},
|
|
17268
|
-
/**
|
|
17269
|
-
*
|
|
17270
|
-
* @summary Get the task progress
|
|
17271
|
-
* @param {string} orgName name of the Org
|
|
17272
|
-
* @param {string} clusterName name of the cluster
|
|
17273
|
-
* @param {string} id id of the datasource
|
|
17274
|
-
* @param {string} taskId the task id
|
|
17275
|
-
* @param {*} [options] Override http request option.
|
|
17276
|
-
* @throws {RequiredError}
|
|
17277
|
-
*/
|
|
17278
|
-
async getTaskProgress(orgName, clusterName, id, taskId, options) {
|
|
17279
|
-
var _a, _b, _c;
|
|
17280
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskProgress(orgName, clusterName, id, taskId, options);
|
|
17281
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17282
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getTaskProgress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17283
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17284
|
-
},
|
|
17285
17162
|
/**
|
|
17286
17163
|
*
|
|
17287
17164
|
* @summary get tenants detail information of the oceanbase cluster
|
|
@@ -21567,26 +21444,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21567
21444
|
getTags(requestParameters, options) {
|
|
21568
21445
|
return localVarFp.getTags(requestParameters.orgName, requestParameters.clusterIds, options).then((request) => request(axios, basePath));
|
|
21569
21446
|
},
|
|
21570
|
-
/**
|
|
21571
|
-
*
|
|
21572
|
-
* @summary Get the task list
|
|
21573
|
-
* @param {SharedApiGetTaskListRequest} requestParameters Request parameters.
|
|
21574
|
-
* @param {*} [options] Override http request option.
|
|
21575
|
-
* @throws {RequiredError}
|
|
21576
|
-
*/
|
|
21577
|
-
getTaskList(requestParameters, options) {
|
|
21578
|
-
return localVarFp.getTaskList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
21579
|
-
},
|
|
21580
|
-
/**
|
|
21581
|
-
*
|
|
21582
|
-
* @summary Get the task progress
|
|
21583
|
-
* @param {SharedApiGetTaskProgressRequest} requestParameters Request parameters.
|
|
21584
|
-
* @param {*} [options] Override http request option.
|
|
21585
|
-
* @throws {RequiredError}
|
|
21586
|
-
*/
|
|
21587
|
-
getTaskProgress(requestParameters, options) {
|
|
21588
|
-
return localVarFp.getTaskProgress(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.taskId, options).then((request) => request(axios, basePath));
|
|
21589
|
-
},
|
|
21590
21447
|
/**
|
|
21591
21448
|
*
|
|
21592
21449
|
* @summary get tenants detail information of the oceanbase cluster
|
|
@@ -24872,28 +24729,6 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24872
24729
|
getTags(requestParameters, options) {
|
|
24873
24730
|
return (0, exports.SharedApiFp)(this.configuration).getTags(requestParameters.orgName, requestParameters.clusterIds, options).then((request) => request(this.axios, this.basePath));
|
|
24874
24731
|
}
|
|
24875
|
-
/**
|
|
24876
|
-
*
|
|
24877
|
-
* @summary Get the task list
|
|
24878
|
-
* @param {SharedApiGetTaskListRequest} requestParameters Request parameters.
|
|
24879
|
-
* @param {*} [options] Override http request option.
|
|
24880
|
-
* @throws {RequiredError}
|
|
24881
|
-
* @memberof SharedApi
|
|
24882
|
-
*/
|
|
24883
|
-
getTaskList(requestParameters, options) {
|
|
24884
|
-
return (0, exports.SharedApiFp)(this.configuration).getTaskList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
24885
|
-
}
|
|
24886
|
-
/**
|
|
24887
|
-
*
|
|
24888
|
-
* @summary Get the task progress
|
|
24889
|
-
* @param {SharedApiGetTaskProgressRequest} requestParameters Request parameters.
|
|
24890
|
-
* @param {*} [options] Override http request option.
|
|
24891
|
-
* @throws {RequiredError}
|
|
24892
|
-
* @memberof SharedApi
|
|
24893
|
-
*/
|
|
24894
|
-
getTaskProgress(requestParameters, options) {
|
|
24895
|
-
return (0, exports.SharedApiFp)(this.configuration).getTaskProgress(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.taskId, options).then((request) => request(this.axios, this.basePath));
|
|
24896
|
-
}
|
|
24897
24732
|
/**
|
|
24898
24733
|
*
|
|
24899
24734
|
* @summary get tenants detail information of the oceanbase cluster
|