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
@@ -70,6 +70,8 @@ import type { BackupScheduleUpdate } from '../models';
70
70
  // @ts-ignore
71
71
  import type { BackupView } from '../models';
72
72
  // @ts-ignore
73
+ import type { BindSeaweedFSPoliciesRequest } from '../models';
74
+ // @ts-ignore
73
75
  import type { Broker } from '../models';
74
76
  // @ts-ignore
75
77
  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';
@@ -256,6 +270,8 @@ import type { ListClickhouseAccountRoles200Response } from '../models';
256
270
  // @ts-ignore
257
271
  import type { ListClickhouseAccountRoles200ResponsePrivilegesInner } from '../models';
258
272
  // @ts-ignore
273
+ import type { ListSeaweedFSPolicies200Response } from '../models';
274
+ // @ts-ignore
259
275
  import type { Llm } from '../models';
260
276
  // @ts-ignore
261
277
  import type { MetricsQueryType } from '../models';
@@ -748,6 +764,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
748
764
  options: localVarRequestOptions,
749
765
  };
750
766
  },
767
+ /**
768
+ *
769
+ * @summary Archive a JAR while retaining published files and startup synchronization
770
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
771
+ * @param {string} orgName
772
+ * @param {string} clusterName
773
+ * @param {string} jarId
774
+ * @param {*} [options] Override http request option.
775
+ * @throws {RequiredError}
776
+ */
777
+ archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
778
+ // verify required parameter 'engineName' is not null or undefined
779
+ assertParamExists('archiveClusterJar', 'engineName', engineName)
780
+ // verify required parameter 'orgName' is not null or undefined
781
+ assertParamExists('archiveClusterJar', 'orgName', orgName)
782
+ // verify required parameter 'clusterName' is not null or undefined
783
+ assertParamExists('archiveClusterJar', 'clusterName', clusterName)
784
+ // verify required parameter 'jarId' is not null or undefined
785
+ assertParamExists('archiveClusterJar', 'jarId', jarId)
786
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
787
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
788
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
789
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
790
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
791
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
792
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
793
+ let baseOptions;
794
+ if (configuration) {
795
+ baseOptions = configuration.baseOptions;
796
+ }
797
+
798
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
799
+ const localVarHeaderParameter = {} as any;
800
+ const localVarQueryParameter = {} as any;
801
+
802
+ // authentication BearerToken required
803
+ // http bearer authentication required
804
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
805
+
806
+ // authentication DigestAuth required
807
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
808
+
809
+
810
+
811
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
812
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
813
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
814
+
815
+ return {
816
+ url: toPathString(localVarUrlObj),
817
+ options: localVarRequestOptions,
818
+ };
819
+ },
751
820
  /**
752
821
  * list the service version of the engine
753
822
  * @summary list the service version of the engine
@@ -990,6 +1059,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
990
1059
  options: localVarRequestOptions,
991
1060
  };
992
1061
  },
1062
+ /**
1063
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
1064
+ * @summary bindSeaweedFSPolicies
1065
+ * @param {string} orgName
1066
+ * @param {string} clusterName
1067
+ * @param {string} accountName
1068
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
1069
+ * @param {*} [options] Override http request option.
1070
+ * @throws {RequiredError}
1071
+ */
1072
+ bindSeaweedFSPolicies: async (orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1073
+ // verify required parameter 'orgName' is not null or undefined
1074
+ assertParamExists('bindSeaweedFSPolicies', 'orgName', orgName)
1075
+ // verify required parameter 'clusterName' is not null or undefined
1076
+ assertParamExists('bindSeaweedFSPolicies', 'clusterName', clusterName)
1077
+ // verify required parameter 'accountName' is not null or undefined
1078
+ assertParamExists('bindSeaweedFSPolicies', 'accountName', accountName)
1079
+ // verify required parameter 'bindSeaweedFSPoliciesRequest' is not null or undefined
1080
+ assertParamExists('bindSeaweedFSPolicies', 'bindSeaweedFSPoliciesRequest', bindSeaweedFSPoliciesRequest)
1081
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies`
1082
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1083
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1084
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
1085
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1086
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1087
+ let baseOptions;
1088
+ if (configuration) {
1089
+ baseOptions = configuration.baseOptions;
1090
+ }
1091
+
1092
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1093
+ const localVarHeaderParameter = {} as any;
1094
+ const localVarQueryParameter = {} as any;
1095
+
1096
+ // authentication BearerToken required
1097
+ // http bearer authentication required
1098
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1099
+
1100
+ // authentication DigestAuth required
1101
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1102
+
1103
+
1104
+
1105
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1106
+
1107
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1108
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1109
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1110
+ localVarRequestOptions.data = serializeDataIfNeeded(bindSeaweedFSPoliciesRequest, localVarRequestOptions, configuration)
1111
+
1112
+ return {
1113
+ url: toPathString(localVarUrlObj),
1114
+ options: localVarRequestOptions,
1115
+ };
1116
+ },
993
1117
  /**
994
1118
  *
995
1119
  * @summary build backup object with a existing backup directory
@@ -2229,6 +2353,112 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2229
2353
  options: localVarRequestOptions,
2230
2354
  };
2231
2355
  },
2356
+ /**
2357
+ * 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.
2358
+ * @summary createSeaweedFSAccessKey
2359
+ * @param {string} orgName
2360
+ * @param {string} clusterName
2361
+ * @param {string} accountName
2362
+ * @param {Account} account
2363
+ * @param {*} [options] Override http request option.
2364
+ * @throws {RequiredError}
2365
+ */
2366
+ createSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, account: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2367
+ // verify required parameter 'orgName' is not null or undefined
2368
+ assertParamExists('createSeaweedFSAccessKey', 'orgName', orgName)
2369
+ // verify required parameter 'clusterName' is not null or undefined
2370
+ assertParamExists('createSeaweedFSAccessKey', 'clusterName', clusterName)
2371
+ // verify required parameter 'accountName' is not null or undefined
2372
+ assertParamExists('createSeaweedFSAccessKey', 'accountName', accountName)
2373
+ // verify required parameter 'account' is not null or undefined
2374
+ assertParamExists('createSeaweedFSAccessKey', 'account', account)
2375
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys`
2376
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2377
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2378
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
2379
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2380
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2381
+ let baseOptions;
2382
+ if (configuration) {
2383
+ baseOptions = configuration.baseOptions;
2384
+ }
2385
+
2386
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2387
+ const localVarHeaderParameter = {} as any;
2388
+ const localVarQueryParameter = {} as any;
2389
+
2390
+ // authentication BearerToken required
2391
+ // http bearer authentication required
2392
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2393
+
2394
+ // authentication DigestAuth required
2395
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2396
+
2397
+
2398
+
2399
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2400
+
2401
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2402
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2403
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2404
+ localVarRequestOptions.data = serializeDataIfNeeded(account, localVarRequestOptions, configuration)
2405
+
2406
+ return {
2407
+ url: toPathString(localVarUrlObj),
2408
+ options: localVarRequestOptions,
2409
+ };
2410
+ },
2411
+ /**
2412
+ * 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.
2413
+ * @summary createSeaweedFSAccount
2414
+ * @param {string} orgName name of the organization
2415
+ * @param {string} clusterName name of the cluster
2416
+ * @param {Account} body
2417
+ * @param {*} [options] Override http request option.
2418
+ * @throws {RequiredError}
2419
+ */
2420
+ createSeaweedFSAccount: async (orgName: string, clusterName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2421
+ // verify required parameter 'orgName' is not null or undefined
2422
+ assertParamExists('createSeaweedFSAccount', 'orgName', orgName)
2423
+ // verify required parameter 'clusterName' is not null or undefined
2424
+ assertParamExists('createSeaweedFSAccount', 'clusterName', clusterName)
2425
+ // verify required parameter 'body' is not null or undefined
2426
+ assertParamExists('createSeaweedFSAccount', 'body', body)
2427
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
2428
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2429
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
2430
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2431
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2432
+ let baseOptions;
2433
+ if (configuration) {
2434
+ baseOptions = configuration.baseOptions;
2435
+ }
2436
+
2437
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2438
+ const localVarHeaderParameter = {} as any;
2439
+ const localVarQueryParameter = {} as any;
2440
+
2441
+ // authentication BearerToken required
2442
+ // http bearer authentication required
2443
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2444
+
2445
+ // authentication DigestAuth required
2446
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2447
+
2448
+
2449
+
2450
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2451
+
2452
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2453
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2454
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2455
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
2456
+
2457
+ return {
2458
+ url: toPathString(localVarUrlObj),
2459
+ options: localVarRequestOptions,
2460
+ };
2461
+ },
2232
2462
  /**
2233
2463
  * create a MinIO service account access key
2234
2464
  * @summary Create MinIO access key
@@ -2860,6 +3090,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
2860
3090
 
2861
3091
 
2862
3092
 
3093
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3094
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3095
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3096
+
3097
+ return {
3098
+ url: toPathString(localVarUrlObj),
3099
+ options: localVarRequestOptions,
3100
+ };
3101
+ },
3102
+ /**
3103
+ *
3104
+ * @summary Delete an unpublished JAR version
3105
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3106
+ * @param {string} orgName
3107
+ * @param {string} clusterName
3108
+ * @param {string} jarId
3109
+ * @param {*} [options] Override http request option.
3110
+ * @throws {RequiredError}
3111
+ */
3112
+ deleteClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3113
+ // verify required parameter 'engineName' is not null or undefined
3114
+ assertParamExists('deleteClusterJar', 'engineName', engineName)
3115
+ // verify required parameter 'orgName' is not null or undefined
3116
+ assertParamExists('deleteClusterJar', 'orgName', orgName)
3117
+ // verify required parameter 'clusterName' is not null or undefined
3118
+ assertParamExists('deleteClusterJar', 'clusterName', clusterName)
3119
+ // verify required parameter 'jarId' is not null or undefined
3120
+ assertParamExists('deleteClusterJar', 'jarId', jarId)
3121
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
3122
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3123
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3124
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3125
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3126
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3127
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3128
+ let baseOptions;
3129
+ if (configuration) {
3130
+ baseOptions = configuration.baseOptions;
3131
+ }
3132
+
3133
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3134
+ const localVarHeaderParameter = {} as any;
3135
+ const localVarQueryParameter = {} as any;
3136
+
3137
+ // authentication BearerToken required
3138
+ // http bearer authentication required
3139
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3140
+
3141
+ // authentication DigestAuth required
3142
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3143
+
3144
+
3145
+
2863
3146
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2864
3147
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2865
3148
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3950,28 +4233,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3950
4233
  };
3951
4234
  },
3952
4235
  /**
3953
- * delete a MinIO service account access key
3954
- * @summary Delete MinIO access key
3955
- * @param {string} engineName name of the engine
3956
- * @param {string} orgName name of the organization
3957
- * @param {string} clusterName name of the cluster
3958
- * @param {string} accessKey MinIO access key
4236
+ *
4237
+ * @summary deleteSeaweedFSAccessKey
4238
+ * @param {string} orgName
4239
+ * @param {string} clusterName
4240
+ * @param {string} accountName
4241
+ * @param {string} accessKey
3959
4242
  * @param {*} [options] Override http request option.
3960
4243
  * @throws {RequiredError}
3961
4244
  */
3962
- deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3963
- // verify required parameter 'engineName' is not null or undefined
3964
- assertParamExists('deleteServiceAccount', 'engineName', engineName)
4245
+ deleteSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3965
4246
  // verify required parameter 'orgName' is not null or undefined
3966
- assertParamExists('deleteServiceAccount', 'orgName', orgName)
4247
+ assertParamExists('deleteSeaweedFSAccessKey', 'orgName', orgName)
3967
4248
  // verify required parameter 'clusterName' is not null or undefined
3968
- assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
4249
+ assertParamExists('deleteSeaweedFSAccessKey', 'clusterName', clusterName)
4250
+ // verify required parameter 'accountName' is not null or undefined
4251
+ assertParamExists('deleteSeaweedFSAccessKey', 'accountName', accountName)
3969
4252
  // verify required parameter 'accessKey' is not null or undefined
