kb-cloud-client-typescript 2.4.0-alpha.74 → 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
|
@@ -6739,96 +6739,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6739
6739
|
options: localVarRequestOptions,
|
|
6740
6740
|
};
|
|
6741
6741
|
},
|
|
6742
|
-
/**
|
|
6743
|
-
*
|
|
6744
|
-
* @summary Get the task list
|
|
6745
|
-
* @param {string} orgName name of the Org
|
|
6746
|
-
* @param {string} clusterName name of the cluster
|
|
6747
|
-
* @param {string} id id of the datasource
|
|
6748
|
-
* @param {*} [options] Override http request option.
|
|
6749
|
-
* @throws {RequiredError}
|
|
6750
|
-
*/
|
|
6751
|
-
getTaskList: async (orgName, clusterName, id, options = {}) => {
|
|
6752
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
6753
|
-
(0, common_1.assertParamExists)('getTaskList', 'orgName', orgName);
|
|
6754
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
6755
|
-
(0, common_1.assertParamExists)('getTaskList', 'clusterName', clusterName);
|
|
6756
|
-
// verify required parameter 'id' is not null or undefined
|
|
6757
|
-
(0, common_1.assertParamExists)('getTaskList', 'id', id);
|
|
6758
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/tasks`
|
|
6759
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6760
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
6761
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6762
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6763
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6764
|
-
let baseOptions;
|
|
6765
|
-
if (configuration) {
|
|
6766
|
-
baseOptions = configuration.baseOptions;
|
|
6767
|
-
}
|
|
6768
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6769
|
-
const localVarHeaderParameter = {};
|
|
6770
|
-
const localVarQueryParameter = {};
|
|
6771
|
-
// authentication BearerToken required
|
|
6772
|
-
// http bearer authentication required
|
|
6773
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6774
|
-
// authentication DigestAuth required
|
|
6775
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6776
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6777
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6778
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6779
|
-
return {
|
|
6780
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6781
|
-
options: localVarRequestOptions,
|
|
6782
|
-
};
|
|
6783
|
-
},
|
|
6784
|
-
/**
|
|
6785
|
-
*
|
|
6786
|
-
* @summary Get the task progress
|
|
6787
|
-
* @param {string} orgName name of the Org
|
|
6788
|
-
* @param {string} clusterName name of the cluster
|
|
6789
|
-
* @param {string} id id of the datasource
|
|
6790
|
-
* @param {string} taskId the task id
|
|
6791
|
-
* @param {*} [options] Override http request option.
|
|
6792
|
-
* @throws {RequiredError}
|
|
6793
|
-
*/
|
|
6794
|
-
getTaskProgress: async (orgName, clusterName, id, taskId, options = {}) => {
|
|
6795
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
6796
|
-
(0, common_1.assertParamExists)('getTaskProgress', 'orgName', orgName);
|
|
6797
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
6798
|
-
(0, common_1.assertParamExists)('getTaskProgress', 'clusterName', clusterName);
|
|
6799
|
-
// verify required parameter 'id' is not null or undefined
|
|
6800
|
-
(0, common_1.assertParamExists)('getTaskProgress', 'id', id);
|
|
6801
|
-
// verify required parameter 'taskId' is not null or undefined
|
|
6802
|
-
(0, common_1.assertParamExists)('getTaskProgress', 'taskId', taskId);
|
|
6803
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/task`
|
|
6804
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6805
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
6806
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6807
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6808
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6809
|
-
let baseOptions;
|
|
6810
|
-
if (configuration) {
|
|
6811
|
-
baseOptions = configuration.baseOptions;
|
|
6812
|
-
}
|
|
6813
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6814
|
-
const localVarHeaderParameter = {};
|
|
6815
|
-
const localVarQueryParameter = {};
|
|
6816
|
-
// authentication BearerToken required
|
|
6817
|
-
// http bearer authentication required
|
|
6818
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6819
|
-
// authentication DigestAuth required
|
|
6820
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6821
|
-
if (taskId !== undefined) {
|
|
6822
|
-
localVarQueryParameter['taskId'] = taskId;
|
|
6823
|
-
}
|
|
6824
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6825
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6826
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6827
|
-
return {
|
|
6828
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6829
|
-
options: localVarRequestOptions,
|
|
6830
|
-
};
|
|
6831
|
-
},
|
|
6832
6742
|
/**
|
|
6833
6743
|
*
|
|
6834
6744
|
* @summary get tenants detail information of the oceanbase cluster
|
|
@@ -17110,39 +17020,6 @@ const SharedApiFp = function (configuration) {
|
|
|
17110
17020
|
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;
|
|
17111
17021
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17112
17022
|
},
|
|
17113
|
-
/**
|
|
17114
|
-
*
|
|
17115
|
-
* @summary Get the task list
|
|
17116
|
-
* @param {string} orgName name of the Org
|
|
17117
|
-
* @param {string} clusterName name of the cluster
|
|
17118
|
-
* @param {string} id id of the datasource
|
|
17119
|
-
* @param {*} [options] Override http request option.
|
|
17120
|
-
* @throws {RequiredError}
|
|
17121
|
-
*/
|
|
17122
|
-
async getTaskList(orgName, clusterName, id, options) {
|
|
17123
|
-
var _a, _b, _c;
|
|
17124
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskList(orgName, clusterName, id, options);
|
|
17125
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17126
|
-
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;
|
|
17127
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17128
|
-
},
|
|
17129
|
-
/**
|
|
17130
|
-
*
|
|
17131
|
-
* @summary Get the task progress
|
|
17132
|
-
* @param {string} orgName name of the Org
|
|
17133
|
-
* @param {string} clusterName name of the cluster
|
|
17134
|
-
* @param {string} id id of the datasource
|
|
17135
|
-
* @param {string} taskId the task id
|
|
17136
|
-
* @param {*} [options] Override http request option.
|
|
17137
|
-
* @throws {RequiredError}
|
|
17138
|
-
*/
|
|
17139
|
-
async getTaskProgress(orgName, clusterName, id, taskId, options) {
|
|
17140
|
-
var _a, _b, _c;
|
|
17141
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskProgress(orgName, clusterName, id, taskId, options);
|
|
17142
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17143
|
-
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;
|
|
17144
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17145
|
-
},
|
|
17146
17023
|
/**
|
|
17147
17024
|
*
|
|
17148
17025
|
* @summary get tenants detail information of the oceanbase cluster
|
|
@@ -21464,26 +21341,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21464
21341
|
getTags(requestParameters, options) {
|
|
21465
21342
|
return localVarFp.getTags(requestParameters.orgName, requestParameters.clusterIds, options).then((request) => request(axios, basePath));
|
|
21466
21343
|
},
|
|
21467
|
-
/**
|
|
21468
|
-
*
|
|
21469
|
-
* @summary Get the task list
|
|
21470
|
-
* @param {SharedApiGetTaskListRequest} requestParameters Request parameters.
|
|
21471
|
-
* @param {*} [options] Override http request option.
|
|
21472
|
-
* @throws {RequiredError}
|
|
21473
|
-
*/
|
|
21474
|
-
getTaskList(requestParameters, options) {
|
|
21475
|
-
return localVarFp.getTaskList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
21476
|
-
},
|
|
21477
|
-
/**
|
|
21478
|
-
*
|
|
21479
|
-
* @summary Get the task progress
|
|
21480
|
-
* @param {SharedApiGetTaskProgressRequest} requestParameters Request parameters.
|
|
21481
|
-
* @param {*} [options] Override http request option.
|
|
21482
|
-
* @throws {RequiredError}
|
|
21483
|
-
*/
|
|
21484
|
-
getTaskProgress(requestParameters, options) {
|
|
21485
|
-
return localVarFp.getTaskProgress(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.taskId, options).then((request) => request(axios, basePath));
|
|
21486
|
-
},
|
|
21487
21344
|
/**
|
|
21488
21345
|
*
|
|
21489
21346
|
* @summary get tenants detail information of the oceanbase cluster
|
|
@@ -24785,28 +24642,6 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24785
24642
|
getTags(requestParameters, options) {
|
|
24786
24643
|
return (0, exports.SharedApiFp)(this.configuration).getTags(requestParameters.orgName, requestParameters.clusterIds, options).then((request) => request(this.axios, this.basePath));
|
|
24787
24644
|
}
|
|
24788
|
-
/**
|
|
24789
|
-
*
|
|
24790
|
-
* @summary Get the task list
|
|
24791
|
-
* @param {SharedApiGetTaskListRequest} requestParameters Request parameters.
|
|
24792
|
-
* @param {*} [options] Override http request option.
|
|
24793
|
-
* @throws {RequiredError}
|
|
24794
|
-
* @memberof SharedApi
|
|
24795
|
-
*/
|
|
24796
|
-
getTaskList(requestParameters, options) {
|
|
24797
|
-
return (0, exports.SharedApiFp)(this.configuration).getTaskList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
24798
|
-
}
|
|
24799
|
-
/**
|
|
24800
|
-
*
|
|
24801
|
-
* @summary Get the task progress
|
|
24802
|
-
* @param {SharedApiGetTaskProgressRequest} requestParameters Request parameters.
|
|
24803
|
-
* @param {*} [options] Override http request option.
|
|
24804
|
-
* @throws {RequiredError}
|
|
24805
|
-
* @memberof SharedApi
|
|
24806
|
-
*/
|
|
24807
|
-
getTaskProgress(requestParameters, options) {
|
|
24808
|
-
return (0, exports.SharedApiFp)(this.configuration).getTaskProgress(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.taskId, options).then((request) => request(this.axios, this.basePath));
|
|
24809
|
-
}
|
|
24810
24645
|
/**
|
|
24811
24646
|
*
|
|
24812
24647
|
* @summary get tenants detail information of the oceanbase cluster
|