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
@@ -327,6 +327,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
327
327
  options: localVarRequestOptions,
328
328
  };
329
329
  },
330
+ /**
331
+ *
332
+ * @summary Archive a JAR while retaining published files and startup synchronization
333
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
334
+ * @param {string} orgName
335
+ * @param {string} clusterName
336
+ * @param {string} jarId
337
+ * @param {*} [options] Override http request option.
338
+ * @throws {RequiredError}
339
+ */
340
+ archiveClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
341
+ // verify required parameter 'engineName' is not null or undefined
342
+ (0, common_1.assertParamExists)('archiveClusterJar', 'engineName', engineName);
343
+ // verify required parameter 'orgName' is not null or undefined
344
+ (0, common_1.assertParamExists)('archiveClusterJar', 'orgName', orgName);
345
+ // verify required parameter 'clusterName' is not null or undefined
346
+ (0, common_1.assertParamExists)('archiveClusterJar', 'clusterName', clusterName);
347
+ // verify required parameter 'jarId' is not null or undefined
348
+ (0, common_1.assertParamExists)('archiveClusterJar', 'jarId', jarId);
349
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
350
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
351
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
352
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
353
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
354
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
355
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
356
+ let baseOptions;
357
+ if (configuration) {
358
+ baseOptions = configuration.baseOptions;
359
+ }
360
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
361
+ const localVarHeaderParameter = {};
362
+ const localVarQueryParameter = {};
363
+ // authentication BearerToken required
364
+ // http bearer authentication required
365
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
366
+ // authentication DigestAuth required
367
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
368
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
369
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
370
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
371
+ return {
372
+ url: (0, common_1.toPathString)(localVarUrlObj),
373
+ options: localVarRequestOptions,
374
+ };
375
+ },
330
376
  /**
331
377
  * Batch add permissions to a role
332
378
  * @summary Batch add permissions to a role
@@ -452,6 +498,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
452
498
  options: localVarRequestOptions,
453
499
  };
454
500
  },
501
+ /**
502
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
503
+ * @summary bindSeaweedFSPolicies
504
+ * @param {string} orgName
505
+ * @param {string} clusterName
506
+ * @param {string} accountName
507
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
508
+ * @param {*} [options] Override http request option.
509
+ * @throws {RequiredError}
510
+ */
511
+ bindSeaweedFSPolicies: async (orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options = {}) => {
512
+ // verify required parameter 'orgName' is not null or undefined
513
+ (0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'orgName', orgName);
514
+ // verify required parameter 'clusterName' is not null or undefined
515
+ (0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'clusterName', clusterName);
516
+ // verify required parameter 'accountName' is not null or undefined
517
+ (0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'accountName', accountName);
518
+ // verify required parameter 'bindSeaweedFSPoliciesRequest' is not null or undefined
519
+ (0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'bindSeaweedFSPoliciesRequest', bindSeaweedFSPoliciesRequest);
520
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies`
521
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
522
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
523
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
524
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
525
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
526
+ let baseOptions;
527
+ if (configuration) {
528
+ baseOptions = configuration.baseOptions;
529
+ }
530
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
531
+ const localVarHeaderParameter = {};
532
+ const localVarQueryParameter = {};
533
+ // authentication BearerToken required
534
+ // http bearer authentication required
535
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
536
+ // authentication DigestAuth required
537
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
538
+ localVarHeaderParameter['Content-Type'] = 'application/json';
539
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
540
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
541
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
542
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bindSeaweedFSPoliciesRequest, localVarRequestOptions, configuration);
543
+ return {
544
+ url: (0, common_1.toPathString)(localVarUrlObj),
545
+ options: localVarRequestOptions,
546
+ };
547
+ },
455
548
  /**
456
549
  *
457
550
  * @summary build backup object with a existing backup directory
@@ -1462,6 +1555,96 @@ const SharedApiAxiosParamCreator = function (configuration) {
1462
1555
  options: localVarRequestOptions,
1463
1556
  };
1464
1557
  },
1558
+ /**
1559
+ * 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.
1560
+ * @summary createSeaweedFSAccessKey
1561
+ * @param {string} orgName
1562
+ * @param {string} clusterName
1563
+ * @param {string} accountName
1564
+ * @param {Account} account
1565
+ * @param {*} [options] Override http request option.
1566
+ * @throws {RequiredError}
1567
+ */
1568
+ createSeaweedFSAccessKey: async (orgName, clusterName, accountName, account, options = {}) => {
1569
+ // verify required parameter 'orgName' is not null or undefined
1570
+ (0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'orgName', orgName);
1571
+ // verify required parameter 'clusterName' is not null or undefined
1572
+ (0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'clusterName', clusterName);
1573
+ // verify required parameter 'accountName' is not null or undefined
1574
+ (0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'accountName', accountName);
1575
+ // verify required parameter 'account' is not null or undefined
1576
+ (0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'account', account);
1577
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys`
1578
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1579
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1580
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
1581
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1582
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1583
+ let baseOptions;
1584
+ if (configuration) {
1585
+ baseOptions = configuration.baseOptions;
1586
+ }
1587
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1588
+ const localVarHeaderParameter = {};
1589
+ const localVarQueryParameter = {};
1590
+ // authentication BearerToken required
1591
+ // http bearer authentication required
1592
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1593
+ // authentication DigestAuth required
1594
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1595
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1596
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1597
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1598
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1599
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(account, localVarRequestOptions, configuration);
1600
+ return {
1601
+ url: (0, common_1.toPathString)(localVarUrlObj),
1602
+ options: localVarRequestOptions,
1603
+ };
1604
+ },
1605
+ /**
1606
+ * 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.
1607
+ * @summary createSeaweedFSAccount
1608
+ * @param {string} orgName name of the organization
1609
+ * @param {string} clusterName name of the cluster
1610
+ * @param {Account} body
1611
+ * @param {*} [options] Override http request option.
1612
+ * @throws {RequiredError}
1613
+ */
1614
+ createSeaweedFSAccount: async (orgName, clusterName, body, options = {}) => {
1615
+ // verify required parameter 'orgName' is not null or undefined
1616
+ (0, common_1.assertParamExists)('createSeaweedFSAccount', 'orgName', orgName);
1617
+ // verify required parameter 'clusterName' is not null or undefined
1618
+ (0, common_1.assertParamExists)('createSeaweedFSAccount', 'clusterName', clusterName);
1619
+ // verify required parameter 'body' is not null or undefined
1620
+ (0, common_1.assertParamExists)('createSeaweedFSAccount', 'body', body);
1621
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
1622
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1623
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1624
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1625
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1626
+ let baseOptions;
1627
+ if (configuration) {
1628
+ baseOptions = configuration.baseOptions;
1629
+ }
1630
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1631
+ const localVarHeaderParameter = {};
1632
+ const localVarQueryParameter = {};
1633
+ // authentication BearerToken required
1634
+ // http bearer authentication required
1635
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1636
+ // authentication DigestAuth required
1637
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1638
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1639
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1640
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1641
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1642
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
1643
+ return {
1644
+ url: (0, common_1.toPathString)(localVarUrlObj),
1645
+ options: localVarRequestOptions,
1646
+ };
1647
+ },
1465
1648
  /**
1466
1649
  * create a MinIO service account access key
1467
1650
  * @summary Create MinIO access key
@@ -2118,6 +2301,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
2118
2301
  options: localVarRequestOptions,
2119
2302
  };
2120
2303
  },
2304
+ /**
2305
+ *
2306
+ * @summary Delete an unpublished JAR version
2307
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
2308
+ * @param {string} orgName
2309
+ * @param {string} clusterName
2310
+ * @param {string} jarId
2311
+ * @param {*} [options] Override http request option.
2312
+ * @throws {RequiredError}
2313
+ */
2314
+ deleteClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
2315
+ // verify required parameter 'engineName' is not null or undefined
2316
+ (0, common_1.assertParamExists)('deleteClusterJar', 'engineName', engineName);
2317
+ // verify required parameter 'orgName' is not null or undefined
2318
+ (0, common_1.assertParamExists)('deleteClusterJar', 'orgName', orgName);
2319
+ // verify required parameter 'clusterName' is not null or undefined
2320
+ (0, common_1.assertParamExists)('deleteClusterJar', 'clusterName', clusterName);
2321
+ // verify required parameter 'jarId' is not null or undefined
2322
+ (0, common_1.assertParamExists)('deleteClusterJar', 'jarId', jarId);
2323
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
2324
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
2325
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2326
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2327
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
2328
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2329
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2330
+ let baseOptions;
2331
+ if (configuration) {
2332
+ baseOptions = configuration.baseOptions;
2333
+ }
2334
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2335
+ const localVarHeaderParameter = {};
2336
+ const localVarQueryParameter = {};
2337
+ // authentication BearerToken required
2338
+ // http bearer authentication required
2339
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2340
+ // authentication DigestAuth required
2341
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2342
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2343
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2344
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2345
+ return {
2346
+ url: (0, common_1.toPathString)(localVarUrlObj),
2347
+ options: localVarRequestOptions,
2348
+ };
2349
+ },
2121
2350
  /**
2122
2351
  *
2123
2352
  * @summary delete the datasource
@@ -3040,6 +3269,136 @@ const SharedApiAxiosParamCreator = function (configuration) {
3040
3269
  options: localVarRequestOptions,
3041
3270
  };
3042
3271
  },
3272
+ /**
3273
+ *
3274
+ * @summary deleteSeaweedFSAccessKey
3275
+ * @param {string} orgName
3276
+ * @param {string} clusterName
3277
+ * @param {string} accountName
3278
+ * @param {string} accessKey
3279
+ * @param {*} [options] Override http request option.
3280
+ * @throws {RequiredError}
3281
+ */
3282
+ deleteSeaweedFSAccessKey: async (orgName, clusterName, accountName, accessKey, options = {}) => {
3283
+ // verify required parameter 'orgName' is not null or undefined
3284
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'orgName', orgName);
3285
+ // verify required parameter 'clusterName' is not null or undefined
3286
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'clusterName', clusterName);
3287
+ // verify required parameter 'accountName' is not null or undefined
3288
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'accountName', accountName);
3289
+ // verify required parameter 'accessKey' is not null or undefined
3290
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'accessKey', accessKey);
3291
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}`
3292
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3293
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3294
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)))
3295
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
3296
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3297
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3298
+ let baseOptions;
3299
+ if (configuration) {
3300
+ baseOptions = configuration.baseOptions;
3301
+ }
3302
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3303
+ const localVarHeaderParameter = {};
3304
+ const localVarQueryParameter = {};
3305
+ // authentication BearerToken required
3306
+ // http bearer authentication required
3307
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3308
+ // authentication DigestAuth required
3309
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3310
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3311
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3312
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3313
+ return {
3314
+ url: (0, common_1.toPathString)(localVarUrlObj),
3315
+ options: localVarRequestOptions,
3316
+ };
3317
+ },
3318
+ /**
3319
+ * delete an account in cluster
3320
+ * @summary deleteSeaweedFSAccount
3321
+ * @param {string} orgName name of the organization
3322
+ * @param {string} clusterName name of the cluster
3323
+ * @param {string} accountName name of the account
3324
+ * @param {*} [options] Override http request option.
3325
+ * @throws {RequiredError}
3326
+ */
3327
+ deleteSeaweedFSAccount: async (orgName, clusterName, accountName, options = {}) => {
3328
+ // verify required parameter 'orgName' is not null or undefined
3329
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccount', 'orgName', orgName);
3330
+ // verify required parameter 'clusterName' is not null or undefined
3331
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccount', 'clusterName', clusterName);
3332
+ // verify required parameter 'accountName' is not null or undefined
3333
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccount', 'accountName', accountName);
3334
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
3335
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3336
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3337
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
3338
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3339
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3340
+ let baseOptions;
3341
+ if (configuration) {
3342
+ baseOptions = configuration.baseOptions;
3343
+ }
3344
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3345
+ const localVarHeaderParameter = {};
3346
+ const localVarQueryParameter = {};
3347
+ // authentication BearerToken required
3348
+ // http bearer authentication required
3349
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3350
+ // authentication DigestAuth required
3351
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3352
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3353
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3354
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3355
+ return {
3356
+ url: (0, common_1.toPathString)(localVarUrlObj),
3357
+ options: localVarRequestOptions,
3358
+ };
3359
+ },
3360
+ /**
3361
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
3362
+ * @summary deleteSeaweedFSPolicy
3363
+ * @param {string} orgName
3364
+ * @param {string} clusterName
3365
+ * @param {string} policyName
3366
+ * @param {*} [options] Override http request option.
3367
+ * @throws {RequiredError}
3368
+ */
3369
+ deleteSeaweedFSPolicy: async (orgName, clusterName, policyName, options = {}) => {
3370
+ // verify required parameter 'orgName' is not null or undefined
3371
+ (0, common_1.assertParamExists)('deleteSeaweedFSPolicy', 'orgName', orgName);
3372
+ // verify required parameter 'clusterName' is not null or undefined
3373
+ (0, common_1.assertParamExists)('deleteSeaweedFSPolicy', 'clusterName', clusterName);
3374
+ // verify required parameter 'policyName' is not null or undefined
3375
+ (0, common_1.assertParamExists)('deleteSeaweedFSPolicy', 'policyName', policyName);
3376
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
3377
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3378
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3379
+ .replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
3380
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3381
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3382
+ let baseOptions;
3383
+ if (configuration) {
3384
+ baseOptions = configuration.baseOptions;
3385
+ }
3386
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3387
+ const localVarHeaderParameter = {};
3388
+ const localVarQueryParameter = {};
3389
+ // authentication BearerToken required
3390
+ // http bearer authentication required
3391
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3392
+ // authentication DigestAuth required
3393
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3394
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3395
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3396
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3397
+ return {
3398
+ url: (0, common_1.toPathString)(localVarUrlObj),
3399
+ options: localVarRequestOptions,
3400
+ };
3401
+ },
3043
3402
  /**
3044
3403
  * delete a MinIO service account access key
3045
3404
  * @summary Delete MinIO access key
@@ -3220,6 +3579,57 @@ const SharedApiAxiosParamCreator = function (configuration) {
3220
3579
  options: localVarRequestOptions,
3221
3580
  };
3222
3581
  },
3582
+ /**
3583
+ *
3584
+ * @summary Publish a JAR with optimistic manifest version checking
3585
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3586
+ * @param {string} orgName
3587
+ * @param {string} clusterName
3588
+ * @param {string} jarId
3589
+ * @param {ClusterJarPublish} clusterJarPublish
3590
+ * @param {*} [options] Override http request option.
3591
+ * @throws {RequiredError}
3592
+ */
3593
+ distributeClusterJar: async (engineName, orgName, clusterName, jarId, clusterJarPublish, options = {}) => {
3594
+ // verify required parameter 'engineName' is not null or undefined
3595
+ (0, common_1.assertParamExists)('distributeClusterJar', 'engineName', engineName);
3596
+ // verify required parameter 'orgName' is not null or undefined
3597
+ (0, common_1.assertParamExists)('distributeClusterJar', 'orgName', orgName);
3598
+ // verify required parameter 'clusterName' is not null or undefined
3599
+ (0, common_1.assertParamExists)('distributeClusterJar', 'clusterName', clusterName);
3600
+ // verify required parameter 'jarId' is not null or undefined
3601
+ (0, common_1.assertParamExists)('distributeClusterJar', 'jarId', jarId);
3602
+ // verify required parameter 'clusterJarPublish' is not null or undefined
3603
+ (0, common_1.assertParamExists)('distributeClusterJar', 'clusterJarPublish', clusterJarPublish);
3604
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
3605
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3606
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3607
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3608
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3609
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3610
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3611
+ let baseOptions;
3612
+ if (configuration) {
3613
+ baseOptions = configuration.baseOptions;
3614
+ }
3615
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3616
+ const localVarHeaderParameter = {};
3617
+ const localVarQueryParameter = {};
3618
+ // authentication BearerToken required
3619
+ // http bearer authentication required
3620
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3621
+ // authentication DigestAuth required
3622
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3623
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3624
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3625
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3626
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3627
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clusterJarPublish, localVarRequestOptions, configuration);
3628
+ return {
3629
+ url: (0, common_1.toPathString)(localVarUrlObj),
3630
+ options: localVarRequestOptions,
3631
+ };
3632
+ },
3223
3633
  /**
3224
3634
  *
3225
3635
  * @summary Restore current cluster or instance
@@ -3301,6 +3711,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
3301
3711
  options: localVarRequestOptions,
3302
3712
  };
3303
3713
  },
3714
+ /**
3715
+ *
3716
+ * @summary Download the original JAR
3717
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3718
+ * @param {string} orgName
3719
+ * @param {string} clusterName
3720
+ * @param {string} jarId
3721
+ * @param {*} [options] Override http request option.
3722
+ * @throws {RequiredError}
3723
+ */
3724
+ downloadClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
3725
+ // verify required parameter 'engineName' is not null or undefined
3726
+ (0, common_1.assertParamExists)('downloadClusterJar', 'engineName', engineName);
3727
+ // verify required parameter 'orgName' is not null or undefined
3728
+ (0, common_1.assertParamExists)('downloadClusterJar', 'orgName', orgName);
3729
+ // verify required parameter 'clusterName' is not null or undefined
3730
+ (0, common_1.assertParamExists)('downloadClusterJar', 'clusterName', clusterName);
3731
+ // verify required parameter 'jarId' is not null or undefined
3732
+ (0, common_1.assertParamExists)('downloadClusterJar', 'jarId', jarId);
3733
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
3734
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3735
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3736
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3737
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3738
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3739
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3740
+ let baseOptions;
3741
+ if (configuration) {
3742
+ baseOptions = configuration.baseOptions;
3743
+ }
3744
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3745
+ const localVarHeaderParameter = {};
3746
+ const localVarQueryParameter = {};
3747
+ // authentication BearerToken required
3748
+ // http bearer authentication required
3749
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3750
+ // authentication DigestAuth required
3751
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3752
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3753
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3754
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3755
+ return {
3756
+ url: (0, common_1.toPathString)(localVarUrlObj),
3757
+ options: localVarRequestOptions,
3758
+ };
3759
+ },
3304
3760
  /**
3305
3761
  *
3306
3762
  * @summary Download multiple backup files
@@ -4572,6 +5028,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
4572
5028
  options: localVarRequestOptions,
4573
5029
  };
4574
5030
  },
5031
+ /**
5032
+ *
5033
+ * @summary Get external JAR capability and configuration
5034
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
5035
+ * @param {string} orgName
5036
+ * @param {string} clusterName
5037
+ * @param {*} [options] Override http request option.
5038
+ * @throws {RequiredError}
5039
+ */
5040
+ getClusterJarConfig: async (engineName, orgName, clusterName, options = {}) => {
5041
+ // verify required parameter 'engineName' is not null or undefined
5042
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'engineName', engineName);
5043
+ // verify required parameter 'orgName' is not null or undefined
5044
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'orgName', orgName);
5045
+ // verify required parameter 'clusterName' is not null or undefined
5046
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'clusterName', clusterName);
5047
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
5048
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
5049
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5050
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
5051
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5052
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5053
+ let baseOptions;
5054
+ if (configuration) {
5055
+ baseOptions = configuration.baseOptions;
5056
+ }
5057
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5058
+ const localVarHeaderParameter = {};
5059
+ const localVarQueryParameter = {};
5060
+ // authentication BearerToken required
5061
+ // http bearer authentication required
5062
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
5063
+ // authentication DigestAuth required
5064
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
5065
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5066
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5067
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5068
+ return {
5069
+ url: (0, common_1.toPathString)(localVarUrlObj),
5070
+ options: localVarRequestOptions,
5071
+ };
5072
+ },
4575
5073
  /**
4576
5074
  *
4577
5075
  * @summary Get cluster parameter template
@@ -5958,17 +6456,65 @@ const SharedApiAxiosParamCreator = function (configuration) {
5958
6456
  * @param {*} [options] Override http request option.
5959
6457
  * @throws {RequiredError}
5960
6458
  */
5961
- getRootAccountPassword: async (engineName, orgName, clusterName, accountName, component, options = {}) => {
5962
- // verify required parameter 'engineName' is not null or undefined
5963
- (0, common_1.assertParamExists)('getRootAccountPassword', 'engineName', engineName);
6459
+ getRootAccountPassword: async (engineName, orgName, clusterName, accountName, component, options = {}) => {
6460
+ // verify required parameter 'engineName' is not null or undefined
6461
+ (0, common_1.assertParamExists)('getRootAccountPassword', 'engineName', engineName);
6462
+ // verify required parameter 'orgName' is not null or undefined
6463
+ (0, common_1.assertParamExists)('getRootAccountPassword', 'orgName', orgName);
6464
+ // verify required parameter 'clusterName' is not null or undefined
6465
+ (0, common_1.assertParamExists)('getRootAccountPassword', 'clusterName', clusterName);
6466
+ // verify required parameter 'accountName' is not null or undefined
6467
+ (0, common_1.assertParamExists)('getRootAccountPassword', 'accountName', accountName);
6468
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/root-password`
6469
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6470
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6471
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6472
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6473
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6474
+ let baseOptions;
6475
+ if (configuration) {
6476
+ baseOptions = configuration.baseOptions;
6477
+ }
6478
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6479
+ const localVarHeaderParameter = {};
6480
+ const localVarQueryParameter = {};
6481
+ // authentication BearerToken required
6482
+ // http bearer authentication required
6483
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6484
+ // authentication DigestAuth required
6485
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
6486
+ if (accountName !== undefined) {
6487
+ localVarQueryParameter['accountName'] = accountName;
6488
+ }
6489
+ if (component !== undefined) {
6490
+ localVarQueryParameter['component'] = component;
6491
+ }
6492
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6493
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6494
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6495
+ return {
6496
+ url: (0, common_1.toPathString)(localVarUrlObj),
6497
+ options: localVarRequestOptions,
6498
+ };
6499
+ },
6500
+ /**
6501
+ * get root account password
6502
+ * @summary getRootSeaweedFSAccountPassword
6503
+ * @param {string} orgName name of the Org
6504
+ * @param {string} clusterName name of the Cluster
6505
+ * @param {string} accountName name of the account
6506
+ * @param {string} [component] name of the component
6507
+ * @param {*} [options] Override http request option.
6508
+ * @throws {RequiredError}
6509
+ */
6510
+ getRootSeaweedFSAccountPassword: async (orgName, clusterName, accountName, component, options = {}) => {
5964
6511
  // verify required parameter 'orgName' is not null or undefined
5965
- (0, common_1.assertParamExists)('getRootAccountPassword', 'orgName', orgName);
6512
+ (0, common_1.assertParamExists)('getRootSeaweedFSAccountPassword', 'orgName', orgName);
5966
6513
  // verify required parameter 'clusterName' is not null or undefined
5967
- (0, common_1.assertParamExists)('getRootAccountPassword', 'clusterName', clusterName);
6514
+ (0, common_1.assertParamExists)('getRootSeaweedFSAccountPassword', 'clusterName', clusterName);
5968
6515
  // verify required parameter 'accountName' is not null or undefined
5969
- (0, common_1.assertParamExists)('getRootAccountPassword', 'accountName', accountName);
5970
- const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/root-password`
5971
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6516
+ (0, common_1.assertParamExists)('getRootSeaweedFSAccountPassword', 'accountName', accountName);
6517
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password`
5972
6518
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5973
6519
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
5974
6520
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -7214,6 +7760,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
7214
7760
  options: localVarRequestOptions,
7215
7761
  };
