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

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 (115) 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/shared-api.d.ts +654 -0
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +694 -0
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/cluster-jar-config.d.ts +61 -0
  14. package/dist/adminapi/models/cluster-jar-config.d.ts.map +1 -0
  15. package/dist/adminapi/models/cluster-jar-config.js +16 -0
  16. package/dist/adminapi/models/cluster-jar-config.js.map +1 -0
  17. package/dist/adminapi/models/cluster-jar-kind.d.ts +22 -0
  18. package/dist/adminapi/models/cluster-jar-kind.d.ts.map +1 -0
  19. package/dist/adminapi/models/cluster-jar-kind.js +26 -0
  20. package/dist/adminapi/models/cluster-jar-kind.js.map +1 -0
  21. package/dist/adminapi/models/cluster-jar-list.d.ts +32 -0
  22. package/dist/adminapi/models/cluster-jar-list.d.ts.map +1 -0
  23. package/dist/adminapi/models/cluster-jar-list.js +16 -0
  24. package/dist/adminapi/models/cluster-jar-list.js.map +1 -0
  25. package/dist/adminapi/models/cluster-jar-package.d.ts +111 -0
  26. package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -0
  27. package/dist/adminapi/models/cluster-jar-package.js +16 -0
  28. package/dist/adminapi/models/cluster-jar-package.js.map +1 -0
  29. package/dist/adminapi/models/cluster-jar-publish.d.ts +25 -0
  30. package/dist/adminapi/models/cluster-jar-publish.d.ts.map +1 -0
  31. package/dist/adminapi/models/cluster-jar-publish.js +16 -0
  32. package/dist/adminapi/models/cluster-jar-publish.js.map +1 -0
  33. package/dist/adminapi/models/cluster-jar-replica.d.ts +61 -0
  34. package/dist/adminapi/models/cluster-jar-replica.d.ts.map +1 -0
  35. package/dist/adminapi/models/cluster-jar-replica.js +16 -0
  36. package/dist/adminapi/models/cluster-jar-replica.js.map +1 -0
  37. package/dist/adminapi/models/cluster-jar-task.d.ts +25 -0
  38. package/dist/adminapi/models/cluster-jar-task.d.ts.map +1 -0
  39. package/dist/adminapi/models/cluster-jar-task.js +16 -0
  40. package/dist/adminapi/models/cluster-jar-task.js.map +1 -0
  41. package/dist/adminapi/models/index.d.ts +7 -0
  42. package/dist/adminapi/models/index.d.ts.map +1 -1
  43. package/dist/adminapi/models/index.js +7 -0
  44. package/dist/adminapi/models/index.js.map +1 -1
  45. package/dist/openapi/api.d.ts +1 -0
  46. package/dist/openapi/api.d.ts.map +1 -1
  47. package/dist/openapi/api.js +1 -0
  48. package/dist/openapi/api.js.map +1 -1
  49. package/dist/openapi/apis/cluster-jar-api.d.ts +702 -0
  50. package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -0
  51. package/dist/openapi/apis/cluster-jar-api.js +758 -0
  52. package/dist/openapi/apis/cluster-jar-api.js.map +1 -0
  53. package/dist/openapi/apis/shared-api.d.ts +654 -0
  54. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  55. package/dist/openapi/apis/shared-api.js +694 -0
  56. package/dist/openapi/apis/shared-api.js.map +1 -1
  57. package/dist/openapi/models/cluster-jar-config.d.ts +61 -0
  58. package/dist/openapi/models/cluster-jar-config.d.ts.map +1 -0
  59. package/dist/openapi/models/cluster-jar-config.js +16 -0
  60. package/dist/openapi/models/cluster-jar-config.js.map +1 -0
  61. package/dist/openapi/models/cluster-jar-kind.d.ts +22 -0
  62. package/dist/openapi/models/cluster-jar-kind.d.ts.map +1 -0
  63. package/dist/openapi/models/cluster-jar-kind.js +26 -0
  64. package/dist/openapi/models/cluster-jar-kind.js.map +1 -0
  65. package/dist/openapi/models/cluster-jar-list.d.ts +32 -0
  66. package/dist/openapi/models/cluster-jar-list.d.ts.map +1 -0
  67. package/dist/openapi/models/cluster-jar-list.js +16 -0
  68. package/dist/openapi/models/cluster-jar-list.js.map +1 -0
  69. package/dist/openapi/models/cluster-jar-package.d.ts +111 -0
  70. package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -0
  71. package/dist/openapi/models/cluster-jar-package.js +16 -0
  72. package/dist/openapi/models/cluster-jar-package.js.map +1 -0
  73. package/dist/openapi/models/cluster-jar-publish.d.ts +25 -0
  74. package/dist/openapi/models/cluster-jar-publish.d.ts.map +1 -0
  75. package/dist/openapi/models/cluster-jar-publish.js +16 -0
  76. package/dist/openapi/models/cluster-jar-publish.js.map +1 -0
  77. package/dist/openapi/models/cluster-jar-replica.d.ts +61 -0
  78. package/dist/openapi/models/cluster-jar-replica.d.ts.map +1 -0
  79. package/dist/openapi/models/cluster-jar-replica.js +16 -0
  80. package/dist/openapi/models/cluster-jar-replica.js.map +1 -0
  81. package/dist/openapi/models/cluster-jar-task.d.ts +25 -0
  82. package/dist/openapi/models/cluster-jar-task.d.ts.map +1 -0
  83. package/dist/openapi/models/cluster-jar-task.js +16 -0
  84. package/dist/openapi/models/cluster-jar-task.js.map +1 -0
  85. package/dist/openapi/models/index.d.ts +7 -0
  86. package/dist/openapi/models/index.d.ts.map +1 -1
  87. package/dist/openapi/models/index.js +7 -0
  88. package/dist/openapi/models/index.js.map +1 -1
  89. package/package.json +1 -1
  90. package/src/adminapi/.openapi-generator/FILES +8 -0
  91. package/src/adminapi/api.ts +1 -0
  92. package/src/adminapi/apis/cluster-jar-api.ts +1211 -0
  93. package/src/adminapi/apis/shared-api.ts +1141 -0
  94. package/src/adminapi/models/cluster-jar-config.ts +66 -0
  95. package/src/adminapi/models/cluster-jar-kind.ts +31 -0
  96. package/src/adminapi/models/cluster-jar-list.ts +39 -0
  97. package/src/adminapi/models/cluster-jar-package.ts +122 -0
  98. package/src/adminapi/models/cluster-jar-publish.ts +30 -0
  99. package/src/adminapi/models/cluster-jar-replica.ts +66 -0
  100. package/src/adminapi/models/cluster-jar-task.ts +30 -0
  101. package/src/adminapi/models/index.ts +7 -0
  102. package/src/adminapi.yaml +550 -15
  103. package/src/openapi/.openapi-generator/FILES +8 -0
  104. package/src/openapi/api.ts +1 -0
  105. package/src/openapi/apis/cluster-jar-api.ts +1211 -0
  106. package/src/openapi/apis/shared-api.ts +1165 -24
  107. package/src/openapi/models/cluster-jar-config.ts +66 -0
  108. package/src/openapi/models/cluster-jar-kind.ts +31 -0
  109. package/src/openapi/models/cluster-jar-list.ts +39 -0
  110. package/src/openapi/models/cluster-jar-package.ts +122 -0
  111. package/src/openapi/models/cluster-jar-publish.ts +30 -0
  112. package/src/openapi/models/cluster-jar-replica.ts +66 -0
  113. package/src/openapi/models/cluster-jar-task.ts +30 -0
  114. package/src/openapi/models/index.ts +7 -0
  115. package/src/openapi.yaml +550 -15
