kb-cloud-client-typescript 2.2.131 → 2.2.133

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 (201) hide show
  1. package/dist/adminapi/api.d.ts +2 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +2 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/cluster-jar-api.d.ts +623 -0
  6. package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -0
  7. package/dist/adminapi/apis/cluster-jar-api.js +674 -0
  8. package/dist/adminapi/apis/cluster-jar-api.js.map +1 -0
  9. package/dist/adminapi/apis/compute-group-api.d.ts +947 -0
  10. package/dist/adminapi/apis/compute-group-api.d.ts.map +1 -0
  11. package/dist/adminapi/apis/compute-group-api.js +1005 -0
  12. package/dist/adminapi/apis/compute-group-api.js.map +1 -0
  13. package/dist/adminapi/apis/shared-api.d.ts +575 -0
  14. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/shared-api.js +610 -0
  16. package/dist/adminapi/apis/shared-api.js.map +1 -1
  17. package/dist/adminapi/models/cluster-jar-config.d.ts +61 -0
  18. package/dist/adminapi/models/cluster-jar-config.d.ts.map +1 -0
  19. package/dist/adminapi/models/cluster-jar-config.js +16 -0
  20. package/dist/adminapi/models/cluster-jar-config.js.map +1 -0
  21. package/dist/adminapi/models/cluster-jar-kind.d.ts +22 -0
  22. package/dist/adminapi/models/cluster-jar-kind.d.ts.map +1 -0
  23. package/dist/adminapi/models/cluster-jar-kind.js +26 -0
  24. package/dist/adminapi/models/cluster-jar-kind.js.map +1 -0
  25. package/dist/adminapi/models/cluster-jar-list.d.ts +32 -0
  26. package/dist/adminapi/models/cluster-jar-list.d.ts.map +1 -0
  27. package/dist/adminapi/models/cluster-jar-list.js +16 -0
  28. package/dist/adminapi/models/cluster-jar-list.js.map +1 -0
  29. package/dist/adminapi/models/cluster-jar-package.d.ts +105 -0
  30. package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -0
  31. package/dist/adminapi/models/cluster-jar-package.js +16 -0
  32. package/dist/adminapi/models/cluster-jar-package.js.map +1 -0
  33. package/dist/adminapi/models/cluster-jar-publish.d.ts +25 -0
  34. package/dist/adminapi/models/cluster-jar-publish.d.ts.map +1 -0
  35. package/dist/adminapi/models/cluster-jar-publish.js +16 -0
  36. package/dist/adminapi/models/cluster-jar-publish.js.map +1 -0
  37. package/dist/adminapi/models/cluster-jar-replica.d.ts +61 -0
  38. package/dist/adminapi/models/cluster-jar-replica.d.ts.map +1 -0
  39. package/dist/adminapi/models/cluster-jar-replica.js +16 -0
  40. package/dist/adminapi/models/cluster-jar-replica.js.map +1 -0
  41. package/dist/adminapi/models/cluster-jar-task.d.ts +25 -0
  42. package/dist/adminapi/models/cluster-jar-task.d.ts.map +1 -0
  43. package/dist/adminapi/models/cluster-jar-task.js +16 -0
  44. package/dist/adminapi/models/cluster-jar-task.js.map +1 -0
  45. package/dist/adminapi/models/compute-group-account-list.d.ts +26 -0
  46. package/dist/adminapi/models/compute-group-account-list.d.ts.map +1 -0
  47. package/dist/adminapi/models/compute-group-account-list.js +16 -0
  48. package/dist/adminapi/models/compute-group-account-list.js.map +1 -0
  49. package/dist/adminapi/models/compute-group-account.d.ts +61 -0
  50. package/dist/adminapi/models/compute-group-account.d.ts.map +1 -0
  51. package/dist/adminapi/models/compute-group-account.js +16 -0
  52. package/dist/adminapi/models/compute-group-account.js.map +1 -0
  53. package/dist/adminapi/models/compute-group-backend.d.ts +73 -0
  54. package/dist/adminapi/models/compute-group-backend.d.ts.map +1 -0
  55. package/dist/adminapi/models/compute-group-backend.js +16 -0
  56. package/dist/adminapi/models/compute-group-backend.js.map +1 -0
  57. package/dist/adminapi/models/compute-group-create.d.ts +37 -0
  58. package/dist/adminapi/models/compute-group-create.d.ts.map +1 -0
  59. package/dist/adminapi/models/compute-group-create.js +16 -0
  60. package/dist/adminapi/models/compute-group-create.js.map +1 -0
  61. package/dist/adminapi/models/compute-group-list.d.ts +38 -0
  62. package/dist/adminapi/models/compute-group-list.d.ts.map +1 -0
  63. package/dist/adminapi/models/compute-group-list.js +16 -0
  64. package/dist/adminapi/models/compute-group-list.js.map +1 -0
  65. package/dist/adminapi/models/compute-group-scale.d.ts +31 -0
  66. package/dist/adminapi/models/compute-group-scale.d.ts.map +1 -0
  67. package/dist/adminapi/models/compute-group-scale.js +16 -0
  68. package/dist/adminapi/models/compute-group-scale.js.map +1 -0
  69. package/dist/adminapi/models/compute-group.d.ts +110 -0
  70. package/dist/adminapi/models/compute-group.d.ts.map +1 -0
  71. package/dist/adminapi/models/compute-group.js +16 -0
  72. package/dist/adminapi/models/compute-group.js.map +1 -0
  73. package/dist/adminapi/models/index.d.ts +14 -0
  74. package/dist/adminapi/models/index.d.ts.map +1 -1
  75. package/dist/adminapi/models/index.js +14 -0
  76. package/dist/adminapi/models/index.js.map +1 -1
  77. package/dist/adminapi/models/mode-object-storage-additional-helm-value-path.d.ts +18 -0
  78. package/dist/adminapi/models/mode-object-storage-additional-helm-value-path.d.ts.map +1 -1
  79. package/dist/openapi/api.d.ts +2 -0
  80. package/dist/openapi/api.d.ts.map +1 -1
  81. package/dist/openapi/api.js +2 -0
  82. package/dist/openapi/api.js.map +1 -1
  83. package/dist/openapi/apis/cluster-jar-api.d.ts +623 -0
  84. package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -0
  85. package/dist/openapi/apis/cluster-jar-api.js +674 -0
  86. package/dist/openapi/apis/cluster-jar-api.js.map +1 -0
  87. package/dist/openapi/apis/compute-group-api.d.ts +947 -0
  88. package/dist/openapi/apis/compute-group-api.d.ts.map +1 -0
  89. package/dist/openapi/apis/compute-group-api.js +1005 -0
  90. package/dist/openapi/apis/compute-group-api.js.map +1 -0
  91. package/dist/openapi/apis/shared-api.d.ts +575 -0
  92. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  93. package/dist/openapi/apis/shared-api.js +610 -0
  94. package/dist/openapi/apis/shared-api.js.map +1 -1
  95. package/dist/openapi/models/cluster-jar-config.d.ts +61 -0
  96. package/dist/openapi/models/cluster-jar-config.d.ts.map +1 -0
  97. package/dist/openapi/models/cluster-jar-config.js +16 -0
  98. package/dist/openapi/models/cluster-jar-config.js.map +1 -0
  99. package/dist/openapi/models/cluster-jar-kind.d.ts +22 -0
  100. package/dist/openapi/models/cluster-jar-kind.d.ts.map +1 -0
  101. package/dist/openapi/models/cluster-jar-kind.js +26 -0
  102. package/dist/openapi/models/cluster-jar-kind.js.map +1 -0
  103. package/dist/openapi/models/cluster-jar-list.d.ts +32 -0
  104. package/dist/openapi/models/cluster-jar-list.d.ts.map +1 -0
  105. package/dist/openapi/models/cluster-jar-list.js +16 -0
  106. package/dist/openapi/models/cluster-jar-list.js.map +1 -0
  107. package/dist/openapi/models/cluster-jar-package.d.ts +105 -0
  108. package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -0
  109. package/dist/openapi/models/cluster-jar-package.js +16 -0
  110. package/dist/openapi/models/cluster-jar-package.js.map +1 -0
  111. package/dist/openapi/models/cluster-jar-publish.d.ts +25 -0
  112. package/dist/openapi/models/cluster-jar-publish.d.ts.map +1 -0
  113. package/dist/openapi/models/cluster-jar-publish.js +16 -0
  114. package/dist/openapi/models/cluster-jar-publish.js.map +1 -0
  115. package/dist/openapi/models/cluster-jar-replica.d.ts +61 -0
  116. package/dist/openapi/models/cluster-jar-replica.d.ts.map +1 -0
  117. package/dist/openapi/models/cluster-jar-replica.js +16 -0
  118. package/dist/openapi/models/cluster-jar-replica.js.map +1 -0
  119. package/dist/openapi/models/cluster-jar-task.d.ts +25 -0
  120. package/dist/openapi/models/cluster-jar-task.d.ts.map +1 -0
  121. package/dist/openapi/models/cluster-jar-task.js +16 -0
  122. package/dist/openapi/models/cluster-jar-task.js.map +1 -0
  123. package/dist/openapi/models/compute-group-account-list.d.ts +26 -0
  124. package/dist/openapi/models/compute-group-account-list.d.ts.map +1 -0
  125. package/dist/openapi/models/compute-group-account-list.js +16 -0
  126. package/dist/openapi/models/compute-group-account-list.js.map +1 -0
  127. package/dist/openapi/models/compute-group-account.d.ts +61 -0
  128. package/dist/openapi/models/compute-group-account.d.ts.map +1 -0
  129. package/dist/openapi/models/compute-group-account.js +16 -0
  130. package/dist/openapi/models/compute-group-account.js.map +1 -0
  131. package/dist/openapi/models/compute-group-backend.d.ts +73 -0
  132. package/dist/openapi/models/compute-group-backend.d.ts.map +1 -0
  133. package/dist/openapi/models/compute-group-backend.js +16 -0
  134. package/dist/openapi/models/compute-group-backend.js.map +1 -0
  135. package/dist/openapi/models/compute-group-create.d.ts +37 -0
  136. package/dist/openapi/models/compute-group-create.d.ts.map +1 -0
  137. package/dist/openapi/models/compute-group-create.js +16 -0
  138. package/dist/openapi/models/compute-group-create.js.map +1 -0
  139. package/dist/openapi/models/compute-group-list.d.ts +38 -0
  140. package/dist/openapi/models/compute-group-list.d.ts.map +1 -0
  141. package/dist/openapi/models/compute-group-list.js +16 -0
  142. package/dist/openapi/models/compute-group-list.js.map +1 -0
  143. package/dist/openapi/models/compute-group-scale.d.ts +31 -0
  144. package/dist/openapi/models/compute-group-scale.d.ts.map +1 -0
  145. package/dist/openapi/models/compute-group-scale.js +16 -0
  146. package/dist/openapi/models/compute-group-scale.js.map +1 -0
  147. package/dist/openapi/models/compute-group.d.ts +110 -0
  148. package/dist/openapi/models/compute-group.d.ts.map +1 -0
  149. package/dist/openapi/models/compute-group.js +16 -0
  150. package/dist/openapi/models/compute-group.js.map +1 -0
  151. package/dist/openapi/models/index.d.ts +14 -0
  152. package/dist/openapi/models/index.d.ts.map +1 -1
  153. package/dist/openapi/models/index.js +14 -0
  154. package/dist/openapi/models/index.js.map +1 -1
  155. package/dist/openapi/models/mode-object-storage-additional-helm-value-path.d.ts +18 -0
  156. package/dist/openapi/models/mode-object-storage-additional-helm-value-path.d.ts.map +1 -1
  157. package/package.json +1 -1
  158. package/src/adminapi/.openapi-generator/FILES +16 -0
  159. package/src/adminapi/api.ts +2 -0
  160. package/src/adminapi/apis/cluster-jar-api.ts +1075 -0
  161. package/src/adminapi/apis/compute-group-api.ts +1618 -0
  162. package/src/adminapi/apis/shared-api.ts +1005 -0
  163. package/src/adminapi/models/cluster-jar-config.ts +66 -0
  164. package/src/adminapi/models/cluster-jar-kind.ts +31 -0
  165. package/src/adminapi/models/cluster-jar-list.ts +39 -0
  166. package/src/adminapi/models/cluster-jar-package.ts +116 -0
  167. package/src/adminapi/models/cluster-jar-publish.ts +30 -0
  168. package/src/adminapi/models/cluster-jar-replica.ts +66 -0
  169. package/src/adminapi/models/cluster-jar-task.ts +30 -0
  170. package/src/adminapi/models/compute-group-account-list.ts +33 -0
  171. package/src/adminapi/models/compute-group-account.ts +66 -0
  172. package/src/adminapi/models/compute-group-backend.ts +78 -0
  173. package/src/adminapi/models/compute-group-create.ts +42 -0
  174. package/src/adminapi/models/compute-group-list.ts +45 -0
  175. package/src/adminapi/models/compute-group-scale.ts +36 -0
  176. package/src/adminapi/models/compute-group.ts +117 -0
  177. package/src/adminapi/models/index.ts +14 -0
  178. package/src/adminapi/models/mode-object-storage-additional-helm-value-path.ts +18 -0
  179. package/src/adminapi.yaml +1178 -15
  180. package/src/openapi/.openapi-generator/FILES +16 -0
  181. package/src/openapi/api.ts +2 -0
  182. package/src/openapi/apis/cluster-jar-api.ts +1075 -0
  183. package/src/openapi/apis/compute-group-api.ts +1618 -0
  184. package/src/openapi/apis/shared-api.ts +1047 -42
  185. package/src/openapi/models/cluster-jar-config.ts +66 -0
  186. package/src/openapi/models/cluster-jar-kind.ts +31 -0
  187. package/src/openapi/models/cluster-jar-list.ts +39 -0
  188. package/src/openapi/models/cluster-jar-package.ts +116 -0
  189. package/src/openapi/models/cluster-jar-publish.ts +30 -0
  190. package/src/openapi/models/cluster-jar-replica.ts +66 -0
  191. package/src/openapi/models/cluster-jar-task.ts +30 -0
  192. package/src/openapi/models/compute-group-account-list.ts +33 -0
  193. package/src/openapi/models/compute-group-account.ts +66 -0
  194. package/src/openapi/models/compute-group-backend.ts +78 -0
  195. package/src/openapi/models/compute-group-create.ts +42 -0
  196. package/src/openapi/models/compute-group-list.ts +45 -0
  197. package/src/openapi/models/compute-group-scale.ts +36 -0
  198. package/src/openapi/models/compute-group.ts +117 -0
  199. package/src/openapi/models/index.ts +14 -0
  200. package/src/openapi/models/mode-object-storage-additional-helm-value-path.ts +18 -0
  201. package/src/openapi.yaml +5416 -4253
