kb-cloud-client-typescript 2.4.0-alpha.129 → 2.4.0-alpha.130

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 (115) hide show
  1. package/dist/adminapi/apis/backup-api.d.ts +64 -0
  2. package/dist/adminapi/apis/backup-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/backup-api.js +75 -0
  4. package/dist/adminapi/apis/backup-api.js.map +1 -1
  5. package/dist/adminapi/apis/dolphindb-api.d.ts +225 -0
  6. package/dist/adminapi/apis/dolphindb-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/dolphindb-api.js +243 -0
  8. package/dist/adminapi/apis/dolphindb-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +224 -0
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +243 -0
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/backup-batch-delete.d.ts +25 -0
  14. package/dist/adminapi/models/backup-batch-delete.d.ts.map +1 -0
  15. package/dist/adminapi/models/backup-batch-delete.js +16 -0
  16. package/dist/adminapi/models/backup-batch-delete.js.map +1 -0
  17. package/dist/adminapi/models/dolphin-dbdistribution.d.ts +39 -0
  18. package/dist/adminapi/models/dolphin-dbdistribution.d.ts.map +1 -0
  19. package/dist/adminapi/models/dolphin-dbdistribution.js +16 -0
  20. package/dist/adminapi/models/dolphin-dbdistribution.js.map +1 -0
  21. package/dist/adminapi/models/dolphin-dbmigration.d.ts +43 -0
  22. package/dist/adminapi/models/dolphin-dbmigration.d.ts.map +1 -0
  23. package/dist/adminapi/models/dolphin-dbmigration.js +16 -0
  24. package/dist/adminapi/models/dolphin-dbmigration.js.map +1 -0
  25. package/dist/adminapi/models/dolphin-dbrebalance-preview.d.ts +50 -0
  26. package/dist/adminapi/models/dolphin-dbrebalance-preview.d.ts.map +1 -0
  27. package/dist/adminapi/models/dolphin-dbrebalance-preview.js +16 -0
  28. package/dist/adminapi/models/dolphin-dbrebalance-preview.js.map +1 -0
  29. package/dist/adminapi/models/dolphin-dbrebalance-request.d.ts +31 -0
  30. package/dist/adminapi/models/dolphin-dbrebalance-request.d.ts.map +1 -0
  31. package/dist/adminapi/models/dolphin-dbrebalance-request.js +16 -0
  32. package/dist/adminapi/models/dolphin-dbrebalance-request.js.map +1 -0
  33. package/dist/adminapi/models/dolphin-dbreplica-distribution.d.ts +31 -0
  34. package/dist/adminapi/models/dolphin-dbreplica-distribution.d.ts.map +1 -0
  35. package/dist/adminapi/models/dolphin-dbreplica-distribution.js +16 -0
  36. package/dist/adminapi/models/dolphin-dbreplica-distribution.js.map +1 -0
  37. package/dist/adminapi/models/dolphin-dbvolume-usage.d.ts +43 -0
  38. package/dist/adminapi/models/dolphin-dbvolume-usage.d.ts.map +1 -0
  39. package/dist/adminapi/models/dolphin-dbvolume-usage.js +16 -0
  40. package/dist/adminapi/models/dolphin-dbvolume-usage.js.map +1 -0
  41. package/dist/adminapi/models/index.d.ts +7 -0
  42. package/dist/adminapi/models/index.d.ts.map +1 -1
  43. package/dist/adminapi/models/index.js +7 -0
  44. package/dist/adminapi/models/index.js.map +1 -1
  45. package/dist/openapi/apis/backup-api.d.ts +64 -0
  46. package/dist/openapi/apis/backup-api.d.ts.map +1 -1
  47. package/dist/openapi/apis/backup-api.js +75 -0
  48. package/dist/openapi/apis/backup-api.js.map +1 -1
  49. package/dist/openapi/apis/dolphindb-api.d.ts +225 -0
  50. package/dist/openapi/apis/dolphindb-api.d.ts.map +1 -1
  51. package/dist/openapi/apis/dolphindb-api.js +243 -0
  52. package/dist/openapi/apis/dolphindb-api.js.map +1 -1
  53. package/dist/openapi/apis/shared-api.d.ts +224 -0
  54. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  55. package/dist/openapi/apis/shared-api.js +243 -0
  56. package/dist/openapi/apis/shared-api.js.map +1 -1
  57. package/dist/openapi/models/backup-batch-delete.d.ts +25 -0
  58. package/dist/openapi/models/backup-batch-delete.d.ts.map +1 -0
  59. package/dist/openapi/models/backup-batch-delete.js +16 -0
  60. package/dist/openapi/models/backup-batch-delete.js.map +1 -0
  61. package/dist/openapi/models/dolphin-dbdistribution.d.ts +39 -0
  62. package/dist/openapi/models/dolphin-dbdistribution.d.ts.map +1 -0
  63. package/dist/openapi/models/dolphin-dbdistribution.js +16 -0
  64. package/dist/openapi/models/dolphin-dbdistribution.js.map +1 -0
  65. package/dist/openapi/models/dolphin-dbmigration.d.ts +43 -0
  66. package/dist/openapi/models/dolphin-dbmigration.d.ts.map +1 -0
  67. package/dist/openapi/models/dolphin-dbmigration.js +16 -0
  68. package/dist/openapi/models/dolphin-dbmigration.js.map +1 -0
  69. package/dist/openapi/models/dolphin-dbrebalance-preview.d.ts +50 -0
  70. package/dist/openapi/models/dolphin-dbrebalance-preview.d.ts.map +1 -0
  71. package/dist/openapi/models/dolphin-dbrebalance-preview.js +16 -0
  72. package/dist/openapi/models/dolphin-dbrebalance-preview.js.map +1 -0
  73. package/dist/openapi/models/dolphin-dbrebalance-request.d.ts +31 -0
  74. package/dist/openapi/models/dolphin-dbrebalance-request.d.ts.map +1 -0
  75. package/dist/openapi/models/dolphin-dbrebalance-request.js +16 -0
  76. package/dist/openapi/models/dolphin-dbrebalance-request.js.map +1 -0
  77. package/dist/openapi/models/dolphin-dbreplica-distribution.d.ts +31 -0
  78. package/dist/openapi/models/dolphin-dbreplica-distribution.d.ts.map +1 -0
  79. package/dist/openapi/models/dolphin-dbreplica-distribution.js +16 -0
  80. package/dist/openapi/models/dolphin-dbreplica-distribution.js.map +1 -0
  81. package/dist/openapi/models/dolphin-dbvolume-usage.d.ts +43 -0
  82. package/dist/openapi/models/dolphin-dbvolume-usage.d.ts.map +1 -0
  83. package/dist/openapi/models/dolphin-dbvolume-usage.js +16 -0
  84. package/dist/openapi/models/dolphin-dbvolume-usage.js.map +1 -0
  85. package/dist/openapi/models/index.d.ts +7 -0
  86. package/dist/openapi/models/index.d.ts.map +1 -1
  87. package/dist/openapi/models/index.js +7 -0
  88. package/dist/openapi/models/index.js.map +1 -1
  89. package/package.json +1 -1
  90. package/src/adminapi/.openapi-generator/FILES +7 -0
  91. package/src/adminapi/apis/backup-api.ts +116 -0
  92. package/src/adminapi/apis/dolphindb-api.ts +397 -0
  93. package/src/adminapi/apis/shared-api.ts +395 -0
  94. package/src/adminapi/models/backup-batch-delete.ts +30 -0
  95. package/src/adminapi/models/dolphin-dbdistribution.ts +48 -0
  96. package/src/adminapi/models/dolphin-dbmigration.ts +48 -0
  97. package/src/adminapi/models/dolphin-dbrebalance-preview.ts +57 -0
  98. package/src/adminapi/models/dolphin-dbrebalance-request.ts +36 -0
  99. package/src/adminapi/models/dolphin-dbreplica-distribution.ts +36 -0
  100. package/src/adminapi/models/dolphin-dbvolume-usage.ts +48 -0
  101. package/src/adminapi/models/index.ts +7 -0
  102. package/src/adminapi.yaml +292 -24
  103. package/src/openapi/.openapi-generator/FILES +7 -0
  104. package/src/openapi/apis/backup-api.ts +116 -0
  105. package/src/openapi/apis/dolphindb-api.ts +397 -0
  106. package/src/openapi/apis/shared-api.ts +395 -0
  107. package/src/openapi/models/backup-batch-delete.ts +30 -0
  108. package/src/openapi/models/dolphin-dbdistribution.ts +48 -0
  109. package/src/openapi/models/dolphin-dbmigration.ts +48 -0
  110. package/src/openapi/models/dolphin-dbrebalance-preview.ts +57 -0
  111. package/src/openapi/models/dolphin-dbrebalance-request.ts +36 -0
  112. package/src/openapi/models/dolphin-dbreplica-distribution.ts +36 -0
  113. package/src/openapi/models/dolphin-dbvolume-usage.ts +48 -0
  114. package/src/openapi/models/index.ts +7 -0
  115. package/src/openapi.yaml +292 -24