3970
- assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
3971
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
3972
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4253
+ assertParamExists('deleteSeaweedFSAccessKey', 'accessKey', accessKey)
4254
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}`
3973
4255
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3974
4256
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4257
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)))
3975
4258
  .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
3976
4259
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3977
4260
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4003,21 +4286,172 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4003
4286
  };
4004
4287
  },
4005
4288
  /**
4006
- * delete cluster tag
4007
- * @summary Delete tag
4008
- * @param {string} orgName
4009
- * @param {string} tagId
4289
+ * delete an account in cluster
4290
+ * @summary deleteSeaweedFSAccount
4291
+ * @param {string} orgName name of the organization
4292
+ * @param {string} clusterName name of the cluster
4293
+ * @param {string} accountName name of the account
4010
4294
  * @param {*} [options] Override http request option.
4011
4295
  * @throws {RequiredError}
4012
4296
  */
4013
- deleteTag: async (orgName: string, tagId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4297
+ deleteSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4014
4298
  // verify required parameter 'orgName' is not null or undefined
4015
- assertParamExists('deleteTag', 'orgName', orgName)
4016
- // verify required parameter 'tagId' is not null or undefined
4017
- assertParamExists('deleteTag', 'tagId', tagId)
4018
- const localVarPath = `/admin/v1/organizations/{orgName}/tags/{tagId}`
4299
+ assertParamExists('deleteSeaweedFSAccount', 'orgName', orgName)
4300
+ // verify required parameter 'clusterName' is not null or undefined
4301
+ assertParamExists('deleteSeaweedFSAccount', 'clusterName', clusterName)
4302
+ // verify required parameter 'accountName' is not null or undefined
4303
+ assertParamExists('deleteSeaweedFSAccount', 'accountName', accountName)
4304
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
4019
4305
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4020
- .replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
4306
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4307
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
4308
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4309
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4310
+ let baseOptions;
4311
+ if (configuration) {
4312
+ baseOptions = configuration.baseOptions;
4313
+ }
4314
+
4315
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4316
+ const localVarHeaderParameter = {} as any;
4317
+ const localVarQueryParameter = {} as any;
4318
+
4319
+ // authentication BearerToken required
4320
+ // http bearer authentication required
4321
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4322
+
4323
+ // authentication DigestAuth required
4324
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4325
+
4326
+
4327
+
4328
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4329
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4330
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4331
+
4332
+ return {
4333
+ url: toPathString(localVarUrlObj),
4334
+ options: localVarRequestOptions,
4335
+ };
4336
+ },
4337
+ /**
4338
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
4339
+ * @summary deleteSeaweedFSPolicy
4340
+ * @param {string} orgName
4341
+ * @param {string} clusterName
4342
+ * @param {string} policyName
4343
+ * @param {*} [options] Override http request option.
4344
+ * @throws {RequiredError}
4345
+ */
4346
+ deleteSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4347
+ // verify required parameter 'orgName' is not null or undefined
4348
+ assertParamExists('deleteSeaweedFSPolicy', 'orgName', orgName)
4349
+ // verify required parameter 'clusterName' is not null or undefined
4350
+ assertParamExists('deleteSeaweedFSPolicy', 'clusterName', clusterName)
4351
+ // verify required parameter 'policyName' is not null or undefined
4352
+ assertParamExists('deleteSeaweedFSPolicy', 'policyName', policyName)
4353
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
4354
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4355
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4356
+ .replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
4357
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4358
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4359
+ let baseOptions;
4360
+ if (configuration) {
4361
+ baseOptions = configuration.baseOptions;
4362
+ }
4363
+
4364
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4365
+ const localVarHeaderParameter = {} as any;
4366
+ const localVarQueryParameter = {} as any;
4367
+
4368
+ // authentication BearerToken required
4369
+ // http bearer authentication required
4370
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4371
+
4372
+ // authentication DigestAuth required
4373
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4374
+
4375
+
4376
+
4377
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4378
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4379
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4380
+
4381
+ return {
4382
+ url: toPathString(localVarUrlObj),
4383
+ options: localVarRequestOptions,
4384
+ };
4385
+ },
4386
+ /**
4387
+ * delete a MinIO service account access key
4388
+ * @summary Delete MinIO access key
4389
+ * @param {string} engineName name of the engine
4390
+ * @param {string} orgName name of the organization
4391
+ * @param {string} clusterName name of the cluster
4392
+ * @param {string} accessKey MinIO access key
4393
+ * @param {*} [options] Override http request option.
4394
+ * @throws {RequiredError}
4395
+ */
4396
+ deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4397
+ // verify required parameter 'engineName' is not null or undefined
4398
+ assertParamExists('deleteServiceAccount', 'engineName', engineName)
4399
+ // verify required parameter 'orgName' is not null or undefined
4400
+ assertParamExists('deleteServiceAccount', 'orgName', orgName)
4401
+ // verify required parameter 'clusterName' is not null or undefined
4402
+ assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
4403
+ // verify required parameter 'accessKey' is not null or undefined
4404
+ assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
4405
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
4406
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4407
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4408
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4409
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
4410
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4411
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4412
+ let baseOptions;
4413
+ if (configuration) {
4414
+ baseOptions = configuration.baseOptions;
4415
+ }
4416
+
4417
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4418
+ const localVarHeaderParameter = {} as any;
4419
+ const localVarQueryParameter = {} as any;
4420
+
4421
+ // authentication BearerToken required
4422
+ // http bearer authentication required
4423
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4424
+
4425
+ // authentication DigestAuth required
4426
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4427
+
4428
+
4429
+
4430
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4431
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4432
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4433
+
4434
+ return {
4435
+ url: toPathString(localVarUrlObj),
4436
+ options: localVarRequestOptions,
4437
+ };
4438
+ },
4439
+ /**
4440
+ * delete cluster tag
4441
+ * @summary Delete tag
4442
+ * @param {string} orgName
4443
+ * @param {string} tagId
4444
+ * @param {*} [options] Override http request option.
4445
+ * @throws {RequiredError}
4446
+ */
4447
+ deleteTag: async (orgName: string, tagId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4448
+ // verify required parameter 'orgName' is not null or undefined
4449
+ assertParamExists('deleteTag', 'orgName', orgName)
4450
+ // verify required parameter 'tagId' is not null or undefined
4451
+ assertParamExists('deleteTag', 'tagId', tagId)
4452
+ const localVarPath = `/admin/v1/organizations/{orgName}/tags/{tagId}`
4453
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4454
+ .replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
4021
4455
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4022
4456
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4023
4457
  let baseOptions;
@@ -4160,6 +4594,65 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4160
4594
  options: localVarRequestOptions,
4161
4595
  };
4162
4596
  },
4597
+ /**
4598
+ *
4599
+ * @summary Publish a JAR with optimistic manifest version checking
4600
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
4601
+ * @param {string} orgName
4602
+ * @param {string} clusterName
4603
+ * @param {string} jarId
4604
+ * @param {ClusterJarPublish} clusterJarPublish
4605
+ * @param {*} [options] Override http request option.
4606
+ * @throws {RequiredError}
4607
+ */
4608
+ distributeClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4609
+ // verify required parameter 'engineName' is not null or undefined
4610
+ assertParamExists('distributeClusterJar', 'engineName', engineName)
4611
+ // verify required parameter 'orgName' is not null or undefined
4612
+ assertParamExists('distributeClusterJar', 'orgName', orgName)
4613
+ // verify required parameter 'clusterName' is not null or undefined
4614
+ assertParamExists('distributeClusterJar', 'clusterName', clusterName)
4615
+ // verify required parameter 'jarId' is not null or undefined
4616
+ assertParamExists('distributeClusterJar', 'jarId', jarId)
4617
+ // verify required parameter 'clusterJarPublish' is not null or undefined
4618
+ assertParamExists('distributeClusterJar', 'clusterJarPublish', clusterJarPublish)
4619
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
4620
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4621
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4622
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4623
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
4624
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4625
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4626
+ let baseOptions;
4627
+ if (configuration) {
4628
+ baseOptions = configuration.baseOptions;
4629
+ }
4630
+
4631
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4632
+ const localVarHeaderParameter = {} as any;
4633
+ const localVarQueryParameter = {} as any;
4634
+
4635
+ // authentication BearerToken required
4636
+ // http bearer authentication required
4637
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4638
+
4639
+ // authentication DigestAuth required
4640
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4641
+
4642
+
4643
+
4644
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4645
+
4646
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4647
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4648
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4649
+ localVarRequestOptions.data = serializeDataIfNeeded(clusterJarPublish, localVarRequestOptions, configuration)
4650
+
4651
+ return {
4652
+ url: toPathString(localVarUrlObj),
4653
+ options: localVarRequestOptions,
4654
+ };
4655
+ },
4163
4656
  /**
4164
4657
  *
4165
4658
  * @summary Restore current cluster or instance
@@ -4247,6 +4740,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
4247
4740
 
4248
4741
 
4249
4742
 
4743
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4744
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4745
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4746
+
4747
+ return {
4748
+ url: toPathString(localVarUrlObj),
4749
+ options: localVarRequestOptions,
4750
+ };
4751
+ },
4752
+ /**
4753
+ *
4754
+ * @summary Download the original JAR
4755
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
4756
+ * @param {string} orgName
4757
+ * @param {string} clusterName
4758
+ * @param {string} jarId
4759
+ * @param {*} [options] Override http request option.
4760
+ * @throws {RequiredError}
4761
+ */
4762
+ downloadClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4763
+ // verify required parameter 'engineName' is not null or undefined
4764
+ assertParamExists('downloadClusterJar', 'engineName', engineName)
4765
+ // verify required parameter 'orgName' is not null or undefined
4766
+ assertParamExists('downloadClusterJar', 'orgName', orgName)
4767
+ // verify required parameter 'clusterName' is not null or undefined
4768
+ assertParamExists('downloadClusterJar', 'clusterName', clusterName)
4769
+ // verify required parameter 'jarId' is not null or undefined
4770
+ assertParamExists('downloadClusterJar', 'jarId', jarId)
4771
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
4772
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4773
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4774
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
4775
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
4776
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4777
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4778
+ let baseOptions;
4779
+ if (configuration) {
4780
+ baseOptions = configuration.baseOptions;
4781
+ }
4782
+
4783
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4784
+ const localVarHeaderParameter = {} as any;
4785
+ const localVarQueryParameter = {} as any;
4786
+
4787
+ // authentication BearerToken required
4788
+ // http bearer authentication required
4789
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4790
+
4791
+ // authentication DigestAuth required
4792
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4793
+
4794
+
4795
+
4250
4796
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4251
4797
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4252
4798
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -5522,6 +6068,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
5522
6068
 
5523
6069
 
5524
6070
 
6071
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6072
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6073
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6074
+
6075
+ return {
6076
+ url: toPathString(localVarUrlObj),
6077
+ options: localVarRequestOptions,
6078
+ };
6079
+ },
6080
+ /**
6081
+ *
6082
+ * @summary Get external JAR capability and configuration
6083
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
6084
+ * @param {string} orgName
6085
+ * @param {string} clusterName
6086
+ * @param {*} [options] Override http request option.
6087
+ * @throws {RequiredError}
6088
+ */
6089
+ getClusterJarConfig: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6090
+ // verify required parameter 'engineName' is not null or undefined
6091
+ assertParamExists('getClusterJarConfig', 'engineName', engineName)
6092
+ // verify required parameter 'orgName' is not null or undefined
6093
+ assertParamExists('getClusterJarConfig', 'orgName', orgName)
6094
+ // verify required parameter 'clusterName' is not null or undefined
6095
+ assertParamExists('getClusterJarConfig', 'clusterName', clusterName)
6096
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
6097
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6098
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6099
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6100
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6101
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6102
+ let baseOptions;
6103
+ if (configuration) {
6104
+ baseOptions = configuration.baseOptions;
6105
+ }
6106
+
6107
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6108
+ const localVarHeaderParameter = {} as any;
6109
+ const localVarQueryParameter = {} as any;
6110
+
6111
+ // authentication BearerToken required
6112
+ // http bearer authentication required
6113
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6114
+
6115
+ // authentication DigestAuth required
6116
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
6117
+
6118
+
6119
+
5525
6120
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5526
6121
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5527
6122
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -7245,6 +7840,63 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
7245
7840
 
7246
7841
 
7247
7842
 
7843
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7844
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7845
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7846
+
7847
+ return {
7848
+ url: toPathString(localVarUrlObj),
7849
+ options: localVarRequestOptions,
7850
+ };
7851
+ },
7852
+ /**
7853
+ * get root account password
7854
+ * @summary getRootSeaweedFSAccountPassword
7855
+ * @param {string} orgName name of the Org
7856
+ * @param {string} clusterName name of the Cluster
7857
+ * @param {string} accountName name of the account
7858
+ * @param {string} [component] name of the component
7859
+ * @param {*} [options] Override http request option.
7860
+ * @throws {RequiredError}
7861
+ */
7862
+ getRootSeaweedFSAccountPassword: async (orgName: string, clusterName: string, accountName: string, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7863
+ // verify required parameter 'orgName' is not null or undefined
7864
+ assertParamExists('getRootSeaweedFSAccountPassword', 'orgName', orgName)
7865
+ // verify required parameter 'clusterName' is not null or undefined
7866
+ assertParamExists('getRootSeaweedFSAccountPassword', 'clusterName', clusterName)
7867
+ // verify required parameter 'accountName' is not null or undefined
7868
+ assertParamExists('getRootSeaweedFSAccountPassword', 'accountName', accountName)
7869
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password`
7870
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
7871
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
7872
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7873
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7874
+ let baseOptions;
7875
+ if (configuration) {
7876
+ baseOptions = configuration.baseOptions;
7877
+ }
7878
+
7879
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
7880
+ const localVarHeaderParameter = {} as any;
7881
+ const localVarQueryParameter = {} as any;
7882
+
7883
+ // authentication BearerToken required
7884
+ // http bearer authentication required
7885
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
7886
+
7887
+ // authentication DigestAuth required
7888
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
7889
+
7890
+ if (accountName !== undefined) {
7891
+ localVarQueryParameter['accountName'] = accountName;
7892
+ }
7893
+
7894
+ if (component !== undefined) {
7895
+ localVarQueryParameter['component'] = component;
7896
+ }
7897
+
7898
+
7899
+
7248
7900
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7249
7901
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7250
7902
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -8767,6 +9419,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
8767
9419
 
8768
9420
 
8769
9421
 
9422
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9423
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9424
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9425
+
9426
+ return {
9427
+ url: toPathString(localVarUrlObj),
9428
+ options: localVarRequestOptions,
9429
+ };
9430
+ },
9431
+ /**
9432
+ *
9433
+ * @summary List external JAR versions with metadata and per-instance synchronization state
9434
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
9435
+ * @param {string} orgName
9436
+ * @param {string} clusterName
9437
+ * @param {*} [options] Override http request option.
9438
+ * @throws {RequiredError}
9439
+ */
9440
+ listClusterJars: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9441
+ // verify required parameter 'engineName' is not null or undefined
9442
+ assertParamExists('listClusterJars', 'engineName', engineName)
9443
+ // verify required parameter 'orgName' is not null or undefined
9444
+ assertParamExists('listClusterJars', 'orgName', orgName)
9445
+ // verify required parameter 'clusterName' is not null or undefined
9446
+ assertParamExists('listClusterJars', 'clusterName', clusterName)
9447
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
9448
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
9449
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9450
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9451
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9452
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9453
+ let baseOptions;
9454
+ if (configuration) {
9455
+ baseOptions = configuration.baseOptions;
9456
+ }
9457
+
9458
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9459
+ const localVarHeaderParameter = {} as any;
9460
+ const localVarQueryParameter = {} as any;
9461
+
9462
+ // authentication BearerToken required
9463
+ // http bearer authentication required
9464
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9465
+
9466
+ // authentication DigestAuth required
9467
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9468
+
9469
+
9470
+
8770
9471
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8771
9472
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8772
9473
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -11169,6 +11870,96 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
11169
11870
 
