kb-cloud-client-typescript 2.3.69 → 2.3.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 (134) hide show
  1. package/dist/adminapi/apis/backup-api.d.ts +3 -3
  2. package/dist/adminapi/apis/backup-api.js +2 -2
  3. package/dist/adminapi/apis/diagnostics-api.d.ts +79 -0
  4. package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
  5. package/dist/adminapi/apis/diagnostics-api.js +84 -0
  6. package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
  7. package/dist/adminapi/apis/dolphindb-api.d.ts +225 -0
  8. package/dist/adminapi/apis/dolphindb-api.d.ts.map +1 -1
  9. package/dist/adminapi/apis/dolphindb-api.js +243 -0
  10. package/dist/adminapi/apis/dolphindb-api.js.map +1 -1
  11. package/dist/adminapi/apis/shared-api.d.ts +227 -3
  12. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  13. package/dist/adminapi/apis/shared-api.js +245 -2
  14. package/dist/adminapi/apis/shared-api.js.map +1 -1
  15. package/dist/adminapi/models/dolphin-dbdistribution.d.ts +39 -0
  16. package/dist/adminapi/models/dolphin-dbdistribution.d.ts.map +1 -0
  17. package/dist/adminapi/models/dolphin-dbdistribution.js +16 -0
  18. package/dist/adminapi/models/dolphin-dbdistribution.js.map +1 -0
  19. package/dist/adminapi/models/dolphin-dbmigration.d.ts +43 -0
  20. package/dist/adminapi/models/dolphin-dbmigration.d.ts.map +1 -0
  21. package/dist/adminapi/models/dolphin-dbmigration.js +16 -0
  22. package/dist/adminapi/models/dolphin-dbmigration.js.map +1 -0
  23. package/dist/adminapi/models/dolphin-dbrebalance-preview.d.ts +50 -0
  24. package/dist/adminapi/models/dolphin-dbrebalance-preview.d.ts.map +1 -0
  25. package/dist/adminapi/models/dolphin-dbrebalance-preview.js +16 -0
  26. package/dist/adminapi/models/dolphin-dbrebalance-preview.js.map +1 -0
  27. package/dist/adminapi/models/dolphin-dbrebalance-request.d.ts +31 -0
  28. package/dist/adminapi/models/dolphin-dbrebalance-request.d.ts.map +1 -0
  29. package/dist/adminapi/models/dolphin-dbrebalance-request.js +16 -0
  30. package/dist/adminapi/models/dolphin-dbrebalance-request.js.map +1 -0
  31. package/dist/adminapi/models/dolphin-dbreplica-distribution.d.ts +31 -0
  32. package/dist/adminapi/models/dolphin-dbreplica-distribution.d.ts.map +1 -0
  33. package/dist/adminapi/models/dolphin-dbreplica-distribution.js +16 -0
  34. package/dist/adminapi/models/dolphin-dbreplica-distribution.js.map +1 -0
  35. package/dist/adminapi/models/dolphin-dbvolume-usage.d.ts +43 -0
  36. package/dist/adminapi/models/dolphin-dbvolume-usage.d.ts.map +1 -0
  37. package/dist/adminapi/models/dolphin-dbvolume-usage.js +16 -0
  38. package/dist/adminapi/models/dolphin-dbvolume-usage.js.map +1 -0
  39. package/dist/adminapi/models/environment-delete.d.ts +6 -0
  40. package/dist/adminapi/models/environment-delete.d.ts.map +1 -1
  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/adminapi/models/selected-object-conversion-strategy.d.ts +22 -0
  46. package/dist/adminapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
  47. package/dist/adminapi/models/selected-object-conversion-strategy.js +26 -0
  48. package/dist/adminapi/models/selected-object-conversion-strategy.js.map +1 -0
  49. package/dist/adminapi/models/selected-object-option-tree.d.ts +1 -1
  50. package/dist/adminapi/models/selected-object-option.d.ts +7 -0
  51. package/dist/adminapi/models/selected-object-option.d.ts.map +1 -1
  52. package/dist/openapi/apis/backup-api.d.ts +3 -3
  53. package/dist/openapi/apis/backup-api.js +2 -2
  54. package/dist/openapi/apis/diagnostics-api.d.ts +79 -0
  55. package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
  56. package/dist/openapi/apis/diagnostics-api.js +84 -0
  57. package/dist/openapi/apis/diagnostics-api.js.map +1 -1
  58. package/dist/openapi/apis/dolphindb-api.d.ts +225 -0
  59. package/dist/openapi/apis/dolphindb-api.d.ts.map +1 -1
  60. package/dist/openapi/apis/dolphindb-api.js +243 -0
  61. package/dist/openapi/apis/dolphindb-api.js.map +1 -1
  62. package/dist/openapi/apis/shared-api.d.ts +227 -3
  63. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  64. package/dist/openapi/apis/shared-api.js +245 -2
  65. package/dist/openapi/apis/shared-api.js.map +1 -1
  66. package/dist/openapi/models/dolphin-dbdistribution.d.ts +39 -0
  67. package/dist/openapi/models/dolphin-dbdistribution.d.ts.map +1 -0
  68. package/dist/openapi/models/dolphin-dbdistribution.js +16 -0
  69. package/dist/openapi/models/dolphin-dbdistribution.js.map +1 -0
  70. package/dist/openapi/models/dolphin-dbmigration.d.ts +43 -0
  71. package/dist/openapi/models/dolphin-dbmigration.d.ts.map +1 -0
  72. package/dist/openapi/models/dolphin-dbmigration.js +16 -0
  73. package/dist/openapi/models/dolphin-dbmigration.js.map +1 -0
  74. package/dist/openapi/models/dolphin-dbrebalance-preview.d.ts +50 -0
  75. package/dist/openapi/models/dolphin-dbrebalance-preview.d.ts.map +1 -0
  76. package/dist/openapi/models/dolphin-dbrebalance-preview.js +16 -0
  77. package/dist/openapi/models/dolphin-dbrebalance-preview.js.map +1 -0
  78. package/dist/openapi/models/dolphin-dbrebalance-request.d.ts +31 -0
  79. package/dist/openapi/models/dolphin-dbrebalance-request.d.ts.map +1 -0
  80. package/dist/openapi/models/dolphin-dbrebalance-request.js +16 -0
  81. package/dist/openapi/models/dolphin-dbrebalance-request.js.map +1 -0
  82. package/dist/openapi/models/dolphin-dbreplica-distribution.d.ts +31 -0
  83. package/dist/openapi/models/dolphin-dbreplica-distribution.d.ts.map +1 -0
  84. package/dist/openapi/models/dolphin-dbreplica-distribution.js +16 -0
  85. package/dist/openapi/models/dolphin-dbreplica-distribution.js.map +1 -0
  86. package/dist/openapi/models/dolphin-dbvolume-usage.d.ts +43 -0
  87. package/dist/openapi/models/dolphin-dbvolume-usage.d.ts.map +1 -0
  88. package/dist/openapi/models/dolphin-dbvolume-usage.js +16 -0
  89. package/dist/openapi/models/dolphin-dbvolume-usage.js.map +1 -0
  90. package/dist/openapi/models/index.d.ts +7 -0
  91. package/dist/openapi/models/index.d.ts.map +1 -1
  92. package/dist/openapi/models/index.js +7 -0
  93. package/dist/openapi/models/index.js.map +1 -1
  94. package/dist/openapi/models/selected-object-conversion-strategy.d.ts +22 -0
  95. package/dist/openapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
  96. package/dist/openapi/models/selected-object-conversion-strategy.js +26 -0
  97. package/dist/openapi/models/selected-object-conversion-strategy.js.map +1 -0
  98. package/dist/openapi/models/selected-object-option-tree.d.ts +1 -1
  99. package/dist/openapi/models/selected-object-option.d.ts +7 -0
  100. package/dist/openapi/models/selected-object-option.d.ts.map +1 -1
  101. package/package.json +1 -1
  102. package/src/adminapi/.openapi-generator/FILES +7 -0
  103. package/src/adminapi/apis/backup-api.ts +3 -3
  104. package/src/adminapi/apis/diagnostics-api.ts +138 -0
  105. package/src/adminapi/apis/dolphindb-api.ts +397 -0
  106. package/src/adminapi/apis/shared-api.ts +398 -3
  107. package/src/adminapi/models/dolphin-dbdistribution.ts +48 -0
  108. package/src/adminapi/models/dolphin-dbmigration.ts +48 -0
  109. package/src/adminapi/models/dolphin-dbrebalance-preview.ts +57 -0
  110. package/src/adminapi/models/dolphin-dbrebalance-request.ts +36 -0
  111. package/src/adminapi/models/dolphin-dbreplica-distribution.ts +36 -0
  112. package/src/adminapi/models/dolphin-dbvolume-usage.ts +48 -0
  113. package/src/adminapi/models/environment-delete.ts +6 -0
  114. package/src/adminapi/models/index.ts +7 -0
  115. package/src/adminapi/models/selected-object-conversion-strategy.ts +31 -0
  116. package/src/adminapi/models/selected-object-option-tree.ts +1 -1
  117. package/src/adminapi/models/selected-object-option.ts +11 -0
  118. package/src/adminapi.yaml +319 -28
  119. package/src/openapi/.openapi-generator/FILES +7 -0
  120. package/src/openapi/apis/backup-api.ts +3 -3
  121. package/src/openapi/apis/diagnostics-api.ts +138 -0
  122. package/src/openapi/apis/dolphindb-api.ts +397 -0
  123. package/src/openapi/apis/shared-api.ts +398 -3
  124. package/src/openapi/models/dolphin-dbdistribution.ts +48 -0
  125. package/src/openapi/models/dolphin-dbmigration.ts +48 -0
  126. package/src/openapi/models/dolphin-dbrebalance-preview.ts +57 -0
  127. package/src/openapi/models/dolphin-dbrebalance-request.ts +36 -0
  128. package/src/openapi/models/dolphin-dbreplica-distribution.ts +36 -0
  129. package/src/openapi/models/dolphin-dbvolume-usage.ts +48 -0
  130. package/src/openapi/models/index.ts +7 -0
  131. package/src/openapi/models/selected-object-conversion-strategy.ts +31 -0
  132. package/src/openapi/models/selected-object-option-tree.ts +1 -1
  133. package/src/openapi/models/selected-object-option.ts +11 -0
  134. package/src/openapi.yaml +316 -28
