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.
Files changed (41) hide show
  1. package/dist/adminapi/apis/cluster-jar-api.d.ts +0 -79
  2. package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/cluster-jar-api.js +0 -84
  4. package/dist/adminapi/apis/cluster-jar-api.js.map +1 -1
  5. package/dist/adminapi/apis/shared-api.d.ts +0 -79
  6. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/shared-api.js +0 -84
  8. package/dist/adminapi/apis/shared-api.js.map +1 -1
  9. package/dist/adminapi/models/cluster-jar-package.d.ts +0 -6
  10. package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -1
  11. package/dist/adminapi/models/dms-pagination.d.ts +36 -0
  12. package/dist/adminapi/models/dms-pagination.d.ts.map +1 -1
  13. package/dist/adminapi/models/show-data-request.d.ts +13 -1
  14. package/dist/adminapi/models/show-data-request.d.ts.map +1 -1
  15. package/dist/openapi/apis/cluster-jar-api.d.ts +0 -79
  16. package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -1
  17. package/dist/openapi/apis/cluster-jar-api.js +0 -84
  18. package/dist/openapi/apis/cluster-jar-api.js.map +1 -1
  19. package/dist/openapi/apis/shared-api.d.ts +0 -79
  20. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  21. package/dist/openapi/apis/shared-api.js +0 -84
  22. package/dist/openapi/apis/shared-api.js.map +1 -1
  23. package/dist/openapi/models/cluster-jar-package.d.ts +0 -6
  24. package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -1
  25. package/dist/openapi/models/dms-pagination.d.ts +36 -0
  26. package/dist/openapi/models/dms-pagination.d.ts.map +1 -1
  27. package/dist/openapi/models/show-data-request.d.ts +13 -1
  28. package/dist/openapi/models/show-data-request.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/src/adminapi/apis/cluster-jar-api.ts +0 -136
  31. package/src/adminapi/apis/shared-api.ts +0 -136
  32. package/src/adminapi/models/cluster-jar-package.ts +0 -6
  33. package/src/adminapi/models/dms-pagination.ts +36 -0
  34. package/src/adminapi/models/show-data-request.ts +13 -1
  35. package/src/adminapi.yaml +40 -48
  36. package/src/openapi/apis/cluster-jar-api.ts +0 -136
  37. package/src/openapi/apis/shared-api.ts +0 -136
  38. package/src/openapi/models/cluster-jar-package.ts +0 -6
  39. package/src/openapi/models/dms-pagination.ts +36 -0
  40. package/src/openapi/models/show-data-request.ts +13 -1
  41. package/src/openapi.yaml +40 -48
@@ -279,52 +279,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
279
279
  options: localVarRequestOptions,
280
280
  };
281
281
  },
282
- /**
283
- *
284
- * @summary Archive a JAR while retaining published files and startup synchronization
285
- * @param {string} engineName Doris or SelectDB engine of the target cluster.
286
- * @param {string} orgName
287
- * @param {string} clusterName
288
- * @param {string} jarId
289
- * @param {*} [options] Override http request option.
290
- * @throws {RequiredError}
291
- */
292
- archiveClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
293
- // verify required parameter 'engineName' is not null or undefined
294
- (0, common_1.assertParamExists)('archiveClusterJar', 'engineName', engineName);
295
- // verify required parameter 'orgName' is not null or undefined
296
- (0, common_1.assertParamExists)('archiveClusterJar', 'orgName', orgName);
297
- // verify required parameter 'clusterName' is not null or undefined
298
- (0, common_1.assertParamExists)('archiveClusterJar', 'clusterName', clusterName);
299
- // verify required parameter 'jarId' is not null or undefined
300
- (0, common_1.assertParamExists)('archiveClusterJar', 'jarId', jarId);
301
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
302
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
303
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
304
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
305
- .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
306
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
307
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
308
- let baseOptions;
309
- if (configuration) {
310
- baseOptions = configuration.baseOptions;
311
- }
312
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
313
- const localVarHeaderParameter = {};
314
- const localVarQueryParameter = {};
315
- // authentication BearerToken required
316
- // http bearer authentication required
317
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
318
- // authentication DigestAuth required
319
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
320
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
321
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
322
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
323
- return {
324
- url: (0, common_1.toPathString)(localVarUrlObj),
325
- options: localVarRequestOptions,
326
- };
327
- },
328
282
  /**
329
283
  * list the service version of the engine
330
284
  * @summary list the service version of the engine
@@ -14770,23 +14724,6 @@ const SharedApiFp = function (configuration) {
14770
14724
  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;
14771
14725
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14772
14726
  },
14773
- /**
14774
- *
14775
- * @summary Archive a JAR while retaining published files and startup synchronization
14776
- * @param {string} engineName Doris or SelectDB engine of the target cluster.
14777
- * @param {string} orgName
14778
- * @param {string} clusterName
14779
- * @param {string} jarId
14780
- * @param {*} [options] Override http request option.
14781
- * @throws {RequiredError}
14782
- */
14783
- async archiveClusterJar(engineName, orgName, clusterName, jarId, options) {
14784
- var _a, _b, _c;
14785
- const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
14786
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14787
- 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;
14788
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14789
- },
14790
14727
  /**
14791
14728
  * list the service version of the engine
14792
14729
  * @summary list the service version of the engine
@@ -20087,16 +20024,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20087
20024
  alterParameter(requestParameters, options) {
20088
20025
  return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
20089
20026
  },
20090
- /**
20091
- *
20092
- * @summary Archive a JAR while retaining published files and startup synchronization
20093
- * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
20094
- * @param {*} [options] Override http request option.
20095
- * @throws {RequiredError}
20096
- */
20097
- archiveClusterJar(requestParameters, options) {
20098
- return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
20099
- },
20100
20027
  /**
20101
20028
  * list the service version of the engine
20102
20029
  * @summary list the service version of the engine
@@ -23274,17 +23201,6 @@ class SharedApi extends base_1.BaseAPI {
23274
23201
  alterParameter(requestParameters, options) {
23275
23202
  return (0, exports.SharedApiFp)(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
23276
23203
  }
23277
- /**
23278
- *
23279
- * @summary Archive a JAR while retaining published files and startup synchronization
23280
- * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
23281
- * @param {*} [options] Override http request option.
23282
- * @throws {RequiredError}
23283
- * @memberof SharedApi
23284
- */
23285
- archiveClusterJar(requestParameters, options) {
23286
- return (0, exports.SharedApiFp)(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
23287
- }
23288
23204
  /**
23289
23205
  * list the service version of the engine
23290
23206
  * @summary list the service version of the engine