@@ -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';
@@ -750,6 +762,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
750
762
  options: localVarRequestOptions,
751
763
  };
752
764
  },
765
+ /**
766
+ *
767
+ * @summary Archive a JAR while retaining published files and startup synchronization
768
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
769
+ * @param {string} orgName
770
+ * @param {string} clusterName
771
+ * @param {string} jarId
772
+ * @param {*} [options] Override http request option.
773
+ * @throws {RequiredError}
774
+ */
775
+ archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
776
+ // verify required parameter 'engineName' is not null or undefined
777
+ assertParamExists('archiveClusterJar', 'engineName', engineName)
778
+ // verify required parameter 'orgName' is not null or undefined
779
+ assertParamExists('archiveClusterJar', 'orgName', orgName)
780
+ // verify required parameter 'clusterName' is not null or undefined
781
+ assertParamExists('archiveClusterJar', 'clusterName', clusterName)
782
+ // verify required parameter 'jarId' is not null or undefined
783
+ assertParamExists('archiveClusterJar', 'jarId', jarId)
784
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
785
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
786
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
787
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
788
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
789
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
790
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
791
+ let baseOptions;
792
+ if (configuration) {
793
+ baseOptions = configuration.baseOptions;
794
+ }
795
+
796
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
797
+ const localVarHeaderParameter = {} as any;
798
+ const localVarQueryParameter = {} as any;
799
+
800
+ // authentication BearerToken required
801
+ // http bearer authentication required
802
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
803
+
804
+ // authentication DigestAuth required
805
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
806
+
807
+
808
+
809
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
810
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
811
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
812
+
813
+ return {
814
+ url: toPathString(localVarUrlObj),
815
+ options: localVarRequestOptions,
816
+ };
817
+ },
753
818
  /**
754
819
  * list the service version of the engine
755
820
  * @summary list the service version of the engine
@@ -3023,6 +3088,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3023
3088
 
3024
3089
 
3025
3090
 
3091
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3092
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3093
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3094
+
3095
+ return {
3096
+ url: toPathString(localVarUrlObj),
3097
+ options: localVarRequestOptions,
3098
+ };
3099
+ },
3100
+ /**
3101
+ *
3102
+ * @summary Delete an unpublished JAR version
3103
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3104
+ * @param {string} orgName
3105
+ * @param {string} clusterName
3106
+ * @param {string} jarId
3107
+ * @param {*} [options] Override http request option.
3108
+ * @throws {RequiredError}
3109
+ */
3110
+ deleteClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3111
+ // verify required parameter 'engineName' is not null or undefined
3112
+ assertParamExists('deleteClusterJar', 'engineName', engineName)
3113
+ // verify required parameter 'orgName' is not null or undefined
3114
+ assertParamExists('deleteClusterJar', 'orgName', orgName)
3115
+ // verify required parameter 'clusterName' is not null or undefined
3116
+ assertParamExists('deleteClusterJar', 'clusterName', clusterName)
3117
+ // verify required parameter 'jarId' is not null or undefined
3118
+ assertParamExists('deleteClusterJar', 'jarId', jarId)
3119
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
3120
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3121
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3122
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3123
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3124
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3125
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3126
+ let baseOptions;
3127
+ if (configuration) {
3128
+ baseOptions = configuration.baseOptions;
3129
+ }
3130
+
3131
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3132
+ const localVarHeaderParameter = {} as any;
3133
+ const localVarQueryParameter = {} as any;
3134
+
3135
+ // authentication BearerToken required
3136
+ // http bearer authentication required
3137
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3138
+
3139
+ // authentication DigestAuth required
3140
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3141
+
3142
+
3143
+
3026
3144
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3027
3145
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3028
3146
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -4474,6 +4592,65 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4474
4592
  options: localVarRequestOptions,
4475
4593
  };
4476
4594
  },
4595
+ /**
4596
+ *
4597
+ * @summary Publish a JAR with optimistic manifest version checking
4598
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
4599
+ * @param {string} orgName
4600
+ * @param {string} clusterName
4601
+ * @param {string} jarId
4602
+ * @param {ClusterJarPublish} clusterJarPublish
4603
+ * @param {*} [options] Override http request option.
4604
+ * @throws {RequiredError}
4605
+ */
4606
+ distributeClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4607
+ // verify required parameter 'engineName' is not null or undefined
4608
+ assertParamExists('distributeClusterJar', 'engineName', engineName)
4609
+ // verify required parameter 'orgName' is not null or undefined
4610
+ assertParamExists('distributeClusterJar', 'orgName', orgName)
4611
+ // verify required parameter 'clusterName' is not null or undefined
4612
+ assertParamExists('distributeClusterJar', 'clusterName', clusterName)
4613
+ // verify required parameter 'jarId' is not null or undefined
4614
+ assertParamExists('distributeClusterJar', 'jarId', jarId)
4615
+ // verify required parameter 'clusterJarPublish' is not null or undefined
4616
+ assertParamExists('distributeClusterJar', 'clusterJarPublish', clusterJarPublish)
4617
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
4618
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4619
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4620
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4621
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
4622
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4623
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4624
+ let baseOptions;
4625
+ if (configuration) {
4626
+ baseOptions = configuration.baseOptions;
4627
+ }
4628
+
4629
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4630
+ const localVarHeaderParameter = {} as any;
4631
+ const localVarQueryParameter = {} as any;
4632
+
4633
+ // authentication BearerToken required
4634
+ // http bearer authentication required
4635
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4636
+
4637
+ // authentication DigestAuth required
4638
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4639
+
4640
+
4641
+
4642
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4643
+
4644
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4645
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4646
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4647
+ localVarRequestOptions.data = serializeDataIfNeeded(clusterJarPublish, localVarRequestOptions, configuration)
4648
+
4649
+ return {
4650
+ url: toPathString(localVarUrlObj),
4651
+ options: localVarRequestOptions,
4652
+ };
4653
+ },
4477
4654
  /**
4478
4655
  *
4479
4656
  * @summary Restore current cluster or instance
@@ -4561,6 +4738,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4561
4738
 
4562
4739
 
4563
4740
 
4741
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4742
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4743
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4744
+
4745
+ return {
4746
+ url: toPathString(localVarUrlObj),
4747
+ options: localVarRequestOptions,
4748
+ };
4749
+ },
4750
+ /**
4751
+ *
4752
+ * @summary Download the original JAR
4753
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
4754
+ * @param {string} orgName
4755
+ * @param {string} clusterName
4756
+ * @param {string} jarId
4757
+ * @param {*} [options] Override http request option.
4758
+ * @throws {RequiredError}
4759
+ */
4760
+ downloadClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4761
+ // verify required parameter 'engineName' is not null or undefined
4762
+ assertParamExists('downloadClusterJar', 'engineName', engineName)
4763
+ // verify required parameter 'orgName' is not null or undefined
4764
+ assertParamExists('downloadClusterJar', 'orgName', orgName)
4765
+ // verify required parameter 'clusterName' is not null or undefined
4766
+ assertParamExists('downloadClusterJar', 'clusterName', clusterName)
4767
+ // verify required parameter 'jarId' is not null or undefined
4768
+ assertParamExists('downloadClusterJar', 'jarId', jarId)
4769
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
4770
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4771
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4772
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4773
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
4774
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4775
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4776
+ let baseOptions;
4777
+ if (configuration) {
4778
+ baseOptions = configuration.baseOptions;
4779
+ }
4780
+
4781
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4782
+ const localVarHeaderParameter = {} as any;
4783
+ const localVarQueryParameter = {} as any;
4784
+
4785
+ // authentication BearerToken required
4786
+ // http bearer authentication required
4787
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4788
+
4789
+ // authentication DigestAuth required
4790
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4791
+
4792
+
4793
+
4564
4794
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4565
4795
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4566
4796
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -5790,6 +6020,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
5790
6020
 