@@ -3821,6 +3821,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
3821
3821
  options: localVarRequestOptions,
3822
3822
  };
3823
3823
  },
3824
+ /**
3825
+ * 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.
3826
+ * @summary DolphinDB CreateRebalance
3827
+ * @param {string} orgName
3828
+ * @param {string} clusterName
3829
+ * @param {DolphinDBRebalanceRequest} dolphinDBRebalanceRequest
3830
+ * @param {*} [options] Override http request option.
3831
+ * @throws {RequiredError}
3832
+ */
3833
+ dolphinDBCreateRebalance: async (orgName, clusterName, dolphinDBRebalanceRequest, options = {}) => {
3834
+ // verify required parameter 'orgName' is not null or undefined
3835
+ (0, common_1.assertParamExists)('dolphinDBCreateRebalance', 'orgName', orgName);
3836
+ // verify required parameter 'clusterName' is not null or undefined
3837
+ (0, common_1.assertParamExists)('dolphinDBCreateRebalance', 'clusterName', clusterName);
3838
+ // verify required parameter 'dolphinDBRebalanceRequest' is not null or undefined
3839
+ (0, common_1.assertParamExists)('dolphinDBCreateRebalance', 'dolphinDBRebalanceRequest', dolphinDBRebalanceRequest);
3840
+ const localVarPath = `/api/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/operations`
3841
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3842
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
3843
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3844
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3845
+ let baseOptions;
3846
+ if (configuration) {
3847
+ baseOptions = configuration.baseOptions;
3848
+ }
3849
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3850
+ const localVarHeaderParameter = {};
3851
+ const localVarQueryParameter = {};
3852
+ // authentication BearerToken required
3853
+ // http bearer authentication required
3854
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3855
+ // authentication DigestAuth required
3856
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3857
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3858
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3859
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3860
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3861
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBRebalanceRequest, localVarRequestOptions, configuration);
3862
+ return {
3863
+ url: (0, common_1.toPathString)(localVarUrlObj),
3864
+ options: localVarRequestOptions,
3865
+ };
3866
+ },
3824
3867
  /**
3825
3868
  *
3826
3869
  * @summary DolphinDB CreateUser
@@ -3986,6 +4029,44 @@ const SharedApiAxiosParamCreator = function (configuration) {
3986
4029
  options: localVarRequestOptions,
3987
4030
  };
3988
4031
  },
4032
+ /**
4033
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
4034
+ * @summary DolphinDB GetDistribution
4035
+ * @param {string} orgName
4036
+ * @param {string} clusterName
4037
+ * @param {*} [options] Override http request option.
4038
+ * @throws {RequiredError}
4039
+ */
4040
+ dolphinDBGetDistribution: async (orgName, clusterName, options = {}) => {
4041
+ // verify required parameter 'orgName' is not null or undefined
4042
+ (0, common_1.assertParamExists)('dolphinDBGetDistribution', 'orgName', orgName);
4043
+ // verify required parameter 'clusterName' is not null or undefined
4044
+ (0, common_1.assertParamExists)('dolphinDBGetDistribution', 'clusterName', clusterName);
4045
+ const localVarPath = `/api/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/distribution`
4046
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4047
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4048
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4049
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4050
+ let baseOptions;
4051
+ if (configuration) {
4052
+ baseOptions = configuration.baseOptions;
4053
+ }
4054
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4055
+ const localVarHeaderParameter = {};
4056
+ const localVarQueryParameter = {};
4057
+ // authentication BearerToken required
4058
+ // http bearer authentication required
4059
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4060
+ // authentication DigestAuth required
4061
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4062
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4063
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4064
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4065
+ return {
4066
+ url: (0, common_1.toPathString)(localVarUrlObj),
4067
+ options: localVarRequestOptions,
4068
+ };
4069
+ },
3989
4070
  /**
3990
4071
  *
3991
4072
  * @summary DolphinDB GetPermissions
@@ -4108,6 +4189,56 @@ const SharedApiAxiosParamCreator = function (configuration) {
4108
4189
  options: localVarRequestOptions,
4109
4190
  };
4110
4191
  },
4192
+ /**
4193
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
4194
+ * @summary DolphinDB PreviewRebalance
4195
+ * @param {string} orgName
4196
+ * @param {string} clusterName
4197
+ * @param {number} [offset]
4198
+ * @param {number} [limit]
4199
+ * @param {number} [updatedBeforeDays]
4200
+ * @param {*} [options] Override http request option.
4201
+ * @throws {RequiredError}
4202
+ */
4203
+ dolphinDBPreviewRebalance: async (orgName, clusterName, offset, limit, updatedBeforeDays, options = {}) => {
4204
+ // verify required parameter 'orgName' is not null or undefined
4205
+ (0, common_1.assertParamExists)('dolphinDBPreviewRebalance', 'orgName', orgName);
4206
+ // verify required parameter 'clusterName' is not null or undefined
4207
+ (0, common_1.assertParamExists)('dolphinDBPreviewRebalance', 'clusterName', clusterName);
4208
+ const localVarPath = `/api/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/preview`
4209
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4210
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4211
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4212
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4213
+ let baseOptions;
4214
+ if (configuration) {
4215
+ baseOptions = configuration.baseOptions;
4216
+ }
4217
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4218
+ const localVarHeaderParameter = {};
4219
+ const localVarQueryParameter = {};
4220
+ // authentication BearerToken required
4221
+ // http bearer authentication required
4222
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4223
+ // authentication DigestAuth required
4224
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4225
+ if (offset !== undefined) {
4226
+ localVarQueryParameter['offset'] = offset;
4227
+ }
4228
+ if (limit !== undefined) {
4229
+ localVarQueryParameter['limit'] = limit;
4230
+ }
4231
+ if (updatedBeforeDays !== undefined) {
4232
+ localVarQueryParameter['updatedBeforeDays'] = updatedBeforeDays;
4233
+ }
4234
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4235
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4236
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4237
+ return {
4238
+ url: (0, common_1.toPathString)(localVarUrlObj),
4239
+ options: localVarRequestOptions,
4240
+ };
4241
+ },
4111
4242
  /**
4112
4243
  *
4113
4244
  * @summary Download full backup
@@ -9364,7 +9495,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
9364
9495
  * @summary List objects tree for selective backup
9365
9496
  * @param {string} orgName name of the org
9366
9497
  * @param {string} clusterName name of the cluster
9367
- * @param {string} [database] database name
9498
+ * @param {string} [database] Database name for engines configured to switch the object tree by database.
9368
9499
  * @param {*} [options] Override http request option.
9369
9500
  * @throws {RequiredError}
9370
9501
  */
