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
@@ -3834,6 +3834,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
3834
3834
  options: localVarRequestOptions,
3835
3835
  };
3836
3836
  },
3837
+ /**
3838
+ * 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.
3839
+ * @summary DolphinDB CreateRebalance
3840
+ * @param {string} orgName
3841
+ * @param {string} clusterName
3842
+ * @param {DolphinDBRebalanceRequest} dolphinDBRebalanceRequest
3843
+ * @param {*} [options] Override http request option.
3844
+ * @throws {RequiredError}
3845
+ */
3846
+ dolphinDBCreateRebalance: async (orgName, clusterName, dolphinDBRebalanceRequest, options = {}) => {
3847
+ // verify required parameter 'orgName' is not null or undefined
3848
+ (0, common_1.assertParamExists)('dolphinDBCreateRebalance', 'orgName', orgName);
3849
+ // verify required parameter 'clusterName' is not null or undefined
3850
+ (0, common_1.assertParamExists)('dolphinDBCreateRebalance', 'clusterName', clusterName);
3851
+ // verify required parameter 'dolphinDBRebalanceRequest' is not null or undefined
3852
+ (0, common_1.assertParamExists)('dolphinDBCreateRebalance', 'dolphinDBRebalanceRequest', dolphinDBRebalanceRequest);
3853
+ const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/operations`
3854
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3855
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
3856
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3857
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3858
+ let baseOptions;
3859
+ if (configuration) {
3860
+ baseOptions = configuration.baseOptions;
3861
+ }
3862
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3863
+ const localVarHeaderParameter = {};
3864
+ const localVarQueryParameter = {};
3865
+ // authentication BearerToken required
3866
+ // http bearer authentication required
3867
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3868
+ // authentication DigestAuth required
3869
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3870
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3871
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3872
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3873
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3874
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBRebalanceRequest, localVarRequestOptions, configuration);
3875
+ return {
3876
+ url: (0, common_1.toPathString)(localVarUrlObj),
3877
+ options: localVarRequestOptions,
3878
+ };
3879
+ },
3837
3880
  /**
3838
3881
  *
3839
3882
  * @summary DolphinDB CreateUser
@@ -3999,6 +4042,44 @@ const SharedApiAxiosParamCreator = function (configuration) {
3999
4042
  options: localVarRequestOptions,
4000
4043
  };
4001
4044
  },
4045
+ /**
4046
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
4047
+ * @summary DolphinDB GetDistribution
4048
+ * @param {string} orgName
4049
+ * @param {string} clusterName
4050
+ * @param {*} [options] Override http request option.
4051
+ * @throws {RequiredError}
4052
+ */
4053
+ dolphinDBGetDistribution: async (orgName, clusterName, options = {}) => {
4054
+ // verify required parameter 'orgName' is not null or undefined
4055
+ (0, common_1.assertParamExists)('dolphinDBGetDistribution', 'orgName', orgName);
4056
+ // verify required parameter 'clusterName' is not null or undefined
4057
+ (0, common_1.assertParamExists)('dolphinDBGetDistribution', 'clusterName', clusterName);
4058
+ const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/distribution`
4059
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4060
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4061
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4062
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4063
+ let baseOptions;
4064
+ if (configuration) {
4065
+ baseOptions = configuration.baseOptions;
4066
+ }
4067
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4068
+ const localVarHeaderParameter = {};
4069
+ const localVarQueryParameter = {};
4070
+ // authentication BearerToken required
4071
+ // http bearer authentication required
4072
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4073
+ // authentication DigestAuth required
4074
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4075
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4076
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4077
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4078
+ return {
4079
+ url: (0, common_1.toPathString)(localVarUrlObj),
4080
+ options: localVarRequestOptions,
4081
+ };
4082
+ },
4002
4083
  /**
4003
4084
  *
4004
4085
  * @summary DolphinDB GetPermissions
@@ -4121,6 +4202,56 @@ const SharedApiAxiosParamCreator = function (configuration) {
4121
4202
  options: localVarRequestOptions,
4122
4203
  };
4123
4204
  },
4205
+ /**
4206
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
4207
+ * @summary DolphinDB PreviewRebalance
4208
+ * @param {string} orgName
4209
+ * @param {string} clusterName
4210
+ * @param {number} [offset]
4211
+ * @param {number} [limit]
4212
+ * @param {number} [updatedBeforeDays]
4213
+ * @param {*} [options] Override http request option.
4214
+ * @throws {RequiredError}
4215
+ */
4216
+ dolphinDBPreviewRebalance: async (orgName, clusterName, offset, limit, updatedBeforeDays, options = {}) => {
4217
+ // verify required parameter 'orgName' is not null or undefined
4218
+ (0, common_1.assertParamExists)('dolphinDBPreviewRebalance', 'orgName', orgName);
4219
+ // verify required parameter 'clusterName' is not null or undefined
4220
+ (0, common_1.assertParamExists)('dolphinDBPreviewRebalance', 'clusterName', clusterName);
4221
+ const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/preview`
4222
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4223
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4224
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4225
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4226
+ let baseOptions;
4227
+ if (configuration) {
4228
+ baseOptions = configuration.baseOptions;
4229
+ }
4230
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4231
+ const localVarHeaderParameter = {};
4232
+ const localVarQueryParameter = {};
4233
+ // authentication BearerToken required
4234
+ // http bearer authentication required
4235
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4236
+ // authentication DigestAuth required
4237
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4238
+ if (offset !== undefined) {
4239
+ localVarQueryParameter['offset'] = offset;
4240
+ }
4241
+ if (limit !== undefined) {
4242
+ localVarQueryParameter['limit'] = limit;
4243
+ }
4244
+ if (updatedBeforeDays !== undefined) {
4245
+ localVarQueryParameter['updatedBeforeDays'] = updatedBeforeDays;
4246
+ }
4247
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4248
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4249
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4250
+ return {
4251
+ url: (0, common_1.toPathString)(localVarUrlObj),
4252
+ options: localVarRequestOptions,
4253
+ };
4254
+ },
4124
4255
  /**
4125
4256
  *
4126
4257
  * @summary Download full backup
@@ -17911,6 +18042,22 @@ const SharedApiFp = function (configuration) {
17911
18042
  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;
17912
18043
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17913
18044
  },
18045
+ /**
18046
+ * 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.
18047
+ * @summary DolphinDB CreateRebalance
18048
+ * @param {string} orgName
18049
+ * @param {string} clusterName
18050
+ * @param {DolphinDBRebalanceRequest} dolphinDBRebalanceRequest
18051
+ * @param {*} [options] Override http request option.
18052
+ * @throws {RequiredError}
18053
+ */
18054
+ async dolphinDBCreateRebalance(orgName, clusterName, dolphinDBRebalanceRequest, options) {
18055
+ var _a, _b, _c;
18056
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBCreateRebalance(orgName, clusterName, dolphinDBRebalanceRequest, options);
18057
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18058
+ 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;
18059
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18060
+ },
17914
18061
  /**
17915
18062
  *
17916
18063
  * @summary DolphinDB CreateUser
@@ -17974,6 +18121,21 @@ const SharedApiFp = function (configuration) {
17974
18121
  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;
17975
18122
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17976
18123
  },
18124
+ /**
18125
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
18126
+ * @summary DolphinDB GetDistribution
18127
+ * @param {string} orgName
18128
+ * @param {string} clusterName
18129
+ * @param {*} [options] Override http request option.
18130
+ * @throws {RequiredError}
18131
+ */
18132
+ async dolphinDBGetDistribution(orgName, clusterName, options) {
18133
+ var _a, _b, _c;
18134
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBGetDistribution(orgName, clusterName, options);
18135
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18136
+ 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;
18137
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18138
+ },
17977
18139
  /**
17978
18140
  *
17979
18141
  * @summary DolphinDB GetPermissions
@@ -18021,6 +18183,24 @@ const SharedApiFp = function (configuration) {
18021
18183
  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;
18022
18184
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18023
18185
  },
18186
+ /**
18187
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
18188
+ * @summary DolphinDB PreviewRebalance
18189
+ * @param {string} orgName
18190
+ * @param {string} clusterName
18191
+ * @param {number} [offset]
18192
+ * @param {number} [limit]
18193
+ * @param {number} [updatedBeforeDays]
18194
+ * @param {*} [options] Override http request option.
18195
+ * @throws {RequiredError}
18196
+ */
18197
+ async dolphinDBPreviewRebalance(orgName, clusterName, offset, limit, updatedBeforeDays, options) {
18198
+ var _a, _b, _c;
18199
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBPreviewRebalance(orgName, clusterName, offset, limit, updatedBeforeDays, options);
18200
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18201
+ 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;
18202
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18203
+ },
18024
18204
  /**
18025
18205
  *
18026
18206
  * @summary Download full backup
@@ -23372,6 +23552,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
23372
23552
  dolphinDBCreateGroup(requestParameters, options) {
23373
23553
  return localVarFp.dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(axios, basePath));
23374
23554
  },
23555
+ /**
23556
+ * 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.
23557
+ * @summary DolphinDB CreateRebalance
23558
+ * @param {SharedApiDolphinDBCreateRebalanceRequest} requestParameters Request parameters.
23559
+ * @param {*} [options] Override http request option.
23560
+ * @throws {RequiredError}
23561
+ */
23562
+ dolphinDBCreateRebalance(requestParameters, options) {
23563
+ return localVarFp.dolphinDBCreateRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBRebalanceRequest, options).then((request) => request(axios, basePath));
23564
+ },
23375
23565
  /**
23376
23566
  *
23377
23567
  * @summary DolphinDB CreateUser
@@ -23412,6 +23602,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
23412
23602
  dolphinDBGetCapabilities(requestParameters, options) {
23413
23603
  return localVarFp.dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23414
23604
  },
23605
+ /**
23606
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
23607
+ * @summary DolphinDB GetDistribution
23608
+ * @param {SharedApiDolphinDBGetDistributionRequest} requestParameters Request parameters.
23609
+ * @param {*} [options] Override http request option.
23610
+ * @throws {RequiredError}
23611
+ */
23612
+ dolphinDBGetDistribution(requestParameters, options) {
23613
+ return localVarFp.dolphinDBGetDistribution(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23614
+ },
23415
23615
  /**
23416
23616
  *
23417
23617
  * @summary DolphinDB GetPermissions
@@ -23442,6 +23642,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
23442
23642
  dolphinDBListUsers(requestParameters, options) {
23443
23643
  return localVarFp.dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23444
23644
  },
23645
+ /**
23646
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
23647
+ * @summary DolphinDB PreviewRebalance
23648
+ * @param {SharedApiDolphinDBPreviewRebalanceRequest} requestParameters Request parameters.
23649
+ * @param {*} [options] Override http request option.
23650
+ * @throws {RequiredError}
23651
+ */
23652
+ dolphinDBPreviewRebalance(requestParameters, options) {
23653
+ return localVarFp.dolphinDBPreviewRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.updatedBeforeDays, options).then((request) => request(axios, basePath));
23654
+ },
23445
23655
  /**
23446
23656
  *
23447
23657
  * @summary Download full backup
@@ -27011,6 +27221,17 @@ class SharedApi extends base_1.BaseAPI {
27011
27221
  dolphinDBCreateGroup(requestParameters, options) {
27012
27222
  return (0, exports.SharedApiFp)(this.configuration).dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(this.axios, this.basePath));
27013
27223
  }
27224
+ /**
27225
+ * 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.
27226
+ * @summary DolphinDB CreateRebalance
27227
+ * @param {SharedApiDolphinDBCreateRebalanceRequest} requestParameters Request parameters.
27228
+ * @param {*} [options] Override http request option.
27229
+ * @throws {RequiredError}
27230
+ * @memberof SharedApi
27231
+ */
27232
+ dolphinDBCreateRebalance(requestParameters, options) {
27233
+ return (0, exports.SharedApiFp)(this.configuration).dolphinDBCreateRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBRebalanceRequest, options).then((request) => request(this.axios, this.basePath));
27234
+ }
27014
27235
  /**
27015
27236
  *
27016
27237
  * @summary DolphinDB CreateUser
@@ -27055,6 +27276,17 @@ class SharedApi extends base_1.BaseAPI {
27055
27276
  dolphinDBGetCapabilities(requestParameters, options) {
27056
27277
  return (0, exports.SharedApiFp)(this.configuration).dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
27057
27278
  }
27279
+ /**
27280
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
27281
+ * @summary DolphinDB GetDistribution
27282
+ * @param {SharedApiDolphinDBGetDistributionRequest} requestParameters Request parameters.
27283
+ * @param {*} [options] Override http request option.
27284
+ * @throws {RequiredError}
27285
+ * @memberof SharedApi
27286
+ */
27287
+ dolphinDBGetDistribution(requestParameters, options) {
27288
+ return (0, exports.SharedApiFp)(this.configuration).dolphinDBGetDistribution(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
27289
+ }
27058
27290
  /**
27059
27291
  *
27060
27292
  * @summary DolphinDB GetPermissions
@@ -27088,6 +27320,17 @@ class SharedApi extends base_1.BaseAPI {
27088
27320
  dolphinDBListUsers(requestParameters, options) {
27089
27321
  return (0, exports.SharedApiFp)(this.configuration).dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
27090
27322
  }
27323
+ /**
27324
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
27325
+ * @summary DolphinDB PreviewRebalance
27326
+ * @param {SharedApiDolphinDBPreviewRebalanceRequest} requestParameters Request parameters.
27327
+ * @param {*} [options] Override http request option.
27328
+ * @throws {RequiredError}
27329
+ * @memberof SharedApi
27330
+ */
27331
+ dolphinDBPreviewRebalance(requestParameters, options) {
27332
+ 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));
27333
+ }
27091
27334
  /**
27092
27335
  *
27093
27336
  * @summary Download full backup