kb-cloud-client-typescript 2.4.0-alpha.64 → 2.4.0-alpha.66

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 (129) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/cluster-jar-api.d.ts +702 -0
  6. package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -0
  7. package/dist/adminapi/apis/cluster-jar-api.js +758 -0
  8. package/dist/adminapi/apis/cluster-jar-api.js.map +1 -0
  9. package/dist/adminapi/apis/environment-api.d.ts +95 -0
  10. package/dist/adminapi/apis/environment-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/environment-api.js +93 -0
  12. package/dist/adminapi/apis/environment-api.js.map +1 -1
  13. package/dist/adminapi/apis/parameter-template-api.d.ts +18 -10
  14. package/dist/adminapi/apis/parameter-template-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/parameter-template-api.js +16 -11
  16. package/dist/adminapi/apis/parameter-template-api.js.map +1 -1
  17. package/dist/adminapi/apis/shared-api.d.ts +654 -0
  18. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  19. package/dist/adminapi/apis/shared-api.js +694 -0
  20. package/dist/adminapi/apis/shared-api.js.map +1 -1
  21. package/dist/adminapi/models/cluster-jar-config.d.ts +61 -0
  22. package/dist/adminapi/models/cluster-jar-config.d.ts.map +1 -0
  23. package/dist/adminapi/models/cluster-jar-config.js +16 -0
  24. package/dist/adminapi/models/cluster-jar-config.js.map +1 -0
  25. package/dist/adminapi/models/cluster-jar-kind.d.ts +22 -0
  26. package/dist/adminapi/models/cluster-jar-kind.d.ts.map +1 -0
  27. package/dist/adminapi/models/cluster-jar-kind.js +26 -0
  28. package/dist/adminapi/models/cluster-jar-kind.js.map +1 -0
  29. package/dist/adminapi/models/cluster-jar-list.d.ts +32 -0
  30. package/dist/adminapi/models/cluster-jar-list.d.ts.map +1 -0
  31. package/dist/adminapi/models/cluster-jar-list.js +16 -0
  32. package/dist/adminapi/models/cluster-jar-list.js.map +1 -0
  33. package/dist/adminapi/models/cluster-jar-package.d.ts +111 -0
  34. package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -0
  35. package/dist/adminapi/models/cluster-jar-package.js +16 -0
  36. package/dist/adminapi/models/cluster-jar-package.js.map +1 -0
  37. package/dist/adminapi/models/cluster-jar-publish.d.ts +25 -0
  38. package/dist/adminapi/models/cluster-jar-publish.d.ts.map +1 -0
  39. package/dist/adminapi/models/cluster-jar-publish.js +16 -0
  40. package/dist/adminapi/models/cluster-jar-publish.js.map +1 -0
  41. package/dist/adminapi/models/cluster-jar-replica.d.ts +61 -0
  42. package/dist/adminapi/models/cluster-jar-replica.d.ts.map +1 -0
  43. package/dist/adminapi/models/cluster-jar-replica.js +16 -0
  44. package/dist/adminapi/models/cluster-jar-replica.js.map +1 -0
  45. package/dist/adminapi/models/cluster-jar-task.d.ts +25 -0
  46. package/dist/adminapi/models/cluster-jar-task.d.ts.map +1 -0
  47. package/dist/adminapi/models/cluster-jar-task.js +16 -0
  48. package/dist/adminapi/models/cluster-jar-task.js.map +1 -0
  49. package/dist/adminapi/models/engine-option-history.d.ts +5 -4
  50. package/dist/adminapi/models/engine-option-history.d.ts.map +1 -1
  51. package/dist/adminapi/models/index.d.ts +7 -0
  52. package/dist/adminapi/models/index.d.ts.map +1 -1
  53. package/dist/adminapi/models/index.js +7 -0
  54. package/dist/adminapi/models/index.js.map +1 -1
  55. package/dist/openapi/api.d.ts +1 -0
  56. package/dist/openapi/api.d.ts.map +1 -1
  57. package/dist/openapi/api.js +1 -0
  58. package/dist/openapi/api.js.map +1 -1
  59. package/dist/openapi/apis/cluster-jar-api.d.ts +702 -0
  60. package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -0
  61. package/dist/openapi/apis/cluster-jar-api.js +758 -0
  62. package/dist/openapi/apis/cluster-jar-api.js.map +1 -0
  63. package/dist/openapi/apis/shared-api.d.ts +654 -0
  64. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  65. package/dist/openapi/apis/shared-api.js +694 -0
  66. package/dist/openapi/apis/shared-api.js.map +1 -1
  67. package/dist/openapi/models/cluster-jar-config.d.ts +61 -0
  68. package/dist/openapi/models/cluster-jar-config.d.ts.map +1 -0
  69. package/dist/openapi/models/cluster-jar-config.js +16 -0
  70. package/dist/openapi/models/cluster-jar-config.js.map +1 -0
  71. package/dist/openapi/models/cluster-jar-kind.d.ts +22 -0
  72. package/dist/openapi/models/cluster-jar-kind.d.ts.map +1 -0
  73. package/dist/openapi/models/cluster-jar-kind.js +26 -0
  74. package/dist/openapi/models/cluster-jar-kind.js.map +1 -0
  75. package/dist/openapi/models/cluster-jar-list.d.ts +32 -0
  76. package/dist/openapi/models/cluster-jar-list.d.ts.map +1 -0
  77. package/dist/openapi/models/cluster-jar-list.js +16 -0
  78. package/dist/openapi/models/cluster-jar-list.js.map +1 -0
  79. package/dist/openapi/models/cluster-jar-package.d.ts +111 -0
  80. package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -0
  81. package/dist/openapi/models/cluster-jar-package.js +16 -0
  82. package/dist/openapi/models/cluster-jar-package.js.map +1 -0
  83. package/dist/openapi/models/cluster-jar-publish.d.ts +25 -0
  84. package/dist/openapi/models/cluster-jar-publish.d.ts.map +1 -0
  85. package/dist/openapi/models/cluster-jar-publish.js +16 -0
  86. package/dist/openapi/models/cluster-jar-publish.js.map +1 -0
  87. package/dist/openapi/models/cluster-jar-replica.d.ts +61 -0
  88. package/dist/openapi/models/cluster-jar-replica.d.ts.map +1 -0
  89. package/dist/openapi/models/cluster-jar-replica.js +16 -0
  90. package/dist/openapi/models/cluster-jar-replica.js.map +1 -0
  91. package/dist/openapi/models/cluster-jar-task.d.ts +25 -0
  92. package/dist/openapi/models/cluster-jar-task.d.ts.map +1 -0
  93. package/dist/openapi/models/cluster-jar-task.js +16 -0
  94. package/dist/openapi/models/cluster-jar-task.js.map +1 -0
  95. package/dist/openapi/models/index.d.ts +7 -0
  96. package/dist/openapi/models/index.d.ts.map +1 -1
  97. package/dist/openapi/models/index.js +7 -0
  98. package/dist/openapi/models/index.js.map +1 -1
  99. package/package.json +1 -1
  100. package/src/adminapi/.openapi-generator/FILES +8 -0
  101. package/src/adminapi/api.ts +1 -0
  102. package/src/adminapi/apis/cluster-jar-api.ts +1211 -0
  103. package/src/adminapi/apis/environment-api.ts +155 -0
  104. package/src/adminapi/apis/parameter-template-api.ts +26 -13
  105. package/src/adminapi/apis/shared-api.ts +1141 -0
  106. package/src/adminapi/models/cluster-jar-config.ts +66 -0
  107. package/src/adminapi/models/cluster-jar-kind.ts +31 -0
  108. package/src/adminapi/models/cluster-jar-list.ts +39 -0
  109. package/src/adminapi/models/cluster-jar-package.ts +122 -0
  110. package/src/adminapi/models/cluster-jar-publish.ts +30 -0
  111. package/src/adminapi/models/cluster-jar-replica.ts +66 -0
  112. package/src/adminapi/models/cluster-jar-task.ts +30 -0
  113. package/src/adminapi/models/engine-option-history.ts +3 -6
  114. package/src/adminapi/models/index.ts +7 -0
  115. package/src/adminapi.yaml +682 -72
  116. package/src/internalapi.yaml +2 -4
  117. package/src/openapi/.openapi-generator/FILES +8 -0
  118. package/src/openapi/api.ts +1 -0
  119. package/src/openapi/apis/cluster-jar-api.ts +1211 -0
  120. package/src/openapi/apis/shared-api.ts +1165 -24
  121. package/src/openapi/models/cluster-jar-config.ts +66 -0
  122. package/src/openapi/models/cluster-jar-kind.ts +31 -0
  123. package/src/openapi/models/cluster-jar-list.ts +39 -0
  124. package/src/openapi/models/cluster-jar-package.ts +122 -0
  125. package/src/openapi/models/cluster-jar-publish.ts +30 -0
  126. package/src/openapi/models/cluster-jar-replica.ts +66 -0
  127. package/src/openapi/models/cluster-jar-task.ts +30 -0
  128. package/src/openapi/models/index.ts +7 -0
  129. package/src/openapi.yaml +606 -65
