kb-cloud-client-typescript 2.3.68 → 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
@@ -202,6 +202,8 @@ import type { DmsVisualExplainRequest } from '../models';
202
202
  // @ts-ignore
203
203
  import type { DolphinDBCapabilities } from '../models';
204
204
  // @ts-ignore
205
+ import type { DolphinDBDistribution } from '../models';
206
+ // @ts-ignore
205
207
  import type { DolphinDBGroup } from '../models';
206
208
  // @ts-ignore
207
209
  import type { DolphinDBGroupCreate } from '../models';
@@ -214,6 +216,10 @@ import type { DolphinDBPermissionChange } from '../models';
214
216
  // @ts-ignore
215
217
  import type { DolphinDBPermissionSnapshot } from '../models';
216
218
  // @ts-ignore
219
+ import type { DolphinDBRebalancePreview } from '../models';
220
+ // @ts-ignore
221
+ import type { DolphinDBRebalanceRequest } from '../models';
222
+ // @ts-ignore
217
223
  import type { DolphinDBUser } from '../models';
218
224
  // @ts-ignore
219
225
  import type { DolphinDBUserCreate } from '../models';
@@ -4908,6 +4914,57 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4908
4914
  options: localVarRequestOptions,
4909
4915
  };
4910
4916
  },
4917
+ /**
4918
+ * 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.
4919
+ * @summary DolphinDB CreateRebalance
4920
+ * @param {string} orgName
4921
+ * @param {string} clusterName
4922
+ * @param {DolphinDBRebalanceRequest} dolphinDBRebalanceRequest
4923
+ * @param {*} [options] Override http request option.
4924
+ * @throws {RequiredError}
4925
+ */
4926
+ dolphinDBCreateRebalance: async (orgName: string, clusterName: string, dolphinDBRebalanceRequest: DolphinDBRebalanceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4927
+ // verify required parameter 'orgName' is not null or undefined
4928
+ assertParamExists('dolphinDBCreateRebalance', 'orgName', orgName)
4929
+ // verify required parameter 'clusterName' is not null or undefined
4930
+ assertParamExists('dolphinDBCreateRebalance', 'clusterName', clusterName)
4931
+ // verify required parameter 'dolphinDBRebalanceRequest' is not null or undefined
4932
+ assertParamExists('dolphinDBCreateRebalance', 'dolphinDBRebalanceRequest', dolphinDBRebalanceRequest)
4933
+ const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/operations`
4934
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4935
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4936
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4937
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4938
+ let baseOptions;
4939
+ if (configuration) {
4940
+ baseOptions = configuration.baseOptions;
4941
+ }
4942
+
4943
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4944
+ const localVarHeaderParameter = {} as any;
4945
+ const localVarQueryParameter = {} as any;
4946
+
4947
+ // authentication BearerToken required
4948
+ // http bearer authentication required
4949
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4950
+
4951
+ // authentication DigestAuth required
4952
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4953
+
4954
+
4955
+
4956
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4957
+
4958
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4959
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4960
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4961
+ localVarRequestOptions.data = serializeDataIfNeeded(dolphinDBRebalanceRequest, localVarRequestOptions, configuration)
4962
+
4963
+ return {
4964
+ url: toPathString(localVarUrlObj),
4965
+ options: localVarRequestOptions,
4966
+ };
4967
+ },
4911
4968
  /**
4912
4969
  *
4913
4970
  * @summary DolphinDB CreateUser
@@ -5093,6 +5150,51 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
5093
5150
 
5094
5151
 
5095
5152
 
5153
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5154
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5155
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5156
+
5157
+ return {
5158
+ url: toPathString(localVarUrlObj),
5159
+ options: localVarRequestOptions,
5160
+ };
5161
+ },
5162
+ /**
5163
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
5164
+ * @summary DolphinDB GetDistribution
5165
+ * @param {string} orgName
5166
+ * @param {string} clusterName
5167
+ * @param {*} [options] Override http request option.
5168
+ * @throws {RequiredError}
5169
+ */
5170
+ dolphinDBGetDistribution: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5171
+ // verify required parameter 'orgName' is not null or undefined
5172
+ assertParamExists('dolphinDBGetDistribution', 'orgName', orgName)
5173
+ // verify required parameter 'clusterName' is not null or undefined
5174
+ assertParamExists('dolphinDBGetDistribution', 'clusterName', clusterName)
5175
+ const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/distribution`
5176
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5177
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
5178
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5179
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5180
+ let baseOptions;
5181
+ if (configuration) {
5182
+ baseOptions = configuration.baseOptions;
5183
+ }
5184
+
5185
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5186
+ const localVarHeaderParameter = {} as any;
5187
+ const localVarQueryParameter = {} as any;
5188
+
5189
+ // authentication BearerToken required
5190
+ // http bearer authentication required
5191
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5192
+
5193
+ // authentication DigestAuth required
5194
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
5195
+
5196
+
5197
+
5096
5198
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5097
5199
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5098
5200
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -5236,6 +5338,66 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
5236
5338
 
5237
5339
 
5238
5340
 
5341
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5342
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5343
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5344
+
5345
+ return {
5346
+ url: toPathString(localVarUrlObj),
5347
+ options: localVarRequestOptions,
5348
+ };
5349
+ },
5350
+ /**
5351
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
5352
+ * @summary DolphinDB PreviewRebalance
5353
+ * @param {string} orgName
5354
+ * @param {string} clusterName
5355
+ * @param {number} [offset]
5356
+ * @param {number} [limit]
5357
+ * @param {number} [updatedBeforeDays]
5358
+ * @param {*} [options] Override http request option.
5359
+ * @throws {RequiredError}
5360
+ */
5361
+ dolphinDBPreviewRebalance: async (orgName: string, clusterName: string, offset?: number, limit?: number, updatedBeforeDays?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5362
+ // verify required parameter 'orgName' is not null or undefined
5363
+ assertParamExists('dolphinDBPreviewRebalance', 'orgName', orgName)
5364
+ // verify required parameter 'clusterName' is not null or undefined
5365
+ assertParamExists('dolphinDBPreviewRebalance', 'clusterName', clusterName)
5366
+ const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/preview`
5367
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5368
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
5369
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5370
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5371
+ let baseOptions;
5372
+ if (configuration) {
5373
+ baseOptions = configuration.baseOptions;
5374
+ }
5375
+
5376
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5377
+ const localVarHeaderParameter = {} as any;
5378
+ const localVarQueryParameter = {} as any;
5379
+
5380
+ // authentication BearerToken required
5381
+ // http bearer authentication required
5382
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5383
+
5384
+ // authentication DigestAuth required
5385
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
5386
+
5387
+ if (offset !== undefined) {
5388
+ localVarQueryParameter['offset'] = offset;
5389
+ }
5390
+
5391
+ if (limit !== undefined) {
5392
+ localVarQueryParameter['limit'] = limit;
5393
+ }
5394
+
5395
+ if (updatedBeforeDays !== undefined) {
5396
+ localVarQueryParameter['updatedBeforeDays'] = updatedBeforeDays;
5397
+ }
5398
+
5399
+
5400
+
5239
5401
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5240
5402
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5241
5403
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -11590,7 +11752,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
11590
11752
  * @summary List objects tree for selective backup
11591
11753
  * @param {string} orgName name of the org
11592
11754
  * @param {string} clusterName name of the cluster
11593
- * @param {string} [database] database name
11755
+ * @param {string} [database] Database name for engines configured to switch the object tree by database.
11594
11756
  * @param {*} [options] Override http request option.
11595
11757
  * @throws {RequiredError}
11596
11758
  */
@@ -20080,6 +20242,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
20080
20242
  const localVarOperationServerBasePath = operationServerMap['SharedApi.dolphinDBCreateGroup']?.[localVarOperationServerIndex]?.url;
20081
20243
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20082
20244
  },
20245
+ /**
20246
+ * 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.
20247
+ * @summary DolphinDB CreateRebalance
20248
+ * @param {string} orgName
20249
+ * @param {string} clusterName
20250
+ * @param {DolphinDBRebalanceRequest} dolphinDBRebalanceRequest
20251
+ * @param {*} [options] Override http request option.
20252
+ * @throws {RequiredError}
20253
+ */
20254
+ async dolphinDBCreateRebalance(orgName: string, clusterName: string, dolphinDBRebalanceRequest: DolphinDBRebalanceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpsRequestName>> {
20255
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBCreateRebalance(orgName, clusterName, dolphinDBRebalanceRequest, options);
20256
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20257
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.dolphinDBCreateRebalance']?.[localVarOperationServerIndex]?.url;
20258
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20259
+ },
20083
20260
  /**
20084
20261
  *
20085
20262
  * @summary DolphinDB CreateUser
@@ -20139,6 +20316,20 @@ export const SharedApiFp = function(configuration?: Configuration) {
20139
20316
  const localVarOperationServerBasePath = operationServerMap['SharedApi.dolphinDBGetCapabilities']?.[localVarOperationServerIndex]?.url;
20140
20317
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20141
20318
  },
20319
+ /**
20320
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
20321
+ * @summary DolphinDB GetDistribution
20322
+ * @param {string} orgName
20323
+ * @param {string} clusterName
20324
+ * @param {*} [options] Override http request option.
20325
+ * @throws {RequiredError}
20326
+ */
20327
+ async dolphinDBGetDistribution(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DolphinDBDistribution>> {
20328
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBGetDistribution(orgName, clusterName, options);
20329
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20330
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.dolphinDBGetDistribution']?.[localVarOperationServerIndex]?.url;
20331
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20332
+ },
20142
20333
  /**
20143
20334
  *
20144
20335
  * @summary DolphinDB GetPermissions
@@ -20183,6 +20374,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
20183
20374
  const localVarOperationServerBasePath = operationServerMap['SharedApi.dolphinDBListUsers']?.[localVarOperationServerIndex]?.url;
20184
20375
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20185
20376
  },
20377
+ /**
20378
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
20379
+ * @summary DolphinDB PreviewRebalance
20380
+ * @param {string} orgName
20381
+ * @param {string} clusterName
20382
+ * @param {number} [offset]
20383
+ * @param {number} [limit]
20384
+ * @param {number} [updatedBeforeDays]
20385
+ * @param {*} [options] Override http request option.
20386
+ * @throws {RequiredError}
20387
+ */
20388
+ async dolphinDBPreviewRebalance(orgName: string, clusterName: string, offset?: number, limit?: number, updatedBeforeDays?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DolphinDBRebalancePreview>> {
20389
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBPreviewRebalance(orgName, clusterName, offset, limit, updatedBeforeDays, options);
20390
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20391
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.dolphinDBPreviewRebalance']?.[localVarOperationServerIndex]?.url;
20392
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20393
+ },
20186
20394
  /**
20187
20395
  *
20188
20396
  * @summary Download full backup
@@ -22048,7 +22256,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
22048
22256
  * @summary List objects tree for selective backup
22049
22257
  * @param {string} orgName name of the org
22050
22258
  * @param {string} clusterName name of the cluster
22051
- * @param {string} [database] database name
22259
+ * @param {string} [database] Database name for engines configured to switch the object tree by database.
22052
22260
  * @param {*} [options] Override http request option.
22053
22261
  * @throws {RequiredError}
22054
22262
  */
@@ -24943,6 +25151,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24943
25151
  dolphinDBCreateGroup(requestParameters: SharedApiDolphinDBCreateGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
24944
25152
  return localVarFp.dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(axios, basePath));
24945
25153
  },
25154
+ /**
25155
+ * 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.
25156
+ * @summary DolphinDB CreateRebalance
25157
+ * @param {SharedApiDolphinDBCreateRebalanceRequest} requestParameters Request parameters.
25158
+ * @param {*} [options] Override http request option.
25159
+ * @throws {RequiredError}
25160
+ */
25161
+ dolphinDBCreateRebalance(requestParameters: SharedApiDolphinDBCreateRebalanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
25162
+ return localVarFp.dolphinDBCreateRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBRebalanceRequest, options).then((request) => request(axios, basePath));
25163
+ },
24946
25164
  /**
24947
25165
  *
24948
25166
  * @summary DolphinDB CreateUser
@@ -24983,6 +25201,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24983
25201
  dolphinDBGetCapabilities(requestParameters: SharedApiDolphinDBGetCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DolphinDBCapabilities> {
24984
25202
  return localVarFp.dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24985
25203
  },
25204
+ /**
25205
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
25206
+ * @summary DolphinDB GetDistribution
25207
+ * @param {SharedApiDolphinDBGetDistributionRequest} requestParameters Request parameters.
25208
+ * @param {*} [options] Override http request option.
25209
+ * @throws {RequiredError}
25210
+ */
25211
+ dolphinDBGetDistribution(requestParameters: SharedApiDolphinDBGetDistributionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DolphinDBDistribution> {
25212
+ return localVarFp.dolphinDBGetDistribution(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
25213
+ },
24986
25214
  /**
24987
25215
  *
24988
25216
  * @summary DolphinDB GetPermissions
@@ -25013,6 +25241,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
25013
25241
  dolphinDBListUsers(requestParameters: SharedApiDolphinDBListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DolphinDBUser>> {
25014
25242
  return localVarFp.dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
25015
25243
  },
25244
+ /**
25245
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
25246
+ * @summary DolphinDB PreviewRebalance
25247
+ * @param {SharedApiDolphinDBPreviewRebalanceRequest} requestParameters Request parameters.
25248
+ * @param {*} [options] Override http request option.
25249
+ * @throws {RequiredError}
25250
+ */
25251
+ dolphinDBPreviewRebalance(requestParameters: SharedApiDolphinDBPreviewRebalanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DolphinDBRebalancePreview> {
25252
+ return localVarFp.dolphinDBPreviewRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.updatedBeforeDays, options).then((request) => request(axios, basePath));
25253
+ },
25016
25254
  /**
25017
25255
  *
25018
25256
  * @summary Download full backup
@@ -28306,6 +28544,16 @@ export interface SharedApiInterface {
28306
28544
  */
28307
28545
  dolphinDBCreateGroup(requestParameters: SharedApiDolphinDBCreateGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
28308
28546
 
28547
+ /**
28548
+ * 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.
28549
+ * @summary DolphinDB CreateRebalance
28550
+ * @param {SharedApiDolphinDBCreateRebalanceRequest} requestParameters Request parameters.
28551
+ * @param {*} [options] Override http request option.
28552
+ * @throws {RequiredError}
28553
+ * @memberof SharedApiInterface
28554
+ */
28555
+ dolphinDBCreateRebalance(requestParameters: SharedApiDolphinDBCreateRebalanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
28556
+
28309
28557
  /**
28310
28558
  *
28311
28559
  * @summary DolphinDB CreateUser
@@ -28346,6 +28594,16 @@ export interface SharedApiInterface {
28346
28594
  */
28347
28595
  dolphinDBGetCapabilities(requestParameters: SharedApiDolphinDBGetCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DolphinDBCapabilities>;
28348
28596
 
28597
+ /**
28598
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
28599
+ * @summary DolphinDB GetDistribution
28600
+ * @param {SharedApiDolphinDBGetDistributionRequest} requestParameters Request parameters.
28601
+ * @param {*} [options] Override http request option.
28602
+ * @throws {RequiredError}
28603
+ * @memberof SharedApiInterface
28604
+ */
28605
+ dolphinDBGetDistribution(requestParameters: SharedApiDolphinDBGetDistributionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DolphinDBDistribution>;
28606
+
28349
28607
  /**
28350
28608
  *
28351
28609
  * @summary DolphinDB GetPermissions
@@ -28376,6 +28634,16 @@ export interface SharedApiInterface {
28376
28634
  */
28377
28635
  dolphinDBListUsers(requestParameters: SharedApiDolphinDBListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DolphinDBUser>>;
28378
28636
 
28637
+ /**
28638
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
28639
+ * @summary DolphinDB PreviewRebalance
28640
+ * @param {SharedApiDolphinDBPreviewRebalanceRequest} requestParameters Request parameters.
28641
+ * @param {*} [options] Override http request option.
28642
+ * @throws {RequiredError}
28643
+ * @memberof SharedApiInterface
28644
+ */
28645
+ dolphinDBPreviewRebalance(requestParameters: SharedApiDolphinDBPreviewRebalanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DolphinDBRebalancePreview>;
28646
+
28379
28647
  /**
28380
28648
  *
28381
28649
  * @summary Download full backup
@@ -33381,6 +33649,34 @@ export interface SharedApiDolphinDBCreateGroupRequest {
33381
33649
  readonly dolphinDBGroupCreate: DolphinDBGroupCreate
33382
33650
  }
33383
33651
 
33652
+ /**
33653
+ * Request parameters for dolphinDBCreateRebalance operation in SharedApi.
33654
+ * @export
33655
+ * @interface SharedApiDolphinDBCreateRebalanceRequest
33656
+ */
33657
+ export interface SharedApiDolphinDBCreateRebalanceRequest {
33658
+ /**
33659
+ *
33660
+ * @type {string}
33661
+ * @memberof SharedApiDolphinDBCreateRebalance
33662
+ */
33663
+ readonly orgName: string
33664
+
33665
+ /**
33666
+ *
33667
+ * @type {string}
33668
+ * @memberof SharedApiDolphinDBCreateRebalance
33669
+ */
33670
+ readonly clusterName: string
33671
+
33672
+ /**
33673
+ *
33674
+ * @type {DolphinDBRebalanceRequest}
33675
+ * @memberof SharedApiDolphinDBCreateRebalance
33676
+ */
33677
+ readonly dolphinDBRebalanceRequest: DolphinDBRebalanceRequest
33678
+ }
33679
+
33384
33680
  /**
33385
33681
  * Request parameters for dolphinDBCreateUser operation in SharedApi.
33386
33682
  * @export
@@ -33486,6 +33782,27 @@ export interface SharedApiDolphinDBGetCapabilitiesRequest {
33486
33782
  readonly clusterName: string
33487
33783
  }
33488
33784
 
33785
+ /**
33786
+ * Request parameters for dolphinDBGetDistribution operation in SharedApi.
33787
+ * @export
33788
+ * @interface SharedApiDolphinDBGetDistributionRequest
33789
+ */
33790
+ export interface SharedApiDolphinDBGetDistributionRequest {
33791
+ /**
33792
+ *
33793
+ * @type {string}
33794
+ * @memberof SharedApiDolphinDBGetDistribution
33795
+ */
33796
+ readonly orgName: string
33797
+
33798
+ /**
33799
+ *
33800
+ * @type {string}
33801
+ * @memberof SharedApiDolphinDBGetDistribution
33802
+ */
33803
+ readonly clusterName: string
33804
+ }
33805
+
33489
33806
  /**
33490
33807
  * Request parameters for dolphinDBGetPermissions operation in SharedApi.
33491
33808
  * @export
@@ -33563,6 +33880,48 @@ export interface SharedApiDolphinDBListUsersRequest {
33563
33880
  readonly clusterName: string
33564
33881
  }
33565
33882
 
33883
+ /**
33884
+ * Request parameters for dolphinDBPreviewRebalance operation in SharedApi.
33885
+ * @export
33886
+ * @interface SharedApiDolphinDBPreviewRebalanceRequest
33887
+ */
33888
+ export interface SharedApiDolphinDBPreviewRebalanceRequest {
33889
+ /**
33890
+ *
33891
+ * @type {string}
33892
+ * @memberof SharedApiDolphinDBPreviewRebalance
33893
+ */
33894
+ readonly orgName: string
33895
+
33896
+ /**
33897
+ *
33898
+ * @type {string}
33899
+ * @memberof SharedApiDolphinDBPreviewRebalance
33900
+ */
33901
+ readonly clusterName: string
33902
+
33903
+ /**
33904
+ *
33905
+ * @type {number}
33906
+ * @memberof SharedApiDolphinDBPreviewRebalance
33907
+ */
33908
+ readonly offset?: number
33909
+
33910
+ /**
33911
+ *
33912
+ * @type {number}
33913
+ * @memberof SharedApiDolphinDBPreviewRebalance
33914
+ */
33915
+ readonly limit?: number
33916
+
33917
+ /**
33918
+ *
33919
+ * @type {number}
33920
+ * @memberof SharedApiDolphinDBPreviewRebalance
33921
+ */
33922
+ readonly updatedBeforeDays?: number
33923
+ }
33924
+
33566
33925
  /**
33567
33926
  * Request parameters for downloadBackup operation in SharedApi.
33568
33927
  * @export
@@ -37420,7 +37779,7 @@ export interface SharedApiListObjectsTreeForSelectiveBackupRequest {
37420
37779
  readonly clusterName: string
37421
37780
 
37422
37781
  /**
37423
- * database name
37782
+ * Database name for engines configured to switch the object tree by database.
37424
37783
  * @type {string}
37425
37784
  * @memberof SharedApiListObjectsTreeForSelectiveBackup
37426
37785
  */
@@ -43060,6 +43419,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
43060
43419
  return SharedApiFp(this.configuration).dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(this.axios, this.basePath));
43061
43420
  }
43062
43421
 
43422
+ /**
43423
+ * 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.
43424
+ * @summary DolphinDB CreateRebalance
43425
+ * @param {SharedApiDolphinDBCreateRebalanceRequest} requestParameters Request parameters.
43426
+ * @param {*} [options] Override http request option.
43427
+ * @throws {RequiredError}
43428
+ * @memberof SharedApi
43429
+ */
43430
+ public dolphinDBCreateRebalance(requestParameters: SharedApiDolphinDBCreateRebalanceRequest, options?: RawAxiosRequestConfig) {
43431
+ return SharedApiFp(this.configuration).dolphinDBCreateRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBRebalanceRequest, options).then((request) => request(this.axios, this.basePath));
43432
+ }
43433
+
43063
43434
  /**
43064
43435
  *
43065
43436
  * @summary DolphinDB CreateUser
@@ -43108,6 +43479,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
43108
43479
  return SharedApiFp(this.configuration).dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
43109
43480
  }
43110
43481
 
43482
+ /**
43483
+ * Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
43484
+ * @summary DolphinDB GetDistribution
43485
+ * @param {SharedApiDolphinDBGetDistributionRequest} requestParameters Request parameters.
43486
+ * @param {*} [options] Override http request option.
43487
+ * @throws {RequiredError}
43488
+ * @memberof SharedApi
43489
+ */
43490
+ public dolphinDBGetDistribution(requestParameters: SharedApiDolphinDBGetDistributionRequest, options?: RawAxiosRequestConfig) {
43491
+ return SharedApiFp(this.configuration).dolphinDBGetDistribution(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
43492
+ }
43493
+
43111
43494
  /**
43112
43495
  *
43113
43496
  * @summary DolphinDB GetPermissions
@@ -43144,6 +43527,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
43144
43527
  return SharedApiFp(this.configuration).dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
43145
43528
  }
43146
43529
 
43530
+ /**
43531
+ * Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
43532
+ * @summary DolphinDB PreviewRebalance
43533
+ * @param {SharedApiDolphinDBPreviewRebalanceRequest} requestParameters Request parameters.
43534
+ * @param {*} [options] Override http request option.
43535
+ * @throws {RequiredError}
43536
+ * @memberof SharedApi
43537
+ */
43538
+ public dolphinDBPreviewRebalance(requestParameters: SharedApiDolphinDBPreviewRebalanceRequest, options?: RawAxiosRequestConfig) {
43539
+ return SharedApiFp(this.configuration).dolphinDBPreviewRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.updatedBeforeDays, options).then((request) => request(this.axios, this.basePath));
43540
+ }
43541
+
43147
43542
  /**
43148
43543
  *
43149
43544
  * @summary Download full backup
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { DolphinDBReplicaDistribution } from './dolphin-dbreplica-distribution';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { DolphinDBVolumeUsage } from './dolphin-dbvolume-usage';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface DolphinDBDistribution
27
+ */
28
+ export interface DolphinDBDistribution {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof DolphinDBDistribution
33
+ */
34
+ 'observedAt'?: string;
35
+ /**
36
+ *
37
+ * @type {Array<DolphinDBVolumeUsage>}
38
+ * @memberof DolphinDBDistribution
39
+ */
40
+ 'volumes'?: Array<DolphinDBVolumeUsage>;
41
+ /**
42
+ *
43
+ * @type {Array<DolphinDBReplicaDistribution>}
44
+ * @memberof DolphinDBDistribution
45
+ */
46
+ 'replicas'?: Array<DolphinDBReplicaDistribution>;
47
+ }
48
+
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface DolphinDBMigration
21
+ */
22
+ export interface DolphinDBMigration {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof DolphinDBMigration
27
+ */
28
+ 'chunkId': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof DolphinDBMigration
33
+ */
34
+ 'srcNode': string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof DolphinDBMigration
39
+ */
40
+ 'destNode': string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof DolphinDBMigration
45
+ */
46
+ 'destVolume'?: string;
47
+ }
48
+