kb-cloud-client-typescript 2.3.30 → 2.3.31

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 (179) hide show
  1. package/dist/adminapi/api.d.ts +2 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +2 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/account-api.d.ts +906 -6
  6. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/account-api.js +981 -0
  8. package/dist/adminapi/apis/account-api.js.map +1 -1
  9. package/dist/adminapi/apis/cluster-jar-api.d.ts +702 -0
  10. package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -0
  11. package/dist/adminapi/apis/cluster-jar-api.js +758 -0
  12. package/dist/adminapi/apis/cluster-jar-api.js.map +1 -0
  13. package/dist/adminapi/apis/environment-api.d.ts +95 -0
  14. package/dist/adminapi/apis/environment-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/environment-api.js +93 -0
  16. package/dist/adminapi/apis/environment-api.js.map +1 -1
  17. package/dist/adminapi/apis/parameter-template-api.d.ts +18 -10
  18. package/dist/adminapi/apis/parameter-template-api.d.ts.map +1 -1
  19. package/dist/adminapi/apis/parameter-template-api.js +16 -11
  20. package/dist/adminapi/apis/parameter-template-api.js.map +1 -1
  21. package/dist/adminapi/apis/seaweedfs-api.d.ts +951 -0
  22. package/dist/adminapi/apis/seaweedfs-api.d.ts.map +1 -0
  23. package/dist/adminapi/apis/seaweedfs-api.js +1045 -0
  24. package/dist/adminapi/apis/seaweedfs-api.js.map +1 -0
  25. package/dist/adminapi/apis/shared-api.d.ts +1577 -23
  26. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  27. package/dist/adminapi/apis/shared-api.js +1685 -10
  28. package/dist/adminapi/apis/shared-api.js.map +1 -1
  29. package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
  30. package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
  31. package/dist/adminapi/models/bind-seaweed-fspolicies-request.js +16 -0
  32. package/dist/adminapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
  33. package/dist/adminapi/models/cluster-jar-config.d.ts +61 -0
  34. package/dist/adminapi/models/cluster-jar-config.d.ts.map +1 -0
  35. package/dist/adminapi/models/cluster-jar-config.js +16 -0
  36. package/dist/adminapi/models/cluster-jar-config.js.map +1 -0
  37. package/dist/adminapi/models/cluster-jar-kind.d.ts +22 -0
  38. package/dist/adminapi/models/cluster-jar-kind.d.ts.map +1 -0
  39. package/dist/adminapi/models/cluster-jar-kind.js +26 -0
  40. package/dist/adminapi/models/cluster-jar-kind.js.map +1 -0
  41. package/dist/adminapi/models/cluster-jar-list.d.ts +32 -0
  42. package/dist/adminapi/models/cluster-jar-list.d.ts.map +1 -0
  43. package/dist/adminapi/models/cluster-jar-list.js +16 -0
  44. package/dist/adminapi/models/cluster-jar-list.js.map +1 -0
  45. package/dist/adminapi/models/cluster-jar-package.d.ts +111 -0
  46. package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -0
  47. package/dist/adminapi/models/cluster-jar-package.js +16 -0
  48. package/dist/adminapi/models/cluster-jar-package.js.map +1 -0
  49. package/dist/adminapi/models/cluster-jar-publish.d.ts +25 -0
  50. package/dist/adminapi/models/cluster-jar-publish.d.ts.map +1 -0
  51. package/dist/adminapi/models/cluster-jar-publish.js +16 -0
  52. package/dist/adminapi/models/cluster-jar-publish.js.map +1 -0
  53. package/dist/adminapi/models/cluster-jar-replica.d.ts +61 -0
  54. package/dist/adminapi/models/cluster-jar-replica.d.ts.map +1 -0
  55. package/dist/adminapi/models/cluster-jar-replica.js +16 -0
  56. package/dist/adminapi/models/cluster-jar-replica.js.map +1 -0
  57. package/dist/adminapi/models/cluster-jar-task.d.ts +25 -0
  58. package/dist/adminapi/models/cluster-jar-task.d.ts.map +1 -0
  59. package/dist/adminapi/models/cluster-jar-task.js +16 -0
  60. package/dist/adminapi/models/cluster-jar-task.js.map +1 -0
  61. package/dist/adminapi/models/engine-option-history.d.ts +5 -4
  62. package/dist/adminapi/models/engine-option-history.d.ts.map +1 -1
  63. package/dist/adminapi/models/index.d.ts +10 -0
  64. package/dist/adminapi/models/index.d.ts.map +1 -1
  65. package/dist/adminapi/models/index.js +10 -0
  66. package/dist/adminapi/models/index.js.map +1 -1
  67. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
  68. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
  69. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
  70. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
  71. package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
  72. package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
  73. package/dist/adminapi/models/list-seaweed-fspolicies200-response.js +16 -0
  74. package/dist/adminapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
  75. package/dist/openapi/api.d.ts +2 -0
  76. package/dist/openapi/api.d.ts.map +1 -1
  77. package/dist/openapi/api.js +2 -0
  78. package/dist/openapi/api.js.map +1 -1
  79. package/dist/openapi/apis/account-api.d.ts +906 -6
  80. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  81. package/dist/openapi/apis/account-api.js +981 -0
  82. package/dist/openapi/apis/account-api.js.map +1 -1
  83. package/dist/openapi/apis/cluster-jar-api.d.ts +702 -0
  84. package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -0
  85. package/dist/openapi/apis/cluster-jar-api.js +758 -0
  86. package/dist/openapi/apis/cluster-jar-api.js.map +1 -0
  87. package/dist/openapi/apis/seaweedfs-api.d.ts +951 -0
  88. package/dist/openapi/apis/seaweedfs-api.d.ts.map +1 -0
  89. package/dist/openapi/apis/seaweedfs-api.js +1045 -0
  90. package/dist/openapi/apis/seaweedfs-api.js.map +1 -0
  91. package/dist/openapi/apis/shared-api.d.ts +1577 -23
  92. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  93. package/dist/openapi/apis/shared-api.js +1685 -10
  94. package/dist/openapi/apis/shared-api.js.map +1 -1
  95. package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
  96. package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
  97. package/dist/openapi/models/bind-seaweed-fspolicies-request.js +16 -0
  98. package/dist/openapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
  99. package/dist/openapi/models/cluster-jar-config.d.ts +61 -0
  100. package/dist/openapi/models/cluster-jar-config.d.ts.map +1 -0
  101. package/dist/openapi/models/cluster-jar-config.js +16 -0
  102. package/dist/openapi/models/cluster-jar-config.js.map +1 -0
  103. package/dist/openapi/models/cluster-jar-kind.d.ts +22 -0
  104. package/dist/openapi/models/cluster-jar-kind.d.ts.map +1 -0
  105. package/dist/openapi/models/cluster-jar-kind.js +26 -0
  106. package/dist/openapi/models/cluster-jar-kind.js.map +1 -0
  107. package/dist/openapi/models/cluster-jar-list.d.ts +32 -0
  108. package/dist/openapi/models/cluster-jar-list.d.ts.map +1 -0
  109. package/dist/openapi/models/cluster-jar-list.js +16 -0
  110. package/dist/openapi/models/cluster-jar-list.js.map +1 -0
  111. package/dist/openapi/models/cluster-jar-package.d.ts +111 -0
  112. package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -0
  113. package/dist/openapi/models/cluster-jar-package.js +16 -0
  114. package/dist/openapi/models/cluster-jar-package.js.map +1 -0
  115. package/dist/openapi/models/cluster-jar-publish.d.ts +25 -0
  116. package/dist/openapi/models/cluster-jar-publish.d.ts.map +1 -0
  117. package/dist/openapi/models/cluster-jar-publish.js +16 -0
  118. package/dist/openapi/models/cluster-jar-publish.js.map +1 -0
  119. package/dist/openapi/models/cluster-jar-replica.d.ts +61 -0
  120. package/dist/openapi/models/cluster-jar-replica.d.ts.map +1 -0
  121. package/dist/openapi/models/cluster-jar-replica.js +16 -0
  122. package/dist/openapi/models/cluster-jar-replica.js.map +1 -0
  123. package/dist/openapi/models/cluster-jar-task.d.ts +25 -0
  124. package/dist/openapi/models/cluster-jar-task.d.ts.map +1 -0
  125. package/dist/openapi/models/cluster-jar-task.js +16 -0
  126. package/dist/openapi/models/cluster-jar-task.js.map +1 -0
  127. package/dist/openapi/models/index.d.ts +10 -0
  128. package/dist/openapi/models/index.d.ts.map +1 -1
  129. package/dist/openapi/models/index.js +10 -0
  130. package/dist/openapi/models/index.js.map +1 -1
  131. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
  132. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
  133. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
  134. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
  135. package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
  136. package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
  137. package/dist/openapi/models/list-seaweed-fspolicies200-response.js +16 -0
  138. package/dist/openapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
  139. package/package.json +1 -1
  140. package/src/adminapi/.openapi-generator/FILES +12 -0
  141. package/src/adminapi/api.ts +2 -0
  142. package/src/adminapi/apis/account-api.ts +1623 -55
  143. package/src/adminapi/apis/cluster-jar-api.ts +1211 -0
  144. package/src/adminapi/apis/environment-api.ts +155 -0
  145. package/src/adminapi/apis/parameter-template-api.ts +26 -13
  146. package/src/adminapi/apis/seaweedfs-api.ts +1644 -0
  147. package/src/adminapi/apis/shared-api.ts +2733 -24
  148. package/src/adminapi/models/bind-seaweed-fspolicies-request.ts +30 -0
  149. package/src/adminapi/models/cluster-jar-config.ts +66 -0
  150. package/src/adminapi/models/cluster-jar-kind.ts +31 -0
  151. package/src/adminapi/models/cluster-jar-list.ts +39 -0
  152. package/src/adminapi/models/cluster-jar-package.ts +122 -0
  153. package/src/adminapi/models/cluster-jar-publish.ts +30 -0
  154. package/src/adminapi/models/cluster-jar-replica.ts +66 -0
  155. package/src/adminapi/models/cluster-jar-task.ts +30 -0
  156. package/src/adminapi/models/engine-option-history.ts +3 -6
  157. package/src/adminapi/models/index.ts +10 -0
  158. package/src/adminapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
  159. package/src/adminapi/models/list-seaweed-fspolicies200-response.ts +33 -0
  160. package/src/adminapi.yaml +1195 -23
  161. package/src/internalapi.yaml +2 -4
  162. package/src/openapi/.openapi-generator/FILES +12 -0
  163. package/src/openapi/api.ts +2 -0
  164. package/src/openapi/apis/account-api.ts +1623 -55
  165. package/src/openapi/apis/cluster-jar-api.ts +1211 -0
  166. package/src/openapi/apis/seaweedfs-api.ts +1644 -0
  167. package/src/openapi/apis/shared-api.ts +2733 -24
  168. package/src/openapi/models/bind-seaweed-fspolicies-request.ts +30 -0
  169. package/src/openapi/models/cluster-jar-config.ts +66 -0
  170. package/src/openapi/models/cluster-jar-kind.ts +31 -0
  171. package/src/openapi/models/cluster-jar-list.ts +39 -0
  172. package/src/openapi/models/cluster-jar-package.ts +122 -0
  173. package/src/openapi/models/cluster-jar-publish.ts +30 -0
  174. package/src/openapi/models/cluster-jar-replica.ts +66 -0
  175. package/src/openapi/models/cluster-jar-task.ts +30 -0
  176. package/src/openapi/models/index.ts +10 -0
  177. package/src/openapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
  178. package/src/openapi/models/list-seaweed-fspolicies200-response.ts +33 -0
  179. package/src/openapi.yaml +1119 -16
@@ -74,6 +74,8 @@ import type { BackupScheduleUpdate } from '../models';
74
74
  // @ts-ignore
75
75
  import type { BackupView } from '../models';
76
76
  // @ts-ignore
77
+ import type { BindSeaweedFSPoliciesRequest } from '../models';
78
+ // @ts-ignore
77
79
  import type { Broker } from '../models';
78
80
  // @ts-ignore
79
81
  import type { BuildBackupObjRequest } from '../models';
@@ -90,6 +92,18 @@ import type { ClusterExecutionLog } from '../models';
90
92
  // @ts-ignore
91
93
  import type { ClusterExecutionLogAggregateResponse } from '../models';
92
94
  // @ts-ignore
95
+ import type { ClusterJarConfig } from '../models';
96
+ // @ts-ignore
97
+ import type { ClusterJarKind } from '../models';
98
+ // @ts-ignore
99
+ import type { ClusterJarList } from '../models';
100
+ // @ts-ignore
101
+ import type { ClusterJarPackage } from '../models';
102
+ // @ts-ignore
103
+ import type { ClusterJarPublish } from '../models';
104
+ // @ts-ignore
105
+ import type { ClusterJarTask } from '../models';
106
+ // @ts-ignore
93
107
  import type { ClusterList } from '../models';
94
108
  // @ts-ignore
95
109
  import type { ClusterLogHitsResponse } from '../models';
@@ -246,6 +260,8 @@ import type { ListClickhouseAccountRoles200Response } from '../models';
246
260
  // @ts-ignore
247
261
  import type { ListClickhouseAccountRoles200ResponsePrivilegesInner } from '../models';
248
262
  // @ts-ignore
263
+ import type { ListSeaweedFSPolicies200Response } from '../models';
264
+ // @ts-ignore
249
265
  import type { MetricsQueryType } from '../models';
250
266
  // @ts-ignore
251
267
  import type { MilvusAccountPassword } from '../models';
@@ -789,6 +805,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
789
805
  options: localVarRequestOptions,
790
806
  };
791
807
  },