5791
6021
 
5792
6022
 
6023
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6024
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6025
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6026
+
6027
+ return {
6028
+ url: toPathString(localVarUrlObj),
6029
+ options: localVarRequestOptions,
6030
+ };
6031
+ },
6032
+ /**
6033
+ *
6034
+ * @summary Get external JAR capability and configuration
6035
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
6036
+ * @param {string} orgName
6037
+ * @param {string} clusterName
6038
+ * @param {*} [options] Override http request option.
6039
+ * @throws {RequiredError}
6040
+ */
6041
+ getClusterJarConfig: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6042
+ // verify required parameter 'engineName' is not null or undefined
6043
+ assertParamExists('getClusterJarConfig', 'engineName', engineName)
6044
+ // verify required parameter 'orgName' is not null or undefined
6045
+ assertParamExists('getClusterJarConfig', 'orgName', orgName)
6046
+ // verify required parameter 'clusterName' is not null or undefined
6047
+ assertParamExists('getClusterJarConfig', 'clusterName', clusterName)
6048
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
6049
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6050
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6051
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6052
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6053
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6054
+ let baseOptions;
6055
+ if (configuration) {
6056
+ baseOptions = configuration.baseOptions;
6057
+ }
6058
+
6059
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6060
+ const localVarHeaderParameter = {} as any;
6061
+ const localVarQueryParameter = {} as any;
6062
+
6063
+ // authentication BearerToken required
6064
+ // http bearer authentication required
6065
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6066
+
6067
+ // authentication DigestAuth required
6068
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
6069
+
6070
+
6071
+
5793
6072
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5794
6073
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5795
6074
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9092,6 +9371,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9092
9371
 
9093
9372
 
9094
9373
 
9374
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9375
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9376
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9377
+
9378
+ return {
9379
+ url: toPathString(localVarUrlObj),
9380
+ options: localVarRequestOptions,
9381
+ };
9382
+ },
9383
+ /**
9384
+ *
9385
+ * @summary List external JAR versions with metadata and per-instance synchronization state
9386
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
9387
+ * @param {string} orgName
9388
+ * @param {string} clusterName
9389
+ * @param {*} [options] Override http request option.
9390
+ * @throws {RequiredError}
9391
+ */
9392
+ listClusterJars: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9393
+ // verify required parameter 'engineName' is not null or undefined
9394
+ assertParamExists('listClusterJars', 'engineName', engineName)
9395
+ // verify required parameter 'orgName' is not null or undefined
9396
+ assertParamExists('listClusterJars', 'orgName', orgName)
9397
+ // verify required parameter 'clusterName' is not null or undefined
9398
+ assertParamExists('listClusterJars', 'clusterName', clusterName)
9399
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
9400
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9401
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9402
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9403
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9404
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9405
+ let baseOptions;
9406
+ if (configuration) {
9407
+ baseOptions = configuration.baseOptions;
9408
+ }
9409
+
9410
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9411
+ const localVarHeaderParameter = {} as any;
9412
+ const localVarQueryParameter = {} as any;
9413
+
9414
+ // authentication BearerToken required
9415
+ // http bearer authentication required
9416
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9417
+
9418
+ // authentication DigestAuth required
9419
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9420
+
9421
+
9422
+
9095
9423
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9096
9424
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9097
9425
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -14739,6 +15067,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14739
15067
 
14740
15068
 
14741
15069
 
15070
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15071
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15072
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15073
+
15074
+ return {
15075
+ url: toPathString(localVarUrlObj),
15076
+ options: localVarRequestOptions,
15077
+ };
15078
+ },
15079
+ /**
15080
+ *
15081
+ * @summary Retry synchronization of published JARs
15082
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
15083
+ * @param {string} orgName
15084
+ * @param {string} clusterName
15085
+ * @param {string} jarId
15086
+ * @param {*} [options] Override http request option.
15087
+ * @throws {RequiredError}
15088
+ */
15089
+ retryClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15090
+ // verify required parameter 'engineName' is not null or undefined
15091
+ assertParamExists('retryClusterJar', 'engineName', engineName)
15092
+ // verify required parameter 'orgName' is not null or undefined
15093
+ assertParamExists('retryClusterJar', 'orgName', orgName)
15094
+ // verify required parameter 'clusterName' is not null or undefined
15095
+ assertParamExists('retryClusterJar', 'clusterName', clusterName)
15096
+ // verify required parameter 'jarId' is not null or undefined
15097
+ assertParamExists('retryClusterJar', 'jarId', jarId)
15098
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
15099
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
15100
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
15101
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
15102
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
15103
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15104
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15105
+ let baseOptions;
15106
+ if (configuration) {
15107
+ baseOptions = configuration.baseOptions;
15108
+ }
15109
+
15110
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15111
+ const localVarHeaderParameter = {} as any;
15112
+ const localVarQueryParameter = {} as any;
15113
+
15114
+ // authentication BearerToken required
15115
+ // http bearer authentication required
15116
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15117
+
15118
+ // authentication DigestAuth required
15119
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
15120
+
15121
+
15122
+
14742
15123
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14743
15124
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14744
15125
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -17149,6 +17530,86 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
17149
17530
  options: localVarRequestOptions,
