kb-cloud-client-typescript 2.3.30 → 2.3.31-beta.0

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 (165) 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/seaweedfs-api.d.ts +951 -0
  14. package/dist/adminapi/apis/seaweedfs-api.d.ts.map +1 -0
  15. package/dist/adminapi/apis/seaweedfs-api.js +1045 -0
  16. package/dist/adminapi/apis/seaweedfs-api.js.map +1 -0
  17. package/dist/adminapi/apis/shared-api.d.ts +1577 -23
  18. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  19. package/dist/adminapi/apis/shared-api.js +1685 -10
  20. package/dist/adminapi/apis/shared-api.js.map +1 -1
  21. package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
  22. package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
  23. package/dist/adminapi/models/bind-seaweed-fspolicies-request.js +16 -0
  24. package/dist/adminapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
  25. package/dist/adminapi/models/cluster-jar-config.d.ts +61 -0
  26. package/dist/adminapi/models/cluster-jar-config.d.ts.map +1 -0
  27. package/dist/adminapi/models/cluster-jar-config.js +16 -0
  28. package/dist/adminapi/models/cluster-jar-config.js.map +1 -0
  29. package/dist/adminapi/models/cluster-jar-kind.d.ts +22 -0
  30. package/dist/adminapi/models/cluster-jar-kind.d.ts.map +1 -0
  31. package/dist/adminapi/models/cluster-jar-kind.js +26 -0
  32. package/dist/adminapi/models/cluster-jar-kind.js.map +1 -0
  33. package/dist/adminapi/models/cluster-jar-list.d.ts +32 -0
  34. package/dist/adminapi/models/cluster-jar-list.d.ts.map +1 -0
  35. package/dist/adminapi/models/cluster-jar-list.js +16 -0
  36. package/dist/adminapi/models/cluster-jar-list.js.map +1 -0
  37. package/dist/adminapi/models/cluster-jar-package.d.ts +111 -0
  38. package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -0
  39. package/dist/adminapi/models/cluster-jar-package.js +16 -0
  40. package/dist/adminapi/models/cluster-jar-package.js.map +1 -0
  41. package/dist/adminapi/models/cluster-jar-publish.d.ts +25 -0
  42. package/dist/adminapi/models/cluster-jar-publish.d.ts.map +1 -0
  43. package/dist/adminapi/models/cluster-jar-publish.js +16 -0
  44. package/dist/adminapi/models/cluster-jar-publish.js.map +1 -0
  45. package/dist/adminapi/models/cluster-jar-replica.d.ts +61 -0
  46. package/dist/adminapi/models/cluster-jar-replica.d.ts.map +1 -0
  47. package/dist/adminapi/models/cluster-jar-replica.js +16 -0
  48. package/dist/adminapi/models/cluster-jar-replica.js.map +1 -0
  49. package/dist/adminapi/models/cluster-jar-task.d.ts +25 -0
  50. package/dist/adminapi/models/cluster-jar-task.d.ts.map +1 -0
  51. package/dist/adminapi/models/cluster-jar-task.js +16 -0
  52. package/dist/adminapi/models/cluster-jar-task.js.map +1 -0
  53. package/dist/adminapi/models/index.d.ts +10 -0
  54. package/dist/adminapi/models/index.d.ts.map +1 -1
  55. package/dist/adminapi/models/index.js +10 -0
  56. package/dist/adminapi/models/index.js.map +1 -1
  57. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
  58. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
  59. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
  60. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
  61. package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
  62. package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
  63. package/dist/adminapi/models/list-seaweed-fspolicies200-response.js +16 -0
  64. package/dist/adminapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
  65. package/dist/openapi/api.d.ts +2 -0
  66. package/dist/openapi/api.d.ts.map +1 -1
  67. package/dist/openapi/api.js +2 -0
  68. package/dist/openapi/api.js.map +1 -1
  69. package/dist/openapi/apis/account-api.d.ts +906 -6
  70. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  71. package/dist/openapi/apis/account-api.js +981 -0
  72. package/dist/openapi/apis/account-api.js.map +1 -1
  73. package/dist/openapi/apis/cluster-jar-api.d.ts +702 -0
  74. package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -0
  75. package/dist/openapi/apis/cluster-jar-api.js +758 -0
  76. package/dist/openapi/apis/cluster-jar-api.js.map +1 -0
  77. package/dist/openapi/apis/seaweedfs-api.d.ts +951 -0
  78. package/dist/openapi/apis/seaweedfs-api.d.ts.map +1 -0
  79. package/dist/openapi/apis/seaweedfs-api.js +1045 -0
  80. package/dist/openapi/apis/seaweedfs-api.js.map +1 -0
  81. package/dist/openapi/apis/shared-api.d.ts +1577 -23
  82. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  83. package/dist/openapi/apis/shared-api.js +1685 -10
  84. package/dist/openapi/apis/shared-api.js.map +1 -1
  85. package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
  86. package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
  87. package/dist/openapi/models/bind-seaweed-fspolicies-request.js +16 -0
  88. package/dist/openapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
  89. package/dist/openapi/models/cluster-jar-config.d.ts +61 -0
  90. package/dist/openapi/models/cluster-jar-config.d.ts.map +1 -0
  91. package/dist/openapi/models/cluster-jar-config.js +16 -0
  92. package/dist/openapi/models/cluster-jar-config.js.map +1 -0
  93. package/dist/openapi/models/cluster-jar-kind.d.ts +22 -0
  94. package/dist/openapi/models/cluster-jar-kind.d.ts.map +1 -0
  95. package/dist/openapi/models/cluster-jar-kind.js +26 -0
  96. package/dist/openapi/models/cluster-jar-kind.js.map +1 -0
  97. package/dist/openapi/models/cluster-jar-list.d.ts +32 -0
  98. package/dist/openapi/models/cluster-jar-list.d.ts.map +1 -0
  99. package/dist/openapi/models/cluster-jar-list.js +16 -0
  100. package/dist/openapi/models/cluster-jar-list.js.map +1 -0
  101. package/dist/openapi/models/cluster-jar-package.d.ts +111 -0
  102. package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -0
  103. package/dist/openapi/models/cluster-jar-package.js +16 -0
  104. package/dist/openapi/models/cluster-jar-package.js.map +1 -0
  105. package/dist/openapi/models/cluster-jar-publish.d.ts +25 -0
  106. package/dist/openapi/models/cluster-jar-publish.d.ts.map +1 -0
  107. package/dist/openapi/models/cluster-jar-publish.js +16 -0
  108. package/dist/openapi/models/cluster-jar-publish.js.map +1 -0
  109. package/dist/openapi/models/cluster-jar-replica.d.ts +61 -0
  110. package/dist/openapi/models/cluster-jar-replica.d.ts.map +1 -0
  111. package/dist/openapi/models/cluster-jar-replica.js +16 -0
  112. package/dist/openapi/models/cluster-jar-replica.js.map +1 -0
  113. package/dist/openapi/models/cluster-jar-task.d.ts +25 -0
  114. package/dist/openapi/models/cluster-jar-task.d.ts.map +1 -0
  115. package/dist/openapi/models/cluster-jar-task.js +16 -0
  116. package/dist/openapi/models/cluster-jar-task.js.map +1 -0
  117. package/dist/openapi/models/index.d.ts +10 -0
  118. package/dist/openapi/models/index.d.ts.map +1 -1
  119. package/dist/openapi/models/index.js +10 -0
  120. package/dist/openapi/models/index.js.map +1 -1
  121. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
  122. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
  123. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
  124. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
  125. package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
  126. package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
  127. package/dist/openapi/models/list-seaweed-fspolicies200-response.js +16 -0
  128. package/dist/openapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
  129. package/package.json +1 -1
  130. package/src/adminapi/.openapi-generator/FILES +12 -0
  131. package/src/adminapi/api.ts +2 -0
  132. package/src/adminapi/apis/account-api.ts +1623 -55
  133. package/src/adminapi/apis/cluster-jar-api.ts +1211 -0
  134. package/src/adminapi/apis/seaweedfs-api.ts +1644 -0
  135. package/src/adminapi/apis/shared-api.ts +2733 -24
  136. package/src/adminapi/models/bind-seaweed-fspolicies-request.ts +30 -0
  137. package/src/adminapi/models/cluster-jar-config.ts +66 -0
  138. package/src/adminapi/models/cluster-jar-kind.ts +31 -0
  139. package/src/adminapi/models/cluster-jar-list.ts +39 -0
  140. package/src/adminapi/models/cluster-jar-package.ts +122 -0
  141. package/src/adminapi/models/cluster-jar-publish.ts +30 -0
  142. package/src/adminapi/models/cluster-jar-replica.ts +66 -0
  143. package/src/adminapi/models/cluster-jar-task.ts +30 -0
  144. package/src/adminapi/models/index.ts +10 -0
  145. package/src/adminapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
  146. package/src/adminapi/models/list-seaweed-fspolicies200-response.ts +33 -0
  147. package/src/adminapi.yaml +2362 -1265
  148. package/src/openapi/.openapi-generator/FILES +12 -0
  149. package/src/openapi/api.ts +2 -0
  150. package/src/openapi/apis/account-api.ts +1623 -55
  151. package/src/openapi/apis/cluster-jar-api.ts +1211 -0
  152. package/src/openapi/apis/seaweedfs-api.ts +1644 -0
  153. package/src/openapi/apis/shared-api.ts +2733 -24
  154. package/src/openapi/models/bind-seaweed-fspolicies-request.ts +30 -0
  155. package/src/openapi/models/cluster-jar-config.ts +66 -0
  156. package/src/openapi/models/cluster-jar-kind.ts +31 -0
  157. package/src/openapi/models/cluster-jar-list.ts +39 -0
  158. package/src/openapi/models/cluster-jar-package.ts +122 -0
  159. package/src/openapi/models/cluster-jar-publish.ts +30 -0
  160. package/src/openapi/models/cluster-jar-replica.ts +66 -0
  161. package/src/openapi/models/cluster-jar-task.ts +30 -0
  162. package/src/openapi/models/index.ts +10 -0
  163. package/src/openapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
  164. package/src/openapi/models/list-seaweed-fspolicies200-response.ts +33 -0
  165. package/src/openapi.yaml +2483 -1386
@@ -279,6 +279,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
279
279
  options: localVarRequestOptions,
280
280
  };
281
281
  },
