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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/cluster-jar-api.d.ts +702 -0
  6. package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -0
  7. package/dist/adminapi/apis/cluster-jar-api.js +758 -0
  8. package/dist/adminapi/apis/cluster-jar-api.js.map +1 -0
  9. package/dist/adminapi/apis/environment-api.d.ts +95 -0
  10. package/dist/adminapi/apis/environment-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/environment-api.js +93 -0
  12. package/dist/adminapi/apis/environment-api.js.map +1 -1
  13. package/dist/adminapi/apis/parameter-template-api.d.ts +18 -10
  14. package/dist/adminapi/apis/parameter-template-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/parameter-template-api.js +16 -11
  16. package/dist/adminapi/apis/parameter-template-api.js.map +1 -1
  17. package/dist/adminapi/apis/shared-api.d.ts +654 -0
  18. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  19. package/dist/adminapi/apis/shared-api.js +694 -0
  20. package/dist/adminapi/apis/shared-api.js.map +1 -1
  21. package/dist/adminapi/models/cluster-jar-config.d.ts +61 -0
  22. package/dist/adminapi/models/cluster-jar-config.d.ts.map +1 -0
  23. package/dist/adminapi/models/cluster-jar-config.js +16 -0
  24. package/dist/adminapi/models/cluster-jar-config.js.map +1 -0
  25. package/dist/adminapi/models/cluster-jar-kind.d.ts +22 -0
  26. package/dist/adminapi/models/cluster-jar-kind.d.ts.map +1 -0
  27. package/dist/adminapi/models/cluster-jar-kind.js +26 -0
  28. package/dist/adminapi/models/cluster-jar-kind.js.map +1 -0
  29. package/dist/adminapi/models/cluster-jar-list.d.ts +32 -0
  30. package/dist/adminapi/models/cluster-jar-list.d.ts.map +1 -0
  31. package/dist/adminapi/models/cluster-jar-list.js +16 -0
  32. package/dist/adminapi/models/cluster-jar-list.js.map +1 -0
  33. package/dist/adminapi/models/cluster-jar-package.d.ts +111 -0
  34. package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -0
  35. package/dist/adminapi/models/cluster-jar-package.js +16 -0
  36. package/dist/adminapi/models/cluster-jar-package.js.map +1 -0
  37. package/dist/adminapi/models/cluster-jar-publish.d.ts +25 -0
  38. package/dist/adminapi/models/cluster-jar-publish.d.ts.map +1 -0
  39. package/dist/adminapi/models/cluster-jar-publish.js +16 -0
  40. package/dist/adminapi/models/cluster-jar-publish.js.map +1 -0
  41. package/dist/adminapi/models/cluster-jar-replica.d.ts +61 -0
  42. package/dist/adminapi/models/cluster-jar-replica.d.ts.map +1 -0
  43. package/dist/adminapi/models/cluster-jar-replica.js +16 -0
  44. package/dist/adminapi/models/cluster-jar-replica.js.map +1 -0
  45. package/dist/adminapi/models/cluster-jar-task.d.ts +25 -0
  46. package/dist/adminapi/models/cluster-jar-task.d.ts.map +1 -0
  47. package/dist/adminapi/models/cluster-jar-task.js +16 -0
  48. package/dist/adminapi/models/cluster-jar-task.js.map +1 -0
  49. package/dist/adminapi/models/engine-option-history.d.ts +5 -4
  50. package/dist/adminapi/models/engine-option-history.d.ts.map +1 -1
  51. package/dist/adminapi/models/index.d.ts +7 -0
  52. package/dist/adminapi/models/index.d.ts.map +1 -1
  53. package/dist/adminapi/models/index.js +7 -0
  54. package/dist/adminapi/models/index.js.map +1 -1
  55. package/dist/openapi/api.d.ts +1 -0
  56. package/dist/openapi/api.d.ts.map +1 -1
  57. package/dist/openapi/api.js +1 -0
  58. package/dist/openapi/api.js.map +1 -1
  59. package/dist/openapi/apis/cluster-jar-api.d.ts +702 -0
  60. package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -0
  61. package/dist/openapi/apis/cluster-jar-api.js +758 -0
  62. package/dist/openapi/apis/cluster-jar-api.js.map +1 -0
  63. package/dist/openapi/apis/shared-api.d.ts +654 -0
  64. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  65. package/dist/openapi/apis/shared-api.js +694 -0
  66. package/dist/openapi/apis/shared-api.js.map +1 -1
  67. package/dist/openapi/models/cluster-jar-config.d.ts +61 -0
  68. package/dist/openapi/models/cluster-jar-config.d.ts.map +1 -0
  69. package/dist/openapi/models/cluster-jar-config.js +16 -0
  70. package/dist/openapi/models/cluster-jar-config.js.map +1 -0
  71. package/dist/openapi/models/cluster-jar-kind.d.ts +22 -0
  72. package/dist/openapi/models/cluster-jar-kind.d.ts.map +1 -0
  73. package/dist/openapi/models/cluster-jar-kind.js +26 -0
  74. package/dist/openapi/models/cluster-jar-kind.js.map +1 -0
  75. package/dist/openapi/models/cluster-jar-list.d.ts +32 -0
  76. package/dist/openapi/models/cluster-jar-list.d.ts.map +1 -0
  77. package/dist/openapi/models/cluster-jar-list.js +16 -0
  78. package/dist/openapi/models/cluster-jar-list.js.map +1 -0
  79. package/dist/openapi/models/cluster-jar-package.d.ts +111 -0
  80. package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -0
  81. package/dist/openapi/models/cluster-jar-package.js +16 -0
  82. package/dist/openapi/models/cluster-jar-package.js.map +1 -0
  83. package/dist/openapi/models/cluster-jar-publish.d.ts +25 -0
  84. package/dist/openapi/models/cluster-jar-publish.d.ts.map +1 -0
  85. package/dist/openapi/models/cluster-jar-publish.js +16 -0
  86. package/dist/openapi/models/cluster-jar-publish.js.map +1 -0
  87. package/dist/openapi/models/cluster-jar-replica.d.ts +61 -0
  88. package/dist/openapi/models/cluster-jar-replica.d.ts.map +1 -0
  89. package/dist/openapi/models/cluster-jar-replica.js +16 -0
  90. package/dist/openapi/models/cluster-jar-replica.js.map +1 -0
  91. package/dist/openapi/models/cluster-jar-task.d.ts +25 -0
  92. package/dist/openapi/models/cluster-jar-task.d.ts.map +1 -0
  93. package/dist/openapi/models/cluster-jar-task.js +16 -0
  94. package/dist/openapi/models/cluster-jar-task.js.map +1 -0
  95. package/dist/openapi/models/index.d.ts +7 -0
  96. package/dist/openapi/models/index.d.ts.map +1 -1
  97. package/dist/openapi/models/index.js +7 -0
  98. package/dist/openapi/models/index.js.map +1 -1
  99. package/package.json +1 -1
  100. package/src/adminapi/.openapi-generator/FILES +8 -0
  101. package/src/adminapi/api.ts +1 -0
  102. package/src/adminapi/apis/cluster-jar-api.ts +1211 -0
  103. package/src/adminapi/apis/environment-api.ts +155 -0
  104. package/src/adminapi/apis/parameter-template-api.ts +26 -13
  105. package/src/adminapi/apis/shared-api.ts +1141 -0
  106. package/src/adminapi/models/cluster-jar-config.ts +66 -0
  107. package/src/adminapi/models/cluster-jar-kind.ts +31 -0
  108. package/src/adminapi/models/cluster-jar-list.ts +39 -0
  109. package/src/adminapi/models/cluster-jar-package.ts +122 -0
  110. package/src/adminapi/models/cluster-jar-publish.ts +30 -0
  111. package/src/adminapi/models/cluster-jar-replica.ts +66 -0
  112. package/src/adminapi/models/cluster-jar-task.ts +30 -0
  113. package/src/adminapi/models/engine-option-history.ts +3 -6
  114. package/src/adminapi/models/index.ts +7 -0
  115. package/src/adminapi.yaml +682 -72
  116. package/src/internalapi.yaml +2 -4
  117. package/src/openapi/.openapi-generator/FILES +8 -0
  118. package/src/openapi/api.ts +1 -0
  119. package/src/openapi/apis/cluster-jar-api.ts +1211 -0
  120. package/src/openapi/apis/shared-api.ts +1165 -24
  121. package/src/openapi/models/cluster-jar-config.ts +66 -0
  122. package/src/openapi/models/cluster-jar-kind.ts +31 -0
  123. package/src/openapi/models/cluster-jar-list.ts +39 -0
  124. package/src/openapi/models/cluster-jar-package.ts +122 -0
  125. package/src/openapi/models/cluster-jar-publish.ts +30 -0
  126. package/src/openapi/models/cluster-jar-replica.ts +66 -0
  127. package/src/openapi/models/cluster-jar-task.ts +30 -0
  128. package/src/openapi/models/index.ts +7 -0
  129. package/src/openapi.yaml +606 -65