17150
17531
  };
17151
17532
  },
17533
+ /**
17534
+ *
17535
+ * @summary Upload an immutable JAR version
17536
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
17537
+ * @param {string} orgName
17538
+ * @param {string} clusterName
17539
+ * @param {string} idempotencyKey
17540
+ * @param {string} name
17541
+ * @param {ClusterJarKind} kind
17542
+ * @param {File} file
17543
+ * @param {*} [options] Override http request option.
17544
+ * @throws {RequiredError}
17545
+ */
17546
+ uploadClusterJar: async (engineName: string, orgName: string, clusterName: string, idempotencyKey: string, name: string, kind: ClusterJarKind, file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17547
+ // verify required parameter 'engineName' is not null or undefined
17548
+ assertParamExists('uploadClusterJar', 'engineName', engineName)
17549
+ // verify required parameter 'orgName' is not null or undefined
17550
+ assertParamExists('uploadClusterJar', 'orgName', orgName)
17551
+ // verify required parameter 'clusterName' is not null or undefined
17552
+ assertParamExists('uploadClusterJar', 'clusterName', clusterName)
17553
+ // verify required parameter 'idempotencyKey' is not null or undefined
17554
+ assertParamExists('uploadClusterJar', 'idempotencyKey', idempotencyKey)
17555
+ // verify required parameter 'name' is not null or undefined
17556
+ assertParamExists('uploadClusterJar', 'name', name)
17557
+ // verify required parameter 'kind' is not null or undefined
17558
+ assertParamExists('uploadClusterJar', 'kind', kind)
17559
+ // verify required parameter 'file' is not null or undefined
17560
+ assertParamExists('uploadClusterJar', 'file', file)
17561
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
17562
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
17563
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
17564
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
17565
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17566
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17567
+ let baseOptions;
17568
+ if (configuration) {
17569
+ baseOptions = configuration.baseOptions;
17570
+ }
17571
+
17572
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17573
+ const localVarHeaderParameter = {} as any;
17574
+ const localVarQueryParameter = {} as any;
17575
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
17576
+
17577
+ // authentication BearerToken required
17578
+ // http bearer authentication required
17579
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
17580
+
17581
+ // authentication DigestAuth required
17582
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
17583
+
17584
+
17585
+ if (name !== undefined) {
17586
+ localVarFormParams.append('name', name as any);
17587
+ }
17588
+
17589
+ if (kind !== undefined) {
17590
+ localVarFormParams.append('kind', kind as any);
17591
+ }
17592
+
17593
+ if (file !== undefined) {
17594
+ localVarFormParams.append('file', file as any);
17595
+ }
17596
+
17597
+
17598
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
17599
+
17600
+ if (idempotencyKey != null) {
17601
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
17602
+ }
17603
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17604
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17605
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17606
+ localVarRequestOptions.data = localVarFormParams;
17607
+
17608
+ return {
17609
+ url: toPathString(localVarUrlObj),
17610
+ options: localVarRequestOptions,
17611
+ };
17612
+ },
17152
17613
  /**
17153
17614
  *
17154
17615
  * @summary Validate cluster creation
@@ -17440,6 +17901,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
17440
17901
  const localVarOperationServerBasePath = operationServerMap['SharedApi.alterParameter']?.[localVarOperationServerIndex]?.url;
17441
17902
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17442
17903
  },
17904
+ /**
17905
+ *
17906
+ * @summary Archive a JAR while retaining published files and startup synchronization
17907
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
17908
+ * @param {string} orgName
17909
+ * @param {string} clusterName
17910
+ * @param {string} jarId
17911
+ * @param {*} [options] Override http request option.
17912
+ * @throws {RequiredError}
17913
+ */
17914
+ async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
17915
+ const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
17916
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17917
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
17918
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17919
+ },
17443
17920
  /**
17444
17921
  * list the service version of the engine
17445
17922
  * @summary list the service version of the engine
@@ -18116,6 +18593,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
18116
18593
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteCluster']?.[localVarOperationServerIndex]?.url;
18117
18594
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18118
18595
  },
18596
+ /**
18597
+ *
18598
+ * @summary Delete an unpublished JAR version
18599
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
18600
+ * @param {string} orgName
18601
+ * @param {string} clusterName
18602
+ * @param {string} jarId
18603
+ * @param {*} [options] Override http request option.
18604
+ * @throws {RequiredError}
18605
+ */
18606
+ async deleteClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18607
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
18608
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18609
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClusterJar']?.[localVarOperationServerIndex]?.url;
18610
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18611
+ },
18119
18612
  /**
18120
18613
  *
18121
18614
  * @summary delete the datasource
@@ -18552,6 +19045,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
18552
19045
  const localVarOperationServerBasePath = operationServerMap['SharedApi.disableConsole']?.[localVarOperationServerIndex]?.url;
18553
19046
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18554
19047
  },
19048
+ /**
19049
+ *
19050
+ * @summary Publish a JAR with optimistic manifest version checking
19051
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19052
+ * @param {string} orgName
19053
+ * @param {string} clusterName
19054
+ * @param {string} jarId
19055
+ * @param {ClusterJarPublish} clusterJarPublish
19056
+ * @param {*} [options] Override http request option.
19057
+ * @throws {RequiredError}
19058
+ */
19059
+ async distributeClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
19060
+ const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
19061
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19062
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.distributeClusterJar']?.[localVarOperationServerIndex]?.url;
19063
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19064
+ },
18555
19065
  /**
18556
19066
  *
18557
19067
  * @summary Restore current cluster or instance
@@ -18581,6 +19091,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
18581
19091
  const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadBackup']?.[localVarOperationServerIndex]?.url;
18582
19092
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18583
19093
  },
19094
+ /**
19095
+ *
19096
+ * @summary Download the original JAR
19097
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19098
+ * @param {string} orgName
19099
+ * @param {string} clusterName
19100
+ * @param {string} jarId
19101
+ * @param {*} [options] Override http request option.
19102
+ * @throws {RequiredError}
19103
+ */
19104
+ async downloadClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
19105
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
19106
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19107
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadClusterJar']?.[localVarOperationServerIndex]?.url;
19108
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19109
+ },
18584
19110
  /**
18585
19111
  *
18586
19112
  * @summary Download multiple backup files
@@ -18931,6 +19457,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
18931
19457
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterInstanceLog']?.[localVarOperationServerIndex]?.url;
18932
19458
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18933
19459
  },
19460
+ /**
19461
+ *
19462
+ * @summary Get external JAR capability and configuration
19463
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19464
+ * @param {string} orgName
19465
+ * @param {string} clusterName
19466
+ * @param {*} [options] Override http request option.
19467
+ * @throws {RequiredError}
19468
+ */
19469
+ async getClusterJarConfig(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarConfig>> {
19470
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
19471
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19472
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterJarConfig']?.[localVarOperationServerIndex]?.url;
19473
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19474
+ },
18934
19475
  /**
18935
19476
  *
18936
19477
  * @summary Get cluster parameter template
@@ -19894,6 +20435,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
19894
20435
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listCluster']?.[localVarOperationServerIndex]?.url;
19895
20436
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19896
20437
  },
20438
+ /**
20439
+ *
20440
+ * @summary List external JAR versions with metadata and per-instance synchronization state
20441
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
20442
+ * @param {string} orgName
20443
+ * @param {string} clusterName
20444
+ * @param {*} [options] Override http request option.
20445
+ * @throws {RequiredError}
20446
+ */
20447
+ async listClusterJars(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarList>> {
20448
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
20449
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20450
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterJars']?.[localVarOperationServerIndex]?.url;
20451
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20452
+ },
19897
20453
  /**
19898
20454
  *
19899
20455
  * @summary List restore tasks
@@ -21499,6 +22055,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
21499
22055
  const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreRecycleBinCluster']?.[localVarOperationServerIndex]?.url;
21500
22056
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21501
22057
  },
22058
+ /**
22059
+ *
22060
+ * @summary Retry synchronization of published JARs
22061
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
22062
+ * @param {string} orgName
22063
+ * @param {string} clusterName
22064
+ * @param {string} jarId
22065
+ * @param {*} [options] Override http request option.
22066
+ * @throws {RequiredError}
22067
+ */
22068
+ async retryClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
22069
+ const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
22070
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22071
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.retryClusterJar']?.[localVarOperationServerIndex]?.url;
22072
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22073
+ },
21502
22074
  /**
21503
22075
  *
21504
22076
  * @summary Revoke privileges from a ClickHouse role
@@ -22204,6 +22776,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
22204
22776
  const localVarOperationServerBasePath = operationServerMap['SharedApi.upgradeCluster']?.[localVarOperationServerIndex]?.url;
22205
22777
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22206
22778
  },
22779
+ /**
22780
+ *
22781
+ * @summary Upload an immutable JAR version
22782
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
22783
+ * @param {string} orgName
22784
+ * @param {string} clusterName
22785
+ * @param {string} idempotencyKey
22786
+ * @param {string} name
22787
+ * @param {ClusterJarKind} kind
22788
+ * @param {File} file
22789
+ * @param {*} [options] Override http request option.
22790
+ * @throws {RequiredError}
22791
+ */
22792
+ 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>> {
22793
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
22794
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22795
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.uploadClusterJar']?.[localVarOperationServerIndex]?.url;
22796
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22797
+ },
22207
22798
  /**
22208
22799
  *
22209
22800
  * @summary Validate cluster creation
@@ -22313,6 +22904,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22313
22904
  alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
22314
22905
  return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
22315
22906
  },
22907
+ /**
22908
+ *
22909
+ * @summary Archive a JAR while retaining published files and startup synchronization
22910
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
22911
+ * @param {*} [options] Override http request option.
22912
+ * @throws {RequiredError}
22913
+ */
22914
+ archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22915
+ return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
22916
+ },
22316
22917
  /**
22317
22918
  * list the service version of the engine
22318
22919
  * @summary list the service version of the engine
@@ -22764,6 +23365,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22764
23365
  deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object> {
22765
23366
  return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
22766
23367
  },
23368
+ /**
23369
+ *
23370
+ * @summary Delete an unpublished JAR version
23371
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
23372
+ * @param {*} [options] Override http request option.
23373
+ * @throws {RequiredError}
23374
+ */
23375
+ deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23376
+ return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
23377
+ },
22767
23378
  /**
22768
23379
  *
22769
23380
  * @summary delete the datasource
@@ -23054,6 +23665,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23054
23665
  disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23055
23666
  return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23056
23667
  },
23668
+ /**
23669
+ *
23670
+ * @summary Publish a JAR with optimistic manifest version checking
23671
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
23672
+ * @param {*} [options] Override http request option.
23673
+ * @throws {RequiredError}
23674
+ */
23675
+ distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
23676
+ return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
23677
+ },
23057
23678
  /**
23058
23679
  *
23059
23680
  * @summary Restore current cluster or instance
@@ -23074,6 +23695,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23074
23695
  downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
23075
23696
  return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
23076
23697
  },
23698
+ /**
23699
+ *
23700
+ * @summary Download the original JAR
23701
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
23702
+ * @param {*} [options] Override http request option.
23703
+ * @throws {RequiredError}
23704
+ */
23705
+ downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
23706
+ return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
23707
+ },
23077
23708
  /**
23078
23709
  *
23079
23710
  * @summary Download multiple backup files
@@ -23284,6 +23915,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23284
23915
  getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
23285
23916
  return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
23286
23917
  },
23918
+ /**
23919
+ *
23920
+ * @summary Get external JAR capability and configuration
23921
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
23922
+ * @param {*} [options] Override http request option.
23923
+ * @throws {RequiredError}
23924
+ */
23925
+ getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig> {
23926
+ return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
23927
+ },
23287
23928
  /**
23288
23929
  *
23289
23930
  * @summary Get cluster parameter template
@@ -23892,6 +24533,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23892
24533
  listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
23893
24534
  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));
23894
24535
  },
24536
+ /**
24537
+ *
24538
+ * @summary List external JAR versions with metadata and per-instance synchronization state
24539
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
24540
+ * @param {*} [options] Override http request option.
24541
+ * @throws {RequiredError}
24542
+ */
24543
+ listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList> {
24544
+ return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24545
+ },
23895
24546
  /**
23896
24547
  *
23897
24548
  * @summary List restore tasks
@@ -24878,6 +25529,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24878
25529
  restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
24879
25530
  return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24880
25531
  },
25532
+ /**
25533
+ *
25534
+ * @summary Retry synchronization of published JARs
25535
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
25536
+ * @param {*} [options] Override http request option.
25537
+ * @throws {RequiredError}
25538
+ */
25539
+ retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
25540
+ return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
25541
+ },
24881
25542
  /**
24882
25543
  *
24883
25544
  * @summary Revoke privileges from a ClickHouse role
@@ -25327,6 +25988,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
25327
25988
  upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
25328
25989
  return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
25329
25990
  },
25991
+ /**
25992
+ *
25993
+ * @summary Upload an immutable JAR version
25994
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
25995
+ * @param {*} [options] Override http request option.
25996
+ * @throws {RequiredError}
25997
+ */
25998
+ uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage> {
25999
+ return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
26000
+ },
25330
26001
  /**
25331
26002
  *
25332
26003
  * @summary Validate cluster creation
@@ -25415,6 +26086,16 @@ export interface SharedApiInterface {
25415
26086
  */