282
+ /**
283
+ *
284
+ * @summary Archive a JAR while retaining published files and startup synchronization
285
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
286
+ * @param {string} orgName
287
+ * @param {string} clusterName
288
+ * @param {string} jarId
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ */
292
+ archiveClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
293
+ // verify required parameter 'engineName' is not null or undefined
294
+ (0, common_1.assertParamExists)('archiveClusterJar', 'engineName', engineName);
295
+ // verify required parameter 'orgName' is not null or undefined
296
+ (0, common_1.assertParamExists)('archiveClusterJar', 'orgName', orgName);
297
+ // verify required parameter 'clusterName' is not null or undefined
298
+ (0, common_1.assertParamExists)('archiveClusterJar', 'clusterName', clusterName);
299
+ // verify required parameter 'jarId' is not null or undefined
300
+ (0, common_1.assertParamExists)('archiveClusterJar', 'jarId', jarId);
301
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
302
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
303
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
304
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
305
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
306
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
307
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
308
+ let baseOptions;
309
+ if (configuration) {
310
+ baseOptions = configuration.baseOptions;
311
+ }
312
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
313
+ const localVarHeaderParameter = {};
314
+ const localVarQueryParameter = {};
315
+ // authentication BearerToken required
316
+ // http bearer authentication required
317
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
318
+ // authentication DigestAuth required
319
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
320
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
321
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
322
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
323
+ return {
324
+ url: (0, common_1.toPathString)(localVarUrlObj),
325
+ options: localVarRequestOptions,
326
+ };
327
+ },
282
328
  /**
283
329
  * list the service version of the engine
284
330
  * @summary list the service version of the engine
@@ -481,6 +527,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
481
527
  options: localVarRequestOptions,
482
528
  };
483
529
  },
530
+ /**
531
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
532
+ * @summary bindSeaweedFSPolicies
533
+ * @param {string} orgName
534
+ * @param {string} clusterName
535
+ * @param {string} accountName
536
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
537
+ * @param {*} [options] Override http request option.
538
+ * @throws {RequiredError}
539
+ */
540
+ bindSeaweedFSPolicies: async (orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options = {}) => {
541
+ // verify required parameter 'orgName' is not null or undefined
542
+ (0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'orgName', orgName);
543
+ // verify required parameter 'clusterName' is not null or undefined
544
+ (0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'clusterName', clusterName);
545
+ // verify required parameter 'accountName' is not null or undefined
546
+ (0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'accountName', accountName);
547
+ // verify required parameter 'bindSeaweedFSPoliciesRequest' is not null or undefined
548
+ (0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'bindSeaweedFSPoliciesRequest', bindSeaweedFSPoliciesRequest);
549
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies`
550
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
551
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
552
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
553
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
554
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
555
+ let baseOptions;
556
+ if (configuration) {
557
+ baseOptions = configuration.baseOptions;
558
+ }
559
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
560
+ const localVarHeaderParameter = {};
561
+ const localVarQueryParameter = {};
562
+ // authentication BearerToken required
563
+ // http bearer authentication required
564
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
565
+ // authentication DigestAuth required
566
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
567
+ localVarHeaderParameter['Content-Type'] = 'application/json';
568
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
569
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
570
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
571
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bindSeaweedFSPoliciesRequest, localVarRequestOptions, configuration);
572
+ return {
573
+ url: (0, common_1.toPathString)(localVarUrlObj),
574
+ options: localVarRequestOptions,
575
+ };
576
+ },
484
577
  /**
485
578
  *
486
579
  * @summary build backup object with a existing backup directory
@@ -1526,6 +1619,96 @@ const SharedApiAxiosParamCreator = function (configuration) {
1526
1619
  options: localVarRequestOptions,
1527
1620
  };
1528
1621
  },
1622
+ /**
1623
+ * 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.
1624
+ * @summary createSeaweedFSAccessKey
1625
+ * @param {string} orgName
1626
+ * @param {string} clusterName
1627
+ * @param {string} accountName
1628
+ * @param {Account} account
1629
+ * @param {*} [options] Override http request option.
1630
+ * @throws {RequiredError}
1631
+ */
1632
+ createSeaweedFSAccessKey: async (orgName, clusterName, accountName, account, options = {}) => {
1633
+ // verify required parameter 'orgName' is not null or undefined
1634
+ (0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'orgName', orgName);
1635
+ // verify required parameter 'clusterName' is not null or undefined
1636
+ (0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'clusterName', clusterName);
1637
+ // verify required parameter 'accountName' is not null or undefined
1638
+ (0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'accountName', accountName);
1639
+ // verify required parameter 'account' is not null or undefined
1640
+ (0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'account', account);
1641
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys`
1642
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1643
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1644
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
1645
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1646
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1647
+ let baseOptions;
1648
+ if (configuration) {
1649
+ baseOptions = configuration.baseOptions;
1650
+ }
1651
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1652
+ const localVarHeaderParameter = {};
1653
+ const localVarQueryParameter = {};
1654
+ // authentication BearerToken required
1655
+ // http bearer authentication required
1656
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1657
+ // authentication DigestAuth required
1658
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1659
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1660
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1661
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1662
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1663
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(account, localVarRequestOptions, configuration);
1664
+ return {
1665
+ url: (0, common_1.toPathString)(localVarUrlObj),
1666
+ options: localVarRequestOptions,
1667
+ };
1668
+ },
1669
+ /**
1670
+ * 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.
1671
+ * @summary createSeaweedFSAccount
1672
+ * @param {string} orgName name of the organization
1673
+ * @param {string} clusterName name of the cluster
1674
+ * @param {Account} body
1675
+ * @param {*} [options] Override http request option.
1676
+ * @throws {RequiredError}
1677
+ */
1678
+ createSeaweedFSAccount: async (orgName, clusterName, body, options = {}) => {
1679
+ // verify required parameter 'orgName' is not null or undefined
1680
+ (0, common_1.assertParamExists)('createSeaweedFSAccount', 'orgName', orgName);
1681
+ // verify required parameter 'clusterName' is not null or undefined
1682
+ (0, common_1.assertParamExists)('createSeaweedFSAccount', 'clusterName', clusterName);
1683
+ // verify required parameter 'body' is not null or undefined
1684
+ (0, common_1.assertParamExists)('createSeaweedFSAccount', 'body', body);
1685
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
1686
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1687
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1688
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1689
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1690
+ let baseOptions;
1691
+ if (configuration) {
1692
+ baseOptions = configuration.baseOptions;
1693
+ }
1694
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1695
+ const localVarHeaderParameter = {};
1696
+ const localVarQueryParameter = {};
1697
+ // authentication BearerToken required
1698
+ // http bearer authentication required
1699
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1700
+ // authentication DigestAuth required
1701
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1702
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1703
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1704
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1705
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1706
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
1707
+ return {
1708
+ url: (0, common_1.toPathString)(localVarUrlObj),
1709
+ options: localVarRequestOptions,
1710
+ };
1711
+ },
1529
1712
  /**
1530
1713
  * create a MinIO service account access key
1531
1714
  * @summary Create MinIO access key
@@ -2068,6 +2251,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
2068
2251
  options: localVarRequestOptions,
2069
2252
  };
2070
2253
  },
2254
+ /**
2255
+ *
2256
+ * @summary Delete an unpublished JAR version
2257
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
2258
+ * @param {string} orgName
2259
+ * @param {string} clusterName
2260
+ * @param {string} jarId
2261
+ * @param {*} [options] Override http request option.
2262
+ * @throws {RequiredError}
2263
+ */
2264
+ deleteClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
2265
+ // verify required parameter 'engineName' is not null or undefined
2266
+ (0, common_1.assertParamExists)('deleteClusterJar', 'engineName', engineName);
2267
+ // verify required parameter 'orgName' is not null or undefined
2268
+ (0, common_1.assertParamExists)('deleteClusterJar', 'orgName', orgName);
2269
+ // verify required parameter 'clusterName' is not null or undefined
2270
+ (0, common_1.assertParamExists)('deleteClusterJar', 'clusterName', clusterName);
2271
+ // verify required parameter 'jarId' is not null or undefined
2272
+ (0, common_1.assertParamExists)('deleteClusterJar', 'jarId', jarId);
2273
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
2274
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
2275
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2276
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2277
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
2278
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2279
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2280
+ let baseOptions;
2281
+ if (configuration) {
2282
+ baseOptions = configuration.baseOptions;
2283
+ }
2284
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2285
+ const localVarHeaderParameter = {};
2286
+ const localVarQueryParameter = {};
2287
+ // authentication BearerToken required
2288
+ // http bearer authentication required
2289
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2290
+ // authentication DigestAuth required
2291
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2292
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2293
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2294
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2295
+ return {
2296
+ url: (0, common_1.toPathString)(localVarUrlObj),
2297
+ options: localVarRequestOptions,
2298
+ };
2299
+ },
2071
2300
  /**
2072
2301
  *
2073
2302
  * @summary delete the datasource
@@ -2990,6 +3219,136 @@ const SharedApiAxiosParamCreator = function (configuration) {
2990
3219
  options: localVarRequestOptions,
2991
3220
  };
2992
3221
  },
3222
+ /**
3223
+ *
3224
+ * @summary deleteSeaweedFSAccessKey
3225
+ * @param {string} orgName
3226
+ * @param {string} clusterName
3227
+ * @param {string} accountName
3228
+ * @param {string} accessKey
3229
+ * @param {*} [options] Override http request option.
3230
+ * @throws {RequiredError}
3231
+ */
3232
+ deleteSeaweedFSAccessKey: async (orgName, clusterName, accountName, accessKey, options = {}) => {
3233
+ // verify required parameter 'orgName' is not null or undefined
3234
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'orgName', orgName);
3235
+ // verify required parameter 'clusterName' is not null or undefined
3236
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'clusterName', clusterName);
3237
+ // verify required parameter 'accountName' is not null or undefined
3238
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'accountName', accountName);
3239
+ // verify required parameter 'accessKey' is not null or undefined
3240
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'accessKey', accessKey);
3241
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}`
3242
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3243
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3244
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)))
3245
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
3246
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3247
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3248
+ let baseOptions;
3249
+ if (configuration) {
3250
+ baseOptions = configuration.baseOptions;
3251
+ }
3252
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3253
+ const localVarHeaderParameter = {};
3254
+ const localVarQueryParameter = {};
3255
+ // authentication BearerToken required
3256
+ // http bearer authentication required
3257
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3258
+ // authentication DigestAuth required
3259
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3260
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3261
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3262
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3263
+ return {
3264
+ url: (0, common_1.toPathString)(localVarUrlObj),
3265
+ options: localVarRequestOptions,
3266
+ };
3267
+ },
3268
+ /**
3269
+ * delete an account in cluster
3270
+ * @summary deleteSeaweedFSAccount
3271
+ * @param {string} orgName name of the organization
3272
+ * @param {string} clusterName name of the cluster
3273
+ * @param {string} accountName name of the account
3274
+ * @param {*} [options] Override http request option.
3275
+ * @throws {RequiredError}
3276
+ */
3277
+ deleteSeaweedFSAccount: async (orgName, clusterName, accountName, options = {}) => {
3278
+ // verify required parameter 'orgName' is not null or undefined
3279
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccount', 'orgName', orgName);
3280
+ // verify required parameter 'clusterName' is not null or undefined
3281
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccount', 'clusterName', clusterName);
3282
+ // verify required parameter 'accountName' is not null or undefined
3283
+ (0, common_1.assertParamExists)('deleteSeaweedFSAccount', 'accountName', accountName);
3284
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
3285
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3286
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3287
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
3288
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3289
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3290
+ let baseOptions;
3291
+ if (configuration) {
3292
+ baseOptions = configuration.baseOptions;
3293
+ }
3294
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3295
+ const localVarHeaderParameter = {};
3296
+ const localVarQueryParameter = {};
3297
+ // authentication BearerToken required
3298
+ // http bearer authentication required
3299
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3300
+ // authentication DigestAuth required
3301
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3302
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3303
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3304
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3305
+ return {
3306
+ url: (0, common_1.toPathString)(localVarUrlObj),
3307
+ options: localVarRequestOptions,
3308
+ };
3309
+ },
3310
+ /**
3311
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
3312
+ * @summary deleteSeaweedFSPolicy
3313
+ * @param {string} orgName
3314
+ * @param {string} clusterName
3315
+ * @param {string} policyName
3316
+ * @param {*} [options] Override http request option.
3317
+ * @throws {RequiredError}
3318
+ */
3319
+ deleteSeaweedFSPolicy: async (orgName, clusterName, policyName, options = {}) => {
3320
+ // verify required parameter 'orgName' is not null or undefined
3321
+ (0, common_1.assertParamExists)('deleteSeaweedFSPolicy', 'orgName', orgName);
3322
+ // verify required parameter 'clusterName' is not null or undefined
3323
+ (0, common_1.assertParamExists)('deleteSeaweedFSPolicy', 'clusterName', clusterName);
3324
+ // verify required parameter 'policyName' is not null or undefined
3325
+ (0, common_1.assertParamExists)('deleteSeaweedFSPolicy', 'policyName', policyName);
3326
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
3327
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3328
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3329
+ .replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
3330
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3331
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3332
+ let baseOptions;
3333
+ if (configuration) {
3334
+ baseOptions = configuration.baseOptions;
3335
+ }
3336
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3337
+ const localVarHeaderParameter = {};
3338
+ const localVarQueryParameter = {};
3339
+ // authentication BearerToken required
3340
+ // http bearer authentication required
3341
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3342
+ // authentication DigestAuth required
3343
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3344
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3345
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3346
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3347
+ return {
3348
+ url: (0, common_1.toPathString)(localVarUrlObj),
3349
+ options: localVarRequestOptions,
3350
+ };
3351
+ },
2993
3352
  /**
2994
3353
  * delete a MinIO service account access key
2995
3354
  * @summary Delete MinIO access key
@@ -3170,6 +3529,57 @@ const SharedApiAxiosParamCreator = function (configuration) {
3170
3529
  options: localVarRequestOptions,
3171
3530
  };
3172
3531
  },
3532
+ /**
3533
+ *
3534
+ * @summary Publish a JAR with optimistic manifest version checking
3535
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3536
+ * @param {string} orgName
3537
+ * @param {string} clusterName
3538
+ * @param {string} jarId
3539
+ * @param {ClusterJarPublish} clusterJarPublish
3540
+ * @param {*} [options] Override http request option.
3541
+ * @throws {RequiredError}
3542
+ */
3543
+ distributeClusterJar: async (engineName, orgName, clusterName, jarId, clusterJarPublish, options = {}) => {
3544
+ // verify required parameter 'engineName' is not null or undefined
3545
+ (0, common_1.assertParamExists)('distributeClusterJar', 'engineName', engineName);
3546
+ // verify required parameter 'orgName' is not null or undefined
3547
+ (0, common_1.assertParamExists)('distributeClusterJar', 'orgName', orgName);
3548
+ // verify required parameter 'clusterName' is not null or undefined
3549
+ (0, common_1.assertParamExists)('distributeClusterJar', 'clusterName', clusterName);
3550
+ // verify required parameter 'jarId' is not null or undefined
3551
+ (0, common_1.assertParamExists)('distributeClusterJar', 'jarId', jarId);
3552
+ // verify required parameter 'clusterJarPublish' is not null or undefined
3553
+ (0, common_1.assertParamExists)('distributeClusterJar', 'clusterJarPublish', clusterJarPublish);
3554
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
3555
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3556
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3557
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3558
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3559
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3560
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3561
+ let baseOptions;
3562
+ if (configuration) {
3563
+ baseOptions = configuration.baseOptions;
3564
+ }
3565
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3566
+ const localVarHeaderParameter = {};
3567
+ const localVarQueryParameter = {};
3568
+ // authentication BearerToken required
3569
+ // http bearer authentication required
3570
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3571
+ // authentication DigestAuth required
3572
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3573
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3574
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3575
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3576
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3577
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clusterJarPublish, localVarRequestOptions, configuration);
3578
+ return {
3579
+ url: (0, common_1.toPathString)(localVarUrlObj),
3580
+ options: localVarRequestOptions,
3581
+ };
3582
+ },
3173
3583
  /**
3174
3584
  *
3175
3585
  * @summary Restore current cluster or instance
@@ -3251,6 +3661,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
3251
3661
  options: localVarRequestOptions,
3252
3662
  };
3253
3663
  },
3664
+ /**
3665
+ *
3666
+ * @summary Download the original JAR
3667
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
3668
+ * @param {string} orgName
3669
+ * @param {string} clusterName
3670
+ * @param {string} jarId
3671
+ * @param {*} [options] Override http request option.
3672
+ * @throws {RequiredError}
3673
+ */
3674
+ downloadClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
3675
+ // verify required parameter 'engineName' is not null or undefined
3676
+ (0, common_1.assertParamExists)('downloadClusterJar', 'engineName', engineName);
3677
+ // verify required parameter 'orgName' is not null or undefined
3678
+ (0, common_1.assertParamExists)('downloadClusterJar', 'orgName', orgName);
3679
+ // verify required parameter 'clusterName' is not null or undefined
3680
+ (0, common_1.assertParamExists)('downloadClusterJar', 'clusterName', clusterName);
3681
+ // verify required parameter 'jarId' is not null or undefined
3682
+ (0, common_1.assertParamExists)('downloadClusterJar', 'jarId', jarId);
3683
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
3684
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
3685
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3686
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3687
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
3688
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3689
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3690
+ let baseOptions;
3691
+ if (configuration) {
3692
+ baseOptions = configuration.baseOptions;
3693
+ }
3694
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3695
+ const localVarHeaderParameter = {};
3696
+ const localVarQueryParameter = {};
3697
+ // authentication BearerToken required
3698
+ // http bearer authentication required
3699
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3700
+ // authentication DigestAuth required
3701
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3702
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3703
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3704
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3705
+ return {
3706
+ url: (0, common_1.toPathString)(localVarUrlObj),
3707
+ options: localVarRequestOptions,
3708
+ };
3709
+ },
3254
3710
  /**
3255
3711
  *
3256
3712
  * @summary Download multiple backup files
@@ -4323,6 +4779,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
4323
4779
  options: localVarRequestOptions,
4324
4780
  };
4325
4781
  },
4782
+ /**
4783
+ *
4784
+ * @summary Get external JAR capability and configuration
4785
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
4786
+ * @param {string} orgName
4787
+ * @param {string} clusterName
4788
+ * @param {*} [options] Override http request option.
4789
+ * @throws {RequiredError}
4790
+ */
4791
+ getClusterJarConfig: async (engineName, orgName, clusterName, options = {}) => {
4792
+ // verify required parameter 'engineName' is not null or undefined
4793
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'engineName', engineName);
4794
+ // verify required parameter 'orgName' is not null or undefined
4795
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'orgName', orgName);
4796
+ // verify required parameter 'clusterName' is not null or undefined
4797
+ (0, common_1.assertParamExists)('getClusterJarConfig', 'clusterName', clusterName);
4798
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
4799
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
4800
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4801
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4802
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4803
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4804
+ let baseOptions;
4805
+ if (configuration) {
4806
+ baseOptions = configuration.baseOptions;
4807
+ }
4808
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4809
+ const localVarHeaderParameter = {};
4810
+ const localVarQueryParameter = {};
4811
+ // authentication BearerToken required
4812
+ // http bearer authentication required
4813
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4814
+ // authentication DigestAuth required
4815
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4816
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4817
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4818
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4819
+ return {
4820
+ url: (0, common_1.toPathString)(localVarUrlObj),
4821
+ options: localVarRequestOptions,
4822
+ };
4823
+ },
4326
4824
  /**
4327
4825
  *
4328
4826
  * @summary Get cluster parameter template
@@ -5747,17 +6245,65 @@ const SharedApiAxiosParamCreator = function (configuration) {
5747
6245
  * @param {*} [options] Override http request option.
5748
6246
  * @throws {RequiredError}
5749
6247
  */
5750
- getRootAccountPassword: async (engineName, orgName, clusterName, accountName, component, options = {}) => {
5751
- // verify required parameter 'engineName' is not null or undefined
5752
- (0, common_1.assertParamExists)('getRootAccountPassword', 'engineName', engineName);
6248
+ getRootAccountPassword: async (engineName, orgName, clusterName, accountName, component, options = {}) => {
6249
+ // verify required parameter 'engineName' is not null or undefined
6250
+ (0, common_1.assertParamExists)('getRootAccountPassword', 'engineName', engineName);
6251
+ // verify required parameter 'orgName' is not null or undefined
6252
+ (0, common_1.assertParamExists)('getRootAccountPassword', 'orgName', orgName);
6253
+ // verify required parameter 'clusterName' is not null or undefined
6254
+ (0, common_1.assertParamExists)('getRootAccountPassword', 'clusterName', clusterName);
6255
+ // verify required parameter 'accountName' is not null or undefined
6256
+ (0, common_1.assertParamExists)('getRootAccountPassword', 'accountName', accountName);
6257
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/root-password`
6258
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6259
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
6260
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
6261
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6262
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6263
+ let baseOptions;
6264
+ if (configuration) {
6265
+ baseOptions = configuration.baseOptions;
6266
+ }
6267
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6268
+ const localVarHeaderParameter = {};
6269
+ const localVarQueryParameter = {};
6270
+ // authentication BearerToken required
6271
+ // http bearer authentication required
6272
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6273
+ // authentication DigestAuth required
6274
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
6275
+ if (accountName !== undefined) {
6276
+ localVarQueryParameter['accountName'] = accountName;
6277
+ }
6278
+ if (component !== undefined) {
6279
+ localVarQueryParameter['component'] = component;
6280
+ }
6281
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6282
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6283
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6284
+ return {
6285
+ url: (0, common_1.toPathString)(localVarUrlObj),
6286
+ options: localVarRequestOptions,
6287
+ };
6288
+ },
6289
+ /**
6290
+ * get root account password
6291
+ * @summary getRootSeaweedFSAccountPassword
6292
+ * @param {string} orgName name of the Org
6293
+ * @param {string} clusterName name of the Cluster
6294
+ * @param {string} accountName name of the account
6295
+ * @param {string} [component] name of the component
6296
+ * @param {*} [options] Override http request option.
6297
+ * @throws {RequiredError}
6298
+ */
6299
+ getRootSeaweedFSAccountPassword: async (orgName, clusterName, accountName, component, options = {}) => {
5753
6300
  // verify required parameter 'orgName' is not null or undefined
5754
- (0, common_1.assertParamExists)('getRootAccountPassword', 'orgName', orgName);
6301
+ (0, common_1.assertParamExists)('getRootSeaweedFSAccountPassword', 'orgName', orgName);
5755
6302
  // verify required parameter 'clusterName' is not null or undefined
5756
- (0, common_1.assertParamExists)('getRootAccountPassword', 'clusterName', clusterName);
6303
+ (0, common_1.assertParamExists)('getRootSeaweedFSAccountPassword', 'clusterName', clusterName);
5757
6304
  // verify required parameter 'accountName' is not null or undefined
5758
- (0, common_1.assertParamExists)('getRootAccountPassword', 'accountName', accountName);
5759
- const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/root-password`
5760
- .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
6305
+ (0, common_1.assertParamExists)('getRootSeaweedFSAccountPassword', 'accountName', accountName);
6306
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password`
5761
6307
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5762
6308
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
5763
6309
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -7067,6 +7613,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
7067
7613
  options: localVarRequestOptions,
7068
7614
  };