@@ -3884,6 +3884,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
3884
3884
  options: localVarRequestOptions,
3885
3885
  };
3886
3886
  },
3887
+ /**
3888
+ * Submit the built-in dolphindb-rebalance Custom Ops through the platform scheduler. Returns the unified taskId; use platform task APIs for history and status. A timeout or cancellation does not cancel native migrations. Do not automatically resubmit a timed-out request.
3889
+ * @summary DolphinDB CreateRebalance
3890
+ * @param {string} orgName
3891
+ * @param {string} clusterName
3892
+ * @param {DolphinDBRebalanceRequest} dolphinDBRebalanceRequest
3893
+ * @param {*} [options] Override http request option.
3894
+ * @throws {RequiredError}
3895
+ */
3896
+ dolphinDBCreateRebalance: async (orgName, clusterName, dolphinDBRebalanceRequest, options = {}) => {
3897
+ // verify required parameter 'orgName' is not null or undefined
3898
+ (0, common_1.assertParamExists)('dolphinDBCreateRebalance', 'orgName', orgName);
3899
+ // verify required parameter 'clusterName' is not null or undefined
3900
+ (0, common_1.assertParamExists)('dolphinDBCreateRebalance', 'clusterName', clusterName);
3901
+ // verify required parameter 'dolphinDBRebalanceRequest' is not null or undefined
3902
+ (0, common_1.assertParamExists)('dolphinDBCreateRebalance', 'dolphinDBRebalanceRequest', dolphinDBRebalanceRequest);
3903
+ const localVarPath = `/api/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/operations`
3904
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3905
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
3906
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3907
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3908
+ let baseOptions;
3909
+ if (configuration) {
3910
+ baseOptions = configuration.baseOptions;
3911
+ }
3912
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3913
+ const localVarHeaderParameter = {};
3914
+ const localVarQueryParameter = {};
3915
+ // authentication BearerToken required
3916
+ // http bearer authentication required
3917
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3918
+ // authentication DigestAuth required
3919
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3920
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3921
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3922
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3923
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3924
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBRebalanceRequest, localVarRequestOptions, configuration);
3925
+ return {
3926
+ url: (0, common_1.toPathString)(localVarUrlObj),
3927
+ options: localVarRequestOptions,
3928
+ };
3929
+ },
3887
3930
  /**
3888
3931
  *
3889
3932
  * @summary DolphinDB CreateUser
@@ -4049,6 +4092,44 @@ const SharedApiAxiosParamCreator = function (configuration) {
4049
4092
  options: localVarRequestOptions,
4050
4093
  };
4051
4094
  },
4095
+ /**
4096
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
4097
+ * @summary DolphinDB GetDistribution
4098
+ * @param {string} orgName
4099
+ * @param {string} clusterName
4100
+ * @param {*} [options] Override http request option.
4101
+ * @throws {RequiredError}
4102
+ */
4103
+ dolphinDBGetDistribution: async (orgName, clusterName, options = {}) => {
4104
+ // verify required parameter 'orgName' is not null or undefined
4105
+ (0, common_1.assertParamExists)('dolphinDBGetDistribution', 'orgName', orgName);
4106
+ // verify required parameter 'clusterName' is not null or undefined
4107
+ (0, common_1.assertParamExists)('dolphinDBGetDistribution', 'clusterName', clusterName);
4108
+ const localVarPath = `/api/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/distribution`
4109
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4110
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4111
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4112
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4113
+ let baseOptions;
4114
+ if (configuration) {
4115
+ baseOptions = configuration.baseOptions;
4116
+ }
4117
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4118
+ const localVarHeaderParameter = {};
4119
+ const localVarQueryParameter = {};
4120
+ // authentication BearerToken required
4121
+ // http bearer authentication required
4122
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4123
+ // authentication DigestAuth required
4124
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4125
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4126
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4127
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4128
+ return {
4129
+ url: (0, common_1.toPathString)(localVarUrlObj),
4130
+ options: localVarRequestOptions,
4131
+ };
4132
+ },
4052
4133
  /**
4053
4134
  *
4054
4135
  * @summary DolphinDB GetPermissions
@@ -4171,6 +4252,56 @@ const SharedApiAxiosParamCreator = function (configuration) {
4171
4252
  options: localVarRequestOptions,
4172
4253
  };
4173
4254
  },
4255
+ /**
4256
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
4257
+ * @summary DolphinDB PreviewRebalance
4258
+ * @param {string} orgName
4259
+ * @param {string} clusterName
4260
+ * @param {number} [offset]
4261
+ * @param {number} [limit]
4262
+ * @param {number} [updatedBeforeDays]
4263
+ * @param {*} [options] Override http request option.
4264
+ * @throws {RequiredError}
4265
+ */
4266
+ dolphinDBPreviewRebalance: async (orgName, clusterName, offset, limit, updatedBeforeDays, options = {}) => {
4267
+ // verify required parameter 'orgName' is not null or undefined
4268
+ (0, common_1.assertParamExists)('dolphinDBPreviewRebalance', 'orgName', orgName);
4269
+ // verify required parameter 'clusterName' is not null or undefined
4270
+ (0, common_1.assertParamExists)('dolphinDBPreviewRebalance', 'clusterName', clusterName);
4271
+ const localVarPath = `/api/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/preview`
4272
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4273
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4274
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4275
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4276
+ let baseOptions;
4277
+ if (configuration) {
4278
+ baseOptions = configuration.baseOptions;
4279
+ }
4280
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4281
+ const localVarHeaderParameter = {};
4282
+ const localVarQueryParameter = {};
4283
+ // authentication BearerToken required
4284
+ // http bearer authentication required
4285
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4286
+ // authentication DigestAuth required
4287
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4288
+ if (offset !== undefined) {
4289
+ localVarQueryParameter['offset'] = offset;
4290
+ }
4291
+ if (limit !== undefined) {
4292
+ localVarQueryParameter['limit'] = limit;
4293
+ }
4294
+ if (updatedBeforeDays !== undefined) {
4295
+ localVarQueryParameter['updatedBeforeDays'] = updatedBeforeDays;
4296
+ }
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
+ return {
4301
+ url: (0, common_1.toPathString)(localVarUrlObj),
4302
+ options: localVarRequestOptions,
4303
+ };
4304
+ },
4174
4305
  /**
4175
4306
  *
4176
4307
  * @summary Download full backup
@@ -18000,6 +18131,22 @@ const SharedApiFp = function (configuration) {
18000
18131
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBCreateGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18001
18132
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18002
18133
  },
18134
+ /**
18135
+ * Submit the built-in dolphindb-rebalance Custom Ops through the platform scheduler. Returns the unified taskId; use platform task APIs for history and status. A timeout or cancellation does not cancel native migrations. Do not automatically resubmit a timed-out request.
18136
+ * @summary DolphinDB CreateRebalance
18137
+ * @param {string} orgName
18138
+ * @param {string} clusterName
18139
+ * @param {DolphinDBRebalanceRequest} dolphinDBRebalanceRequest
18140
+ * @param {*} [options] Override http request option.
18141
+ * @throws {RequiredError}
18142
+ */
18143
+ async dolphinDBCreateRebalance(orgName, clusterName, dolphinDBRebalanceRequest, options) {
18144
+ var _a, _b, _c;
18145
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBCreateRebalance(orgName, clusterName, dolphinDBRebalanceRequest, options);
18146
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18147
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBCreateRebalance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18148
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18149
+ },
18003
18150
  /**
18004
18151
  *
18005
18152
  * @summary DolphinDB CreateUser
@@ -18063,6 +18210,21 @@ const SharedApiFp = function (configuration) {
18063
18210
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBGetCapabilities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18064
18211
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18065
18212
  },
18213
+ /**
18214
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
18215
+ * @summary DolphinDB GetDistribution
18216
+ * @param {string} orgName
18217
+ * @param {string} clusterName
18218
+ * @param {*} [options] Override http request option.
18219
+ * @throws {RequiredError}
18220
+ */
18221
+ async dolphinDBGetDistribution(orgName, clusterName, options) {
18222
+ var _a, _b, _c;
18223
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBGetDistribution(orgName, clusterName, options);
18224
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18225
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBGetDistribution']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18226
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18227
+ },
18066
18228
  /**
18067
18229
  *
18068
18230
  * @summary DolphinDB GetPermissions
@@ -18110,6 +18272,24 @@ const SharedApiFp = function (configuration) {
18110
18272
  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;
18111
18273
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18112
18274
  },
18275
+ /**
18276
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
18277
+ * @summary DolphinDB PreviewRebalance
18278
+ * @param {string} orgName
18279
+ * @param {string} clusterName
18280
+ * @param {number} [offset]
18281
+ * @param {number} [limit]
18282
+ * @param {number} [updatedBeforeDays]
18283
+ * @param {*} [options] Override http request option.
18284
+ * @throws {RequiredError}
18285
+ */
18286
+ async dolphinDBPreviewRebalance(orgName, clusterName, offset, limit, updatedBeforeDays, options) {
18287
+ var _a, _b, _c;
18288
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBPreviewRebalance(orgName, clusterName, offset, limit, updatedBeforeDays, options);
18289
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18290
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBPreviewRebalance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18291
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18292
+ },
18113
18293
  /**
18114
18294
  *
18115
18295
  * @summary Download full backup
@@ -23456,6 +23636,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
23456
23636
  dolphinDBCreateGroup(requestParameters, options) {
23457
23637
  return localVarFp.dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(axios, basePath));
23458
23638
  },
23639
+ /**
23640
+ * Submit the built-in dolphindb-rebalance Custom Ops through the platform scheduler. Returns the unified taskId; use platform task APIs for history and status. A timeout or cancellation does not cancel native migrations. Do not automatically resubmit a timed-out request.
23641
+ * @summary DolphinDB CreateRebalance
23642
+ * @param {SharedApiDolphinDBCreateRebalanceRequest} requestParameters Request parameters.
23643
+ * @param {*} [options] Override http request option.
23644
+ * @throws {RequiredError}
23645
+ */
23646
+ dolphinDBCreateRebalance(requestParameters, options) {
23647
+ return localVarFp.dolphinDBCreateRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBRebalanceRequest, options).then((request) => request(axios, basePath));
23648
+ },
23459
23649
  /**
23460
23650
  *
23461
23651
  * @summary DolphinDB CreateUser
@@ -23496,6 +23686,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
23496
23686
  dolphinDBGetCapabilities(requestParameters, options) {
23497
23687
  return localVarFp.dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23498
23688
  },
23689
+ /**
23690
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
23691
+ * @summary DolphinDB GetDistribution
23692
+ * @param {SharedApiDolphinDBGetDistributionRequest} requestParameters Request parameters.
23693
+ * @param {*} [options] Override http request option.
23694
+ * @throws {RequiredError}
23695
+ */
23696
+ dolphinDBGetDistribution(requestParameters, options) {
23697
+ return localVarFp.dolphinDBGetDistribution(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23698
+ },
23499
23699
  /**
23500
23700
  *
23501
23701
  * @summary DolphinDB GetPermissions
@@ -23526,6 +23726,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
23526
23726
  dolphinDBListUsers(requestParameters, options) {
23527
23727
  return localVarFp.dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23528
23728
  },
23729
+ /**
23730
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
23731
+ * @summary DolphinDB PreviewRebalance
23732
+ * @param {SharedApiDolphinDBPreviewRebalanceRequest} requestParameters Request parameters.
23733
+ * @param {*} [options] Override http request option.
23734
+ * @throws {RequiredError}
23735
+ */
23736
+ dolphinDBPreviewRebalance(requestParameters, options) {
23737
+ return localVarFp.dolphinDBPreviewRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.updatedBeforeDays, options).then((request) => request(axios, basePath));
23738
+ },
23529
23739
  /**
23530
23740
  *
23531
23741
  * @summary Download full backup
@@ -27077,6 +27287,17 @@ class SharedApi extends base_1.BaseAPI {
27077
27287
  dolphinDBCreateGroup(requestParameters, options) {
27078
27288
  return (0, exports.SharedApiFp)(this.configuration).dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(this.axios, this.basePath));
27079
27289
  }
27290
+ /**
27291
+ * Submit the built-in dolphindb-rebalance Custom Ops through the platform scheduler. Returns the unified taskId; use platform task APIs for history and status. A timeout or cancellation does not cancel native migrations. Do not automatically resubmit a timed-out request.
27292
+ * @summary DolphinDB CreateRebalance
27293
+ * @param {SharedApiDolphinDBCreateRebalanceRequest} requestParameters Request parameters.
27294
+ * @param {*} [options] Override http request option.
27295
+ * @throws {RequiredError}
27296
+ * @memberof SharedApi
27297
+ */
27298
+ dolphinDBCreateRebalance(requestParameters, options) {
27299
+ return (0, exports.SharedApiFp)(this.configuration).dolphinDBCreateRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBRebalanceRequest, options).then((request) => request(this.axios, this.basePath));
27300
+ }
27080
27301
  /**
27081
27302
  *
27082
27303
  * @summary DolphinDB CreateUser
@@ -27121,6 +27342,17 @@ class SharedApi extends base_1.BaseAPI {
27121
27342
  dolphinDBGetCapabilities(requestParameters, options) {
27122
27343
  return (0, exports.SharedApiFp)(this.configuration).dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
27123
27344
  }
27345
+ /**
27346
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
27347
+ * @summary DolphinDB GetDistribution
27348
+ * @param {SharedApiDolphinDBGetDistributionRequest} requestParameters Request parameters.
27349
+ * @param {*} [options] Override http request option.
27350
+ * @throws {RequiredError}
27351
+ * @memberof SharedApi
27352
+ */
27353
+ dolphinDBGetDistribution(requestParameters, options) {
27354
+ return (0, exports.SharedApiFp)(this.configuration).dolphinDBGetDistribution(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
27355
+ }
27124
27356
  /**
27125
27357
  *
27126
27358
  * @summary DolphinDB GetPermissions
@@ -27154,6 +27386,17 @@ class SharedApi extends base_1.BaseAPI {
27154
27386
  dolphinDBListUsers(requestParameters, options) {
27155
27387
  return (0, exports.SharedApiFp)(this.configuration).dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
27156
27388
  }
27389
+ /**
27390
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
27391
+ * @summary DolphinDB PreviewRebalance
27392
+ * @param {SharedApiDolphinDBPreviewRebalanceRequest} requestParameters Request parameters.
27393
+ * @param {*} [options] Override http request option.
27394
+ * @throws {RequiredError}
27395
+ * @memberof SharedApi
27396
+ */
27397
+ dolphinDBPreviewRebalance(requestParameters, options) {
27398
+ return (0, exports.SharedApiFp)(this.configuration).dolphinDBPreviewRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.updatedBeforeDays, options).then((request) => request(this.axios, this.basePath));
27399
+ }
27157
27400
  /**
27158
27401
  *
27159
27402
  * @summary Download full backup