kb-cloud-client-typescript 2.2.130 → 2.2.132

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
@@ -1772,6 +1772,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
1772
1772
  options: localVarRequestOptions,
1773
1773
  };
1774
1774
  },
1775
+ /**
1776
+ *
1777
+ * @summary Delete an unpublished JAR version
1778
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
1779
+ * @param {string} orgName
1780
+ * @param {string} clusterName
1781
+ * @param {string} jarId
1782
+ * @param {*} [options] Override http request option.
1783
+ * @throws {RequiredError}
1784
+ */
1785
+ deleteClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
1786
+ // verify required parameter 'engineName' is not null or undefined
1787
+ (0, common_1.assertParamExists)('deleteClusterJar', 'engineName', engineName);
1788
+ // verify required parameter 'orgName' is not null or undefined
1789
+ (0, common_1.assertParamExists)('deleteClusterJar', 'orgName', orgName);
1790
+ // verify required parameter 'clusterName' is not null or undefined
1791
+ (0, common_1.assertParamExists)('deleteClusterJar', 'clusterName', clusterName);
1792
+ // verify required parameter 'jarId' is not null or undefined
1793
+ (0, common_1.assertParamExists)('deleteClusterJar', 'jarId', jarId);
1794
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
1795
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
1796
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1797
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1798
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
1799
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1800
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1801
+ let baseOptions;
1802
+ if (configuration) {
1803
+ baseOptions = configuration.baseOptions;
1804
+ }
1805
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1806
+ const localVarHeaderParameter = {};
1807
+ const localVarQueryParameter = {};
1808
+ // authentication BearerToken required
1809
+ // http bearer authentication required
1810
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1811
+ // authentication DigestAuth required
1812
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1813
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1814
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1815
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1816
+ return {
1817
+ url: (0, common_1.toPathString)(localVarUrlObj),
1818
+ options: localVarRequestOptions,
1819
+ };
1820
+ },
1775
1821
  /**
1776
1822
  *
1777
1823
  * @summary delete the datasource
@@ -2920,6 +2966,57 @@ const SharedApiAxiosParamCreator = function (configuration) {
2920
2966
  options: localVarRequestOptions,
2921
2967
  };
2922
2968
  },
2969
+ /**
2970
+ *
2971
+ * @summary Publish a JAR with optimistic manifest version checking
2972
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
2973
+ * @param {string} orgName
2974
+ * @param {string} clusterName
2975
+ * @param {string} jarId
2976
+ * @param {ClusterJarPublish} clusterJarPublish
2977
+ * @param {*} [options] Override http request option.
2978
+ * @throws {RequiredError}
2979
+ */
2980
+ distributeClusterJar: async (engineName, orgName, clusterName, jarId, clusterJarPublish, options = {}) => {
2981
+ // verify required parameter 'engineName' is not null or undefined
2982
+ (0, common_1.assertParamExists)('distributeClusterJar', 'engineName', engineName);
2983
+ // verify required parameter 'orgName' is not null or undefined
2984
+ (0, common_1.assertParamExists)('distributeClusterJar', 'orgName', orgName);
2985
+ // verify required parameter 'clusterName' is not null or undefined
2986
+ (0, common_1.assertParamExists)('distributeClusterJar', 'clusterName', clusterName);
2987
+ // verify required parameter 'jarId' is not null or undefined
2988
+ (0, common_1.assertParamExists)('distributeClusterJar', 'jarId', jarId);
2989
+ // verify required parameter 'clusterJarPublish' is not null or undefined
2990
+ (0, common_1.assertParamExists)('distributeClusterJar', 'clusterJarPublish', clusterJarPublish);
2991
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
2992
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
2993
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2994
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2995
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
2996
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2997
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2998
+ let baseOptions;
2999
+ if (configuration) {
3000
+ baseOptions = configuration.baseOptions;
3001
+ }
3002
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3003
+ const localVarHeaderParameter = {};
3004
+ const localVarQueryParameter = {};
3005
+ // authentication BearerToken required
3006
+ // http bearer authentication required
3007
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3008
+ // authentication DigestAuth required
3009
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3010
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3011
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3012
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3013
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3014
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clusterJarPublish, localVarRequestOptions, configuration);
3015
+ return {
3016
+ url: (0, common_1.toPathString)(localVarUrlObj),
3017
+ options: localVarRequestOptions,
3018
+ };
3019
+ },
2923
3020
  /**
2924
3021
  *
2925
3022
  * @summary Restore current cluster or instance
@@ -3001,6 +3098,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
3001
3098
  options: localVarRequestOptions,
3002
3099
  };
3003
3100
  },
3101
+ /**
3102
+ *
3103
+ * @summary Download the original JAR
3104
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3105
+ * @param {string} orgName
3106
+ * @param {string} clusterName
3107
+ * @param {string} jarId
3108
+ * @param {*} [options] Override http request option.
3109
+ * @throws {RequiredError}
3110
+ */
3111
+ downloadClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
3112
+ // verify required parameter 'engineName' is not null or undefined
3113
+ (0, common_1.assertParamExists)('downloadClusterJar', 'engineName', engineName);
3114
+ // verify required parameter 'orgName' is not null or undefined
3115
+ (0, common_1.assertParamExists)('downloadClusterJar', 'orgName', orgName);
3116
+ // verify required parameter 'clusterName' is not null or undefined
3117
+ (0, common_1.assertParamExists)('downloadClusterJar', 'clusterName', clusterName);
3118
+ // verify required parameter 'jarId' is not null or undefined
3119
+ (0, common_1.assertParamExists)('downloadClusterJar', 'jarId', jarId);
3120
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
3121
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3122
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3123
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3124
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3125
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3126
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3127
+ let baseOptions;
3128
+ if (configuration) {
3129
+ baseOptions = configuration.baseOptions;
3130
+ }
3131
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3132
+ const localVarHeaderParameter = {};
3133
+ const localVarQueryParameter = {};
3134
+ // authentication BearerToken required
3135
+ // http bearer authentication required
3136
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3137
+ // authentication DigestAuth required
3138
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3139
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3140
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3141
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3142
+ return {
3143
+ url: (0, common_1.toPathString)(localVarUrlObj),
3144
+ options: localVarRequestOptions,
3145
+ };
3146
+ },
3004
3147
  /**
3005
3148
  *
3006
3149
  * @summary Download multiple backup files
@@ -3790,6 +3933,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
3790
3933
  options: localVarRequestOptions,
3791
3934
  };
3792
3935
  },
3936
+ /**
3937
+ *
3938
+ * @summary Get external JAR capability and configuration
3939
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3940
+ * @param {string} orgName
3941
+ * @param {string} clusterName
3942
+ * @param {*} [options] Override http request option.
3943
+ * @throws {RequiredError}
3944
+ */
3945
+ getClusterJarConfig: async (engineName, orgName, clusterName, options = {}) => {
3946
+ // verify required parameter 'engineName' is not null or undefined
3947
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'engineName', engineName);
3948
+ // verify required parameter 'orgName' is not null or undefined
3949
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'orgName', orgName);
3950
+ // verify required parameter 'clusterName' is not null or undefined
3951
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'clusterName', clusterName);
3952
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
3953
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3954
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3955
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
3956
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3957
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3958
+ let baseOptions;
3959
+ if (configuration) {
3960
+ baseOptions = configuration.baseOptions;
3961
+ }
3962
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3963
+ const localVarHeaderParameter = {};
3964
+ const localVarQueryParameter = {};
3965
+ // authentication BearerToken required
3966
+ // http bearer authentication required
3967
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3968
+ // authentication DigestAuth required
3969
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3970
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3971
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3972
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3973
+ return {
3974
+ url: (0, common_1.toPathString)(localVarUrlObj),
3975
+ options: localVarRequestOptions,
3976
+ };
3977
+ },
3793
3978
  /**
3794
3979
  *
3795
3980
  * @summary Get cluster parameter template
@@ -6003,6 +6188,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
6003
6188
  options: localVarRequestOptions,
6004
6189
  };
6005
6190
  },
6191
+ /**
6192
+ *
6193
+ * @summary List external JAR versions with metadata and per-instance synchronization state
6194
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
6195
+ * @param {string} orgName
6196
+ * @param {string} clusterName
6197
+ * @param {*} [options] Override http request option.
6198
+ * @throws {RequiredError}
6199
+ */
6200
+ listClusterJars: async (engineName, orgName, clusterName, options = {}) => {
6201
+ // verify required parameter 'engineName' is not null or undefined
6202
+ (0, common_1.assertParamExists)('listClusterJars', 'engineName', engineName);
6203
+ // verify required parameter 'orgName' is not null or undefined
6204
+ (0, common_1.assertParamExists)('listClusterJars', 'orgName', orgName);
6205
+ // verify required parameter 'clusterName' is not null or undefined
6206
+ (0, common_1.assertParamExists)('listClusterJars', 'clusterName', clusterName);
6207
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
6208
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6209
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6210
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6211
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6212
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6213
+ let baseOptions;
6214
+ if (configuration) {
6215
+ baseOptions = configuration.baseOptions;
6216
+ }
6217
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6218
+ const localVarHeaderParameter = {};
6219
+ const localVarQueryParameter = {};
6220
+ // authentication BearerToken required
6221
+ // http bearer authentication required
6222
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6223
+ // authentication DigestAuth required
6224
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
6225
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6226
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6227
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6228
+ return {
6229
+ url: (0, common_1.toPathString)(localVarUrlObj),
6230
+ options: localVarRequestOptions,
6231
+ };
6232
+ },
6006
6233
  /**
6007
6234
  *
6008
6235
  * @summary List restore tasks
@@ -9923,6 +10150,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
9923
10150
  options: localVarRequestOptions,
9924
10151
  };
9925
10152
  },
10153
+ /**
10154
+ *
10155
+ * @summary Retry synchronization of published JARs
10156
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
10157
+ * @param {string} orgName
10158
+ * @param {string} clusterName
10159
+ * @param {string} jarId
10160
+ * @param {*} [options] Override http request option.
10161
+ * @throws {RequiredError}
10162
+ */
10163
+ retryClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
10164
+ // verify required parameter 'engineName' is not null or undefined
10165
+ (0, common_1.assertParamExists)('retryClusterJar', 'engineName', engineName);
10166
+ // verify required parameter 'orgName' is not null or undefined
10167
+ (0, common_1.assertParamExists)('retryClusterJar', 'orgName', orgName);
10168
+ // verify required parameter 'clusterName' is not null or undefined
10169
+ (0, common_1.assertParamExists)('retryClusterJar', 'clusterName', clusterName);
10170
+ // verify required parameter 'jarId' is not null or undefined
10171
+ (0, common_1.assertParamExists)('retryClusterJar', 'jarId', jarId);
10172
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
10173
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
10174
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10175
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10176
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
10177
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10178
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10179
+ let baseOptions;
10180
+ if (configuration) {
10181
+ baseOptions = configuration.baseOptions;
10182
+ }
10183
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
10184
+ const localVarHeaderParameter = {};
10185
+ const localVarQueryParameter = {};
10186
+ // authentication BearerToken required
10187
+ // http bearer authentication required
10188
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
10189
+ // authentication DigestAuth required
10190
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
10191
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10192
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10193
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10194
+ return {
10195
+ url: (0, common_1.toPathString)(localVarUrlObj),
10196
+ options: localVarRequestOptions,
10197
+ };
10198
+ },
9926
10199
  /**
9927
10200
  *
9928
10201
  * @summary Set cluster alert disabled or enabled
@@ -11552,6 +11825,75 @@ const SharedApiAxiosParamCreator = function (configuration) {
11552
11825
  options: localVarRequestOptions,
11553
11826
  };
11554
11827
  },
11828
+ /**
11829
+ *
11830
+ * @summary Upload an immutable JAR version
11831
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
11832
+ * @param {string} orgName
11833
+ * @param {string} clusterName
11834
+ * @param {string} idempotencyKey
11835
+ * @param {string} name
11836
+ * @param {ClusterJarKind} kind
11837
+ * @param {File} file
11838
+ * @param {*} [options] Override http request option.
11839
+ * @throws {RequiredError}
11840
+ */
11841
+ uploadClusterJar: async (engineName, orgName, clusterName, idempotencyKey, name, kind, file, options = {}) => {
11842
+ // verify required parameter 'engineName' is not null or undefined
11843
+ (0, common_1.assertParamExists)('uploadClusterJar', 'engineName', engineName);
11844
+ // verify required parameter 'orgName' is not null or undefined
11845
+ (0, common_1.assertParamExists)('uploadClusterJar', 'orgName', orgName);
11846
+ // verify required parameter 'clusterName' is not null or undefined
11847
+ (0, common_1.assertParamExists)('uploadClusterJar', 'clusterName', clusterName);
11848
+ // verify required parameter 'idempotencyKey' is not null or undefined
11849
+ (0, common_1.assertParamExists)('uploadClusterJar', 'idempotencyKey', idempotencyKey);
11850
+ // verify required parameter 'name' is not null or undefined
11851
+ (0, common_1.assertParamExists)('uploadClusterJar', 'name', name);
11852
+ // verify required parameter 'kind' is not null or undefined
11853
+ (0, common_1.assertParamExists)('uploadClusterJar', 'kind', kind);
11854
+ // verify required parameter 'file' is not null or undefined
11855
+ (0, common_1.assertParamExists)('uploadClusterJar', 'file', file);
11856
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
11857
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
11858
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11859
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
11860
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11861
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11862
+ let baseOptions;
11863
+ if (configuration) {
11864
+ baseOptions = configuration.baseOptions;
11865
+ }
11866
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
11867
+ const localVarHeaderParameter = {};
11868
+ const localVarQueryParameter = {};
11869
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
11870
+ // authentication BearerToken required
11871
+ // http bearer authentication required
11872
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
11873
+ // authentication DigestAuth required
11874
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
11875
+ if (name !== undefined) {
11876
+ localVarFormParams.append('name', name);
11877
+ }
11878
+ if (kind !== undefined) {
11879
+ localVarFormParams.append('kind', kind);
11880
+ }
11881
+ if (file !== undefined) {
11882
+ localVarFormParams.append('file', file);
11883
+ }
11884
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
11885
+ if (idempotencyKey != null) {
11886
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
11887
+ }
11888
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11889
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11890
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11891
+ localVarRequestOptions.data = localVarFormParams;
11892
+ return {
11893
+ url: (0, common_1.toPathString)(localVarUrlObj),
11894
+ options: localVarRequestOptions,
11895
+ };
11896
+ },
11555
11897
  /**
11556
11898
  *
11557
11899
  * @summary Validate cluster creation
@@ -12339,6 +12681,23 @@ const SharedApiFp = function (configuration) {
12339
12681
  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;
12340
12682
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12341
12683
  },
12684
+ /**
12685
+ *
12686
+ * @summary Delete an unpublished JAR version
12687
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
12688
+ * @param {string} orgName
12689
+ * @param {string} clusterName
12690
+ * @param {string} jarId
12691
+ * @param {*} [options] Override http request option.
12692
+ * @throws {RequiredError}
12693
+ */
12694
+ async deleteClusterJar(engineName, orgName, clusterName, jarId, options) {
12695
+ var _a, _b, _c;
12696
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
12697
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12698
+ 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;
12699
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12700
+ },
12342
12701
  /**
12343
12702
  *
12344
12703
  * @summary delete the datasource
@@ -12772,6 +13131,24 @@ const SharedApiFp = function (configuration) {
12772
13131
  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;
12773
13132
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12774
13133
  },
13134
+ /**
13135
+ *
13136
+ * @summary Publish a JAR with optimistic manifest version checking
13137
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
13138
+ * @param {string} orgName
13139
+ * @param {string} clusterName
13140
+ * @param {string} jarId
13141
+ * @param {ClusterJarPublish} clusterJarPublish
13142
+ * @param {*} [options] Override http request option.
13143
+ * @throws {RequiredError}
13144
+ */
13145
+ async distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options) {
13146
+ var _a, _b, _c;
13147
+ const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
13148
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13149
+ 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;
13150
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13151
+ },
12775
13152
  /**
12776
13153
  *
12777
13154
  * @summary Restore current cluster or instance
@@ -12803,6 +13180,23 @@ const SharedApiFp = function (configuration) {
12803
13180
  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;
12804
13181
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12805
13182
  },
13183
+ /**
13184
+ *
13185
+ * @summary Download the original JAR
13186
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
13187
+ * @param {string} orgName
13188
+ * @param {string} clusterName
13189
+ * @param {string} jarId
13190
+ * @param {*} [options] Override http request option.
13191
+ * @throws {RequiredError}
13192
+ */
13193
+ async downloadClusterJar(engineName, orgName, clusterName, jarId, options) {
13194
+ var _a, _b, _c;
13195
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
13196
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13197
+ 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;
13198
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13199
+ },
12806
13200
  /**
12807
13201
  *
12808
13202
  * @summary Download multiple backup files
@@ -13099,6 +13493,22 @@ const SharedApiFp = function (configuration) {
13099
13493
  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;
13100
13494
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13101
13495
  },
13496
+ /**
13497
+ *
13498
+ * @summary Get external JAR capability and configuration
13499
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
13500
+ * @param {string} orgName
13501
+ * @param {string} clusterName
13502
+ * @param {*} [options] Override http request option.
13503
+ * @throws {RequiredError}
13504
+ */
13505
+ async getClusterJarConfig(engineName, orgName, clusterName, options) {
13506
+ var _a, _b, _c;
13507
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
13508
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13509
+ 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;
13510
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13511
+ },
13102
13512
  /**
13103
13513
  *
13104
13514
  * @summary Get cluster parameter template
@@ -13926,6 +14336,22 @@ const SharedApiFp = function (configuration) {
13926
14336
  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;
13927
14337
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13928
14338
  },
14339
+ /**
14340
+ *
14341
+ * @summary List external JAR versions with metadata and per-instance synchronization state
14342
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
14343
+ * @param {string} orgName
14344
+ * @param {string} clusterName
14345
+ * @param {*} [options] Override http request option.
14346
+ * @throws {RequiredError}
14347
+ */
14348
+ async listClusterJars(engineName, orgName, clusterName, options) {
14349
+ var _a, _b, _c;
14350
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
14351
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14352
+ 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;
14353
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14354
+ },
13929
14355
  /**
13930
14356
  *
13931
14357
  * @summary List restore tasks
@@ -15384,6 +15810,23 @@ const SharedApiFp = function (configuration) {
15384
15810
  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;
15385
15811
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15386
15812
  },
15813
+ /**
15814
+ *
15815
+ * @summary Retry synchronization of published JARs
15816
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
15817
+ * @param {string} orgName
15818
+ * @param {string} clusterName
15819
+ * @param {string} jarId
15820
+ * @param {*} [options] Override http request option.
15821
+ * @throws {RequiredError}
15822
+ */
15823
+ async retryClusterJar(engineName, orgName, clusterName, jarId, options) {
15824
+ var _a, _b, _c;
15825
+ const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
15826
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15827
+ 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;
15828
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15829
+ },
15387
15830
  /**
15388
15831
  *
15389
15832
  * @summary Set cluster alert disabled or enabled
@@ -15983,6 +16426,26 @@ const SharedApiFp = function (configuration) {
15983
16426
  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;
15984
16427
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15985
16428
  },
16429
+ /**
16430
+ *
16431
+ * @summary Upload an immutable JAR version
16432
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
16433
+ * @param {string} orgName
16434
+ * @param {string} clusterName
16435
+ * @param {string} idempotencyKey
16436
+ * @param {string} name
16437
+ * @param {ClusterJarKind} kind
16438
+ * @param {File} file
16439
+ * @param {*} [options] Override http request option.
16440
+ * @throws {RequiredError}
16441
+ */
16442
+ async uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options) {
16443
+ var _a, _b, _c;
16444
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
16445
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16446
+ 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;
16447
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16448
+ },
15986
16449
  /**
15987
16450
  *
15988
16451
  * @summary Validate cluster creation
@@ -16450,6 +16913,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
16450
16913
  deleteCluster(requestParameters, options) {
16451
16914
  return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
16452
16915
  },
16916
+ /**
16917
+ *
16918
+ * @summary Delete an unpublished JAR version
16919
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
16920
+ * @param {*} [options] Override http request option.
16921
+ * @throws {RequiredError}
16922
+ */
16923
+ deleteClusterJar(requestParameters, options) {
16924
+ return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
16925
+ },
16453
16926
  /**
16454
16927
  *
16455
16928
  * @summary delete the datasource
@@ -16720,6 +17193,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
16720
17193
  disableConsole(requestParameters, options) {
16721
17194
  return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
16722
17195
  },
17196
+ /**
17197
+ *
17198
+ * @summary Publish a JAR with optimistic manifest version checking
17199
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
17200
+ * @param {*} [options] Override http request option.
17201
+ * @throws {RequiredError}
17202
+ */
17203
+ distributeClusterJar(requestParameters, options) {
17204
+ return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
17205
+ },
16723
17206
  /**
16724
17207
  *
16725
17208
  * @summary Restore current cluster or instance
@@ -16740,6 +17223,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
16740
17223
  downloadBackup(requestParameters, options) {
16741
17224
  return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
16742
17225
  },
17226
+ /**
17227
+ *
17228
+ * @summary Download the original JAR
17229
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
17230
+ * @param {*} [options] Override http request option.
17231
+ * @throws {RequiredError}
17232
+ */
17233
+ downloadClusterJar(requestParameters, options) {
17234
+ return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
17235
+ },
16743
17236
  /**
16744
17237
  *
16745
17238
  * @summary Download multiple backup files
@@ -16921,6 +17414,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
16921
17414
  getClusterInstanceLog(requestParameters, options) {
16922
17415
  return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
16923
17416
  },
17417
+ /**
17418
+ *
17419
+ * @summary Get external JAR capability and configuration
17420
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
17421
+ * @param {*} [options] Override http request option.
17422
+ * @throws {RequiredError}
17423
+ */
17424
+ getClusterJarConfig(requestParameters, options) {
17425
+ return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
17426
+ },
16924
17427
  /**
16925
17428
  *
16926
17429
  * @summary Get cluster parameter template
@@ -17429,6 +17932,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17429
17932
  listCluster(requestParameters, options) {
17430
17933
  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));
17431
17934
  },
17935
+ /**
17936
+ *
17937
+ * @summary List external JAR versions with metadata and per-instance synchronization state
17938
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
17939
+ * @param {*} [options] Override http request option.
17940
+ * @throws {RequiredError}
17941
+ */
17942
+ listClusterJars(requestParameters, options) {
17943
+ return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
17944
+ },
17432
17945
  /**
17433
17946
  *
17434
17947
  * @summary List restore tasks
@@ -18325,6 +18838,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
18325
18838
  restoreRecycleBinCluster(requestParameters, options) {
18326
18839
  return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
18327
18840
  },
18841
+ /**
18842
+ *
18843
+ * @summary Retry synchronization of published JARs
18844
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
18845
+ * @param {*} [options] Override http request option.
18846
+ * @throws {RequiredError}
18847
+ */
18848
+ retryClusterJar(requestParameters, options) {
18849
+ return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
18850
+ },
18328
18851
  /**
18329
18852
  *
18330
18853
  * @summary Set cluster alert disabled or enabled
@@ -18684,6 +19207,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
18684
19207
  upgradeCluster(requestParameters, options) {
18685
19208
  return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
18686
19209
  },
19210
+ /**
19211
+ *
19212
+ * @summary Upload an immutable JAR version
19213
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
19214
+ * @param {*} [options] Override http request option.
19215
+ * @throws {RequiredError}
19216
+ */
19217
+ uploadClusterJar(requestParameters, options) {
19218
+ return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
19219
+ },
18687
19220
  /**
18688
19221
  *
18689
19222
  * @summary Validate cluster creation
@@ -19175,6 +19708,17 @@ class SharedApi extends base_1.BaseAPI {
19175
19708
  deleteCluster(requestParameters, options) {
19176
19709
  return (0, exports.SharedApiFp)(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
19177
19710
  }
19711
+ /**
19712
+ *
19713
+ * @summary Delete an unpublished JAR version
19714
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
19715
+ * @param {*} [options] Override http request option.
19716
+ * @throws {RequiredError}
19717
+ * @memberof SharedApi
19718
+ */
19719
+ deleteClusterJar(requestParameters, options) {
19720
+ return (0, exports.SharedApiFp)(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
19721
+ }
19178
19722
  /**
19179
19723
  *
19180
19724
  * @summary delete the datasource
@@ -19472,6 +20016,17 @@ class SharedApi extends base_1.BaseAPI {
19472
20016
  disableConsole(requestParameters, options) {
19473
20017
  return (0, exports.SharedApiFp)(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
19474
20018
  }
20019
+ /**
20020
+ *
20021
+ * @summary Publish a JAR with optimistic manifest version checking
20022
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
20023
+ * @param {*} [options] Override http request option.
20024
+ * @throws {RequiredError}
20025
+ * @memberof SharedApi
20026
+ */
20027
+ distributeClusterJar(requestParameters, options) {
20028
+ 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));
20029
+ }
19475
20030
  /**
19476
20031
  *
19477
20032
  * @summary Restore current cluster or instance
@@ -19494,6 +20049,17 @@ class SharedApi extends base_1.BaseAPI {
19494
20049
  downloadBackup(requestParameters, options) {
19495
20050
  return (0, exports.SharedApiFp)(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
19496
20051
  }
20052
+ /**
20053
+ *
20054
+ * @summary Download the original JAR
20055
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
20056
+ * @param {*} [options] Override http request option.
20057
+ * @throws {RequiredError}
20058
+ * @memberof SharedApi
20059
+ */
20060
+ downloadClusterJar(requestParameters, options) {
20061
+ return (0, exports.SharedApiFp)(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
20062
+ }
19497
20063
  /**
19498
20064
  *
19499
20065
  * @summary Download multiple backup files
@@ -19693,6 +20259,17 @@ class SharedApi extends base_1.BaseAPI {
19693
20259
  getClusterInstanceLog(requestParameters, options) {
19694
20260
  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));
19695
20261
  }
20262
+ /**
20263
+ *
20264
+ * @summary Get external JAR capability and configuration
20265
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
20266
+ * @param {*} [options] Override http request option.
20267
+ * @throws {RequiredError}
20268
+ * @memberof SharedApi
20269
+ */
20270
+ getClusterJarConfig(requestParameters, options) {
20271
+ return (0, exports.SharedApiFp)(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
20272
+ }
19696
20273
  /**
19697
20274
  *
19698
20275
  * @summary Get cluster parameter template
@@ -20252,6 +20829,17 @@ class SharedApi extends base_1.BaseAPI {
20252
20829
  listCluster(requestParameters, options) {
20253
20830
  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));
20254
20831
  }
20832
+ /**
20833
+ *
20834
+ * @summary List external JAR versions with metadata and per-instance synchronization state
20835
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
20836
+ * @param {*} [options] Override http request option.
20837
+ * @throws {RequiredError}
20838
+ * @memberof SharedApi
20839
+ */
20840
+ listClusterJars(requestParameters, options) {
20841
+ return (0, exports.SharedApiFp)(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
20842
+ }
20255
20843
  /**
20256
20844
  *
20257
20845
  * @summary List restore tasks
@@ -21238,6 +21826,17 @@ class SharedApi extends base_1.BaseAPI {
21238
21826
  restoreRecycleBinCluster(requestParameters, options) {
21239
21827
  return (0, exports.SharedApiFp)(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
21240
21828
  }
21829
+ /**
21830
+ *
21831
+ * @summary Retry synchronization of published JARs
21832
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
21833
+ * @param {*} [options] Override http request option.
21834
+ * @throws {RequiredError}
21835
+ * @memberof SharedApi
21836
+ */
21837
+ retryClusterJar(requestParameters, options) {
21838
+ return (0, exports.SharedApiFp)(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
21839
+ }
21241
21840
  /**
21242
21841
  *
21243
21842
  * @summary Set cluster alert disabled or enabled
@@ -21633,6 +22232,17 @@ class SharedApi extends base_1.BaseAPI {
21633
22232
  upgradeCluster(requestParameters, options) {
21634
22233
  return (0, exports.SharedApiFp)(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
21635
22234
  }
22235
+ /**
22236
+ *
22237
+ * @summary Upload an immutable JAR version
22238
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
22239
+ * @param {*} [options] Override http request option.
22240
+ * @throws {RequiredError}
22241
+ * @memberof SharedApi
22242
+ */
22243
+ uploadClusterJar(requestParameters, options) {
22244
+ 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));
22245
+ }
21636
22246
  /**
21637
22247
  *
21638
22248
  * @summary Validate cluster creation