25416
26087
  alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
25417
26088
 
26089
+ /**
26090
+ *
26091
+ * @summary Archive a JAR while retaining published files and startup synchronization
26092
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
26093
+ * @param {*} [options] Override http request option.
26094
+ * @throws {RequiredError}
26095
+ * @memberof SharedApiInterface
26096
+ */
26097
+ archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26098
+
25418
26099
  /**
25419
26100
  * list the service version of the engine
25420
26101
  * @summary list the service version of the engine
@@ -25866,6 +26547,16 @@ export interface SharedApiInterface {
25866
26547
  */
25867
26548
  deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
25868
26549
 
26550
+ /**
26551
+ *
26552
+ * @summary Delete an unpublished JAR version
26553
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
26554
+ * @param {*} [options] Override http request option.
26555
+ * @throws {RequiredError}
26556
+ * @memberof SharedApiInterface
26557
+ */
26558
+ deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26559
+
25869
26560
  /**
25870
26561
  *
25871
26562
  * @summary delete the datasource
@@ -26156,6 +26847,16 @@ export interface SharedApiInterface {
26156
26847
  */
26157
26848
  disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26158
26849
 
26850
+ /**
26851
+ *
26852
+ * @summary Publish a JAR with optimistic manifest version checking
26853
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
26854
+ * @param {*} [options] Override http request option.
26855
+ * @throws {RequiredError}
26856
+ * @memberof SharedApiInterface
26857
+ */
26858
+ distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
26859
+
26159
26860
  /**
26160
26861
  *
26161
26862
  * @summary Restore current cluster or instance
@@ -26176,6 +26877,16 @@ export interface SharedApiInterface {
26176
26877
  */