808
+ /**
809
+ *
810
+ * @summary Archive a JAR while retaining published files and startup synchronization
811
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
812
+ * @param {string} orgName
813
+ * @param {string} clusterName
814
+ * @param {string} jarId
815
+ * @param {*} [options] Override http request option.
816
+ * @throws {RequiredError}
817
+ */
818
+ archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
819
+ // verify required parameter 'engineName' is not null or undefined
820
+ assertParamExists('archiveClusterJar', 'engineName', engineName)
821
+ // verify required parameter 'orgName' is not null or undefined
822
+ assertParamExists('archiveClusterJar', 'orgName', orgName)
823
+ // verify required parameter 'clusterName' is not null or undefined
824
+ assertParamExists('archiveClusterJar', 'clusterName', clusterName)
825
+ // verify required parameter 'jarId' is not null or undefined
826
+ assertParamExists('archiveClusterJar', 'jarId', jarId)
827
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
828
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
829
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
830
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
831
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
832
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
833
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
834
+ let baseOptions;
835
+ if (configuration) {
836
+ baseOptions = configuration.baseOptions;
837
+ }
838
+
839
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
840
+ const localVarHeaderParameter = {} as any;
841
+ const localVarQueryParameter = {} as any;
842
+
843
+ // authentication BearerToken required
844
+ // http bearer authentication required
845
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
846
+
847
+ // authentication DigestAuth required
848
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
849
+
850
+
851
+
852
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
853
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
854
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
855
+
856
+ return {
857
+ url: toPathString(localVarUrlObj),
858
+ options: localVarRequestOptions,
859
+ };
860
+ },
792
861
  /**
793
862
  * Batch add permissions to a role
794
863
  * @summary Batch add permissions to a role
@@ -938,6 +1007,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
938
1007
  options: localVarRequestOptions,
939
1008
  };
940
1009
  },
1010
+ /**
1011
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
1012
+ * @summary bindSeaweedFSPolicies
1013
+ * @param {string} orgName
1014
+ * @param {string} clusterName
1015
+ * @param {string} accountName
1016
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
1017
+ * @param {*} [options] Override http request option.
1018
+ * @throws {RequiredError}
1019
+ */
1020
+ bindSeaweedFSPolicies: async (orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1021
+ // verify required parameter 'orgName' is not null or undefined
1022
+ assertParamExists('bindSeaweedFSPolicies', 'orgName', orgName)
1023
+ // verify required parameter 'clusterName' is not null or undefined
1024
+ assertParamExists('bindSeaweedFSPolicies', 'clusterName', clusterName)
1025
+ // verify required parameter 'accountName' is not null or undefined
1026
+ assertParamExists('bindSeaweedFSPolicies', 'accountName', accountName)
1027
+ // verify required parameter 'bindSeaweedFSPoliciesRequest' is not null or undefined
1028
+ assertParamExists('bindSeaweedFSPolicies', 'bindSeaweedFSPoliciesRequest', bindSeaweedFSPoliciesRequest)
1029
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies`
1030
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1031
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1032
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
1033
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1034
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1035
+ let baseOptions;
1036
+ if (configuration) {
1037
+ baseOptions = configuration.baseOptions;
1038
+ }
1039
+
1040
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1041
+ const localVarHeaderParameter = {} as any;
1042
+ const localVarQueryParameter = {} as any;
1043
+
1044
+ // authentication BearerToken required
1045
+ // http bearer authentication required
1046
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1047
+
1048
+ // authentication DigestAuth required
1049
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1050
+
1051
+
1052
+
1053
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1054
+
1055
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1056
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1057
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1058
+ localVarRequestOptions.data = serializeDataIfNeeded(bindSeaweedFSPoliciesRequest, localVarRequestOptions, configuration)
1059
+
1060
+ return {
1061
+ url: toPathString(localVarUrlObj),
1062
+ options: localVarRequestOptions,
1063
+ };
1064
+ },
941
1065
  /**
942
1066
  *
943
1067
  * @summary build backup object with a existing backup directory
@@ -2134,6 +2258,112 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2134
2258
  options: localVarRequestOptions,
2135
2259
  };
2136
2260
  },
2261
+ /**
2262
+ * Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
2263
+ * @summary createSeaweedFSAccessKey
2264
+ * @param {string} orgName
2265
+ * @param {string} clusterName
2266
+ * @param {string} accountName
2267
+ * @param {Account} account
2268
+ * @param {*} [options] Override http request option.
2269
+ * @throws {RequiredError}
2270
+ */
2271
+ createSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, account: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2272
+ // verify required parameter 'orgName' is not null or undefined
2273
+ assertParamExists('createSeaweedFSAccessKey', 'orgName', orgName)
2274
+ // verify required parameter 'clusterName' is not null or undefined
2275
+ assertParamExists('createSeaweedFSAccessKey', 'clusterName', clusterName)
2276
+ // verify required parameter 'accountName' is not null or undefined
2277
+ assertParamExists('createSeaweedFSAccessKey', 'accountName', accountName)
2278
+ // verify required parameter 'account' is not null or undefined
2279
+ assertParamExists('createSeaweedFSAccessKey', 'account', account)
2280
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys`
2281
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2282
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2283
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
2284
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2285
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2286
+ let baseOptions;
2287
+ if (configuration) {
2288
+ baseOptions = configuration.baseOptions;
2289
+ }
2290
+
2291
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2292
+ const localVarHeaderParameter = {} as any;
2293
+ const localVarQueryParameter = {} as any;
2294
+
2295
+ // authentication BearerToken required
2296
+ // http bearer authentication required
2297
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2298
+
2299
+ // authentication DigestAuth required
2300
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2301
+
2302
+
2303
+
2304
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2305
+
2306
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2307
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2308
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2309
+ localVarRequestOptions.data = serializeDataIfNeeded(account, localVarRequestOptions, configuration)
2310
+
2311
+ return {
2312
+ url: toPathString(localVarUrlObj),
2313
+ options: localVarRequestOptions,
2314
+ };
2315
+ },
2316
+ /**
2317
+ * Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
2318
+ * @summary createSeaweedFSAccount
2319
+ * @param {string} orgName name of the organization
2320
+ * @param {string} clusterName name of the cluster
2321
+ * @param {Account} body
2322
+ * @param {*} [options] Override http request option.
2323
+ * @throws {RequiredError}
2324
+ */
2325
+ createSeaweedFSAccount: async (orgName: string, clusterName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2326
+ // verify required parameter 'orgName' is not null or undefined
2327
+ assertParamExists('createSeaweedFSAccount', 'orgName', orgName)
2328
+ // verify required parameter 'clusterName' is not null or undefined
2329
+ assertParamExists('createSeaweedFSAccount', 'clusterName', clusterName)
2330
+ // verify required parameter 'body' is not null or undefined
2331
+ assertParamExists('createSeaweedFSAccount', 'body', body)
2332
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
2333
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2334
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
2335
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2336
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2337
+ let baseOptions;
2338
+ if (configuration) {
2339
+ baseOptions = configuration.baseOptions;
2340
+ }
2341
+
2342
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2343
+ const localVarHeaderParameter = {} as any;
2344
+ const localVarQueryParameter = {} as any;
2345
+
2346
+ // authentication BearerToken required
2347
+ // http bearer authentication required
2348
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2349
+
2350
+ // authentication DigestAuth required
2351
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2352
+
2353
+
2354
+
2355
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2356
+
2357
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2358
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2359
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2360
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
2361
+
2362
+ return {
2363
+ url: toPathString(localVarUrlObj),
2364
+ options: localVarRequestOptions,
2365
+ };
2366
+ },
2137
2367
  /**
2138
2368
  * create a MinIO service account access key
2139
2369
  * @summary Create MinIO access key
@@ -2900,6 +3130,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2900
3130
 
2901
3131
 
2902
3132
 
3133
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3134
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3135
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3136
+
3137
+ return {
3138
+ url: toPathString(localVarUrlObj),
3139
+ options: localVarRequestOptions,
3140
+ };
3141
+ },
3142
+ /**
3143
+ *
3144
+ * @summary Delete an unpublished JAR version
3145
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3146
+ * @param {string} orgName
3147
+ * @param {string} clusterName
3148
+ * @param {string} jarId
3149
+ * @param {*} [options] Override http request option.
3150
+ * @throws {RequiredError}
3151
+ */
3152
+ deleteClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3153
+ // verify required parameter 'engineName' is not null or undefined
3154
+ assertParamExists('deleteClusterJar', 'engineName', engineName)
3155
+ // verify required parameter 'orgName' is not null or undefined
3156
+ assertParamExists('deleteClusterJar', 'orgName', orgName)
3157
+ // verify required parameter 'clusterName' is not null or undefined
3158
+ assertParamExists('deleteClusterJar', 'clusterName', clusterName)
3159
+ // verify required parameter 'jarId' is not null or undefined
3160
+ assertParamExists('deleteClusterJar', 'jarId', jarId)
3161
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
3162
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3163
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3164
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3165
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3166
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3167
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3168
+ let baseOptions;
3169
+ if (configuration) {
3170
+ baseOptions = configuration.baseOptions;
3171
+ }
3172
+
3173
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3174
+ const localVarHeaderParameter = {} as any;
3175
+ const localVarQueryParameter = {} as any;
3176
+
3177
+ // authentication BearerToken required
3178
+ // http bearer authentication required
3179
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3180
+
3181
+ // authentication DigestAuth required
3182
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3183
+
3184
+
3185
+
2903
3186
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2904
3187
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2905
3188
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3990,28 +4273,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3990
4273
  };
3991
4274
  },
3992
4275
  /**
3993
- * delete a MinIO service account access key
3994
- * @summary Delete MinIO access key
3995
- * @param {string} engineName name of the engine
3996
- * @param {string} orgName name of the organization
3997
- * @param {string} clusterName name of the cluster
3998
- * @param {string} accessKey MinIO access key
4276
+ *
4277
+ * @summary deleteSeaweedFSAccessKey
4278
+ * @param {string} orgName
4279
+ * @param {string} clusterName
4280
+ * @param {string} accountName
4281
+ * @param {string} accessKey
3999
4282
  * @param {*} [options] Override http request option.
4000
4283
  * @throws {RequiredError}
4001
4284
  */
4002
- deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4003
- // verify required parameter 'engineName' is not null or undefined
4004
- assertParamExists('deleteServiceAccount', 'engineName', engineName)
4285
+ deleteSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4005
4286
  // verify required parameter 'orgName' is not null or undefined
4006
- assertParamExists('deleteServiceAccount', 'orgName', orgName)
4287
+ assertParamExists('deleteSeaweedFSAccessKey', 'orgName', orgName)
4007
4288
  // verify required parameter 'clusterName' is not null or undefined
4008
- assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
4289
+ assertParamExists('deleteSeaweedFSAccessKey', 'clusterName', clusterName)
4290
+ // verify required parameter 'accountName' is not null or undefined
4291
+ assertParamExists('deleteSeaweedFSAccessKey', 'accountName', accountName)
4009
4292
  // verify required parameter 'accessKey' is not null or undefined