@@ -1986,6 +1986,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
1986
1986
  options: localVarRequestOptions,
1987
1987
  };
1988
1988
  },
1989
+ /**
1990
+ *
1991
+ * @summary Delete an unpublished JAR version
1992
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
1993
+ * @param {string} orgName
1994
+ * @param {string} clusterName
1995
+ * @param {string} jarId
1996
+ * @param {*} [options] Override http request option.
1997
+ * @throws {RequiredError}
1998
+ */
1999
+ deleteClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
2000
+ // verify required parameter 'engineName' is not null or undefined
2001
+ (0, common_1.assertParamExists)('deleteClusterJar', 'engineName', engineName);
2002
+ // verify required parameter 'orgName' is not null or undefined
2003
+ (0, common_1.assertParamExists)('deleteClusterJar', 'orgName', orgName);
2004
+ // verify required parameter 'clusterName' is not null or undefined
2005
+ (0, common_1.assertParamExists)('deleteClusterJar', 'clusterName', clusterName);
2006
+ // verify required parameter 'jarId' is not null or undefined
2007
+ (0, common_1.assertParamExists)('deleteClusterJar', 'jarId', jarId);
2008
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
2009
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
2010
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2011
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2012
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
2013
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2014
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2015
+ let baseOptions;
2016
+ if (configuration) {
2017
+ baseOptions = configuration.baseOptions;
2018
+ }
2019
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2020
+ const localVarHeaderParameter = {};
2021
+ const localVarQueryParameter = {};
2022
+ // authentication BearerToken required
2023
+ // http bearer authentication required
2024
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2025
+ // authentication DigestAuth required
2026
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2027
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2028
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2029
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2030
+ return {
2031
+ url: (0, common_1.toPathString)(localVarUrlObj),
2032
+ options: localVarRequestOptions,
2033
+ };
2034
+ },
1989
2035
  /**
1990
2036
  *
1991
2037
  * @summary delete the datasource
@@ -3218,6 +3264,57 @@ const SharedApiAxiosParamCreator = function (configuration) {
3218
3264
  options: localVarRequestOptions,
3219
3265
  };
3220
3266
  },
3267
+ /**
3268
+ *
3269
+ * @summary Publish a JAR with optimistic manifest version checking
3270
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3271
+ * @param {string} orgName
3272
+ * @param {string} clusterName
3273
+ * @param {string} jarId
3274
+ * @param {ClusterJarPublish} clusterJarPublish
3275
+ * @param {*} [options] Override http request option.
3276
+ * @throws {RequiredError}
3277
+ */
3278
+ distributeClusterJar: async (engineName, orgName, clusterName, jarId, clusterJarPublish, options = {}) => {
3279
+ // verify required parameter 'engineName' is not null or undefined
3280
+ (0, common_1.assertParamExists)('distributeClusterJar', 'engineName', engineName);
3281
+ // verify required parameter 'orgName' is not null or undefined
3282
+ (0, common_1.assertParamExists)('distributeClusterJar', 'orgName', orgName);
3283
+ // verify required parameter 'clusterName' is not null or undefined
3284
+ (0, common_1.assertParamExists)('distributeClusterJar', 'clusterName', clusterName);
3285
+ // verify required parameter 'jarId' is not null or undefined
3286
+ (0, common_1.assertParamExists)('distributeClusterJar', 'jarId', jarId);
3287
+ // verify required parameter 'clusterJarPublish' is not null or undefined
3288
+ (0, common_1.assertParamExists)('distributeClusterJar', 'clusterJarPublish', clusterJarPublish);
3289
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
3290
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3291
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3292
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3293
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3294
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3295
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3296
+ let baseOptions;
3297
+ if (configuration) {
3298
+ baseOptions = configuration.baseOptions;
3299
+ }
3300
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3301
+ const localVarHeaderParameter = {};
3302
+ const localVarQueryParameter = {};
3303
+ // authentication BearerToken required
3304
+ // http bearer authentication required
3305
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3306
+ // authentication DigestAuth required
3307
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3308
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3309
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3310
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3311
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3312
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clusterJarPublish, localVarRequestOptions, configuration);
3313
+ return {
3314
+ url: (0, common_1.toPathString)(localVarUrlObj),
3315
+ options: localVarRequestOptions,
3316
+ };
3317
+ },
3221
3318
  /**
3222
3319
  *
3223
3320
  * @summary Restore current cluster or instance
@@ -3299,6 +3396,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
3299
3396
  options: localVarRequestOptions,
3300
3397
  };
3301
3398
  },
3399
+ /**
3400
+ *
3401
+ * @summary Download the original JAR
3402
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3403
+ * @param {string} orgName
3404
+ * @param {string} clusterName
3405
+ * @param {string} jarId
3406
+ * @param {*} [options] Override http request option.
3407
+ * @throws {RequiredError}
3408
+ */
3409
+ downloadClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
3410
+ // verify required parameter 'engineName' is not null or undefined
3411
+ (0, common_1.assertParamExists)('downloadClusterJar', 'engineName', engineName);
3412
+ // verify required parameter 'orgName' is not null or undefined
3413
+ (0, common_1.assertParamExists)('downloadClusterJar', 'orgName', orgName);
3414
+ // verify required parameter 'clusterName' is not null or undefined
3415
+ (0, common_1.assertParamExists)('downloadClusterJar', 'clusterName', clusterName);
3416
+ // verify required parameter 'jarId' is not null or undefined
3417
+ (0, common_1.assertParamExists)('downloadClusterJar', 'jarId', jarId);
3418
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
3419
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3420
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3421
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3422
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3423
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3424
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3425
+ let baseOptions;
3426
+ if (configuration) {
3427
+ baseOptions = configuration.baseOptions;
3428
+ }
3429
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3430
+ const localVarHeaderParameter = {};
3431
+ const localVarQueryParameter = {};
3432
+ // authentication BearerToken required
3433
+ // http bearer authentication required
3434
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3435
+ // authentication DigestAuth required
3436
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3437
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3438
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3439
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3440
+ return {
3441
+ url: (0, common_1.toPathString)(localVarUrlObj),
3442
+ options: localVarRequestOptions,
3443
+ };
3444
+ },
3302
3445
  /**
3303
3446
  *
3304
3447
  * @summary Download multiple backup files
@@ -4231,6 +4374,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
4231
4374
  options: localVarRequestOptions,
4232
4375
  };
4233
4376
  },
4377
+ /**
4378
+ *
4379
+ * @summary Get external JAR capability and configuration
4380
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
4381
+ * @param {string} orgName
4382
+ * @param {string} clusterName
4383
+ * @param {*} [options] Override http request option.
4384
+ * @throws {RequiredError}
4385
+ */
4386
+ getClusterJarConfig: async (engineName, orgName, clusterName, options = {}) => {
4387
+ // verify required parameter 'engineName' is not null or undefined
4388
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'engineName', engineName);
4389
+ // verify required parameter 'orgName' is not null or undefined
4390
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'orgName', orgName);
4391
+ // verify required parameter 'clusterName' is not null or undefined
4392
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'clusterName', clusterName);
4393
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
4394
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4395
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4396
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4397
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4398
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4399
+ let baseOptions;
4400
+ if (configuration) {
4401
+ baseOptions = configuration.baseOptions;
4402
+ }
4403
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4404
+ const localVarHeaderParameter = {};
4405
+ const localVarQueryParameter = {};
4406
+ // authentication BearerToken required
4407
+ // http bearer authentication required
4408
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4409
+ // authentication DigestAuth required
4410
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4411
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4412
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4413
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4414
+ return {
4415
+ url: (0, common_1.toPathString)(localVarUrlObj),
4416
+ options: localVarRequestOptions,
4417
+ };
4418
+ },
4234
4419
  /**
4235
4420
  *
4236
4421
  * @summary Get cluster parameter template
@@ -6380,6 +6565,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
6380
6565
  options: localVarRequestOptions,
6381
6566
  };
6382
6567
  },
6568
+ /**
6569
+ *
6570
+ * @summary List external JAR versions with metadata and per-instance synchronization state
6571
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
6572
+ * @param {string} orgName
6573
+ * @param {string} clusterName
6574
+ * @param {*} [options] Override http request option.
6575
+ * @throws {RequiredError}
6576
+ */
6577
+ listClusterJars: async (engineName, orgName, clusterName, options = {}) => {
6578
+ // verify required parameter 'engineName' is not null or undefined
6579
+ (0, common_1.assertParamExists)('listClusterJars', 'engineName', engineName);
6580
+ // verify required parameter 'orgName' is not null or undefined
6581
+ (0, common_1.assertParamExists)('listClusterJars', 'orgName', orgName);
6582
+ // verify required parameter 'clusterName' is not null or undefined
6583
+ (0, common_1.assertParamExists)('listClusterJars', 'clusterName', clusterName);
6584
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
6585
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6586
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6587
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6588
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6589
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6590
+ let baseOptions;
6591
+ if (configuration) {
6592
+ baseOptions = configuration.baseOptions;
6593
+ }
6594
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6595
+ const localVarHeaderParameter = {};
6596
+ const localVarQueryParameter = {};
6597
+ // authentication BearerToken required
6598
+ // http bearer authentication required
6599
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6600
+ // authentication DigestAuth required
6601
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
6602
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6603
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6604
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6605
+ return {
6606
+ url: (0, common_1.toPathString)(localVarUrlObj),
6607
+ options: localVarRequestOptions,
6608
+ };
6609
+ },
6383
6610
  /**
6384
6611
  *
6385
6612
  * @summary List restore tasks
@@ -10152,6 +10379,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
10152
10379
  options: localVarRequestOptions,
10153
10380
  };
10154
10381
  },
10382
+ /**
10383
+ *
10384
+ * @summary Retry synchronization of published JARs
10385
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
10386
+ * @param {string} orgName
10387
+ * @param {string} clusterName
10388
+ * @param {string} jarId
10389
+ * @param {*} [options] Override http request option.
10390
+ * @throws {RequiredError}
10391
+ */
10392
+ retryClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
10393
+ // verify required parameter 'engineName' is not null or undefined
10394
+ (0, common_1.assertParamExists)('retryClusterJar', 'engineName', engineName);
10395
+ // verify required parameter 'orgName' is not null or undefined
10396
+ (0, common_1.assertParamExists)('retryClusterJar', 'orgName', orgName);
10397
+ // verify required parameter 'clusterName' is not null or undefined
10398
+ (0, common_1.assertParamExists)('retryClusterJar', 'clusterName', clusterName);
10399
+ // verify required parameter 'jarId' is not null or undefined
10400
+ (0, common_1.assertParamExists)('retryClusterJar', 'jarId', jarId);
10401
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
10402
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
10403
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10404
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10405
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
10406
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10407
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10408
+ let baseOptions;
10409
+ if (configuration) {
10410
+ baseOptions = configuration.baseOptions;
10411
+ }
10412
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
10413
+ const localVarHeaderParameter = {};
10414
+ const localVarQueryParameter = {};
10415
+ // authentication BearerToken required
10416
+ // http bearer authentication required
10417
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
10418
+ // authentication DigestAuth required
10419
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
10420
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10421
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10422
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10423
+ return {
10424
+ url: (0, common_1.toPathString)(localVarUrlObj),
10425
+ options: localVarRequestOptions,
10426
+ };
10427
+ },
10155
10428
  /**
10156
10429
  *
10157
10430
  * @summary Set alert config
@@ -12042,6 +12315,75 @@ const SharedApiAxiosParamCreator = function (configuration) {
12042
12315
  options: localVarRequestOptions,
12043
12316
  };
12044
12317
  },
12318
+ /**
12319
+ *
12320
+ * @summary Upload an immutable JAR version
12321
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
12322
+ * @param {string} orgName
12323
+ * @param {string} clusterName
12324
+ * @param {string} idempotencyKey
12325
+ * @param {string} name
12326
+ * @param {ClusterJarKind} kind
12327
+ * @param {File} file
12328
+ * @param {*} [options] Override http request option.
12329
+ * @throws {RequiredError}
12330
+ */
12331
+ uploadClusterJar: async (engineName, orgName, clusterName, idempotencyKey, name, kind, file, options = {}) => {
12332
+ // verify required parameter 'engineName' is not null or undefined
12333
+ (0, common_1.assertParamExists)('uploadClusterJar', 'engineName', engineName);
12334
+ // verify required parameter 'orgName' is not null or undefined
12335
+ (0, common_1.assertParamExists)('uploadClusterJar', 'orgName', orgName);
12336
+ // verify required parameter 'clusterName' is not null or undefined
12337
+ (0, common_1.assertParamExists)('uploadClusterJar', 'clusterName', clusterName);
12338
+ // verify required parameter 'idempotencyKey' is not null or undefined
12339
+ (0, common_1.assertParamExists)('uploadClusterJar', 'idempotencyKey', idempotencyKey);
12340
+ // verify required parameter 'name' is not null or undefined
12341
+ (0, common_1.assertParamExists)('uploadClusterJar', 'name', name);
12342
+ // verify required parameter 'kind' is not null or undefined
12343
+ (0, common_1.assertParamExists)('uploadClusterJar', 'kind', kind);
12344
+ // verify required parameter 'file' is not null or undefined
12345
+ (0, common_1.assertParamExists)('uploadClusterJar', 'file', file);
12346
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
12347
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
12348
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12349
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
12350
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12351
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12352
+ let baseOptions;
12353
+ if (configuration) {
12354
+ baseOptions = configuration.baseOptions;
12355
+ }
12356
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
12357
+ const localVarHeaderParameter = {};
12358
+ const localVarQueryParameter = {};
12359
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
12360
+ // authentication BearerToken required
12361
+ // http bearer authentication required
12362
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
12363
+ // authentication DigestAuth required
12364
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
12365
+ if (name !== undefined) {
12366
+ localVarFormParams.append('name', name);
12367
+ }
12368
+ if (kind !== undefined) {
12369
+ localVarFormParams.append('kind', kind);
12370
+ }
12371
+ if (file !== undefined) {
12372
+ localVarFormParams.append('file', file);
12373
+ }
12374
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
12375
+ if (idempotencyKey != null) {
12376
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
12377
+ }
12378
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12379
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12380
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12381
+ localVarRequestOptions.data = localVarFormParams;
12382
+ return {
12383
+ url: (0, common_1.toPathString)(localVarUrlObj),
12384
+ options: localVarRequestOptions,
12385
+ };
12386
+ },
12045
12387
  /**
12046
12388
  *
12047
12389
  * @summary Validate cluster creation
@@ -12897,6 +13239,23 @@ const SharedApiFp = function (configuration) {
12897
13239
  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;
12898
13240
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12899
13241
  },
13242
+ /**
13243
+ *
13244
+ * @summary Delete an unpublished JAR version
13245
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
13246
+ * @param {string} orgName
13247
+ * @param {string} clusterName
13248
+ * @param {string} jarId
13249
+ * @param {*} [options] Override http request option.
13250
+ * @throws {RequiredError}
13251
+ */
13252
+ async deleteClusterJar(engineName, orgName, clusterName, jarId, options) {
13253
+ var _a, _b, _c;
13254
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
13255
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13256
+ 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;
13257
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13258
+ },
12900
13259
  /**
12901
13260
  *
12902
13261
  * @summary delete the datasource
@@ -13362,6 +13721,24 @@ const SharedApiFp = function (configuration) {
13362
13721
  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;
13363
13722
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13364
13723
  },
13724
+ /**
13725
+ *
13726
+ * @summary Publish a JAR with optimistic manifest version checking
13727
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
13728
+ * @param {string} orgName
13729
+ * @param {string} clusterName
13730
+ * @param {string} jarId
13731
+ * @param {ClusterJarPublish} clusterJarPublish
13732
+ * @param {*} [options] Override http request option.
13733
+ * @throws {RequiredError}
13734
+ */
13735
+ async distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options) {
13736
+ var _a, _b, _c;
13737
+ const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
13738
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13739
+ 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;
13740
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13741
+ },
13365
13742
  /**
13366
13743
  *
13367
13744
  * @summary Restore current cluster or instance
@@ -13393,6 +13770,23 @@ const SharedApiFp = function (configuration) {
13393
13770
  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;
13394
13771
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13395
13772
  },
13773
+ /**
13774
+ *
13775
+ * @summary Download the original JAR
13776
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
13777
+ * @param {string} orgName
13778
+ * @param {string} clusterName
13779
+ * @param {string} jarId
13780
+ * @param {*} [options] Override http request option.
13781
+ * @throws {RequiredError}
13782
+ */
13783
+ async downloadClusterJar(engineName, orgName, clusterName, jarId, options) {
13784
+ var _a, _b, _c;
13785
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
13786
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13787
+ 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;
13788
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13789
+ },
13396
13790
  /**
13397
13791
  *
13398
13792
  * @summary Download multiple backup files
@@ -13740,6 +14134,22 @@ const SharedApiFp = function (configuration) {
13740
14134
  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;
13741
14135
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13742
14136
  },
14137
+ /**
14138
+ *
14139
+ * @summary Get external JAR capability and configuration
14140
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
14141
+ * @param {string} orgName
14142
+ * @param {string} clusterName
14143
+ * @param {*} [options] Override http request option.
14144
+ * @throws {RequiredError}
14145
+ */
14146
+ async getClusterJarConfig(engineName, orgName, clusterName, options) {
14147
+ var _a, _b, _c;
14148
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
14149
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14150
+ 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;
14151
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14152
+ },
13743
14153
  /**
13744
14154
  *
13745
14155
  * @summary Get cluster parameter template
@@ -14540,6 +14950,22 @@ const SharedApiFp = function (configuration) {
14540
14950
  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;
14541
14951
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14542
14952
  },
14953
+ /**
14954
+ *
14955
+ * @summary List external JAR versions with metadata and per-instance synchronization state
14956
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
14957
+ * @param {string} orgName
14958
+ * @param {string} clusterName
14959
+ * @param {*} [options] Override http request option.
14960
+ * @throws {RequiredError}
14961
+ */
14962
+ async listClusterJars(engineName, orgName, clusterName, options) {
14963
+ var _a, _b, _c;
14964
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
14965
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14966
+ 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;
14967
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14968
+ },
14543
14969
  /**
14544
14970
  *
14545
14971
  * @summary List restore tasks
@@ -15939,6 +16365,23 @@ const SharedApiFp = function (configuration) {
15939
16365
  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;
15940
16366
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15941
16367
  },
16368
+ /**
16369
+ *
16370
+ * @summary Retry synchronization of published JARs
16371
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
16372
+ * @param {string} orgName
16373
+ * @param {string} clusterName
16374
+ * @param {string} jarId
16375
+ * @param {*} [options] Override http request option.
16376
+ * @throws {RequiredError}
16377
+ */
16378
+ async retryClusterJar(engineName, orgName, clusterName, jarId, options) {
16379
+ var _a, _b, _c;
16380
+ const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
16381
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16382
+ 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;
16383
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16384
+ },
15942
16385
  /**
15943
16386
  *
15944
16387
  * @summary Set alert config
@@ -16635,6 +17078,26 @@ const SharedApiFp = function (configuration) {
16635
17078
  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;
16636
17079
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16637
17080
  },
17081
+ /**
17082
+ *
17083
+ * @summary Upload an immutable JAR version
17084
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
17085
+ * @param {string} orgName
17086
+ * @param {string} clusterName
17087
+ * @param {string} idempotencyKey
17088
+ * @param {string} name
17089
+ * @param {ClusterJarKind} kind
17090
+ * @param {File} file
17091
+ * @param {*} [options] Override http request option.
17092
+ * @throws {RequiredError}
17093
+ */
17094
+ async uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options) {
17095
+ var _a, _b, _c;
17096
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
17097
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17098
+ 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;
17099
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17100
+ },
16638
17101
  /**
16639
17102
  *
16640
17103
  * @summary Validate cluster creation
@@ -17133,6 +17596,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17133
17596
  deleteCluster(requestParameters, options) {
17134
17597
  return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
17135
17598
  },
17599
+ /**
17600
+ *
17601
+ * @summary Delete an unpublished JAR version
17602
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
17603
+ * @param {*} [options] Override http request option.
17604
+ * @throws {RequiredError}
17605
+ */
17606
+ deleteClusterJar(requestParameters, options) {
17607
+ return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
17608
+ },
17136
17609
  /**
17137
17610
  *
17138
17611
  * @summary delete the datasource
@@ -17423,6 +17896,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17423
17896
  disableConsole(requestParameters, options) {
17424
17897
  return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
17425
17898
  },
17899
+ /**
17900
+ *
17901
+ * @summary Publish a JAR with optimistic manifest version checking
17902
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
17903
+ * @param {*} [options] Override http request option.
17904
+ * @throws {RequiredError}
17905
+ */
17906
+ distributeClusterJar(requestParameters, options) {
17907
+ return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
17908
+ },
17426
17909
  /**
17427
17910
  *
17428
17911
  * @summary Restore current cluster or instance
@@ -17443,6 +17926,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17443
17926
  downloadBackup(requestParameters, options) {
17444
17927
  return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
17445
17928
  },
17929
+ /**
17930
+ *
17931
+ * @summary Download the original JAR
17932
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
17933
+ * @param {*} [options] Override http request option.
17934
+ * @throws {RequiredError}
17935
+ */
17936
+ downloadClusterJar(requestParameters, options) {
17937
+ return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
17938
+ },
17446
17939
  /**
17447
17940
  *
17448
17941
  * @summary Download multiple backup files
@@ -17653,6 +18146,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17653
18146
  getClusterInstanceLog(requestParameters, options) {
17654
18147
  return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
17655
18148
  },
18149
+ /**
18150
+ *
18151
+ * @summary Get external JAR capability and configuration
18152
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
18153
+ * @param {*} [options] Override http request option.
18154
+ * @throws {RequiredError}
18155
+ */
18156
+ getClusterJarConfig(requestParameters, options) {
18157
+ return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
18158
+ },
17656
18159
  /**
17657
18160
  *
17658
18161
  * @summary Get cluster parameter template
@@ -18142,6 +18645,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
18142
18645
  listCluster(requestParameters, options) {
18143
18646
  return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, options).then((request) => request(axios, basePath));
18144
18647
  },
18648
+ /**
18649
+ *
18650
+ * @summary List external JAR versions with metadata and per-instance synchronization state
18651
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
18652
+ * @param {*} [options] Override http request option.
18653
+ * @throws {RequiredError}
18654
+ */
18655
+ listClusterJars(requestParameters, options) {
18656
+ return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
18657
+ },
18145
18658
  /**
18146
18659
  *
18147
18660
  * @summary List restore tasks
@@ -18999,6 +19512,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
18999
19512
  restoreRecycleBinCluster(requestParameters, options) {
19000
19513
  return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
19001
19514
  },
19515
+ /**
19516
+ *
19517
+ * @summary Retry synchronization of published JARs
19518
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
19519
+ * @param {*} [options] Override http request option.
19520
+ * @throws {RequiredError}
19521
+ */
19522
+ retryClusterJar(requestParameters, options) {
19523
+ return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
19524
+ },
19002
19525
  /**
19003
19526
  *
19004
19527
  * @summary Set alert config
@@ -19418,6 +19941,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19418
19941
  upgradeCluster(requestParameters, options) {
19419
19942
  return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
19420
19943
  },
19944
+ /**
19945
+ *
19946
+ * @summary Upload an immutable JAR version
19947
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
19948
+ * @param {*} [options] Override http request option.
19949
+ * @throws {RequiredError}
19950
+ */
19951
+ uploadClusterJar(requestParameters, options) {
19952
+ return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
19953
+ },
19421
19954
  /**
19422
19955
  *
19423
19956
  * @summary Validate cluster creation
@@ -19943,6 +20476,17 @@ class SharedApi extends base_1.BaseAPI {
19943
20476
  deleteCluster(requestParameters, options) {
19944
20477
  return (0, exports.SharedApiFp)(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
19945
20478
  }
20479
+ /**
20480
+ *
20481
+ * @summary Delete an unpublished JAR version
20482
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
20483
+ * @param {*} [options] Override http request option.
20484
+ * @throws {RequiredError}
20485
+ * @memberof SharedApi
20486
+ */
20487
+ deleteClusterJar(requestParameters, options) {
20488
+ return (0, exports.SharedApiFp)(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
20489
+ }
19946
20490
  /**
19947
20491
  *
19948
20492
  * @summary delete the datasource
@@ -20262,6 +20806,17 @@ class SharedApi extends base_1.BaseAPI {
20262
20806
  disableConsole(requestParameters, options) {
20263
20807
  return (0, exports.SharedApiFp)(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
20264
20808
  }
20809
+ /**
20810
+ *
20811
+ * @summary Publish a JAR with optimistic manifest version checking
20812
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
20813
+ * @param {*} [options] Override http request option.
20814
+ * @throws {RequiredError}
20815
+ * @memberof SharedApi
20816
+ */
20817
+ distributeClusterJar(requestParameters, options) {
20818
+ 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));
20819
+ }
20265
20820
  /**
20266
20821
  *
20267
20822
  * @summary Restore current cluster or instance
@@ -20284,6 +20839,17 @@ class SharedApi extends base_1.BaseAPI {
20284
20839
  downloadBackup(requestParameters, options) {
20285
20840
  return (0, exports.SharedApiFp)(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
20286
20841
  }
20842
+ /**
20843
+ *
20844
+ * @summary Download the original JAR
20845
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
20846
+ * @param {*} [options] Override http request option.
20847
+ * @throws {RequiredError}
20848
+ * @memberof SharedApi
20849
+ */
20850
+ downloadClusterJar(requestParameters, options) {
20851
+ return (0, exports.SharedApiFp)(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
20852
+ }
20287
20853
  /**
20288
20854
  *
20289
20855
  * @summary Download multiple backup files
@@ -20515,6 +21081,17 @@ class SharedApi extends base_1.BaseAPI {
20515
21081
  getClusterInstanceLog(requestParameters, options) {
20516
21082
  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));
20517
21083
  }
21084
+ /**
21085
+ *
21086
+ * @summary Get external JAR capability and configuration
21087
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
21088
+ * @param {*} [options] Override http request option.
21089
+ * @throws {RequiredError}
21090
+ * @memberof SharedApi
21091
+ */
21092
+ getClusterJarConfig(requestParameters, options) {
21093
+ return (0, exports.SharedApiFp)(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
21094
+ }
20518
21095
  /**
20519
21096
  *
20520
21097
  * @summary Get cluster parameter template
@@ -21053,6 +21630,17 @@ class SharedApi extends base_1.BaseAPI {
21053
21630
  listCluster(requestParameters, options) {
21054
21631
  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, options).then((request) => request(this.axios, this.basePath));
21055
21632
  }
21633
+ /**
21634
+ *
21635
+ * @summary List external JAR versions with metadata and per-instance synchronization state
21636
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
21637
+ * @param {*} [options] Override http request option.
21638
+ * @throws {RequiredError}
21639
+ * @memberof SharedApi
21640
+ */
21641
+ listClusterJars(requestParameters, options) {
21642
+ return (0, exports.SharedApiFp)(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
21643
+ }
21056
21644
  /**
21057
21645
  *
21058
21646
  * @summary List restore tasks
@@ -21996,6 +22584,17 @@ class SharedApi extends base_1.BaseAPI {
21996
22584
  restoreRecycleBinCluster(requestParameters, options) {
21997
22585
  return (0, exports.SharedApiFp)(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
21998
22586
  }
22587
+ /**
22588
+ *
22589
+ * @summary Retry synchronization of published JARs
22590
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
22591
+ * @param {*} [options] Override http request option.
22592
+ * @throws {RequiredError}
22593
+ * @memberof SharedApi
22594
+ */
22595
+ retryClusterJar(requestParameters, options) {
22596
+ return (0, exports.SharedApiFp)(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
22597
+ }
21999
22598
  /**
22000
22599
  *
22001
22600
  * @summary Set alert config
@@ -22457,6 +23056,17 @@ class SharedApi extends base_1.BaseAPI {
22457
23056
  upgradeCluster(requestParameters, options) {
22458
23057
  return (0, exports.SharedApiFp)(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
22459
23058
  }
23059
+ /**
23060
+ *
23061
+ * @summary Upload an immutable JAR version
23062
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
23063
+ * @param {*} [options] Override http request option.
23064
+ * @throws {RequiredError}
23065
+ * @memberof SharedApi
23066
+ */
23067
+ uploadClusterJar(requestParameters, options) {
23068
+ 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));
23069
+ }
22460
23070
  /**
22461
23071
  *
22462
23072
  * @summary Validate cluster creation