11170
11871
 
11171
11872
 
11873
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11874
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11875
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11876
+
11877
+ return {
11878
+ url: toPathString(localVarUrlObj),
11879
+ options: localVarRequestOptions,
11880
+ };
11881
+ },
11882
+ /**
11883
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
11884
+ * @summary listSeaweedFSAccounts
11885
+ * @param {string} orgName name of the organization
11886
+ * @param {string} clusterName name of the cluster
11887
+ * @param {*} [options] Override http request option.
11888
+ * @throws {RequiredError}
11889
+ */
11890
+ listSeaweedFSAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11891
+ // verify required parameter 'orgName' is not null or undefined
11892
+ assertParamExists('listSeaweedFSAccounts', 'orgName', orgName)
11893
+ // verify required parameter 'clusterName' is not null or undefined
11894
+ assertParamExists('listSeaweedFSAccounts', 'clusterName', clusterName)
11895
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
11896
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11897
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
11898
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11899
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11900
+ let baseOptions;
11901
+ if (configuration) {
11902
+ baseOptions = configuration.baseOptions;
11903
+ }
11904
+
11905
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11906
+ const localVarHeaderParameter = {} as any;
11907
+ const localVarQueryParameter = {} as any;
11908
+
11909
+ // authentication BearerToken required
11910
+ // http bearer authentication required
11911
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11912
+
11913
+ // authentication DigestAuth required
11914
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
11915
+
11916
+
11917
+
11918
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11919
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11920
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11921
+
11922
+ return {
11923
+ url: toPathString(localVarUrlObj),
11924
+ options: localVarRequestOptions,
11925
+ };
11926
+ },
11927
+ /**
11928
+ *
11929
+ * @summary listSeaweedFSPolicies
11930
+ * @param {string} orgName
11931
+ * @param {string} clusterName
11932
+ * @param {*} [options] Override http request option.
11933
+ * @throws {RequiredError}
11934
+ */
11935
+ listSeaweedFSPolicies: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11936
+ // verify required parameter 'orgName' is not null or undefined
11937
+ assertParamExists('listSeaweedFSPolicies', 'orgName', orgName)
11938
+ // verify required parameter 'clusterName' is not null or undefined
11939
+ assertParamExists('listSeaweedFSPolicies', 'clusterName', clusterName)
11940
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies`
11941
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11942
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
11943
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11944
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11945
+ let baseOptions;
11946
+ if (configuration) {
11947
+ baseOptions = configuration.baseOptions;
11948
+ }
11949
+
11950
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11951
+ const localVarHeaderParameter = {} as any;
11952
+ const localVarQueryParameter = {} as any;
11953
+
11954
+ // authentication BearerToken required
11955
+ // http bearer authentication required
11956
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11957
+
11958
+ // authentication DigestAuth required
11959
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
11960
+
11961
+
11962
+
11172
11963
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11173
11964
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11174
11965
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12249,6 +13040,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12249
13040
  options: localVarRequestOptions,
12250
13041
  };
12251
13042
  },
13043
+ /**
13044
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
13045
+ * @summary putSeaweedFSPolicy
13046
+ * @param {string} orgName
13047
+ * @param {string} clusterName
13048
+ * @param {string} policyName
13049
+ * @param {{ [key: string]: any; }} requestBody
13050
+ * @param {*} [options] Override http request option.
13051
+ * @throws {RequiredError}
13052
+ */
13053
+ putSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13054
+ // verify required parameter 'orgName' is not null or undefined
13055
+ assertParamExists('putSeaweedFSPolicy', 'orgName', orgName)
13056
+ // verify required parameter 'clusterName' is not null or undefined
13057
+ assertParamExists('putSeaweedFSPolicy', 'clusterName', clusterName)
13058
+ // verify required parameter 'policyName' is not null or undefined
13059
+ assertParamExists('putSeaweedFSPolicy', 'policyName', policyName)
13060
+ // verify required parameter 'requestBody' is not null or undefined
13061
+ assertParamExists('putSeaweedFSPolicy', 'requestBody', requestBody)
13062
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
13063
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13064
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
13065
+ .replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
13066
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13067
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13068
+ let baseOptions;
13069
+ if (configuration) {
13070
+ baseOptions = configuration.baseOptions;
13071
+ }
13072
+
13073
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
13074
+ const localVarHeaderParameter = {} as any;
13075
+ const localVarQueryParameter = {} as any;
13076
+
13077
+ // authentication BearerToken required
13078
+ // http bearer authentication required
13079
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13080
+
13081
+ // authentication DigestAuth required
13082
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
13083
+
13084
+
13085
+
13086
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13087
+
13088
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13089
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13090
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13091
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
13092
+
13093
+ return {
13094
+ url: toPathString(localVarUrlObj),
13095
+ options: localVarRequestOptions,
13096
+ };
13097
+ },
12252
13098
  /**
12253
13099
  *
12254
13100
  * @summary create a SQL query
@@ -14269,6 +15115,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
14269
15115
 
14270
15116
 
14271
15117
 
15118
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15119
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15120
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15121
+
15122
+ return {
15123
+ url: toPathString(localVarUrlObj),
15124
+ options: localVarRequestOptions,
15125
+ };
15126
+ },
15127
+ /**
15128
+ *
15129
+ * @summary Retry synchronization of published JARs
15130
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
15131
+ * @param {string} orgName
15132
+ * @param {string} clusterName
15133
+ * @param {string} jarId
15134
+ * @param {*} [options] Override http request option.
15135
+ * @throws {RequiredError}
15136
+ */
15137
+ retryClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15138
+ // verify required parameter 'engineName' is not null or undefined
15139
+ assertParamExists('retryClusterJar', 'engineName', engineName)
15140
+ // verify required parameter 'orgName' is not null or undefined
15141
+ assertParamExists('retryClusterJar', 'orgName', orgName)
15142
+ // verify required parameter 'clusterName' is not null or undefined
15143
+ assertParamExists('retryClusterJar', 'clusterName', clusterName)
15144
+ // verify required parameter 'jarId' is not null or undefined
15145
+ assertParamExists('retryClusterJar', 'jarId', jarId)
15146
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
15147
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
15148
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
15149
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
15150
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
15151
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15152
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15153
+ let baseOptions;
15154
+ if (configuration) {
15155
+ baseOptions = configuration.baseOptions;
15156
+ }
15157
+
15158
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15159
+ const localVarHeaderParameter = {} as any;
15160
+ const localVarQueryParameter = {} as any;
15161
+
15162
+ // authentication BearerToken required
15163
+ // http bearer authentication required
15164
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15165
+
15166
+ // authentication DigestAuth required
15167
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
15168
+
15169
+
15170
+
14272
15171
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14273
15172
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14274
15173
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16307,6 +17206,116 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
16307
17206
  options: localVarRequestOptions,
16308
17207
  };
16309
17208
  },
17209
+ /**
17210
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
17211
+ * @summary updateSeaweedFSAccount
17212
+ * @param {string} orgName name of the organization
17213
+ * @param {string} clusterName name of the cluster
17214
+ * @param {string} accountName name of the account
17215
+ * @param {Account} body
17216
+ * @param {*} [options] Override http request option.
17217
+ * @throws {RequiredError}
17218
+ */
17219
+ updateSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17220
+ // verify required parameter 'orgName' is not null or undefined
17221
+ assertParamExists('updateSeaweedFSAccount', 'orgName', orgName)
17222
+ // verify required parameter 'clusterName' is not null or undefined
17223
+ assertParamExists('updateSeaweedFSAccount', 'clusterName', clusterName)
17224
+ // verify required parameter 'accountName' is not null or undefined
17225
+ assertParamExists('updateSeaweedFSAccount', 'accountName', accountName)
17226
+ // verify required parameter 'body' is not null or undefined
17227
+ assertParamExists('updateSeaweedFSAccount', 'body', body)
17228
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
17229
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
17230
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
17231
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
17232
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17233
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17234
+ let baseOptions;
17235
+ if (configuration) {
17236
+ baseOptions = configuration.baseOptions;
17237
+ }
17238
+
17239
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
17240
+ const localVarHeaderParameter = {} as any;
17241
+ const localVarQueryParameter = {} as any;
17242
+
17243
+ // authentication BearerToken required
17244
+ // http bearer authentication required
17245
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
17246
+
17247
+ // authentication DigestAuth required
17248
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
17249
+
17250
+
17251
+
17252
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17253
+
17254
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17255
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17256
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17257
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
17258
+
17259
+ return {
17260
+ url: toPathString(localVarUrlObj),
17261
+ options: localVarRequestOptions,
17262
+ };
17263
+ },
17264
+ /**
17265
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
17266
+ * @summary updateSeaweedFSAccountPrivileges
17267
+ * @param {string} orgName name of the Org
17268
+ * @param {string} clusterName name of the Cluster
17269
+ * @param {string} accountName name of the account
17270
+ * @param {Array<PrivilegeListItem>} body
17271
+ * @param {*} [options] Override http request option.
17272
+ * @throws {RequiredError}
17273
+ */
17274
+ updateSeaweedFSAccountPrivileges: async (orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17275
+ // verify required parameter 'orgName' is not null or undefined
17276
+ assertParamExists('updateSeaweedFSAccountPrivileges', 'orgName', orgName)
17277
+ // verify required parameter 'clusterName' is not null or undefined
17278
+ assertParamExists('updateSeaweedFSAccountPrivileges', 'clusterName', clusterName)
17279
+ // verify required parameter 'accountName' is not null or undefined
17280
+ assertParamExists('updateSeaweedFSAccountPrivileges', 'accountName', accountName)
17281
+ // verify required parameter 'body' is not null or undefined
17282
+ assertParamExists('updateSeaweedFSAccountPrivileges', 'body', body)
17283
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
17284
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
17285
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
17286
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
17287
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17288
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17289
+ let baseOptions;
17290
+ if (configuration) {
17291
+ baseOptions = configuration.baseOptions;
17292
+ }
17293
+
17294
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
17295
+ const localVarHeaderParameter = {} as any;
17296
+ const localVarQueryParameter = {} as any;
17297
+
17298
+ // authentication BearerToken required
17299
+ // http bearer authentication required
17300
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
17301
+
17302
+ // authentication DigestAuth required
17303
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
17304
+
17305
+
17306
+
17307
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17308
+
17309
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17310
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17311
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17312
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
17313
+
17314
+ return {
17315
+ url: toPathString(localVarUrlObj),
17316
+ options: localVarRequestOptions,
17317
+ };
17318
+ },
16310
17319
  /**
16311
17320
  * update a MinIO service account access key
16312
17321
  * @summary Update MinIO access key
@@ -16569,6 +17578,86 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
16569
17578
  options: localVarRequestOptions,
16570
17579
  };
16571
17580
  },
17581
+ /**
17582
+ *
17583
+ * @summary Upload an immutable JAR version
17584
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
17585
+ * @param {string} orgName
17586
+ * @param {string} clusterName
17587
+ * @param {string} idempotencyKey
17588
+ * @param {string} name
17589
+ * @param {ClusterJarKind} kind
17590
+ * @param {File} file
17591
+ * @param {*} [options] Override http request option.
17592
+ * @throws {RequiredError}
17593
+ */
17594
+ uploadClusterJar: async (engineName: string, orgName: string, clusterName: string, idempotencyKey: string, name: string, kind: ClusterJarKind, file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17595
+ // verify required parameter 'engineName' is not null or undefined
17596
+ assertParamExists('uploadClusterJar', 'engineName', engineName)
17597
+ // verify required parameter 'orgName' is not null or undefined
17598
+ assertParamExists('uploadClusterJar', 'orgName', orgName)
17599
+ // verify required parameter 'clusterName' is not null or undefined
17600
+ assertParamExists('uploadClusterJar', 'clusterName', clusterName)
17601
+ // verify required parameter 'idempotencyKey' is not null or undefined
17602
+ assertParamExists('uploadClusterJar', 'idempotencyKey', idempotencyKey)
17603
+ // verify required parameter 'name' is not null or undefined
17604
+ assertParamExists('uploadClusterJar', 'name', name)
17605
+ // verify required parameter 'kind' is not null or undefined
17606
+ assertParamExists('uploadClusterJar', 'kind', kind)
17607
+ // verify required parameter 'file' is not null or undefined
17608
+ assertParamExists('uploadClusterJar', 'file', file)
17609
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
17610
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
17611
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
17612
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
17613
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17614
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17615
+ let baseOptions;
17616
+ if (configuration) {
17617
+ baseOptions = configuration.baseOptions;
17618
+ }
17619
+
17620
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17621
+ const localVarHeaderParameter = {} as any;
17622
+ const localVarQueryParameter = {} as any;
17623
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
17624
+
17625
+ // authentication BearerToken required
17626
+ // http bearer authentication required
17627
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
17628
+
17629
+ // authentication DigestAuth required
17630
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
17631
+
17632
+
17633
+ if (name !== undefined) {
17634
+ localVarFormParams.append('name', name as any);
17635
+ }
17636
+
17637
+ if (kind !== undefined) {
17638
+ localVarFormParams.append('kind', kind as any);
17639
+ }
17640
+
17641
+ if (file !== undefined) {
17642
+ localVarFormParams.append('file', file as any);
17643
+ }
17644
+
17645
+
17646
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
17647
+
17648
+ if (idempotencyKey != null) {
17649
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
17650
+ }
17651
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17652
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17653
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17654
+ localVarRequestOptions.data = localVarFormParams;
17655
+
17656
+ return {
17657
+ url: toPathString(localVarUrlObj),
17658
+ options: localVarRequestOptions,
17659
+ };
17660
+ },
16572
17661
  /**
16573
17662
  *
16574
17663
  * @summary Validate cluster creation
@@ -16860,6 +17949,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
16860
17949
  const localVarOperationServerBasePath = operationServerMap['SharedApi.alterParameter']?.[localVarOperationServerIndex]?.url;
16861
17950
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16862
17951
  },
17952
+ /**
17953
+ *
17954
+ * @summary Archive a JAR while retaining published files and startup synchronization
17955
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
17956
+ * @param {string} orgName
17957
+ * @param {string} clusterName
17958
+ * @param {string} jarId
17959
+ * @param {*} [options] Override http request option.
17960
+ * @throws {RequiredError}
17961
+ */
17962
+ async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
17963
+ const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
17964
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17965
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
17966
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17967
+ },
16863
17968
  /**
16864
17969
  * list the service version of the engine
16865
17970
  * @summary list the service version of the engine
@@ -16932,6 +18037,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
16932
18037
  const localVarOperationServerBasePath = operationServerMap['SharedApi.batchUpdateOrgParameters']?.[localVarOperationServerIndex]?.url;
16933
18038
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16934
18039
  },
18040
+ /**
18041
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
18042
+ * @summary bindSeaweedFSPolicies
18043
+ * @param {string} orgName
18044
+ * @param {string} clusterName
18045
+ * @param {string} accountName
18046
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
18047
+ * @param {*} [options] Override http request option.
18048
+ * @throws {RequiredError}
18049
+ */
18050
+ async bindSeaweedFSPolicies(orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18051
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options);
18052
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18053
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.bindSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
18054
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18055
+ },
16935
18056
  /**
16936
18057
  *
16937
18058
  * @summary build backup object with a existing backup directory
@@ -17296,6 +18417,37 @@ export const SharedApiFp = function(configuration?: Configuration) {
17296
18417
  const localVarOperationServerBasePath = operationServerMap['SharedApi.createRole']?.[localVarOperationServerIndex]?.url;
17297
18418
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17298
18419
  },
18420
+ /**
18421
+ * 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.
18422
+ * @summary createSeaweedFSAccessKey
18423
+ * @param {string} orgName
18424
+ * @param {string} clusterName
18425
+ * @param {string} accountName
18426
+ * @param {Account} account
18427
+ * @param {*} [options] Override http request option.
18428
+ * @throws {RequiredError}
18429
+ */
18430
+ async createSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
18431
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options);
18432
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18433
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.createSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
18434
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18435
+ },
18436
+ /**
18437
+ * 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.
18438
+ * @summary createSeaweedFSAccount
18439
+ * @param {string} orgName name of the organization
18440
+ * @param {string} clusterName name of the cluster
18441
+ * @param {Account} body
18442
+ * @param {*} [options] Override http request option.
18443
+ * @throws {RequiredError}
18444
+ */
18445
+ async createSeaweedFSAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
18446
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccount(orgName, clusterName, body, options);
18447
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18448
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.createSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
18449
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18450
+ },
17299
18451
  /**
17300
18452
  * create a MinIO service account access key
17301
18453
  * @summary Create MinIO access key
@@ -17489,6 +18641,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
17489
18641
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteCluster']?.[localVarOperationServerIndex]?.url;
17490
18642
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17491
18643
  },
18644
+ /**
18645
+ *
18646
+ * @summary Delete an unpublished JAR version
18647
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
18648
+ * @param {string} orgName
18649
+ * @param {string} clusterName
18650
+ * @param {string} jarId
18651
+ * @param {*} [options] Override http request option.
18652
+ * @throws {RequiredError}
18653
+ */
18654
+ async deleteClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18655
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
18656
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18657
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClusterJar']?.[localVarOperationServerIndex]?.url;
18658
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18659
+ },
17492
18660
  /**
17493
18661
  *
17494
18662
  * @summary delete the datasource
@@ -17817,6 +18985,52 @@ export const SharedApiFp = function(configuration?: Configuration) {
17817
18985
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteRoleByName']?.[localVarOperationServerIndex]?.url;
17818
18986
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17819
18987
  },
18988
+ /**
18989
+ *
18990
+ * @summary deleteSeaweedFSAccessKey
18991
+ * @param {string} orgName
18992
+ * @param {string} clusterName
18993
+ * @param {string} accountName
18994
+ * @param {string} accessKey
18995
+ * @param {*} [options] Override http request option.
18996
+ * @throws {RequiredError}
18997
+ */
18998
+ async deleteSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18999
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
19000
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19001
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
19002
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19003
+ },
19004
+ /**
19005
+ * delete an account in cluster
19006
+ * @summary deleteSeaweedFSAccount
19007
+ * @param {string} orgName name of the organization
19008
+ * @param {string} clusterName name of the cluster
19009
+ * @param {string} accountName name of the account
19010
+ * @param {*} [options] Override http request option.
19011
+ * @throws {RequiredError}
19012
+ */
19013
+ async deleteSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
19014
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
19015
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19016
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
19017
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19018
+ },
19019
+ /**
19020
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
19021
+ * @summary deleteSeaweedFSPolicy
19022
+ * @param {string} orgName
19023
+ * @param {string} clusterName
19024
+ * @param {string} policyName
19025
+ * @param {*} [options] Override http request option.
19026
+ * @throws {RequiredError}
19027
+ */
19028
+ async deleteSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
19029
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
19030
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19031
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
19032
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19033
+ },
17820
19034
  /**
17821
19035
  * delete a MinIO service account access key
17822
19036
  * @summary Delete MinIO access key
@@ -17879,6 +19093,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
17879
19093
  const localVarOperationServerBasePath = operationServerMap['SharedApi.disableConsole']?.[localVarOperationServerIndex]?.url;
17880
19094
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17881
19095
  },
19096
+ /**
19097
+ *
19098
+ * @summary Publish a JAR with optimistic manifest version checking
19099
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19100
+ * @param {string} orgName
19101
+ * @param {string} clusterName
19102
+ * @param {string} jarId
19103
+ * @param {ClusterJarPublish} clusterJarPublish
19104
+ * @param {*} [options] Override http request option.
19105
+ * @throws {RequiredError}
19106
+ */
19107
+ async distributeClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
19108
+ const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
19109
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19110
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.distributeClusterJar']?.[localVarOperationServerIndex]?.url;
19111
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19112
+ },
17882
19113
  /**
17883
19114
  *
17884
19115
  * @summary Restore current cluster or instance
@@ -17908,6 +19139,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
17908
19139
  const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadBackup']?.[localVarOperationServerIndex]?.url;
17909
19140
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17910
19141
  },
19142
+ /**
19143
+ *
19144
+ * @summary Download the original JAR
19145
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19146
+ * @param {string} orgName
19147
+ * @param {string} clusterName
19148
+ * @param {string} jarId
19149
+ * @param {*} [options] Override http request option.
19150
+ * @throws {RequiredError}
19151
+ */
19152
+ async downloadClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
19153
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
19154
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19155
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadClusterJar']?.[localVarOperationServerIndex]?.url;
19156
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19157
+ },
17911
19158
  /**
17912
19159
  *
17913
19160
  * @summary Download multiple backup files
@@ -18273,6 +19520,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
18273
19520
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterInstanceLog']?.[localVarOperationServerIndex]?.url;
18274
19521
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18275
19522
  },
19523
+ /**
19524
+ *
19525
+ * @summary Get external JAR capability and configuration
19526
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19527
+ * @param {string} orgName
19528
+ * @param {string} clusterName
19529
+ * @param {*} [options] Override http request option.
19530
+ * @throws {RequiredError}
19531
+ */
19532
+ async getClusterJarConfig(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarConfig>> {
19533
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
19534
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19535
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterJarConfig']?.[localVarOperationServerIndex]?.url;
19536
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19537
+ },
18276
19538
  /**
18277
19539
  *
18278
19540
  * @summary Get cluster parameter template
@@ -18789,6 +20051,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
18789
20051
  const localVarOperationServerBasePath = operationServerMap['SharedApi.getRootAccountPassword']?.[localVarOperationServerIndex]?.url;
18790
20052
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18791
20053
  },
20054
+ /**
20055
+ * get root account password
20056
+ * @summary getRootSeaweedFSAccountPassword
20057
+ * @param {string} orgName name of the Org
20058
+ * @param {string} clusterName name of the Cluster
20059
+ * @param {string} accountName name of the account
20060
+ * @param {string} [component] name of the component
20061
+ * @param {*} [options] Override http request option.
20062
+ * @throws {RequiredError}
20063
+ */
20064
+ async getRootSeaweedFSAccountPassword(orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
20065
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options);
20066
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20067
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.getRootSeaweedFSAccountPassword']?.[localVarOperationServerIndex]?.url;
20068
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20069
+ },
18792
20070
  /**
18793
20071
  *
18794
20072
  * @summary list all databases or schema of the cluster
@@ -19220,6 +20498,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
19220
20498
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listCluster']?.[localVarOperationServerIndex]?.url;
19221
20499
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19222
20500
  },
20501
+ /**
20502
+ *
20503
+ * @summary List external JAR versions with metadata and per-instance synchronization state
20504
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
20505
+ * @param {string} orgName
20506
+ * @param {string} clusterName
20507
+ * @param {*} [options] Override http request option.
20508
+ * @throws {RequiredError}
20509
+ */
20510
+ async listClusterJars(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarList>> {
20511
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
20512
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20513
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterJars']?.[localVarOperationServerIndex]?.url;
20514
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20515
+ },
19223
20516
  /**
19224
20517
  *
19225
20518
  * @summary List restore tasks
@@ -19941,6 +21234,34 @@ export const SharedApiFp = function(configuration?: Configuration) {
19941
21234
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listRoles']?.[localVarOperationServerIndex]?.url;
19942
21235
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19943
21236
  },
21237
+ /**
21238
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
21239
+ * @summary listSeaweedFSAccounts
21240
+ * @param {string} orgName name of the organization
21241
+ * @param {string} clusterName name of the cluster
21242
+ * @param {*} [options] Override http request option.
21243
+ * @throws {RequiredError}
21244
+ */
21245
+ async listSeaweedFSAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>> {
21246
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSAccounts(orgName, clusterName, options);
21247
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21248
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listSeaweedFSAccounts']?.[localVarOperationServerIndex]?.url;
21249
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21250
+ },
21251
+ /**
21252
+ *
21253
+ * @summary listSeaweedFSPolicies
21254
+ * @param {string} orgName
21255
+ * @param {string} clusterName
21256
+ * @param {*} [options] Override http request option.
21257
+ * @throws {RequiredError}
21258
+ */
21259
+ async listSeaweedFSPolicies(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSeaweedFSPolicies200Response>> {
21260
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSPolicies(orgName, clusterName, options);
21261
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21262
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
21263
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21264
+ },
19944
21265
  /**
19945
21266
  * list MinIO service account access keys
19946
21267
  * @summary List MinIO access keys
@@ -20259,6 +21580,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
20259
21580
  const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
20260
21581
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20261
21582
  },
21583
+ /**
21584
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
21585
+ * @summary putSeaweedFSPolicy
21586
+ * @param {string} orgName
21587
+ * @param {string} clusterName
21588
+ * @param {string} policyName
21589
+ * @param {{ [key: string]: any; }} requestBody
21590
+ * @param {*} [options] Override http request option.
21591
+ * @throws {RequiredError}
21592
+ */
21593
+ async putSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
21594
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options);
21595
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21596
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.putSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
21597
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21598
+ },
20262
21599
  /**
20263
21600
  *
20264
21601
  * @summary create a SQL query
@@ -20781,6 +22118,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
20781
22118
  const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreRecycleBinCluster']?.[localVarOperationServerIndex]?.url;
20782
22119
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20783
22120
  },
22121
+ /**
22122
+ *
22123
+ * @summary Retry synchronization of published JARs
22124
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
22125
+ * @param {string} orgName
22126
+ * @param {string} clusterName
22127
+ * @param {string} jarId
22128
+ * @param {*} [options] Override http request option.
22129
+ * @throws {RequiredError}
22130
+ */
22131
+ async retryClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
22132
+ const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
22133
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22134
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.retryClusterJar']?.[localVarOperationServerIndex]?.url;
22135
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22136
+ },
20784
22137
  /**
20785
22138
  *
20786
22139
  * @summary Revoke privileges from a ClickHouse role
@@ -21378,6 +22731,38 @@ export const SharedApiFp = function(configuration?: Configuration) {
21378
22731
  const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRoleByName']?.[localVarOperationServerIndex]?.url;
21379
22732
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21380
22733
  },
22734
+ /**
22735
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
22736
+ * @summary updateSeaweedFSAccount
22737
+ * @param {string} orgName name of the organization
22738
+ * @param {string} clusterName name of the cluster
22739
+ * @param {string} accountName name of the account
22740
+ * @param {Account} body
22741
+ * @param {*} [options] Override http request option.
22742
+ * @throws {RequiredError}
22743
+ */
22744
+ async updateSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
22745
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccount(orgName, clusterName, accountName, body, options);
22746
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22747
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.updateSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
22748
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22749
+ },
22750
+ /**
22751
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
22752
+ * @summary updateSeaweedFSAccountPrivileges
22753
+ * @param {string} orgName name of the Org
22754
+ * @param {string} clusterName name of the Cluster
22755
+ * @param {string} accountName name of the account
22756
+ * @param {Array<PrivilegeListItem>} body
22757
+ * @param {*} [options] Override http request option.
22758
+ * @throws {RequiredError}
22759
+ */
22760
+ async updateSeaweedFSAccountPrivileges(orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22761
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options);
22762
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22763
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.updateSeaweedFSAccountPrivileges']?.[localVarOperationServerIndex]?.url;
22764
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22765
+ },
21381
22766
  /**
21382
22767
  * update a MinIO service account access key
21383
22768
  * @summary Update MinIO access key
@@ -21454,6 +22839,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
21454
22839
  const localVarOperationServerBasePath = operationServerMap['SharedApi.upgradeCluster']?.[localVarOperationServerIndex]?.url;
21455
22840
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21456
22841
  },
22842
+ /**
22843
+ *
22844
+ * @summary Upload an immutable JAR version
22845
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
22846
+ * @param {string} orgName
22847
+ * @param {string} clusterName
22848
+ * @param {string} idempotencyKey
22849
+ * @param {string} name
22850
+ * @param {ClusterJarKind} kind
22851
+ * @param {File} file
22852
+ * @param {*} [options] Override http request option.
22853
+ * @throws {RequiredError}
22854
+ */
22855
+ 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>> {
22856
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
22857
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22858
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.uploadClusterJar']?.[localVarOperationServerIndex]?.url;
22859
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22860
+ },
21457
22861
  /**
21458
22862
  *
21459
22863
  * @summary Validate cluster creation
@@ -21563,6 +22967,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
21563
22967
  alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
21564
22968
  return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
21565
22969
  },
22970
+ /**
22971
+ *
22972
+ * @summary Archive a JAR while retaining published files and startup synchronization
22973
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
22974
+ * @param {*} [options] Override http request option.
22975
+ * @throws {RequiredError}
22976
+ */
22977
+ archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22978
+ return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
22979
+ },
21566
22980
  /**
21567
22981
  * list the service version of the engine
21568
22982
  * @summary list the service version of the engine
@@ -21613,6 +23027,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
21613
23027
  batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>> {
21614
23028
  return localVarFp.batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
21615
23029
  },
23030
+ /**
23031
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
23032
+ * @summary bindSeaweedFSPolicies
23033
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
23034
+ * @param {*} [options] Override http request option.
23035
+ * @throws {RequiredError}
23036
+ */
23037
+ bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23038
+ return localVarFp.bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(axios, basePath));
23039
+ },
21616
23040
  /**
21617
23041
  *
21618
23042
  * @summary build backup object with a existing backup directory
@@ -21854,6 +23278,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
21854
23278
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
21855
23279
  return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
21856
23280
  },
23281
+ /**
23282
+ * 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.
23283
+ * @summary createSeaweedFSAccessKey
23284
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
23285
+ * @param {*} [options] Override http request option.
23286
+ * @throws {RequiredError}
23287
+ */
23288
+ createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
23289
+ return localVarFp.createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(axios, basePath));
23290
+ },
23291
+ /**
23292
+ * 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.
23293
+ * @summary createSeaweedFSAccount
23294
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
23295
+ * @param {*} [options] Override http request option.
23296
+ * @throws {RequiredError}
23297
+ */
23298
+ createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
23299
+ return localVarFp.createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
23300
+ },
21857
23301
  /**
21858
23302
  * create a MinIO service account access key
21859
23303
  * @summary Create MinIO access key
@@ -21984,6 +23428,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
21984
23428
  deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object> {
21985
23429
  return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
21986
23430
  },
23431
+ /**
23432
+ *
23433
+ * @summary Delete an unpublished JAR version
23434
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
23435
+ * @param {*} [options] Override http request option.
23436
+ * @throws {RequiredError}
23437
+ */
23438
+ deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23439
+ return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
23440
+ },
21987
23441
  /**
21988
23442
  *
21989
23443
  * @summary delete the datasource
@@ -22204,6 +23658,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22204
23658
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22205
23659
  return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
22206
23660
  },
23661
+ /**
23662
+ *
23663
+ * @summary deleteSeaweedFSAccessKey
23664
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
23665
+ * @param {*} [options] Override http request option.
23666
+ * @throws {RequiredError}
23667
+ */
23668
+ deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23669
+ return localVarFp.deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
23670
+ },
23671
+ /**
23672
+ * delete an account in cluster
23673
+ * @summary deleteSeaweedFSAccount
23674
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
23675
+ * @param {*} [options] Override http request option.
23676
+ * @throws {RequiredError}
23677
+ */
23678
+ deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23679
+ return localVarFp.deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
23680
+ },
23681
+ /**
23682
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
23683
+ * @summary deleteSeaweedFSPolicy
23684
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
23685
+ * @param {*} [options] Override http request option.
23686
+ * @throws {RequiredError}
23687
+ */
23688
+ deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23689
+ return localVarFp.deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(axios, basePath));
23690
+ },
22207
23691
  /**
22208
23692
  * delete a MinIO service account access key
22209
23693
  * @summary Delete MinIO access key
@@ -22244,6 +23728,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22244
23728
  disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22245
23729
  return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
22246
23730
  },
23731
+ /**
23732
+ *
23733
+ * @summary Publish a JAR with optimistic manifest version checking
23734
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
23735
+ * @param {*} [options] Override http request option.
23736
+ * @throws {RequiredError}
23737
+ */
23738
+ distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
23739
+ return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
23740
+ },
22247
23741
  /**
22248
23742
  *
22249
23743
  * @summary Restore current cluster or instance
@@ -22264,6 +23758,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22264
23758
  downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
22265
23759
  return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
22266
23760
  },
23761
+ /**
23762
+ *
23763
+ * @summary Download the original JAR
23764
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
23765
+ * @param {*} [options] Override http request option.
23766
+ * @throws {RequiredError}
23767
+ */
23768
+ downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
23769
+ return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
23770
+ },
22267
23771
  /**
22268
23772
  *
22269
23773
  * @summary Download multiple backup files
@@ -22485,6 +23989,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22485
23989
  getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
22486
23990
  return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
22487
23991
  },
23992
+ /**
23993
+ *
23994
+ * @summary Get external JAR capability and configuration
23995
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
23996
+ * @param {*} [options] Override http request option.
23997
+ * @throws {RequiredError}
23998
+ */
23999
+ getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig> {
24000
+ return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24001
+ },
22488
24002
  /**
22489
24003
  *
22490
24004
  * @summary Get cluster parameter template
@@ -22824,6 +24338,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22824
24338
  getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
22825
24339
  return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
22826
24340
  },
24341
+ /**
24342
+ * get root account password
24343
+ * @summary getRootSeaweedFSAccountPassword
24344
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
24345
+ * @param {*} [options] Override http request option.
24346
+ * @throws {RequiredError}
24347
+ */
24348
+ getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
24349
+ return localVarFp.getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
24350
+ },
22827
24351
  /**
22828
24352
  *
22829
24353
  * @summary list all databases or schema of the cluster
@@ -23083,6 +24607,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23083
24607
  listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
23084
24608
  return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
23085
24609
  },
24610
+ /**
24611
+ *
24612
+ * @summary List external JAR versions with metadata and per-instance synchronization state
24613
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
24614
+ * @param {*} [options] Override http request option.
24615
+ * @throws {RequiredError}
24616
+ */
24617
+ listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList> {
24618
+ return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24619
+ },
23086
24620
  /**
23087
24621
  *
23088
24622
  * @summary List restore tasks
@@ -23570,6 +25104,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23570
25104
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList> {
23571
25105
  return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
23572
25106
  },
25107
+ /**
25108
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
25109
+ * @summary listSeaweedFSAccounts
25110
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
25111
+ * @param {*} [options] Override http request option.
25112
+ * @throws {RequiredError}
25113
+ */
25114
+ listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
25115
+ return localVarFp.listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
25116
+ },
25117
+ /**
25118
+ *
25119
+ * @summary listSeaweedFSPolicies
25120
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
25121
+ * @param {*} [options] Override http request option.
25122
+ * @throws {RequiredError}
25123
+ */
25124
+ listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response> {
25125
+ return localVarFp.listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
25126
+ },
23573
25127
  /**
23574
25128
  * list MinIO service account access keys
23575
25129
  * @summary List MinIO access keys
@@ -23780,6 +25334,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
23780
25334
  putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23781
25335
  return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
23782
25336
  },
25337
+ /**
25338
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
25339
+ * @summary putSeaweedFSPolicy
25340
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
25341
+ * @param {*} [options] Override http request option.
25342
+ * @throws {RequiredError}
25343
+ */
25344
+ putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
25345
+ return localVarFp.putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
25346
+ },
23783
25347
  /**
23784
25348
  *
23785
25349
  * @summary create a SQL query
@@ -24039,6 +25603,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24039
25603
  restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
24040
25604
  return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
24041
25605
  },
25606
+ /**
25607
+ *
25608
+ * @summary Retry synchronization of published JARs
25609
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
25610
+ * @param {*} [options] Override http request option.
25611
+ * @throws {RequiredError}
25612
+ */
25613
+ retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
25614
+ return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
25615
+ },
24042
25616
  /**
24043
25617
  *
24044
25618
  * @summary Revoke privileges from a ClickHouse role
@@ -24419,6 +25993,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24419
25993
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
24420
25994
  return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
24421
25995
  },
25996
+ /**
25997
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
25998
+ * @summary updateSeaweedFSAccount
25999
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
26000
+ * @param {*} [options] Override http request option.
26001
+ * @throws {RequiredError}
26002
+ */
26003
+ updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
26004
+ return localVarFp.updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
26005
+ },
26006
+ /**
26007
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
26008
+ * @summary updateSeaweedFSAccountPrivileges
26009
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
26010
+ * @param {*} [options] Override http request option.
26011
+ * @throws {RequiredError}
26012
+ */
26013
+ updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
26014
+ return localVarFp.updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
26015
+ },
24422
26016
  /**
24423
26017
  * update a MinIO service account access key
24424
26018
  * @summary Update MinIO access key
@@ -24468,6 +26062,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
24468
26062
  upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
24469
26063
  return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
24470
26064
  },
26065
+ /**
26066
+ *
26067
+ * @summary Upload an immutable JAR version
26068
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
26069
+ * @param {*} [options] Override http request option.
26070
+ * @throws {RequiredError}
26071
+ */
26072
+ uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage> {
26073
+ return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
26074
+ },
24471
26075
  /**
24472
26076
  *
24473
26077
  * @summary Validate cluster creation
@@ -24556,6 +26160,16 @@ export interface SharedApiInterface {
24556
26160
  */
24557
26161
  alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
24558
26162
 
26163
+ /**
26164
+ *
26165
+ * @summary Archive a JAR while retaining published files and startup synchronization
26166
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
26167
+ * @param {*} [options] Override http request option.
26168
+ * @throws {RequiredError}
26169
+ * @memberof SharedApiInterface
26170
+ */
26171
+ archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26172
+
24559
26173
  /**
24560
26174
  * list the service version of the engine
24561
26175
  * @summary list the service version of the engine
@@ -24606,6 +26220,16 @@ export interface SharedApiInterface {
24606
26220
  */
24607
26221
  batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>>;
24608
26222
 
26223
+ /**
26224
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
26225
+ * @summary bindSeaweedFSPolicies
26226
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
26227
+ * @param {*} [options] Override http request option.
26228
+ * @throws {RequiredError}
26229
+ * @memberof SharedApiInterface
26230
+ */
26231
+ bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26232
+
24609
26233
  /**
24610
26234
  *
24611
26235
  * @summary build backup object with a existing backup directory
@@ -24847,6 +26471,26 @@ export interface SharedApiInterface {
24847
26471
  */
24848
26472
  createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
24849
26473
 
26474
+ /**
26475
+ * 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.
26476
+ * @summary createSeaweedFSAccessKey
26477
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
26478
+ * @param {*} [options] Override http request option.
26479
+ * @throws {RequiredError}
26480
+ * @memberof SharedApiInterface
26481
+ */
26482
+ createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
26483
+
26484
+ /**
26485
+ * 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.
26486
+ * @summary createSeaweedFSAccount
26487
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
26488
+ * @param {*} [options] Override http request option.
26489
+ * @throws {RequiredError}
26490
+ * @memberof SharedApiInterface
26491
+ */
26492
+ createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
26493
+
24850
26494
  /**
24851
26495
  * create a MinIO service account access key
24852
26496
  * @summary Create MinIO access key
@@ -24977,6 +26621,16 @@ export interface SharedApiInterface {
24977
26621
  */
24978
26622
  deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
24979
26623
 
26624
+ /**
26625
+ *
26626
+ * @summary Delete an unpublished JAR version
26627
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
26628
+ * @param {*} [options] Override http request option.
26629
+ * @throws {RequiredError}
26630
+ * @memberof SharedApiInterface
26631
+ */
26632
+ deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26633
+
24980
26634
  /**
24981
26635
  *
24982
26636
  * @summary delete the datasource
@@ -25197,6 +26851,36 @@ export interface SharedApiInterface {
25197
26851
  */
25198
26852
  deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
25199
26853
 
26854
+ /**
26855
+ *
26856
+ * @summary deleteSeaweedFSAccessKey
26857
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
26858
+ * @param {*} [options] Override http request option.
26859
+ * @throws {RequiredError}
26860
+ * @memberof SharedApiInterface
26861
+ */
26862
+ deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26863
+
26864
+ /**
26865
+ * delete an account in cluster
26866
+ * @summary deleteSeaweedFSAccount
26867
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
26868
+ * @param {*} [options] Override http request option.
26869
+ * @throws {RequiredError}
26870
+ * @memberof SharedApiInterface
26871
+ */
26872
+ deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26873
+
26874
+ /**
26875
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
26876
+ * @summary deleteSeaweedFSPolicy
26877
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
26878
+ * @param {*} [options] Override http request option.
26879
+ * @throws {RequiredError}
26880
+ * @memberof SharedApiInterface
26881
+ */
26882
+ deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26883
+
25200
26884
  /**
25201
26885
  * delete a MinIO service account access key
25202
26886
  * @summary Delete MinIO access key
@@ -25237,6 +26921,16 @@ export interface SharedApiInterface {
25237
26921
  */
25238
26922
  disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
25239
26923
 
26924
+ /**
26925
+ *
26926
+ * @summary Publish a JAR with optimistic manifest version checking
26927
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
26928
+ * @param {*} [options] Override http request option.
26929
+ * @throws {RequiredError}
26930
+ * @memberof SharedApiInterface
26931
+ */
26932
+ distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
26933
+
25240
26934
  /**
25241
26935
  *
25242
26936
  * @summary Restore current cluster or instance
@@ -25257,6 +26951,16 @@ export interface SharedApiInterface {
25257
26951
  */
25258
26952
  downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
25259
26953
 
26954
+ /**
26955
+ *
26956
+ * @summary Download the original JAR
26957
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
26958
+ * @param {*} [options] Override http request option.
26959
+ * @throws {RequiredError}
26960
+ * @memberof SharedApiInterface
26961
+ */
26962
+ downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
26963
+
25260
26964
  /**
25261
26965
  *
25262
26966
  * @summary Download multiple backup files
@@ -25478,6 +27182,16 @@ export interface SharedApiInterface {
25478
27182
  */
25479
27183
  getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
25480
27184
 
27185
+ /**
27186
+ *
27187
+ * @summary Get external JAR capability and configuration
27188
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
27189
+ * @param {*} [options] Override http request option.
27190
+ * @throws {RequiredError}
27191
+ * @memberof SharedApiInterface
27192
+ */
27193
+ getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig>;
27194
+
25481
27195
  /**
25482
27196
  *
25483
27197
  * @summary Get cluster parameter template
@@ -25817,6 +27531,16 @@ export interface SharedApiInterface {
25817
27531
  */
25818
27532
  getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
25819
27533
 
27534
+ /**
27535
+ * get root account password
27536
+ * @summary getRootSeaweedFSAccountPassword
27537
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
27538
+ * @param {*} [options] Override http request option.
27539
+ * @throws {RequiredError}
27540
+ * @memberof SharedApiInterface
27541
+ */
27542
+ getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
27543
+
25820
27544
  /**
25821
27545
  *
25822
27546
  * @summary list all databases or schema of the cluster
@@ -26076,6 +27800,16 @@ export interface SharedApiInterface {
26076
27800
  */
26077
27801
  listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
26078
27802
 
27803
+ /**
27804
+ *
27805
+ * @summary List external JAR versions with metadata and per-instance synchronization state
27806
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
27807
+ * @param {*} [options] Override http request option.
27808
+ * @throws {RequiredError}
27809
+ * @memberof SharedApiInterface
27810
+ */
27811
+ listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList>;
27812
+
26079
27813
  /**
26080
27814
  *
26081
27815
  * @summary List restore tasks
@@ -26563,6 +28297,26 @@ export interface SharedApiInterface {
26563
28297
  */
26564
28298
  listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList>;
26565
28299
 
28300
+ /**
28301
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
28302
+ * @summary listSeaweedFSAccounts
28303
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
28304
+ * @param {*} [options] Override http request option.
28305
+ * @throws {RequiredError}
28306
+ * @memberof SharedApiInterface
28307
+ */
28308
+ listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
28309
+
28310
+ /**
28311
+ *
28312
+ * @summary listSeaweedFSPolicies
28313
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
28314
+ * @param {*} [options] Override http request option.
28315
+ * @throws {RequiredError}
28316
+ * @memberof SharedApiInterface
28317
+ */
28318
+ listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
28319
+
26566
28320
  /**
26567
28321
  * list MinIO service account access keys
26568
28322
  * @summary List MinIO access keys
@@ -26773,6 +28527,16 @@ export interface SharedApiInterface {
26773
28527
  */
26774
28528
  putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26775
28529
 
28530
+ /**
28531
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
28532
+ * @summary putSeaweedFSPolicy
28533
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
28534
+ * @param {*} [options] Override http request option.
28535
+ * @throws {RequiredError}
28536
+ * @memberof SharedApiInterface
28537
+ */
28538
+ putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
28539
+
26776
28540
  /**
26777
28541
  *
26778
28542
  * @summary create a SQL query
@@ -27032,6 +28796,16 @@ export interface SharedApiInterface {
27032
28796
  */
27033
28797
  restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
27034
28798
 
28799
+ /**
28800
+ *
28801
+ * @summary Retry synchronization of published JARs
28802
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
28803
+ * @param {*} [options] Override http request option.
28804
+ * @throws {RequiredError}
28805
+ * @memberof SharedApiInterface
28806
+ */
28807
+ retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
28808
+
27035
28809
  /**
27036
28810
  *
27037
28811
  * @summary Revoke privileges from a ClickHouse role
@@ -27412,6 +29186,26 @@ export interface SharedApiInterface {
27412
29186
  */
27413
29187
  updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
27414
29188
 
29189
+ /**
29190
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
29191
+ * @summary updateSeaweedFSAccount
29192
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
29193
+ * @param {*} [options] Override http request option.
29194
+ * @throws {RequiredError}
29195
+ * @memberof SharedApiInterface
29196
+ */
29197
+ updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
29198
+
29199
+ /**
29200
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
29201
+ * @summary updateSeaweedFSAccountPrivileges
29202
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
29203
+ * @param {*} [options] Override http request option.
29204
+ * @throws {RequiredError}
29205
+ * @memberof SharedApiInterface
29206
+ */
29207
+ updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
29208
+
27415
29209
  /**
27416
29210
  * update a MinIO service account access key
27417
29211
  * @summary Update MinIO access key
@@ -27461,6 +29255,16 @@ export interface SharedApiInterface {
27461
29255
  */
27462
29256
  upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
27463
29257
 
29258
+ /**
29259
+ *
29260
+ * @summary Upload an immutable JAR version
29261
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
29262
+ * @param {*} [options] Override http request option.
29263
+ * @throws {RequiredError}
29264
+ * @memberof SharedApiInterface
29265
+ */
29266
+ uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage>;
29267
+
27464
29268
  /**
27465
29269
  *
27466
29270
  * @summary Validate cluster creation
@@ -27741,6 +29545,41 @@ export interface SharedApiAlterParameterRequest {
27741
29545
  readonly dmsObAlterParameter: DmsObAlterParameter
27742
29546
  }
27743
29547
 
29548
+ /**
29549
+ * Request parameters for archiveClusterJar operation in SharedApi.
29550
+ * @export
29551
+ * @interface SharedApiArchiveClusterJarRequest
29552
+ */
29553
+ export interface SharedApiArchiveClusterJarRequest {
29554
+ /**
29555
+ * Doris or SelectDB engine of the target cluster.
29556
+ * @type {string}
29557
+ * @memberof SharedApiArchiveClusterJar
29558
+ */
29559
+ readonly engineName: string
29560
+
29561
+ /**
29562
+ *
29563
+ * @type {string}
29564
+ * @memberof SharedApiArchiveClusterJar
29565
+ */
29566
+ readonly orgName: string
29567
+
29568
+ /**
29569
+ *
29570
+ * @type {string}
29571
+ * @memberof SharedApiArchiveClusterJar
29572
+ */
29573
+ readonly clusterName: string
29574
+
29575
+ /**
29576
+ *
29577
+ * @type {string}
29578
+ * @memberof SharedApiArchiveClusterJar
29579
+ */
29580
+ readonly jarId: string
29581
+ }
29582
+
27744
29583
  /**
27745
29584
  * Request parameters for availableServiceVersion operation in SharedApi.
27746
29585
  * @export
@@ -27860,6 +29699,41 @@ export interface SharedApiBatchUpdateOrgParametersRequest {
27860
29699
  readonly orgParameter: Array<OrgParameter>
27861
29700
  }
27862
29701
 
29702
+ /**
29703
+ * Request parameters for bindSeaweedFSPolicies operation in SharedApi.
29704
+ * @export
29705
+ * @interface SharedApiBindSeaweedFSPoliciesRequest
29706
+ */
29707
+ export interface SharedApiBindSeaweedFSPoliciesRequest {
29708
+ /**
29709
+ *
29710
+ * @type {string}
29711
+ * @memberof SharedApiBindSeaweedFSPolicies
29712
+ */
29713
+ readonly orgName: string
29714
+
29715
+ /**
29716
+ *
29717
+ * @type {string}
29718
+ * @memberof SharedApiBindSeaweedFSPolicies
29719
+ */
29720
+ readonly clusterName: string
29721
+
29722
+ /**
29723
+ *
29724
+ * @type {string}
29725
+ * @memberof SharedApiBindSeaweedFSPolicies
29726
+ */
29727
+ readonly accountName: string
29728
+
29729
+ /**
29730
+ *
29731
+ * @type {BindSeaweedFSPoliciesRequest}
29732
+ * @memberof SharedApiBindSeaweedFSPolicies
29733
+ */
29734
+ readonly bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest
29735
+ }
29736
+
27863
29737
  /**
27864
29738
  * Request parameters for buildBackupObj operation in SharedApi.
27865
29739
  * @export
@@ -28553,6 +30427,69 @@ export interface SharedApiCreateRoleRequest {
28553
30427
  readonly roleCreate: RoleCreate
28554
30428
  }
28555
30429
 
30430
+ /**
30431
+ * Request parameters for createSeaweedFSAccessKey operation in SharedApi.
30432
+ * @export
30433
+ * @interface SharedApiCreateSeaweedFSAccessKeyRequest
30434
+ */
30435
+ export interface SharedApiCreateSeaweedFSAccessKeyRequest {
30436
+ /**
30437
+ *
30438
+ * @type {string}
30439
+ * @memberof SharedApiCreateSeaweedFSAccessKey
30440
+ */
30441
+ readonly orgName: string
30442
+
30443
+ /**
30444
+ *
30445
+ * @type {string}
30446
+ * @memberof SharedApiCreateSeaweedFSAccessKey
30447
+ */
30448
+ readonly clusterName: string
30449
+
30450
+ /**
30451
+ *
30452
+ * @type {string}
30453
+ * @memberof SharedApiCreateSeaweedFSAccessKey
30454
+ */
30455
+ readonly accountName: string
30456
+
30457
+ /**
30458
+ *
30459
+ * @type {Account}
30460
+ * @memberof SharedApiCreateSeaweedFSAccessKey
30461
+ */
30462
+ readonly account: Account
30463
+ }
30464
+
30465
+ /**
30466
+ * Request parameters for createSeaweedFSAccount operation in SharedApi.
30467
+ * @export
30468
+ * @interface SharedApiCreateSeaweedFSAccountRequest
30469
+ */
30470
+ export interface SharedApiCreateSeaweedFSAccountRequest {
30471
+ /**
30472
+ * name of the organization
30473
+ * @type {string}
30474
+ * @memberof SharedApiCreateSeaweedFSAccount
30475
+ */
30476
+ readonly orgName: string
30477
+
30478
+ /**
30479
+ * name of the cluster
30480
+ * @type {string}
30481
+ * @memberof SharedApiCreateSeaweedFSAccount
30482
+ */
30483
+ readonly clusterName: string
30484
+
30485
+ /**
30486
+ *
30487
+ * @type {Account}
30488
+ * @memberof SharedApiCreateSeaweedFSAccount
30489
+ */
30490
+ readonly body: Account
30491
+ }
30492
+
28556
30493
  /**
28557
30494
  * Request parameters for createServiceAccount operation in SharedApi.
28558
30495
  * @export
@@ -28903,6 +30840,41 @@ export interface SharedApiDeleteClusterRequest {
28903
30840
  readonly force?: boolean
28904
30841
  }
28905
30842
 
30843
+ /**
30844
+ * Request parameters for deleteClusterJar operation in SharedApi.
30845
+ * @export
30846
+ * @interface SharedApiDeleteClusterJarRequest
30847
+ */
30848
+ export interface SharedApiDeleteClusterJarRequest {
30849
+ /**
30850
+ * Doris or SelectDB engine of the target cluster.
30851
+ * @type {string}
30852
+ * @memberof SharedApiDeleteClusterJar
30853
+ */
30854
+ readonly engineName: string
30855
+
30856
+ /**
30857
+ *
30858
+ * @type {string}
30859
+ * @memberof SharedApiDeleteClusterJar
30860
+ */
30861
+ readonly orgName: string
30862
+
30863
+ /**
30864
+ *
30865
+ * @type {string}
30866
+ * @memberof SharedApiDeleteClusterJar
30867
+ */
30868
+ readonly clusterName: string
30869
+
30870
+ /**
30871
+ *
30872
+ * @type {string}
30873
+ * @memberof SharedApiDeleteClusterJar
30874
+ */
30875
+ readonly jarId: string
30876
+ }
30877
+
28906
30878
  /**
28907
30879
  * Request parameters for deleteDataSourceV2 operation in SharedApi.
28908
30880
  * @export
@@ -29505,6 +31477,97 @@ export interface SharedApiDeleteRoleByNameRequest {
29505
31477
  readonly roleName: string
29506
31478
  }
29507
31479
 
31480
+ /**
31481
+ * Request parameters for deleteSeaweedFSAccessKey operation in SharedApi.
31482
+ * @export
31483
+ * @interface SharedApiDeleteSeaweedFSAccessKeyRequest
31484
+ */
31485
+ export interface SharedApiDeleteSeaweedFSAccessKeyRequest {
31486
+ /**
31487
+ *
31488
+ * @type {string}
31489
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
31490
+ */
31491
+ readonly orgName: string
31492
+
31493
+ /**
31494
+ *
31495
+ * @type {string}
31496
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
31497
+ */
31498
+ readonly clusterName: string
31499
+
31500
+ /**
31501
+ *
31502
+ * @type {string}
31503
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
31504
+ */
31505
+ readonly accountName: string
31506
+
31507
+ /**
31508
+ *
31509
+ * @type {string}
31510
+ * @memberof SharedApiDeleteSeaweedFSAccessKey
31511
+ */
31512
+ readonly accessKey: string
31513
+ }
31514
+
31515
+ /**
31516
+ * Request parameters for deleteSeaweedFSAccount operation in SharedApi.
31517
+ * @export
31518
+ * @interface SharedApiDeleteSeaweedFSAccountRequest
31519
+ */
31520
+ export interface SharedApiDeleteSeaweedFSAccountRequest {
31521
+ /**
31522
+ * name of the organization
31523
+ * @type {string}
31524
+ * @memberof SharedApiDeleteSeaweedFSAccount
31525
+ */
31526
+ readonly orgName: string
31527
+
31528
+ /**
31529
+ * name of the cluster
31530
+ * @type {string}
31531
+ * @memberof SharedApiDeleteSeaweedFSAccount
31532
+ */
31533
+ readonly clusterName: string
31534
+
31535
+ /**
31536
+ * name of the account
31537
+ * @type {string}
31538
+ * @memberof SharedApiDeleteSeaweedFSAccount
31539
+ */
31540
+ readonly accountName: string
31541
+ }
31542
+
31543
+ /**
31544
+ * Request parameters for deleteSeaweedFSPolicy operation in SharedApi.
31545
+ * @export
31546
+ * @interface SharedApiDeleteSeaweedFSPolicyRequest
31547
+ */
31548
+ export interface SharedApiDeleteSeaweedFSPolicyRequest {
31549
+ /**
31550
+ *
31551
+ * @type {string}
31552
+ * @memberof SharedApiDeleteSeaweedFSPolicy
31553
+ */
31554
+ readonly orgName: string
31555
+
31556
+ /**
31557
+ *
31558
+ * @type {string}
31559
+ * @memberof SharedApiDeleteSeaweedFSPolicy
31560
+ */
31561
+ readonly clusterName: string
31562
+
31563
+ /**
31564
+ *
31565
+ * @type {string}
31566
+ * @memberof SharedApiDeleteSeaweedFSPolicy
31567
+ */
31568
+ readonly policyName: string
31569
+ }
31570
+
29508
31571
  /**
29509
31572
  * Request parameters for deleteServiceAccount operation in SharedApi.
29510
31573
  * @export
@@ -29631,6 +31694,48 @@ export interface SharedApiDisableConsoleRequest {
29631
31694
  readonly clusterName: string
29632
31695
  }
29633
31696
 
31697
+ /**
31698
+ * Request parameters for distributeClusterJar operation in SharedApi.
31699
+ * @export
31700
+ * @interface SharedApiDistributeClusterJarRequest
31701
+ */
31702
+ export interface SharedApiDistributeClusterJarRequest {
31703
+ /**
31704
+ * Doris or SelectDB engine of the target cluster.
31705
+ * @type {string}
31706
+ * @memberof SharedApiDistributeClusterJar
31707
+ */
31708
+ readonly engineName: string
31709
+
31710
+ /**
31711
+ *
31712
+ * @type {string}
31713
+ * @memberof SharedApiDistributeClusterJar
31714
+ */
31715
+ readonly orgName: string
31716
+
31717
+ /**
31718
+ *
31719
+ * @type {string}
31720
+ * @memberof SharedApiDistributeClusterJar
31721
+ */
31722
+ readonly clusterName: string
31723
+
31724
+ /**
31725
+ *
31726
+ * @type {string}
31727
+ * @memberof SharedApiDistributeClusterJar
31728
+ */
31729
+ readonly jarId: string
31730
+
31731
+ /**
31732
+ *
31733
+ * @type {ClusterJarPublish}
31734
+ * @memberof SharedApiDistributeClusterJar
31735
+ */
31736
+ readonly clusterJarPublish: ClusterJarPublish
31737
+ }
31738
+
29634
31739
  /**
29635
31740
  * Request parameters for doRestore operation in SharedApi.
29636
31741
  * @export
@@ -29680,6 +31785,41 @@ export interface SharedApiDownloadBackupRequest {
29680
31785
  readonly backupId: string
29681
31786
  }
29682
31787
 
31788
+ /**
31789
+ * Request parameters for downloadClusterJar operation in SharedApi.
31790
+ * @export
31791
+ * @interface SharedApiDownloadClusterJarRequest
31792
+ */
31793
+ export interface SharedApiDownloadClusterJarRequest {
31794
+ /**
31795
+ * Doris or SelectDB engine of the target cluster.
31796
+ * @type {string}
31797
+ * @memberof SharedApiDownloadClusterJar
31798
+ */
31799
+ readonly engineName: string
31800
+
31801
+ /**
31802
+ *
31803
+ * @type {string}
31804
+ * @memberof SharedApiDownloadClusterJar
31805
+ */
31806
+ readonly orgName: string
31807
+
31808
+ /**
31809
+ *
31810
+ * @type {string}
31811
+ * @memberof SharedApiDownloadClusterJar
31812
+ */
31813
+ readonly clusterName: string
31814
+
31815
+ /**
31816
+ *
31817
+ * @type {string}
31818
+ * @memberof SharedApiDownloadClusterJar
31819
+ */
31820
+ readonly jarId: string
31821
+ }
31822
+
29683
31823
  /**
29684
31824
  * Request parameters for downloadMultipleBackups operation in SharedApi.
29685
31825
  * @export
@@ -30534,6 +32674,34 @@ export interface SharedApiGetClusterInstanceLogRequest {
30534
32674
  readonly tailLines?: number
30535
32675
  }
30536
32676
 
32677
+ /**
32678
+ * Request parameters for getClusterJarConfig operation in SharedApi.
32679
+ * @export
32680
+ * @interface SharedApiGetClusterJarConfigRequest
32681
+ */
32682
+ export interface SharedApiGetClusterJarConfigRequest {
32683
+ /**
32684
+ * Doris or SelectDB engine of the target cluster.
32685
+ * @type {string}
32686
+ * @memberof SharedApiGetClusterJarConfig
32687
+ */
32688
+ readonly engineName: string
32689
+
32690
+ /**
32691
+ *
32692
+ * @type {string}
32693
+ * @memberof SharedApiGetClusterJarConfig
32694
+ */
32695
+ readonly orgName: string
32696
+
32697
+ /**
32698
+ *
32699
+ * @type {string}
32700
+ * @memberof SharedApiGetClusterJarConfig
32701
+ */
32702
+ readonly clusterName: string
32703
+ }
32704
+
30537
32705
  /**
30538
32706
  * Request parameters for getClusterParameterTemplate operation in SharedApi.
30539
32707
  * @export
@@ -31535,6 +33703,41 @@ export interface SharedApiGetRootAccountPasswordRequest {
31535
33703
  readonly component?: string
31536
33704
  }
31537
33705
 
33706
+ /**
33707
+ * Request parameters for getRootSeaweedFSAccountPassword operation in SharedApi.
33708
+ * @export
33709
+ * @interface SharedApiGetRootSeaweedFSAccountPasswordRequest
33710
+ */
33711
+ export interface SharedApiGetRootSeaweedFSAccountPasswordRequest {
33712
+ /**
33713
+ * name of the Org
33714
+ * @type {string}
33715
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
33716
+ */
33717
+ readonly orgName: string
33718
+
33719
+ /**
33720
+ * name of the Cluster
33721
+ * @type {string}
33722
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
33723
+ */
33724
+ readonly clusterName: string
33725
+
33726
+ /**
33727
+ * name of the account
33728
+ * @type {string}
33729
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
33730
+ */
33731
+ readonly accountName: string
33732
+
33733
+ /**
33734
+ * name of the component
33735
+ * @type {string}
33736
+ * @memberof SharedApiGetRootSeaweedFSAccountPassword
33737
+ */
33738
+ readonly component?: string
33739
+ }
33740
+
31538
33741
  /**
31539
33742
  * Request parameters for getSchemaList operation in SharedApi.
31540
33743
  * @export
@@ -32543,6 +34746,34 @@ export interface SharedApiListClusterRequest {
32543
34746
  readonly includeEndpoints?: boolean
32544
34747
  }
32545
34748
 
34749
+ /**
34750
+ * Request parameters for listClusterJars operation in SharedApi.
34751
+ * @export
34752
+ * @interface SharedApiListClusterJarsRequest
34753
+ */
34754
+ export interface SharedApiListClusterJarsRequest {
34755
+ /**
34756
+ * Doris or SelectDB engine of the target cluster.
34757
+ * @type {string}
34758
+ * @memberof SharedApiListClusterJars
34759
+ */
34760
+ readonly engineName: string
34761
+
34762
+ /**
34763
+ *
34764
+ * @type {string}
34765
+ * @memberof SharedApiListClusterJars
34766
+ */
34767
+ readonly orgName: string
34768
+
34769
+ /**
34770
+ *
34771
+ * @type {string}
34772
+ * @memberof SharedApiListClusterJars
34773
+ */
34774
+ readonly clusterName: string
34775
+ }
34776
+
32546
34777
  /**
32547
34778
  * Request parameters for listClusterRestore operation in SharedApi.
32548
34779
  * @export
@@ -33796,6 +36027,48 @@ export interface SharedApiListRolesRequest {
33796
36027
  readonly orgName: string
33797
36028
  }
33798
36029
 
36030
+ /**
36031
+ * Request parameters for listSeaweedFSAccounts operation in SharedApi.
36032
+ * @export
36033
+ * @interface SharedApiListSeaweedFSAccountsRequest
36034
+ */
36035
+ export interface SharedApiListSeaweedFSAccountsRequest {
36036
+ /**
36037
+ * name of the organization
36038
+ * @type {string}
36039
+ * @memberof SharedApiListSeaweedFSAccounts
36040
+ */
36041
+ readonly orgName: string
36042
+
36043
+ /**
36044
+ * name of the cluster
36045
+ * @type {string}
36046
+ * @memberof SharedApiListSeaweedFSAccounts
36047
+ */
36048
+ readonly clusterName: string
36049
+ }
36050
+
36051
+ /**
36052
+ * Request parameters for listSeaweedFSPolicies operation in SharedApi.
36053
+ * @export
36054
+ * @interface SharedApiListSeaweedFSPoliciesRequest
36055
+ */
36056
+ export interface SharedApiListSeaweedFSPoliciesRequest {
36057
+ /**
36058
+ *
36059
+ * @type {string}
36060
+ * @memberof SharedApiListSeaweedFSPolicies
36061
+ */
36062
+ readonly orgName: string
36063
+
36064
+ /**
36065
+ *
36066
+ * @type {string}
36067
+ * @memberof SharedApiListSeaweedFSPolicies
36068
+ */
36069
+ readonly clusterName: string
36070
+ }
36071
+
33799
36072
  /**
33800
36073
  * Request parameters for listServiceAccounts operation in SharedApi.
33801
36074
  * @export
@@ -34391,6 +36664,41 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
34391
36664
  readonly body: ESPutSecurityUserRequest
34392
36665
  }
34393
36666
 
36667
+ /**
36668
+ * Request parameters for putSeaweedFSPolicy operation in SharedApi.
36669
+ * @export
36670
+ * @interface SharedApiPutSeaweedFSPolicyRequest
36671
+ */
36672
+ export interface SharedApiPutSeaweedFSPolicyRequest {
36673
+ /**
36674
+ *
36675
+ * @type {string}
36676
+ * @memberof SharedApiPutSeaweedFSPolicy
36677
+ */
36678
+ readonly orgName: string
36679
+
36680
+ /**
36681
+ *
36682
+ * @type {string}
36683
+ * @memberof SharedApiPutSeaweedFSPolicy
36684
+ */
36685
+ readonly clusterName: string
36686
+
36687
+ /**
36688
+ *
36689
+ * @type {string}
36690
+ * @memberof SharedApiPutSeaweedFSPolicy
36691
+ */
36692
+ readonly policyName: string
36693
+
36694
+ /**
36695
+ *
36696
+ * @type {{ [key: string]: any; }}
36697
+ * @memberof SharedApiPutSeaweedFSPolicy
36698
+ */
36699
+ readonly requestBody: { [key: string]: any; }
36700
+ }
36701
+
34394
36702
  /**
34395
36703
  * Request parameters for query operation in SharedApi.
34396
36704
  * @export
@@ -36036,6 +38344,41 @@ export interface SharedApiRestoreRecycleBinClusterRequest {
36036
38344
  readonly clusterName: string
36037
38345
  }
36038
38346
 
38347
+ /**
38348
+ * Request parameters for retryClusterJar operation in SharedApi.
38349
+ * @export
38350
+ * @interface SharedApiRetryClusterJarRequest
38351
+ */
38352
+ export interface SharedApiRetryClusterJarRequest {
38353
+ /**
38354
+ * Doris or SelectDB engine of the target cluster.
38355
+ * @type {string}
38356
+ * @memberof SharedApiRetryClusterJar
38357
+ */
38358
+ readonly engineName: string
38359
+
38360
+ /**
38361
+ *
38362
+ * @type {string}
38363
+ * @memberof SharedApiRetryClusterJar
38364
+ */
38365
+ readonly orgName: string
38366
+
38367
+ /**
38368
+ *
38369
+ * @type {string}
38370
+ * @memberof SharedApiRetryClusterJar
38371
+ */
38372
+ readonly clusterName: string
38373
+
38374
+ /**
38375
+ *
38376
+ * @type {string}
38377
+ * @memberof SharedApiRetryClusterJar
38378
+ */
38379
+ readonly jarId: string
38380
+ }
38381
+
36039
38382
  /**
36040
38383
  * Request parameters for revokeClickhouseRolePrivileges operation in SharedApi.
36041
38384
  * @export
@@ -37289,6 +39632,76 @@ export interface SharedApiUpdateRoleByNameRequest {
37289
39632
  readonly roleUpdate: RoleUpdate
37290
39633
  }
37291
39634
 
39635
+ /**
39636
+ * Request parameters for updateSeaweedFSAccount operation in SharedApi.
39637
+ * @export
39638
+ * @interface SharedApiUpdateSeaweedFSAccountRequest
39639
+ */
39640
+ export interface SharedApiUpdateSeaweedFSAccountRequest {
39641
+ /**
39642
+ * name of the organization
39643
+ * @type {string}
39644
+ * @memberof SharedApiUpdateSeaweedFSAccount
39645
+ */
39646
+ readonly orgName: string
39647
+
39648
+ /**
39649
+ * name of the cluster
39650
+ * @type {string}
39651
+ * @memberof SharedApiUpdateSeaweedFSAccount
39652
+ */
39653
+ readonly clusterName: string
39654
+
39655
+ /**
39656
+ * name of the account
39657
+ * @type {string}
39658
+ * @memberof SharedApiUpdateSeaweedFSAccount
39659
+ */
39660
+ readonly accountName: string
39661
+
39662
+ /**
39663
+ *
39664
+ * @type {Account}
39665
+ * @memberof SharedApiUpdateSeaweedFSAccount
39666
+ */
39667
+ readonly body: Account
39668
+ }
39669
+
39670
+ /**
39671
+ * Request parameters for updateSeaweedFSAccountPrivileges operation in SharedApi.
39672
+ * @export
39673
+ * @interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest
39674
+ */
39675
+ export interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest {
39676
+ /**
39677
+ * name of the Org
39678
+ * @type {string}
39679
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
39680
+ */
39681
+ readonly orgName: string
39682
+
39683
+ /**
39684
+ * name of the Cluster
39685
+ * @type {string}
39686
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
39687
+ */
39688
+ readonly clusterName: string
39689
+
39690
+ /**
39691
+ * name of the account
39692
+ * @type {string}
39693
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
39694
+ */
39695
+ readonly accountName: string
39696
+
39697
+ /**
39698
+ *
39699
+ * @type {Array<PrivilegeListItem>}
39700
+ * @memberof SharedApiUpdateSeaweedFSAccountPrivileges
39701
+ */
39702
+ readonly body: Array<PrivilegeListItem>
39703
+ }
39704
+
37292
39705
  /**
37293
39706
  * Request parameters for updateServiceAccount operation in SharedApi.
37294
39707
  * @export
@@ -37443,6 +39856,62 @@ export interface SharedApiUpgradeClusterRequest {
37443
39856
  readonly body: OpsUpgrade
37444
39857
  }
37445
39858
 
39859
+ /**
39860
+ * Request parameters for uploadClusterJar operation in SharedApi.
39861
+ * @export
39862
+ * @interface SharedApiUploadClusterJarRequest
39863
+ */
39864
+ export interface SharedApiUploadClusterJarRequest {
39865
+ /**
39866
+ * Doris or SelectDB engine of the target cluster.
39867
+ * @type {string}
39868
+ * @memberof SharedApiUploadClusterJar
39869
+ */
39870
+ readonly engineName: string
39871
+
39872
+ /**
39873
+ *
39874
+ * @type {string}
39875
+ * @memberof SharedApiUploadClusterJar
39876
+ */
39877
+ readonly orgName: string
39878
+
39879
+ /**
39880
+ *
39881
+ * @type {string}
39882
+ * @memberof SharedApiUploadClusterJar
39883
+ */
39884
+ readonly clusterName: string
39885
+
39886
+ /**
39887
+ *
39888
+ * @type {string}
39889
+ * @memberof SharedApiUploadClusterJar
39890
+ */
39891
+ readonly idempotencyKey: string
39892
+
39893
+ /**
39894
+ *
39895
+ * @type {string}
39896
+ * @memberof SharedApiUploadClusterJar
39897
+ */
39898
+ readonly name: string
39899
+
39900
+ /**
39901
+ *
39902
+ * @type {ClusterJarKind}
39903
+ * @memberof SharedApiUploadClusterJar
39904
+ */
39905
+ readonly kind: ClusterJarKind
39906
+
39907
+ /**
39908
+ *
39909
+ * @type {File}
39910
+ * @memberof SharedApiUploadClusterJar
39911
+ */
39912
+ readonly file: File
39913
+ }
39914
+
37446
39915
  /**
37447
39916
  * Request parameters for validateClusterCreation operation in SharedApi.
37448
39917
  * @export
@@ -37609,6 +40078,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
37609
40078
  return SharedApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
37610
40079
  }
37611
40080
 
40081
+ /**
40082
+ *
40083
+ * @summary Archive a JAR while retaining published files and startup synchronization
40084
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
40085
+ * @param {*} [options] Override http request option.
40086
+ * @throws {RequiredError}
40087
+ * @memberof SharedApi
40088
+ */
40089
+ public archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
40090
+ return SharedApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
40091
+ }
40092
+
37612
40093
  /**
37613
40094
  * list the service version of the engine
37614
40095
  * @summary list the service version of the engine
@@ -37669,6 +40150,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
37669
40150
  return SharedApiFp(this.configuration).batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
37670
40151
  }
37671
40152
 
40153
+ /**
40154
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
40155
+ * @summary bindSeaweedFSPolicies
40156
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
40157
+ * @param {*} [options] Override http request option.
40158
+ * @throws {RequiredError}
40159
+ * @memberof SharedApi
40160
+ */
40161
+ public bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
40162
+ return SharedApiFp(this.configuration).bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(this.axios, this.basePath));
40163
+ }
40164
+
37672
40165
  /**
37673
40166
  *
37674
40167
  * @summary build backup object with a existing backup directory
@@ -37958,6 +40451,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
37958
40451
  return SharedApiFp(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
37959
40452
  }
37960
40453
 
40454
+ /**
40455
+ * 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.
40456
+ * @summary createSeaweedFSAccessKey
40457
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
40458
+ * @param {*} [options] Override http request option.
40459
+ * @throws {RequiredError}
40460
+ * @memberof SharedApi
40461
+ */
40462
+ public createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
40463
+ return SharedApiFp(this.configuration).createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(this.axios, this.basePath));
40464
+ }
40465
+
40466
+ /**
40467
+ * 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.
40468
+ * @summary createSeaweedFSAccount
40469
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
40470
+ * @param {*} [options] Override http request option.
40471
+ * @throws {RequiredError}
40472
+ * @memberof SharedApi
40473
+ */
40474
+ public createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
40475
+ return SharedApiFp(this.configuration).createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
40476
+ }
40477
+
37961
40478
  /**
37962
40479
  * create a MinIO service account access key
37963
40480
  * @summary Create MinIO access key
@@ -38114,6 +40631,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38114
40631
  return SharedApiFp(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
38115
40632
  }
38116
40633
 
40634
+ /**
40635
+ *
40636
+ * @summary Delete an unpublished JAR version
40637
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
40638
+ * @param {*} [options] Override http request option.
40639
+ * @throws {RequiredError}
40640
+ * @memberof SharedApi
40641
+ */
40642
+ public deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig) {
40643
+ return SharedApiFp(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
40644
+ }
40645
+
38117
40646
  /**
38118
40647
  *
38119
40648
  * @summary delete the datasource
@@ -38378,6 +40907,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38378
40907
  return SharedApiFp(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
38379
40908
  }
38380
40909
 
40910
+ /**
40911
+ *
40912
+ * @summary deleteSeaweedFSAccessKey
40913
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
40914
+ * @param {*} [options] Override http request option.
40915
+ * @throws {RequiredError}
40916
+ * @memberof SharedApi
40917
+ */
40918
+ public deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
40919
+ return SharedApiFp(this.configuration).deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
40920
+ }
40921
+
40922
+ /**
40923
+ * delete an account in cluster
40924
+ * @summary deleteSeaweedFSAccount
40925
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
40926
+ * @param {*} [options] Override http request option.
40927
+ * @throws {RequiredError}
40928
+ * @memberof SharedApi
40929
+ */
40930
+ public deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
40931
+ return SharedApiFp(this.configuration).deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
40932
+ }
40933
+
40934
+ /**
40935
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
40936
+ * @summary deleteSeaweedFSPolicy
40937
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
40938
+ * @param {*} [options] Override http request option.
40939
+ * @throws {RequiredError}
40940
+ * @memberof SharedApi
40941
+ */
40942
+ public deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
40943
+ return SharedApiFp(this.configuration).deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(this.axios, this.basePath));
40944
+ }
40945
+
38381
40946
  /**
38382
40947
  * delete a MinIO service account access key
38383
40948
  * @summary Delete MinIO access key
@@ -38426,6 +40991,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38426
40991
  return SharedApiFp(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
38427
40992
  }
38428
40993
 
40994
+ /**
40995
+ *
40996
+ * @summary Publish a JAR with optimistic manifest version checking
40997
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
40998
+ * @param {*} [options] Override http request option.
40999
+ * @throws {RequiredError}
41000
+ * @memberof SharedApi
41001
+ */
41002
+ public distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig) {
41003
+ return SharedApiFp(this.configuration).distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(this.axios, this.basePath));
41004
+ }
41005
+
38429
41006
  /**
38430
41007
  *
38431
41008
  * @summary Restore current cluster or instance
@@ -38450,6 +41027,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38450
41027
  return SharedApiFp(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
38451
41028
  }
38452
41029
 
41030
+ /**
41031
+ *
41032
+ * @summary Download the original JAR
41033
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
41034
+ * @param {*} [options] Override http request option.
41035
+ * @throws {RequiredError}
41036
+ * @memberof SharedApi
41037
+ */
41038
+ public downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig) {
41039
+ return SharedApiFp(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
41040
+ }
41041
+
38453
41042
  /**
38454
41043
  *
38455
41044
  * @summary Download multiple backup files
@@ -38715,6 +41304,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
38715
41304
  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));
38716
41305
  }
38717
41306
 
41307
+ /**
41308
+ *
41309
+ * @summary Get external JAR capability and configuration
41310
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
41311
+ * @param {*} [options] Override http request option.
41312
+ * @throws {RequiredError}
41313
+ * @memberof SharedApi
41314
+ */
41315
+ public getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig) {
41316
+ return SharedApiFp(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
41317
+ }
41318
+
38718
41319
  /**
38719
41320
  *
38720
41321
  * @summary Get cluster parameter template
@@ -39122,6 +41723,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
39122
41723
  return SharedApiFp(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
39123
41724
  }
39124
41725
 
41726
+ /**
41727
+ * get root account password
41728
+ * @summary getRootSeaweedFSAccountPassword
41729
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
41730
+ * @param {*} [options] Override http request option.
41731
+ * @throws {RequiredError}
41732
+ * @memberof SharedApi
41733
+ */
41734
+ public getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig) {
41735
+ return SharedApiFp(this.configuration).getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
41736
+ }
41737
+
39125
41738
  /**
39126
41739
  *
39127
41740
  * @summary list all databases or schema of the cluster
@@ -39433,6 +42046,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
39433
42046
  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));
39434
42047
  }
39435
42048
 
42049
+ /**
42050
+ *
42051
+ * @summary List external JAR versions with metadata and per-instance synchronization state
42052
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
42053
+ * @param {*} [options] Override http request option.
42054
+ * @throws {RequiredError}
42055
+ * @memberof SharedApi
42056
+ */
42057
+ public listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig) {
42058
+ return SharedApiFp(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
42059
+ }
42060
+
39436
42061
  /**
39437
42062
  *
39438
42063
  * @summary List restore tasks
@@ -40018,6 +42643,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40018
42643
  return SharedApiFp(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
40019
42644
  }
40020
42645
 
42646
+ /**
42647
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
42648
+ * @summary listSeaweedFSAccounts
42649
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
42650
+ * @param {*} [options] Override http request option.
42651
+ * @throws {RequiredError}
42652
+ * @memberof SharedApi
42653
+ */
42654
+ public listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig) {
42655
+ return SharedApiFp(this.configuration).listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
42656
+ }
42657
+
42658
+ /**
42659
+ *
42660
+ * @summary listSeaweedFSPolicies
42661
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
42662
+ * @param {*} [options] Override http request option.
42663
+ * @throws {RequiredError}
42664
+ * @memberof SharedApi
42665
+ */
42666
+ public listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
42667
+ return SharedApiFp(this.configuration).listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
42668
+ }
42669
+
40021
42670
  /**
40022
42671
  * list MinIO service account access keys
40023
42672
  * @summary List MinIO access keys
@@ -40270,6 +42919,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40270
42919
  return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
40271
42920
  }
40272
42921
 
42922
+ /**
42923
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
42924
+ * @summary putSeaweedFSPolicy
42925
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
42926
+ * @param {*} [options] Override http request option.
42927
+ * @throws {RequiredError}
42928
+ * @memberof SharedApi
42929
+ */
42930
+ public putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
42931
+ return SharedApiFp(this.configuration).putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
42932
+ }
42933
+
40273
42934
  /**
40274
42935
  *
40275
42936
  * @summary create a SQL query
@@ -40581,6 +43242,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
40581
43242
  return SharedApiFp(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
40582
43243
  }
40583
43244
 
43245
+ /**
43246
+ *
43247
+ * @summary Retry synchronization of published JARs
43248
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
43249
+ * @param {*} [options] Override http request option.
43250
+ * @throws {RequiredError}
43251
+ * @memberof SharedApi
43252
+ */
43253
+ public retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig) {
43254
+ return SharedApiFp(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
43255
+ }
43256
+
40584
43257
  /**
40585
43258
  *
40586
43259
  * @summary Revoke privileges from a ClickHouse role
@@ -41037,6 +43710,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
41037
43710
  return SharedApiFp(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
41038
43711
  }
41039
43712
 
43713
+ /**
43714
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
43715
+ * @summary updateSeaweedFSAccount
43716
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
43717
+ * @param {*} [options] Override http request option.
43718
+ * @throws {RequiredError}
43719
+ * @memberof SharedApi
43720
+ */
43721
+ public updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
43722
+ return SharedApiFp(this.configuration).updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
43723
+ }
43724
+
43725
+ /**
43726
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
43727
+ * @summary updateSeaweedFSAccountPrivileges
43728
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
43729
+ * @param {*} [options] Override http request option.
43730
+ * @throws {RequiredError}
43731
+ * @memberof SharedApi
43732
+ */
43733
+ public updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
43734
+ return SharedApiFp(this.configuration).updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
43735
+ }
43736
+
41040
43737
  /**
41041
43738
  * update a MinIO service account access key
41042
43739
  * @summary Update MinIO access key
@@ -41096,6 +43793,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
41096
43793
  return SharedApiFp(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
41097
43794
  }
41098
43795
 
43796
+ /**
43797
+ *
43798
+ * @summary Upload an immutable JAR version
43799
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
43800
+ * @param {*} [options] Override http request option.
43801
+ * @throws {RequiredError}
43802
+ * @memberof SharedApi
43803
+ */
43804
+ public uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig) {
43805
+ 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));
43806
+ }
43807
+
41099
43808
  /**
41100
43809
  *
41101
43810
  * @summary Validate cluster creation