@@ -90,6 +90,18 @@ import type { ClusterExecutionLog } from '../models';
90
90
  // @ts-ignore
91
91
  import type { ClusterExecutionLogAggregateResponse } from '../models';
92
92
  // @ts-ignore
93
+ import type { ClusterJarConfig } from '../models';
94
+ // @ts-ignore
95
+ import type { ClusterJarKind } from '../models';
96
+ // @ts-ignore
97
+ import type { ClusterJarList } from '../models';
98
+ // @ts-ignore
99
+ import type { ClusterJarPackage } from '../models';
100
+ // @ts-ignore
101
+ import type { ClusterJarPublish } from '../models';
102
+ // @ts-ignore
103
+ import type { ClusterJarTask } from '../models';
104
+ // @ts-ignore
93
105
  import type { ClusterList } from '../models';
94
106
  // @ts-ignore
95
107
  import type { ClusterLogHitsResponse } from '../models';
@@ -791,6 +803,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
791
803
  options: localVarRequestOptions,
792
804
  };
793
805
  },
806
+ /**
807
+ *
808
+ * @summary Archive a JAR while retaining published files and startup synchronization
809
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
810
+ * @param {string} orgName
811
+ * @param {string} clusterName
812
+ * @param {string} jarId
813
+ * @param {*} [options] Override http request option.
814
+ * @throws {RequiredError}
815
+ */
816
+ archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
817
+ // verify required parameter 'engineName' is not null or undefined
818
+ assertParamExists('archiveClusterJar', 'engineName', engineName)
819
+ // verify required parameter 'orgName' is not null or undefined
820
+ assertParamExists('archiveClusterJar', 'orgName', orgName)
821
+ // verify required parameter 'clusterName' is not null or undefined
822
+ assertParamExists('archiveClusterJar', 'clusterName', clusterName)
823
+ // verify required parameter 'jarId' is not null or undefined
824
+ assertParamExists('archiveClusterJar', 'jarId', jarId)
825
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
826
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
827
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
828
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
829
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
830
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
831
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
832
+ let baseOptions;
833
+ if (configuration) {
834
+ baseOptions = configuration.baseOptions;
835
+ }
836
+
837
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
838
+ const localVarHeaderParameter = {} as any;
839
+ const localVarQueryParameter = {} as any;
840
+
841
+ // authentication BearerToken required
842
+ // http bearer authentication required
843
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
844
+
845
+ // authentication DigestAuth required
846
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
847
+
848
+
849
+
850
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
851
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
852
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
853
+
854
+ return {
855
+ url: toPathString(localVarUrlObj),
856
+ options: localVarRequestOptions,
857
+ };
858
+ },
794
859
  /**
795
860
  * Batch add permissions to a role
796
861
  * @summary Batch add permissions to a role
@@ -3063,6 +3128,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3063
3128
 
3064
3129
 
3065
3130
 
3131
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3133
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3134
+
3135
+ return {
3136
+ url: toPathString(localVarUrlObj),
3137
+ options: localVarRequestOptions,
3138
+ };
3139
+ },
3140
+ /**
3141
+ *
3142
+ * @summary Delete an unpublished JAR version
3143
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3144
+ * @param {string} orgName
3145
+ * @param {string} clusterName
3146
+ * @param {string} jarId
3147
+ * @param {*} [options] Override http request option.
3148
+ * @throws {RequiredError}
3149
+ */
3150
+ deleteClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3151
+ // verify required parameter 'engineName' is not null or undefined
3152
+ assertParamExists('deleteClusterJar', 'engineName', engineName)
3153
+ // verify required parameter 'orgName' is not null or undefined
3154
+ assertParamExists('deleteClusterJar', 'orgName', orgName)
3155
+ // verify required parameter 'clusterName' is not null or undefined
3156
+ assertParamExists('deleteClusterJar', 'clusterName', clusterName)
3157
+ // verify required parameter 'jarId' is not null or undefined
3158
+ assertParamExists('deleteClusterJar', 'jarId', jarId)
3159
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
3160
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3161
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3162
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3163
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3164
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3165
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3166
+ let baseOptions;
3167
+ if (configuration) {
3168
+ baseOptions = configuration.baseOptions;
3169
+ }
3170
+
3171
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3172
+ const localVarHeaderParameter = {} as any;
3173
+ const localVarQueryParameter = {} as any;
3174
+
3175
+ // authentication BearerToken required
3176
+ // http bearer authentication required
3177
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3178
+
3179
+ // authentication DigestAuth required
3180
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3181
+
3182
+
3183
+
3066
3184
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3067
3185
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3068
3186
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -4514,6 +4632,65 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4514
4632
  options: localVarRequestOptions,
4515
4633
  };
4516
4634
  },