26177
26878
  downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
26178
26879
 
26880
+ /**
26881
+ *
26882
+ * @summary Download the original JAR
26883
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
26884
+ * @param {*} [options] Override http request option.
26885
+ * @throws {RequiredError}
26886
+ * @memberof SharedApiInterface
26887
+ */
26888
+ downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
26889
+
26179
26890
  /**
26180
26891
  *
26181
26892
  * @summary Download multiple backup files
@@ -26386,6 +27097,16 @@ export interface SharedApiInterface {
26386
27097
  */
26387
27098
  getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
26388
27099
 
27100
+ /**
27101
+ *
27102
+ * @summary Get external JAR capability and configuration
27103
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
27104
+ * @param {*} [options] Override http request option.
27105
+ * @throws {RequiredError}
27106
+ * @memberof SharedApiInterface
27107
+ */
27108
+ getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig>;
27109
+
26389
27110
  /**
26390
27111
  *
26391
27112
  * @summary Get cluster parameter template
@@ -26994,6 +27715,16 @@ export interface SharedApiInterface {
26994
27715
  */
26995
27716
  listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
26996
27717
 
27718
+ /**
27719
+ *
27720
+ * @summary List external JAR versions with metadata and per-instance synchronization state
27721
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
27722
+ * @param {*} [options] Override http request option.
27723
+ * @throws {RequiredError}
27724
+ * @memberof SharedApiInterface
27725
+ */
27726
+ listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList>;
27727
+
26997
27728
  /**
26998
27729
  *
26999
27730
  * @summary List restore tasks
@@ -27980,6 +28711,16 @@ export interface SharedApiInterface {
27980
28711
  */
27981
28712
  restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
27982
28713
 
28714
+ /**
28715
+ *
28716
+ * @summary Retry synchronization of published JARs
28717
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
28718
+ * @param {*} [options] Override http request option.
28719
+ * @throws {RequiredError}
28720
+ * @memberof SharedApiInterface
28721
+ */
28722
+ retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
28723
+
27983
28724
  /**
27984
28725
  *
27985
28726
  * @summary Revoke privileges from a ClickHouse role
@@ -28429,6 +29170,16 @@ export interface SharedApiInterface {
28429
29170
  */
28430
29171
  upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
28431
29172
 