@@ -16946,6 +17077,22 @@ const SharedApiFp = function (configuration) {
16946
17077
  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;
16947
17078
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16948
17079
  },
17080
+ /**
17081
+ * 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.
17082
+ * @summary DolphinDB CreateRebalance
17083
+ * @param {string} orgName
17084
+ * @param {string} clusterName
17085
+ * @param {DolphinDBRebalanceRequest} dolphinDBRebalanceRequest
17086
+ * @param {*} [options] Override http request option.
17087
+ * @throws {RequiredError}
17088
+ */
17089
+ async dolphinDBCreateRebalance(orgName, clusterName, dolphinDBRebalanceRequest, options) {
17090
+ var _a, _b, _c;
17091
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBCreateRebalance(orgName, clusterName, dolphinDBRebalanceRequest, options);
17092
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17093
+ 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;
17094
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17095
+ },
16949
17096
  /**
16950
17097
  *
16951
17098
  * @summary DolphinDB CreateUser
@@ -17009,6 +17156,21 @@ const SharedApiFp = function (configuration) {
17009
17156
  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;
17010
17157
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17011
17158
  },
17159
+ /**
17160
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
17161
+ * @summary DolphinDB GetDistribution
17162
+ * @param {string} orgName
17163
+ * @param {string} clusterName
17164
+ * @param {*} [options] Override http request option.
17165
+ * @throws {RequiredError}
17166
+ */
17167
+ async dolphinDBGetDistribution(orgName, clusterName, options) {
17168
+ var _a, _b, _c;
17169
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBGetDistribution(orgName, clusterName, options);
17170
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17171
+ 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;
17172
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17173
+ },
17012
17174
  /**
17013
17175
  *
17014
17176
  * @summary DolphinDB GetPermissions
@@ -17056,6 +17218,24 @@ const SharedApiFp = function (configuration) {
17056
17218
  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;
17057
17219
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17058
17220
  },
17221
+ /**
17222
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
17223
+ * @summary DolphinDB PreviewRebalance
17224
+ * @param {string} orgName
17225
+ * @param {string} clusterName
17226
+ * @param {number} [offset]
17227
+ * @param {number} [limit]
17228
+ * @param {number} [updatedBeforeDays]
17229
+ * @param {*} [options] Override http request option.
17230
+ * @throws {RequiredError}
17231
+ */
17232
+ async dolphinDBPreviewRebalance(orgName, clusterName, offset, limit, updatedBeforeDays, options) {
17233
+ var _a, _b, _c;
17234
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBPreviewRebalance(orgName, clusterName, offset, limit, updatedBeforeDays, options);
17235
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17236
+ 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;
17237
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17238
+ },
17059
17239
  /**
17060
17240
  *
17061
17241
  * @summary Download full backup
@@ -18987,7 +19167,7 @@ const SharedApiFp = function (configuration) {
18987
19167
  * @summary List objects tree for selective backup
18988
19168
  * @param {string} orgName name of the org
18989
19169
  * @param {string} clusterName name of the cluster
18990
- * @param {string} [database] database name
19170
+ * @param {string} [database] Database name for engines configured to switch the object tree by database.
18991
19171
  * @param {*} [options] Override http request option.
18992
19172
  * @throws {RequiredError}
18993
19173
  */
