kb-cloud-client-typescript 2.3.31 → 2.3.33

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 (227) hide show
  1. package/dist/adminapi/apis/cluster-jar-api.d.ts +0 -79
  2. package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/cluster-jar-api.js +0 -84
  4. package/dist/adminapi/apis/cluster-jar-api.js.map +1 -1
  5. package/dist/adminapi/apis/shared-api.d.ts +0 -79
  6. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/shared-api.js +0 -84
  8. package/dist/adminapi/apis/shared-api.js.map +1 -1
  9. package/dist/adminapi/apis/task-api.d.ts +16 -7
  10. package/dist/adminapi/apis/task-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/task-api.js +14 -9
  12. package/dist/adminapi/apis/task-api.js.map +1 -1
  13. package/dist/adminapi/apis/vip-pool-api.d.ts +72 -0
  14. package/dist/adminapi/apis/vip-pool-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/vip-pool-api.js +80 -0
  16. package/dist/adminapi/apis/vip-pool-api.js.map +1 -1
  17. package/dist/adminapi/models/backup-option.d.ts +6 -0
  18. package/dist/adminapi/models/backup-option.d.ts.map +1 -1
  19. package/dist/adminapi/models/cluster-create.d.ts +6 -0
  20. package/dist/adminapi/models/cluster-create.d.ts.map +1 -1
  21. package/dist/adminapi/models/cluster-jar-package.d.ts +0 -6
  22. package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -1
  23. package/dist/adminapi/models/component-item-create.d.ts +8 -1
  24. package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
  25. package/dist/adminapi/models/dms-pagination.d.ts +36 -0
  26. package/dist/adminapi/models/dms-pagination.d.ts.map +1 -1
  27. package/dist/adminapi/models/index.d.ts +11 -1
  28. package/dist/adminapi/models/index.d.ts.map +1 -1
  29. package/dist/adminapi/models/index.js +11 -1
  30. package/dist/adminapi/models/index.js.map +1 -1
  31. package/dist/adminapi/models/instance-template-attribute.d.ts +25 -0
  32. package/dist/adminapi/models/instance-template-attribute.d.ts.map +1 -0
  33. package/dist/adminapi/models/instance-template-attribute.js +29 -0
  34. package/dist/adminapi/models/instance-template-attribute.js.map +1 -0
  35. package/dist/adminapi/models/instance-template-create-env-inner.d.ts +31 -0
  36. package/dist/adminapi/models/instance-template-create-env-inner.d.ts.map +1 -0
  37. package/dist/adminapi/models/instance-template-create-env-inner.js +16 -0
  38. package/dist/adminapi/models/instance-template-create-env-inner.js.map +1 -0
  39. package/dist/adminapi/models/instance-template-create.d.ts +66 -0
  40. package/dist/adminapi/models/instance-template-create.d.ts.map +1 -0
  41. package/dist/adminapi/models/{ops-volume-expand-volumes-inner.js → instance-template-create.js} +1 -1
  42. package/dist/adminapi/models/instance-template-create.js.map +1 -0
  43. package/dist/adminapi/models/instance-template-env.d.ts +50 -0
  44. package/dist/adminapi/models/instance-template-env.d.ts.map +1 -0
  45. package/dist/adminapi/models/instance-template-env.js +16 -0
  46. package/dist/adminapi/models/instance-template-env.js.map +1 -0
  47. package/dist/adminapi/models/instance-template-op.d.ts +23 -0
  48. package/dist/adminapi/models/instance-template-op.d.ts.map +1 -0
  49. package/dist/adminapi/models/instance-template-op.js +27 -0
  50. package/dist/adminapi/models/instance-template-op.js.map +1 -0
  51. package/dist/adminapi/models/instance-template-replicas.d.ts +31 -0
  52. package/dist/adminapi/models/instance-template-replicas.d.ts.map +1 -0
  53. package/dist/adminapi/models/instance-template-replicas.js +16 -0
  54. package/dist/adminapi/models/instance-template-replicas.js.map +1 -0
  55. package/dist/adminapi/models/instance-template-volume-expand.d.ts +32 -0
  56. package/dist/adminapi/models/instance-template-volume-expand.d.ts.map +1 -0
  57. package/dist/adminapi/models/instance-template-volume-expand.js +16 -0
  58. package/dist/adminapi/models/instance-template-volume-expand.js.map +1 -0
  59. package/dist/adminapi/models/mode-component-instance-template.d.ts +46 -0
  60. package/dist/adminapi/models/mode-component-instance-template.d.ts.map +1 -0
  61. package/dist/adminapi/models/mode-component-instance-template.js +16 -0
  62. package/dist/adminapi/models/mode-component-instance-template.js.map +1 -0
  63. package/dist/adminapi/models/mode-component.d.ts +7 -0
  64. package/dist/adminapi/models/mode-component.d.ts.map +1 -1
  65. package/dist/adminapi/models/ops-hscale.d.ts +8 -1
  66. package/dist/adminapi/models/ops-hscale.d.ts.map +1 -1
  67. package/dist/adminapi/models/{ops-volume-expand-volumes-inner.d.ts → ops-volume-expand-volumes-items0.d.ts} +7 -7
  68. package/dist/adminapi/models/ops-volume-expand-volumes-items0.d.ts.map +1 -0
  69. package/dist/adminapi/models/ops-volume-expand-volumes-items0.js +16 -0
  70. package/dist/adminapi/models/ops-volume-expand-volumes-items0.js.map +1 -0
  71. package/dist/adminapi/models/ops-volume-expand.d.ts +11 -4
  72. package/dist/adminapi/models/ops-volume-expand.d.ts.map +1 -1
  73. package/dist/adminapi/models/ops-vscale.d.ts +1 -1
  74. package/dist/adminapi/models/show-data-request.d.ts +13 -1
  75. package/dist/adminapi/models/show-data-request.d.ts.map +1 -1
  76. package/dist/adminapi/models/task-retry-mode.d.ts +22 -0
  77. package/dist/adminapi/models/task-retry-mode.d.ts.map +1 -0
  78. package/dist/adminapi/models/task-retry-mode.js +26 -0
  79. package/dist/adminapi/models/task-retry-mode.js.map +1 -0
  80. package/dist/adminapi/models/task.d.ts +7 -0
  81. package/dist/adminapi/models/task.d.ts.map +1 -1
  82. package/dist/adminapi/models/vip-pool-create.d.ts +6 -0
  83. package/dist/adminapi/models/vip-pool-create.d.ts.map +1 -1
  84. package/dist/adminapi/models/vip-pool-update.d.ts +25 -0
  85. package/dist/adminapi/models/vip-pool-update.d.ts.map +1 -0
  86. package/dist/adminapi/models/vip-pool-update.js +16 -0
  87. package/dist/adminapi/models/vip-pool-update.js.map +1 -0
  88. package/dist/adminapi/models/vip-pool.d.ts +12 -0
  89. package/dist/adminapi/models/vip-pool.d.ts.map +1 -1
  90. package/dist/openapi/apis/cluster-jar-api.d.ts +0 -79
  91. package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -1
  92. package/dist/openapi/apis/cluster-jar-api.js +0 -84
  93. package/dist/openapi/apis/cluster-jar-api.js.map +1 -1
  94. package/dist/openapi/apis/shared-api.d.ts +0 -79
  95. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  96. package/dist/openapi/apis/shared-api.js +0 -84
  97. package/dist/openapi/apis/shared-api.js.map +1 -1
  98. package/dist/openapi/models/backup-option.d.ts +6 -0
  99. package/dist/openapi/models/backup-option.d.ts.map +1 -1
  100. package/dist/openapi/models/cluster-create.d.ts +6 -0
  101. package/dist/openapi/models/cluster-create.d.ts.map +1 -1
  102. package/dist/openapi/models/cluster-jar-package.d.ts +0 -6
  103. package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -1
  104. package/dist/openapi/models/component-item-create.d.ts +8 -1
  105. package/dist/openapi/models/component-item-create.d.ts.map +1 -1
  106. package/dist/openapi/models/dms-pagination.d.ts +36 -0
  107. package/dist/openapi/models/dms-pagination.d.ts.map +1 -1
  108. package/dist/openapi/models/index.d.ts +10 -1
  109. package/dist/openapi/models/index.d.ts.map +1 -1
  110. package/dist/openapi/models/index.js +10 -1
  111. package/dist/openapi/models/index.js.map +1 -1
  112. package/dist/openapi/models/instance-template-attribute.d.ts +25 -0
  113. package/dist/openapi/models/instance-template-attribute.d.ts.map +1 -0
  114. package/dist/openapi/models/instance-template-attribute.js +29 -0
  115. package/dist/openapi/models/instance-template-attribute.js.map +1 -0
  116. package/dist/openapi/models/instance-template-create-env-inner.d.ts +31 -0
  117. package/dist/openapi/models/instance-template-create-env-inner.d.ts.map +1 -0
  118. package/dist/openapi/models/instance-template-create-env-inner.js +16 -0
  119. package/dist/openapi/models/instance-template-create-env-inner.js.map +1 -0
  120. package/dist/openapi/models/instance-template-create.d.ts +66 -0
  121. package/dist/openapi/models/instance-template-create.d.ts.map +1 -0
  122. package/dist/openapi/models/{ops-volume-expand-volumes-inner.js → instance-template-create.js} +1 -1
  123. package/dist/openapi/models/instance-template-create.js.map +1 -0
  124. package/dist/openapi/models/instance-template-env.d.ts +50 -0
  125. package/dist/openapi/models/instance-template-env.d.ts.map +1 -0
  126. package/dist/openapi/models/instance-template-env.js +16 -0
  127. package/dist/openapi/models/instance-template-env.js.map +1 -0
  128. package/dist/openapi/models/instance-template-op.d.ts +23 -0
  129. package/dist/openapi/models/instance-template-op.d.ts.map +1 -0
  130. package/dist/openapi/models/instance-template-op.js +27 -0
  131. package/dist/openapi/models/instance-template-op.js.map +1 -0
  132. package/dist/openapi/models/instance-template-replicas.d.ts +31 -0
  133. package/dist/openapi/models/instance-template-replicas.d.ts.map +1 -0
  134. package/dist/openapi/models/instance-template-replicas.js +16 -0
  135. package/dist/openapi/models/instance-template-replicas.js.map +1 -0
  136. package/dist/openapi/models/instance-template-volume-expand.d.ts +32 -0
  137. package/dist/openapi/models/instance-template-volume-expand.d.ts.map +1 -0
  138. package/dist/openapi/models/instance-template-volume-expand.js +16 -0
  139. package/dist/openapi/models/instance-template-volume-expand.js.map +1 -0
  140. package/dist/openapi/models/mode-component-instance-template.d.ts +46 -0
  141. package/dist/openapi/models/mode-component-instance-template.d.ts.map +1 -0
  142. package/dist/openapi/models/mode-component-instance-template.js +16 -0
  143. package/dist/openapi/models/mode-component-instance-template.js.map +1 -0
  144. package/dist/openapi/models/mode-component.d.ts +7 -0
  145. package/dist/openapi/models/mode-component.d.ts.map +1 -1
  146. package/dist/openapi/models/ops-hscale.d.ts +8 -1
  147. package/dist/openapi/models/ops-hscale.d.ts.map +1 -1
  148. package/dist/openapi/models/{ops-volume-expand-volumes-inner.d.ts → ops-volume-expand-volumes-items0.d.ts} +7 -7
  149. package/dist/openapi/models/ops-volume-expand-volumes-items0.d.ts.map +1 -0
  150. package/dist/openapi/models/ops-volume-expand-volumes-items0.js +16 -0
  151. package/dist/openapi/models/ops-volume-expand-volumes-items0.js.map +1 -0
  152. package/dist/openapi/models/ops-volume-expand.d.ts +11 -4
  153. package/dist/openapi/models/ops-volume-expand.d.ts.map +1 -1
  154. package/dist/openapi/models/ops-vscale.d.ts +1 -1
  155. package/dist/openapi/models/show-data-request.d.ts +13 -1
  156. package/dist/openapi/models/show-data-request.d.ts.map +1 -1
  157. package/dist/openapi/models/task-retry-mode.d.ts +22 -0
  158. package/dist/openapi/models/task-retry-mode.d.ts.map +1 -0
  159. package/dist/openapi/models/task-retry-mode.js +26 -0
  160. package/dist/openapi/models/task-retry-mode.js.map +1 -0
  161. package/dist/openapi/models/task.d.ts +7 -0
  162. package/dist/openapi/models/task.d.ts.map +1 -1
  163. package/dist/openapi/models/vip-pool.d.ts +12 -0
  164. package/dist/openapi/models/vip-pool.d.ts.map +1 -1
  165. package/package.json +1 -1
  166. package/src/adminapi/.openapi-generator/FILES +11 -1
  167. package/src/adminapi/apis/cluster-jar-api.ts +0 -136
  168. package/src/adminapi/apis/shared-api.ts +0 -136
  169. package/src/adminapi/apis/task-api.ts +25 -10
  170. package/src/adminapi/apis/vip-pool-api.ts +128 -0
  171. package/src/adminapi/models/backup-option.ts +6 -0
  172. package/src/adminapi/models/cluster-create.ts +6 -0
  173. package/src/adminapi/models/cluster-jar-package.ts +0 -6
  174. package/src/adminapi/models/component-item-create.ts +10 -1
  175. package/src/adminapi/models/dms-pagination.ts +36 -0
  176. package/src/adminapi/models/index.ts +11 -1
  177. package/src/adminapi/models/instance-template-attribute.ts +34 -0
  178. package/src/adminapi/models/instance-template-create-env-inner.ts +36 -0
  179. package/src/adminapi/models/instance-template-create.ts +69 -0
  180. package/src/adminapi/models/instance-template-env.ts +57 -0
  181. package/src/adminapi/models/instance-template-op.ts +32 -0
  182. package/src/adminapi/models/instance-template-replicas.ts +36 -0
  183. package/src/adminapi/models/instance-template-volume-expand.ts +39 -0
  184. package/src/adminapi/models/mode-component-instance-template.ts +57 -0
  185. package/src/adminapi/models/mode-component.ts +9 -0
  186. package/src/adminapi/models/ops-hscale.ts +10 -1
  187. package/src/adminapi/models/{ops-volume-expand-volumes-inner.ts → ops-volume-expand-volumes-items0.ts} +6 -6
  188. package/src/adminapi/models/ops-volume-expand.ts +13 -4
  189. package/src/adminapi/models/ops-vscale.ts +1 -1
  190. package/src/adminapi/models/show-data-request.ts +13 -1
  191. package/src/adminapi/models/task-retry-mode.ts +31 -0
  192. package/src/adminapi/models/task.ts +9 -0
  193. package/src/adminapi/models/vip-pool-create.ts +6 -0
  194. package/src/adminapi/models/vip-pool-update.ts +30 -0
  195. package/src/adminapi/models/vip-pool.ts +12 -0
  196. package/src/adminapi.yaml +334 -64
  197. package/src/openapi/.openapi-generator/FILES +10 -1
  198. package/src/openapi/apis/cluster-jar-api.ts +0 -136
  199. package/src/openapi/apis/shared-api.ts +0 -136
  200. package/src/openapi/models/backup-option.ts +6 -0
  201. package/src/openapi/models/cluster-create.ts +6 -0
  202. package/src/openapi/models/cluster-jar-package.ts +0 -6
  203. package/src/openapi/models/component-item-create.ts +10 -1
  204. package/src/openapi/models/dms-pagination.ts +36 -0
  205. package/src/openapi/models/index.ts +10 -1
  206. package/src/openapi/models/instance-template-attribute.ts +34 -0
  207. package/src/openapi/models/instance-template-create-env-inner.ts +36 -0
  208. package/src/openapi/models/instance-template-create.ts +69 -0
  209. package/src/openapi/models/instance-template-env.ts +57 -0
  210. package/src/openapi/models/instance-template-op.ts +32 -0
  211. package/src/openapi/models/instance-template-replicas.ts +36 -0
  212. package/src/openapi/models/instance-template-volume-expand.ts +39 -0
  213. package/src/openapi/models/mode-component-instance-template.ts +57 -0
  214. package/src/openapi/models/mode-component.ts +9 -0
  215. package/src/openapi/models/ops-hscale.ts +10 -1
  216. package/src/openapi/models/{ops-volume-expand-volumes-inner.ts → ops-volume-expand-volumes-items0.ts} +6 -6
  217. package/src/openapi/models/ops-volume-expand.ts +13 -4
  218. package/src/openapi/models/ops-vscale.ts +1 -1
  219. package/src/openapi/models/show-data-request.ts +13 -1
  220. package/src/openapi/models/task-retry-mode.ts +31 -0
  221. package/src/openapi/models/task.ts +9 -0
  222. package/src/openapi/models/vip-pool.ts +12 -0
  223. package/src/openapi.yaml +268 -63
  224. package/dist/adminapi/models/ops-volume-expand-volumes-inner.d.ts.map +0 -1
  225. package/dist/adminapi/models/ops-volume-expand-volumes-inner.js.map +0 -1
  226. package/dist/openapi/models/ops-volume-expand-volumes-inner.d.ts.map +0 -1
  227. package/dist/openapi/models/ops-volume-expand-volumes-inner.js.map +0 -1