29173
+ /**
29174
+ *
29175
+ * @summary Upload an immutable JAR version
29176
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
29177
+ * @param {*} [options] Override http request option.
29178
+ * @throws {RequiredError}
29179
+ * @memberof SharedApiInterface
29180
+ */
29181
+ uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage>;
29182
+
28432
29183
  /**
28433
29184
  *
28434
29185
  * @summary Validate cluster creation
@@ -28709,6 +29460,41 @@ export interface SharedApiAlterParameterRequest {
28709
29460
  readonly dmsObAlterParameter: DmsObAlterParameter
28710
29461
  }
28711
29462
 
29463
+ /**
29464
+ * Request parameters for archiveClusterJar operation in SharedApi.
29465
+ * @export
29466
+ * @interface SharedApiArchiveClusterJarRequest
29467
+ */
29468
+ export interface SharedApiArchiveClusterJarRequest {
29469
+ /**
29470
+ * Doris or SelectDB engine of the target cluster.
29471
+ * @type {string}
29472
+ * @memberof SharedApiArchiveClusterJar
29473
+ */
29474
+ readonly engineName: string
29475
+
29476
+ /**
29477
+ *
29478
+ * @type {string}
29479
+ * @memberof SharedApiArchiveClusterJar
29480
+ */
29481
+ readonly orgName: string
29482
+
29483
+ /**
29484
+ *
29485
+ * @type {string}
29486
+ * @memberof SharedApiArchiveClusterJar
29487
+ */
29488
+ readonly clusterName: string
29489
+
29490
+ /**
29491
+ *
29492
+ * @type {string}
29493
+ * @memberof SharedApiArchiveClusterJar
29494
+ */
29495
+ readonly jarId: string
29496
+ }
29497
+
28712
29498
  /**
28713
29499
  * Request parameters for availableServiceVersion operation in SharedApi.
28714
29500
  * @export
@@ -29969,6 +30755,41 @@ export interface SharedApiDeleteClusterRequest {
29969
30755
  readonly force?: boolean
29970
30756
  }
29971
30757
 
30758
+ /**
30759
+ * Request parameters for deleteClusterJar operation in SharedApi.
30760
+ * @export
30761
+ * @interface SharedApiDeleteClusterJarRequest
30762
+ */
30763
+ export interface SharedApiDeleteClusterJarRequest {
30764
+ /**
30765
+ * Doris or SelectDB engine of the target cluster.
30766
+ * @type {string}
30767
+ * @memberof SharedApiDeleteClusterJar
30768
+ */
30769
+ readonly engineName: string
30770
+
30771
+ /**
30772
+ *
30773
+ * @type {string}
30774
+ * @memberof SharedApiDeleteClusterJar
30775
+ */
30776
+ readonly orgName: string
30777
+
30778
+ /**
30779
+ *
30780
+ * @type {string}
30781
+ * @memberof SharedApiDeleteClusterJar
30782
+ */
30783
+ readonly clusterName: string
30784
+
30785
+ /**
30786
+ *
30787
+ * @type {string}
30788
+ * @memberof SharedApiDeleteClusterJar
30789
+ */
30790
+ readonly jarId: string
30791
+ }
30792
+
29972
30793
  /**
29973
30794
  * Request parameters for deleteDataSourceV2 operation in SharedApi.
29974
30795
  * @export
@@ -30788,6 +31609,48 @@ export interface SharedApiDisableConsoleRequest {
30788
31609
  readonly clusterName: string
30789
31610
  }
30790
31611
 
31612
+ /**
31613
+ * Request parameters for distributeClusterJar operation in SharedApi.
31614
+ * @export
31615
+ * @interface SharedApiDistributeClusterJarRequest
31616
+ */
31617
+ export interface SharedApiDistributeClusterJarRequest {
31618
+ /**
31619
+ * Doris or SelectDB engine of the target cluster.
31620
+ * @type {string}
31621
+ * @memberof SharedApiDistributeClusterJar
31622
+ */
31623
+ readonly engineName: string
31624
+
31625
+ /**
31626
+ *
31627
+ * @type {string}
31628
+ * @memberof SharedApiDistributeClusterJar
31629
+ */
31630
+ readonly orgName: string
31631
+
31632
+ /**
31633
+ *
31634
+ * @type {string}
31635
+ * @memberof SharedApiDistributeClusterJar
31636
+ */
31637
+ readonly clusterName: string
31638
+
31639
+ /**
31640
+ *
31641
+ * @type {string}
31642
+ * @memberof SharedApiDistributeClusterJar
31643
+ */
31644
+ readonly jarId: string
31645
+
31646
+ /**
31647
+ *
31648
+ * @type {ClusterJarPublish}
31649
+ * @memberof SharedApiDistributeClusterJar
31650
+ */
31651
+ readonly clusterJarPublish: ClusterJarPublish
31652
+ }
31653
+
30791
31654
  /**
30792
31655
  * Request parameters for doRestore operation in SharedApi.
30793
31656
  * @export
@@ -30837,6 +31700,41 @@ export interface SharedApiDownloadBackupRequest {
30837
31700
  readonly backupId: string
30838
31701
  }
30839
31702
 
31703
+ /**
31704
+ * Request parameters for downloadClusterJar operation in SharedApi.
31705
+ * @export
31706
+ * @interface SharedApiDownloadClusterJarRequest
31707
+ */
31708
+ export interface SharedApiDownloadClusterJarRequest {
31709
+ /**
31710
+ * Doris or SelectDB engine of the target cluster.
31711
+ * @type {string}
31712
+ * @memberof SharedApiDownloadClusterJar
31713
+ */
31714
+ readonly engineName: string
31715
+
31716
+ /**
31717
+ *
31718
+ * @type {string}
31719
+ * @memberof SharedApiDownloadClusterJar
31720
+ */
31721
+ readonly orgName: string
31722
+
31723
+ /**
31724
+ *
31725
+ * @type {string}
31726
+ * @memberof SharedApiDownloadClusterJar
31727
+ */
31728
+ readonly clusterName: string
31729
+
31730
+ /**
31731
+ *
31732
+ * @type {string}
31733
+ * @memberof SharedApiDownloadClusterJar
31734
+ */
31735
+ readonly jarId: string
31736
+ }
31737
+
30840
31738
  /**
30841
31739
  * Request parameters for downloadMultipleBackups operation in SharedApi.
30842
31740
  * @export
@@ -31670,6 +32568,34 @@ export interface SharedApiGetClusterInstanceLogRequest {
31670
32568
  readonly tailLines?: number
31671
32569
  }
31672
32570
 
32571
+ /**
32572
+ * Request parameters for getClusterJarConfig operation in SharedApi.
32573
+ * @export
32574
+ * @interface SharedApiGetClusterJarConfigRequest
32575
+ */
32576
+ export interface SharedApiGetClusterJarConfigRequest {
32577
+ /**
32578
+ * Doris or SelectDB engine of the target cluster.
32579
+ * @type {string}
32580
+ * @memberof SharedApiGetClusterJarConfig
32581
+ */
32582
+ readonly engineName: string
32583
+
32584
+ /**
32585
+ *
32586
+ * @type {string}
32587
+ * @memberof SharedApiGetClusterJarConfig
32588
+ */
32589
+ readonly orgName: string
32590
+
32591
+ /**
32592
+ *
32593
+ * @type {string}
32594
+ * @memberof SharedApiGetClusterJarConfig
32595
+ */
32596
+ readonly clusterName: string
32597
+ }
32598
+
31673
32599
  /**
31674
32600
  * Request parameters for getClusterParameterTemplate operation in SharedApi.
31675
32601
  * @export
@@ -33714,6 +34640,34 @@ export interface SharedApiListClusterRequest {
33714
34640
  readonly includeEndpoints?: boolean
33715
34641
  }
33716
34642
 
34643
+ /**
34644
+ * Request parameters for listClusterJars operation in SharedApi.
34645
+ * @export
34646
+ * @interface SharedApiListClusterJarsRequest
34647
+ */
34648
+ export interface SharedApiListClusterJarsRequest {
34649
+ /**
34650
+ * Doris or SelectDB engine of the target cluster.
34651
+ * @type {string}
34652
+ * @memberof SharedApiListClusterJars
34653
+ */
34654
+ readonly engineName: string
34655
+
34656
+ /**
34657
+ *
34658
+ * @type {string}
34659
+ * @memberof SharedApiListClusterJars
34660
+ */
34661
+ readonly orgName: string
34662
+
34663
+ /**
34664
+ *
34665
+ * @type {string}
34666
+ * @memberof SharedApiListClusterJars
34667
+ */
34668
+ readonly clusterName: string
34669
+ }
34670
+
33717
34671
  /**
33718
34672
  * Request parameters for listClusterRestore operation in SharedApi.
33719
34673
  * @export
@@ -37284,6 +38238,41 @@ export interface SharedApiRestoreRecycleBinClusterRequest {
37284
38238
  readonly clusterName: string
37285
38239
  }
37286
38240
 
38241
+ /**
38242
+ * Request parameters for retryClusterJar operation in SharedApi.
38243
+ * @export
38244
+ * @interface SharedApiRetryClusterJarRequest
38245
+ */
38246
+ export interface SharedApiRetryClusterJarRequest {
38247
+ /**
38248
+ * Doris or SelectDB engine of the target cluster.
38249
+ * @type {string}
38250
+ * @memberof SharedApiRetryClusterJar
38251
+ */
38252
+ readonly engineName: string
38253
+
38254
+ /**
38255
+ *
38256
+ * @type {string}
38257
+ * @memberof SharedApiRetryClusterJar
38258
+ */
38259
+ readonly orgName: string
38260
+
38261
+ /**
38262
+ *
38263
+ * @type {string}
38264
+ * @memberof SharedApiRetryClusterJar
38265
+ */
38266
+ readonly clusterName: string
38267
+
38268
+ /**
38269
+ *
38270
+ * @type {string}
38271
+ * @memberof SharedApiRetryClusterJar
38272
+ */
38273
+ readonly jarId: string
38274
+ }
38275
+
37287
38276
  /**
37288
38277
  * Request parameters for revokeClickhouseRolePrivileges operation in SharedApi.
37289
38278
  * @export
@@ -38761,6 +39750,62 @@ export interface SharedApiUpgradeClusterRequest {
38761
39750
  readonly body: OpsUpgrade
38762
39751
  }
38763
39752
 
39753
+ /**
39754
+ * Request parameters for uploadClusterJar operation in SharedApi.
39755
+ * @export
39756
+ * @interface SharedApiUploadClusterJarRequest
39757
+ */
39758
+ export interface SharedApiUploadClusterJarRequest {
39759
+ /**
39760
+ * Doris or SelectDB engine of the target cluster.
39761
+ * @type {string}
39762
+ * @memberof SharedApiUploadClusterJar
39763
+ */
39764
+ readonly engineName: string
39765
+
39766
+ /**
39767
+ *
39768
+ * @type {string}
39769
+ * @memberof SharedApiUploadClusterJar
39770
+ */
39771
+ readonly orgName: string
39772
+
39773
+ /**
39774
+ *
39775
+ * @type {string}
39776
+ * @memberof SharedApiUploadClusterJar
39777
+ */
39778
+ readonly clusterName: string
39779
+
39780
+ /**
39781
+ *
39782
+ * @type {string}
39783
+ * @memberof SharedApiUploadClusterJar
39784
+ */
39785
+ readonly idempotencyKey: string
39786
+
39787
+ /**
39788
+ *
39789
+ * @type {string}
39790
+ * @memberof SharedApiUploadClusterJar
39791
+ */
39792
+ readonly name: string
39793
+
39794
+ /**
39795
+ *
39796
+ * @type {ClusterJarKind}
39797
+ * @memberof SharedApiUploadClusterJar
39798
+ */
39799
+ readonly kind: ClusterJarKind
39800
+
39801
+ /**
39802
+ *
39803
+ * @type {File}
39804
+ * @memberof SharedApiUploadClusterJar
39805
+ */
39806
+ readonly file: File
39807
+ }
39808
+
38764
39809
  /**
38765
39810
  * Request parameters for validateClusterCreation operation in SharedApi.
38766
39811
  * @export
@@ -38927,6 +39972,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38927
39972
  return SharedApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
38928
39973
  }
38929
39974
 
39975
+ /**
39976
+ *
39977
+ * @summary Archive a JAR while retaining published files and startup synchronization
39978
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
39979
+ * @param {*} [options] Override http request option.
39980
+ * @throws {RequiredError}
39981
+ * @memberof SharedApi
39982
+ */
39983
+ public archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
39984
+ return SharedApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
39985
+ }
39986
+
38930
39987
  /**
38931
39988
  * list the service version of the engine
38932
39989
  * @summary list the service version of the engine
@@ -39468,6 +40525,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
39468
40525
  return SharedApiFp(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
39469
40526
  }
39470
40527
 
40528
+ /**
40529
+ *
40530
+ * @summary Delete an unpublished JAR version
40531
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
40532
+ * @param {*} [options] Override http request option.
40533
+ * @throws {RequiredError}
40534
+ * @memberof SharedApi
40535
+ */
40536
+ public deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig) {
40537
+ return SharedApiFp(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
40538
+ }
40539
+
39471
40540
  /**
39472
40541
  *
39473
40542
  * @summary delete the datasource
@@ -39816,6 +40885,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
39816
40885
  return SharedApiFp(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
39817
40886
  }
39818
40887
 
40888
+ /**
40889
+ *
40890
+ * @summary Publish a JAR with optimistic manifest version checking
40891
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
40892
+ * @param {*} [options] Override http request option.
40893
+ * @throws {RequiredError}
40894
+ * @memberof SharedApi
40895
+ */
40896
+ public distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig) {
40897
+ return SharedApiFp(this.configuration).distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(this.axios, this.basePath));
40898
+ }
40899
+
39819
40900
  /**
39820
40901
  *
39821
40902
  * @summary Restore current cluster or instance
@@ -39840,6 +40921,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
39840
40921
  return SharedApiFp(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
39841
40922
  }
39842
40923
 
40924
+ /**
40925
+ *
40926
+ * @summary Download the original JAR
40927
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
40928
+ * @param {*} [options] Override http request option.
40929
+ * @throws {RequiredError}
40930
+ * @memberof SharedApi
40931
+ */
40932
+ public downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig) {
40933
+ return SharedApiFp(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
40934
+ }
40935
+
39843
40936
  /**
39844
40937
  *
39845
40938
  * @summary Download multiple backup files
@@ -40092,6 +41185,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40092
41185
  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));
40093
41186
  }
40094
41187
 
41188
+ /**
41189
+ *
41190
+ * @summary Get external JAR capability and configuration
41191
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
41192
+ * @param {*} [options] Override http request option.
41193
+ * @throws {RequiredError}
41194
+ * @memberof SharedApi
41195
+ */
41196
+ public getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig) {
41197
+ return SharedApiFp(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
41198
+ }
41199
+
40095
41200
  /**
40096
41201
  *
40097
41202
  * @summary Get cluster parameter template
@@ -40822,6 +41927,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40822
41927
  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));
40823
41928
  }
40824
41929
 
41930
+ /**
41931
+ *
41932
+ * @summary List external JAR versions with metadata and per-instance synchronization state
41933
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
41934
+ * @param {*} [options] Override http request option.
41935
+ * @throws {RequiredError}
41936
+ * @memberof SharedApi
41937
+ */
41938
+ public listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig) {
41939
+ return SharedApiFp(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
41940
+ }
41941
+
40825
41942
  /**
40826
41943
  *
40827
41944
  * @summary List restore tasks
@@ -42006,6 +43123,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
42006
43123
  return SharedApiFp(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
42007
43124
  }
42008
43125
 
43126
+ /**
43127
+ *
43128
+ * @summary Retry synchronization of published JARs
43129
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
43130
+ * @param {*} [options] Override http request option.
43131
+ * @throws {RequiredError}
43132
+ * @memberof SharedApi
43133
+ */
43134
+ public retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig) {
43135
+ return SharedApiFp(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
43136
+ }
43137
+
42009
43138
  /**
42010
43139
  *
42011
43140
  * @summary Revoke privileges from a ClickHouse role
@@ -42545,6 +43674,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
42545
43674
  return SharedApiFp(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
42546
43675
  }
42547
43676
 
43677
+ /**
43678
+ *
43679
+ * @summary Upload an immutable JAR version
43680
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
43681
+ * @param {*} [options] Override http request option.
43682
+ * @throws {RequiredError}
43683
+ * @memberof SharedApi
43684
+ */
43685
+ public uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig) {
43686
+ 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));
43687
+ }
43688
+
42548
43689
  /**
42549
43690
  *
42550
43691
  * @summary Validate cluster creation