4635
+ /**
4636
+ *
4637
+ * @summary Publish a JAR with optimistic manifest version checking
4638
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
4639
+ * @param {string} orgName
4640
+ * @param {string} clusterName
4641
+ * @param {string} jarId
4642
+ * @param {ClusterJarPublish} clusterJarPublish
4643
+ * @param {*} [options] Override http request option.
4644
+ * @throws {RequiredError}
4645
+ */
4646
+ distributeClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4647
+ // verify required parameter 'engineName' is not null or undefined
4648
+ assertParamExists('distributeClusterJar', 'engineName', engineName)
4649
+ // verify required parameter 'orgName' is not null or undefined
4650
+ assertParamExists('distributeClusterJar', 'orgName', orgName)
4651
+ // verify required parameter 'clusterName' is not null or undefined
4652
+ assertParamExists('distributeClusterJar', 'clusterName', clusterName)
4653
+ // verify required parameter 'jarId' is not null or undefined
4654
+ assertParamExists('distributeClusterJar', 'jarId', jarId)
4655
+ // verify required parameter 'clusterJarPublish' is not null or undefined
4656
+ assertParamExists('distributeClusterJar', 'clusterJarPublish', clusterJarPublish)
4657
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
4658
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4659
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4660
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4661
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
4662
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4663
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4664
+ let baseOptions;
4665
+ if (configuration) {
4666
+ baseOptions = configuration.baseOptions;
4667
+ }
4668
+
4669
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4670
+ const localVarHeaderParameter = {} as any;
4671
+ const localVarQueryParameter = {} as any;
4672
+
4673
+ // authentication BearerToken required
4674
+ // http bearer authentication required
4675
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4676
+
4677
+ // authentication DigestAuth required
4678
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4679
+
4680
+
4681
+
4682
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4683
+
4684
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4685
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4686
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4687
+ localVarRequestOptions.data = serializeDataIfNeeded(clusterJarPublish, localVarRequestOptions, configuration)
4688
+
4689
+ return {
4690
+ url: toPathString(localVarUrlObj),
4691
+ options: localVarRequestOptions,
4692
+ };
4693
+ },
4517
4694
  /**
4518
4695
  *
4519
4696
  * @summary Restore current cluster or instance
@@ -4601,6 +4778,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4601
4778
 
4602
4779
 
4603
4780
 
4781
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4782
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4783
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4784
+
4785
+ return {
4786
+ url: toPathString(localVarUrlObj),
4787
+ options: localVarRequestOptions,
4788
+ };
4789
+ },
4790
+ /**
4791
+ *
4792
+ * @summary Download the original JAR
4793
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
4794
+ * @param {string} orgName
4795
+ * @param {string} clusterName
4796
+ * @param {string} jarId
4797
+ * @param {*} [options] Override http request option.
4798
+ * @throws {RequiredError}
4799
+ */
4800
+ downloadClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4801
+ // verify required parameter 'engineName' is not null or undefined
4802
+ assertParamExists('downloadClusterJar', 'engineName', engineName)
4803
+ // verify required parameter 'orgName' is not null or undefined
4804
+ assertParamExists('downloadClusterJar', 'orgName', orgName)
4805
+ // verify required parameter 'clusterName' is not null or undefined
4806
+ assertParamExists('downloadClusterJar', 'clusterName', clusterName)
4807
+ // verify required parameter 'jarId' is not null or undefined
4808
+ assertParamExists('downloadClusterJar', 'jarId', jarId)
4809
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
4810
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4811
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4812
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4813
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
4814
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4815
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4816
+ let baseOptions;
4817
+ if (configuration) {
4818
+ baseOptions = configuration.baseOptions;
4819
+ }
4820
+
4821
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4822
+ const localVarHeaderParameter = {} as any;
4823
+ const localVarQueryParameter = {} as any;
4824
+
4825
+ // authentication BearerToken required
4826
+ // http bearer authentication required
4827
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4828
+
4829
+ // authentication DigestAuth required
4830
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4831
+
4832
+
4833
+
4604
4834
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4605
4835
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4606
4836
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -6072,6 +6302,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
6072
6302
 
6073
6303
 
6074
6304
 
6305
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6306
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6307
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6308
+
6309
+ return {
6310
+ url: toPathString(localVarUrlObj),
6311
+ options: localVarRequestOptions,
6312
+ };
6313
+ },
6314
+ /**
6315
+ *
6316
+ * @summary Get external JAR capability and configuration
6317
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
6318
+ * @param {string} orgName
6319
+ * @param {string} clusterName
6320
+ * @param {*} [options] Override http request option.
6321
+ * @throws {RequiredError}
6322
+ */
6323
+ getClusterJarConfig: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6324
+ // verify required parameter 'engineName' is not null or undefined
6325
+ assertParamExists('getClusterJarConfig', 'engineName', engineName)
6326
+ // verify required parameter 'orgName' is not null or undefined
6327
+ assertParamExists('getClusterJarConfig', 'orgName', orgName)
6328
+ // verify required parameter 'clusterName' is not null or undefined
6329
+ assertParamExists('getClusterJarConfig', 'clusterName', clusterName)
6330
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
6331
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6332
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6333
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6334
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6335
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6336
+ let baseOptions;
6337
+ if (configuration) {
6338
+ baseOptions = configuration.baseOptions;
6339
+ }
6340
+
6341
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6342
+ const localVarHeaderParameter = {} as any;
6343
+ const localVarQueryParameter = {} as any;
6344
+
6345
+ // authentication BearerToken required
6346
+ // http bearer authentication required
6347
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6348
+
6349
+ // authentication DigestAuth required
6350
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
6351
+
6352
+
6353
+
6075
6354
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6076
6355
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6077
6356
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9260,18 +9539,22 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9260
9539
  },
9261
9540
  /**
9262
9541
  *
9263
- * @summary List restore tasks
9264
- * @param {string} orgName name of the Org
9265
- * @param {string} clusterName name of the KubeBlocks cluster
9542
+ * @summary List external JAR versions with metadata and per-instance synchronization state
9543
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
9544
+ * @param {string} orgName
9545
+ * @param {string} clusterName
9266
9546
  * @param {*} [options] Override http request option.
9267
9547
  * @throws {RequiredError}
9268
9548
  */
9269
- listClusterRestore: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9549
+ listClusterJars: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9550
+ // verify required parameter 'engineName' is not null or undefined
9551
+ assertParamExists('listClusterJars', 'engineName', engineName)
9270
9552
  // verify required parameter 'orgName' is not null or undefined
9271
- assertParamExists('listClusterRestore', 'orgName', orgName)
9553
+ assertParamExists('listClusterJars', 'orgName', orgName)
9272
9554
  // verify required parameter 'clusterName' is not null or undefined
9273
- assertParamExists('listClusterRestore', 'clusterName', clusterName)
9274
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/restore`
9555
+ assertParamExists('listClusterJars', 'clusterName', clusterName)
9556
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
9557
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9275
9558
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9276
9559
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9277
9560
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -9305,18 +9588,18 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9305
9588
  },
9306
9589
  /**
9307
9590
  *
9308
- * @summary list the datasource of a cluster
9591
+ * @summary List restore tasks
9309
9592
  * @param {string} orgName name of the Org
9310
- * @param {string} clusterName name of the cluster
9593
+ * @param {string} clusterName name of the KubeBlocks cluster
9311
9594
  * @param {*} [options] Override http request option.
9312
9595
  * @throws {RequiredError}
9313
9596
  */
9314
- listDataSourceV2: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9597
+ listClusterRestore: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9315
9598
  // verify required parameter 'orgName' is not null or undefined
9316
- assertParamExists('listDataSourceV2', 'orgName', orgName)
9599
+ assertParamExists('listClusterRestore', 'orgName', orgName)
9317
9600
  // verify required parameter 'clusterName' is not null or undefined
9318
- assertParamExists('listDataSourceV2', 'clusterName', clusterName)
9319
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource`
9601
+ assertParamExists('listClusterRestore', 'clusterName', clusterName)
9602
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/restore`
9320
9603
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9321
9604
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9322
9605
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -9349,23 +9632,68 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9349
9632
  };
9350
9633
  },
9351
9634
  /**
9352
- * list databases for rdbms engine cluster
9353
- * @summary List cluster databases
9354
- * @param {string} engineName name of the engine
9635
+ *
9636
+ * @summary list the datasource of a cluster
9355
9637
  * @param {string} orgName name of the Org
9356
- * @param {string} clusterName name of the Cluster
9638
+ * @param {string} clusterName name of the cluster
9357
9639
  * @param {*} [options] Override http request option.
9358
9640
  * @throws {RequiredError}
9359
9641
  */
9360
- listDatabases: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9361
- // verify required parameter 'engineName' is not null or undefined
9362
- assertParamExists('listDatabases', 'engineName', engineName)
9642
+ listDataSourceV2: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9363
9643
  // verify required parameter 'orgName' is not null or undefined
9364
- assertParamExists('listDatabases', 'orgName', orgName)
9644
+ assertParamExists('listDataSourceV2', 'orgName', orgName)
9365
9645
  // verify required parameter 'clusterName' is not null or undefined
9366
- assertParamExists('listDatabases', 'clusterName', clusterName)
9367
- const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases`
9368
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9646
+ assertParamExists('listDataSourceV2', 'clusterName', clusterName)
9647
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource`
9648
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9649
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9650
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9651
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9652
+ let baseOptions;
9653
+ if (configuration) {
9654
+ baseOptions = configuration.baseOptions;
9655
+ }
9656
+
9657
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9658
+ const localVarHeaderParameter = {} as any;
9659
+ const localVarQueryParameter = {} as any;
9660
+
9661
+ // authentication BearerToken required
9662
+ // http bearer authentication required
9663
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9664
+
9665
+ // authentication DigestAuth required
9666
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9667
+
9668
+
9669
+
9670
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9671
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9672
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9673
+
9674
+ return {
9675
+ url: toPathString(localVarUrlObj),
9676
+ options: localVarRequestOptions,
9677
+ };
9678
+ },
9679
+ /**
9680
+ * list databases for rdbms engine cluster
9681
+ * @summary List cluster databases
9682
+ * @param {string} engineName name of the engine
9683
+ * @param {string} orgName name of the Org
9684
+ * @param {string} clusterName name of the Cluster
9685
+ * @param {*} [options] Override http request option.
9686
+ * @throws {RequiredError}
9687
+ */
9688
+ listDatabases: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9689
+ // verify required parameter 'engineName' is not null or undefined
9690
+ assertParamExists('listDatabases', 'engineName', engineName)
9691
+ // verify required parameter 'orgName' is not null or undefined
9692
+ assertParamExists('listDatabases', 'orgName', orgName)
9693
+ // verify required parameter 'clusterName' is not null or undefined
9694
+ assertParamExists('listDatabases', 'clusterName', clusterName)
9695
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases`
9696
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9369
9697
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9370
9698
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9371
9699
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -14656,6 +14984,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14656
14984
 