@@ -27,6 +27,18 @@ export interface VipPool {
27
27
  * @memberof VipPool
28
28
  */
29
29
  'id'?: string;
30
+ /**
31
+ * Name of VIP Pool. It is the MetalLB IPAddressPool resource name, generated as kb-<id>.
32
+ * @type {string}
33
+ * @memberof VipPool
34
+ */
35
+ 'name'?: string;
36
+ /**
37
+ * User facing name of the VIP Pool, used to select the pool when creating a cluster. It falls back to the IPAddressPool resource name.
38
+ * @type {string}
39
+ * @memberof VipPool
40
+ */
41
+ 'poolName'?: string;
30
42
  /**
31
43
  * Total number of IP addresses
32
44
  * @type {number}
@@ -1 +1 @@
1
- {"version":3,"file":"vip-pool.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/vip-pool.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
1
+ {"version":3,"file":"vip-pool.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/vip-pool.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "2.3.31",
3
+ "version": "2.3.33",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -694,6 +694,13 @@ models/instance-resource-stats-type.ts
694
694
  models/instance-resource-stats.ts
695
695
  models/instance-status.ts
696
696
  models/instance-storage-item.ts
697
+ models/instance-template-attribute.ts
698
+ models/instance-template-create-env-inner.ts
699
+ models/instance-template-create.ts
700
+ models/instance-template-env.ts
701
+ models/instance-template-op.ts
702
+ models/instance-template-replicas.ts
703
+ models/instance-template-volume-expand.ts
697
704
  models/instance.ts
698
705
  models/integer-option.ts
699
706
  models/international-desc.ts
@@ -766,6 +773,7 @@ models/milvus-role-list.ts
766
773
  models/milvus-role-request.ts
767
774
  models/milvus-role.ts
768
775
  models/mode-compatible-kubeblocks-version.ts
776
+ models/mode-component-instance-template.ts
769
777
  models/mode-component.ts
770
778
  models/mode-object-storage-additional-helm-value-path.ts
771
779
  models/mode-object-storage-service-ref.ts
@@ -872,7 +880,7 @@ models/ops-restart.ts
872
880
  models/ops-start.ts
873
881
  models/ops-stop.ts
874
882
  models/ops-upgrade.ts
875
- models/ops-volume-expand-volumes-inner.ts
883
+ models/ops-volume-expand-volumes-items0.ts
876
884
  models/ops-volume-expand.ts
877
885
  models/ops-vscale.ts
878
886
  models/org-create.ts
@@ -1131,6 +1139,7 @@ models/target.ts
1131
1139
  models/task-failure-policy.ts
1132
1140
  models/task-list-item.ts
1133
1141
  models/task-list.ts
1142
+ models/task-retry-mode.ts
1134
1143
  models/task-schedule-type.ts
1135
1144
  models/task-schedule.ts
1136
1145
  models/task-status.ts
@@ -1170,6 +1179,7 @@ models/user-update.ts
1170
1179
  models/user.ts
1171
1180
  models/vip-pool-create.ts
1172
1181
  models/vip-pool-list.ts
1182
+ models/vip-pool-update.ts
1173
1183
  models/vip-pool.ts
1174
1184
  models/volume-restore-policy.ts
1175
1185
  models/vuln-item.ts
@@ -41,59 +41,6 @@ import type { ClusterJarTask } from '../models';
41
41
  */
42
42
  export const ClusterJarApiAxiosParamCreator = function (configuration?: Configuration) {
43
43
  return {
44
- /**
45
- *
46
- * @summary Archive a JAR while retaining published files and startup synchronization
47
- * @param {string} engineName Doris or SelectDB engine of the target cluster.
48
- * @param {string} orgName
49
- * @param {string} clusterName
50
- * @param {string} jarId
51
- * @param {*} [options] Override http request option.
52
- * @throws {RequiredError}
53
- */
54
- archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55
- // verify required parameter 'engineName' is not null or undefined
56
- assertParamExists('archiveClusterJar', 'engineName', engineName)
57
- // verify required parameter 'orgName' is not null or undefined
58
- assertParamExists('archiveClusterJar', 'orgName', orgName)
59
- // verify required parameter 'clusterName' is not null or undefined
60
- assertParamExists('archiveClusterJar', 'clusterName', clusterName)
61
- // verify required parameter 'jarId' is not null or undefined
62
- assertParamExists('archiveClusterJar', 'jarId', jarId)
63
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
64
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
65
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
66
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
67
- .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
68
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
69
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70
- let baseOptions;
71
- if (configuration) {
72
- baseOptions = configuration.baseOptions;
73
- }
74
-
75
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
76
- const localVarHeaderParameter = {} as any;
77
- const localVarQueryParameter = {} as any;
78
-
79
- // authentication BearerToken required
80
- // http bearer authentication required
81
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
82
-
83
- // authentication DigestAuth required
84
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
85
-
86
-
87
-
88
- setSearchParams(localVarUrlObj, localVarQueryParameter);
89
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
90
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
91
-
92
- return {
93
- url: toPathString(localVarUrlObj),
94
- options: localVarRequestOptions,
95
- };
96
- },
97
44
  /**
98
45
  *
99
46
  * @summary Delete an unpublished JAR version
@@ -500,22 +447,6 @@ export const ClusterJarApiAxiosParamCreator = function (configuration?: Configur
500
447
  export const ClusterJarApiFp = function(configuration?: Configuration) {
501
448
  const localVarAxiosParamCreator = ClusterJarApiAxiosParamCreator(configuration)
502
449
  return {
503
- /**
504
- *
505
- * @summary Archive a JAR while retaining published files and startup synchronization
506
- * @param {string} engineName Doris or SelectDB engine of the target cluster.
507
- * @param {string} orgName
508
- * @param {string} clusterName
509
- * @param {string} jarId
510
- * @param {*} [options] Override http request option.
511
- * @throws {RequiredError}
512
- */
513
- async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
514
- const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
515
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
516
- const localVarOperationServerBasePath = operationServerMap['ClusterJarApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
517
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
518
- },
519
450
  /**
520
451
  *
521
452
  * @summary Delete an unpublished JAR version
@@ -640,16 +571,6 @@ export const ClusterJarApiFp = function(configuration?: Configuration) {
640
571
  export const ClusterJarApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
641
572
  const localVarFp = ClusterJarApiFp(configuration)
642
573
  return {
643
- /**
644
- *
645
- * @summary Archive a JAR while retaining published files and startup synchronization
646
- * @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
647
- * @param {*} [options] Override http request option.
648
- * @throws {RequiredError}
649
- */
650
- archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
651
- return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
652
- },
653
574
  /**
654
575
  *
655
576
  * @summary Delete an unpublished JAR version
@@ -729,16 +650,6 @@ export const ClusterJarApiFactory = function (configuration?: Configuration, bas
729
650
  * @interface ClusterJarApi
730
651
  */
731
652
  export interface ClusterJarApiInterface {
732
- /**
733
- *
734
- * @summary Archive a JAR while retaining published files and startup synchronization
735
- * @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
736
- * @param {*} [options] Override http request option.
737
- * @throws {RequiredError}
738
- * @memberof ClusterJarApiInterface
739
- */
740
- archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
741
-
742
653
  /**
743
654
  *
744
655
  * @summary Delete an unpublished JAR version
@@ -811,41 +722,6 @@ export interface ClusterJarApiInterface {
811
722
 
812
723
  }
813
724
 
814
- /**
815
- * Request parameters for archiveClusterJar operation in ClusterJarApi.
816
- * @export
817
- * @interface ClusterJarApiArchiveClusterJarRequest
818
- */
819
- export interface ClusterJarApiArchiveClusterJarRequest {
820
- /**
821
- * Doris or SelectDB engine of the target cluster.
822
- * @type {string}
823
- * @memberof ClusterJarApiArchiveClusterJar
824
- */
825
- readonly engineName: string
826
-
827
- /**
828
- *
829
- * @type {string}
830
- * @memberof ClusterJarApiArchiveClusterJar
831
- */
832
- readonly orgName: string
833
-
834
- /**
835
- *
836
- * @type {string}
837
- * @memberof ClusterJarApiArchiveClusterJar
838
- */
839
- readonly clusterName: string
840
-
841
- /**
842
- *
843
- * @type {string}
844
- * @memberof ClusterJarApiArchiveClusterJar
845
- */
846
- readonly jarId: string
847
- }
848
-
849
725
  /**
850
726
  * Request parameters for deleteClusterJar operation in ClusterJarApi.
851
727
  * @export
@@ -1112,18 +988,6 @@ export interface ClusterJarApiUploadClusterJarRequest {
1112
988
  * @extends {BaseAPI}
1113
989
  */
1114
990
  export class ClusterJarApi extends BaseAPI implements ClusterJarApiInterface {
1115
- /**
1116
- *
1117
- * @summary Archive a JAR while retaining published files and startup synchronization
1118
- * @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
1119
- * @param {*} [options] Override http request option.
1120
- * @throws {RequiredError}
1121
- * @memberof ClusterJarApi
1122
- */
1123
- public archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
1124
- return ClusterJarApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
1125
- }
1126
-
1127
991
  /**
1128
992
  *
1129
993
  * @summary Delete an unpublished JAR version
@@ -764,59 +764,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
764
764
  options: localVarRequestOptions,
765
765
  };
766
766
  },
767
- /**
768
- *
769
- * @summary Archive a JAR while retaining published files and startup synchronization
770
- * @param {string} engineName Doris or SelectDB engine of the target cluster.
771
- * @param {string} orgName
772
- * @param {string} clusterName
773
- * @param {string} jarId
774
- * @param {*} [options] Override http request option.
775
- * @throws {RequiredError}
776
- */
777
- archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
778
- // verify required parameter 'engineName' is not null or undefined
779
- assertParamExists('archiveClusterJar', 'engineName', engineName)
780
- // verify required parameter 'orgName' is not null or undefined
781
- assertParamExists('archiveClusterJar', 'orgName', orgName)
782
- // verify required parameter 'clusterName' is not null or undefined
783
- assertParamExists('archiveClusterJar', 'clusterName', clusterName)
784
- // verify required parameter 'jarId' is not null or undefined
785
- assertParamExists('archiveClusterJar', 'jarId', jarId)
786
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
787
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
788
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
789
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
790
- .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
791
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
792
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
793
- let baseOptions;
794
- if (configuration) {
795
- baseOptions = configuration.baseOptions;
796
- }
797
-
798
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
799
- const localVarHeaderParameter = {} as any;
800
- const localVarQueryParameter = {} as any;
801
-
802
- // authentication BearerToken required
803
- // http bearer authentication required
804
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
805
-
806
- // authentication DigestAuth required
807
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
808
-
809
-
810
-
811
- setSearchParams(localVarUrlObj, localVarQueryParameter);
812
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
813
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
814
-
815
- return {
816
- url: toPathString(localVarUrlObj),
817
- options: localVarRequestOptions,
818
- };
819
- },
820
767
  /**
821
768
  * list the service version of the engine
822
769
  * @summary list the service version of the engine
@@ -17949,22 +17896,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
17949
17896
  const localVarOperationServerBasePath = operationServerMap['SharedApi.alterParameter']?.[localVarOperationServerIndex]?.url;
17950
17897
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17951
17898
  },
17952
- /**
17953
- *
17954
- * @summary Archive a JAR while retaining published files and startup synchronization
17955
- * @param {string} engineName Doris or SelectDB engine of the target cluster.
17956
- * @param {string} orgName
17957
- * @param {string} clusterName
17958
- * @param {string} jarId
17959
- * @param {*} [options] Override http request option.
17960
- * @throws {RequiredError}
17961
- */
17962
- async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
17963
- const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
17964
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17965
- const localVarOperationServerBasePath = operationServerMap['SharedApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
17966
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17967
- },
17968
17899
  /**
17969
17900
  * list the service version of the engine
17970
17901
  * @summary list the service version of the engine
@@ -22967,16 +22898,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22967
22898
  alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
22968
22899
  return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
22969
22900
  },
22970
- /**
22971
- *
22972
- * @summary Archive a JAR while retaining published files and startup synchronization
22973
- * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
22974
- * @param {*} [options] Override http request option.
22975
- * @throws {RequiredError}
22976
- */
22977
- archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22978
- return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
22979
- },
22980
22901
  /**
22981
22902
  * list the service version of the engine
22982
22903
  * @summary list the service version of the engine
@@ -26160,16 +26081,6 @@ export interface SharedApiInterface {
26160
26081
  */