@@ -22055,6 +22235,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
22055
22235
  dolphinDBCreateGroup(requestParameters, options) {
22056
22236
  return localVarFp.dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(axios, basePath));
22057
22237
  },
22238
+ /**
22239
+ * 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.
22240
+ * @summary DolphinDB CreateRebalance
22241
+ * @param {SharedApiDolphinDBCreateRebalanceRequest} requestParameters Request parameters.
22242
+ * @param {*} [options] Override http request option.
22243
+ * @throws {RequiredError}
22244
+ */
22245
+ dolphinDBCreateRebalance(requestParameters, options) {
22246
+ return localVarFp.dolphinDBCreateRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBRebalanceRequest, options).then((request) => request(axios, basePath));
22247
+ },
22058
22248
  /**
22059
22249
  *
22060
22250
  * @summary DolphinDB CreateUser
@@ -22095,6 +22285,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
22095
22285
  dolphinDBGetCapabilities(requestParameters, options) {
22096
22286
  return localVarFp.dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
22097
22287
  },
22288
+ /**
22289
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
22290
+ * @summary DolphinDB GetDistribution
22291
+ * @param {SharedApiDolphinDBGetDistributionRequest} requestParameters Request parameters.
22292
+ * @param {*} [options] Override http request option.
22293
+ * @throws {RequiredError}
22294
+ */
22295
+ dolphinDBGetDistribution(requestParameters, options) {
22296
+ return localVarFp.dolphinDBGetDistribution(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
22297
+ },
22098
22298
  /**
22099
22299
  *
22100
22300
  * @summary DolphinDB GetPermissions
@@ -22125,6 +22325,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
22125
22325
  dolphinDBListUsers(requestParameters, options) {
22126
22326
  return localVarFp.dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
22127
22327
  },
22328
+ /**
22329
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
22330
+ * @summary DolphinDB PreviewRebalance
22331
+ * @param {SharedApiDolphinDBPreviewRebalanceRequest} requestParameters Request parameters.
22332
+ * @param {*} [options] Override http request option.
22333
+ * @throws {RequiredError}
22334
+ */
22335
+ dolphinDBPreviewRebalance(requestParameters, options) {
22336
+ return localVarFp.dolphinDBPreviewRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.updatedBeforeDays, options).then((request) => request(axios, basePath));
22337
+ },
22128
22338
  /**
22129
22339
  *
22130
22340
  * @summary Download full backup
@@ -25486,6 +25696,17 @@ class SharedApi extends base_1.BaseAPI {
25486
25696
  dolphinDBCreateGroup(requestParameters, options) {
25487
25697
  return (0, exports.SharedApiFp)(this.configuration).dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(this.axios, this.basePath));
25488
25698
  }
25699
+ /**
25700
+ * 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.
25701
+ * @summary DolphinDB CreateRebalance
25702
+ * @param {SharedApiDolphinDBCreateRebalanceRequest} requestParameters Request parameters.
25703
+ * @param {*} [options] Override http request option.
25704
+ * @throws {RequiredError}
25705
+ * @memberof SharedApi
25706
+ */
25707
+ dolphinDBCreateRebalance(requestParameters, options) {
25708
+ return (0, exports.SharedApiFp)(this.configuration).dolphinDBCreateRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBRebalanceRequest, options).then((request) => request(this.axios, this.basePath));
25709
+ }
25489
25710
  /**
25490
25711
  *
25491
25712
  * @summary DolphinDB CreateUser
@@ -25530,6 +25751,17 @@ class SharedApi extends base_1.BaseAPI {
25530
25751
  dolphinDBGetCapabilities(requestParameters, options) {
25531
25752
  return (0, exports.SharedApiFp)(this.configuration).dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
25532
25753
  }
25754
+ /**
25755
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
25756
+ * @summary DolphinDB GetDistribution
25757
+ * @param {SharedApiDolphinDBGetDistributionRequest} requestParameters Request parameters.
25758
+ * @param {*} [options] Override http request option.
25759
+ * @throws {RequiredError}
25760
+ * @memberof SharedApi
25761
+ */
25762
+ dolphinDBGetDistribution(requestParameters, options) {
25763
+ return (0, exports.SharedApiFp)(this.configuration).dolphinDBGetDistribution(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
25764
+ }
25533
25765
  /**
25534
25766
  *
25535
25767
  * @summary DolphinDB GetPermissions
@@ -25563,6 +25795,17 @@ class SharedApi extends base_1.BaseAPI {
25563
25795
  dolphinDBListUsers(requestParameters, options) {
25564
25796
  return (0, exports.SharedApiFp)(this.configuration).dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
25565
25797
  }
25798
+ /**
25799
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
25800
+ * @summary DolphinDB PreviewRebalance
25801
+ * @param {SharedApiDolphinDBPreviewRebalanceRequest} requestParameters Request parameters.
25802
+ * @param {*} [options] Override http request option.
25803
+ * @throws {RequiredError}
25804
+ * @memberof SharedApi
25805
+ */
25806
+ dolphinDBPreviewRebalance(requestParameters, options) {
25807
+ 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));
25808
+ }
25566
25809
  /**
25567
25810
  *
25568
25811
  * @summary Download full backup