14657
14985
 
14658
14986
 
14987
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14988
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14989
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14990
+
14991
+ return {
14992
+ url: toPathString(localVarUrlObj),
14993
+ options: localVarRequestOptions,
14994
+ };
14995
+ },
14996
+ /**
14997
+ *
14998
+ * @summary Retry synchronization of published JARs
14999
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
15000
+ * @param {string} orgName
15001
+ * @param {string} clusterName
15002
+ * @param {string} jarId
15003
+ * @param {*} [options] Override http request option.
15004
+ * @throws {RequiredError}
15005
+ */
15006
+ retryClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15007
+ // verify required parameter 'engineName' is not null or undefined
15008
+ assertParamExists('retryClusterJar', 'engineName', engineName)
15009
+ // verify required parameter 'orgName' is not null or undefined
15010
+ assertParamExists('retryClusterJar', 'orgName', orgName)
15011
+ // verify required parameter 'clusterName' is not null or undefined
15012
+ assertParamExists('retryClusterJar', 'clusterName', clusterName)
15013
+ // verify required parameter 'jarId' is not null or undefined
15014
+ assertParamExists('retryClusterJar', 'jarId', jarId)
15015
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
15016
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
15017
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
15018
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
15019
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
15020
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15021
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15022
+ let baseOptions;
15023
+ if (configuration) {
15024
+ baseOptions = configuration.baseOptions;
15025
+ }
15026
+
15027
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15028
+ const localVarHeaderParameter = {} as any;
15029
+ const localVarQueryParameter = {} as any;
15030
+
15031
+ // authentication BearerToken required
15032
+ // http bearer authentication required
15033
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15034
+
15035
+ // authentication DigestAuth required
15036
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
15037
+
15038
+
15039
+
14659
15040
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14660
15041
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14661
15042
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -17214,6 +17595,86 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
17214
17595
  options: localVarRequestOptions,
17215
17596
  };
17216
17597
  },