26161
26082
  alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
26162
26083
 
26163
- /**
26164
- *
26165
- * @summary Archive a JAR while retaining published files and startup synchronization
26166
- * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
26167
- * @param {*} [options] Override http request option.
26168
- * @throws {RequiredError}
26169
- * @memberof SharedApiInterface
26170
- */
26171
- archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26172
-
26173
26084
  /**
26174
26085
  * list the service version of the engine
26175
26086
  * @summary list the service version of the engine
@@ -29545,41 +29456,6 @@ export interface SharedApiAlterParameterRequest {
29545
29456
  readonly dmsObAlterParameter: DmsObAlterParameter
29546
29457
  }
29547
29458
 
29548
- /**
29549
- * Request parameters for archiveClusterJar operation in SharedApi.
29550
- * @export
29551
- * @interface SharedApiArchiveClusterJarRequest
29552
- */
29553
- export interface SharedApiArchiveClusterJarRequest {
29554
- /**
29555
- * Doris or SelectDB engine of the target cluster.
29556
- * @type {string}
29557
- * @memberof SharedApiArchiveClusterJar
29558
- */
29559
- readonly engineName: string
29560
-
29561
- /**
29562
- *
29563
- * @type {string}
29564
- * @memberof SharedApiArchiveClusterJar
29565
- */
29566
- readonly orgName: string
29567
-
29568
- /**
29569
- *
29570
- * @type {string}
29571
- * @memberof SharedApiArchiveClusterJar
29572
- */
29573
- readonly clusterName: string
29574
-
29575
- /**
29576
- *
29577
- * @type {string}
29578
- * @memberof SharedApiArchiveClusterJar
29579
- */
29580
- readonly jarId: string
29581
- }
29582
-
29583
29459
  /**
29584
29460
  * Request parameters for availableServiceVersion operation in SharedApi.
29585
29461
  * @export
@@ -40078,18 +39954,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40078
39954
  return SharedApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
40079
39955
  }
40080
39956
 
40081
- /**
40082
- *
40083
- * @summary Archive a JAR while retaining published files and startup synchronization
40084
- * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
40085
- * @param {*} [options] Override http request option.
40086
- * @throws {RequiredError}
40087
- * @memberof SharedApi
40088
- */
40089
- public archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
40090
- return SharedApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
40091
- }
40092
-
40093
39957
  /**
40094
39958
  * list the service version of the engine
40095
39959
  * @summary list the service version of the engine
@@ -30,6 +30,8 @@ import type { Task } from '../models';
30
30
  // @ts-ignore
31
31
  import type { TaskList } from '../models';
32
32
  // @ts-ignore
33
+ import type { TaskRetryMode } from '../models';
34
+ // @ts-ignore
33
35
  import type { TaskTypeList } from '../models';
34
36
  /**
35
37
  * TaskApi - axios parameter creator
@@ -375,13 +377,14 @@ export const TaskApiAxiosParamCreator = function (configuration?: Configuration)
375
377
  };
376
378
  },
377
379
  /**
378
- * retry task
380
+ * Restart a failed or stopped task. Resume requires the task type to declare resume in allowActions. The default mode is restart, which reruns all steps; resume preserves successful steps.
379
381
  * @summary Retry a task
380
382
  * @param {string} taskId ID of the task
383
+ * @param {TaskRetryMode} [mode] restart reruns all steps; resume preserves successful steps and reruns unfinished steps and PreFinish hooks.
381
384
  * @param {*} [options] Override http request option.
382
385
  * @throws {RequiredError}
383
386
  */