7069
7615
  },
7616
+ /**
7617
+ *
7618
+ * @summary List external JAR versions with metadata and per-instance synchronization state
7619
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
7620
+ * @param {string} orgName
7621
+ * @param {string} clusterName
7622
+ * @param {*} [options] Override http request option.
7623
+ * @throws {RequiredError}
7624
+ */
7625
+ listClusterJars: async (engineName, orgName, clusterName, options = {}) => {
7626
+ // verify required parameter 'engineName' is not null or undefined
7627
+ (0, common_1.assertParamExists)('listClusterJars', 'engineName', engineName);
7628
+ // verify required parameter 'orgName' is not null or undefined
7629
+ (0, common_1.assertParamExists)('listClusterJars', 'orgName', orgName);
7630
+ // verify required parameter 'clusterName' is not null or undefined
7631
+ (0, common_1.assertParamExists)('listClusterJars', 'clusterName', clusterName);
7632
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
7633
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
7634
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
7635
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
7636
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7637
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7638
+ let baseOptions;
7639
+ if (configuration) {
7640
+ baseOptions = configuration.baseOptions;
7641
+ }
7642
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7643
+ const localVarHeaderParameter = {};
7644
+ const localVarQueryParameter = {};
7645
+ // authentication BearerToken required
7646
+ // http bearer authentication required
7647
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7648
+ // authentication DigestAuth required
7649
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
7650
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7651
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7652
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7653
+ return {
7654
+ url: (0, common_1.toPathString)(localVarUrlObj),
7655
+ options: localVarRequestOptions,
7656
+ };
7657
+ },
7070
7658
  /**
7071
7659
  *
7072
7660
  * @summary List restore tasks
@@ -9081,6 +9669,82 @@ const SharedApiAxiosParamCreator = function (configuration) {
9081
9669
  options: localVarRequestOptions,
9082
9670
  };
9083
9671
  },
9672
+ /**
9673
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
9674
+ * @summary listSeaweedFSAccounts
9675
+ * @param {string} orgName name of the organization
9676
+ * @param {string} clusterName name of the cluster
9677
+ * @param {*} [options] Override http request option.
9678
+ * @throws {RequiredError}
9679
+ */
9680
+ listSeaweedFSAccounts: async (orgName, clusterName, options = {}) => {
9681
+ // verify required parameter 'orgName' is not null or undefined
9682
+ (0, common_1.assertParamExists)('listSeaweedFSAccounts', 'orgName', orgName);
9683
+ // verify required parameter 'clusterName' is not null or undefined
9684
+ (0, common_1.assertParamExists)('listSeaweedFSAccounts', 'clusterName', clusterName);
9685
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
9686
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9687
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9688
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9689
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9690
+ let baseOptions;
9691
+ if (configuration) {
9692
+ baseOptions = configuration.baseOptions;
9693
+ }
9694
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9695
+ const localVarHeaderParameter = {};
9696
+ const localVarQueryParameter = {};
9697
+ // authentication BearerToken required
9698
+ // http bearer authentication required
9699
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9700
+ // authentication DigestAuth required
9701
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
9702
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9703
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9704
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9705
+ return {
9706
+ url: (0, common_1.toPathString)(localVarUrlObj),
9707
+ options: localVarRequestOptions,
9708
+ };
9709
+ },
9710
+ /**
9711
+ *
9712
+ * @summary listSeaweedFSPolicies
9713
+ * @param {string} orgName
9714
+ * @param {string} clusterName
9715
+ * @param {*} [options] Override http request option.
9716
+ * @throws {RequiredError}
9717
+ */
9718
+ listSeaweedFSPolicies: async (orgName, clusterName, options = {}) => {
9719
+ // verify required parameter 'orgName' is not null or undefined
9720
+ (0, common_1.assertParamExists)('listSeaweedFSPolicies', 'orgName', orgName);
9721
+ // verify required parameter 'clusterName' is not null or undefined
9722
+ (0, common_1.assertParamExists)('listSeaweedFSPolicies', 'clusterName', clusterName);
9723
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies`
9724
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9725
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9726
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9727
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9728
+ let baseOptions;
9729
+ if (configuration) {
9730
+ baseOptions = configuration.baseOptions;
9731
+ }
9732
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9733
+ const localVarHeaderParameter = {};
9734
+ const localVarQueryParameter = {};
9735
+ // authentication BearerToken required
9736
+ // http bearer authentication required
9737
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9738
+ // authentication DigestAuth required
9739
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
9740
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9741
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9742
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9743
+ return {
9744
+ url: (0, common_1.toPathString)(localVarUrlObj),
9745
+ options: localVarRequestOptions,
9746
+ };
9747
+ },
9084
9748
  /**
9085
9749
  * list MinIO service account access keys
9086
9750
  * @summary List MinIO access keys
@@ -9987,6 +10651,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
9987
10651
  options: localVarRequestOptions,
9988
10652
  };
9989
10653
  },
10654
+ /**
10655
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
10656
+ * @summary putSeaweedFSPolicy
10657
+ * @param {string} orgName
10658
+ * @param {string} clusterName
10659
+ * @param {string} policyName
10660
+ * @param {{ [key: string]: any; }} requestBody
10661
+ * @param {*} [options] Override http request option.
10662
+ * @throws {RequiredError}
10663
+ */
10664
+ putSeaweedFSPolicy: async (orgName, clusterName, policyName, requestBody, options = {}) => {
10665
+ // verify required parameter 'orgName' is not null or undefined
10666
+ (0, common_1.assertParamExists)('putSeaweedFSPolicy', 'orgName', orgName);
10667
+ // verify required parameter 'clusterName' is not null or undefined
10668
+ (0, common_1.assertParamExists)('putSeaweedFSPolicy', 'clusterName', clusterName);
10669
+ // verify required parameter 'policyName' is not null or undefined
10670
+ (0, common_1.assertParamExists)('putSeaweedFSPolicy', 'policyName', policyName);
10671
+ // verify required parameter 'requestBody' is not null or undefined
10672
+ (0, common_1.assertParamExists)('putSeaweedFSPolicy', 'requestBody', requestBody);
10673
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
10674
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
10675
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
10676
+ .replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
10677
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10678
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10679
+ let baseOptions;
10680
+ if (configuration) {
10681
+ baseOptions = configuration.baseOptions;
10682
+ }
10683
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
10684
+ const localVarHeaderParameter = {};
10685
+ const localVarQueryParameter = {};
10686
+ // authentication BearerToken required
10687
+ // http bearer authentication required
10688
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
10689
+ // authentication DigestAuth required
10690
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
10691
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10692
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10693
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10694
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10695
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
10696
+ return {
10697
+ url: (0, common_1.toPathString)(localVarUrlObj),
10698
+ options: localVarRequestOptions,
10699
+ };
10700
+ },
9990
10701
  /**
9991
10702
  *
9992
10703
  * @summary create a SQL query
@@ -11677,6 +12388,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
11677
12388
  options: localVarRequestOptions,
11678
12389
  };
11679
12390
  },
12391
+ /**
12392
+ *
12393
+ * @summary Retry synchronization of published JARs
12394
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
12395
+ * @param {string} orgName
12396
+ * @param {string} clusterName
12397
+ * @param {string} jarId
12398
+ * @param {*} [options] Override http request option.
12399
+ * @throws {RequiredError}
12400
+ */
12401
+ retryClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
12402
+ // verify required parameter 'engineName' is not null or undefined
12403
+ (0, common_1.assertParamExists)('retryClusterJar', 'engineName', engineName);
12404
+ // verify required parameter 'orgName' is not null or undefined
12405
+ (0, common_1.assertParamExists)('retryClusterJar', 'orgName', orgName);
12406
+ // verify required parameter 'clusterName' is not null or undefined
12407
+ (0, common_1.assertParamExists)('retryClusterJar', 'clusterName', clusterName);
12408
+ // verify required parameter 'jarId' is not null or undefined
12409
+ (0, common_1.assertParamExists)('retryClusterJar', 'jarId', jarId);
12410
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
12411
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
12412
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
12413
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
12414
+ .replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
12415
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12416
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12417
+ let baseOptions;
12418
+ if (configuration) {
12419
+ baseOptions = configuration.baseOptions;
12420
+ }
12421
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
12422
+ const localVarHeaderParameter = {};
12423
+ const localVarQueryParameter = {};
12424
+ // authentication BearerToken required
12425
+ // http bearer authentication required
12426
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
12427
+ // authentication DigestAuth required
12428
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
12429
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12430
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12431
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12432
+ return {
12433
+ url: (0, common_1.toPathString)(localVarUrlObj),
12434
+ options: localVarRequestOptions,
12435
+ };
12436
+ },
11680
12437
  /**
11681
12438
  *
11682
12439
  * @summary Revoke privileges from a ClickHouse role
@@ -13398,7 +14155,101 @@ const SharedApiAxiosParamCreator = function (configuration) {
13398
14155
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13399
14156
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13400
14157
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13401
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(roleUpdate, localVarRequestOptions, configuration);
14158
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(roleUpdate, localVarRequestOptions, configuration);
14159
+ return {
14160
+ url: (0, common_1.toPathString)(localVarUrlObj),
14161
+ options: localVarRequestOptions,
14162
+ };
14163
+ },
14164
+ /**
14165
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
14166
+ * @summary updateSeaweedFSAccount
14167
+ * @param {string} orgName name of the organization
14168
+ * @param {string} clusterName name of the cluster
14169
+ * @param {string} accountName name of the account
14170
+ * @param {Account} body
14171
+ * @param {*} [options] Override http request option.
14172
+ * @throws {RequiredError}
14173
+ */
14174
+ updateSeaweedFSAccount: async (orgName, clusterName, accountName, body, options = {}) => {
14175
+ // verify required parameter 'orgName' is not null or undefined
14176
+ (0, common_1.assertParamExists)('updateSeaweedFSAccount', 'orgName', orgName);
14177
+ // verify required parameter 'clusterName' is not null or undefined
14178
+ (0, common_1.assertParamExists)('updateSeaweedFSAccount', 'clusterName', clusterName);
14179
+ // verify required parameter 'accountName' is not null or undefined
14180
+ (0, common_1.assertParamExists)('updateSeaweedFSAccount', 'accountName', accountName);
14181
+ // verify required parameter 'body' is not null or undefined
14182
+ (0, common_1.assertParamExists)('updateSeaweedFSAccount', 'body', body);
14183
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
14184
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14185
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14186
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
14187
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14188
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14189
+ let baseOptions;
14190
+ if (configuration) {
14191
+ baseOptions = configuration.baseOptions;
14192
+ }
14193
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
14194
+ const localVarHeaderParameter = {};
14195
+ const localVarQueryParameter = {};
14196
+ // authentication BearerToken required
14197
+ // http bearer authentication required
14198
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14199
+ // authentication DigestAuth required
14200
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
14201
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14202
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14203
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14204
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14205
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
14206
+ return {
14207
+ url: (0, common_1.toPathString)(localVarUrlObj),
14208
+ options: localVarRequestOptions,
14209
+ };
14210
+ },
14211
+ /**
14212
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
14213
+ * @summary updateSeaweedFSAccountPrivileges
14214
+ * @param {string} orgName name of the Org
14215
+ * @param {string} clusterName name of the Cluster
14216
+ * @param {string} accountName name of the account
14217
+ * @param {Array<PrivilegeListItem>} body
14218
+ * @param {*} [options] Override http request option.
14219
+ * @throws {RequiredError}
14220
+ */
14221
+ updateSeaweedFSAccountPrivileges: async (orgName, clusterName, accountName, body, options = {}) => {
14222
+ // verify required parameter 'orgName' is not null or undefined
14223
+ (0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'orgName', orgName);
14224
+ // verify required parameter 'clusterName' is not null or undefined
14225
+ (0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'clusterName', clusterName);
14226
+ // verify required parameter 'accountName' is not null or undefined
14227
+ (0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'accountName', accountName);
14228
+ // verify required parameter 'body' is not null or undefined
14229
+ (0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'body', body);
14230
+ const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
14231
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14232
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
14233
+ .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
14234
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14235
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14236
+ let baseOptions;
14237
+ if (configuration) {
14238
+ baseOptions = configuration.baseOptions;
14239
+ }
14240
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
14241
+ const localVarHeaderParameter = {};
14242
+ const localVarQueryParameter = {};
14243
+ // authentication BearerToken required
14244
+ // http bearer authentication required
14245
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14246
+ // authentication DigestAuth required
14247
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
14248
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14249
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14250
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14251
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14252
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
13402
14253
  return {
13403
14254
  url: (0, common_1.toPathString)(localVarUrlObj),
13404
14255
  options: localVarRequestOptions,
@@ -13626,6 +14477,75 @@ const SharedApiAxiosParamCreator = function (configuration) {
13626
14477
  options: localVarRequestOptions,
13627
14478
  };
13628
14479
  },
14480
+ /**
14481
+ *
14482
+ * @summary Upload an immutable JAR version
14483
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
14484
+ * @param {string} orgName
14485
+ * @param {string} clusterName
14486
+ * @param {string} idempotencyKey
14487
+ * @param {string} name
14488
+ * @param {ClusterJarKind} kind
14489
+ * @param {File} file
14490
+ * @param {*} [options] Override http request option.
14491
+ * @throws {RequiredError}
14492
+ */
14493
+ uploadClusterJar: async (engineName, orgName, clusterName, idempotencyKey, name, kind, file, options = {}) => {
14494
+ // verify required parameter 'engineName' is not null or undefined
14495
+ (0, common_1.assertParamExists)('uploadClusterJar', 'engineName', engineName);
14496
+ // verify required parameter 'orgName' is not null or undefined
14497
+ (0, common_1.assertParamExists)('uploadClusterJar', 'orgName', orgName);
14498
+ // verify required parameter 'clusterName' is not null or undefined
14499
+ (0, common_1.assertParamExists)('uploadClusterJar', 'clusterName', clusterName);
14500
+ // verify required parameter 'idempotencyKey' is not null or undefined
14501
+ (0, common_1.assertParamExists)('uploadClusterJar', 'idempotencyKey', idempotencyKey);
14502
+ // verify required parameter 'name' is not null or undefined
14503
+ (0, common_1.assertParamExists)('uploadClusterJar', 'name', name);
14504
+ // verify required parameter 'kind' is not null or undefined
14505
+ (0, common_1.assertParamExists)('uploadClusterJar', 'kind', kind);
14506
+ // verify required parameter 'file' is not null or undefined
14507
+ (0, common_1.assertParamExists)('uploadClusterJar', 'file', file);
14508
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
14509
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
14510
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
14511
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
14512
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14513
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14514
+ let baseOptions;
14515
+ if (configuration) {
14516
+ baseOptions = configuration.baseOptions;
14517
+ }
14518
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
14519
+ const localVarHeaderParameter = {};
14520
+ const localVarQueryParameter = {};
14521
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
14522
+ // authentication BearerToken required
14523
+ // http bearer authentication required
14524
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14525
+ // authentication DigestAuth required
14526
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
14527
+ if (name !== undefined) {
14528
+ localVarFormParams.append('name', name);
14529
+ }
14530
+ if (kind !== undefined) {
14531
+ localVarFormParams.append('kind', kind);
14532
+ }
14533
+ if (file !== undefined) {
14534
+ localVarFormParams.append('file', file);
14535
+ }
14536
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
14537
+ if (idempotencyKey != null) {
14538
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
14539
+ }
14540
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14541
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14542
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14543
+ localVarRequestOptions.data = localVarFormParams;
14544
+ return {
14545
+ url: (0, common_1.toPathString)(localVarUrlObj),
14546
+ options: localVarRequestOptions,
14547
+ };
14548
+ },
13629
14549
  /**
13630
14550
  *
13631
14551
  * @summary Validate cluster creation
@@ -13889,6 +14809,23 @@ const SharedApiFp = function (configuration) {
13889
14809
  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;
13890
14810
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13891
14811
  },
14812
+ /**
14813
+ *
14814
+ * @summary Archive a JAR while retaining published files and startup synchronization
14815
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
14816
+ * @param {string} orgName
14817
+ * @param {string} clusterName
14818
+ * @param {string} jarId
14819
+ * @param {*} [options] Override http request option.
14820
+ * @throws {RequiredError}
14821
+ */
14822
+ async archiveClusterJar(engineName, orgName, clusterName, jarId, options) {
14823
+ var _a, _b, _c;
14824
+ const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
14825
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14826
+ 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;
14827
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14828
+ },
13892
14829
  /**
13893
14830
  * list the service version of the engine
13894
14831
  * @summary list the service version of the engine
@@ -13966,6 +14903,23 @@ const SharedApiFp = function (configuration) {
13966
14903
  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;
13967
14904
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13968
14905
  },
14906
+ /**
14907
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
14908
+ * @summary bindSeaweedFSPolicies
14909
+ * @param {string} orgName
14910
+ * @param {string} clusterName
14911
+ * @param {string} accountName
14912
+ * @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
14913
+ * @param {*} [options] Override http request option.
14914
+ * @throws {RequiredError}
14915
+ */
14916
+ async bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options) {
14917
+ var _a, _b, _c;
14918
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options);
14919
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14920
+ 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;
14921
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14922
+ },
13969
14923
  /**
13970
14924
  *
13971
14925
  * @summary build backup object with a existing backup directory
@@ -14354,6 +15308,39 @@ const SharedApiFp = function (configuration) {
14354
15308
  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;
14355
15309
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14356
15310
  },
15311
+ /**
15312
+ * 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.
15313
+ * @summary createSeaweedFSAccessKey
15314
+ * @param {string} orgName
15315
+ * @param {string} clusterName
15316
+ * @param {string} accountName
15317
+ * @param {Account} account
15318
+ * @param {*} [options] Override http request option.
15319
+ * @throws {RequiredError}
15320
+ */
15321
+ async createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options) {
15322
+ var _a, _b, _c;
15323
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options);
15324
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15325
+ 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;
15326
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15327
+ },
15328
+ /**
15329
+ * 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.
15330
+ * @summary createSeaweedFSAccount
15331
+ * @param {string} orgName name of the organization
15332
+ * @param {string} clusterName name of the cluster
15333
+ * @param {Account} body
15334
+ * @param {*} [options] Override http request option.
15335
+ * @throws {RequiredError}
15336
+ */
15337
+ async createSeaweedFSAccount(orgName, clusterName, body, options) {
15338
+ var _a, _b, _c;
15339
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccount(orgName, clusterName, body, options);
15340
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15341
+ 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;
15342
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15343
+ },
14357
15344
  /**
14358
15345
  * create a MinIO service account access key
14359
15346
  * @summary Create MinIO access key
@@ -14560,6 +15547,23 @@ const SharedApiFp = function (configuration) {
14560
15547
  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;
14561
15548
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14562
15549
  },
15550
+ /**
15551
+ *
15552
+ * @summary Delete an unpublished JAR version
15553
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
15554
+ * @param {string} orgName
15555
+ * @param {string} clusterName
15556
+ * @param {string} jarId
15557
+ * @param {*} [options] Override http request option.
15558
+ * @throws {RequiredError}
15559
+ */
15560
+ async deleteClusterJar(engineName, orgName, clusterName, jarId, options) {
15561
+ var _a, _b, _c;
15562
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
15563
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15564
+ 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;
15565
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15566
+ },
14563
15567
  /**
14564
15568
  *
14565
15569
  * @summary delete the datasource
@@ -14910,6 +15914,55 @@ const SharedApiFp = function (configuration) {
14910
15914
  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;
14911
15915
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14912
15916
  },
15917
+ /**
15918
+ *
15919
+ * @summary deleteSeaweedFSAccessKey
15920
+ * @param {string} orgName
15921
+ * @param {string} clusterName
15922
+ * @param {string} accountName
15923
+ * @param {string} accessKey
15924
+ * @param {*} [options] Override http request option.
15925
+ * @throws {RequiredError}
15926
+ */
15927
+ async deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options) {
15928
+ var _a, _b, _c;
15929
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
15930
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15931
+ 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;
15932
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15933
+ },
15934
+ /**
15935
+ * delete an account in cluster
15936
+ * @summary deleteSeaweedFSAccount
15937
+ * @param {string} orgName name of the organization
15938
+ * @param {string} clusterName name of the cluster
15939
+ * @param {string} accountName name of the account
15940
+ * @param {*} [options] Override http request option.
15941
+ * @throws {RequiredError}
15942
+ */
15943
+ async deleteSeaweedFSAccount(orgName, clusterName, accountName, options) {
15944
+ var _a, _b, _c;
15945
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
15946
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15947
+ 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;
15948
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15949
+ },
15950
+ /**
15951
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
15952
+ * @summary deleteSeaweedFSPolicy
15953
+ * @param {string} orgName
15954
+ * @param {string} clusterName
15955
+ * @param {string} policyName
15956
+ * @param {*} [options] Override http request option.
15957
+ * @throws {RequiredError}
15958
+ */
15959
+ async deleteSeaweedFSPolicy(orgName, clusterName, policyName, options) {
15960
+ var _a, _b, _c;
15961
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
15962
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15963
+ 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;
15964
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15965
+ },
14913
15966
  /**
14914
15967
  * delete a MinIO service account access key
14915
15968
  * @summary Delete MinIO access key
@@ -14976,6 +16029,24 @@ const SharedApiFp = function (configuration) {
14976
16029
  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;
14977
16030
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14978
16031
  },
16032
+ /**
16033
+ *
16034
+ * @summary Publish a JAR with optimistic manifest version checking
16035
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
16036
+ * @param {string} orgName
16037
+ * @param {string} clusterName
16038
+ * @param {string} jarId
16039
+ * @param {ClusterJarPublish} clusterJarPublish
16040
+ * @param {*} [options] Override http request option.
16041
+ * @throws {RequiredError}
16042
+ */
16043
+ async distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options) {
16044
+ var _a, _b, _c;
16045
+ const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
16046
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16047
+ 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;
16048
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16049
+ },
14979
16050
  /**
14980
16051
  *
14981
16052
  * @summary Restore current cluster or instance
@@ -15007,6 +16078,23 @@ const SharedApiFp = function (configuration) {
15007
16078
  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;
15008
16079
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15009
16080
  },
16081
+ /**
16082
+ *
16083
+ * @summary Download the original JAR
16084
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
16085
+ * @param {string} orgName
16086
+ * @param {string} clusterName
16087
+ * @param {string} jarId
16088
+ * @param {*} [options] Override http request option.
16089
+ * @throws {RequiredError}
16090
+ */
16091
+ async downloadClusterJar(engineName, orgName, clusterName, jarId, options) {
16092
+ var _a, _b, _c;
16093
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
16094
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16095
+ 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;
16096
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16097
+ },
15010
16098
  /**
15011
16099
  *
15012
16100
  * @summary Download multiple backup files
@@ -15394,6 +16482,22 @@ const SharedApiFp = function (configuration) {
15394
16482
  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;
15395
16483
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15396
16484
  },
16485
+ /**
16486
+ *
16487
+ * @summary Get external JAR capability and configuration
16488
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
16489
+ * @param {string} orgName
16490
+ * @param {string} clusterName
16491
+ * @param {*} [options] Override http request option.
16492
+ * @throws {RequiredError}
16493
+ */
16494
+ async getClusterJarConfig(engineName, orgName, clusterName, options) {
16495
+ var _a, _b, _c;
16496
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
16497
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16498
+ 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;
16499
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16500
+ },
15397
16501
  /**
15398
16502
  *
15399
16503
  * @summary Get cluster parameter template
@@ -15944,6 +17048,23 @@ const SharedApiFp = function (configuration) {
15944
17048
  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;
15945
17049
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15946
17050
  },
17051
+ /**
17052
+ * get root account password
17053
+ * @summary getRootSeaweedFSAccountPassword
17054
+ * @param {string} orgName name of the Org
17055
+ * @param {string} clusterName name of the Cluster
17056
+ * @param {string} accountName name of the account
17057
+ * @param {string} [component] name of the component
17058
+ * @param {*} [options] Override http request option.
17059
+ * @throws {RequiredError}
17060
+ */
17061
+ async getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options) {
17062
+ var _a, _b, _c;
17063
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options);
17064
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17065
+ 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;
17066
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17067
+ },
15947
17068
  /**
15948
17069
  *
15949
17070
  * @summary list all databases or schema of the cluster
@@ -16401,6 +17522,22 @@ const SharedApiFp = function (configuration) {
16401
17522
  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;
16402
17523
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16403
17524
  },
17525
+ /**
17526
+ *
17527
+ * @summary List external JAR versions with metadata and per-instance synchronization state
17528
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
17529
+ * @param {string} orgName
17530
+ * @param {string} clusterName
17531
+ * @param {*} [options] Override http request option.
17532
+ * @throws {RequiredError}
17533
+ */
17534
+ async listClusterJars(engineName, orgName, clusterName, options) {
17535
+ var _a, _b, _c;
17536
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
17537
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17538
+ 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;
17539
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17540
+ },
16404
17541
  /**
16405
17542
  *
16406
17543
  * @summary List restore tasks
@@ -17171,6 +18308,36 @@ const SharedApiFp = function (configuration) {
17171
18308
  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;
17172
18309
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17173
18310
  },
18311
+ /**
18312
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
18313
+ * @summary listSeaweedFSAccounts
18314
+ * @param {string} orgName name of the organization
18315
+ * @param {string} clusterName name of the cluster
18316
+ * @param {*} [options] Override http request option.
18317
+ * @throws {RequiredError}
18318
+ */
18319
+ async listSeaweedFSAccounts(orgName, clusterName, options) {
18320
+ var _a, _b, _c;
18321
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSAccounts(orgName, clusterName, options);
18322
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18323
+ 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;
18324
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18325
+ },
18326
+ /**
18327
+ *
18328
+ * @summary listSeaweedFSPolicies
18329
+ * @param {string} orgName
18330
+ * @param {string} clusterName
18331
+ * @param {*} [options] Override http request option.
18332
+ * @throws {RequiredError}
18333
+ */
18334
+ async listSeaweedFSPolicies(orgName, clusterName, options) {
18335
+ var _a, _b, _c;
18336
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSPolicies(orgName, clusterName, options);
18337
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18338
+ 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;
18339
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18340
+ },
17174
18341
  /**
17175
18342
  * list MinIO service account access keys
17176
18343
  * @summary List MinIO access keys
@@ -17510,6 +18677,23 @@ const SharedApiFp = function (configuration) {
17510
18677
  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;
17511
18678
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17512
18679
  },
18680
+ /**
18681
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
18682
+ * @summary putSeaweedFSPolicy
18683
+ * @param {string} orgName
18684
+ * @param {string} clusterName
18685
+ * @param {string} policyName
18686
+ * @param {{ [key: string]: any; }} requestBody
18687
+ * @param {*} [options] Override http request option.
18688
+ * @throws {RequiredError}
18689
+ */
18690
+ async putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options) {
18691
+ var _a, _b, _c;
18692
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options);
18693
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18694
+ 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;
18695
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18696
+ },
17513
18697
  /**
17514
18698
  *
17515
18699
  * @summary create a SQL query
@@ -18058,6 +19242,23 @@ const SharedApiFp = function (configuration) {
18058
19242
  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;
18059
19243
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18060
19244
  },
19245
+ /**
19246
+ *
19247
+ * @summary Retry synchronization of published JARs
19248
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
19249
+ * @param {string} orgName
19250
+ * @param {string} clusterName
19251
+ * @param {string} jarId
19252
+ * @param {*} [options] Override http request option.
19253
+ * @throws {RequiredError}
19254
+ */
19255
+ async retryClusterJar(engineName, orgName, clusterName, jarId, options) {
19256
+ var _a, _b, _c;
19257
+ const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
19258
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19259
+ 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;
19260
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19261
+ },
18061
19262
  /**
18062
19263
  *
18063
19264
  * @summary Revoke privileges from a ClickHouse role
@@ -18690,7 +19891,41 @@ const SharedApiFp = function (configuration) {
18690
19891
  var _a, _b, _c;
18691
19892
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateRoleByName(orgName, roleName, roleUpdate, options);
18692
19893
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18693
- 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;
19894
+ 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;
19895
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19896
+ },
19897
+ /**
19898
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
19899
+ * @summary updateSeaweedFSAccount
19900
+ * @param {string} orgName name of the organization
19901
+ * @param {string} clusterName name of the cluster
19902
+ * @param {string} accountName name of the account
19903
+ * @param {Account} body
19904
+ * @param {*} [options] Override http request option.
19905
+ * @throws {RequiredError}
19906
+ */
19907
+ async updateSeaweedFSAccount(orgName, clusterName, accountName, body, options) {
19908
+ var _a, _b, _c;
19909
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccount(orgName, clusterName, accountName, body, options);
19910
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19911
+ 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;
19912
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19913
+ },
19914
+ /**
19915
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
19916
+ * @summary updateSeaweedFSAccountPrivileges
19917
+ * @param {string} orgName name of the Org
19918
+ * @param {string} clusterName name of the Cluster
19919
+ * @param {string} accountName name of the account
19920
+ * @param {Array<PrivilegeListItem>} body
19921
+ * @param {*} [options] Override http request option.
19922
+ * @throws {RequiredError}
19923
+ */
19924
+ async updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options) {
19925
+ var _a, _b, _c;
19926
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options);
19927
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19928
+ 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;
18694
19929
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18695
19930
  },
18696
19931
  /**
@@ -18774,6 +20009,26 @@ const SharedApiFp = function (configuration) {
18774
20009
  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;
18775
20010
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18776
20011
  },
20012
+ /**
20013
+ *
20014
+ * @summary Upload an immutable JAR version
20015
+ * @param {string} engineName Doris or SelectDB engine of the target cluster.
20016
+ * @param {string} orgName
20017
+ * @param {string} clusterName
20018
+ * @param {string} idempotencyKey
20019
+ * @param {string} name
20020
+ * @param {ClusterJarKind} kind
20021
+ * @param {File} file
20022
+ * @param {*} [options] Override http request option.
20023
+ * @throws {RequiredError}
20024
+ */
20025
+ async uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options) {
20026
+ var _a, _b, _c;
20027
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
20028
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20029
+ 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;
20030
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20031
+ },
18777
20032
  /**
18778
20033
  *
18779
20034
  * @summary Validate cluster creation
@@ -18887,6 +20142,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
18887
20142
  alterParameter(requestParameters, options) {
18888
20143
  return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
18889
20144
  },
20145
+ /**
20146
+ *
20147
+ * @summary Archive a JAR while retaining published files and startup synchronization
20148
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
20149
+ * @param {*} [options] Override http request option.
20150
+ * @throws {RequiredError}
20151
+ */
20152
+ archiveClusterJar(requestParameters, options) {
20153
+ return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
20154
+ },
18890
20155
  /**
18891
20156
  * list the service version of the engine
18892
20157
  * @summary list the service version of the engine
@@ -18937,6 +20202,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
18937
20202
  batchUpdateOrgParameters(requestParameters, options) {
18938
20203
  return localVarFp.batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
18939
20204
  },
20205
+ /**
20206
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
20207
+ * @summary bindSeaweedFSPolicies
20208
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
20209
+ * @param {*} [options] Override http request option.
20210
+ * @throws {RequiredError}
20211
+ */
20212
+ bindSeaweedFSPolicies(requestParameters, options) {
20213
+ return localVarFp.bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(axios, basePath));
20214
+ },
18940
20215
  /**
18941
20216
  *
18942
20217
  * @summary build backup object with a existing backup directory
@@ -19178,6 +20453,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19178
20453
  createRole(requestParameters, options) {
19179
20454
  return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
19180
20455
  },
20456
+ /**
20457
+ * 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.
20458
+ * @summary createSeaweedFSAccessKey
20459
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
20460
+ * @param {*} [options] Override http request option.
20461
+ * @throws {RequiredError}
20462
+ */
20463
+ createSeaweedFSAccessKey(requestParameters, options) {
20464
+ return localVarFp.createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(axios, basePath));
20465
+ },
20466
+ /**
20467
+ * 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.
20468
+ * @summary createSeaweedFSAccount
20469
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
20470
+ * @param {*} [options] Override http request option.
20471
+ * @throws {RequiredError}
20472
+ */
20473
+ createSeaweedFSAccount(requestParameters, options) {
20474
+ return localVarFp.createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
20475
+ },
19181
20476
  /**
19182
20477
  * create a MinIO service account access key
19183
20478
  * @summary Create MinIO access key
@@ -19308,6 +20603,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19308
20603
  deleteCluster(requestParameters, options) {
19309
20604
  return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
19310
20605
  },
20606
+ /**
20607
+ *
20608
+ * @summary Delete an unpublished JAR version
20609
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
20610
+ * @param {*} [options] Override http request option.
20611
+ * @throws {RequiredError}
20612
+ */
20613
+ deleteClusterJar(requestParameters, options) {
20614
+ return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
20615
+ },
19311
20616
  /**
19312
20617
  *
19313
20618
  * @summary delete the datasource
@@ -19528,6 +20833,36 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19528
20833
  deleteRoleByName(requestParameters, options) {
19529
20834
  return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
19530
20835
  },
20836
+ /**
20837
+ *
20838
+ * @summary deleteSeaweedFSAccessKey
20839
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
20840
+ * @param {*} [options] Override http request option.
20841
+ * @throws {RequiredError}
20842
+ */
20843
+ deleteSeaweedFSAccessKey(requestParameters, options) {
20844
+ return localVarFp.deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
20845
+ },
20846
+ /**
20847
+ * delete an account in cluster
20848
+ * @summary deleteSeaweedFSAccount
20849
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
20850
+ * @param {*} [options] Override http request option.
20851
+ * @throws {RequiredError}
20852
+ */
20853
+ deleteSeaweedFSAccount(requestParameters, options) {
20854
+ return localVarFp.deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
20855
+ },
20856
+ /**
20857
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
20858
+ * @summary deleteSeaweedFSPolicy
20859
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
20860
+ * @param {*} [options] Override http request option.
20861
+ * @throws {RequiredError}
20862
+ */
20863
+ deleteSeaweedFSPolicy(requestParameters, options) {
20864
+ return localVarFp.deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(axios, basePath));
20865
+ },
19531
20866
  /**
19532
20867
  * delete a MinIO service account access key
19533
20868
  * @summary Delete MinIO access key
@@ -19568,6 +20903,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19568
20903
  disableConsole(requestParameters, options) {
19569
20904
  return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
19570
20905
  },
20906
+ /**
20907
+ *
20908
+ * @summary Publish a JAR with optimistic manifest version checking
20909
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
20910
+ * @param {*} [options] Override http request option.
20911
+ * @throws {RequiredError}
20912
+ */
20913
+ distributeClusterJar(requestParameters, options) {
20914
+ return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
20915
+ },
19571
20916
  /**
19572
20917
  *
19573
20918
  * @summary Restore current cluster or instance
@@ -19588,6 +20933,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19588
20933
  downloadBackup(requestParameters, options) {
19589
20934
  return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
19590
20935
  },
20936
+ /**
20937
+ *
20938
+ * @summary Download the original JAR
20939
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
20940
+ * @param {*} [options] Override http request option.
20941
+ * @throws {RequiredError}
20942
+ */
20943
+ downloadClusterJar(requestParameters, options) {
20944
+ return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
20945
+ },
19591
20946
  /**
19592
20947
  *
19593
20948
  * @summary Download multiple backup files
@@ -19809,6 +21164,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19809
21164
  getClusterInstanceLog(requestParameters, options) {
19810
21165
  return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
19811
21166
  },
21167
+ /**
21168
+ *
21169
+ * @summary Get external JAR capability and configuration
21170
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
21171
+ * @param {*} [options] Override http request option.
21172
+ * @throws {RequiredError}
21173
+ */
21174
+ getClusterJarConfig(requestParameters, options) {
21175
+ return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
21176
+ },
19812
21177
  /**
19813
21178
  *
19814
21179
  * @summary Get cluster parameter template
@@ -20148,6 +21513,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20148
21513
  getRootAccountPassword(requestParameters, options) {
20149
21514
  return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
20150
21515
  },
21516
+ /**
21517
+ * get root account password
21518
+ * @summary getRootSeaweedFSAccountPassword
21519
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
21520
+ * @param {*} [options] Override http request option.
21521
+ * @throws {RequiredError}
21522
+ */
21523
+ getRootSeaweedFSAccountPassword(requestParameters, options) {
21524
+ return localVarFp.getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
21525
+ },
20151
21526
  /**
20152
21527
  *
20153
21528
  * @summary list all databases or schema of the cluster
@@ -20407,6 +21782,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20407
21782
  listCluster(requestParameters, options) {
20408
21783
  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));
20409
21784
  },
21785
+ /**
21786
+ *
21787
+ * @summary List external JAR versions with metadata and per-instance synchronization state
21788
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
21789
+ * @param {*} [options] Override http request option.
21790
+ * @throws {RequiredError}
21791
+ */
21792
+ listClusterJars(requestParameters, options) {
21793
+ return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
21794
+ },
20410
21795
  /**
20411
21796
  *
20412
21797
  * @summary List restore tasks
@@ -20894,6 +22279,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
20894
22279
  listRoles(requestParameters, options) {
20895
22280
  return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
20896
22281
  },
22282
+ /**
22283
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
22284
+ * @summary listSeaweedFSAccounts
22285
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
22286
+ * @param {*} [options] Override http request option.
22287
+ * @throws {RequiredError}
22288
+ */
22289
+ listSeaweedFSAccounts(requestParameters, options) {
22290
+ return localVarFp.listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
22291
+ },
22292
+ /**
22293
+ *
22294
+ * @summary listSeaweedFSPolicies
22295
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
22296
+ * @param {*} [options] Override http request option.
22297
+ * @throws {RequiredError}
22298
+ */
22299
+ listSeaweedFSPolicies(requestParameters, options) {
22300
+ return localVarFp.listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
22301
+ },
20897
22302
  /**
20898
22303
  * list MinIO service account access keys
20899
22304
  * @summary List MinIO access keys
@@ -21104,6 +22509,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21104
22509
  putElasticsearchSecurityUser(requestParameters, options) {
21105
22510
  return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
21106
22511
  },
22512
+ /**
22513
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
22514
+ * @summary putSeaweedFSPolicy
22515
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
22516
+ * @param {*} [options] Override http request option.
22517
+ * @throws {RequiredError}
22518
+ */
22519
+ putSeaweedFSPolicy(requestParameters, options) {
22520
+ return localVarFp.putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
22521
+ },
21107
22522
  /**
21108
22523
  *
21109
22524
  * @summary create a SQL query
@@ -21363,6 +22778,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21363
22778
  restoreRecycleBinCluster(requestParameters, options) {
21364
22779
  return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
21365
22780
  },
22781
+ /**
22782
+ *
22783
+ * @summary Retry synchronization of published JARs
22784
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
22785
+ * @param {*} [options] Override http request option.
22786
+ * @throws {RequiredError}
22787
+ */
22788
+ retryClusterJar(requestParameters, options) {
22789
+ return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
22790
+ },
21366
22791
  /**
21367
22792
  *
21368
22793
  * @summary Revoke privileges from a ClickHouse role
@@ -21743,6 +23168,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21743
23168
  updateRoleByName(requestParameters, options) {
21744
23169
  return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
21745
23170
  },
23171
+ /**
23172
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
23173
+ * @summary updateSeaweedFSAccount
23174
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
23175
+ * @param {*} [options] Override http request option.
23176
+ * @throws {RequiredError}
23177
+ */
23178
+ updateSeaweedFSAccount(requestParameters, options) {
23179
+ return localVarFp.updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
23180
+ },
23181
+ /**
23182
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
23183
+ * @summary updateSeaweedFSAccountPrivileges
23184
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
23185
+ * @param {*} [options] Override http request option.
23186
+ * @throws {RequiredError}
23187
+ */
23188
+ updateSeaweedFSAccountPrivileges(requestParameters, options) {
23189
+ return localVarFp.updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
23190
+ },
21746
23191
  /**
21747
23192
  * update a MinIO service account access key
21748
23193
  * @summary Update MinIO access key
@@ -21792,6 +23237,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21792
23237
  upgradeCluster(requestParameters, options) {
21793
23238
  return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
21794
23239
  },
23240
+ /**
23241
+ *
23242
+ * @summary Upload an immutable JAR version
23243
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
23244
+ * @param {*} [options] Override http request option.
23245
+ * @throws {RequiredError}
23246
+ */
23247
+ uploadClusterJar(requestParameters, options) {
23248
+ return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
23249
+ },
21795
23250
  /**
21796
23251
  *
21797
23252
  * @summary Validate cluster creation
@@ -21885,6 +23340,17 @@ class SharedApi extends base_1.BaseAPI {
21885
23340
  alterParameter(requestParameters, options) {
21886
23341
  return (0, exports.SharedApiFp)(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
21887
23342
  }
23343
+ /**
23344
+ *
23345
+ * @summary Archive a JAR while retaining published files and startup synchronization
23346
+ * @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
23347
+ * @param {*} [options] Override http request option.
23348
+ * @throws {RequiredError}
23349
+ * @memberof SharedApi
23350
+ */
23351
+ archiveClusterJar(requestParameters, options) {
23352
+ return (0, exports.SharedApiFp)(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
23353
+ }
21888
23354
  /**
21889
23355
  * list the service version of the engine
21890
23356
  * @summary list the service version of the engine
@@ -21940,6 +23406,17 @@ class SharedApi extends base_1.BaseAPI {
21940
23406
  batchUpdateOrgParameters(requestParameters, options) {
21941
23407
  return (0, exports.SharedApiFp)(this.configuration).batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
21942
23408
  }
23409
+ /**
23410
+ * Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
23411
+ * @summary bindSeaweedFSPolicies
23412
+ * @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
23413
+ * @param {*} [options] Override http request option.
23414
+ * @throws {RequiredError}
23415
+ * @memberof SharedApi
23416
+ */
23417
+ bindSeaweedFSPolicies(requestParameters, options) {
23418
+ return (0, exports.SharedApiFp)(this.configuration).bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(this.axios, this.basePath));
23419
+ }
21943
23420
  /**
21944
23421
  *
21945
23422
  * @summary build backup object with a existing backup directory
@@ -22205,6 +23682,28 @@ class SharedApi extends base_1.BaseAPI {
22205
23682
  createRole(requestParameters, options) {
22206
23683
  return (0, exports.SharedApiFp)(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
22207
23684
  }
23685
+ /**
23686
+ * 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.
23687
+ * @summary createSeaweedFSAccessKey
23688
+ * @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
23689
+ * @param {*} [options] Override http request option.
23690
+ * @throws {RequiredError}
23691
+ * @memberof SharedApi
23692
+ */
23693
+ createSeaweedFSAccessKey(requestParameters, options) {
23694
+ return (0, exports.SharedApiFp)(this.configuration).createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(this.axios, this.basePath));
23695
+ }
23696
+ /**
23697
+ * 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.
23698
+ * @summary createSeaweedFSAccount
23699
+ * @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
23700
+ * @param {*} [options] Override http request option.
23701
+ * @throws {RequiredError}
23702
+ * @memberof SharedApi
23703
+ */
23704
+ createSeaweedFSAccount(requestParameters, options) {
23705
+ return (0, exports.SharedApiFp)(this.configuration).createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
23706
+ }
22208
23707
  /**
22209
23708
  * create a MinIO service account access key
22210
23709
  * @summary Create MinIO access key
@@ -22348,6 +23847,17 @@ class SharedApi extends base_1.BaseAPI {
22348
23847
  deleteCluster(requestParameters, options) {
22349
23848
  return (0, exports.SharedApiFp)(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
22350
23849
  }
23850
+ /**
23851
+ *
23852
+ * @summary Delete an unpublished JAR version
23853
+ * @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
23854
+ * @param {*} [options] Override http request option.
23855
+ * @throws {RequiredError}
23856
+ * @memberof SharedApi
23857
+ */
23858
+ deleteClusterJar(requestParameters, options) {
23859
+ return (0, exports.SharedApiFp)(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
23860
+ }
22351
23861
  /**
22352
23862
  *
22353
23863
  * @summary delete the datasource
@@ -22590,6 +24100,39 @@ class SharedApi extends base_1.BaseAPI {
22590
24100
  deleteRoleByName(requestParameters, options) {
22591
24101
  return (0, exports.SharedApiFp)(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
22592
24102
  }
24103
+ /**
24104
+ *
24105
+ * @summary deleteSeaweedFSAccessKey
24106
+ * @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
24107
+ * @param {*} [options] Override http request option.
24108
+ * @throws {RequiredError}
24109
+ * @memberof SharedApi
24110
+ */
24111
+ deleteSeaweedFSAccessKey(requestParameters, options) {
24112
+ return (0, exports.SharedApiFp)(this.configuration).deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
24113
+ }
24114
+ /**
24115
+ * delete an account in cluster
24116
+ * @summary deleteSeaweedFSAccount
24117
+ * @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
24118
+ * @param {*} [options] Override http request option.
24119
+ * @throws {RequiredError}
24120
+ * @memberof SharedApi
24121
+ */
24122
+ deleteSeaweedFSAccount(requestParameters, options) {
24123
+ return (0, exports.SharedApiFp)(this.configuration).deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
24124
+ }
24125
+ /**
24126
+ * Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
24127
+ * @summary deleteSeaweedFSPolicy
24128
+ * @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
24129
+ * @param {*} [options] Override http request option.
24130
+ * @throws {RequiredError}
24131
+ * @memberof SharedApi
24132
+ */
24133
+ deleteSeaweedFSPolicy(requestParameters, options) {
24134
+ return (0, exports.SharedApiFp)(this.configuration).deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(this.axios, this.basePath));
24135
+ }
22593
24136
  /**
22594
24137
  * delete a MinIO service account access key
22595
24138
  * @summary Delete MinIO access key
@@ -22634,6 +24177,17 @@ class SharedApi extends base_1.BaseAPI {
22634
24177
  disableConsole(requestParameters, options) {
22635
24178
  return (0, exports.SharedApiFp)(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
22636
24179
  }
24180
+ /**
24181
+ *
24182
+ * @summary Publish a JAR with optimistic manifest version checking
24183
+ * @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
24184
+ * @param {*} [options] Override http request option.
24185
+ * @throws {RequiredError}
24186
+ * @memberof SharedApi
24187
+ */
24188
+ distributeClusterJar(requestParameters, options) {
24189
+ 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));
24190
+ }
22637
24191
  /**
22638
24192
  *
22639
24193
  * @summary Restore current cluster or instance
@@ -22656,6 +24210,17 @@ class SharedApi extends base_1.BaseAPI {
22656
24210
  downloadBackup(requestParameters, options) {
22657
24211
  return (0, exports.SharedApiFp)(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
22658
24212
  }
24213
+ /**
24214
+ *
24215
+ * @summary Download the original JAR
24216
+ * @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
24217
+ * @param {*} [options] Override http request option.
24218
+ * @throws {RequiredError}
24219
+ * @memberof SharedApi
24220
+ */
24221
+ downloadClusterJar(requestParameters, options) {
24222
+ return (0, exports.SharedApiFp)(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
24223
+ }
22659
24224
  /**
22660
24225
  *
22661
24226
  * @summary Download multiple backup files
@@ -22899,6 +24464,17 @@ class SharedApi extends base_1.BaseAPI {
22899
24464
  getClusterInstanceLog(requestParameters, options) {
22900
24465
  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));
22901
24466
  }
24467
+ /**
24468
+ *
24469
+ * @summary Get external JAR capability and configuration
24470
+ * @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
24471
+ * @param {*} [options] Override http request option.
24472
+ * @throws {RequiredError}
24473
+ * @memberof SharedApi
24474
+ */
24475
+ getClusterJarConfig(requestParameters, options) {
24476
+ return (0, exports.SharedApiFp)(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
24477
+ }
22902
24478
  /**
22903
24479
  *
22904
24480
  * @summary Get cluster parameter template
@@ -23272,6 +24848,17 @@ class SharedApi extends base_1.BaseAPI {
23272
24848
  getRootAccountPassword(requestParameters, options) {
23273
24849
  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));
23274
24850
  }
24851
+ /**
24852
+ * get root account password
24853
+ * @summary getRootSeaweedFSAccountPassword
24854
+ * @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
24855
+ * @param {*} [options] Override http request option.
24856
+ * @throws {RequiredError}
24857
+ * @memberof SharedApi
24858
+ */
24859
+ getRootSeaweedFSAccountPassword(requestParameters, options) {
24860
+ return (0, exports.SharedApiFp)(this.configuration).getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
24861
+ }
23275
24862
  /**
23276
24863
  *
23277
24864
  * @summary list all databases or schema of the cluster
@@ -23557,6 +25144,17 @@ class SharedApi extends base_1.BaseAPI {
23557
25144
  listCluster(requestParameters, options) {
23558
25145
  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));
23559
25146
  }
25147
+ /**
25148
+ *
25149
+ * @summary List external JAR versions with metadata and per-instance synchronization state
25150
+ * @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
25151
+ * @param {*} [options] Override http request option.
25152
+ * @throws {RequiredError}
25153
+ * @memberof SharedApi
25154
+ */
25155
+ listClusterJars(requestParameters, options) {
25156
+ return (0, exports.SharedApiFp)(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
25157
+ }
23560
25158
  /**
23561
25159
  *
23562
25160
  * @summary List restore tasks
@@ -24093,6 +25691,28 @@ class SharedApi extends base_1.BaseAPI {
24093
25691
  listRoles(requestParameters, options) {
24094
25692
  return (0, exports.SharedApiFp)(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
24095
25693
  }
25694
+ /**
25695
+ * Lists SeaweedFS identities and access-key metadata without secret keys.
25696
+ * @summary listSeaweedFSAccounts
25697
+ * @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
25698
+ * @param {*} [options] Override http request option.
25699
+ * @throws {RequiredError}
25700
+ * @memberof SharedApi
25701
+ */
25702
+ listSeaweedFSAccounts(requestParameters, options) {
25703
+ return (0, exports.SharedApiFp)(this.configuration).listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
25704
+ }
25705
+ /**
25706
+ *
25707
+ * @summary listSeaweedFSPolicies
25708
+ * @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
25709
+ * @param {*} [options] Override http request option.
25710
+ * @throws {RequiredError}
25711
+ * @memberof SharedApi
25712
+ */
25713
+ listSeaweedFSPolicies(requestParameters, options) {
25714
+ return (0, exports.SharedApiFp)(this.configuration).listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
25715
+ }
24096
25716
  /**
24097
25717
  * list MinIO service account access keys
24098
25718
  * @summary List MinIO access keys
@@ -24324,6 +25944,17 @@ class SharedApi extends base_1.BaseAPI {
24324
25944
  putElasticsearchSecurityUser(requestParameters, options) {
24325
25945
  return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
24326
25946
  }
25947
+ /**
25948
+ * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
25949
+ * @summary putSeaweedFSPolicy
25950
+ * @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
25951
+ * @param {*} [options] Override http request option.
25952
+ * @throws {RequiredError}
25953
+ * @memberof SharedApi
25954
+ */
25955
+ putSeaweedFSPolicy(requestParameters, options) {
25956
+ return (0, exports.SharedApiFp)(this.configuration).putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
25957
+ }
24327
25958
  /**
24328
25959
  *
24329
25960
  * @summary create a SQL query
@@ -24609,6 +26240,17 @@ class SharedApi extends base_1.BaseAPI {
24609
26240
  restoreRecycleBinCluster(requestParameters, options) {
24610
26241
  return (0, exports.SharedApiFp)(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
24611
26242
  }
26243
+ /**
26244
+ *
26245
+ * @summary Retry synchronization of published JARs
26246
+ * @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
26247
+ * @param {*} [options] Override http request option.
26248
+ * @throws {RequiredError}
26249
+ * @memberof SharedApi
26250
+ */
26251
+ retryClusterJar(requestParameters, options) {
26252
+ return (0, exports.SharedApiFp)(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
26253
+ }
24612
26254
  /**
24613
26255
  *
24614
26256
  * @summary Revoke privileges from a ClickHouse role
@@ -25027,6 +26669,28 @@ class SharedApi extends base_1.BaseAPI {
25027
26669
  updateRoleByName(requestParameters, options) {
25028
26670
  return (0, exports.SharedApiFp)(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
25029
26671
  }
26672
+ /**
26673
+ * Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
26674
+ * @summary updateSeaweedFSAccount
26675
+ * @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
26676
+ * @param {*} [options] Override http request option.
26677
+ * @throws {RequiredError}
26678
+ * @memberof SharedApi
26679
+ */
26680
+ updateSeaweedFSAccount(requestParameters, options) {
26681
+ return (0, exports.SharedApiFp)(this.configuration).updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
26682
+ }
26683
+ /**
26684
+ * Unsupported for SeaweedFS. Use the named policy binding API instead.
26685
+ * @summary updateSeaweedFSAccountPrivileges
26686
+ * @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
26687
+ * @param {*} [options] Override http request option.
26688
+ * @throws {RequiredError}
26689
+ * @memberof SharedApi
26690
+ */
26691
+ updateSeaweedFSAccountPrivileges(requestParameters, options) {
26692
+ return (0, exports.SharedApiFp)(this.configuration).updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
26693
+ }
25030
26694
  /**
25031
26695
  * update a MinIO service account access key
25032
26696
  * @summary Update MinIO access key
@@ -25081,6 +26745,17 @@ class SharedApi extends base_1.BaseAPI {
25081
26745
  upgradeCluster(requestParameters, options) {
25082
26746
  return (0, exports.SharedApiFp)(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
25083
26747
  }
26748
+ /**
26749
+ *
26750
+ * @summary Upload an immutable JAR version
26751
+ * @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
26752
+ * @param {*} [options] Override http request option.
26753
+ * @throws {RequiredError}
26754
+ * @memberof SharedApi
26755
+ */
26756
+ uploadClusterJar(requestParameters, options) {
26757
+ 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));
26758
+ }
25084
26759
  /**
25085
26760
  *
25086
26761
  * @summary Validate cluster creation