17598
+ /**
17599
+ *
17600
+ * @summary Upload an immutable JAR version
17601
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
17602
+ * @param {string} orgName
17603
+ * @param {string} clusterName
17604
+ * @param {string} idempotencyKey
17605
+ * @param {string} name
17606
+ * @param {ClusterJarKind} kind
17607
+ * @param {File} file
17608
+ * @param {*} [options] Override http request option.
17609
+ * @throws {RequiredError}
17610
+ */
17611
+ uploadClusterJar: async (engineName: string, orgName: string, clusterName: string, idempotencyKey: string, name: string, kind: ClusterJarKind, file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17612
+ // verify required parameter 'engineName' is not null or undefined
17613
+ assertParamExists('uploadClusterJar', 'engineName', engineName)
17614
+ // verify required parameter 'orgName' is not null or undefined
17615
+ assertParamExists('uploadClusterJar', 'orgName', orgName)
17616
+ // verify required parameter 'clusterName' is not null or undefined
17617
+ assertParamExists('uploadClusterJar', 'clusterName', clusterName)
17618
+ // verify required parameter 'idempotencyKey' is not null or undefined
17619
+ assertParamExists('uploadClusterJar', 'idempotencyKey', idempotencyKey)
17620
+ // verify required parameter 'name' is not null or undefined
17621
+ assertParamExists('uploadClusterJar', 'name', name)
17622
+ // verify required parameter 'kind' is not null or undefined
17623
+ assertParamExists('uploadClusterJar', 'kind', kind)
17624
+ // verify required parameter 'file' is not null or undefined
17625
+ assertParamExists('uploadClusterJar', 'file', file)
17626
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
17627
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
17628
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
17629
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
17630
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17631
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17632
+ let baseOptions;
17633
+ if (configuration) {
17634
+ baseOptions = configuration.baseOptions;
17635
+ }
17636
+
17637
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17638
+ const localVarHeaderParameter = {} as any;
17639
+ const localVarQueryParameter = {} as any;
17640
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
17641
+
17642
+ // authentication BearerToken required
17643
+ // http bearer authentication required
17644
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
17645
+
17646
+ // authentication DigestAuth required
17647
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
17648
+
17649
+
17650
+ if (name !== undefined) {
17651
+ localVarFormParams.append('name', name as any);
17652
+ }
17653
+
17654
+ if (kind !== undefined) {
17655
+ localVarFormParams.append('kind', kind as any);
17656
+ }
17657
+
17658
+ if (file !== undefined) {
17659
+ localVarFormParams.append('file', file as any);
17660
+ }
17661
+
17662
+
17663
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
17664
+
17665
+ if (idempotencyKey != null) {
17666
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
17667
+ }
17668
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17669
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17670
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17671
+ localVarRequestOptions.data = localVarFormParams;
17672
+
17673
+ return {
17674
+ url: toPathString(localVarUrlObj),
17675
+ options: localVarRequestOptions,
17676
+ };
17677
+ },
17217
17678
  /**
17218
17679
  *
17219
17680
  * @summary Validate cluster creation
@@ -17516,6 +17977,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
17516
17977
  const localVarOperationServerBasePath = operationServerMap['SharedApi.alterParameter']?.[localVarOperationServerIndex]?.url;
17517
17978
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17518
17979
  },
17980
+ /**
17981
+ *
17982
+ * @summary Archive a JAR while retaining published files and startup synchronization
17983
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
17984
+ * @param {string} orgName
17985
+ * @param {string} clusterName
17986
+ * @param {string} jarId
17987
+ * @param {*} [options] Override http request option.
17988
+ * @throws {RequiredError}
17989
+ */
17990
+ async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
17991
+ const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
17992
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17993
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
17994
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17995
+ },
17519
17996
  /**
17520
17997
  * Batch add permissions to a role
17521
17998
  * @summary Batch add permissions to a role
@@ -18193,6 +18670,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
18193
18670
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteCluster']?.[localVarOperationServerIndex]?.url;
18194
18671
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18195
18672
  },
18673
+ /**
18674
+ *
18675
+ * @summary Delete an unpublished JAR version
18676
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
18677
+ * @param {string} orgName
18678
+ * @param {string} clusterName
18679
+ * @param {string} jarId
18680
+ * @param {*} [options] Override http request option.
18681
+ * @throws {RequiredError}
18682
+ */
18683
+ async deleteClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18684
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
18685
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18686
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClusterJar']?.[localVarOperationServerIndex]?.url;
18687
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18688
+ },
18196
18689
  /**
18197
18690
  *
18198
18691
  * @summary delete the datasource
@@ -18629,6 +19122,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
18629
19122
  const localVarOperationServerBasePath = operationServerMap['SharedApi.disableConsole']?.[localVarOperationServerIndex]?.url;
18630
19123
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18631
19124
  },
19125
+ /**
19126
+ *
19127
+ * @summary Publish a JAR with optimistic manifest version checking
19128
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19129
+ * @param {string} orgName
19130
+ * @param {string} clusterName
19131
+ * @param {string} jarId
19132
+ * @param {ClusterJarPublish} clusterJarPublish
19133
+ * @param {*} [options] Override http request option.
19134
+ * @throws {RequiredError}
19135
+ */
19136
+ async distributeClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
19137
+ const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
19138
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19139
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.distributeClusterJar']?.[localVarOperationServerIndex]?.url;
19140
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19141
+ },
18632
19142
  /**
18633
19143
  *
18634
19144
  * @summary Restore current cluster or instance
@@ -18658,6 +19168,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
18658
19168
  const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadBackup']?.[localVarOperationServerIndex]?.url;
18659
19169
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18660
19170
  },
19171
+ /**
19172
+ *
19173
+ * @summary Download the original JAR
19174
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19175
+ * @param {string} orgName
19176
+ * @param {string} clusterName
19177
+ * @param {string} jarId
19178
+ * @param {*} [options] Override http request option.
19179
+ * @throws {RequiredError}
19180
+ */
19181
+ async downloadClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
19182
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
19183
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19184
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadClusterJar']?.[localVarOperationServerIndex]?.url;
19185
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19186
+ },
18661
19187
  /**
18662
19188
  *
18663
19189
  * @summary Download multiple backup files
@@ -19070,6 +19596,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
19070
19596
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterInstanceLog']?.[localVarOperationServerIndex]?.url;
19071
19597
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19072
19598
  },
19599
+ /**
19600
+ *
19601
+ * @summary Get external JAR capability and configuration
19602
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19603
+ * @param {string} orgName
19604
+ * @param {string} clusterName
19605
+ * @param {*} [options] Override http request option.
19606
+ * @throws {RequiredError}
19607
+ */
19608
+ async getClusterJarConfig(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarConfig>> {
19609
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
19610
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19611
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterJarConfig']?.[localVarOperationServerIndex]?.url;
19612
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19613
+ },
19073
19614
  /**
19074
19615
  *
19075
19616
  * @summary Get cluster parameter template
@@ -19994,6 +20535,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
19994
20535
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listCluster']?.[localVarOperationServerIndex]?.url;
19995
20536
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19996
20537
  },
20538
+ /**
20539
+ *
20540
+ * @summary List external JAR versions with metadata and per-instance synchronization state
20541
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
20542
+ * @param {string} orgName
20543
+ * @param {string} clusterName
20544
+ * @param {*} [options] Override http request option.
20545
+ * @throws {RequiredError}
20546
+ */
20547
+ async listClusterJars(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarList>> {
20548
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
20549
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20550
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterJars']?.[localVarOperationServerIndex]?.url;
20551
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20552
+ },
19997
20553
  /**
19998
20554
  *
19999
20555
  * @summary List restore tasks
@@ -21528,6 +22084,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
21528
22084
  const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreRecycleBinCluster']?.[localVarOperationServerIndex]?.url;
21529
22085
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21530
22086
  },
22087
+ /**
22088
+ *
22089
+ * @summary Retry synchronization of published JARs
22090
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
22091
+ * @param {string} orgName
22092
+ * @param {string} clusterName
22093
+ * @param {string} jarId
22094
+ * @param {*} [options] Override http request option.
22095
+ * @throws {RequiredError}
22096
+ */
22097
+ async retryClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
22098
+ const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
22099
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22100
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.retryClusterJar']?.[localVarOperationServerIndex]?.url;
22101
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22102
+ },
21531
22103
  /**
21532
22104
  *
21533
22105
  * @summary Revoke privileges from a ClickHouse role
@@ -22277,6 +22849,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
22277
22849
  const localVarOperationServerBasePath = operationServerMap['SharedApi.upgradeCluster']?.[localVarOperationServerIndex]?.url;
22278
22850
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22279
22851
  },
22852
+ /**
22853
+ *
22854
+ * @summary Upload an immutable JAR version
22855
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
22856
+ * @param {string} orgName
22857
+ * @param {string} clusterName
22858
+ * @param {string} idempotencyKey
22859
+ * @param {string} name
22860
+ * @param {ClusterJarKind} kind
22861
+ * @param {File} file
22862
+ * @param {*} [options] Override http request option.
22863
+ * @throws {RequiredError}
22864
+ */
22865
+ async uploadClusterJar(engineName: string, orgName: string, clusterName: string, idempotencyKey: string, name: string, kind: ClusterJarKind, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarPackage>> {
22866
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
22867
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22868
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.uploadClusterJar']?.[localVarOperationServerIndex]?.url;
22869
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22870
+ },
22280
22871
  /**
22281
22872
  *
22282
22873
  * @summary Validate cluster creation
@@ -22387,6 +22978,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22387
22978
  alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
22388
22979
  return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
22389
22980
  },
22981
+ /**
22982
+ *
22983
+ * @summary Archive a JAR while retaining published files and startup synchronization
22984
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
22985
+ * @param {*} [options] Override http request option.
22986
+ * @throws {RequiredError}
22987
+ */
22988
+ archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22989
+ return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
22990
+ },
22390
22991
  /**
22391
22992
  * Batch add permissions to a role
22392
22993
  * @summary Batch add permissions to a role
@@ -22838,6 +23439,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22838
23439
  deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object> {
22839
23440
  return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
22840
23441
  },
23442
+ /**
23443
+ *
23444
+ * @summary Delete an unpublished JAR version
23445
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
23446
+ * @param {*} [options] Override http request option.
23447
+ * @throws {RequiredError}
23448
+ */
23449
+ deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23450
+ return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
23451
+ },
22841
23452
  /**
22842
23453
  *
22843
23454
  * @summary delete the datasource
@@ -23128,6 +23739,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23128
23739
  disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23129
23740
  return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23130
23741
  },
23742
+ /**
23743
+ *
23744
+ * @summary Publish a JAR with optimistic manifest version checking
23745
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
23746
+ * @param {*} [options] Override http request option.
23747
+ * @throws {RequiredError}
23748
+ */
23749
+ distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
23750
+ return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
23751
+ },
23131
23752
  /**
23132
23753
  *
23133
23754
  * @summary Restore current cluster or instance
@@ -23148,6 +23769,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23148
23769
  downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
23149
23770
  return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
23150
23771
  },
23772
+ /**
23773
+ *
23774
+ * @summary Download the original JAR
23775
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
23776
+ * @param {*} [options] Override http request option.
23777
+ * @throws {RequiredError}
23778
+ */
23779
+ downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
23780
+ return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
23781
+ },
23151
23782
  /**
23152
23783
  *
23153
23784
  * @summary Download multiple backup files
@@ -23387,6 +24018,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23387
24018
  getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
23388
24019
  return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
23389
24020
  },
24021
+ /**
24022
+ *
24023
+ * @summary Get external JAR capability and configuration
24024
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
24025
+ * @param {*} [options] Override http request option.
24026
+ * @throws {RequiredError}
24027
+ */
24028
+ getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig> {
24029
+ return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24030
+ },
23390
24031
  /**
23391
24032
  *
23392
24033
  * @summary Get cluster parameter template
@@ -23966,6 +24607,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23966
24607
  listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
23967
24608
  return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
23968
24609
  },
24610
+ /**
24611
+ *
24612
+ * @summary List external JAR versions with metadata and per-instance synchronization state
24613
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
24614
+ * @param {*} [options] Override http request option.
24615
+ * @throws {RequiredError}
24616
+ */
24617
+ listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList> {
24618
+ return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24619
+ },
23969
24620
  /**
23970
24621
  *
23971
24622
  * @summary List restore tasks
@@ -24903,6 +25554,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24903
25554
  restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
24904
25555
  return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24905
25556
  },
25557
+ /**
25558
+ *
25559
+ * @summary Retry synchronization of published JARs
25560
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
25561
+ * @param {*} [options] Override http request option.
25562
+ * @throws {RequiredError}
25563
+ */
25564
+ retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
25565
+ return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
25566
+ },
24906
25567
  /**
24907
25568
  *
24908
25569
  * @summary Revoke privileges from a ClickHouse role
@@ -25382,6 +26043,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
25382
26043
  upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
25383
26044
  return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
25384
26045
  },
26046
+ /**
26047
+ *
26048
+ * @summary Upload an immutable JAR version
26049
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
26050
+ * @param {*} [options] Override http request option.
26051
+ * @throws {RequiredError}
26052
+ */
26053
+ uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage> {
26054
+ return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
26055
+ },
25385
26056
  /**
25386
26057
  *
25387
26058
  * @summary Validate cluster creation
@@ -25471,6 +26142,16 @@ export interface SharedApiInterface {
25471
26142
  */