4010
- assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
4011
- const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
4012
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4293
+ assertParamExists('deleteSeaweedFSAccessKey', 'accessKey', accessKey)
4294
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}`
4013
4295
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4014
4296
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4297
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)))
4015
4298
  .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
4016
4299
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4017
4300
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4043,21 +4326,172 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4043
4326
  };
4044
4327
  },
4045
4328
  /**
4046
- * delete cluster tag
4047
- * @summary Delete tag
4048
- * @param {string} orgName
4049
- * @param {string} tagId
4329
+ * delete an account in cluster
4330
+ * @summary deleteSeaweedFSAccount
4331
+ * @param {string} orgName name of the organization
4332
+ * @param {string} clusterName name of the cluster
4333
+ * @param {string} accountName name of the account
4050
4334
  * @param {*} [options] Override http request option.
4051
4335
  * @throws {RequiredError}
4052
4336
  */
4053
- deleteTag: async (orgName: string, tagId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4337
+ deleteSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4054
4338
  // verify required parameter 'orgName' is not null or undefined
4055
- assertParamExists('deleteTag', 'orgName', orgName)
4056
- // verify required parameter 'tagId' is not null or undefined
4057
- assertParamExists('deleteTag', 'tagId', tagId)
4058
- const localVarPath = `/api/v1/organizations/{orgName}/tags/{tagId}`
4339
+ assertParamExists('deleteSeaweedFSAccount', 'orgName', orgName)
4340
+ // verify required parameter 'clusterName' is not null or undefined
4341
+ assertParamExists('deleteSeaweedFSAccount', 'clusterName', clusterName)
4342
+ // verify required parameter 'accountName' is not null or undefined
4343
+ assertParamExists('deleteSeaweedFSAccount', 'accountName', accountName)
4344
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
4059
4345
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4060
- .replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
4346
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4347
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
4348
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4349
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4350
+ let baseOptions;
4351
+ if (configuration) {
4352
+ baseOptions = configuration.baseOptions;
4353
+ }
4354
+
4355
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4356
+ const localVarHeaderParameter = {} as any;
4357
+ const localVarQueryParameter = {} as any;
4358
+
4359
+ // authentication BearerToken required
4360
+ // http bearer authentication required
4361
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4362
+
4363
+ // authentication DigestAuth required
4364
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4365
+
4366
+
4367
+
4368
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4369
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4370
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4371
+
4372
+ return {
4373
+ url: toPathString(localVarUrlObj),
4374
+ options: localVarRequestOptions,
4375
+ };
4376
+ },
4377
+ /**
4378
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
4379
+ * @summary deleteSeaweedFSPolicy
4380
+ * @param {string} orgName
4381
+ * @param {string} clusterName
4382
+ * @param {string} policyName
4383
+ * @param {*} [options] Override http request option.
4384
+ * @throws {RequiredError}
4385
+ */
4386
+ deleteSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4387
+ // verify required parameter 'orgName' is not null or undefined
4388
+ assertParamExists('deleteSeaweedFSPolicy', 'orgName', orgName)
4389
+ // verify required parameter 'clusterName' is not null or undefined
4390
+ assertParamExists('deleteSeaweedFSPolicy', 'clusterName', clusterName)
4391
+ // verify required parameter 'policyName' is not null or undefined
4392
+ assertParamExists('deleteSeaweedFSPolicy', 'policyName', policyName)
4393
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
4394
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4395
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4396
+ .replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
4397
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4398
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4399
+ let baseOptions;
4400
+ if (configuration) {
4401
+ baseOptions = configuration.baseOptions;
4402
+ }
4403
+
4404
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4405
+ const localVarHeaderParameter = {} as any;
4406
+ const localVarQueryParameter = {} as any;
4407
+
4408
+ // authentication BearerToken required
4409
+ // http bearer authentication required
4410
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4411
+
4412
+ // authentication DigestAuth required
4413
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4414
+
4415
+
4416
+
4417
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4418
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4419
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4420
+
4421
+ return {
4422
+ url: toPathString(localVarUrlObj),
4423
+ options: localVarRequestOptions,
4424
+ };
4425
+ },
4426
+ /**
4427
+ * delete a MinIO service account access key
4428
+ * @summary Delete MinIO access key
4429
+ * @param {string} engineName name of the engine
4430
+ * @param {string} orgName name of the organization
4431
+ * @param {string} clusterName name of the cluster
4432
+ * @param {string} accessKey MinIO access key
4433
+ * @param {*} [options] Override http request option.
4434
+ * @throws {RequiredError}
4435
+ */
4436
+ deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4437
+ // verify required parameter 'engineName' is not null or undefined
4438
+ assertParamExists('deleteServiceAccount', 'engineName', engineName)
4439
+ // verify required parameter 'orgName' is not null or undefined
4440
+ assertParamExists('deleteServiceAccount', 'orgName', orgName)
4441
+ // verify required parameter 'clusterName' is not null or undefined
4442
+ assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
4443
+ // verify required parameter 'accessKey' is not null or undefined
4444
+ assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
4445
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
4446
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4447
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4448
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4449
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
4450
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4451
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4452
+ let baseOptions;
4453
+ if (configuration) {
4454
+ baseOptions = configuration.baseOptions;
4455
+ }
4456
+
4457
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4458
+ const localVarHeaderParameter = {} as any;
4459
+ const localVarQueryParameter = {} as any;
4460
+
4461
+ // authentication BearerToken required
4462
+ // http bearer authentication required
4463
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4464
+
4465
+ // authentication DigestAuth required
4466
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4467
+
4468
+
4469
+
4470
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4471
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4472
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4473
+
4474
+ return {
4475
+ url: toPathString(localVarUrlObj),
4476
+ options: localVarRequestOptions,
4477
+ };
4478
+ },
4479
+ /**
4480
+ * delete cluster tag
4481
+ * @summary Delete tag
4482
+ * @param {string} orgName
4483
+ * @param {string} tagId
4484
+ * @param {*} [options] Override http request option.
4485
+ * @throws {RequiredError}
4486
+ */
4487
+ deleteTag: async (orgName: string, tagId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4488
+ // verify required parameter 'orgName' is not null or undefined
4489
+ assertParamExists('deleteTag', 'orgName', orgName)
4490
+ // verify required parameter 'tagId' is not null or undefined
4491
+ assertParamExists('deleteTag', 'tagId', tagId)
4492
+ const localVarPath = `/api/v1/organizations/{orgName}/tags/{tagId}`
4493
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4494
+ .replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
4061
4495
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4062
4496
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4063
4497
  let baseOptions;
@@ -4200,6 +4634,65 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4200
4634
  options: localVarRequestOptions,
4201
4635
  };
4202
4636
  },
4637
+ /**
4638
+ *
4639
+ * @summary Publish a JAR with optimistic manifest version checking
4640
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
4641
+ * @param {string} orgName
4642
+ * @param {string} clusterName
4643
+ * @param {string} jarId
4644
+ * @param {ClusterJarPublish} clusterJarPublish
4645
+ * @param {*} [options] Override http request option.
4646
+ * @throws {RequiredError}
4647
+ */
4648
+ distributeClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4649
+ // verify required parameter 'engineName' is not null or undefined
4650
+ assertParamExists('distributeClusterJar', 'engineName', engineName)
4651
+ // verify required parameter 'orgName' is not null or undefined
4652
+ assertParamExists('distributeClusterJar', 'orgName', orgName)
4653
+ // verify required parameter 'clusterName' is not null or undefined
4654
+ assertParamExists('distributeClusterJar', 'clusterName', clusterName)
4655
+ // verify required parameter 'jarId' is not null or undefined
4656
+ assertParamExists('distributeClusterJar', 'jarId', jarId)
4657
+ // verify required parameter 'clusterJarPublish' is not null or undefined
4658
+ assertParamExists('distributeClusterJar', 'clusterJarPublish', clusterJarPublish)
4659
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
4660
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4661
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4662
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4663
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
4664
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4665
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4666
+ let baseOptions;
4667
+ if (configuration) {
4668
+ baseOptions = configuration.baseOptions;
4669
+ }
4670
+
4671
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4672
+ const localVarHeaderParameter = {} as any;
4673
+ const localVarQueryParameter = {} as any;
4674
+
4675
+ // authentication BearerToken required
4676
+ // http bearer authentication required
4677
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4678
+
4679
+ // authentication DigestAuth required
4680
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4681
+
4682
+
4683
+
4684
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4685
+
4686
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4687
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4688
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4689
+ localVarRequestOptions.data = serializeDataIfNeeded(clusterJarPublish, localVarRequestOptions, configuration)
4690
+
4691
+ return {
4692
+ url: toPathString(localVarUrlObj),
4693
+ options: localVarRequestOptions,
4694
+ };
4695
+ },
4203
4696
  /**
4204
4697
  *
4205
4698
  * @summary Restore current cluster or instance
@@ -4287,6 +4780,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4287
4780
 
4288
4781
 
4289
4782
 
4783
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4784
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4785
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4786
+
4787
+ return {
4788
+ url: toPathString(localVarUrlObj),
4789
+ options: localVarRequestOptions,
4790
+ };
4791
+ },
4792
+ /**
4793
+ *
4794
+ * @summary Download the original JAR
4795
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
4796
+ * @param {string} orgName
4797
+ * @param {string} clusterName
4798
+ * @param {string} jarId
4799
+ * @param {*} [options] Override http request option.
4800
+ * @throws {RequiredError}
4801
+ */
4802
+ downloadClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4803
+ // verify required parameter 'engineName' is not null or undefined
4804
+ assertParamExists('downloadClusterJar', 'engineName', engineName)
4805
+ // verify required parameter 'orgName' is not null or undefined
4806
+ assertParamExists('downloadClusterJar', 'orgName', orgName)
4807
+ // verify required parameter 'clusterName' is not null or undefined
4808
+ assertParamExists('downloadClusterJar', 'clusterName', clusterName)
4809
+ // verify required parameter 'jarId' is not null or undefined
4810
+ assertParamExists('downloadClusterJar', 'jarId', jarId)
4811
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
4812
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4813
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4814
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4815
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
4816
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4817
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4818
+ let baseOptions;
4819
+ if (configuration) {
4820
+ baseOptions = configuration.baseOptions;
4821
+ }
4822
+
4823
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4824
+ const localVarHeaderParameter = {} as any;
4825
+ const localVarQueryParameter = {} as any;
4826
+
4827
+ // authentication BearerToken required
4828
+ // http bearer authentication required
4829
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4830
+
4831
+ // authentication DigestAuth required
4832
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4833
+
4834
+
4835
+
4290
4836
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4291
4837
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4292
4838
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -5804,6 +6350,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
5804
6350
 
5805
6351
 
5806
6352
 
6353
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6354
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6355
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6356
+
6357
+ return {
6358
+ url: toPathString(localVarUrlObj),
6359
+ options: localVarRequestOptions,
6360
+ };
6361
+ },
6362
+ /**
6363
+ *
6364
+ * @summary Get external JAR capability and configuration
6365
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
6366
+ * @param {string} orgName
6367
+ * @param {string} clusterName
6368
+ * @param {*} [options] Override http request option.
6369
+ * @throws {RequiredError}
6370
+ */
6371
+ getClusterJarConfig: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6372
+ // verify required parameter 'engineName' is not null or undefined
6373
+ assertParamExists('getClusterJarConfig', 'engineName', engineName)
6374
+ // verify required parameter 'orgName' is not null or undefined
6375
+ assertParamExists('getClusterJarConfig', 'orgName', orgName)
6376
+ // verify required parameter 'clusterName' is not null or undefined
6377
+ assertParamExists('getClusterJarConfig', 'clusterName', clusterName)
6378
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
6379
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6380
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6381
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6382
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6383
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6384
+ let baseOptions;
6385
+ if (configuration) {
6386
+ baseOptions = configuration.baseOptions;
6387
+ }
6388
+
6389
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6390
+ const localVarHeaderParameter = {} as any;
6391
+ const localVarQueryParameter = {} as any;
6392
+
6393
+ // authentication BearerToken required
6394
+ // http bearer authentication required
6395
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6396
+
6397
+ // authentication DigestAuth required
6398
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
6399
+
6400
+
6401
+
5807
6402
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5808
6403
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5809
6404
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -7481,6 +8076,63 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
7481
8076
 
7482
8077
 
7483
8078
 
8079
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8080
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8081
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8082
+
8083
+ return {
8084
+ url: toPathString(localVarUrlObj),
8085
+ options: localVarRequestOptions,
8086
+ };
8087
+ },
8088
+ /**
8089
+ * get root account password
8090
+ * @summary getRootSeaweedFSAccountPassword
8091
+ * @param {string} orgName name of the Org
8092
+ * @param {string} clusterName name of the Cluster
8093
+ * @param {string} accountName name of the account
8094
+ * @param {string} [component] name of the component
8095
+ * @param {*} [options] Override http request option.
8096
+ * @throws {RequiredError}
8097
+ */
8098
+ getRootSeaweedFSAccountPassword: async (orgName: string, clusterName: string, accountName: string, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8099
+ // verify required parameter 'orgName' is not null or undefined
8100
+ assertParamExists('getRootSeaweedFSAccountPassword', 'orgName', orgName)
8101
+ // verify required parameter 'clusterName' is not null or undefined
8102
+ assertParamExists('getRootSeaweedFSAccountPassword', 'clusterName', clusterName)
8103
+ // verify required parameter 'accountName' is not null or undefined
8104
+ assertParamExists('getRootSeaweedFSAccountPassword', 'accountName', accountName)
8105
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password`
8106
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8107
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
8108
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8109
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8110
+ let baseOptions;
8111
+ if (configuration) {
8112
+ baseOptions = configuration.baseOptions;
8113
+ }
8114
+
8115
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8116
+ const localVarHeaderParameter = {} as any;
8117
+ const localVarQueryParameter = {} as any;
8118
+
8119
+ // authentication BearerToken required
8120
+ // http bearer authentication required
8121
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
8122
+
8123
+ // authentication DigestAuth required
8124
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
8125
+
8126
+ if (accountName !== undefined) {
8127
+ localVarQueryParameter['accountName'] = accountName;
8128
+ }
8129
+
8130
+ if (component !== undefined) {
8131
+ localVarQueryParameter['component'] = component;
8132
+ }
8133
+
8134
+
8135
+
7484
8136
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7485
8137
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7486
8138
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -8924,6 +9576,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
8924
9576
 
8925
9577
 
8926
9578
 
9579
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9580
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9581
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9582
+
9583
+ return {
9584
+ url: toPathString(localVarUrlObj),
9585
+ options: localVarRequestOptions,
9586
+ };
9587
+ },
9588
+ /**
9589
+ *
9590
+ * @summary List external JAR versions with metadata and per-instance synchronization state
9591
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
9592
+ * @param {string} orgName
9593
+ * @param {string} clusterName
9594
+ * @param {*} [options] Override http request option.
9595
+ * @throws {RequiredError}
9596
+ */
9597
+ listClusterJars: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9598
+ // verify required parameter 'engineName' is not null or undefined
9599
+ assertParamExists('listClusterJars', 'engineName', engineName)
9600
+ // verify required parameter 'orgName' is not null or undefined
9601
+ assertParamExists('listClusterJars', 'orgName', orgName)
9602
+ // verify required parameter 'clusterName' is not null or undefined
9603
+ assertParamExists('listClusterJars', 'clusterName', clusterName)
9604
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
9605
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9606
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9607
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9608
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9609
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9610
+ let baseOptions;
9611
+ if (configuration) {
9612
+ baseOptions = configuration.baseOptions;
9613
+ }
9614
+
9615
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9616
+ const localVarHeaderParameter = {} as any;
9617
+ const localVarQueryParameter = {} as any;
9618
+
9619
+ // authentication BearerToken required
9620
+ // http bearer authentication required
9621
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9622
+
9623
+ // authentication DigestAuth required
9624
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9625
+
9626
+
9627
+
8927
9628
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8928
9629
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8929
9630
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -11086,6 +11787,96 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
11086
11787
 
11087
11788
 
11088
11789
 
