kb-cloud-client-typescript 2.4.0-alpha.69 → 2.4.0-alpha.70
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/cluster-jar-api.d.ts +0 -79
- package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-jar-api.js +0 -84
- package/dist/adminapi/apis/cluster-jar-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +0 -79
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +0 -84
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/cluster-jar-package.d.ts +0 -6
- package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -1
- package/dist/adminapi/models/dms-pagination.d.ts +36 -0
- package/dist/adminapi/models/dms-pagination.d.ts.map +1 -1
- package/dist/adminapi/models/show-data-request.d.ts +13 -1
- package/dist/adminapi/models/show-data-request.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-jar-api.d.ts +0 -79
- package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-jar-api.js +0 -84
- package/dist/openapi/apis/cluster-jar-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +0 -79
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +0 -84
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/cluster-jar-package.d.ts +0 -6
- package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -1
- package/dist/openapi/models/dms-pagination.d.ts +36 -0
- package/dist/openapi/models/dms-pagination.d.ts.map +1 -1
- package/dist/openapi/models/show-data-request.d.ts +13 -1
- package/dist/openapi/models/show-data-request.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/cluster-jar-api.ts +0 -136
- package/src/adminapi/apis/shared-api.ts +0 -136
- package/src/adminapi/models/cluster-jar-package.ts +0 -6
- package/src/adminapi/models/dms-pagination.ts +36 -0
- package/src/adminapi/models/show-data-request.ts +13 -1
- package/src/adminapi.yaml +40 -48
- package/src/openapi/apis/cluster-jar-api.ts +0 -136
- package/src/openapi/apis/shared-api.ts +0 -136
- package/src/openapi/models/cluster-jar-package.ts +0 -6
- package/src/openapi/models/dms-pagination.ts +36 -0
- package/src/openapi/models/show-data-request.ts +13 -1
- package/src/openapi.yaml +40 -48
|
@@ -327,52 +327,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
327
327
|
options: localVarRequestOptions,
|
|
328
328
|
};
|
|
329
329
|
},
|
|
330
|
-
/**
|
|
331
|
-
*
|
|
332
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
333
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
334
|
-
* @param {string} orgName
|
|
335
|
-
* @param {string} clusterName
|
|
336
|
-
* @param {string} jarId
|
|
337
|
-
* @param {*} [options] Override http request option.
|
|
338
|
-
* @throws {RequiredError}
|
|
339
|
-
*/
|
|
340
|
-
archiveClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
341
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
342
|
-
(0, common_1.assertParamExists)('archiveClusterJar', 'engineName', engineName);
|
|
343
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
344
|
-
(0, common_1.assertParamExists)('archiveClusterJar', 'orgName', orgName);
|
|
345
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
346
|
-
(0, common_1.assertParamExists)('archiveClusterJar', 'clusterName', clusterName);
|
|
347
|
-
// verify required parameter 'jarId' is not null or undefined
|
|
348
|
-
(0, common_1.assertParamExists)('archiveClusterJar', 'jarId', jarId);
|
|
349
|
-
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
|
|
350
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
351
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
352
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
353
|
-
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
354
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
355
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
356
|
-
let baseOptions;
|
|
357
|
-
if (configuration) {
|
|
358
|
-
baseOptions = configuration.baseOptions;
|
|
359
|
-
}
|
|
360
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
361
|
-
const localVarHeaderParameter = {};
|
|
362
|
-
const localVarQueryParameter = {};
|
|
363
|
-
// authentication BearerToken required
|
|
364
|
-
// http bearer authentication required
|
|
365
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
366
|
-
// authentication DigestAuth required
|
|
367
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
368
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
369
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
370
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
371
|
-
return {
|
|
372
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
373
|
-
options: localVarRequestOptions,
|
|
374
|
-
};
|
|
375
|
-
},
|
|
376
330
|
/**
|
|
377
331
|
* Batch add permissions to a role
|
|
378
332
|
* @summary Batch add permissions to a role
|
|
@@ -14858,23 +14812,6 @@ const SharedApiFp = function (configuration) {
|
|
|
14858
14812
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.alterParameter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14859
14813
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14860
14814
|
},
|
|
14861
|
-
/**
|
|
14862
|
-
*
|
|
14863
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
14864
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
14865
|
-
* @param {string} orgName
|
|
14866
|
-
* @param {string} clusterName
|
|
14867
|
-
* @param {string} jarId
|
|
14868
|
-
* @param {*} [options] Override http request option.
|
|
14869
|
-
* @throws {RequiredError}
|
|
14870
|
-
*/
|
|
14871
|
-
async archiveClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
14872
|
-
var _a, _b, _c;
|
|
14873
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
14874
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14875
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.archiveClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14876
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14877
|
-
},
|
|
14878
14815
|
/**
|
|
14879
14816
|
* Batch add permissions to a role
|
|
14880
14817
|
* @summary Batch add permissions to a role
|
|
@@ -20171,16 +20108,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20171
20108
|
alterParameter(requestParameters, options) {
|
|
20172
20109
|
return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
|
|
20173
20110
|
},
|
|
20174
|
-
/**
|
|
20175
|
-
*
|
|
20176
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
20177
|
-
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
20178
|
-
* @param {*} [options] Override http request option.
|
|
20179
|
-
* @throws {RequiredError}
|
|
20180
|
-
*/
|
|
20181
|
-
archiveClusterJar(requestParameters, options) {
|
|
20182
|
-
return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
20183
|
-
},
|
|
20184
20111
|
/**
|
|
20185
20112
|
* Batch add permissions to a role
|
|
20186
20113
|
* @summary Batch add permissions to a role
|
|
@@ -23340,17 +23267,6 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23340
23267
|
alterParameter(requestParameters, options) {
|
|
23341
23268
|
return (0, exports.SharedApiFp)(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
|
|
23342
23269
|
}
|
|
23343
|
-
/**
|
|
23344
|
-
*
|
|
23345
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
23346
|
-
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
23347
|
-
* @param {*} [options] Override http request option.
|
|
23348
|
-
* @throws {RequiredError}
|
|
23349
|
-
* @memberof SharedApi
|
|
23350
|
-
*/
|
|
23351
|
-
archiveClusterJar(requestParameters, options) {
|
|
23352
|
-
return (0, exports.SharedApiFp)(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
23353
|
-
}
|
|
23354
23270
|
/**
|
|
23355
23271
|
* Batch add permissions to a role
|
|
23356
23272
|
* @summary Batch add permissions to a role
|