25472
26143
  alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
25473
26144
 
26145
+ /**
26146
+ *
26147
+ * @summary Archive a JAR while retaining published files and startup synchronization
26148
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
26149
+ * @param {*} [options] Override http request option.
26150
+ * @throws {RequiredError}
26151
+ * @memberof SharedApiInterface
26152
+ */
26153
+ archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26154
+
25474
26155
  /**
25475
26156
  * Batch add permissions to a role
25476
26157
  * @summary Batch add permissions to a role
@@ -25922,6 +26603,16 @@ export interface SharedApiInterface {
25922
26603
  */
25923
26604
  deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
25924
26605
 
26606
+ /**
26607
+ *
26608
+ * @summary Delete an unpublished JAR version
26609
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
26610
+ * @param {*} [options] Override http request option.
26611
+ * @throws {RequiredError}
26612
+ * @memberof SharedApiInterface
26613
+ */
26614
+ deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26615
+
25925
26616
  /**
25926
26617
  *
25927
26618
  * @summary delete the datasource
@@ -26212,6 +26903,16 @@ export interface SharedApiInterface {
26212
26903
  */
26213
26904
  disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26214
26905
 
26906
+ /**
26907
+ *
26908
+ * @summary Publish a JAR with optimistic manifest version checking
26909
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
26910
+ * @param {*} [options] Override http request option.
26911
+ * @throws {RequiredError}
26912
+ * @memberof SharedApiInterface
26913
+ */
26914
+ distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
26915
+
26215
26916
  /**
26216
26917
  *
26217
26918
  * @summary Restore current cluster or instance
@@ -26232,6 +26933,16 @@ export interface SharedApiInterface {
26232
26933
  */
26233
26934
  downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
26234
26935
 
26936
+ /**
26937
+ *
26938
+ * @summary Download the original JAR
26939
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
26940
+ * @param {*} [options] Override http request option.
26941
+ * @throws {RequiredError}
26942
+ * @memberof SharedApiInterface
26943
+ */
26944
+ downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
26945
+
26235
26946
  /**
26236
26947
  *
26237
26948
  * @summary Download multiple backup files
@@ -26471,6 +27182,16 @@ export interface SharedApiInterface {
26471
27182
  */
26472
27183
  getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
26473
27184
 
27185
+ /**
27186
+ *
27187
+ * @summary Get external JAR capability and configuration
27188
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
27189
+ * @param {*} [options] Override http request option.
27190
+ * @throws {RequiredError}
27191
+ * @memberof SharedApiInterface
27192
+ */
27193
+ getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig>;
27194
+
26474
27195
  /**
26475
27196
  *
26476
27197
  * @summary Get cluster parameter template
@@ -27050,6 +27771,16 @@ export interface SharedApiInterface {
27050
27771
  */
27051
27772
  listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
27052
27773
 
27774
+ /**
27775
+ *
27776
+ * @summary List external JAR versions with metadata and per-instance synchronization state
27777
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
27778
+ * @param {*} [options] Override http request option.
27779
+ * @throws {RequiredError}
27780
+ * @memberof SharedApiInterface
27781
+ */
27782
+ listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList>;
27783
+
27053
27784
  /**
27054
27785
  *
27055
27786
  * @summary List restore tasks
@@ -27987,6 +28718,16 @@ export interface SharedApiInterface {
27987
28718
  */
27988
28719
  restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
27989
28720
 
28721
+ /**
28722
+ *
28723
+ * @summary Retry synchronization of published JARs
28724
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
28725
+ * @param {*} [options] Override http request option.
28726
+ * @throws {RequiredError}
28727
+ * @memberof SharedApiInterface
28728
+ */
28729
+ retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
28730
+
27990
28731
  /**
27991
28732
  *
27992
28733
  * @summary Revoke privileges from a ClickHouse role
@@ -28466,6 +29207,16 @@ export interface SharedApiInterface {
28466
29207
  */
28467
29208
  upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
28468
29209
 
