kb-cloud-client-typescript 2.4.0-alpha.131 → 2.4.0-alpha.133
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/dolphindb-api.d.ts +89 -0
- package/dist/adminapi/apis/dolphindb-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dolphindb-api.js +90 -0
- package/dist/adminapi/apis/dolphindb-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +89 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +90 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/dolphin-dbdrain-migration.d.ts +43 -0
- package/dist/adminapi/models/dolphin-dbdrain-migration.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbdrain-migration.js +16 -0
- package/dist/adminapi/models/dolphin-dbdrain-migration.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbdrain-preview.d.ts +62 -0
- package/dist/adminapi/models/dolphin-dbdrain-preview.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbdrain-preview.js +16 -0
- package/dist/adminapi/models/dolphin-dbdrain-preview.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbdrain-request.d.ts +31 -0
- package/dist/adminapi/models/dolphin-dbdrain-request.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbdrain-request.js +16 -0
- package/dist/adminapi/models/dolphin-dbdrain-request.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +3 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +3 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/apis/dolphindb-api.d.ts +89 -0
- package/dist/openapi/apis/dolphindb-api.d.ts.map +1 -1
- package/dist/openapi/apis/dolphindb-api.js +90 -0
- package/dist/openapi/apis/dolphindb-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +89 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +90 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/dolphin-dbdrain-migration.d.ts +43 -0
- package/dist/openapi/models/dolphin-dbdrain-migration.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbdrain-migration.js +16 -0
- package/dist/openapi/models/dolphin-dbdrain-migration.js.map +1 -0
- package/dist/openapi/models/dolphin-dbdrain-preview.d.ts +62 -0
- package/dist/openapi/models/dolphin-dbdrain-preview.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbdrain-preview.js +16 -0
- package/dist/openapi/models/dolphin-dbdrain-preview.js.map +1 -0
- package/dist/openapi/models/dolphin-dbdrain-request.d.ts +31 -0
- package/dist/openapi/models/dolphin-dbdrain-request.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbdrain-request.js +16 -0
- package/dist/openapi/models/dolphin-dbdrain-request.js.map +1 -0
- package/dist/openapi/models/index.d.ts +3 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +3 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +3 -0
- package/src/adminapi/apis/dolphindb-api.ts +156 -0
- package/src/adminapi/apis/shared-api.ts +156 -0
- package/src/adminapi/models/dolphin-dbdrain-migration.ts +48 -0
- package/src/adminapi/models/dolphin-dbdrain-preview.ts +69 -0
- package/src/adminapi/models/dolphin-dbdrain-request.ts +36 -0
- package/src/adminapi/models/index.ts +3 -0
- package/src/adminapi.yaml +132 -12
- package/src/openapi/.openapi-generator/FILES +3 -0
- package/src/openapi/apis/dolphindb-api.ts +156 -0
- package/src/openapi/apis/shared-api.ts +156 -0
- package/src/openapi/models/dolphin-dbdrain-migration.ts +48 -0
- package/src/openapi/models/dolphin-dbdrain-preview.ts +69 -0
- package/src/openapi/models/dolphin-dbdrain-request.ts +36 -0
- package/src/openapi/models/index.ts +3 -0
- package/src/openapi.yaml +132 -12
|
@@ -4252,6 +4252,57 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4252
4252
|
options: localVarRequestOptions,
|
|
4253
4253
|
};
|
|
4254
4254
|
},
|
|
4255
|
+
/**
|
|
4256
|
+
* Read-only evacuation preview computed by an embedded DMS planner from native controller metadata. No addon planner or module upgrade is required. Does not evacuate data, reserve a plan, or remove a node. Existing HorizontalScaling/memberLeave independently checks current state and executes; capacity is not inferred from chunk size.
|
|
4257
|
+
* @summary Preview DolphinDB data node evacuation
|
|
4258
|
+
* @param {string} orgName
|
|
4259
|
+
* @param {string} clusterName
|
|
4260
|
+
* @param {DolphinDBDrainRequest} dolphinDBDrainRequest
|
|
4261
|
+
* @param {number} [offset]
|
|
4262
|
+
* @param {number} [limit]
|
|
4263
|
+
* @param {*} [options] Override http request option.
|
|
4264
|
+
* @throws {RequiredError}
|
|
4265
|
+
*/
|
|
4266
|
+
dolphinDBPreviewDrain: async (orgName, clusterName, dolphinDBDrainRequest, offset, limit, options = {}) => {
|
|
4267
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4268
|
+
(0, common_1.assertParamExists)('dolphinDBPreviewDrain', 'orgName', orgName);
|
|
4269
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4270
|
+
(0, common_1.assertParamExists)('dolphinDBPreviewDrain', 'clusterName', clusterName);
|
|
4271
|
+
// verify required parameter 'dolphinDBDrainRequest' is not null or undefined
|
|
4272
|
+
(0, common_1.assertParamExists)('dolphinDBPreviewDrain', 'dolphinDBDrainRequest', dolphinDBDrainRequest);
|
|
4273
|
+
const localVarPath = `/api/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/drain-preview`
|
|
4274
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4275
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4276
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4277
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4278
|
+
let baseOptions;
|
|
4279
|
+
if (configuration) {
|
|
4280
|
+
baseOptions = configuration.baseOptions;
|
|
4281
|
+
}
|
|
4282
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4283
|
+
const localVarHeaderParameter = {};
|
|
4284
|
+
const localVarQueryParameter = {};
|
|
4285
|
+
// authentication BearerToken required
|
|
4286
|
+
// http bearer authentication required
|
|
4287
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4288
|
+
// authentication DigestAuth required
|
|
4289
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4290
|
+
if (offset !== undefined) {
|
|
4291
|
+
localVarQueryParameter['offset'] = offset;
|
|
4292
|
+
}
|
|
4293
|
+
if (limit !== undefined) {
|
|
4294
|
+
localVarQueryParameter['limit'] = limit;
|
|
4295
|
+
}
|
|
4296
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4297
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4298
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4299
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4300
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBDrainRequest, localVarRequestOptions, configuration);
|
|
4301
|
+
return {
|
|
4302
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4303
|
+
options: localVarRequestOptions,
|
|
4304
|
+
};
|
|
4305
|
+
},
|
|
4255
4306
|
/**
|
|
4256
4307
|
* Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
4257
4308
|
* @summary DolphinDB PreviewRebalance
|
|
@@ -18272,6 +18323,24 @@ const SharedApiFp = function (configuration) {
|
|
|
18272
18323
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBListUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18273
18324
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18274
18325
|
},
|
|
18326
|
+
/**
|
|
18327
|
+
* Read-only evacuation preview computed by an embedded DMS planner from native controller metadata. No addon planner or module upgrade is required. Does not evacuate data, reserve a plan, or remove a node. Existing HorizontalScaling/memberLeave independently checks current state and executes; capacity is not inferred from chunk size.
|
|
18328
|
+
* @summary Preview DolphinDB data node evacuation
|
|
18329
|
+
* @param {string} orgName
|
|
18330
|
+
* @param {string} clusterName
|
|
18331
|
+
* @param {DolphinDBDrainRequest} dolphinDBDrainRequest
|
|
18332
|
+
* @param {number} [offset]
|
|
18333
|
+
* @param {number} [limit]
|
|
18334
|
+
* @param {*} [options] Override http request option.
|
|
18335
|
+
* @throws {RequiredError}
|
|
18336
|
+
*/
|
|
18337
|
+
async dolphinDBPreviewDrain(orgName, clusterName, dolphinDBDrainRequest, offset, limit, options) {
|
|
18338
|
+
var _a, _b, _c;
|
|
18339
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBPreviewDrain(orgName, clusterName, dolphinDBDrainRequest, offset, limit, options);
|
|
18340
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18341
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBPreviewDrain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18342
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18343
|
+
},
|
|
18275
18344
|
/**
|
|
18276
18345
|
* Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
18277
18346
|
* @summary DolphinDB PreviewRebalance
|
|
@@ -23726,6 +23795,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
23726
23795
|
dolphinDBListUsers(requestParameters, options) {
|
|
23727
23796
|
return localVarFp.dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
23728
23797
|
},
|
|
23798
|
+
/**
|
|
23799
|
+
* Read-only evacuation preview computed by an embedded DMS planner from native controller metadata. No addon planner or module upgrade is required. Does not evacuate data, reserve a plan, or remove a node. Existing HorizontalScaling/memberLeave independently checks current state and executes; capacity is not inferred from chunk size.
|
|
23800
|
+
* @summary Preview DolphinDB data node evacuation
|
|
23801
|
+
* @param {SharedApiDolphinDBPreviewDrainRequest} requestParameters Request parameters.
|
|
23802
|
+
* @param {*} [options] Override http request option.
|
|
23803
|
+
* @throws {RequiredError}
|
|
23804
|
+
*/
|
|
23805
|
+
dolphinDBPreviewDrain(requestParameters, options) {
|
|
23806
|
+
return localVarFp.dolphinDBPreviewDrain(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBDrainRequest, requestParameters.offset, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
23807
|
+
},
|
|
23729
23808
|
/**
|
|
23730
23809
|
* Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
23731
23810
|
* @summary DolphinDB PreviewRebalance
|
|
@@ -27386,6 +27465,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
27386
27465
|
dolphinDBListUsers(requestParameters, options) {
|
|
27387
27466
|
return (0, exports.SharedApiFp)(this.configuration).dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
27388
27467
|
}
|
|
27468
|
+
/**
|
|
27469
|
+
* Read-only evacuation preview computed by an embedded DMS planner from native controller metadata. No addon planner or module upgrade is required. Does not evacuate data, reserve a plan, or remove a node. Existing HorizontalScaling/memberLeave independently checks current state and executes; capacity is not inferred from chunk size.
|
|
27470
|
+
* @summary Preview DolphinDB data node evacuation
|
|
27471
|
+
* @param {SharedApiDolphinDBPreviewDrainRequest} requestParameters Request parameters.
|
|
27472
|
+
* @param {*} [options] Override http request option.
|
|
27473
|
+
* @throws {RequiredError}
|
|
27474
|
+
* @memberof SharedApi
|
|
27475
|
+
*/
|
|
27476
|
+
dolphinDBPreviewDrain(requestParameters, options) {
|
|
27477
|
+
return (0, exports.SharedApiFp)(this.configuration).dolphinDBPreviewDrain(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBDrainRequest, requestParameters.offset, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
27478
|
+
}
|
|
27389
27479
|
/**
|
|
27390
27480
|
* Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
27391
27481
|
* @summary DolphinDB PreviewRebalance
|