7216
7762
  },
7763
+ /**
7764
+ *
7765
+ * @summary List external JAR versions with metadata and per-instance synchronization state
7766
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
7767
+ * @param {string} orgName
7768
+ * @param {string} clusterName
7769
+ * @param {*} [options] Override http request option.
7770
+ * @throws {RequiredError}
7771
+ */
7772
+ listClusterJars: async (engineName, orgName, clusterName, options = {}) => {
7773
+ // verify required parameter 'engineName' is not null or undefined
7774
+ (0, common_1.assertParamExists)('listClusterJars', 'engineName', engineName);
7775
+ // verify required parameter 'orgName' is not null or undefined
7776
+ (0, common_1.assertParamExists)('listClusterJars', 'orgName', orgName);
7777
+ // verify required parameter 'clusterName' is not null or undefined
7778
+ (0, common_1.assertParamExists)('listClusterJars', 'clusterName', clusterName);
7779
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
7780
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
7781
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
7782
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
7783
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7784
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7785
+ let baseOptions;
7786
+ if (configuration) {
7787
+ baseOptions = configuration.baseOptions;
7788
+ }
7789
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7790
+ const localVarHeaderParameter = {};
7791
+ const localVarQueryParameter = {};
7792
+ // authentication BearerToken required
7793
+ // http bearer authentication required
7794
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7795
+ // authentication DigestAuth required
7796
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
7797
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7798
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7799
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7800
+ return {
7801
+ url: (0, common_1.toPathString)(localVarUrlObj),
7802
+ options: localVarRequestOptions,
7803
+ };
7804
+ },
7217
7805
  /**
7218
7806
  *
7219
7807
  * @summary List restore tasks
@@ -9034,6 +9622,82 @@ const SharedApiAxiosParamCreator = function (configuration) {
9034
9622
  options: localVarRequestOptions,
9035
9623
  };
9036
9624
  },
9625
+ /**
9626
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
9627
+ * @summary listSeaweedFSAccounts
9628
+ * @param {string} orgName name of the organization
9629
+ * @param {string} clusterName name of the cluster
9630
+ * @param {*} [options] Override http request option.
9631
+ * @throws {RequiredError}
9632
+ */
9633
+ listSeaweedFSAccounts: async (orgName, clusterName, options = {}) => {
9634
+ // verify required parameter 'orgName' is not null or undefined
9635
+ (0, common_1.assertParamExists)('listSeaweedFSAccounts', 'orgName', orgName);
9636
+ // verify required parameter 'clusterName' is not null or undefined
9637
+ (0, common_1.assertParamExists)('listSeaweedFSAccounts', 'clusterName', clusterName);
9638
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
9639
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9640
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9641
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9642
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9643
+ let baseOptions;
9644
+ if (configuration) {
9645
+ baseOptions = configuration.baseOptions;
9646
+ }
9647
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9648
+ const localVarHeaderParameter = {};
9649
+ const localVarQueryParameter = {};
9650
+ // authentication BearerToken required
9651
+ // http bearer authentication required
9652
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9653
+ // authentication DigestAuth required
9654
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
9655
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9656
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9657
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9658
+ return {
9659
+ url: (0, common_1.toPathString)(localVarUrlObj),
9660
+ options: localVarRequestOptions,
9661
+ };
9662
+ },
9663
+ /**
9664
+ *
9665
+ * @summary listSeaweedFSPolicies
9666
+ * @param {string} orgName
9667
+ * @param {string} clusterName
9668
+ * @param {*} [options] Override http request option.
9669
+ * @throws {RequiredError}
9670
+ */
9671
+ listSeaweedFSPolicies: async (orgName, clusterName, options = {}) => {
9672
+ // verify required parameter 'orgName' is not null or undefined
9673
+ (0, common_1.assertParamExists)('listSeaweedFSPolicies', 'orgName', orgName);
9674
+ // verify required parameter 'clusterName' is not null or undefined
9675
+ (0, common_1.assertParamExists)('listSeaweedFSPolicies', 'clusterName', clusterName);
9676
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies`
9677
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9678
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9679
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9680
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9681
+ let baseOptions;
9682
+ if (configuration) {
9683
+ baseOptions = configuration.baseOptions;
9684
+ }
9685
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9686
+ const localVarHeaderParameter = {};
9687
+ const localVarQueryParameter = {};
9688
+ // authentication BearerToken required
9689
+ // http bearer authentication required
9690
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9691
+ // authentication DigestAuth required
9692
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
9693
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9694
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9695
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9696
+ return {
9697
+ url: (0, common_1.toPathString)(localVarUrlObj),
9698
+ options: localVarRequestOptions,
9699
+ };
9700
+ },
9037
9701
  /**
9038
9702
  * list MinIO service account access keys
9039
9703
  * @summary List MinIO access keys
@@ -9940,6 +10604,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
9940
10604
  options: localVarRequestOptions,
9941
10605
  };
9942
10606
  },
10607
+ /**
10608
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
10609
+ * @summary putSeaweedFSPolicy
10610
+ * @param {string} orgName
10611
+ * @param {string} clusterName
10612
+ * @param {string} policyName
10613
+ * @param {{ [key: string]: any; }} requestBody
10614
+ * @param {*} [options] Override http request option.
10615
+ * @throws {RequiredError}
10616
+ */
10617
+ putSeaweedFSPolicy: async (orgName, clusterName, policyName, requestBody, options = {}) => {
10618
+ // verify required parameter 'orgName' is not null or undefined
10619
+ (0, common_1.assertParamExists)('putSeaweedFSPolicy', 'orgName', orgName);
10620
+ // verify required parameter 'clusterName' is not null or undefined
10621
+ (0, common_1.assertParamExists)('putSeaweedFSPolicy', 'clusterName', clusterName);
10622
+ // verify required parameter 'policyName' is not null or undefined
10623
+ (0, common_1.assertParamExists)('putSeaweedFSPolicy', 'policyName', policyName);
10624
+ // verify required parameter 'requestBody' is not null or undefined
10625
+ (0, common_1.assertParamExists)('putSeaweedFSPolicy', 'requestBody', requestBody);
10626
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
10627
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10628
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10629
+ .replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
10630
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10631
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10632
+ let baseOptions;
10633
+ if (configuration) {
10634
+ baseOptions = configuration.baseOptions;
10635
+ }
10636
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
10637
+ const localVarHeaderParameter = {};
10638
+ const localVarQueryParameter = {};
10639
+ // authentication BearerToken required
10640
+ // http bearer authentication required
10641
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
10642
+ // authentication DigestAuth required
10643
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
10644
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10645
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10646
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10647
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10648
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
10649
+ return {
10650
+ url: (0, common_1.toPathString)(localVarUrlObj),
10651
+ options: localVarRequestOptions,
10652
+ };
10653
+ },
9943
10654
  /**
9944
10655
  *
9945
10656
  * @summary create a SQL query
@@ -11630,6 +12341,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
11630
12341
  options: localVarRequestOptions,
11631
12342
  };
11632
12343
  },
12344
+ /**
12345
+ *
12346
+ * @summary Retry synchronization of published JARs
12347
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
12348
+ * @param {string} orgName
12349
+ * @param {string} clusterName
12350
+ * @param {string} jarId
12351
+ * @param {*} [options] Override http request option.
12352
+ * @throws {RequiredError}
12353
+ */
12354
+ retryClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
12355
+ // verify required parameter 'engineName' is not null or undefined
12356
+ (0, common_1.assertParamExists)('retryClusterJar', 'engineName', engineName);
12357
+ // verify required parameter 'orgName' is not null or undefined
12358
+ (0, common_1.assertParamExists)('retryClusterJar', 'orgName', orgName);
12359
+ // verify required parameter 'clusterName' is not null or undefined
12360
+ (0, common_1.assertParamExists)('retryClusterJar', 'clusterName', clusterName);
12361
+ // verify required parameter 'jarId' is not null or undefined
12362
+ (0, common_1.assertParamExists)('retryClusterJar', 'jarId', jarId);
12363
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
12364
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
12365
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12366
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
12367
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
12368
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12369
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12370
+ let baseOptions;
12371
+ if (configuration) {
12372
+ baseOptions = configuration.baseOptions;
12373
+ }
12374
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
12375
+ const localVarHeaderParameter = {};
12376
+ const localVarQueryParameter = {};
12377
+ // authentication BearerToken required
12378
+ // http bearer authentication required
12379
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
12380
+ // authentication DigestAuth required
12381
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
12382
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12383
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12384
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12385
+ return {
12386
+ url: (0, common_1.toPathString)(localVarUrlObj),
12387
+ options: localVarRequestOptions,
12388
+ };
12389
+ },
11633
12390
  /**
11634
12391
  *
11635
12392
  * @summary Revoke privileges from a ClickHouse role
@@ -13475,7 +14232,101 @@ const SharedApiAxiosParamCreator = function (configuration) {
13475
14232
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13476
14233
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13477
14234
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13478
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(roleUpdate, localVarRequestOptions, configuration);
14235
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(roleUpdate, localVarRequestOptions, configuration);
14236
+ return {
14237
+ url: (0, common_1.toPathString)(localVarUrlObj),
14238
+ options: localVarRequestOptions,
14239
+ };
14240
+ },
14241
+ /**
14242
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
14243
+ * @summary updateSeaweedFSAccount
14244
+ * @param {string} orgName name of the organization
14245
+ * @param {string} clusterName name of the cluster
14246
+ * @param {string} accountName name of the account
14247
+ * @param {Account} body
14248
+ * @param {*} [options] Override http request option.
14249
+ * @throws {RequiredError}
14250
+ */
14251
+ updateSeaweedFSAccount: async (orgName, clusterName, accountName, body, options = {}) => {
14252
+ // verify required parameter 'orgName' is not null or undefined
14253
+ (0, common_1.assertParamExists)('updateSeaweedFSAccount', 'orgName', orgName);
14254
+ // verify required parameter 'clusterName' is not null or undefined
14255
+ (0, common_1.assertParamExists)('updateSeaweedFSAccount', 'clusterName', clusterName);
14256
+ // verify required parameter 'accountName' is not null or undefined
14257
+ (0, common_1.assertParamExists)('updateSeaweedFSAccount', 'accountName', accountName);
14258
+ // verify required parameter 'body' is not null or undefined
14259
+ (0, common_1.assertParamExists)('updateSeaweedFSAccount', 'body', body);
14260
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
14261
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14262
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14263
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
14264
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14265
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14266
+ let baseOptions;
14267
+ if (configuration) {
14268
+ baseOptions = configuration.baseOptions;
14269
+ }
14270
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
14271
+ const localVarHeaderParameter = {};
14272
+ const localVarQueryParameter = {};
14273
+ // authentication BearerToken required
14274
+ // http bearer authentication required
14275
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14276
+ // authentication DigestAuth required
14277
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
14278
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14279
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14280
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14281
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14282
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
14283
+ return {
14284
+ url: (0, common_1.toPathString)(localVarUrlObj),
14285
+ options: localVarRequestOptions,
14286
+ };
14287
+ },
14288
+ /**
14289
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
14290
+ * @summary updateSeaweedFSAccountPrivileges
14291
+ * @param {string} orgName name of the Org
14292
+ * @param {string} clusterName name of the Cluster
14293
+ * @param {string} accountName name of the account
14294
+ * @param {Array<PrivilegeListItem>} body
14295
+ * @param {*} [options] Override http request option.
14296
+ * @throws {RequiredError}
14297
+ */
14298
+ updateSeaweedFSAccountPrivileges: async (orgName, clusterName, accountName, body, options = {}) => {
14299
+ // verify required parameter 'orgName' is not null or undefined
14300
+ (0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'orgName', orgName);
14301
+ // verify required parameter 'clusterName' is not null or undefined
14302
+ (0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'clusterName', clusterName);
14303
+ // verify required parameter 'accountName' is not null or undefined
14304
+ (0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'accountName', accountName);
14305
+ // verify required parameter 'body' is not null or undefined
14306
+ (0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'body', body);
14307
+ const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
14308
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14309
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14310
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
14311
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14312
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14313
+ let baseOptions;
14314
+ if (configuration) {
14315
+ baseOptions = configuration.baseOptions;
14316
+ }
14317
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
14318
+ const localVarHeaderParameter = {};
14319
+ const localVarQueryParameter = {};
14320
+ // authentication BearerToken required
14321
+ // http bearer authentication required
14322
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14323
+ // authentication DigestAuth required
14324
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
14325
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14326
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14327
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14328
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14329
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
13479
14330
  return {
13480
14331
  url: (0, common_1.toPathString)(localVarUrlObj),
13481
14332
  options: localVarRequestOptions,
@@ -13703,6 +14554,75 @@ const SharedApiAxiosParamCreator = function (configuration) {
13703
14554
  options: localVarRequestOptions,
13704
14555
  };
13705
14556
  },
14557
+ /**
14558
+ *
14559
+ * @summary Upload an immutable JAR version
14560
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
14561
+ * @param {string} orgName
14562
+ * @param {string} clusterName
14563
+ * @param {string} idempotencyKey
14564
+ * @param {string} name
14565
+ * @param {ClusterJarKind} kind
14566
+ * @param {File} file
14567
+ * @param {*} [options] Override http request option.
14568
+ * @throws {RequiredError}
14569
+ */
14570
+ uploadClusterJar: async (engineName, orgName, clusterName, idempotencyKey, name, kind, file, options = {}) => {
14571
+ // verify required parameter 'engineName' is not null or undefined
14572
+ (0, common_1.assertParamExists)('uploadClusterJar', 'engineName', engineName);
14573
+ // verify required parameter 'orgName' is not null or undefined
14574
+ (0, common_1.assertParamExists)('uploadClusterJar', 'orgName', orgName);
14575
+ // verify required parameter 'clusterName' is not null or undefined
14576
+ (0, common_1.assertParamExists)('uploadClusterJar', 'clusterName', clusterName);
14577
+ // verify required parameter 'idempotencyKey' is not null or undefined
14578
+ (0, common_1.assertParamExists)('uploadClusterJar', 'idempotencyKey', idempotencyKey);
14579
+ // verify required parameter 'name' is not null or undefined
14580
+ (0, common_1.assertParamExists)('uploadClusterJar', 'name', name);
14581
+ // verify required parameter 'kind' is not null or undefined
14582
+ (0, common_1.assertParamExists)('uploadClusterJar', 'kind', kind);
14583
+ // verify required parameter 'file' is not null or undefined
14584
+ (0, common_1.assertParamExists)('uploadClusterJar', 'file', file);
14585
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
14586
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
14587
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14588
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
14589
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14590
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14591
+ let baseOptions;
14592
+ if (configuration) {
14593
+ baseOptions = configuration.baseOptions;
14594
+ }
14595
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
14596
+ const localVarHeaderParameter = {};
14597
+ const localVarQueryParameter = {};
14598
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
14599
+ // authentication BearerToken required
14600
+ // http bearer authentication required
14601
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14602
+ // authentication DigestAuth required
14603
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
14604
+ if (name !== undefined) {
14605
+ localVarFormParams.append('name', name);
14606
+ }
14607
+ if (kind !== undefined) {
14608
+ localVarFormParams.append('kind', kind);
14609
+ }
14610
+ if (file !== undefined) {
14611
+ localVarFormParams.append('file', file);
14612
+ }
14613
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
14614
+ if (idempotencyKey != null) {
14615
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
14616
+ }
14617
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14618
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14619
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14620
+ localVarRequestOptions.data = localVarFormParams;
14621
+ return {
14622
+ url: (0, common_1.toPathString)(localVarUrlObj),
14623
+ options: localVarRequestOptions,
14624
+ };
14625
+ },
13706
14626
  /**
13707
14627
  *
13708
14628
  * @summary Validate cluster creation
@@ -13977,6 +14897,23 @@ const SharedApiFp = function (configuration) {
13977
14897
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.alterParameter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13978
14898
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13979
14899
  },
14900
+ /**
14901
+ *
14902
+ * @summary Archive a JAR while retaining published files and startup synchronization
14903
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
14904
+ * @param {string} orgName
14905
+ * @param {string} clusterName
14906
+ * @param {string} jarId
14907
+ * @param {*} [options] Override http request option.
14908
+ * @throws {RequiredError}
14909
+ */
14910
+ async archiveClusterJar(engineName, orgName, clusterName, jarId, options) {
14911
+ var _a, _b, _c;
14912
+ const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
14913
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14914
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.archiveClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14915
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14916
+ },
13980
14917
  /**
13981
14918
  * Batch add permissions to a role
13982
14919
  * @summary Batch add permissions to a role
@@ -14024,6 +14961,23 @@ const SharedApiFp = function (configuration) {
14024
14961
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.batchUpdateOrgParameters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14025
14962
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14026
14963
  },
14964
+ /**
14965
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
14966
+ * @summary bindSeaweedFSPolicies
14967
+ * @param {string} orgName
14968
+ * @param {string} clusterName
14969
+ * @param {string} accountName
14970
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
14971
+ * @param {*} [options] Override http request option.
14972
+ * @throws {RequiredError}
14973
+ */
14974
+ async bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options) {
14975
+ var _a, _b, _c;
14976
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options);
14977
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14978
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.bindSeaweedFSPolicies']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14979
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14980
+ },
14027
14981
  /**
14028
14982
  *
14029
14983
  * @summary build backup object with a existing backup directory
@@ -14398,6 +15352,39 @@ const SharedApiFp = function (configuration) {
14398
15352
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14399
15353
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14400
15354
  },
15355
+ /**
15356
+ * 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.
15357
+ * @summary createSeaweedFSAccessKey
15358
+ * @param {string} orgName
15359
+ * @param {string} clusterName
15360
+ * @param {string} accountName
15361
+ * @param {Account} account
15362
+ * @param {*} [options] Override http request option.
15363
+ * @throws {RequiredError}
15364
+ */
15365
+ async createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options) {
15366
+ var _a, _b, _c;
15367
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options);
15368
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15369
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createSeaweedFSAccessKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15370
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15371
+ },
15372
+ /**
15373
+ * 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.
15374
+ * @summary createSeaweedFSAccount
15375
+ * @param {string} orgName name of the organization
15376
+ * @param {string} clusterName name of the cluster
15377
+ * @param {Account} body
15378
+ * @param {*} [options] Override http request option.
15379
+ * @throws {RequiredError}
15380
+ */
15381
+ async createSeaweedFSAccount(orgName, clusterName, body, options) {
15382
+ var _a, _b, _c;
15383
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccount(orgName, clusterName, body, options);
15384
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15385
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createSeaweedFSAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15386
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15387
+ },
14401
15388
  /**
14402
15389
  * create a MinIO service account access key
14403
15390
  * @summary Create MinIO access key
@@ -14649,6 +15636,23 @@ const SharedApiFp = function (configuration) {
14649
15636
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14650
15637
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14651
15638
  },
15639
+ /**
15640
+ *
15641
+ * @summary Delete an unpublished JAR version
15642
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
15643
+ * @param {string} orgName
15644
+ * @param {string} clusterName
15645
+ * @param {string} jarId
15646
+ * @param {*} [options] Override http request option.
15647
+ * @throws {RequiredError}
15648
+ */
15649
+ async deleteClusterJar(engineName, orgName, clusterName, jarId, options) {
15650
+ var _a, _b, _c;
15651
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
15652
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15653
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15654
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15655
+ },
14652
15656
  /**
14653
15657
  *
14654
15658
  * @summary delete the datasource
@@ -14999,6 +16003,55 @@ const SharedApiFp = function (configuration) {
14999
16003
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteRoleByName']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15000
16004
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15001
16005
  },
16006
+ /**
16007
+ *
16008
+ * @summary deleteSeaweedFSAccessKey
16009
+ * @param {string} orgName
16010
+ * @param {string} clusterName
16011
+ * @param {string} accountName
16012
+ * @param {string} accessKey
16013
+ * @param {*} [options] Override http request option.
16014
+ * @throws {RequiredError}
16015
+ */
16016
+ async deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options) {
16017
+ var _a, _b, _c;
16018
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
16019
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16020
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteSeaweedFSAccessKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16021
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16022
+ },
16023
+ /**
16024
+ * delete an account in cluster
16025
+ * @summary deleteSeaweedFSAccount
16026
+ * @param {string} orgName name of the organization
16027
+ * @param {string} clusterName name of the cluster
16028
+ * @param {string} accountName name of the account
16029
+ * @param {*} [options] Override http request option.
16030
+ * @throws {RequiredError}
16031
+ */
16032
+ async deleteSeaweedFSAccount(orgName, clusterName, accountName, options) {
16033
+ var _a, _b, _c;
16034
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
16035
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16036
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteSeaweedFSAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16037
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16038
+ },
16039
+ /**
16040
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
16041
+ * @summary deleteSeaweedFSPolicy
16042
+ * @param {string} orgName
16043
+ * @param {string} clusterName
16044
+ * @param {string} policyName
16045
+ * @param {*} [options] Override http request option.
16046
+ * @throws {RequiredError}
16047
+ */
16048
+ async deleteSeaweedFSPolicy(orgName, clusterName, policyName, options) {
16049
+ var _a, _b, _c;
16050
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
16051
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16052
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteSeaweedFSPolicy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16053
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16054
+ },
15002
16055
  /**
15003
16056
  * delete a MinIO service account access key
15004
16057
  * @summary Delete MinIO access key
@@ -15065,6 +16118,24 @@ const SharedApiFp = function (configuration) {
15065
16118
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.disableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15066
16119
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15067
16120
  },
16121
+ /**
16122
+ *
16123
+ * @summary Publish a JAR with optimistic manifest version checking
16124
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
16125
+ * @param {string} orgName
16126
+ * @param {string} clusterName
16127
+ * @param {string} jarId
16128
+ * @param {ClusterJarPublish} clusterJarPublish
16129
+ * @param {*} [options] Override http request option.
16130
+ * @throws {RequiredError}
16131
+ */
16132
+ async distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options) {
16133
+ var _a, _b, _c;
16134
+ const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
16135
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16136
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.distributeClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16137
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16138
+ },
15068
16139
  /**
15069
16140
  *
15070
16141
  * @summary Restore current cluster or instance
@@ -15096,6 +16167,23 @@ const SharedApiFp = function (configuration) {
15096
16167
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.downloadBackup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15097
16168
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15098
16169
  },
16170
+ /**
16171
+ *
16172
+ * @summary Download the original JAR
16173
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
16174
+ * @param {string} orgName
16175
+ * @param {string} clusterName
16176
+ * @param {string} jarId
16177
+ * @param {*} [options] Override http request option.
16178
+ * @throws {RequiredError}
16179
+ */
16180
+ async downloadClusterJar(engineName, orgName, clusterName, jarId, options) {
16181
+ var _a, _b, _c;
16182
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
16183
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16184
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.downloadClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16185
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16186
+ },
15099
16187
  /**
15100
16188
  *
15101
16189
  * @summary Download multiple backup files
@@ -15548,6 +16636,22 @@ const SharedApiFp = function (configuration) {
15548
16636
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getClusterInstanceLog']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15549
16637
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15550
16638
  },
16639
+ /**
16640
+ *
16641
+ * @summary Get external JAR capability and configuration
16642
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
16643
+ * @param {string} orgName
16644
+ * @param {string} clusterName
16645
+ * @param {*} [options] Override http request option.
16646
+ * @throws {RequiredError}
16647
+ */
16648
+ async getClusterJarConfig(engineName, orgName, clusterName, options) {
16649
+ var _a, _b, _c;
16650
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
16651
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16652
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getClusterJarConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16653
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16654
+ },
15551
16655
  /**
15552
16656
  *
15553
16657
  * @summary Get cluster parameter template
@@ -16083,6 +17187,23 @@ const SharedApiFp = function (configuration) {
16083
17187
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getRootAccountPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16084
17188
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16085
17189
  },
17190
+ /**
17191
+ * get root account password
17192
+ * @summary getRootSeaweedFSAccountPassword
17193
+ * @param {string} orgName name of the Org
17194
+ * @param {string} clusterName name of the Cluster
17195
+ * @param {string} accountName name of the account
17196
+ * @param {string} [component] name of the component
17197
+ * @param {*} [options] Override http request option.
17198
+ * @throws {RequiredError}
17199
+ */
17200
+ async getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options) {
17201
+ var _a, _b, _c;
17202
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options);
17203
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17204
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getRootSeaweedFSAccountPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17205
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17206
+ },
16086
17207
  /**
16087
17208
  *
16088
17209
  * @summary list all databases or schema of the cluster
@@ -16513,6 +17634,22 @@ const SharedApiFp = function (configuration) {
16513
17634
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16514
17635
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16515
17636
  },
17637
+ /**
17638
+ *
17639
+ * @summary List external JAR versions with metadata and per-instance synchronization state
17640
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
17641
+ * @param {string} orgName
17642
+ * @param {string} clusterName
17643
+ * @param {*} [options] Override http request option.
17644
+ * @throws {RequiredError}
17645
+ */
17646
+ async listClusterJars(engineName, orgName, clusterName, options) {
17647
+ var _a, _b, _c;
17648
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
17649
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17650
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClusterJars']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17651
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17652
+ },
16516
17653
  /**
16517
17654
  *
16518
17655
  * @summary List restore tasks
@@ -17207,6 +18344,36 @@ const SharedApiFp = function (configuration) {
17207
18344
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17208
18345
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17209
18346
  },
18347
+ /**
18348
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
18349
+ * @summary listSeaweedFSAccounts
18350
+ * @param {string} orgName name of the organization
18351
+ * @param {string} clusterName name of the cluster
18352
+ * @param {*} [options] Override http request option.
18353
+ * @throws {RequiredError}
18354
+ */
18355
+ async listSeaweedFSAccounts(orgName, clusterName, options) {
18356
+ var _a, _b, _c;
18357
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSAccounts(orgName, clusterName, options);
18358
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18359
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listSeaweedFSAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18360
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18361
+ },
18362
+ /**
18363
+ *
18364
+ * @summary listSeaweedFSPolicies
18365
+ * @param {string} orgName
18366
+ * @param {string} clusterName
18367
+ * @param {*} [options] Override http request option.
18368
+ * @throws {RequiredError}
18369
+ */
18370
+ async listSeaweedFSPolicies(orgName, clusterName, options) {
18371
+ var _a, _b, _c;
18372
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSPolicies(orgName, clusterName, options);
18373
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18374
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listSeaweedFSPolicies']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18375
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18376
+ },
17210
18377
  /**
17211
18378
  * list MinIO service account access keys
17212
18379
  * @summary List MinIO access keys
@@ -17546,6 +18713,23 @@ const SharedApiFp = function (configuration) {
17546
18713
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17547
18714
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17548
18715
  },
18716
+ /**
18717
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
18718
+ * @summary putSeaweedFSPolicy
18719
+ * @param {string} orgName
18720
+ * @param {string} clusterName
18721
+ * @param {string} policyName
18722
+ * @param {{ [key: string]: any; }} requestBody
18723
+ * @param {*} [options] Override http request option.
18724
+ * @throws {RequiredError}
18725
+ */
18726
+ async putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options) {
18727
+ var _a, _b, _c;
18728
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options);
18729
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18730
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putSeaweedFSPolicy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18731
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18732
+ },
17549
18733
  /**
17550
18734
  *
17551
18735
  * @summary create a SQL query
@@ -18094,6 +19278,23 @@ const SharedApiFp = function (configuration) {
18094
19278
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.restoreRecycleBinCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18095
19279
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18096
19280
  },
19281
+ /**
19282
+ *
19283
+ * @summary Retry synchronization of published JARs
19284
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19285
+ * @param {string} orgName
19286
+ * @param {string} clusterName
19287
+ * @param {string} jarId
19288
+ * @param {*} [options] Override http request option.
19289
+ * @throws {RequiredError}
19290
+ */
19291
+ async retryClusterJar(engineName, orgName, clusterName, jarId, options) {
19292
+ var _a, _b, _c;
19293
+ const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
19294
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19295
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.retryClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19296
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19297
+ },
18097
19298
  /**
18098
19299
  *
18099
19300
  * @summary Revoke privileges from a ClickHouse role
@@ -18773,7 +19974,41 @@ const SharedApiFp = function (configuration) {
18773
19974
  var _a, _b, _c;
18774
19975
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateRoleByName(orgName, roleName, roleUpdate, options);
18775
19976
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18776
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateRoleByName']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19977
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateRoleByName']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19978
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19979
+ },
19980
+ /**
19981
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
19982
+ * @summary updateSeaweedFSAccount
19983
+ * @param {string} orgName name of the organization
19984
+ * @param {string} clusterName name of the cluster
19985
+ * @param {string} accountName name of the account
19986
+ * @param {Account} body
19987
+ * @param {*} [options] Override http request option.
19988
+ * @throws {RequiredError}
19989
+ */
19990
+ async updateSeaweedFSAccount(orgName, clusterName, accountName, body, options) {
19991
+ var _a, _b, _c;
19992
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccount(orgName, clusterName, accountName, body, options);
19993
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19994
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateSeaweedFSAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19995
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19996
+ },
19997
+ /**
19998
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
19999
+ * @summary updateSeaweedFSAccountPrivileges
20000
+ * @param {string} orgName name of the Org
20001
+ * @param {string} clusterName name of the Cluster
20002
+ * @param {string} accountName name of the account
20003
+ * @param {Array<PrivilegeListItem>} body
20004
+ * @param {*} [options] Override http request option.
20005
+ * @throws {RequiredError}
20006
+ */
20007
+ async updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options) {
20008
+ var _a, _b, _c;
20009
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options);
20010
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20011
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateSeaweedFSAccountPrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18777
20012
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18778
20013
  },
18779
20014
  /**
@@ -18857,6 +20092,26 @@ const SharedApiFp = function (configuration) {
18857
20092
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.upgradeCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18858
20093
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18859
20094
  },
20095
+ /**
20096
+ *
20097
+ * @summary Upload an immutable JAR version
20098
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
20099
+ * @param {string} orgName
20100
+ * @param {string} clusterName
20101
+ * @param {string} idempotencyKey
20102
+ * @param {string} name
20103
+ * @param {ClusterJarKind} kind
20104
+ * @param {File} file
20105
+ * @param {*} [options] Override http request option.
20106
+ * @throws {RequiredError}
20107
+ */
20108
+ async uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options) {
20109
+ var _a, _b, _c;
20110
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
20111
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20112
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.uploadClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20113
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20114
+ },
18860
20115
  /**
18861
20116
  *
18862
20117
  * @summary Validate cluster creation
@@ -18971,6 +20226,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
18971
20226
  alterParameter(requestParameters, options) {
18972
20227
  return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
18973
20228
  },
20229
+ /**
20230
+ *
20231
+ * @summary Archive a JAR while retaining published files and startup synchronization
20232
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
20233
+ * @param {*} [options] Override http request option.
20234
+ * @throws {RequiredError}
20235
+ */
20236
+ archiveClusterJar(requestParameters, options) {
20237
+ return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
20238
+ },
18974
20239
  /**
18975
20240
  * Batch add permissions to a role
18976
20241
  * @summary Batch add permissions to a role
@@ -19001,6 +20266,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19001
20266
  batchUpdateOrgParameters(requestParameters, options) {
19002
20267
  return localVarFp.batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
19003
20268
  },
20269
+ /**
20270
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
20271
+ * @summary bindSeaweedFSPolicies
20272
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
20273
+ * @param {*} [options] Override http request option.
20274
+ * @throws {RequiredError}
20275
+ */
20276
+ bindSeaweedFSPolicies(requestParameters, options) {
20277
+ return localVarFp.bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(axios, basePath));
20278
+ },
19004
20279
  /**
19005
20280
  *
19006
20281
  * @summary build backup object with a existing backup directory
@@ -19232,6 +20507,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19232
20507
  createRole(requestParameters, options) {
19233
20508
  return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
19234
20509
  },
20510
+ /**
20511
+ * 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.
20512
+ * @summary createSeaweedFSAccessKey
20513
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
20514
+ * @param {*} [options] Override http request option.
20515
+ * @throws {RequiredError}
20516
+ */
20517
+ createSeaweedFSAccessKey(requestParameters, options) {
20518
+ return localVarFp.createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(axios, basePath));
20519
+ },
20520
+ /**
20521
+ * 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.
20522
+ * @summary createSeaweedFSAccount
20523
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
20524
+ * @param {*} [options] Override http request option.
20525
+ * @throws {RequiredError}
20526
+ */
20527
+ createSeaweedFSAccount(requestParameters, options) {
20528
+ return localVarFp.createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
20529
+ },
19235
20530
  /**
19236
20531
  * create a MinIO service account access key
19237
20532
  * @summary Create MinIO access key
@@ -19392,6 +20687,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19392
20687
  deleteCluster(requestParameters, options) {
19393
20688
  return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
19394
20689
  },
20690
+ /**
20691
+ *
20692
+ * @summary Delete an unpublished JAR version
20693
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
20694
+ * @param {*} [options] Override http request option.
20695
+ * @throws {RequiredError}
20696
+ */
20697
+ deleteClusterJar(requestParameters, options) {
20698
+ return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
20699
+ },
19395
20700
  /**
19396
20701
  *
19397
20702
  * @summary delete the datasource
@@ -19612,6 +20917,36 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19612
20917
  deleteRoleByName(requestParameters, options) {
19613
20918
  return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
19614
20919
  },
20920
+ /**
20921
+ *
20922
+ * @summary deleteSeaweedFSAccessKey
20923
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
20924
+ * @param {*} [options] Override http request option.
20925
+ * @throws {RequiredError}
20926
+ */
20927
+ deleteSeaweedFSAccessKey(requestParameters, options) {
20928
+ return localVarFp.deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
20929
+ },
20930
+ /**
20931
+ * delete an account in cluster
20932
+ * @summary deleteSeaweedFSAccount
20933
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
20934
+ * @param {*} [options] Override http request option.
20935
+ * @throws {RequiredError}
20936
+ */
20937
+ deleteSeaweedFSAccount(requestParameters, options) {
20938
+ return localVarFp.deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
20939
+ },
20940
+ /**
20941
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
20942
+ * @summary deleteSeaweedFSPolicy
20943
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
20944
+ * @param {*} [options] Override http request option.
20945
+ * @throws {RequiredError}
20946
+ */
20947
+ deleteSeaweedFSPolicy(requestParameters, options) {
20948
+ return localVarFp.deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(axios, basePath));
20949
+ },
19615
20950
  /**
19616
20951
  * delete a MinIO service account access key
19617
20952
  * @summary Delete MinIO access key
@@ -19652,6 +20987,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19652
20987
  disableConsole(requestParameters, options) {
19653
20988
  return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
19654
20989
  },
20990
+ /**
20991
+ *
20992
+ * @summary Publish a JAR with optimistic manifest version checking
20993
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
20994
+ * @param {*} [options] Override http request option.
20995
+ * @throws {RequiredError}
20996
+ */
20997
+ distributeClusterJar(requestParameters, options) {
20998
+ return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
20999
+ },
19655
21000
  /**
19656
21001
  *
19657
21002
  * @summary Restore current cluster or instance
@@ -19672,6 +21017,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19672
21017
  downloadBackup(requestParameters, options) {
19673
21018
  return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
19674
21019
  },
21020
+ /**
21021
+ *
21022
+ * @summary Download the original JAR
21023
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
21024
+ * @param {*} [options] Override http request option.
21025
+ * @throws {RequiredError}
21026
+ */
21027
+ downloadClusterJar(requestParameters, options) {
21028
+ return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
21029
+ },
19675
21030
  /**
19676
21031
  *
19677
21032
  * @summary Download multiple backup files
@@ -19922,6 +21277,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19922
21277
  getClusterInstanceLog(requestParameters, options) {
19923
21278
  return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
19924
21279
  },
21280
+ /**
21281
+ *
21282
+ * @summary Get external JAR capability and configuration
21283
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
21284
+ * @param {*} [options] Override http request option.
21285
+ * @throws {RequiredError}
21286
+ */
21287
+ getClusterJarConfig(requestParameters, options) {
21288
+ return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
21289
+ },
19925
21290
  /**
19926
21291
  *
19927
21292
  * @summary Get cluster parameter template
@@ -20251,6 +21616,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20251
21616
  getRootAccountPassword(requestParameters, options) {
20252
21617
  return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
20253
21618
  },
21619
+ /**
21620
+ * get root account password
21621
+ * @summary getRootSeaweedFSAccountPassword
21622
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
21623
+ * @param {*} [options] Override http request option.
21624
+ * @throws {RequiredError}
21625
+ */
21626
+ getRootSeaweedFSAccountPassword(requestParameters, options) {
21627
+ return localVarFp.getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
21628
+ },
20254
21629
  /**
20255
21630
  *
20256
21631
  * @summary list all databases or schema of the cluster
@@ -20491,6 +21866,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20491
21866
  listCluster(requestParameters, options) {
20492
21867
  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));
20493
21868
  },
21869
+ /**
21870
+ *
21871
+ * @summary List external JAR versions with metadata and per-instance synchronization state
21872
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
21873
+ * @param {*} [options] Override http request option.
21874
+ * @throws {RequiredError}
21875
+ */
21876
+ listClusterJars(requestParameters, options) {
21877
+ return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
21878
+ },
20494
21879
  /**
20495
21880
  *
20496
21881
  * @summary List restore tasks
@@ -20929,6 +22314,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20929
22314
  listRoles(requestParameters, options) {
20930
22315
  return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
20931
22316
  },
22317
+ /**
22318
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
22319
+ * @summary listSeaweedFSAccounts
22320
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
22321
+ * @param {*} [options] Override http request option.
22322
+ * @throws {RequiredError}
22323
+ */
22324
+ listSeaweedFSAccounts(requestParameters, options) {
22325
+ return localVarFp.listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
22326
+ },
22327
+ /**
22328
+ *
22329
+ * @summary listSeaweedFSPolicies
22330
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
22331
+ * @param {*} [options] Override http request option.
22332
+ * @throws {RequiredError}
22333
+ */
22334
+ listSeaweedFSPolicies(requestParameters, options) {
22335
+ return localVarFp.listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
22336
+ },
20932
22337
  /**
20933
22338
  * list MinIO service account access keys
20934
22339
  * @summary List MinIO access keys
@@ -21139,6 +22544,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21139
22544
  putElasticsearchSecurityUser(requestParameters, options) {
21140
22545
  return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
21141
22546
  },
22547
+ /**
22548
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
22549
+ * @summary putSeaweedFSPolicy
22550
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
22551
+ * @param {*} [options] Override http request option.
22552
+ * @throws {RequiredError}
22553
+ */
22554
+ putSeaweedFSPolicy(requestParameters, options) {
22555
+ return localVarFp.putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
22556
+ },
21142
22557
  /**
21143
22558
  *
21144
22559
  * @summary create a SQL query
@@ -21398,6 +22813,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21398
22813
  restoreRecycleBinCluster(requestParameters, options) {
21399
22814
  return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
21400
22815
  },
22816
+ /**
22817
+ *
22818
+ * @summary Retry synchronization of published JARs
22819
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
22820
+ * @param {*} [options] Override http request option.
22821
+ * @throws {RequiredError}
22822
+ */
22823
+ retryClusterJar(requestParameters, options) {
22824
+ return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
22825
+ },
21401
22826
  /**
21402
22827
  *
21403
22828
  * @summary Revoke privileges from a ClickHouse role
@@ -21808,6 +23233,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21808
23233
  updateRoleByName(requestParameters, options) {
21809
23234
  return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
21810
23235
  },
23236
+ /**
23237
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
23238
+ * @summary updateSeaweedFSAccount
23239
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
23240
+ * @param {*} [options] Override http request option.
23241
+ * @throws {RequiredError}
23242
+ */
23243
+ updateSeaweedFSAccount(requestParameters, options) {
23244
+ return localVarFp.updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
23245
+ },
23246
+ /**
23247
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
23248
+ * @summary updateSeaweedFSAccountPrivileges
23249
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
23250
+ * @param {*} [options] Override http request option.
23251
+ * @throws {RequiredError}
23252
+ */
23253
+ updateSeaweedFSAccountPrivileges(requestParameters, options) {
23254
+ return localVarFp.updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
23255
+ },
21811
23256
  /**
21812
23257
  * update a MinIO service account access key
21813
23258
  * @summary Update MinIO access key
@@ -21857,6 +23302,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21857
23302
  upgradeCluster(requestParameters, options) {
21858
23303
  return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
21859
23304
  },
23305
+ /**
23306
+ *
23307
+ * @summary Upload an immutable JAR version
23308
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
23309
+ * @param {*} [options] Override http request option.
23310
+ * @throws {RequiredError}
23311
+ */
23312
+ uploadClusterJar(requestParameters, options) {
23313
+ return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
23314
+ },
21860
23315
  /**
21861
23316
  *
21862
23317
  * @summary Validate cluster creation
@@ -21951,6 +23406,17 @@ class SharedApi extends base_1.BaseAPI {
21951
23406
  alterParameter(requestParameters, options) {
21952
23407
  return (0, exports.SharedApiFp)(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
21953
23408
  }
23409
+ /**
23410
+ *
23411
+ * @summary Archive a JAR while retaining published files and startup synchronization
23412
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
23413
+ * @param {*} [options] Override http request option.
23414
+ * @throws {RequiredError}
23415
+ * @memberof SharedApi
23416
+ */
23417
+ archiveClusterJar(requestParameters, options) {
23418
+ return (0, exports.SharedApiFp)(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
23419
+ }
21954
23420
  /**
21955
23421
  * Batch add permissions to a role
21956
23422
  * @summary Batch add permissions to a role
@@ -21984,6 +23450,17 @@ class SharedApi extends base_1.BaseAPI {
21984
23450
  batchUpdateOrgParameters(requestParameters, options) {
21985
23451
  return (0, exports.SharedApiFp)(this.configuration).batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
21986
23452
  }
23453
+ /**
23454
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
23455
+ * @summary bindSeaweedFSPolicies
23456
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
23457
+ * @param {*} [options] Override http request option.
23458
+ * @throws {RequiredError}
23459
+ * @memberof SharedApi
23460
+ */
23461
+ bindSeaweedFSPolicies(requestParameters, options) {
23462
+ return (0, exports.SharedApiFp)(this.configuration).bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(this.axios, this.basePath));
23463
+ }
21987
23464
  /**
21988
23465
  *
21989
23466
  * @summary build backup object with a existing backup directory
@@ -22238,6 +23715,28 @@ class SharedApi extends base_1.BaseAPI {
22238
23715
  createRole(requestParameters, options) {
22239
23716
  return (0, exports.SharedApiFp)(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
22240
23717
  }
23718
+ /**
23719
+ * 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.
23720
+ * @summary createSeaweedFSAccessKey
23721
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
23722
+ * @param {*} [options] Override http request option.
23723
+ * @throws {RequiredError}
23724
+ * @memberof SharedApi
23725
+ */
23726
+ createSeaweedFSAccessKey(requestParameters, options) {
23727
+ return (0, exports.SharedApiFp)(this.configuration).createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(this.axios, this.basePath));
23728
+ }
23729
+ /**
23730
+ * 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.
23731
+ * @summary createSeaweedFSAccount
23732
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
23733
+ * @param {*} [options] Override http request option.
23734
+ * @throws {RequiredError}
23735
+ * @memberof SharedApi
23736
+ */
23737
+ createSeaweedFSAccount(requestParameters, options) {
23738
+ return (0, exports.SharedApiFp)(this.configuration).createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
23739
+ }
22241
23740
  /**
22242
23741
  * create a MinIO service account access key
22243
23742
  * @summary Create MinIO access key
@@ -22414,6 +23913,17 @@ class SharedApi extends base_1.BaseAPI {
22414
23913
  deleteCluster(requestParameters, options) {
22415
23914
  return (0, exports.SharedApiFp)(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
22416
23915
  }
23916
+ /**
23917
+ *
23918
+ * @summary Delete an unpublished JAR version
23919
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
23920
+ * @param {*} [options] Override http request option.
23921
+ * @throws {RequiredError}
23922
+ * @memberof SharedApi
23923
+ */
23924
+ deleteClusterJar(requestParameters, options) {
23925
+ return (0, exports.SharedApiFp)(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
23926
+ }
22417
23927
  /**
22418
23928
  *
22419
23929
  * @summary delete the datasource
@@ -22656,6 +24166,39 @@ class SharedApi extends base_1.BaseAPI {
22656
24166
  deleteRoleByName(requestParameters, options) {
22657
24167
  return (0, exports.SharedApiFp)(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
22658
24168
  }
24169
+ /**
24170
+ *
24171
+ * @summary deleteSeaweedFSAccessKey
24172
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
24173
+ * @param {*} [options] Override http request option.
24174
+ * @throws {RequiredError}
24175
+ * @memberof SharedApi
24176
+ */
24177
+ deleteSeaweedFSAccessKey(requestParameters, options) {
24178
+ return (0, exports.SharedApiFp)(this.configuration).deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
24179
+ }
24180
+ /**
24181
+ * delete an account in cluster
24182
+ * @summary deleteSeaweedFSAccount
24183
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
24184
+ * @param {*} [options] Override http request option.
24185
+ * @throws {RequiredError}
24186
+ * @memberof SharedApi
24187
+ */
24188
+ deleteSeaweedFSAccount(requestParameters, options) {
24189
+ return (0, exports.SharedApiFp)(this.configuration).deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
24190
+ }
24191
+ /**
24192
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
24193
+ * @summary deleteSeaweedFSPolicy
24194
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
24195
+ * @param {*} [options] Override http request option.
24196
+ * @throws {RequiredError}
24197
+ * @memberof SharedApi
24198
+ */
24199
+ deleteSeaweedFSPolicy(requestParameters, options) {
24200
+ return (0, exports.SharedApiFp)(this.configuration).deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(this.axios, this.basePath));
24201
+ }
22659
24202
  /**
22660
24203
  * delete a MinIO service account access key
22661
24204
  * @summary Delete MinIO access key
@@ -22700,6 +24243,17 @@ class SharedApi extends base_1.BaseAPI {
22700
24243
  disableConsole(requestParameters, options) {
22701
24244
  return (0, exports.SharedApiFp)(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
22702
24245
  }
24246
+ /**
24247
+ *
24248
+ * @summary Publish a JAR with optimistic manifest version checking
24249
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
24250
+ * @param {*} [options] Override http request option.
24251
+ * @throws {RequiredError}
24252
+ * @memberof SharedApi
24253
+ */
24254
+ distributeClusterJar(requestParameters, options) {
24255
+ return (0, exports.SharedApiFp)(this.configuration).distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(this.axios, this.basePath));
24256
+ }
22703
24257
  /**
22704
24258
  *
22705
24259
  * @summary Restore current cluster or instance
@@ -22722,6 +24276,17 @@ class SharedApi extends base_1.BaseAPI {
22722
24276
  downloadBackup(requestParameters, options) {
22723
24277
  return (0, exports.SharedApiFp)(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
22724
24278
  }
24279
+ /**
24280
+ *
24281
+ * @summary Download the original JAR
24282
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
24283
+ * @param {*} [options] Override http request option.
24284
+ * @throws {RequiredError}
24285
+ * @memberof SharedApi
24286
+ */
24287
+ downloadClusterJar(requestParameters, options) {
24288
+ return (0, exports.SharedApiFp)(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
24289
+ }
22725
24290
  /**
22726
24291
  *
22727
24292
  * @summary Download multiple backup files
@@ -22997,6 +24562,17 @@ class SharedApi extends base_1.BaseAPI {
22997
24562
  getClusterInstanceLog(requestParameters, options) {
22998
24563
  return (0, exports.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));
22999
24564
  }
24565
+ /**
24566
+ *
24567
+ * @summary Get external JAR capability and configuration
24568
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
24569
+ * @param {*} [options] Override http request option.
24570
+ * @throws {RequiredError}
24571
+ * @memberof SharedApi
24572
+ */
24573
+ getClusterJarConfig(requestParameters, options) {
24574
+ return (0, exports.SharedApiFp)(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
24575
+ }
23000
24576
  /**
23001
24577
  *
23002
24578
  * @summary Get cluster parameter template
@@ -23359,6 +24935,17 @@ class SharedApi extends base_1.BaseAPI {
23359
24935
  getRootAccountPassword(requestParameters, options) {
23360
24936
  return (0, exports.SharedApiFp)(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
23361
24937
  }
24938
+ /**
24939
+ * get root account password
24940
+ * @summary getRootSeaweedFSAccountPassword
24941
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
24942
+ * @param {*} [options] Override http request option.
24943
+ * @throws {RequiredError}
24944
+ * @memberof SharedApi
24945
+ */
24946
+ getRootSeaweedFSAccountPassword(requestParameters, options) {
24947
+ return (0, exports.SharedApiFp)(this.configuration).getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
24948
+ }
23362
24949
  /**
23363
24950
  *
23364
24951
  * @summary list all databases or schema of the cluster
@@ -23623,6 +25210,17 @@ class SharedApi extends base_1.BaseAPI {
23623
25210
  listCluster(requestParameters, options) {
23624
25211
  return (0, exports.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));
23625
25212
  }
25213
+ /**
25214
+ *
25215
+ * @summary List external JAR versions with metadata and per-instance synchronization state
25216
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
25217
+ * @param {*} [options] Override http request option.
25218
+ * @throws {RequiredError}
25219
+ * @memberof SharedApi
25220
+ */
25221
+ listClusterJars(requestParameters, options) {
25222
+ return (0, exports.SharedApiFp)(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
25223
+ }
23626
25224
  /**
23627
25225
  *
23628
25226
  * @summary List restore tasks
@@ -24105,6 +25703,28 @@ class SharedApi extends base_1.BaseAPI {
24105
25703
  listRoles(requestParameters, options) {
24106
25704
  return (0, exports.SharedApiFp)(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
24107
25705
  }
25706
+ /**
25707
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
25708
+ * @summary listSeaweedFSAccounts
25709
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
25710
+ * @param {*} [options] Override http request option.
25711
+ * @throws {RequiredError}
25712
+ * @memberof SharedApi
25713
+ */
25714
+ listSeaweedFSAccounts(requestParameters, options) {
25715
+ return (0, exports.SharedApiFp)(this.configuration).listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
25716
+ }
25717
+ /**
25718
+ *
25719
+ * @summary listSeaweedFSPolicies
25720
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
25721
+ * @param {*} [options] Override http request option.
25722
+ * @throws {RequiredError}
25723
+ * @memberof SharedApi
25724
+ */
25725
+ listSeaweedFSPolicies(requestParameters, options) {
25726
+ return (0, exports.SharedApiFp)(this.configuration).listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
25727
+ }
24108
25728
  /**
24109
25729
  * list MinIO service account access keys
24110
25730
  * @summary List MinIO access keys
@@ -24336,6 +25956,17 @@ class SharedApi extends base_1.BaseAPI {
24336
25956
  putElasticsearchSecurityUser(requestParameters, options) {
24337
25957
  return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
24338
25958
  }
25959
+ /**
25960
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
25961
+ * @summary putSeaweedFSPolicy
25962
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
25963
+ * @param {*} [options] Override http request option.
25964
+ * @throws {RequiredError}
25965
+ * @memberof SharedApi
25966
+ */
25967
+ putSeaweedFSPolicy(requestParameters, options) {
25968
+ return (0, exports.SharedApiFp)(this.configuration).putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
25969
+ }
24339
25970
  /**
24340
25971
  *
24341
25972
  * @summary create a SQL query
@@ -24621,6 +26252,17 @@ class SharedApi extends base_1.BaseAPI {
24621
26252
  restoreRecycleBinCluster(requestParameters, options) {
24622
26253
  return (0, exports.SharedApiFp)(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
24623
26254
  }
26255
+ /**
26256
+ *
26257
+ * @summary Retry synchronization of published JARs
26258
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
26259
+ * @param {*} [options] Override http request option.
26260
+ * @throws {RequiredError}
26261
+ * @memberof SharedApi
26262
+ */
26263
+ retryClusterJar(requestParameters, options) {
26264
+ return (0, exports.SharedApiFp)(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
26265
+ }
24624
26266
  /**
24625
26267
  *
24626
26268
  * @summary Revoke privileges from a ClickHouse role
@@ -25072,6 +26714,28 @@ class SharedApi extends base_1.BaseAPI {
25072
26714
  updateRoleByName(requestParameters, options) {
25073
26715
  return (0, exports.SharedApiFp)(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
25074
26716
  }
26717
+ /**
26718
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
26719
+ * @summary updateSeaweedFSAccount
26720
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
26721
+ * @param {*} [options] Override http request option.
26722
+ * @throws {RequiredError}
26723
+ * @memberof SharedApi
26724
+ */
26725
+ updateSeaweedFSAccount(requestParameters, options) {
26726
+ return (0, exports.SharedApiFp)(this.configuration).updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
26727
+ }
26728
+ /**
26729
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
26730
+ * @summary updateSeaweedFSAccountPrivileges
26731
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
26732
+ * @param {*} [options] Override http request option.
26733
+ * @throws {RequiredError}
26734
+ * @memberof SharedApi
26735
+ */
26736
+ updateSeaweedFSAccountPrivileges(requestParameters, options) {
26737
+ return (0, exports.SharedApiFp)(this.configuration).updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
26738
+ }
25075
26739
  /**
25076
26740
  * update a MinIO service account access key
25077
26741
  * @summary Update MinIO access key
@@ -25126,6 +26790,17 @@ class SharedApi extends base_1.BaseAPI {
25126
26790
  upgradeCluster(requestParameters, options) {
25127
26791
  return (0, exports.SharedApiFp)(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
25128
26792
  }
26793
+ /**
26794
+ *
26795
+ * @summary Upload an immutable JAR version
26796
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
26797
+ * @param {*} [options] Override http request option.
26798
+ * @throws {RequiredError}
26799
+ * @memberof SharedApi
26800
+ */
26801
+ uploadClusterJar(requestParameters, options) {
26802
+ return (0, exports.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));
26803
+ }
25129
26804
  /**
25130
26805
  *
25131
26806
  * @summary Validate cluster creation