@@ -279,6 +279,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
279
279
  options: localVarRequestOptions,
280
280
  };
281
281
  },
282
+ /**
283
+ *
284
+ * @summary Archive a JAR while retaining published files and startup synchronization
285
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
286
+ * @param {string} orgName
287
+ * @param {string} clusterName
288
+ * @param {string} jarId
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ */
292
+ archiveClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
293
+ // verify required parameter 'engineName' is not null or undefined
294
+ (0, common_1.assertParamExists)('archiveClusterJar', 'engineName', engineName);
295
+ // verify required parameter 'orgName' is not null or undefined
296
+ (0, common_1.assertParamExists)('archiveClusterJar', 'orgName', orgName);
297
+ // verify required parameter 'clusterName' is not null or undefined
298
+ (0, common_1.assertParamExists)('archiveClusterJar', 'clusterName', clusterName);
299
+ // verify required parameter 'jarId' is not null or undefined
300
+ (0, common_1.assertParamExists)('archiveClusterJar', 'jarId', jarId);
301
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
302
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
303
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
304
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
305
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
306
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
307
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
308
+ let baseOptions;
309
+ if (configuration) {
310
+ baseOptions = configuration.baseOptions;
311
+ }
312
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
313
+ const localVarHeaderParameter = {};
314
+ const localVarQueryParameter = {};
315
+ // authentication BearerToken required
316
+ // http bearer authentication required
317
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
318
+ // authentication DigestAuth required
319
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
320
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
321
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
322
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
323
+ return {
324
+ url: (0, common_1.toPathString)(localVarUrlObj),
325
+ options: localVarRequestOptions,
326
+ };
327
+ },
282
328
  /**
283
329
  * list the service version of the engine
284
330
  * @summary list the service version of the engine
@@ -2205,6 +2251,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
2205
2251
  options: localVarRequestOptions,
2206
2252
  };
2207
2253
  },
2254
+ /**
2255
+ *
2256
+ * @summary Delete an unpublished JAR version
2257
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
2258
+ * @param {string} orgName
2259
+ * @param {string} clusterName
2260
+ * @param {string} jarId
2261
+ * @param {*} [options] Override http request option.
2262
+ * @throws {RequiredError}
2263
+ */
2264
+ deleteClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
2265
+ // verify required parameter 'engineName' is not null or undefined
2266
+ (0, common_1.assertParamExists)('deleteClusterJar', 'engineName', engineName);
2267
+ // verify required parameter 'orgName' is not null or undefined
2268
+ (0, common_1.assertParamExists)('deleteClusterJar', 'orgName', orgName);
2269
+ // verify required parameter 'clusterName' is not null or undefined
2270
+ (0, common_1.assertParamExists)('deleteClusterJar', 'clusterName', clusterName);
2271
+ // verify required parameter 'jarId' is not null or undefined
2272
+ (0, common_1.assertParamExists)('deleteClusterJar', 'jarId', jarId);
2273
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
2274
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
2275
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2276
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2277
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
2278
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2279
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2280
+ let baseOptions;
2281
+ if (configuration) {
2282
+ baseOptions = configuration.baseOptions;
2283
+ }
2284
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2285
+ const localVarHeaderParameter = {};
2286
+ const localVarQueryParameter = {};
2287
+ // authentication BearerToken required
2288
+ // http bearer authentication required
2289
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2290
+ // authentication DigestAuth required
2291
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2292
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2293
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2294
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2295
+ return {
2296
+ url: (0, common_1.toPathString)(localVarUrlObj),
2297
+ options: localVarRequestOptions,
2298
+ };
2299
+ },
2208
2300
  /**
2209
2301
  *
2210
2302
  * @summary delete the datasource
@@ -3437,6 +3529,57 @@ const SharedApiAxiosParamCreator = function (configuration) {
3437
3529
  options: localVarRequestOptions,
3438
3530
  };
3439
3531
  },
3532
+ /**
3533
+ *
3534
+ * @summary Publish a JAR with optimistic manifest version checking
3535
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3536
+ * @param {string} orgName
3537
+ * @param {string} clusterName
3538
+ * @param {string} jarId
3539
+ * @param {ClusterJarPublish} clusterJarPublish
3540
+ * @param {*} [options] Override http request option.
3541
+ * @throws {RequiredError}
3542
+ */
3543
+ distributeClusterJar: async (engineName, orgName, clusterName, jarId, clusterJarPublish, options = {}) => {
3544
+ // verify required parameter 'engineName' is not null or undefined
3545
+ (0, common_1.assertParamExists)('distributeClusterJar', 'engineName', engineName);
3546
+ // verify required parameter 'orgName' is not null or undefined
3547
+ (0, common_1.assertParamExists)('distributeClusterJar', 'orgName', orgName);
3548
+ // verify required parameter 'clusterName' is not null or undefined
3549
+ (0, common_1.assertParamExists)('distributeClusterJar', 'clusterName', clusterName);
3550
+ // verify required parameter 'jarId' is not null or undefined
3551
+ (0, common_1.assertParamExists)('distributeClusterJar', 'jarId', jarId);
3552
+ // verify required parameter 'clusterJarPublish' is not null or undefined
3553
+ (0, common_1.assertParamExists)('distributeClusterJar', 'clusterJarPublish', clusterJarPublish);
3554
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
3555
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3556
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3557
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3558
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3559
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3560
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3561
+ let baseOptions;
3562
+ if (configuration) {
3563
+ baseOptions = configuration.baseOptions;
3564
+ }
3565
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3566
+ const localVarHeaderParameter = {};
3567
+ const localVarQueryParameter = {};
3568
+ // authentication BearerToken required
3569
+ // http bearer authentication required
3570
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3571
+ // authentication DigestAuth required
3572
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3573
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3574
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3575
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3576
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3577
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clusterJarPublish, localVarRequestOptions, configuration);
3578
+ return {
3579
+ url: (0, common_1.toPathString)(localVarUrlObj),
3580
+ options: localVarRequestOptions,
3581
+ };
3582
+ },
3440
3583
  /**
3441
3584
  *
3442
3585
  * @summary Restore current cluster or instance
@@ -3518,6 +3661,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
3518
3661
  options: localVarRequestOptions,
3519
3662
  };
3520
3663
  },
3664
+ /**
3665
+ *
3666
+ * @summary Download the original JAR
3667
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3668
+ * @param {string} orgName
3669
+ * @param {string} clusterName
3670
+ * @param {string} jarId
3671
+ * @param {*} [options] Override http request option.
3672
+ * @throws {RequiredError}
3673
+ */
3674
+ downloadClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
3675
+ // verify required parameter 'engineName' is not null or undefined
3676
+ (0, common_1.assertParamExists)('downloadClusterJar', 'engineName', engineName);
3677
+ // verify required parameter 'orgName' is not null or undefined
3678
+ (0, common_1.assertParamExists)('downloadClusterJar', 'orgName', orgName);
3679
+ // verify required parameter 'clusterName' is not null or undefined
3680
+ (0, common_1.assertParamExists)('downloadClusterJar', 'clusterName', clusterName);
3681
+ // verify required parameter 'jarId' is not null or undefined
3682
+ (0, common_1.assertParamExists)('downloadClusterJar', 'jarId', jarId);
3683
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
3684
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3685
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3686
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3687
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3688
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3689
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3690
+ let baseOptions;
3691
+ if (configuration) {
3692
+ baseOptions = configuration.baseOptions;
3693
+ }
3694
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3695
+ const localVarHeaderParameter = {};
3696
+ const localVarQueryParameter = {};
3697
+ // authentication BearerToken required
3698
+ // http bearer authentication required
3699
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3700
+ // authentication DigestAuth required
3701
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3702
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3703
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3704
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3705
+ return {
3706
+ url: (0, common_1.toPathString)(localVarUrlObj),
3707
+ options: localVarRequestOptions,
3708
+ };
3709
+ },
3521
3710
  /**
3522
3711
  *
3523
3712
  * @summary Download multiple backup files
@@ -4551,6 +4740,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
4551
4740
  options: localVarRequestOptions,
4552
4741
  };
4553
4742
  },
4743
+ /**
4744
+ *
4745
+ * @summary Get external JAR capability and configuration
4746
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
4747
+ * @param {string} orgName
4748
+ * @param {string} clusterName
4749
+ * @param {*} [options] Override http request option.
4750
+ * @throws {RequiredError}
4751
+ */
4752
+ getClusterJarConfig: async (engineName, orgName, clusterName, options = {}) => {
4753
+ // verify required parameter 'engineName' is not null or undefined
4754
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'engineName', engineName);
4755
+ // verify required parameter 'orgName' is not null or undefined
4756
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'orgName', orgName);
4757
+ // verify required parameter 'clusterName' is not null or undefined
4758
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'clusterName', clusterName);
4759
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
4760
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4761
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4762
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4763
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4764
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4765
+ let baseOptions;
4766
+ if (configuration) {
4767
+ baseOptions = configuration.baseOptions;
4768
+ }
4769
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4770
+ const localVarHeaderParameter = {};
4771
+ const localVarQueryParameter = {};
4772
+ // authentication BearerToken required
4773
+ // http bearer authentication required
4774
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4775
+ // authentication DigestAuth required
4776
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4777
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4778
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4779
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4780
+ return {
4781
+ url: (0, common_1.toPathString)(localVarUrlObj),
4782
+ options: localVarRequestOptions,
4783
+ };
4784
+ },
4554
4785
  /**
4555
4786
  *
4556
4787
  * @summary Get cluster parameter template
@@ -7343,6 +7574,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
7343
7574
  options: localVarRequestOptions,
7344
7575
  };
7345
7576
  },
7577
+ /**
7578
+ *
7579
+ * @summary List external JAR versions with metadata and per-instance synchronization state
7580
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
7581
+ * @param {string} orgName
7582
+ * @param {string} clusterName
7583
+ * @param {*} [options] Override http request option.
7584
+ * @throws {RequiredError}
7585
+ */
7586
+ listClusterJars: async (engineName, orgName, clusterName, options = {}) => {
7587
+ // verify required parameter 'engineName' is not null or undefined
7588
+ (0, common_1.assertParamExists)('listClusterJars', 'engineName', engineName);
7589
+ // verify required parameter 'orgName' is not null or undefined
7590
+ (0, common_1.assertParamExists)('listClusterJars', 'orgName', orgName);
7591
+ // verify required parameter 'clusterName' is not null or undefined
7592
+ (0, common_1.assertParamExists)('listClusterJars', 'clusterName', clusterName);
7593
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
7594
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
7595
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
7596
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
7597
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7598
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7599
+ let baseOptions;
7600
+ if (configuration) {
7601
+ baseOptions = configuration.baseOptions;
7602
+ }
7603
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7604
+ const localVarHeaderParameter = {};
7605
+ const localVarQueryParameter = {};
7606
+ // authentication BearerToken required
7607
+ // http bearer authentication required
7608
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7609
+ // authentication DigestAuth required
7610
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
7611
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7612
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7613
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7614
+ return {
7615
+ url: (0, common_1.toPathString)(localVarUrlObj),
7616
+ options: localVarRequestOptions,
7617
+ };
7618
+ },
7346
7619
  /**
7347
7620
  *
7348
7621
  * @summary List restore tasks
@@ -12076,6 +12349,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
12076
12349
  options: localVarRequestOptions,
12077
12350
  };
12078
12351
  },
12352
+ /**
12353
+ *
12354
+ * @summary Retry synchronization of published JARs
12355
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
12356
+ * @param {string} orgName
12357
+ * @param {string} clusterName
12358
+ * @param {string} jarId
12359
+ * @param {*} [options] Override http request option.
12360
+ * @throws {RequiredError}
12361
+ */
12362
+ retryClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
12363
+ // verify required parameter 'engineName' is not null or undefined
12364
+ (0, common_1.assertParamExists)('retryClusterJar', 'engineName', engineName);
12365
+ // verify required parameter 'orgName' is not null or undefined
12366
+ (0, common_1.assertParamExists)('retryClusterJar', 'orgName', orgName);
12367
+ // verify required parameter 'clusterName' is not null or undefined
12368
+ (0, common_1.assertParamExists)('retryClusterJar', 'clusterName', clusterName);
12369
+ // verify required parameter 'jarId' is not null or undefined
12370
+ (0, common_1.assertParamExists)('retryClusterJar', 'jarId', jarId);
12371
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
12372
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
12373
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12374
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
12375
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
12376
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12377
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12378
+ let baseOptions;
12379
+ if (configuration) {
12380
+ baseOptions = configuration.baseOptions;
12381
+ }
12382
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
12383
+ const localVarHeaderParameter = {};
12384
+ const localVarQueryParameter = {};
12385
+ // authentication BearerToken required
12386
+ // http bearer authentication required
12387
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
12388
+ // authentication DigestAuth required
12389
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
12390
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12391
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12392
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12393
+ return {
12394
+ url: (0, common_1.toPathString)(localVarUrlObj),
12395
+ options: localVarRequestOptions,
12396
+ };
12397
+ },
12079
12398
  /**
12080
12399
  *
12081
12400
  * @summary Revoke privileges from a ClickHouse role
@@ -14119,6 +14438,75 @@ const SharedApiAxiosParamCreator = function (configuration) {
14119
14438
  options: localVarRequestOptions,
14120
14439
  };
14121
14440
  },
14441
+ /**
14442
+ *
14443
+ * @summary Upload an immutable JAR version
14444
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
14445
+ * @param {string} orgName
14446
+ * @param {string} clusterName
14447
+ * @param {string} idempotencyKey
14448
+ * @param {string} name
14449
+ * @param {ClusterJarKind} kind
14450
+ * @param {File} file
14451
+ * @param {*} [options] Override http request option.
14452
+ * @throws {RequiredError}
14453
+ */
14454
+ uploadClusterJar: async (engineName, orgName, clusterName, idempotencyKey, name, kind, file, options = {}) => {
14455
+ // verify required parameter 'engineName' is not null or undefined
14456
+ (0, common_1.assertParamExists)('uploadClusterJar', 'engineName', engineName);
14457
+ // verify required parameter 'orgName' is not null or undefined
14458
+ (0, common_1.assertParamExists)('uploadClusterJar', 'orgName', orgName);
14459
+ // verify required parameter 'clusterName' is not null or undefined
14460
+ (0, common_1.assertParamExists)('uploadClusterJar', 'clusterName', clusterName);
14461
+ // verify required parameter 'idempotencyKey' is not null or undefined
14462
+ (0, common_1.assertParamExists)('uploadClusterJar', 'idempotencyKey', idempotencyKey);
14463
+ // verify required parameter 'name' is not null or undefined
14464
+ (0, common_1.assertParamExists)('uploadClusterJar', 'name', name);
14465
+ // verify required parameter 'kind' is not null or undefined
14466
+ (0, common_1.assertParamExists)('uploadClusterJar', 'kind', kind);
14467
+ // verify required parameter 'file' is not null or undefined
14468
+ (0, common_1.assertParamExists)('uploadClusterJar', 'file', file);
14469
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
14470
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
14471
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14472
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
14473
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14474
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14475
+ let baseOptions;
14476
+ if (configuration) {
14477
+ baseOptions = configuration.baseOptions;
14478
+ }
14479
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
14480
+ const localVarHeaderParameter = {};
14481
+ const localVarQueryParameter = {};
14482
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
14483
+ // authentication BearerToken required
14484
+ // http bearer authentication required
14485
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14486
+ // authentication DigestAuth required
14487
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
14488
+ if (name !== undefined) {
14489
+ localVarFormParams.append('name', name);
14490
+ }
14491
+ if (kind !== undefined) {
14492
+ localVarFormParams.append('kind', kind);
14493
+ }
14494
+ if (file !== undefined) {
14495
+ localVarFormParams.append('file', file);
14496
+ }
14497
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
14498
+ if (idempotencyKey != null) {
14499
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
14500
+ }
14501
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14502
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14503
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14504
+ localVarRequestOptions.data = localVarFormParams;
14505
+ return {
14506
+ url: (0, common_1.toPathString)(localVarUrlObj),
14507
+ options: localVarRequestOptions,
14508
+ };
14509
+ },
14122
14510
  /**
14123
14511
  *
14124
14512
  * @summary Validate cluster creation
@@ -14382,6 +14770,23 @@ const SharedApiFp = function (configuration) {
14382
14770
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.alterParameter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14383
14771
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14384
14772
  },
14773
+ /**
14774
+ *
14775
+ * @summary Archive a JAR while retaining published files and startup synchronization
14776
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
14777
+ * @param {string} orgName
14778
+ * @param {string} clusterName
14779
+ * @param {string} jarId
14780
+ * @param {*} [options] Override http request option.
14781
+ * @throws {RequiredError}
14782
+ */
14783
+ async archiveClusterJar(engineName, orgName, clusterName, jarId, options) {
14784
+ var _a, _b, _c;
14785
+ const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
14786
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14787
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.archiveClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14788
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14789
+ },
14385
14790
  /**
14386
14791
  * list the service version of the engine
14387
14792
  * @summary list the service version of the engine
@@ -15103,6 +15508,23 @@ const SharedApiFp = function (configuration) {
15103
15508
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15104
15509
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15105
15510
  },
15511
+ /**
15512
+ *
15513
+ * @summary Delete an unpublished JAR version
15514
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
15515
+ * @param {string} orgName
15516
+ * @param {string} clusterName
15517
+ * @param {string} jarId
15518
+ * @param {*} [options] Override http request option.
15519
+ * @throws {RequiredError}
15520
+ */
15521
+ async deleteClusterJar(engineName, orgName, clusterName, jarId, options) {
15522
+ var _a, _b, _c;
15523
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
15524
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15525
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15526
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15527
+ },
15106
15528
  /**
15107
15529
  *
15108
15530
  * @summary delete the datasource
@@ -15568,6 +15990,24 @@ const SharedApiFp = function (configuration) {
15568
15990
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.disableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15569
15991
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15570
15992
  },
15993
+ /**
15994
+ *
15995
+ * @summary Publish a JAR with optimistic manifest version checking
15996
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
15997
+ * @param {string} orgName
15998
+ * @param {string} clusterName
15999
+ * @param {string} jarId
16000
+ * @param {ClusterJarPublish} clusterJarPublish
16001
+ * @param {*} [options] Override http request option.
16002
+ * @throws {RequiredError}
16003
+ */
16004
+ async distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options) {
16005
+ var _a, _b, _c;
16006
+ const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
16007
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16008
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.distributeClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16009
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16010
+ },
15571
16011
  /**
15572
16012
  *
15573
16013
  * @summary Restore current cluster or instance
@@ -15599,6 +16039,23 @@ const SharedApiFp = function (configuration) {
15599
16039
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.downloadBackup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15600
16040
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15601
16041
  },
16042
+ /**
16043
+ *
16044
+ * @summary Download the original JAR
16045
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
16046
+ * @param {string} orgName
16047
+ * @param {string} clusterName
16048
+ * @param {string} jarId
16049
+ * @param {*} [options] Override http request option.
16050
+ * @throws {RequiredError}
16051
+ */
16052
+ async downloadClusterJar(engineName, orgName, clusterName, jarId, options) {
16053
+ var _a, _b, _c;
16054
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
16055
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16056
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.downloadClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16057
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16058
+ },
15602
16059
  /**
15603
16060
  *
15604
16061
  * @summary Download multiple backup files
@@ -15970,6 +16427,22 @@ const SharedApiFp = function (configuration) {
15970
16427
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getClusterInstanceLog']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15971
16428
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15972
16429
  },
16430
+ /**
16431
+ *
16432
+ * @summary Get external JAR capability and configuration
16433
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
16434
+ * @param {string} orgName
16435
+ * @param {string} clusterName
16436
+ * @param {*} [options] Override http request option.
16437
+ * @throws {RequiredError}
16438
+ */
16439
+ async getClusterJarConfig(engineName, orgName, clusterName, options) {
16440
+ var _a, _b, _c;
16441
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
16442
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16443
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getClusterJarConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16444
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16445
+ },
15973
16446
  /**
15974
16447
  *
15975
16448
  * @summary Get cluster parameter template
@@ -16994,6 +17467,22 @@ const SharedApiFp = function (configuration) {
16994
17467
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16995
17468
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16996
17469
  },
17470
+ /**
17471
+ *
17472
+ * @summary List external JAR versions with metadata and per-instance synchronization state
17473
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
17474
+ * @param {string} orgName
17475
+ * @param {string} clusterName
17476
+ * @param {*} [options] Override http request option.
17477
+ * @throws {RequiredError}
17478
+ */
17479
+ async listClusterJars(engineName, orgName, clusterName, options) {
17480
+ var _a, _b, _c;
17481
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
17482
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17483
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClusterJars']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17484
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17485
+ },
16997
17486
  /**
16998
17487
  *
16999
17488
  * @summary List restore tasks
@@ -18698,6 +19187,23 @@ const SharedApiFp = function (configuration) {
18698
19187
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.restoreRecycleBinCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18699
19188
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18700
19189
  },
19190
+ /**
19191
+ *
19192
+ * @summary Retry synchronization of published JARs
19193
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19194
+ * @param {string} orgName
19195
+ * @param {string} clusterName
19196
+ * @param {string} jarId
19197
+ * @param {*} [options] Override http request option.
19198
+ * @throws {RequiredError}
19199
+ */
19200
+ async retryClusterJar(engineName, orgName, clusterName, jarId, options) {
19201
+ var _a, _b, _c;
19202
+ const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
19203
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19204
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.retryClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19205
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19206
+ },
18701
19207
  /**
18702
19208
  *
18703
19209
  * @summary Revoke privileges from a ClickHouse role
@@ -19448,6 +19954,26 @@ const SharedApiFp = function (configuration) {
19448
19954
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.upgradeCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19449
19955
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19450
19956
  },
19957
+ /**
19958
+ *
19959
+ * @summary Upload an immutable JAR version
19960
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19961
+ * @param {string} orgName
19962
+ * @param {string} clusterName
19963
+ * @param {string} idempotencyKey
19964
+ * @param {string} name
19965
+ * @param {ClusterJarKind} kind
19966
+ * @param {File} file
19967
+ * @param {*} [options] Override http request option.
19968
+ * @throws {RequiredError}
19969
+ */
19970
+ async uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options) {
19971
+ var _a, _b, _c;
19972
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
19973
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19974
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.uploadClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19975
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19976
+ },
19451
19977
  /**
19452
19978
  *
19453
19979
  * @summary Validate cluster creation
@@ -19561,6 +20087,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19561
20087
  alterParameter(requestParameters, options) {
19562
20088
  return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
19563
20089
  },
20090
+ /**
20091
+ *
20092
+ * @summary Archive a JAR while retaining published files and startup synchronization
20093
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
20094
+ * @param {*} [options] Override http request option.
20095
+ * @throws {RequiredError}
20096
+ */
20097
+ archiveClusterJar(requestParameters, options) {
20098
+ return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
20099
+ },
19564
20100
  /**
19565
20101
  * list the service version of the engine
19566
20102
  * @summary list the service version of the engine
@@ -20012,6 +20548,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20012
20548
  deleteCluster(requestParameters, options) {
20013
20549
  return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
20014
20550
  },
20551
+ /**
20552
+ *
20553
+ * @summary Delete an unpublished JAR version
20554
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
20555
+ * @param {*} [options] Override http request option.
20556
+ * @throws {RequiredError}
20557
+ */
20558
+ deleteClusterJar(requestParameters, options) {
20559
+ return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
20560
+ },
20015
20561
  /**
20016
20562
  *
20017
20563
  * @summary delete the datasource
@@ -20302,6 +20848,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20302
20848
  disableConsole(requestParameters, options) {
20303
20849
  return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
20304
20850
  },
20851
+ /**
20852
+ *
20853
+ * @summary Publish a JAR with optimistic manifest version checking
20854
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
20855
+ * @param {*} [options] Override http request option.
20856
+ * @throws {RequiredError}
20857
+ */
20858
+ distributeClusterJar(requestParameters, options) {
20859
+ return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
20860
+ },
20305
20861
  /**
20306
20862
  *
20307
20863
  * @summary Restore current cluster or instance
@@ -20322,6 +20878,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20322
20878
  downloadBackup(requestParameters, options) {
20323
20879
  return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
20324
20880
  },
20881
+ /**
20882
+ *
20883
+ * @summary Download the original JAR
20884
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
20885
+ * @param {*} [options] Override http request option.
20886
+ * @throws {RequiredError}
20887
+ */
20888
+ downloadClusterJar(requestParameters, options) {
20889
+ return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
20890
+ },
20325
20891
  /**
20326
20892
  *
20327
20893
  * @summary Download multiple backup files
@@ -20532,6 +21098,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20532
21098
  getClusterInstanceLog(requestParameters, options) {
20533
21099
  return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
20534
21100
  },
21101
+ /**
21102
+ *
21103
+ * @summary Get external JAR capability and configuration
21104
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
21105
+ * @param {*} [options] Override http request option.
21106
+ * @throws {RequiredError}
21107
+ */
21108
+ getClusterJarConfig(requestParameters, options) {
21109
+ return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
21110
+ },
20535
21111
  /**
20536
21112
  *
20537
21113
  * @summary Get cluster parameter template
@@ -21140,6 +21716,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21140
21716
  listCluster(requestParameters, options) {
21141
21717
  return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
21142
21718
  },
21719
+ /**
21720
+ *
21721
+ * @summary List external JAR versions with metadata and per-instance synchronization state
21722
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
21723
+ * @param {*} [options] Override http request option.
21724
+ * @throws {RequiredError}
21725
+ */
21726
+ listClusterJars(requestParameters, options) {
21727
+ return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
21728
+ },
21143
21729
  /**
21144
21730
  *
21145
21731
  * @summary List restore tasks
@@ -22126,6 +22712,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
22126
22712
  restoreRecycleBinCluster(requestParameters, options) {
22127
22713
  return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
22128
22714
  },
22715
+ /**
22716
+ *
22717
+ * @summary Retry synchronization of published JARs
22718
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
22719
+ * @param {*} [options] Override http request option.
22720
+ * @throws {RequiredError}
22721
+ */
22722
+ retryClusterJar(requestParameters, options) {
22723
+ return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
22724
+ },
22129
22725
  /**
22130
22726
  *
22131
22727
  * @summary Revoke privileges from a ClickHouse role
@@ -22575,6 +23171,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
22575
23171
  upgradeCluster(requestParameters, options) {
22576
23172
  return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
22577
23173
  },
23174
+ /**
23175
+ *
23176
+ * @summary Upload an immutable JAR version
23177
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
23178
+ * @param {*} [options] Override http request option.
23179
+ * @throws {RequiredError}
23180
+ */
23181
+ uploadClusterJar(requestParameters, options) {
23182
+ return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
23183
+ },
22578
23184
  /**
22579
23185
  *
22580
23186
  * @summary Validate cluster creation
@@ -22668,6 +23274,17 @@ class SharedApi extends base_1.BaseAPI {
22668
23274
  alterParameter(requestParameters, options) {
22669
23275
  return (0, exports.SharedApiFp)(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
22670
23276
  }
23277
+ /**
23278
+ *
23279
+ * @summary Archive a JAR while retaining published files and startup synchronization
23280
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
23281
+ * @param {*} [options] Override http request option.
23282
+ * @throws {RequiredError}
23283
+ * @memberof SharedApi
23284
+ */
23285
+ archiveClusterJar(requestParameters, options) {
23286
+ return (0, exports.SharedApiFp)(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
23287
+ }
22671
23288
  /**
22672
23289
  * list the service version of the engine
22673
23290
  * @summary list the service version of the engine
@@ -23164,6 +23781,17 @@ class SharedApi extends base_1.BaseAPI {
23164
23781
  deleteCluster(requestParameters, options) {
23165
23782
  return (0, exports.SharedApiFp)(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
23166
23783
  }
23784
+ /**
23785
+ *
23786
+ * @summary Delete an unpublished JAR version
23787
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
23788
+ * @param {*} [options] Override http request option.
23789
+ * @throws {RequiredError}
23790
+ * @memberof SharedApi
23791
+ */
23792
+ deleteClusterJar(requestParameters, options) {
23793
+ return (0, exports.SharedApiFp)(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
23794
+ }
23167
23795
  /**
23168
23796
  *
23169
23797
  * @summary delete the datasource
@@ -23483,6 +24111,17 @@ class SharedApi extends base_1.BaseAPI {
23483
24111
  disableConsole(requestParameters, options) {
23484
24112
  return (0, exports.SharedApiFp)(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
23485
24113
  }
24114
+ /**
24115
+ *
24116
+ * @summary Publish a JAR with optimistic manifest version checking
24117
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
24118
+ * @param {*} [options] Override http request option.
24119
+ * @throws {RequiredError}
24120
+ * @memberof SharedApi
24121
+ */
24122
+ distributeClusterJar(requestParameters, options) {
24123
+ return (0, exports.SharedApiFp)(this.configuration).distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(this.axios, this.basePath));
24124
+ }
23486
24125
  /**
23487
24126
  *
23488
24127
  * @summary Restore current cluster or instance
@@ -23505,6 +24144,17 @@ class SharedApi extends base_1.BaseAPI {
23505
24144
  downloadBackup(requestParameters, options) {
23506
24145
  return (0, exports.SharedApiFp)(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
23507
24146
  }
24147
+ /**
24148
+ *
24149
+ * @summary Download the original JAR
24150
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
24151
+ * @param {*} [options] Override http request option.
24152
+ * @throws {RequiredError}
24153
+ * @memberof SharedApi
24154
+ */
24155
+ downloadClusterJar(requestParameters, options) {
24156
+ return (0, exports.SharedApiFp)(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
24157
+ }
23508
24158
  /**
23509
24159
  *
23510
24160
  * @summary Download multiple backup files
@@ -23736,6 +24386,17 @@ class SharedApi extends base_1.BaseAPI {
23736
24386
  getClusterInstanceLog(requestParameters, options) {
23737
24387
  return (0, exports.SharedApiFp)(this.configuration).getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(this.axios, this.basePath));
23738
24388
  }
24389
+ /**
24390
+ *
24391
+ * @summary Get external JAR capability and configuration
24392
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
24393
+ * @param {*} [options] Override http request option.
24394
+ * @throws {RequiredError}
24395
+ * @memberof SharedApi
24396
+ */
24397
+ getClusterJarConfig(requestParameters, options) {
24398
+ return (0, exports.SharedApiFp)(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
24399
+ }
23739
24400
  /**
23740
24401
  *
23741
24402
  * @summary Get cluster parameter template
@@ -24405,6 +25066,17 @@ class SharedApi extends base_1.BaseAPI {
24405
25066
  listCluster(requestParameters, options) {
24406
25067
  return (0, exports.SharedApiFp)(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
24407
25068
  }
25069
+ /**
25070
+ *
25071
+ * @summary List external JAR versions with metadata and per-instance synchronization state
25072
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
25073
+ * @param {*} [options] Override http request option.
25074
+ * @throws {RequiredError}
25075
+ * @memberof SharedApi
25076
+ */
25077
+ listClusterJars(requestParameters, options) {
25078
+ return (0, exports.SharedApiFp)(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
25079
+ }
24408
25080
  /**
24409
25081
  *
24410
25082
  * @summary List restore tasks
@@ -25490,6 +26162,17 @@ class SharedApi extends base_1.BaseAPI {
25490
26162
  restoreRecycleBinCluster(requestParameters, options) {
25491
26163
  return (0, exports.SharedApiFp)(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
25492
26164
  }
26165
+ /**
26166
+ *
26167
+ * @summary Retry synchronization of published JARs
26168
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
26169
+ * @param {*} [options] Override http request option.
26170
+ * @throws {RequiredError}
26171
+ * @memberof SharedApi
26172
+ */
26173
+ retryClusterJar(requestParameters, options) {
26174
+ return (0, exports.SharedApiFp)(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
26175
+ }
25493
26176
  /**
25494
26177
  *
25495
26178
  * @summary Revoke privileges from a ClickHouse role
@@ -25984,6 +26667,17 @@ class SharedApi extends base_1.BaseAPI {
25984
26667
  upgradeCluster(requestParameters, options) {
25985
26668
  return (0, exports.SharedApiFp)(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
25986
26669
  }
26670
+ /**
26671
+ *
26672
+ * @summary Upload an immutable JAR version
26673
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
26674
+ * @param {*} [options] Override http request option.
26675
+ * @throws {RequiredError}
26676
+ * @memberof SharedApi
26677
+ */
26678
+ uploadClusterJar(requestParameters, options) {
26679
+ return (0, exports.SharedApiFp)(this.configuration).uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
26680
+ }
25987
26681
  /**
25988
26682
  *
25989
26683
  * @summary Validate cluster creation