29210
+ /**
29211
+ *
29212
+ * @summary Upload an immutable JAR version
29213
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
29214
+ * @param {*} [options] Override http request option.
29215
+ * @throws {RequiredError}
29216
+ * @memberof SharedApiInterface
29217
+ */
29218
+ uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage>;
29219
+
28469
29220
  /**
28470
29221
  *
28471
29222
  * @summary Validate cluster creation
@@ -28830,6 +29581,41 @@ export interface SharedApiAlterParameterRequest {
28830
29581
  readonly dmsObAlterParameter: DmsObAlterParameter
28831
29582
  }
28832
29583
 
29584
+ /**
29585
+ * Request parameters for archiveClusterJar operation in SharedApi.
29586
+ * @export
29587
+ * @interface SharedApiArchiveClusterJarRequest
29588
+ */
29589
+ export interface SharedApiArchiveClusterJarRequest {
29590
+ /**
29591
+ * Doris or SelectDB engine of the target cluster.
29592
+ * @type {string}
29593
+ * @memberof SharedApiArchiveClusterJar
29594
+ */
29595
+ readonly engineName: string
29596
+
29597
+ /**
29598
+ *
29599
+ * @type {string}
29600
+ * @memberof SharedApiArchiveClusterJar
29601
+ */
29602
+ readonly orgName: string
29603
+
29604
+ /**
29605
+ *
29606
+ * @type {string}
29607
+ * @memberof SharedApiArchiveClusterJar
29608
+ */
29609
+ readonly clusterName: string
29610
+
29611
+ /**
29612
+ *
29613
+ * @type {string}
29614
+ * @memberof SharedApiArchiveClusterJar
29615
+ */
29616
+ readonly jarId: string
29617
+ }
29618
+
28833
29619
  /**
28834
29620
  * Request parameters for batchAddRolePermissions operation in SharedApi.
28835
29621
  * @export
@@ -30097,6 +30883,41 @@ export interface SharedApiDeleteClusterRequest {
30097
30883
  readonly force?: boolean
30098
30884
  }
30099
30885
 
30886
+ /**
30887
+ * Request parameters for deleteClusterJar operation in SharedApi.
30888
+ * @export
30889
+ * @interface SharedApiDeleteClusterJarRequest
30890
+ */
30891
+ export interface SharedApiDeleteClusterJarRequest {
30892
+ /**
30893
+ * Doris or SelectDB engine of the target cluster.
30894
+ * @type {string}
30895
+ * @memberof SharedApiDeleteClusterJar
30896
+ */
30897
+ readonly engineName: string
30898
+
30899
+ /**
30900
+ *
30901
+ * @type {string}
30902
+ * @memberof SharedApiDeleteClusterJar
30903
+ */
30904
+ readonly orgName: string
30905
+
30906
+ /**
30907
+ *
30908
+ * @type {string}
30909
+ * @memberof SharedApiDeleteClusterJar
30910
+ */
30911
+ readonly clusterName: string
30912
+
30913
+ /**
30914
+ *
30915
+ * @type {string}
30916
+ * @memberof SharedApiDeleteClusterJar
30917
+ */
30918
+ readonly jarId: string
30919
+ }
30920
+
30100
30921
  /**
30101
30922
  * Request parameters for deleteDataSourceV2 operation in SharedApi.
30102
30923
  * @export
@@ -30916,6 +31737,48 @@ export interface SharedApiDisableConsoleRequest {
30916
31737
  readonly clusterName: string
30917
31738
  }
30918
31739
 
31740
+ /**
31741
+ * Request parameters for distributeClusterJar operation in SharedApi.
31742
+ * @export
31743
+ * @interface SharedApiDistributeClusterJarRequest
31744
+ */
31745
+ export interface SharedApiDistributeClusterJarRequest {
31746
+ /**
31747
+ * Doris or SelectDB engine of the target cluster.
31748
+ * @type {string}
31749
+ * @memberof SharedApiDistributeClusterJar
31750
+ */
31751
+ readonly engineName: string
31752
+
31753
+ /**
31754
+ *
31755
+ * @type {string}
31756
+ * @memberof SharedApiDistributeClusterJar
31757
+ */
31758
+ readonly orgName: string
31759
+
31760
+ /**
31761
+ *
31762
+ * @type {string}
31763
+ * @memberof SharedApiDistributeClusterJar
31764
+ */
31765
+ readonly clusterName: string
31766
+
31767
+ /**
31768
+ *
31769
+ * @type {string}
31770
+ * @memberof SharedApiDistributeClusterJar
31771
+ */
31772
+ readonly jarId: string
31773
+
31774
+ /**
31775
+ *
31776
+ * @type {ClusterJarPublish}
31777
+ * @memberof SharedApiDistributeClusterJar
31778
+ */
31779
+ readonly clusterJarPublish: ClusterJarPublish
31780
+ }
31781
+
30919
31782
  /**
30920
31783
  * Request parameters for doRestore operation in SharedApi.
30921
31784
  * @export
@@ -30965,6 +31828,41 @@ export interface SharedApiDownloadBackupRequest {
30965
31828
  readonly backupId: string
30966
31829
  }
30967
31830
 
31831
+ /**
31832
+ * Request parameters for downloadClusterJar operation in SharedApi.
31833
+ * @export
31834
+ * @interface SharedApiDownloadClusterJarRequest
31835
+ */
31836
+ export interface SharedApiDownloadClusterJarRequest {
31837
+ /**
31838
+ * Doris or SelectDB engine of the target cluster.
31839
+ * @type {string}
31840
+ * @memberof SharedApiDownloadClusterJar
31841
+ */
31842
+ readonly engineName: string
31843
+
31844
+ /**
31845
+ *
31846
+ * @type {string}
31847
+ * @memberof SharedApiDownloadClusterJar
31848
+ */
31849
+ readonly orgName: string
31850
+
31851
+ /**
31852
+ *
31853
+ * @type {string}
31854
+ * @memberof SharedApiDownloadClusterJar
31855
+ */
31856
+ readonly clusterName: string
31857
+
31858
+ /**
31859
+ *
31860
+ * @type {string}
31861
+ * @memberof SharedApiDownloadClusterJar
31862
+ */
31863
+ readonly jarId: string
31864
+ }
31865
+
30968
31866
  /**
30969
31867
  * Request parameters for downloadMultipleBackups operation in SharedApi.
30970
31868
  * @export
@@ -32008,6 +32906,34 @@ export interface SharedApiGetClusterInstanceLogRequest {
32008
32906
  readonly tailLines?: number
32009
32907
  }
32010
32908
 
32909
+ /**
32910
+ * Request parameters for getClusterJarConfig operation in SharedApi.
32911
+ * @export
32912
+ * @interface SharedApiGetClusterJarConfigRequest
32913
+ */
32914
+ export interface SharedApiGetClusterJarConfigRequest {
32915
+ /**
32916
+ * Doris or SelectDB engine of the target cluster.
32917
+ * @type {string}
32918
+ * @memberof SharedApiGetClusterJarConfig
32919
+ */
32920
+ readonly engineName: string
32921
+
32922
+ /**
32923
+ *
32924
+ * @type {string}
32925
+ * @memberof SharedApiGetClusterJarConfig
32926
+ */
32927
+ readonly orgName: string
32928
+
32929
+ /**
32930
+ *
32931
+ * @type {string}
32932
+ * @memberof SharedApiGetClusterJarConfig
32933
+ */
32934
+ readonly clusterName: string
32935
+ }
32936
+
32011
32937
  /**
32012
32938
  * Request parameters for getClusterParameterTemplate operation in SharedApi.
32013
32939
  * @export
@@ -34017,6 +34943,34 @@ export interface SharedApiListClusterRequest {
34017
34943
  readonly includeEndpoints?: boolean
34018
34944
  }
34019
34945
 
34946
+ /**
34947
+ * Request parameters for listClusterJars operation in SharedApi.
34948
+ * @export
34949
+ * @interface SharedApiListClusterJarsRequest
34950
+ */
34951
+ export interface SharedApiListClusterJarsRequest {
34952
+ /**
34953
+ * Doris or SelectDB engine of the target cluster.
34954
+ * @type {string}
34955
+ * @memberof SharedApiListClusterJars
34956
+ */
34957
+ readonly engineName: string
34958
+
34959
+ /**
34960
+ *
34961
+ * @type {string}
34962
+ * @memberof SharedApiListClusterJars
34963
+ */
34964
+ readonly orgName: string
34965
+
34966
+ /**
34967
+ *
34968
+ * @type {string}
34969
+ * @memberof SharedApiListClusterJars
34970
+ */
34971
+ readonly clusterName: string
34972
+ }
34973
+
34020
34974
  /**
34021
34975
  * Request parameters for listClusterRestore operation in SharedApi.
34022
34976
  * @export
@@ -37482,6 +38436,41 @@ export interface SharedApiRestoreRecycleBinClusterRequest {
37482
38436
  readonly clusterName: string
37483
38437
  }
37484
38438
 
38439
+ /**
38440
+ * Request parameters for retryClusterJar operation in SharedApi.
38441
+ * @export
38442
+ * @interface SharedApiRetryClusterJarRequest
38443
+ */
38444
+ export interface SharedApiRetryClusterJarRequest {
38445
+ /**
38446
+ * Doris or SelectDB engine of the target cluster.
38447
+ * @type {string}
38448
+ * @memberof SharedApiRetryClusterJar
38449
+ */
38450
+ readonly engineName: string
38451
+
38452
+ /**
38453
+ *
38454
+ * @type {string}
38455
+ * @memberof SharedApiRetryClusterJar
38456
+ */
38457
+ readonly orgName: string
38458
+
38459
+ /**
38460
+ *
38461
+ * @type {string}
38462
+ * @memberof SharedApiRetryClusterJar
38463
+ */
38464
+ readonly clusterName: string
38465
+
38466
+ /**
38467
+ *
38468
+ * @type {string}
38469
+ * @memberof SharedApiRetryClusterJar
38470
+ */
38471
+ readonly jarId: string
38472
+ }
38473
+
37485
38474
  /**
37486
38475
  * Request parameters for revokeClickhouseRolePrivileges operation in SharedApi.
37487
38476
  * @export
@@ -39036,6 +40025,62 @@ export interface SharedApiUpgradeClusterRequest {
39036
40025
  readonly body: OpsUpgrade
39037
40026
  }
39038
40027
 
40028
+ /**
40029
+ * Request parameters for uploadClusterJar operation in SharedApi.
40030
+ * @export
40031
+ * @interface SharedApiUploadClusterJarRequest
40032
+ */
40033
+ export interface SharedApiUploadClusterJarRequest {
40034
+ /**
40035
+ * Doris or SelectDB engine of the target cluster.
40036
+ * @type {string}
40037
+ * @memberof SharedApiUploadClusterJar
40038
+ */
40039
+ readonly engineName: string
40040
+
40041
+ /**
40042
+ *
40043
+ * @type {string}
40044
+ * @memberof SharedApiUploadClusterJar
40045
+ */
40046
+ readonly orgName: string
40047
+
40048
+ /**
40049
+ *
40050
+ * @type {string}
40051
+ * @memberof SharedApiUploadClusterJar
40052
+ */
40053
+ readonly clusterName: string
40054
+
40055
+ /**
40056
+ *
40057
+ * @type {string}
40058
+ * @memberof SharedApiUploadClusterJar
40059
+ */
40060
+ readonly idempotencyKey: string
40061
+
40062
+ /**
40063
+ *
40064
+ * @type {string}
40065
+ * @memberof SharedApiUploadClusterJar
40066
+ */
40067
+ readonly name: string
40068
+
40069
+ /**
40070
+ *
40071
+ * @type {ClusterJarKind}
40072
+ * @memberof SharedApiUploadClusterJar
40073
+ */
40074
+ readonly kind: ClusterJarKind
40075
+
40076
+ /**
40077
+ *
40078
+ * @type {File}
40079
+ * @memberof SharedApiUploadClusterJar
40080
+ */
40081
+ readonly file: File
40082
+ }
40083
+
39039
40084
  /**
39040
40085
  * Request parameters for validateClusterCreation operation in SharedApi.
39041
40086
  * @export
@@ -39203,6 +40248,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
39203
40248
  return SharedApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
39204
40249
  }
39205
40250
 
40251
+ /**
40252
+ *
40253
+ * @summary Archive a JAR while retaining published files and startup synchronization
40254
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
40255
+ * @param {*} [options] Override http request option.
40256
+ * @throws {RequiredError}
40257
+ * @memberof SharedApi
40258
+ */
40259
+ public archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
40260
+ return SharedApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
40261
+ }
40262
+
39206
40263
  /**
39207
40264
  * Batch add permissions to a role
39208
40265
  * @summary Batch add permissions to a role
@@ -39744,6 +40801,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
39744
40801
  return SharedApiFp(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
39745
40802
  }
39746
40803
 
40804
+ /**
40805
+ *
40806
+ * @summary Delete an unpublished JAR version
40807
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
40808
+ * @param {*} [options] Override http request option.
40809
+ * @throws {RequiredError}
40810
+ * @memberof SharedApi
40811
+ */
40812
+ public deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig) {
40813
+ return SharedApiFp(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
40814
+ }
40815
+
39747
40816
  /**
39748
40817
  *
39749
40818
  * @summary delete the datasource
@@ -40092,6 +41161,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40092
41161
  return SharedApiFp(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
40093
41162
  }
40094
41163
 
41164
+ /**
41165
+ *
41166
+ * @summary Publish a JAR with optimistic manifest version checking
41167
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
41168
+ * @param {*} [options] Override http request option.
41169
+ * @throws {RequiredError}
41170
+ * @memberof SharedApi
41171
+ */
41172
+ public distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig) {
41173
+ return SharedApiFp(this.configuration).distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(this.axios, this.basePath));
41174
+ }
41175
+
40095
41176
  /**
40096
41177
  *
40097
41178
  * @summary Restore current cluster or instance
@@ -40116,6 +41197,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40116
41197
  return SharedApiFp(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
40117
41198
  }
40118
41199
 
41200
+ /**
41201
+ *
41202
+ * @summary Download the original JAR
41203
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
41204
+ * @param {*} [options] Override http request option.
41205
+ * @throws {RequiredError}
41206
+ * @memberof SharedApi
41207
+ */
41208
+ public downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig) {
41209
+ return SharedApiFp(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
41210
+ }
41211
+
40119
41212
  /**
40120
41213
  *
40121
41214
  * @summary Download multiple backup files
@@ -40403,6 +41496,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40403
41496
  return 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));
40404
41497
  }
40405
41498
 
41499
+ /**
41500
+ *
41501
+ * @summary Get external JAR capability and configuration
41502
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
41503
+ * @param {*} [options] Override http request option.
41504
+ * @throws {RequiredError}
41505
+ * @memberof SharedApi
41506
+ */
41507
+ public getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig) {
41508
+ return SharedApiFp(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
41509
+ }
41510
+
40406
41511
  /**
40407
41512
  *
40408
41513
  * @summary Get cluster parameter template
@@ -41098,6 +42203,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
41098
42203
  return SharedApiFp(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
41099
42204
  }
41100
42205
 
42206
+ /**
42207
+ *
42208
+ * @summary List external JAR versions with metadata and per-instance synchronization state
42209
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
42210
+ * @param {*} [options] Override http request option.
42211
+ * @throws {RequiredError}
42212
+ * @memberof SharedApi
42213
+ */
42214
+ public listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig) {
42215
+ return SharedApiFp(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
42216
+ }
42217
+
41101
42218
  /**
41102
42219
  *
41103
42220
  * @summary List restore tasks
@@ -42223,6 +43340,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
42223
43340
  return SharedApiFp(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
42224
43341
  }
42225
43342
 
43343
+ /**
43344
+ *
43345
+ * @summary Retry synchronization of published JARs
43346
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
43347
+ * @param {*} [options] Override http request option.
43348
+ * @throws {RequiredError}
43349
+ * @memberof SharedApi
43350
+ */
43351
+ public retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig) {
43352
+ return SharedApiFp(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
43353
+ }
43354
+
42226
43355
  /**
42227
43356
  *
42228
43357
  * @summary Revoke privileges from a ClickHouse role
@@ -42798,6 +43927,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
42798
43927
  return SharedApiFp(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
42799
43928
  }
42800
43929
 
43930
+ /**
43931
+ *
43932
+ * @summary Upload an immutable JAR version
43933
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
43934
+ * @param {*} [options] Override http request option.
43935
+ * @throws {RequiredError}
43936
+ * @memberof SharedApi
43937
+ */
43938
+ public uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig) {
43939
+ return 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));
43940
+ }
43941
+
42801
43942
  /**
42802
43943
  *
42803
43944
  * @summary Validate cluster creation