11790
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11791
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11792
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11793
+
11794
+ return {
11795
+ url: toPathString(localVarUrlObj),
11796
+ options: localVarRequestOptions,
11797
+ };
11798
+ },
11799
+ /**
11800
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
11801
+ * @summary listSeaweedFSAccounts
11802
+ * @param {string} orgName name of the organization
11803
+ * @param {string} clusterName name of the cluster
11804
+ * @param {*} [options] Override http request option.
11805
+ * @throws {RequiredError}
11806
+ */
11807
+ listSeaweedFSAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11808
+ // verify required parameter 'orgName' is not null or undefined
11809
+ assertParamExists('listSeaweedFSAccounts', 'orgName', orgName)
11810
+ // verify required parameter 'clusterName' is not null or undefined
11811
+ assertParamExists('listSeaweedFSAccounts', 'clusterName', clusterName)
11812
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
11813
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11814
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
11815
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11816
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11817
+ let baseOptions;
11818
+ if (configuration) {
11819
+ baseOptions = configuration.baseOptions;
11820
+ }
11821
+
11822
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11823
+ const localVarHeaderParameter = {} as any;
11824
+ const localVarQueryParameter = {} as any;
11825
+
11826
+ // authentication BearerToken required
11827
+ // http bearer authentication required
11828
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11829
+
11830
+ // authentication DigestAuth required
11831
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
11832
+
11833
+
11834
+
11835
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11836
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11837
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11838
+
11839
+ return {
11840
+ url: toPathString(localVarUrlObj),
11841
+ options: localVarRequestOptions,
11842
+ };
11843
+ },
11844
+ /**
11845
+ *
11846
+ * @summary listSeaweedFSPolicies
11847
+ * @param {string} orgName
11848
+ * @param {string} clusterName
11849
+ * @param {*} [options] Override http request option.
11850
+ * @throws {RequiredError}
11851
+ */
11852
+ listSeaweedFSPolicies: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11853
+ // verify required parameter 'orgName' is not null or undefined
11854
+ assertParamExists('listSeaweedFSPolicies', 'orgName', orgName)
11855
+ // verify required parameter 'clusterName' is not null or undefined
11856
+ assertParamExists('listSeaweedFSPolicies', 'clusterName', clusterName)
11857
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies`
11858
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11859
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
11860
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11861
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11862
+ let baseOptions;
11863
+ if (configuration) {
11864
+ baseOptions = configuration.baseOptions;
11865
+ }
11866
+
11867
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11868
+ const localVarHeaderParameter = {} as any;
11869
+ const localVarQueryParameter = {} as any;
11870
+
11871
+ // authentication BearerToken required
11872
+ // http bearer authentication required
11873
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11874
+
11875
+ // authentication DigestAuth required
11876
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
11877
+
11878
+
11879
+
11089
11880
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11090
11881
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11091
11882
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12166,6 +12957,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12166
12957
  options: localVarRequestOptions,
12167
12958
  };
12168
12959
  },
12960
+ /**
12961
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
12962
+ * @summary putSeaweedFSPolicy
12963
+ * @param {string} orgName
12964
+ * @param {string} clusterName
12965
+ * @param {string} policyName
12966
+ * @param {{ [key: string]: any; }} requestBody
12967
+ * @param {*} [options] Override http request option.
12968
+ * @throws {RequiredError}
12969
+ */
12970
+ putSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12971
+ // verify required parameter 'orgName' is not null or undefined
12972
+ assertParamExists('putSeaweedFSPolicy', 'orgName', orgName)
12973
+ // verify required parameter 'clusterName' is not null or undefined
12974
+ assertParamExists('putSeaweedFSPolicy', 'clusterName', clusterName)
12975
+ // verify required parameter 'policyName' is not null or undefined
12976
+ assertParamExists('putSeaweedFSPolicy', 'policyName', policyName)
12977
+ // verify required parameter 'requestBody' is not null or undefined
12978
+ assertParamExists('putSeaweedFSPolicy', 'requestBody', requestBody)
12979
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
12980
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12981
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
12982
+ .replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
12983
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12984
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12985
+ let baseOptions;
12986
+ if (configuration) {
12987
+ baseOptions = configuration.baseOptions;
12988
+ }
12989
+
12990
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
12991
+ const localVarHeaderParameter = {} as any;
12992
+ const localVarQueryParameter = {} as any;
12993
+
12994
+ // authentication BearerToken required
12995
+ // http bearer authentication required
12996
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12997
+
12998
+ // authentication DigestAuth required
12999
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13000
+
13001
+
13002
+
13003
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13004
+
13005
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13006
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13007
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13008
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
13009
+
13010
+ return {
13011
+ url: toPathString(localVarUrlObj),
13012
+ options: localVarRequestOptions,
13013
+ };
13014
+ },
12169
13015
  /**
12170
13016
  *
12171
13017
  * @summary create a SQL query
@@ -14186,6 +15032,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14186
15032
 
14187
15033
 
14188
15034
 
15035
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15036
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15037
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15038
+
15039
+ return {
15040
+ url: toPathString(localVarUrlObj),
15041
+ options: localVarRequestOptions,
15042
+ };
15043
+ },
15044
+ /**
15045
+ *
15046
+ * @summary Retry synchronization of published JARs
15047
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
15048
+ * @param {string} orgName
15049
+ * @param {string} clusterName
15050
+ * @param {string} jarId
15051
+ * @param {*} [options] Override http request option.
15052
+ * @throws {RequiredError}
15053
+ */
15054
+ retryClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15055
+ // verify required parameter 'engineName' is not null or undefined
15056
+ assertParamExists('retryClusterJar', 'engineName', engineName)
15057
+ // verify required parameter 'orgName' is not null or undefined
15058
+ assertParamExists('retryClusterJar', 'orgName', orgName)
15059
+ // verify required parameter 'clusterName' is not null or undefined
15060
+ assertParamExists('retryClusterJar', 'clusterName', clusterName)
15061
+ // verify required parameter 'jarId' is not null or undefined
15062
+ assertParamExists('retryClusterJar', 'jarId', jarId)
15063
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
15064
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
15065
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
15066
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
15067
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
15068
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15069
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15070
+ let baseOptions;
15071
+ if (configuration) {
15072
+ baseOptions = configuration.baseOptions;
15073
+ }
15074
+
15075
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15076
+ const localVarHeaderParameter = {} as any;
15077
+ const localVarQueryParameter = {} as any;
15078
+
15079
+ // authentication BearerToken required
15080
+ // http bearer authentication required
15081
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15082
+
15083
+ // authentication DigestAuth required
15084
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
15085
+
15086
+
15087
+
14189
15088
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14190
15089
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14191
15090
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16372,6 +17271,116 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
16372
17271
  options: localVarRequestOptions,
16373
17272
  };
16374
17273
  },
17274
+ /**
17275
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
17276
+ * @summary updateSeaweedFSAccount
17277
+ * @param {string} orgName name of the organization
17278
+ * @param {string} clusterName name of the cluster
17279
+ * @param {string} accountName name of the account
17280
+ * @param {Account} body
17281
+ * @param {*} [options] Override http request option.
17282
+ * @throws {RequiredError}
17283
+ */
17284
+ updateSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17285
+ // verify required parameter 'orgName' is not null or undefined
17286
+ assertParamExists('updateSeaweedFSAccount', 'orgName', orgName)
17287
+ // verify required parameter 'clusterName' is not null or undefined
17288
+ assertParamExists('updateSeaweedFSAccount', 'clusterName', clusterName)
17289
+ // verify required parameter 'accountName' is not null or undefined
17290
+ assertParamExists('updateSeaweedFSAccount', 'accountName', accountName)
17291
+ // verify required parameter 'body' is not null or undefined
17292
+ assertParamExists('updateSeaweedFSAccount', 'body', body)
17293
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
17294
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
17295
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
17296
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
17297
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17298
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17299
+ let baseOptions;
17300
+ if (configuration) {
17301
+ baseOptions = configuration.baseOptions;
17302
+ }
17303
+
17304
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
17305
+ const localVarHeaderParameter = {} as any;
17306
+ const localVarQueryParameter = {} as any;
17307
+
17308
+ // authentication BearerToken required
17309
+ // http bearer authentication required
17310
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
17311
+
17312
+ // authentication DigestAuth required
17313
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
17314
+
17315
+
17316
+
17317
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17318
+
17319
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17320
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17321
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17322
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
17323
+
17324
+ return {
17325
+ url: toPathString(localVarUrlObj),
17326
+ options: localVarRequestOptions,
17327
+ };
17328
+ },
17329
+ /**
17330
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
17331
+ * @summary updateSeaweedFSAccountPrivileges
17332
+ * @param {string} orgName name of the Org
17333
+ * @param {string} clusterName name of the Cluster
17334
+ * @param {string} accountName name of the account
17335
+ * @param {Array<PrivilegeListItem>} body
17336
+ * @param {*} [options] Override http request option.
17337
+ * @throws {RequiredError}
17338
+ */
17339
+ updateSeaweedFSAccountPrivileges: async (orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17340
+ // verify required parameter 'orgName' is not null or undefined
17341
+ assertParamExists('updateSeaweedFSAccountPrivileges', 'orgName', orgName)
17342
+ // verify required parameter 'clusterName' is not null or undefined
17343
+ assertParamExists('updateSeaweedFSAccountPrivileges', 'clusterName', clusterName)
17344
+ // verify required parameter 'accountName' is not null or undefined
17345
+ assertParamExists('updateSeaweedFSAccountPrivileges', 'accountName', accountName)
17346
+ // verify required parameter 'body' is not null or undefined
17347
+ assertParamExists('updateSeaweedFSAccountPrivileges', 'body', body)
17348
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
17349
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
17350
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
17351
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
17352
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17353
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17354
+ let baseOptions;
17355
+ if (configuration) {
17356
+ baseOptions = configuration.baseOptions;
17357
+ }
17358
+
17359
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
17360
+ const localVarHeaderParameter = {} as any;
17361
+ const localVarQueryParameter = {} as any;
17362
+
17363
+ // authentication BearerToken required
17364
+ // http bearer authentication required
17365
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
17366
+
17367
+ // authentication DigestAuth required
17368
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
17369
+
17370
+
17371
+
17372
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17373
+
17374
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17375
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17376
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17377
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
17378
+
17379
+ return {
17380
+ url: toPathString(localVarUrlObj),
17381
+ options: localVarRequestOptions,
17382
+ };
17383
+ },
16375
17384
  /**
16376
17385
  * update a MinIO service account access key
16377
17386
  * @summary Update MinIO access key
@@ -16634,6 +17643,86 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
16634
17643
  options: localVarRequestOptions,
16635
17644
  };
16636
17645
  },
17646
+ /**
17647
+ *
17648
+ * @summary Upload an immutable JAR version
17649
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
17650
+ * @param {string} orgName
17651
+ * @param {string} clusterName
17652
+ * @param {string} idempotencyKey
17653
+ * @param {string} name
17654
+ * @param {ClusterJarKind} kind
17655
+ * @param {File} file
17656
+ * @param {*} [options] Override http request option.
17657
+ * @throws {RequiredError}
17658
+ */
17659
+ uploadClusterJar: async (engineName: string, orgName: string, clusterName: string, idempotencyKey: string, name: string, kind: ClusterJarKind, file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17660
+ // verify required parameter 'engineName' is not null or undefined
17661
+ assertParamExists('uploadClusterJar', 'engineName', engineName)
17662
+ // verify required parameter 'orgName' is not null or undefined
17663
+ assertParamExists('uploadClusterJar', 'orgName', orgName)
17664
+ // verify required parameter 'clusterName' is not null or undefined
17665
+ assertParamExists('uploadClusterJar', 'clusterName', clusterName)
17666
+ // verify required parameter 'idempotencyKey' is not null or undefined
17667
+ assertParamExists('uploadClusterJar', 'idempotencyKey', idempotencyKey)
17668
+ // verify required parameter 'name' is not null or undefined
17669
+ assertParamExists('uploadClusterJar', 'name', name)
17670
+ // verify required parameter 'kind' is not null or undefined
17671
+ assertParamExists('uploadClusterJar', 'kind', kind)
17672
+ // verify required parameter 'file' is not null or undefined
17673
+ assertParamExists('uploadClusterJar', 'file', file)
17674
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
17675
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
17676
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
17677
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
17678
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17679
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17680
+ let baseOptions;
17681
+ if (configuration) {
17682
+ baseOptions = configuration.baseOptions;
17683
+ }
17684
+
17685
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17686
+ const localVarHeaderParameter = {} as any;
17687
+ const localVarQueryParameter = {} as any;
17688
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
17689
+
17690
+ // authentication BearerToken required
17691
+ // http bearer authentication required
17692
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
17693
+
17694
+ // authentication DigestAuth required
17695
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
17696
+
17697
+
17698
+ if (name !== undefined) {
17699
+ localVarFormParams.append('name', name as any);
17700
+ }
17701
+
17702
+ if (kind !== undefined) {
17703
+ localVarFormParams.append('kind', kind as any);
17704
+ }
17705
+
17706
+ if (file !== undefined) {
17707
+ localVarFormParams.append('file', file as any);
17708
+ }
17709
+
17710
+
17711
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
17712
+
17713
+ if (idempotencyKey != null) {
17714
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
17715
+ }
17716
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17717
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17718
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17719
+ localVarRequestOptions.data = localVarFormParams;
17720
+
17721
+ return {
17722
+ url: toPathString(localVarUrlObj),
17723
+ options: localVarRequestOptions,
17724
+ };
17725
+ },
16637
17726
  /**
16638
17727
  *
16639
17728
  * @summary Validate cluster creation
@@ -16936,6 +18025,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
16936
18025
  const localVarOperationServerBasePath = operationServerMap['SharedApi.alterParameter']?.[localVarOperationServerIndex]?.url;
16937
18026
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16938
18027
  },
18028
+ /**
18029
+ *
18030
+ * @summary Archive a JAR while retaining published files and startup synchronization
18031
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
18032
+ * @param {string} orgName
18033
+ * @param {string} clusterName
18034
+ * @param {string} jarId
18035
+ * @param {*} [options] Override http request option.
18036
+ * @throws {RequiredError}
18037
+ */
18038
+ async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18039
+ const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
18040
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18041
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
18042
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18043
+ },
16939
18044
  /**
16940
18045
  * Batch add permissions to a role
16941
18046
  * @summary Batch add permissions to a role
@@ -16980,6 +18085,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
16980
18085
  const localVarOperationServerBasePath = operationServerMap['SharedApi.batchUpdateOrgParameters']?.[localVarOperationServerIndex]?.url;
16981
18086
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16982
18087
  },
18088
+ /**
18089
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
18090
+ * @summary bindSeaweedFSPolicies
18091
+ * @param {string} orgName
18092
+ * @param {string} clusterName
18093
+ * @param {string} accountName
18094
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
18095
+ * @param {*} [options] Override http request option.
18096
+ * @throws {RequiredError}
18097
+ */
18098
+ async bindSeaweedFSPolicies(orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18099
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options);
18100
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18101
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.bindSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
18102
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18103
+ },
16983
18104
  /**
16984
18105
  *
16985
18106
  * @summary build backup object with a existing backup directory
@@ -17331,6 +18452,37 @@ export const SharedApiFp = function(configuration?: Configuration) {
17331
18452
  const localVarOperationServerBasePath = operationServerMap['SharedApi.createRole']?.[localVarOperationServerIndex]?.url;
17332
18453
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17333
18454
  },
18455
+ /**
18456
+ * Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
18457
+ * @summary createSeaweedFSAccessKey
18458
+ * @param {string} orgName
18459
+ * @param {string} clusterName
18460
+ * @param {string} accountName
18461
+ * @param {Account} account
18462
+ * @param {*} [options] Override http request option.
18463
+ * @throws {RequiredError}
18464
+ */
18465
+ async createSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
18466
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options);
18467
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18468
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.createSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
18469
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18470
+ },
18471
+ /**
18472
+ * Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
18473
+ * @summary createSeaweedFSAccount
18474
+ * @param {string} orgName name of the organization
18475
+ * @param {string} clusterName name of the cluster
18476
+ * @param {Account} body
18477
+ * @param {*} [options] Override http request option.
18478
+ * @throws {RequiredError}
18479
+ */
18480
+ async createSeaweedFSAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
18481
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccount(orgName, clusterName, body, options);
18482
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18483
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.createSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
18484
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18485
+ },
17334
18486
  /**
17335
18487
  * create a MinIO service account access key
17336
18488
  * @summary Create MinIO access key
@@ -17566,6 +18718,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
17566
18718
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteCluster']?.[localVarOperationServerIndex]?.url;
17567
18719
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17568
18720
  },
18721
+ /**
18722
+ *
18723
+ * @summary Delete an unpublished JAR version
18724
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
18725
+ * @param {string} orgName
18726
+ * @param {string} clusterName
18727
+ * @param {string} jarId
18728
+ * @param {*} [options] Override http request option.
18729
+ * @throws {RequiredError}
18730
+ */
18731
+ async deleteClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18732
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
18733
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18734
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClusterJar']?.[localVarOperationServerIndex]?.url;
18735
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18736
+ },
17569
18737
  /**
17570
18738
  *
17571
18739
  * @summary delete the datasource
@@ -17894,6 +19062,52 @@ export const SharedApiFp = function(configuration?: Configuration) {
17894
19062
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteRoleByName']?.[localVarOperationServerIndex]?.url;
17895
19063
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17896
19064
  },
19065
+ /**
19066
+ *
19067
+ * @summary deleteSeaweedFSAccessKey
19068
+ * @param {string} orgName
19069
+ * @param {string} clusterName
19070
+ * @param {string} accountName
19071
+ * @param {string} accessKey
19072
+ * @param {*} [options] Override http request option.
19073
+ * @throws {RequiredError}
19074
+ */
19075
+ async deleteSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
19076
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
19077
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19078
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
19079
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19080
+ },
19081
+ /**
19082
+ * delete an account in cluster
19083
+ * @summary deleteSeaweedFSAccount
19084
+ * @param {string} orgName name of the organization
19085
+ * @param {string} clusterName name of the cluster
19086
+ * @param {string} accountName name of the account
19087
+ * @param {*} [options] Override http request option.
19088
+ * @throws {RequiredError}
19089
+ */
19090
+ async deleteSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
19091
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
19092
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19093
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
19094
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19095
+ },
19096
+ /**
19097
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
19098
+ * @summary deleteSeaweedFSPolicy
19099
+ * @param {string} orgName
19100
+ * @param {string} clusterName
19101
+ * @param {string} policyName
19102
+ * @param {*} [options] Override http request option.
19103
+ * @throws {RequiredError}
19104
+ */
19105
+ async deleteSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
19106
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
19107
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19108
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
19109
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19110
+ },
17897
19111
  /**
17898
19112
  * delete a MinIO service account access key
17899
19113
  * @summary Delete MinIO access key
@@ -17956,6 +19170,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
17956
19170
  const localVarOperationServerBasePath = operationServerMap['SharedApi.disableConsole']?.[localVarOperationServerIndex]?.url;
17957
19171
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17958
19172
  },
19173
+ /**
19174
+ *
19175
+ * @summary Publish a JAR with optimistic manifest version checking
19176
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19177
+ * @param {string} orgName
19178
+ * @param {string} clusterName
19179
+ * @param {string} jarId
19180
+ * @param {ClusterJarPublish} clusterJarPublish
19181
+ * @param {*} [options] Override http request option.
19182
+ * @throws {RequiredError}
19183
+ */
19184
+ async distributeClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
19185
+ const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
19186
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19187
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.distributeClusterJar']?.[localVarOperationServerIndex]?.url;
19188
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19189
+ },
17959
19190
  /**
17960
19191
  *
17961
19192
  * @summary Restore current cluster or instance
@@ -17985,6 +19216,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
17985
19216
  const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadBackup']?.[localVarOperationServerIndex]?.url;
17986
19217
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17987
19218
  },
19219
+ /**
19220
+ *
19221
+ * @summary Download the original JAR
19222
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19223
+ * @param {string} orgName
19224
+ * @param {string} clusterName
19225
+ * @param {string} jarId
19226
+ * @param {*} [options] Override http request option.
19227
+ * @throws {RequiredError}
19228
+ */
19229
+ async downloadClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
19230
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
19231
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19232
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadClusterJar']?.[localVarOperationServerIndex]?.url;
19233
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19234
+ },
17988
19235
  /**
17989
19236
  *
17990
19237
  * @summary Download multiple backup files
@@ -18412,6 +19659,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
18412
19659
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterInstanceLog']?.[localVarOperationServerIndex]?.url;
18413
19660
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18414
19661
  },
19662
+ /**
19663
+ *
19664
+ * @summary Get external JAR capability and configuration
19665
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19666
+ * @param {string} orgName
19667
+ * @param {string} clusterName
19668
+ * @param {*} [options] Override http request option.
19669
+ * @throws {RequiredError}
19670
+ */
19671
+ async getClusterJarConfig(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarConfig>> {
19672
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
19673
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19674
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterJarConfig']?.[localVarOperationServerIndex]?.url;
19675
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19676
+ },
18415
19677
  /**
18416
19678
  *
18417
19679
  * @summary Get cluster parameter template
@@ -18914,6 +20176,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
18914
20176
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getRootAccountPassword']?.[localVarOperationServerIndex]?.url;
18915
20177
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18916
20178
  },
20179
+ /**
20180
+ * get root account password
20181
+ * @summary getRootSeaweedFSAccountPassword
20182
+ * @param {string} orgName name of the Org
20183
+ * @param {string} clusterName name of the Cluster
20184
+ * @param {string} accountName name of the account
20185
+ * @param {string} [component] name of the component
20186
+ * @param {*} [options] Override http request option.
20187
+ * @throws {RequiredError}
20188
+ */
20189
+ async getRootSeaweedFSAccountPassword(orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
20190
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options);
20191
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20192
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getRootSeaweedFSAccountPassword']?.[localVarOperationServerIndex]?.url;
20193
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20194
+ },
18917
20195
  /**
18918
20196
  *
18919
20197
  * @summary list all databases or schema of the cluster
@@ -19320,6 +20598,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
19320
20598
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listCluster']?.[localVarOperationServerIndex]?.url;
19321
20599
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19322
20600
  },
20601
+ /**
20602
+ *
20603
+ * @summary List external JAR versions with metadata and per-instance synchronization state
20604
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
20605
+ * @param {string} orgName
20606
+ * @param {string} clusterName
20607
+ * @param {*} [options] Override http request option.
20608
+ * @throws {RequiredError}
20609
+ */
20610
+ async listClusterJars(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarList>> {
20611
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
20612
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20613
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterJars']?.[localVarOperationServerIndex]?.url;
20614
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20615
+ },
19323
20616
  /**
19324
20617
  *
19325
20618
  * @summary List restore tasks
@@ -19970,6 +21263,34 @@ export const SharedApiFp = function(configuration?: Configuration) {
19970
21263
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listRoles']?.[localVarOperationServerIndex]?.url;
19971
21264
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19972
21265
  },
21266
+ /**
21267
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
21268
+ * @summary listSeaweedFSAccounts
21269
+ * @param {string} orgName name of the organization
21270
+ * @param {string} clusterName name of the cluster
21271
+ * @param {*} [options] Override http request option.
21272
+ * @throws {RequiredError}
21273
+ */
21274
+ async listSeaweedFSAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>> {
21275
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSAccounts(orgName, clusterName, options);
21276
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21277
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listSeaweedFSAccounts']?.[localVarOperationServerIndex]?.url;
21278
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21279
+ },
21280
+ /**
21281
+ *
21282
+ * @summary listSeaweedFSPolicies
21283
+ * @param {string} orgName
21284
+ * @param {string} clusterName
21285
+ * @param {*} [options] Override http request option.
21286
+ * @throws {RequiredError}
21287
+ */
21288
+ async listSeaweedFSPolicies(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSeaweedFSPolicies200Response>> {
21289
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSPolicies(orgName, clusterName, options);
21290
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21291
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
21292
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21293
+ },
19973
21294
  /**
19974
21295
  * list MinIO service account access keys
19975
21296
  * @summary List MinIO access keys
@@ -20288,6 +21609,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
20288
21609
  const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
20289
21610
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20290
21611
  },
21612
+ /**
21613
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
21614
+ * @summary putSeaweedFSPolicy
21615
+ * @param {string} orgName
21616
+ * @param {string} clusterName
21617
+ * @param {string} policyName
21618
+ * @param {{ [key: string]: any; }} requestBody
21619
+ * @param {*} [options] Override http request option.
21620
+ * @throws {RequiredError}
21621
+ */
21622
+ async putSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
21623
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options);
21624
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21625
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.putSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
21626
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21627
+ },
20291
21628
  /**
20292
21629
  *
20293
21630
  * @summary create a SQL query
@@ -20810,6 +22147,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
20810
22147
  const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreRecycleBinCluster']?.[localVarOperationServerIndex]?.url;
20811
22148
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20812
22149
  },
22150
+ /**
22151
+ *
22152
+ * @summary Retry synchronization of published JARs
22153
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
22154
+ * @param {string} orgName
22155
+ * @param {string} clusterName
22156
+ * @param {string} jarId
22157
+ * @param {*} [options] Override http request option.
22158
+ * @throws {RequiredError}
22159
+ */
22160
+ async retryClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
22161
+ const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
22162
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22163
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.retryClusterJar']?.[localVarOperationServerIndex]?.url;
22164
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22165
+ },
20813
22166
  /**
20814
22167
  *
20815
22168
  * @summary Revoke privileges from a ClickHouse role
@@ -21451,6 +22804,38 @@ export const SharedApiFp = function(configuration?: Configuration) {
21451
22804
  const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRoleByName']?.[localVarOperationServerIndex]?.url;
21452
22805
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21453
22806
  },
22807
+ /**
22808
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
22809
+ * @summary updateSeaweedFSAccount
22810
+ * @param {string} orgName name of the organization
22811
+ * @param {string} clusterName name of the cluster
22812
+ * @param {string} accountName name of the account
22813
+ * @param {Account} body
22814
+ * @param {*} [options] Override http request option.
22815
+ * @throws {RequiredError}
22816
+ */
22817
+ async updateSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
22818
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccount(orgName, clusterName, accountName, body, options);
22819
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22820
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.updateSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
22821
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22822
+ },
22823
+ /**
22824
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
22825
+ * @summary updateSeaweedFSAccountPrivileges
22826
+ * @param {string} orgName name of the Org
22827
+ * @param {string} clusterName name of the Cluster
22828
+ * @param {string} accountName name of the account
22829
+ * @param {Array<PrivilegeListItem>} body
22830
+ * @param {*} [options] Override http request option.
22831
+ * @throws {RequiredError}
22832
+ */
22833
+ async updateSeaweedFSAccountPrivileges(orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22834
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options);
22835
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22836
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.updateSeaweedFSAccountPrivileges']?.[localVarOperationServerIndex]?.url;
22837
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22838
+ },
21454
22839
  /**
21455
22840
  * update a MinIO service account access key
21456
22841
  * @summary Update MinIO access key
@@ -21527,6 +22912,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
21527
22912
  const localVarOperationServerBasePath = operationServerMap['SharedApi.upgradeCluster']?.[localVarOperationServerIndex]?.url;
21528
22913
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21529
22914
  },
22915
+ /**
22916
+ *
22917
+ * @summary Upload an immutable JAR version
22918
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
22919
+ * @param {string} orgName
22920
+ * @param {string} clusterName
22921
+ * @param {string} idempotencyKey
22922
+ * @param {string} name
22923
+ * @param {ClusterJarKind} kind
22924
+ * @param {File} file
22925
+ * @param {*} [options] Override http request option.
22926
+ * @throws {RequiredError}
22927
+ */
22928
+ 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>> {
22929
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
22930
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22931
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.uploadClusterJar']?.[localVarOperationServerIndex]?.url;
22932
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22933
+ },
21530
22934
  /**
21531
22935
  *
21532
22936
  * @summary Validate cluster creation
@@ -21637,6 +23041,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
21637
23041
  alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
21638
23042
  return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
21639
23043
  },
23044
+ /**
23045
+ *
23046
+ * @summary Archive a JAR while retaining published files and startup synchronization
23047
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
23048
+ * @param {*} [options] Override http request option.
23049
+ * @throws {RequiredError}
23050
+ */
23051
+ archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23052
+ return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
23053
+ },
21640
23054
  /**
21641
23055
  * Batch add permissions to a role
21642
23056
  * @summary Batch add permissions to a role
@@ -21667,6 +23081,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
21667
23081
  batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>> {
21668
23082
  return localVarFp.batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
21669
23083
  },
23084
+ /**
23085
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
23086
+ * @summary bindSeaweedFSPolicies
23087
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
23088
+ * @param {*} [options] Override http request option.
23089
+ * @throws {RequiredError}
23090
+ */
23091
+ bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23092
+ return localVarFp.bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(axios, basePath));
23093
+ },
21670
23094
  /**
21671
23095
  *
21672
23096
  * @summary build backup object with a existing backup directory
@@ -21898,6 +23322,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
21898
23322
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
21899
23323
  return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
21900
23324
  },
23325
+ /**
23326
+ * Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
23327
+ * @summary createSeaweedFSAccessKey
23328
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
23329
+ * @param {*} [options] Override http request option.
23330
+ * @throws {RequiredError}
23331
+ */
23332
+ createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
23333
+ return localVarFp.createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(axios, basePath));
23334
+ },
23335
+ /**
23336
+ * Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
23337
+ * @summary createSeaweedFSAccount
23338
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
23339
+ * @param {*} [options] Override http request option.
23340
+ * @throws {RequiredError}
23341
+ */
23342
+ createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
23343
+ return localVarFp.createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
23344
+ },
21901
23345
  /**
21902
23346
  * create a MinIO service account access key
21903
23347
  * @summary Create MinIO access key
@@ -22058,6 +23502,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22058
23502
  deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object> {
22059
23503
  return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
22060
23504
  },
23505
+ /**
23506
+ *
23507
+ * @summary Delete an unpublished JAR version
23508
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
23509
+ * @param {*} [options] Override http request option.
23510
+ * @throws {RequiredError}
23511
+ */
23512
+ deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23513
+ return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
23514
+ },
22061
23515
  /**
22062
23516
  *
22063
23517
  * @summary delete the datasource
@@ -22278,6 +23732,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22278
23732
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22279
23733
  return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
22280
23734
  },
23735
+ /**
23736
+ *
23737
+ * @summary deleteSeaweedFSAccessKey
23738
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
23739
+ * @param {*} [options] Override http request option.
23740
+ * @throws {RequiredError}
23741
+ */
23742
+ deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23743
+ return localVarFp.deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
23744
+ },
23745
+ /**
23746
+ * delete an account in cluster
23747
+ * @summary deleteSeaweedFSAccount
23748
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
23749
+ * @param {*} [options] Override http request option.
23750
+ * @throws {RequiredError}
23751
+ */
23752
+ deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23753
+ return localVarFp.deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
23754
+ },
23755
+ /**
23756
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
23757
+ * @summary deleteSeaweedFSPolicy
23758
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
23759
+ * @param {*} [options] Override http request option.
23760
+ * @throws {RequiredError}
23761
+ */
23762
+ deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23763
+ return localVarFp.deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(axios, basePath));
23764
+ },
22281
23765
  /**
22282
23766
  * delete a MinIO service account access key
22283
23767
  * @summary Delete MinIO access key
@@ -22318,6 +23802,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22318
23802
  disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22319
23803
  return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
22320
23804
  },
23805
+ /**
23806
+ *
23807
+ * @summary Publish a JAR with optimistic manifest version checking
23808
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
23809
+ * @param {*} [options] Override http request option.
23810
+ * @throws {RequiredError}
23811
+ */
23812
+ distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
23813
+ return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
23814
+ },
22321
23815
  /**
22322
23816
  *
22323
23817
  * @summary Restore current cluster or instance
@@ -22338,6 +23832,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22338
23832
  downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
22339
23833
  return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
22340
23834
  },
23835
+ /**
23836
+ *
23837
+ * @summary Download the original JAR
23838
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
23839
+ * @param {*} [options] Override http request option.
23840
+ * @throws {RequiredError}
23841
+ */
23842
+ downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
23843
+ return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
23844
+ },
22341
23845
  /**
22342
23846
  *
22343
23847
  * @summary Download multiple backup files
@@ -22588,6 +24092,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22588
24092
  getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
22589
24093
  return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
22590
24094
  },
24095
+ /**
24096
+ *
24097
+ * @summary Get external JAR capability and configuration
24098
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
24099
+ * @param {*} [options] Override http request option.
24100
+ * @throws {RequiredError}
24101
+ */
24102
+ getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig> {
24103
+ return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24104
+ },
22591
24105
  /**
22592
24106
  *
22593
24107
  * @summary Get cluster parameter template
@@ -22917,6 +24431,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22917
24431
  getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
22918
24432
  return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
22919
24433
  },
24434
+ /**
24435
+ * get root account password
24436
+ * @summary getRootSeaweedFSAccountPassword
24437
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
24438
+ * @param {*} [options] Override http request option.
24439
+ * @throws {RequiredError}
24440
+ */
24441
+ getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
24442
+ return localVarFp.getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
24443
+ },
22920
24444
  /**
22921
24445
  *
22922
24446
  * @summary list all databases or schema of the cluster
@@ -23157,6 +24681,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23157
24681
  listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
23158
24682
  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));
23159
24683
  },
24684
+ /**
24685
+ *
24686
+ * @summary List external JAR versions with metadata and per-instance synchronization state
24687
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
24688
+ * @param {*} [options] Override http request option.
24689
+ * @throws {RequiredError}
24690
+ */
24691
+ listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList> {
24692
+ return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24693
+ },
23160
24694
  /**
23161
24695
  *
23162
24696
  * @summary List restore tasks
@@ -23595,6 +25129,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23595
25129
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList> {
23596
25130
  return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
23597
25131
  },
25132
+ /**
25133
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
25134
+ * @summary listSeaweedFSAccounts
25135
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
25136
+ * @param {*} [options] Override http request option.
25137
+ * @throws {RequiredError}
25138
+ */
25139
+ listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
25140
+ return localVarFp.listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
25141
+ },
25142
+ /**
25143
+ *
25144
+ * @summary listSeaweedFSPolicies
25145
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
25146
+ * @param {*} [options] Override http request option.
25147
+ * @throws {RequiredError}
25148
+ */
25149
+ listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response> {
25150
+ return localVarFp.listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
25151
+ },
23598
25152
  /**
23599
25153
  * list MinIO service account access keys
23600
25154
  * @summary List MinIO access keys
@@ -23805,6 +25359,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23805
25359
  putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23806
25360
  return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
23807
25361
  },
25362
+ /**
25363
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
25364
+ * @summary putSeaweedFSPolicy
25365
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
25366
+ * @param {*} [options] Override http request option.
25367
+ * @throws {RequiredError}
25368
+ */
25369
+ putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
25370
+ return localVarFp.putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
25371
+ },
23808
25372
  /**
23809
25373
  *
23810
25374
  * @summary create a SQL query
@@ -24064,6 +25628,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24064
25628
  restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
24065
25629
  return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24066
25630
  },
25631
+ /**
25632
+ *
25633
+ * @summary Retry synchronization of published JARs
25634
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
25635
+ * @param {*} [options] Override http request option.
25636
+ * @throws {RequiredError}
25637
+ */
25638
+ retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
25639
+ return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
25640
+ },
24067
25641
  /**
24068
25642
  *
24069
25643
  * @summary Revoke privileges from a ClickHouse role
@@ -24474,6 +26048,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24474
26048
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
24475
26049
  return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
24476
26050
  },
26051
+ /**
26052
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
26053
+ * @summary updateSeaweedFSAccount
26054
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
26055
+ * @param {*} [options] Override http request option.
26056
+ * @throws {RequiredError}
26057
+ */
26058
+ updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
26059
+ return localVarFp.updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
26060
+ },
26061
+ /**
26062
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
26063
+ * @summary updateSeaweedFSAccountPrivileges
26064
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
26065
+ * @param {*} [options] Override http request option.
26066
+ * @throws {RequiredError}
26067
+ */
26068
+ updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
26069
+ return localVarFp.updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
26070
+ },
24477
26071
  /**
24478
26072
  * update a MinIO service account access key
24479
26073
  * @summary Update MinIO access key
@@ -24523,6 +26117,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24523
26117
  upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
24524
26118
  return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
24525
26119
  },
26120
+ /**
26121
+ *
26122
+ * @summary Upload an immutable JAR version
26123
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
26124
+ * @param {*} [options] Override http request option.
26125
+ * @throws {RequiredError}
26126
+ */
26127
+ uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage> {
26128
+ return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
26129
+ },
24526
26130
  /**
24527
26131
  *
24528
26132
  * @summary Validate cluster creation
@@ -24612,6 +26216,16 @@ export interface SharedApiInterface {
24612
26216
  */
24613
26217
  alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
24614
26218
 
26219
+ /**
26220
+ *
26221
+ * @summary Archive a JAR while retaining published files and startup synchronization
26222
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
26223
+ * @param {*} [options] Override http request option.
26224
+ * @throws {RequiredError}
26225
+ * @memberof SharedApiInterface
26226
+ */
26227
+ archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26228
+
24615
26229
  /**
24616
26230
  * Batch add permissions to a role
24617
26231
  * @summary Batch add permissions to a role
@@ -24642,6 +26256,16 @@ export interface SharedApiInterface {
24642
26256
  */
24643
26257
  batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>>;
24644
26258
 
26259
+ /**
26260
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
26261
+ * @summary bindSeaweedFSPolicies
26262
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
26263
+ * @param {*} [options] Override http request option.
26264
+ * @throws {RequiredError}
26265
+ * @memberof SharedApiInterface
26266
+ */
26267
+ bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26268
+
24645
26269
  /**
24646
26270
  *
24647
26271
  * @summary build backup object with a existing backup directory
@@ -24873,6 +26497,26 @@ export interface SharedApiInterface {
24873
26497
  */
24874
26498
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
24875
26499
 
26500
+ /**
26501
+ * Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
26502
+ * @summary createSeaweedFSAccessKey
26503
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
26504
+ * @param {*} [options] Override http request option.
26505
+ * @throws {RequiredError}
26506
+ * @memberof SharedApiInterface
26507
+ */
26508
+ createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
26509
+
26510
+ /**
26511
+ * Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
26512
+ * @summary createSeaweedFSAccount
26513
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
26514
+ * @param {*} [options] Override http request option.
26515
+ * @throws {RequiredError}
26516
+ * @memberof SharedApiInterface
26517
+ */
26518
+ createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
26519
+
24876
26520
  /**
24877
26521
  * create a MinIO service account access key
24878
26522
  * @summary Create MinIO access key
@@ -25033,6 +26677,16 @@ export interface SharedApiInterface {
25033
26677
  */
25034
26678
  deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
25035
26679
 
26680
+ /**
26681
+ *
26682
+ * @summary Delete an unpublished JAR version
26683
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
26684
+ * @param {*} [options] Override http request option.
26685
+ * @throws {RequiredError}
26686
+ * @memberof SharedApiInterface
26687
+ */
26688
+ deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26689
+
25036
26690
  /**
25037
26691
  *
25038
26692
  * @summary delete the datasource
@@ -25253,6 +26907,36 @@ export interface SharedApiInterface {
25253
26907
  */
25254
26908
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
25255
26909
 
26910
+ /**
26911
+ *
26912
+ * @summary deleteSeaweedFSAccessKey
26913
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
26914
+ * @param {*} [options] Override http request option.
26915
+ * @throws {RequiredError}
26916
+ * @memberof SharedApiInterface
26917
+ */
26918
+ deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26919
+
26920
+ /**
26921
+ * delete an account in cluster
26922
+ * @summary deleteSeaweedFSAccount
26923
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
26924
+ * @param {*} [options] Override http request option.
26925
+ * @throws {RequiredError}
26926
+ * @memberof SharedApiInterface
26927
+ */
26928
+ deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26929
+
26930
+ /**
26931
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
26932
+ * @summary deleteSeaweedFSPolicy
26933
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
26934
+ * @param {*} [options] Override http request option.
26935
+ * @throws {RequiredError}
26936
+ * @memberof SharedApiInterface
26937
+ */
26938
+ deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26939
+
25256
26940
  /**
25257
26941
  * delete a MinIO service account access key
25258
26942
  * @summary Delete MinIO access key
@@ -25293,6 +26977,16 @@ export interface SharedApiInterface {
25293
26977
  */
25294
26978
  disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
25295
26979
 
26980
+ /**
26981
+ *
26982
+ * @summary Publish a JAR with optimistic manifest version checking
26983
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
26984
+ * @param {*} [options] Override http request option.
26985
+ * @throws {RequiredError}
26986
+ * @memberof SharedApiInterface
26987
+ */
26988
+ distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
26989
+
25296
26990
  /**
25297
26991
  *
25298
26992
  * @summary Restore current cluster or instance
@@ -25313,6 +27007,16 @@ export interface SharedApiInterface {
25313
27007
  */
25314
27008
  downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
25315
27009
 
27010
+ /**
27011
+ *
27012
+ * @summary Download the original JAR
27013
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
27014
+ * @param {*} [options] Override http request option.
27015
+ * @throws {RequiredError}
27016
+ * @memberof SharedApiInterface
27017
+ */
27018
+ downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
27019
+
25316
27020
  /**
25317
27021
  *
25318
27022
  * @summary Download multiple backup files
@@ -25563,6 +27267,16 @@ export interface SharedApiInterface {
25563
27267
  */
25564
27268
  getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
25565
27269
 
27270
+ /**
27271
+ *
27272
+ * @summary Get external JAR capability and configuration
27273
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
27274
+ * @param {*} [options] Override http request option.
27275
+ * @throws {RequiredError}
27276
+ * @memberof SharedApiInterface
27277
+ */
27278
+ getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig>;
27279
+
25566
27280
  /**
25567
27281
  *
25568
27282
  * @summary Get cluster parameter template
@@ -25892,6 +27606,16 @@ export interface SharedApiInterface {
25892
27606
  */
25893
27607
  getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
25894
27608
 
27609
+ /**
27610
+ * get root account password
27611
+ * @summary getRootSeaweedFSAccountPassword
27612
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
27613
+ * @param {*} [options] Override http request option.
27614
+ * @throws {RequiredError}
27615
+ * @memberof SharedApiInterface
27616
+ */
27617
+ getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
27618
+
25895
27619
  /**
25896
27620
  *
25897
27621
  * @summary list all databases or schema of the cluster
@@ -26132,6 +27856,16 @@ export interface SharedApiInterface {
26132
27856
  */
26133
27857
  listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
26134
27858
 
27859
+ /**
27860
+ *
27861
+ * @summary List external JAR versions with metadata and per-instance synchronization state
27862
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
27863
+ * @param {*} [options] Override http request option.
27864
+ * @throws {RequiredError}
27865
+ * @memberof SharedApiInterface
27866
+ */
27867
+ listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList>;
27868
+
26135
27869
  /**
26136
27870
  *
26137
27871
  * @summary List restore tasks
@@ -26570,6 +28304,26 @@ export interface SharedApiInterface {
26570
28304
  */
26571
28305
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList>;
26572
28306
 
28307
+ /**
28308
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
28309
+ * @summary listSeaweedFSAccounts
28310
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
28311
+ * @param {*} [options] Override http request option.
28312
+ * @throws {RequiredError}
28313
+ * @memberof SharedApiInterface
28314
+ */
28315
+ listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
28316
+
28317
+ /**
28318
+ *
28319
+ * @summary listSeaweedFSPolicies
28320
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
28321
+ * @param {*} [options] Override http request option.
28322
+ * @throws {RequiredError}
28323
+ * @memberof SharedApiInterface
28324
+ */
28325
+ listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
28326
+
26573
28327
  /**
26574
28328
  * list MinIO service account access keys
26575
28329
  * @summary List MinIO access keys
@@ -26780,6 +28534,16 @@ export interface SharedApiInterface {
26780
28534
  */
26781
28535
  putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26782
28536
 
28537
+ /**
28538
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
28539
+ * @summary putSeaweedFSPolicy
28540
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
28541
+ * @param {*} [options] Override http request option.
28542
+ * @throws {RequiredError}
28543
+ * @memberof SharedApiInterface
28544
+ */
28545
+ putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
28546
+
26783
28547
  /**
26784
28548
  *
26785
28549
  * @summary create a SQL query
@@ -27039,6 +28803,16 @@ export interface SharedApiInterface {
27039
28803
  */
27040
28804
  restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
27041
28805
 
28806
+ /**
28807
+ *
28808
+ * @summary Retry synchronization of published JARs
28809
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
28810
+ * @param {*} [options] Override http request option.
28811
+ * @throws {RequiredError}
28812
+ * @memberof SharedApiInterface
28813
+ */
28814
+ retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
28815
+
27042
28816
  /**
27043
28817
  *
27044
28818
  * @summary Revoke privileges from a ClickHouse role
@@ -27449,6 +29223,26 @@ export interface SharedApiInterface {
27449
29223
  */
27450
29224
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
27451
29225
 
29226
+ /**
29227
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
29228
+ * @summary updateSeaweedFSAccount
29229
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
29230
+ * @param {*} [options] Override http request option.
29231
+ * @throws {RequiredError}
29232
+ * @memberof SharedApiInterface
29233
+ */
29234
+ updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
29235
+
29236
+ /**
29237
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
29238
+ * @summary updateSeaweedFSAccountPrivileges
29239
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
29240
+ * @param {*} [options] Override http request option.
29241
+ * @throws {RequiredError}
29242
+ * @memberof SharedApiInterface
29243
+ */
29244
+ updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
29245
+
27452
29246
  /**
27453
29247
  * update a MinIO service account access key
27454
29248
  * @summary Update MinIO access key
@@ -27498,6 +29292,16 @@ export interface SharedApiInterface {
27498
29292
  */
27499
29293
  upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
27500
29294
 
29295
+ /**
29296
+ *
29297
+ * @summary Upload an immutable JAR version
29298
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
29299
+ * @param {*} [options] Override http request option.
29300
+ * @throws {RequiredError}
29301
+ * @memberof SharedApiInterface
29302
+ */
29303
+ uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage>;
29304
+
27501
29305
  /**
27502
29306
  *
27503
29307
  * @summary Validate cluster creation
@@ -27862,6 +29666,41 @@ export interface SharedApiAlterParameterRequest {
27862
29666
  readonly dmsObAlterParameter: DmsObAlterParameter
27863
29667
  }
27864
29668
 
29669
+ /**
29670
+ * Request parameters for archiveClusterJar operation in SharedApi.
29671
+ * @export
29672
+ * @interface SharedApiArchiveClusterJarRequest
29673
+ */
29674
+ export interface SharedApiArchiveClusterJarRequest {
29675
+ /**
29676
+ * Doris or SelectDB engine of the target cluster.
29677
+ * @type {string}
29678
+ * @memberof SharedApiArchiveClusterJar
29679
+ */
29680
+ readonly engineName: string
29681
+
29682
+ /**
29683
+ *
29684
+ * @type {string}
29685
+ * @memberof SharedApiArchiveClusterJar
29686
+ */
29687
+ readonly orgName: string
29688
+
29689
+ /**
29690
+ *
29691
+ * @type {string}
29692
+ * @memberof SharedApiArchiveClusterJar
29693
+ */
29694
+ readonly clusterName: string
29695
+
29696
+ /**
29697
+ *
29698
+ * @type {string}
29699
+ * @memberof SharedApiArchiveClusterJar
29700
+ */
29701
+ readonly jarId: string
29702
+ }
29703
+
27865
29704
  /**
27866
29705
  * Request parameters for batchAddRolePermissions operation in SharedApi.
27867
29706
  * @export
@@ -27939,6 +29778,41 @@ export interface SharedApiBatchUpdateOrgParametersRequest {
27939
29778
  readonly orgParameter: Array<OrgParameter>
27940
29779
  }
27941
29780
 
29781
+ /**
29782
+ * Request parameters for bindSeaweedFSPolicies operation in SharedApi.
29783
+ * @export
29784
+ * @interface SharedApiBindSeaweedFSPoliciesRequest
29785
+ */
29786
+ export interface SharedApiBindSeaweedFSPoliciesRequest {
29787
+ /**
29788
+ *
29789
+ * @type {string}
29790
+ * @memberof SharedApiBindSeaweedFSPolicies
29791
+ */
29792
+ readonly orgName: string
29793
+
29794
+ /**
29795
+ *
29796
+ * @type {string}
29797
+ * @memberof SharedApiBindSeaweedFSPolicies
29798
+ */
29799
+ readonly clusterName: string
29800
+
29801
+ /**
29802
+ *
29803
+ * @type {string}
29804
+ * @memberof SharedApiBindSeaweedFSPolicies
29805
+ */
29806
+ readonly accountName: string
29807
+
29808
+ /**
29809
+ *
29810
+ * @type {BindSeaweedFSPoliciesRequest}
29811
+ * @memberof SharedApiBindSeaweedFSPolicies
29812
+ */
29813
+ readonly bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest
29814
+ }
29815
+
27942
29816
  /**
27943
29817
  * Request parameters for buildBackupObj operation in SharedApi.
27944
29818
  * @export
@@ -28618,6 +30492,69 @@ export interface SharedApiCreateRoleRequest {
28618
30492
  readonly roleCreate: RoleCreate
28619
30493
  }
28620
30494
 
30495
+ /**
30496
+ * Request parameters for createSeaweedFSAccessKey operation in SharedApi.
30497
+ * @export
30498
+ * @interface SharedApiCreateSeaweedFSAccessKeyRequest
30499
+ */
30500
+ export interface SharedApiCreateSeaweedFSAccessKeyRequest {
30501
+ /**
30502
+ *
30503
+ * @type {string}
30504
+ * @memberof SharedApiCreateSeaweedFSAccessKey
30505
+ */
30506
+ readonly orgName: string
30507
+
30508
+ /**
30509
+ *
30510
+ * @type {string}
30511
+ * @memberof SharedApiCreateSeaweedFSAccessKey
30512
+ */
30513
+ readonly clusterName: string
30514
+
30515
+ /**
30516
+ *
30517
+ * @type {string}
30518
+ * @memberof SharedApiCreateSeaweedFSAccessKey
30519
+ */
30520
+ readonly accountName: string
30521
+
30522
+ /**
30523
+ *
30524
+ * @type {Account}
30525
+ * @memberof SharedApiCreateSeaweedFSAccessKey
30526
+ */
30527
+ readonly account: Account
30528
+ }
30529
+
30530
+ /**
30531
+ * Request parameters for createSeaweedFSAccount operation in SharedApi.
30532
+ * @export
30533
+ * @interface SharedApiCreateSeaweedFSAccountRequest
30534
+ */
30535
+ export interface SharedApiCreateSeaweedFSAccountRequest {
30536
+ /**
30537
+ * name of the organization
30538
+ * @type {string}
30539
+ * @memberof SharedApiCreateSeaweedFSAccount
30540
+ */
30541
+ readonly orgName: string
30542
+
30543
+ /**
30544
+ * name of the cluster
30545
+ * @type {string}
30546
+ * @memberof SharedApiCreateSeaweedFSAccount
30547
+ */
30548
+ readonly clusterName: string
30549
+
30550
+ /**
30551
+ *
30552
+ * @type {Account}
30553
+ * @memberof SharedApiCreateSeaweedFSAccount
30554
+ */
30555
+ readonly body: Account
30556
+ }
30557
+
28621
30558
  /**
28622
30559
  * Request parameters for createServiceAccount operation in SharedApi.
28623
30560
  * @export
@@ -29031,6 +30968,41 @@ export interface SharedApiDeleteClusterRequest {
29031
30968
  readonly force?: boolean
29032
30969
  }
29033
30970
 
30971
+ /**
30972
+ * Request parameters for deleteClusterJar operation in SharedApi.
30973
+ * @export
30974
+ * @interface SharedApiDeleteClusterJarRequest
30975
+ */
30976
+ export interface SharedApiDeleteClusterJarRequest {
30977
+ /**
30978
+ * Doris or SelectDB engine of the target cluster.
30979
+ * @type {string}
30980
+ * @memberof SharedApiDeleteClusterJar
30981
+ */
30982
+ readonly engineName: string
30983
+
30984
+ /**
30985
+ *
30986
+ * @type {string}
30987
+ * @memberof SharedApiDeleteClusterJar
30988
+ */
30989
+ readonly orgName: string
30990
+
30991
+ /**
30992
+ *
30993
+ * @type {string}
30994
+ * @memberof SharedApiDeleteClusterJar
30995
+ */
30996
+ readonly clusterName: string
30997
+
30998
+ /**
30999
+ *
31000
+ * @type {string}
31001
+ * @memberof SharedApiDeleteClusterJar
31002
+ */
31003
+ readonly jarId: string
31004
+ }
31005
+
29034
31006
  /**
29035
31007
  * Request parameters for deleteDataSourceV2 operation in SharedApi.
29036
31008
  * @export
@@ -29633,6 +31605,97 @@ export interface SharedApiDeleteRoleByNameRequest {
29633
31605
  readonly roleName: string
29634
31606
  }
29635
31607
 
31608
+ /**
31609
+ * Request parameters for deleteSeaweedFSAccessKey operation in SharedApi.
31610
+ * @export
31611
+ * @interface SharedApiDeleteSeaweedFSAccessKeyRequest
31612
+ */
31613
+ export interface SharedApiDeleteSeaweedFSAccessKeyRequest {
31614
+ /**
31615
+ *
31616
+ * @type {string}
31617
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
31618
+ */
31619
+ readonly orgName: string
31620
+
31621
+ /**
31622
+ *
31623
+ * @type {string}
31624
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
31625
+ */
31626
+ readonly clusterName: string
31627
+
31628
+ /**
31629
+ *
31630
+ * @type {string}
31631
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
31632
+ */
31633
+ readonly accountName: string
31634
+
31635
+ /**
31636
+ *
31637
+ * @type {string}
31638
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
31639
+ */
31640
+ readonly accessKey: string
31641
+ }
31642
+
31643
+ /**
31644
+ * Request parameters for deleteSeaweedFSAccount operation in SharedApi.
31645
+ * @export
31646
+ * @interface SharedApiDeleteSeaweedFSAccountRequest
31647
+ */
31648
+ export interface SharedApiDeleteSeaweedFSAccountRequest {
31649
+ /**
31650
+ * name of the organization
31651
+ * @type {string}
31652
+ * @memberof SharedApiDeleteSeaweedFSAccount
31653
+ */
31654
+ readonly orgName: string
31655
+
31656
+ /**
31657
+ * name of the cluster
31658
+ * @type {string}
31659
+ * @memberof SharedApiDeleteSeaweedFSAccount
31660
+ */
31661
+ readonly clusterName: string
31662
+
31663
+ /**
31664
+ * name of the account
31665
+ * @type {string}
31666
+ * @memberof SharedApiDeleteSeaweedFSAccount
31667
+ */
31668
+ readonly accountName: string
31669
+ }
31670
+
31671
+ /**
31672
+ * Request parameters for deleteSeaweedFSPolicy operation in SharedApi.
31673
+ * @export
31674
+ * @interface SharedApiDeleteSeaweedFSPolicyRequest
31675
+ */
31676
+ export interface SharedApiDeleteSeaweedFSPolicyRequest {
31677
+ /**
31678
+ *
31679
+ * @type {string}
31680
+ * @memberof SharedApiDeleteSeaweedFSPolicy
31681
+ */
31682
+ readonly orgName: string
31683
+
31684
+ /**
31685
+ *
31686
+ * @type {string}
31687
+ * @memberof SharedApiDeleteSeaweedFSPolicy
31688
+ */
31689
+ readonly clusterName: string
31690
+
31691
+ /**
31692
+ *
31693
+ * @type {string}
31694
+ * @memberof SharedApiDeleteSeaweedFSPolicy
31695
+ */
31696
+ readonly policyName: string
31697
+ }
31698
+
29636
31699
  /**
29637
31700
  * Request parameters for deleteServiceAccount operation in SharedApi.
29638
31701
  * @export
@@ -29759,6 +31822,48 @@ export interface SharedApiDisableConsoleRequest {
29759
31822
  readonly clusterName: string
29760
31823
  }
29761
31824
 
31825
+ /**
31826
+ * Request parameters for distributeClusterJar operation in SharedApi.
31827
+ * @export
31828
+ * @interface SharedApiDistributeClusterJarRequest
31829
+ */
31830
+ export interface SharedApiDistributeClusterJarRequest {
31831
+ /**
31832
+ * Doris or SelectDB engine of the target cluster.
31833
+ * @type {string}
31834
+ * @memberof SharedApiDistributeClusterJar
31835
+ */
31836
+ readonly engineName: string
31837
+
31838
+ /**
31839
+ *
31840
+ * @type {string}
31841
+ * @memberof SharedApiDistributeClusterJar
31842
+ */
31843
+ readonly orgName: string
31844
+
31845
+ /**
31846
+ *
31847
+ * @type {string}
31848
+ * @memberof SharedApiDistributeClusterJar
31849
+ */
31850
+ readonly clusterName: string
31851
+
31852
+ /**
31853
+ *
31854
+ * @type {string}
31855
+ * @memberof SharedApiDistributeClusterJar
31856
+ */
31857
+ readonly jarId: string
31858
+
31859
+ /**
31860
+ *
31861
+ * @type {ClusterJarPublish}
31862
+ * @memberof SharedApiDistributeClusterJar
31863
+ */
31864
+ readonly clusterJarPublish: ClusterJarPublish
31865
+ }
31866
+
29762
31867
  /**
29763
31868
  * Request parameters for doRestore operation in SharedApi.
29764
31869
  * @export
@@ -29808,6 +31913,41 @@ export interface SharedApiDownloadBackupRequest {
29808
31913
  readonly backupId: string
29809
31914
  }
29810
31915
 
31916
+ /**
31917
+ * Request parameters for downloadClusterJar operation in SharedApi.
31918
+ * @export
31919
+ * @interface SharedApiDownloadClusterJarRequest
31920
+ */
31921
+ export interface SharedApiDownloadClusterJarRequest {
31922
+ /**
31923
+ * Doris or SelectDB engine of the target cluster.
31924
+ * @type {string}
31925
+ * @memberof SharedApiDownloadClusterJar
31926
+ */
31927
+ readonly engineName: string
31928
+
31929
+ /**
31930
+ *
31931
+ * @type {string}
31932
+ * @memberof SharedApiDownloadClusterJar
31933
+ */
31934
+ readonly orgName: string
31935
+
31936
+ /**
31937
+ *
31938
+ * @type {string}
31939
+ * @memberof SharedApiDownloadClusterJar
31940
+ */
31941
+ readonly clusterName: string
31942
+
31943
+ /**
31944
+ *
31945
+ * @type {string}
31946
+ * @memberof SharedApiDownloadClusterJar
31947
+ */
31948
+ readonly jarId: string
31949
+ }
31950
+
29811
31951
  /**
29812
31952
  * Request parameters for downloadMultipleBackups operation in SharedApi.
29813
31953
  * @export
@@ -30872,6 +33012,34 @@ export interface SharedApiGetClusterInstanceLogRequest {
30872
33012
  readonly tailLines?: number
30873
33013
  }
30874
33014
 
33015
+ /**
33016
+ * Request parameters for getClusterJarConfig operation in SharedApi.
33017
+ * @export
33018
+ * @interface SharedApiGetClusterJarConfigRequest
33019
+ */
33020
+ export interface SharedApiGetClusterJarConfigRequest {
33021
+ /**
33022
+ * Doris or SelectDB engine of the target cluster.
33023
+ * @type {string}
33024
+ * @memberof SharedApiGetClusterJarConfig
33025
+ */
33026
+ readonly engineName: string
33027
+
33028
+ /**
33029
+ *
33030
+ * @type {string}
33031
+ * @memberof SharedApiGetClusterJarConfig
33032
+ */
33033
+ readonly orgName: string
33034
+
33035
+ /**
33036
+ *
33037
+ * @type {string}
33038
+ * @memberof SharedApiGetClusterJarConfig
33039
+ */
33040
+ readonly clusterName: string
33041
+ }
33042
+
30875
33043
  /**
30876
33044
  * Request parameters for getClusterParameterTemplate operation in SharedApi.
30877
33045
  * @export
@@ -31852,6 +34020,41 @@ export interface SharedApiGetRootAccountPasswordRequest {
31852
34020
  readonly component?: string
31853
34021
  }
31854
34022
 
34023
+ /**
34024
+ * Request parameters for getRootSeaweedFSAccountPassword operation in SharedApi.
34025
+ * @export
34026
+ * @interface SharedApiGetRootSeaweedFSAccountPasswordRequest
34027
+ */
34028
+ export interface SharedApiGetRootSeaweedFSAccountPasswordRequest {
34029
+ /**
34030
+ * name of the Org
34031
+ * @type {string}
34032
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
34033
+ */
34034
+ readonly orgName: string
34035
+
34036
+ /**
34037
+ * name of the Cluster
34038
+ * @type {string}
34039
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
34040
+ */
34041
+ readonly clusterName: string
34042
+
34043
+ /**
34044
+ * name of the account
34045
+ * @type {string}
34046
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
34047
+ */
34048
+ readonly accountName: string
34049
+
34050
+ /**
34051
+ * name of the component
34052
+ * @type {string}
34053
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
34054
+ */
34055
+ readonly component?: string
34056
+ }
34057
+
31855
34058
  /**
31856
34059
  * Request parameters for getSchemaList operation in SharedApi.
31857
34060
  * @export
@@ -32846,6 +35049,34 @@ export interface SharedApiListClusterRequest {
32846
35049
  readonly includeEndpoints?: boolean
32847
35050
  }
32848
35051
 
35052
+ /**
35053
+ * Request parameters for listClusterJars operation in SharedApi.
35054
+ * @export
35055
+ * @interface SharedApiListClusterJarsRequest
35056
+ */
35057
+ export interface SharedApiListClusterJarsRequest {
35058
+ /**
35059
+ * Doris or SelectDB engine of the target cluster.
35060
+ * @type {string}
35061
+ * @memberof SharedApiListClusterJars
35062
+ */
35063
+ readonly engineName: string
35064
+
35065
+ /**
35066
+ *
35067
+ * @type {string}
35068
+ * @memberof SharedApiListClusterJars
35069
+ */
35070
+ readonly orgName: string
35071
+
35072
+ /**
35073
+ *
35074
+ * @type {string}
35075
+ * @memberof SharedApiListClusterJars
35076
+ */
35077
+ readonly clusterName: string
35078
+ }
35079
+
32849
35080
  /**
32850
35081
  * Request parameters for listClusterRestore operation in SharedApi.
32851
35082
  * @export
@@ -33994,6 +36225,48 @@ export interface SharedApiListRolesRequest {
33994
36225
  readonly orgName: string
33995
36226
  }
33996
36227
 
36228
+ /**
36229
+ * Request parameters for listSeaweedFSAccounts operation in SharedApi.
36230
+ * @export
36231
+ * @interface SharedApiListSeaweedFSAccountsRequest
36232
+ */
36233
+ export interface SharedApiListSeaweedFSAccountsRequest {
36234
+ /**
36235
+ * name of the organization
36236
+ * @type {string}
36237
+ * @memberof SharedApiListSeaweedFSAccounts
36238
+ */
36239
+ readonly orgName: string
36240
+
36241
+ /**
36242
+ * name of the cluster
36243
+ * @type {string}
36244
+ * @memberof SharedApiListSeaweedFSAccounts
36245
+ */
36246
+ readonly clusterName: string
36247
+ }
36248
+
36249
+ /**
36250
+ * Request parameters for listSeaweedFSPolicies operation in SharedApi.
36251
+ * @export
36252
+ * @interface SharedApiListSeaweedFSPoliciesRequest
36253
+ */
36254
+ export interface SharedApiListSeaweedFSPoliciesRequest {
36255
+ /**
36256
+ *
36257
+ * @type {string}
36258
+ * @memberof SharedApiListSeaweedFSPolicies
36259
+ */
36260
+ readonly orgName: string
36261
+
36262
+ /**
36263
+ *
36264
+ * @type {string}
36265
+ * @memberof SharedApiListSeaweedFSPolicies
36266
+ */
36267
+ readonly clusterName: string
36268
+ }
36269
+
33997
36270
  /**
33998
36271
  * Request parameters for listServiceAccounts operation in SharedApi.
33999
36272
  * @export
@@ -34589,6 +36862,41 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
34589
36862
  readonly body: ESPutSecurityUserRequest
34590
36863
  }
34591
36864
 
36865
+ /**
36866
+ * Request parameters for putSeaweedFSPolicy operation in SharedApi.
36867
+ * @export
36868
+ * @interface SharedApiPutSeaweedFSPolicyRequest
36869
+ */
36870
+ export interface SharedApiPutSeaweedFSPolicyRequest {
36871
+ /**
36872
+ *
36873
+ * @type {string}
36874
+ * @memberof SharedApiPutSeaweedFSPolicy
36875
+ */
36876
+ readonly orgName: string
36877
+
36878
+ /**
36879
+ *
36880
+ * @type {string}
36881
+ * @memberof SharedApiPutSeaweedFSPolicy
36882
+ */
36883
+ readonly clusterName: string
36884
+
36885
+ /**
36886
+ *
36887
+ * @type {string}
36888
+ * @memberof SharedApiPutSeaweedFSPolicy
36889
+ */
36890
+ readonly policyName: string
36891
+
36892
+ /**
36893
+ *
36894
+ * @type {{ [key: string]: any; }}
36895
+ * @memberof SharedApiPutSeaweedFSPolicy
36896
+ */
36897
+ readonly requestBody: { [key: string]: any; }
36898
+ }
36899
+
34592
36900
  /**
34593
36901
  * Request parameters for query operation in SharedApi.
34594
36902
  * @export
@@ -36234,6 +38542,41 @@ export interface SharedApiRestoreRecycleBinClusterRequest {
36234
38542
  readonly clusterName: string
36235
38543
  }
36236
38544
 
38545
+ /**
38546
+ * Request parameters for retryClusterJar operation in SharedApi.
38547
+ * @export
38548
+ * @interface SharedApiRetryClusterJarRequest
38549
+ */
38550
+ export interface SharedApiRetryClusterJarRequest {
38551
+ /**
38552
+ * Doris or SelectDB engine of the target cluster.
38553
+ * @type {string}
38554
+ * @memberof SharedApiRetryClusterJar
38555
+ */
38556
+ readonly engineName: string
38557
+
38558
+ /**
38559
+ *
38560
+ * @type {string}
38561
+ * @memberof SharedApiRetryClusterJar
38562
+ */
38563
+ readonly orgName: string
38564
+
38565
+ /**
38566
+ *
38567
+ * @type {string}
38568
+ * @memberof SharedApiRetryClusterJar
38569
+ */
38570
+ readonly clusterName: string
38571
+
38572
+ /**
38573
+ *
38574
+ * @type {string}
38575
+ * @memberof SharedApiRetryClusterJar
38576
+ */
38577
+ readonly jarId: string
38578
+ }
38579
+
36237
38580
  /**
36238
38581
  * Request parameters for revokeClickhouseRolePrivileges operation in SharedApi.
36239
38582
  * @export
@@ -37564,6 +39907,76 @@ export interface SharedApiUpdateRoleByNameRequest {
37564
39907
  readonly roleUpdate: RoleUpdate
37565
39908
  }
37566
39909
 
39910
+ /**
39911
+ * Request parameters for updateSeaweedFSAccount operation in SharedApi.
39912
+ * @export
39913
+ * @interface SharedApiUpdateSeaweedFSAccountRequest
39914
+ */
39915
+ export interface SharedApiUpdateSeaweedFSAccountRequest {
39916
+ /**
39917
+ * name of the organization
39918
+ * @type {string}
39919
+ * @memberof SharedApiUpdateSeaweedFSAccount
39920
+ */
39921
+ readonly orgName: string
39922
+
39923
+ /**
39924
+ * name of the cluster
39925
+ * @type {string}
39926
+ * @memberof SharedApiUpdateSeaweedFSAccount
39927
+ */
39928
+ readonly clusterName: string
39929
+
39930
+ /**
39931
+ * name of the account
39932
+ * @type {string}
39933
+ * @memberof SharedApiUpdateSeaweedFSAccount
39934
+ */
39935
+ readonly accountName: string
39936
+
39937
+ /**
39938
+ *
39939
+ * @type {Account}
39940
+ * @memberof SharedApiUpdateSeaweedFSAccount
39941
+ */
39942
+ readonly body: Account
39943
+ }
39944
+
39945
+ /**
39946
+ * Request parameters for updateSeaweedFSAccountPrivileges operation in SharedApi.
39947
+ * @export
39948
+ * @interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest
39949
+ */
39950
+ export interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest {
39951
+ /**
39952
+ * name of the Org
39953
+ * @type {string}
39954
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
39955
+ */
39956
+ readonly orgName: string
39957
+
39958
+ /**
39959
+ * name of the Cluster
39960
+ * @type {string}
39961
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
39962
+ */
39963
+ readonly clusterName: string
39964
+
39965
+ /**
39966
+ * name of the account
39967
+ * @type {string}
39968
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
39969
+ */
39970
+ readonly accountName: string
39971
+
39972
+ /**
39973
+ *
39974
+ * @type {Array<PrivilegeListItem>}
39975
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
39976
+ */
39977
+ readonly body: Array<PrivilegeListItem>
39978
+ }
39979
+
37567
39980
  /**
37568
39981
  * Request parameters for updateServiceAccount operation in SharedApi.
37569
39982
  * @export
@@ -37718,6 +40131,62 @@ export interface SharedApiUpgradeClusterRequest {
37718
40131
  readonly body: OpsUpgrade
37719
40132
  }
37720
40133
 
40134
+ /**
40135
+ * Request parameters for uploadClusterJar operation in SharedApi.
40136
+ * @export
40137
+ * @interface SharedApiUploadClusterJarRequest
40138
+ */
40139
+ export interface SharedApiUploadClusterJarRequest {
40140
+ /**
40141
+ * Doris or SelectDB engine of the target cluster.
40142
+ * @type {string}
40143
+ * @memberof SharedApiUploadClusterJar
40144
+ */
40145
+ readonly engineName: string
40146
+
40147
+ /**
40148
+ *
40149
+ * @type {string}
40150
+ * @memberof SharedApiUploadClusterJar
40151
+ */
40152
+ readonly orgName: string
40153
+
40154
+ /**
40155
+ *
40156
+ * @type {string}
40157
+ * @memberof SharedApiUploadClusterJar
40158
+ */
40159
+ readonly clusterName: string
40160
+
40161
+ /**
40162
+ *
40163
+ * @type {string}
40164
+ * @memberof SharedApiUploadClusterJar
40165
+ */
40166
+ readonly idempotencyKey: string
40167
+
40168
+ /**
40169
+ *
40170
+ * @type {string}
40171
+ * @memberof SharedApiUploadClusterJar
40172
+ */
40173
+ readonly name: string
40174
+
40175
+ /**
40176
+ *
40177
+ * @type {ClusterJarKind}
40178
+ * @memberof SharedApiUploadClusterJar
40179
+ */
40180
+ readonly kind: ClusterJarKind
40181
+
40182
+ /**
40183
+ *
40184
+ * @type {File}
40185
+ * @memberof SharedApiUploadClusterJar
40186
+ */
40187
+ readonly file: File
40188
+ }
40189
+
37721
40190
  /**
37722
40191
  * Request parameters for validateClusterCreation operation in SharedApi.
37723
40192
  * @export
@@ -37885,6 +40354,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
37885
40354
  return SharedApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
37886
40355
  }
37887
40356
 
40357
+ /**
40358
+ *
40359
+ * @summary Archive a JAR while retaining published files and startup synchronization
40360
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
40361
+ * @param {*} [options] Override http request option.
40362
+ * @throws {RequiredError}
40363
+ * @memberof SharedApi
40364
+ */
40365
+ public archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
40366
+ return SharedApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
40367
+ }
40368
+
37888
40369
  /**
37889
40370
  * Batch add permissions to a role
37890
40371
  * @summary Batch add permissions to a role
@@ -37921,6 +40402,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
37921
40402
  return SharedApiFp(this.configuration).batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
37922
40403
  }
37923
40404
 
40405
+ /**
40406
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
40407
+ * @summary bindSeaweedFSPolicies
40408
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
40409
+ * @param {*} [options] Override http request option.
40410
+ * @throws {RequiredError}
40411
+ * @memberof SharedApi
40412
+ */
40413
+ public bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
40414
+ return SharedApiFp(this.configuration).bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(this.axios, this.basePath));
40415
+ }
40416
+
37924
40417
  /**
37925
40418
  *
37926
40419
  * @summary build backup object with a existing backup directory
@@ -38198,6 +40691,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38198
40691
  return SharedApiFp(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
38199
40692
  }
38200
40693
 
40694
+ /**
40695
+ * Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
40696
+ * @summary createSeaweedFSAccessKey
40697
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
40698
+ * @param {*} [options] Override http request option.
40699
+ * @throws {RequiredError}
40700
+ * @memberof SharedApi
40701
+ */
40702
+ public createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
40703
+ return SharedApiFp(this.configuration).createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(this.axios, this.basePath));
40704
+ }
40705
+
40706
+ /**
40707
+ * Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
40708
+ * @summary createSeaweedFSAccount
40709
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
40710
+ * @param {*} [options] Override http request option.
40711
+ * @throws {RequiredError}
40712
+ * @memberof SharedApi
40713
+ */
40714
+ public createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
40715
+ return SharedApiFp(this.configuration).createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
40716
+ }
40717
+
38201
40718
  /**
38202
40719
  * create a MinIO service account access key
38203
40720
  * @summary Create MinIO access key
@@ -38390,6 +40907,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38390
40907
  return SharedApiFp(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
38391
40908
  }
38392
40909
 
40910
+ /**
40911
+ *
40912
+ * @summary Delete an unpublished JAR version
40913
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
40914
+ * @param {*} [options] Override http request option.
40915
+ * @throws {RequiredError}
40916
+ * @memberof SharedApi
40917
+ */
40918
+ public deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig) {
40919
+ return SharedApiFp(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
40920
+ }
40921
+
38393
40922
  /**
38394
40923
  *
38395
40924
  * @summary delete the datasource
@@ -38654,6 +41183,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38654
41183
  return SharedApiFp(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
38655
41184
  }
38656
41185
 
41186
+ /**
41187
+ *
41188
+ * @summary deleteSeaweedFSAccessKey
41189
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
41190
+ * @param {*} [options] Override http request option.
41191
+ * @throws {RequiredError}
41192
+ * @memberof SharedApi
41193
+ */
41194
+ public deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
41195
+ return SharedApiFp(this.configuration).deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
41196
+ }
41197
+
41198
+ /**
41199
+ * delete an account in cluster
41200
+ * @summary deleteSeaweedFSAccount
41201
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
41202
+ * @param {*} [options] Override http request option.
41203
+ * @throws {RequiredError}
41204
+ * @memberof SharedApi
41205
+ */
41206
+ public deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
41207
+ return SharedApiFp(this.configuration).deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
41208
+ }
41209
+
41210
+ /**
41211
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
41212
+ * @summary deleteSeaweedFSPolicy
41213
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
41214
+ * @param {*} [options] Override http request option.
41215
+ * @throws {RequiredError}
41216
+ * @memberof SharedApi
41217
+ */
41218
+ public deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
41219
+ return SharedApiFp(this.configuration).deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(this.axios, this.basePath));
41220
+ }
41221
+
38657
41222
  /**
38658
41223
  * delete a MinIO service account access key
38659
41224
  * @summary Delete MinIO access key
@@ -38702,6 +41267,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38702
41267
  return SharedApiFp(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
38703
41268
  }
38704
41269
 
41270
+ /**
41271
+ *
41272
+ * @summary Publish a JAR with optimistic manifest version checking
41273
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
41274
+ * @param {*} [options] Override http request option.
41275
+ * @throws {RequiredError}
41276
+ * @memberof SharedApi
41277
+ */
41278
+ public distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig) {
41279
+ return SharedApiFp(this.configuration).distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(this.axios, this.basePath));
41280
+ }
41281
+
38705
41282
  /**
38706
41283
  *
38707
41284
  * @summary Restore current cluster or instance
@@ -38726,6 +41303,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38726
41303
  return SharedApiFp(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
38727
41304
  }
38728
41305
 
41306
+ /**
41307
+ *
41308
+ * @summary Download the original JAR
41309
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
41310
+ * @param {*} [options] Override http request option.
41311
+ * @throws {RequiredError}
41312
+ * @memberof SharedApi
41313
+ */
41314
+ public downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig) {
41315
+ return SharedApiFp(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
41316
+ }
41317
+
38729
41318
  /**
38730
41319
  *
38731
41320
  * @summary Download multiple backup files
@@ -39026,6 +41615,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
39026
41615
  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));
39027
41616
  }
39028
41617
 
41618
+ /**
41619
+ *
41620
+ * @summary Get external JAR capability and configuration
41621
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
41622
+ * @param {*} [options] Override http request option.
41623
+ * @throws {RequiredError}
41624
+ * @memberof SharedApi
41625
+ */
41626
+ public getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig) {
41627
+ return SharedApiFp(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
41628
+ }
41629
+
39029
41630
  /**
39030
41631
  *
39031
41632
  * @summary Get cluster parameter template
@@ -39421,6 +42022,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
39421
42022
  return SharedApiFp(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
39422
42023
  }
39423
42024
 
42025
+ /**
42026
+ * get root account password
42027
+ * @summary getRootSeaweedFSAccountPassword
42028
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
42029
+ * @param {*} [options] Override http request option.
42030
+ * @throws {RequiredError}
42031
+ * @memberof SharedApi
42032
+ */
42033
+ public getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig) {
42034
+ return SharedApiFp(this.configuration).getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
42035
+ }
42036
+
39424
42037
  /**
39425
42038
  *
39426
42039
  * @summary list all databases or schema of the cluster
@@ -39709,6 +42322,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
39709
42322
  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));
39710
42323
  }
39711
42324
 
42325
+ /**
42326
+ *
42327
+ * @summary List external JAR versions with metadata and per-instance synchronization state
42328
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
42329
+ * @param {*} [options] Override http request option.
42330
+ * @throws {RequiredError}
42331
+ * @memberof SharedApi
42332
+ */
42333
+ public listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig) {
42334
+ return SharedApiFp(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
42335
+ }
42336
+
39712
42337
  /**
39713
42338
  *
39714
42339
  * @summary List restore tasks
@@ -40235,6 +42860,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40235
42860
  return SharedApiFp(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
40236
42861
  }
40237
42862
 
42863
+ /**
42864
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
42865
+ * @summary listSeaweedFSAccounts
42866
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
42867
+ * @param {*} [options] Override http request option.
42868
+ * @throws {RequiredError}
42869
+ * @memberof SharedApi
42870
+ */
42871
+ public listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig) {
42872
+ return SharedApiFp(this.configuration).listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
42873
+ }
42874
+
42875
+ /**
42876
+ *
42877
+ * @summary listSeaweedFSPolicies
42878
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
42879
+ * @param {*} [options] Override http request option.
42880
+ * @throws {RequiredError}
42881
+ * @memberof SharedApi
42882
+ */
42883
+ public listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
42884
+ return SharedApiFp(this.configuration).listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
42885
+ }
42886
+
40238
42887
  /**
40239
42888
  * list MinIO service account access keys
40240
42889
  * @summary List MinIO access keys
@@ -40487,6 +43136,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40487
43136
  return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
40488
43137
  }
40489
43138
 
43139
+ /**
43140
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
43141
+ * @summary putSeaweedFSPolicy
43142
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
43143
+ * @param {*} [options] Override http request option.
43144
+ * @throws {RequiredError}
43145
+ * @memberof SharedApi
43146
+ */
43147
+ public putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
43148
+ return SharedApiFp(this.configuration).putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
43149
+ }
43150
+
40490
43151
  /**
40491
43152
  *
40492
43153
  * @summary create a SQL query
@@ -40798,6 +43459,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40798
43459
  return SharedApiFp(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
40799
43460
  }
40800
43461
 
43462
+ /**
43463
+ *
43464
+ * @summary Retry synchronization of published JARs
43465
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
43466
+ * @param {*} [options] Override http request option.
43467
+ * @throws {RequiredError}
43468
+ * @memberof SharedApi
43469
+ */
43470
+ public retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig) {
43471
+ return SharedApiFp(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
43472
+ }
43473
+
40801
43474
  /**
40802
43475
  *
40803
43476
  * @summary Revoke privileges from a ClickHouse role
@@ -41290,6 +43963,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
41290
43963
  return SharedApiFp(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
41291
43964
  }
41292
43965
 
43966
+ /**
43967
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
43968
+ * @summary updateSeaweedFSAccount
43969
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
43970
+ * @param {*} [options] Override http request option.
43971
+ * @throws {RequiredError}
43972
+ * @memberof SharedApi
43973
+ */
43974
+ public updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
43975
+ return SharedApiFp(this.configuration).updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
43976
+ }
43977
+
43978
+ /**
43979
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
43980
+ * @summary updateSeaweedFSAccountPrivileges
43981
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
43982
+ * @param {*} [options] Override http request option.
43983
+ * @throws {RequiredError}
43984
+ * @memberof SharedApi
43985
+ */
43986
+ public updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
43987
+ return SharedApiFp(this.configuration).updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
43988
+ }
43989
+
41293
43990
  /**
41294
43991
  * update a MinIO service account access key
41295
43992
  * @summary Update MinIO access key
@@ -41349,6 +44046,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
41349
44046
  return SharedApiFp(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
41350
44047
  }
41351
44048
 
44049
+ /**
44050
+ *
44051
+ * @summary Upload an immutable JAR version
44052
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
44053
+ * @param {*} [options] Override http request option.
44054
+ * @throws {RequiredError}
44055
+ * @memberof SharedApi
44056
+ */
44057
+ public uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig) {
44058
+ 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));
44059
+ }
44060
+
41352
44061
  /**
41353
44062
  *
41354
44063
  * @summary Validate cluster creation