384
- retryTask: async (taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
387
+ retryTask: async (taskId: string, mode?: TaskRetryMode, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
385
388
  // verify required parameter 'taskId' is not null or undefined
386
389
  assertParamExists('retryTask', 'taskId', taskId)
387
390
  const localVarPath = `/admin/v1/tasks/{taskId}/retry`
@@ -404,6 +407,10 @@ export const TaskApiAxiosParamCreator = function (configuration?: Configuration)
404
407
  // authentication DigestAuth required
405
408
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
406
409
 
410
+ if (mode !== undefined) {
411
+ localVarQueryParameter['mode'] = mode;
412
+ }
413
+
407
414
 
408
415
 
409
416
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -567,14 +574,15 @@ export const TaskApiFp = function(configuration?: Configuration) {
567
574
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
568
575
  },
569
576
  /**
570
- * retry task
577
+ * Restart a failed or stopped task. Resume requires the task type to declare resume in allowActions. The default mode is restart, which reruns all steps; resume preserves successful steps.
571
578
  * @summary Retry a task
572
579
  * @param {string} taskId ID of the task
580
+ * @param {TaskRetryMode} [mode] restart reruns all steps; resume preserves successful steps and reruns unfinished steps and PreFinish hooks.
573
581
  * @param {*} [options] Override http request option.
574
582
  * @throws {RequiredError}
575
583
  */
576
- async retryTask(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>> {
577
- const localVarAxiosArgs = await localVarAxiosParamCreator.retryTask(taskId, options);
584
+ async retryTask(taskId: string, mode?: TaskRetryMode, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>> {
585
+ const localVarAxiosArgs = await localVarAxiosParamCreator.retryTask(taskId, mode, options);
578
586
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
579
587
  const localVarOperationServerBasePath = operationServerMap['TaskApi.retryTask']?.[localVarOperationServerIndex]?.url;
580
588
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -672,14 +680,14 @@ export const TaskApiFactory = function (configuration?: Configuration, basePath?
672
680
  return localVarFp.listTasks(requestParameters.start, requestParameters.end, requestParameters.orgName, requestParameters.resourceId, requestParameters.resourceType, requestParameters.taskType, requestParameters.status, requestParameters.pageNumber, requestParameters.pageSize, options).then((request) => request(axios, basePath));
673
681
  },
674
682
  /**
675
- * retry task
683
+ * Restart a failed or stopped task. Resume requires the task type to declare resume in allowActions. The default mode is restart, which reruns all steps; resume preserves successful steps.
676
684
  * @summary Retry a task
677
685
  * @param {TaskApiRetryTaskRequest} requestParameters Request parameters.
678
686
  * @param {*} [options] Override http request option.
679
687
  * @throws {RequiredError}
680
688
  */
681
689
  retryTask(requestParameters: TaskApiRetryTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task> {
682
- return localVarFp.retryTask(requestParameters.taskId, options).then((request) => request(axios, basePath));
690
+ return localVarFp.retryTask(requestParameters.taskId, requestParameters.mode, options).then((request) => request(axios, basePath));
683
691
  },
684
692
  /**
685
693
  * stop task
@@ -770,7 +778,7 @@ export interface TaskApiInterface {
770
778
  listTasks(requestParameters: TaskApiListTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<TaskList>;
771
779
 
772
780
  /**
773
- * retry task
781
+ * Restart a failed or stopped task. Resume requires the task type to declare resume in allowActions. The default mode is restart, which reruns all steps; resume preserves successful steps.
774
782
  * @summary Retry a task
775
783
  * @param {TaskApiRetryTaskRequest} requestParameters Request parameters.
776
784
  * @param {*} [options] Override http request option.
@@ -957,6 +965,13 @@ export interface TaskApiRetryTaskRequest {
957
965
  * @memberof TaskApiRetryTask
958
966
  */
959
967
  readonly taskId: string
968
+
969
+ /**
970
+ * restart reruns all steps; resume preserves successful steps and reruns unfinished steps and PreFinish hooks.
971
+ * @type {TaskRetryMode}
972
+ * @memberof TaskApiRetryTask
973
+ */
974
+ readonly mode?: TaskRetryMode
960
975
  }
961
976
 
962
977
  /**
@@ -1064,7 +1079,7 @@ export class TaskApi extends BaseAPI implements TaskApiInterface {
1064
1079
  }
1065
1080
 
1066
1081
  /**
1067
- * retry task
1082
+ * Restart a failed or stopped task. Resume requires the task type to declare resume in allowActions. The default mode is restart, which reruns all steps; resume preserves successful steps.
1068
1083
  * @summary Retry a task
1069
1084
  * @param {TaskApiRetryTaskRequest} requestParameters Request parameters.
1070
1085
  * @param {*} [options] Override http request option.
@@ -1072,7 +1087,7 @@ export class TaskApi extends BaseAPI implements TaskApiInterface {
1072
1087
  * @memberof TaskApi
1073
1088
  */
1074
1089
  public retryTask(requestParameters: TaskApiRetryTaskRequest, options?: RawAxiosRequestConfig) {
1075
- return TaskApiFp(this.configuration).retryTask(requestParameters.taskId, options).then((request) => request(this.axios, this.basePath));
1090
+ return TaskApiFp(this.configuration).retryTask(requestParameters.taskId, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
1076
1091
  }
1077
1092
 
1078
1093
  /**