kb-cloud-client-typescript 2.3.0-alpha.120 → 2.3.0-alpha.122

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 (50) hide show
  1. package/dist/adminapi/models/account-option.d.ts +6 -0
  2. package/dist/adminapi/models/account-option.d.ts.map +1 -1
  3. package/dist/openapi/apis/account-api.d.ts +406 -0
  4. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  5. package/dist/openapi/apis/account-api.js +427 -0
  6. package/dist/openapi/apis/account-api.js.map +1 -1
  7. package/dist/openapi/apis/rdbms-api.d.ts +406 -0
  8. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  9. package/dist/openapi/apis/rdbms-api.js +427 -0
  10. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  11. package/dist/openapi/apis/shared-api.d.ts +406 -0
  12. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  13. package/dist/openapi/apis/shared-api.js +427 -0
  14. package/dist/openapi/apis/shared-api.js.map +1 -1
  15. package/dist/openapi/models/account-option.d.ts +6 -0
  16. package/dist/openapi/models/account-option.d.ts.map +1 -1
  17. package/dist/openapi/models/dms-service-account-create-request.d.ts +55 -0
  18. package/dist/openapi/models/dms-service-account-create-request.d.ts.map +1 -0
  19. package/dist/openapi/models/dms-service-account-create-request.js +16 -0
  20. package/dist/openapi/models/dms-service-account-create-request.js.map +1 -0
  21. package/dist/openapi/models/dms-service-account-status.d.ts +22 -0
  22. package/dist/openapi/models/dms-service-account-status.d.ts.map +1 -0
  23. package/dist/openapi/models/dms-service-account-status.js +26 -0
  24. package/dist/openapi/models/dms-service-account-status.js.map +1 -0
  25. package/dist/openapi/models/dms-service-account-update-request.d.ts +32 -0
  26. package/dist/openapi/models/dms-service-account-update-request.d.ts.map +1 -0
  27. package/dist/openapi/models/dms-service-account-update-request.js +16 -0
  28. package/dist/openapi/models/dms-service-account-update-request.js.map +1 -0
  29. package/dist/openapi/models/dms-service-account.d.ts +73 -0
  30. package/dist/openapi/models/dms-service-account.d.ts.map +1 -0
  31. package/dist/openapi/models/dms-service-account.js +16 -0
  32. package/dist/openapi/models/dms-service-account.js.map +1 -0
  33. package/dist/openapi/models/index.d.ts +4 -0
  34. package/dist/openapi/models/index.d.ts.map +1 -1
  35. package/dist/openapi/models/index.js +4 -0
  36. package/dist/openapi/models/index.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/adminapi/models/account-option.ts +6 -0
  39. package/src/adminapi.yaml +3 -0
  40. package/src/openapi/.openapi-generator/FILES +4 -0
  41. package/src/openapi/apis/account-api.ts +703 -0
  42. package/src/openapi/apis/rdbms-api.ts +703 -0
  43. package/src/openapi/apis/shared-api.ts +703 -0
  44. package/src/openapi/models/account-option.ts +6 -0
  45. package/src/openapi/models/dms-service-account-create-request.ts +60 -0
  46. package/src/openapi/models/dms-service-account-status.ts +31 -0
  47. package/src/openapi/models/dms-service-account-update-request.ts +41 -0
  48. package/src/openapi/models/dms-service-account.ts +78 -0
  49. package/src/openapi/models/index.ts +4 -0
  50. package/src/openapi.yaml +333 -0
@@ -1286,6 +1286,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
1286
1286
  options: localVarRequestOptions,
1287
1287
  };
1288
1288
  },
1289
+ /**
1290
+ * create a MinIO service account access key
1291
+ * @summary Create MinIO access key
1292
+ * @param {string} engineName name of the engine
1293
+ * @param {string} orgName name of the organization
1294
+ * @param {string} clusterName name of the cluster
1295
+ * @param {DmsServiceAccountCreateRequest} body
1296
+ * @param {*} [options] Override http request option.
1297
+ * @throws {RequiredError}
1298
+ */
1299
+ createServiceAccount: async (engineName, orgName, clusterName, body, options = {}) => {
1300
+ // verify required parameter 'engineName' is not null or undefined
1301
+ (0, common_1.assertParamExists)('createServiceAccount', 'engineName', engineName);
1302
+ // verify required parameter 'orgName' is not null or undefined
1303
+ (0, common_1.assertParamExists)('createServiceAccount', 'orgName', orgName);
1304
+ // verify required parameter 'clusterName' is not null or undefined
1305
+ (0, common_1.assertParamExists)('createServiceAccount', 'clusterName', clusterName);
1306
+ // verify required parameter 'body' is not null or undefined
1307
+ (0, common_1.assertParamExists)('createServiceAccount', 'body', body);
1308
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
1309
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
1310
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1311
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1312
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1313
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1314
+ let baseOptions;
1315
+ if (configuration) {
1316
+ baseOptions = configuration.baseOptions;
1317
+ }
1318
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1319
+ const localVarHeaderParameter = {};
1320
+ const localVarQueryParameter = {};
1321
+ // authentication BearerToken required
1322
+ // http bearer authentication required
1323
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1324
+ // authentication DigestAuth required
1325
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1326
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1327
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1328
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1329
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1330
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
1331
+ return {
1332
+ url: (0, common_1.toPathString)(localVarUrlObj),
1333
+ options: localVarRequestOptions,
1334
+ };
1335
+ },
1289
1336
  /**
1290
1337
  * create tag
1291
1338
  * @summary Create cluster tags
@@ -2565,6 +2612,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
2565
2612
  options: localVarRequestOptions,
2566
2613
  };
2567
2614
  },
2615
+ /**
2616
+ * delete a MinIO service account access key
2617
+ * @summary Delete MinIO access key
2618
+ * @param {string} engineName name of the engine
2619
+ * @param {string} orgName name of the organization
2620
+ * @param {string} clusterName name of the cluster
2621
+ * @param {string} accessKey MinIO access key
2622
+ * @param {*} [options] Override http request option.
2623
+ * @throws {RequiredError}
2624
+ */
2625
+ deleteServiceAccount: async (engineName, orgName, clusterName, accessKey, options = {}) => {
2626
+ // verify required parameter 'engineName' is not null or undefined
2627
+ (0, common_1.assertParamExists)('deleteServiceAccount', 'engineName', engineName);
2628
+ // verify required parameter 'orgName' is not null or undefined
2629
+ (0, common_1.assertParamExists)('deleteServiceAccount', 'orgName', orgName);
2630
+ // verify required parameter 'clusterName' is not null or undefined
2631
+ (0, common_1.assertParamExists)('deleteServiceAccount', 'clusterName', clusterName);
2632
+ // verify required parameter 'accessKey' is not null or undefined
2633
+ (0, common_1.assertParamExists)('deleteServiceAccount', 'accessKey', accessKey);
2634
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
2635
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
2636
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2637
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2638
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
2639
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2640
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2641
+ let baseOptions;
2642
+ if (configuration) {
2643
+ baseOptions = configuration.baseOptions;
2644
+ }
2645
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2646
+ const localVarHeaderParameter = {};
2647
+ const localVarQueryParameter = {};
2648
+ // authentication BearerToken required
2649
+ // http bearer authentication required
2650
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2651
+ // authentication DigestAuth required
2652
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2653
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2654
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2655
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2656
+ return {
2657
+ url: (0, common_1.toPathString)(localVarUrlObj),
2658
+ options: localVarRequestOptions,
2659
+ };
2660
+ },
2568
2661
  /**
2569
2662
  * delete cluster tag
2570
2663
  * @summary Delete tag
@@ -5142,6 +5235,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
5142
5235
  options: localVarRequestOptions,
5143
5236
  };
5144
5237
  },
5238
+ /**
5239
+ * get a MinIO service account access key
5240
+ * @summary Get MinIO access key
5241
+ * @param {string} engineName name of the engine
5242
+ * @param {string} orgName name of the organization
5243
+ * @param {string} clusterName name of the cluster
5244
+ * @param {string} accessKey MinIO access key
5245
+ * @param {*} [options] Override http request option.
5246
+ * @throws {RequiredError}
5247
+ */
5248
+ getServiceAccount: async (engineName, orgName, clusterName, accessKey, options = {}) => {
5249
+ // verify required parameter 'engineName' is not null or undefined
5250
+ (0, common_1.assertParamExists)('getServiceAccount', 'engineName', engineName);
5251
+ // verify required parameter 'orgName' is not null or undefined
5252
+ (0, common_1.assertParamExists)('getServiceAccount', 'orgName', orgName);
5253
+ // verify required parameter 'clusterName' is not null or undefined
5254
+ (0, common_1.assertParamExists)('getServiceAccount', 'clusterName', clusterName);
5255
+ // verify required parameter 'accessKey' is not null or undefined
5256
+ (0, common_1.assertParamExists)('getServiceAccount', 'accessKey', accessKey);
5257
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
5258
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
5259
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
5260
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
5261
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
5262
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5263
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5264
+ let baseOptions;
5265
+ if (configuration) {
5266
+ baseOptions = configuration.baseOptions;
5267
+ }
5268
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5269
+ const localVarHeaderParameter = {};
5270
+ const localVarQueryParameter = {};
5271
+ // authentication BearerToken required
5272
+ // http bearer authentication required
5273
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
5274
+ // authentication DigestAuth required
5275
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
5276
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5277
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5278
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5279
+ return {
5280
+ url: (0, common_1.toPathString)(localVarUrlObj),
5281
+ options: localVarRequestOptions,
5282
+ };
5283
+ },
5145
5284
  /**
5146
5285
  * Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
5147
5286
  * @summary Get cluster slow log statistics
@@ -7718,6 +7857,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
7718
7857
  options: localVarRequestOptions,
7719
7858
  };
7720
7859
  },
7860
+ /**
7861
+ * list MinIO service account access keys
7862
+ * @summary List MinIO access keys
7863
+ * @param {string} engineName name of the engine
7864
+ * @param {string} orgName name of the organization
7865
+ * @param {string} clusterName name of the cluster
7866
+ * @param {string} [userName] MinIO user that owns the service accounts
7867
+ * @param {*} [options] Override http request option.
7868
+ * @throws {RequiredError}
7869
+ */
7870
+ listServiceAccounts: async (engineName, orgName, clusterName, userName, options = {}) => {
7871
+ // verify required parameter 'engineName' is not null or undefined
7872
+ (0, common_1.assertParamExists)('listServiceAccounts', 'engineName', engineName);
7873
+ // verify required parameter 'orgName' is not null or undefined
7874
+ (0, common_1.assertParamExists)('listServiceAccounts', 'orgName', orgName);
7875
+ // verify required parameter 'clusterName' is not null or undefined
7876
+ (0, common_1.assertParamExists)('listServiceAccounts', 'clusterName', clusterName);
7877
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
7878
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
7879
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
7880
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
7881
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7882
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7883
+ let baseOptions;
7884
+ if (configuration) {
7885
+ baseOptions = configuration.baseOptions;
7886
+ }
7887
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7888
+ const localVarHeaderParameter = {};
7889
+ const localVarQueryParameter = {};
7890
+ // authentication BearerToken required
7891
+ // http bearer authentication required
7892
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7893
+ // authentication DigestAuth required
7894
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
7895
+ if (userName !== undefined) {
7896
+ localVarQueryParameter['userName'] = userName;
7897
+ }
7898
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7899
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7900
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7901
+ return {
7902
+ url: (0, common_1.toPathString)(localVarUrlObj),
7903
+ options: localVarRequestOptions,
7904
+ };
7905
+ },
7721
7906
  /**
7722
7907
  * list the service version of the engine
7723
7908
  * @summary list the service version of the engine
@@ -11258,6 +11443,57 @@ const SharedApiAxiosParamCreator = function (configuration) {
11258
11443
  options: localVarRequestOptions,
11259
11444
  };
11260
11445
  },
11446
+ /**
11447
+ * update a MinIO service account access key
11448
+ * @summary Update MinIO access key
11449
+ * @param {string} engineName name of the engine
11450
+ * @param {string} orgName name of the organization
11451
+ * @param {string} clusterName name of the cluster
11452
+ * @param {string} accessKey MinIO access key
11453
+ * @param {DmsServiceAccountUpdateRequest} body
11454
+ * @param {*} [options] Override http request option.
11455
+ * @throws {RequiredError}
11456
+ */
11457
+ updateServiceAccount: async (engineName, orgName, clusterName, accessKey, body, options = {}) => {
11458
+ // verify required parameter 'engineName' is not null or undefined
11459
+ (0, common_1.assertParamExists)('updateServiceAccount', 'engineName', engineName);
11460
+ // verify required parameter 'orgName' is not null or undefined
11461
+ (0, common_1.assertParamExists)('updateServiceAccount', 'orgName', orgName);
11462
+ // verify required parameter 'clusterName' is not null or undefined
11463
+ (0, common_1.assertParamExists)('updateServiceAccount', 'clusterName', clusterName);
11464
+ // verify required parameter 'accessKey' is not null or undefined
11465
+ (0, common_1.assertParamExists)('updateServiceAccount', 'accessKey', accessKey);
11466
+ // verify required parameter 'body' is not null or undefined
11467
+ (0, common_1.assertParamExists)('updateServiceAccount', 'body', body);
11468
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
11469
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
11470
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11471
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
11472
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
11473
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11474
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11475
+ let baseOptions;
11476
+ if (configuration) {
11477
+ baseOptions = configuration.baseOptions;
11478
+ }
11479
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
11480
+ const localVarHeaderParameter = {};
11481
+ const localVarQueryParameter = {};
11482
+ // authentication BearerToken required
11483
+ // http bearer authentication required
11484
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
11485
+ // authentication DigestAuth required
11486
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
11487
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11488
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11489
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11490
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11491
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
11492
+ return {
11493
+ url: (0, common_1.toPathString)(localVarUrlObj),
11494
+ options: localVarRequestOptions,
11495
+ };
11496
+ },
11261
11497
  /**
11262
11498
  * Enable or disable SQL audit log for a cluster component
11263
11499
  * @summary Update SQL audit log status
@@ -12012,6 +12248,23 @@ const SharedApiFp = function (configuration) {
12012
12248
  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;
12013
12249
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12014
12250
  },
12251
+ /**
12252
+ * create a MinIO service account access key
12253
+ * @summary Create MinIO access key
12254
+ * @param {string} engineName name of the engine
12255
+ * @param {string} orgName name of the organization
12256
+ * @param {string} clusterName name of the cluster
12257
+ * @param {DmsServiceAccountCreateRequest} body
12258
+ * @param {*} [options] Override http request option.
12259
+ * @throws {RequiredError}
12260
+ */
12261
+ async createServiceAccount(engineName, orgName, clusterName, body, options) {
12262
+ var _a, _b, _c;
12263
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(engineName, orgName, clusterName, body, options);
12264
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12265
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createServiceAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12266
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12267
+ },
12015
12268
  /**
12016
12269
  * create tag
12017
12270
  * @summary Create cluster tags
@@ -12500,6 +12753,23 @@ const SharedApiFp = function (configuration) {
12500
12753
  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;
12501
12754
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12502
12755
  },
12756
+ /**
12757
+ * delete a MinIO service account access key
12758
+ * @summary Delete MinIO access key
12759
+ * @param {string} engineName name of the engine
12760
+ * @param {string} orgName name of the organization
12761
+ * @param {string} clusterName name of the cluster
12762
+ * @param {string} accessKey MinIO access key
12763
+ * @param {*} [options] Override http request option.
12764
+ * @throws {RequiredError}
12765
+ */
12766
+ async deleteServiceAccount(engineName, orgName, clusterName, accessKey, options) {
12767
+ var _a, _b, _c;
12768
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccount(engineName, orgName, clusterName, accessKey, options);
12769
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12770
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteServiceAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12771
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12772
+ },
12503
12773
  /**
12504
12774
  * delete cluster tag
12505
12775
  * @summary Delete tag
@@ -13446,6 +13716,23 @@ const SharedApiFp = function (configuration) {
13446
13716
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getSchemaList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13447
13717
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13448
13718
  },
13719
+ /**
13720
+ * get a MinIO service account access key
13721
+ * @summary Get MinIO access key
13722
+ * @param {string} engineName name of the engine
13723
+ * @param {string} orgName name of the organization
13724
+ * @param {string} clusterName name of the cluster
13725
+ * @param {string} accessKey MinIO access key
13726
+ * @param {*} [options] Override http request option.
13727
+ * @throws {RequiredError}
13728
+ */
13729
+ async getServiceAccount(engineName, orgName, clusterName, accessKey, options) {
13730
+ var _a, _b, _c;
13731
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAccount(engineName, orgName, clusterName, accessKey, options);
13732
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13733
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getServiceAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13734
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13735
+ },
13449
13736
  /**
13450
13737
  * Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
13451
13738
  * @summary Get cluster slow log statistics
@@ -14395,6 +14682,23 @@ const SharedApiFp = function (configuration) {
14395
14682
  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;
14396
14683
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14397
14684
  },
14685
+ /**
14686
+ * list MinIO service account access keys
14687
+ * @summary List MinIO access keys
14688
+ * @param {string} engineName name of the engine
14689
+ * @param {string} orgName name of the organization
14690
+ * @param {string} clusterName name of the cluster
14691
+ * @param {string} [userName] MinIO user that owns the service accounts
14692
+ * @param {*} [options] Override http request option.
14693
+ * @throws {RequiredError}
14694
+ */
14695
+ async listServiceAccounts(engineName, orgName, clusterName, userName, options) {
14696
+ var _a, _b, _c;
14697
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceAccounts(engineName, orgName, clusterName, userName, options);
14698
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14699
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listServiceAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14700
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14701
+ },
14398
14702
  /**
14399
14703
  * list the service version of the engine
14400
14704
  * @summary list the service version of the engine
@@ -15651,6 +15955,24 @@ const SharedApiFp = function (configuration) {
15651
15955
  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;
15652
15956
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15653
15957
  },
15958
+ /**
15959
+ * update a MinIO service account access key
15960
+ * @summary Update MinIO access key
15961
+ * @param {string} engineName name of the engine
15962
+ * @param {string} orgName name of the organization
15963
+ * @param {string} clusterName name of the cluster
15964
+ * @param {string} accessKey MinIO access key
15965
+ * @param {DmsServiceAccountUpdateRequest} body
15966
+ * @param {*} [options] Override http request option.
15967
+ * @throws {RequiredError}
15968
+ */
15969
+ async updateServiceAccount(engineName, orgName, clusterName, accessKey, body, options) {
15970
+ var _a, _b, _c;
15971
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateServiceAccount(engineName, orgName, clusterName, accessKey, body, options);
15972
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15973
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateServiceAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15974
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15975
+ },
15654
15976
  /**
15655
15977
  * Enable or disable SQL audit log for a cluster component
15656
15978
  * @summary Update SQL audit log status
@@ -16032,6 +16354,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
16032
16354
  createRole(requestParameters, options) {
16033
16355
  return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
16034
16356
  },
16357
+ /**
16358
+ * create a MinIO service account access key
16359
+ * @summary Create MinIO access key
16360
+ * @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
16361
+ * @param {*} [options] Override http request option.
16362
+ * @throws {RequiredError}
16363
+ */
16364
+ createServiceAccount(requestParameters, options) {
16365
+ return localVarFp.createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
16366
+ },
16035
16367
  /**
16036
16368
  * create tag
16037
16369
  * @summary Create cluster tags
@@ -16342,6 +16674,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
16342
16674
  deleteRoleByName(requestParameters, options) {
16343
16675
  return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
16344
16676
  },
16677
+ /**
16678
+ * delete a MinIO service account access key
16679
+ * @summary Delete MinIO access key
16680
+ * @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
16681
+ * @param {*} [options] Override http request option.
16682
+ * @throws {RequiredError}
16683
+ */
16684
+ deleteServiceAccount(requestParameters, options) {
16685
+ return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
16686
+ },
16345
16687
  /**
16346
16688
  * delete cluster tag
16347
16689
  * @summary Delete tag
@@ -16901,6 +17243,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
16901
17243
  getSchemaList(requestParameters, options) {
16902
17244
  return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
16903
17245
  },
17246
+ /**
17247
+ * get a MinIO service account access key
17248
+ * @summary Get MinIO access key
17249
+ * @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
17250
+ * @param {*} [options] Override http request option.
17251
+ * @throws {RequiredError}
17252
+ */
17253
+ getServiceAccount(requestParameters, options) {
17254
+ return localVarFp.getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
17255
+ },
16904
17256
  /**
16905
17257
  * Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
16906
17258
  * @summary Get cluster slow log statistics
@@ -17469,6 +17821,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17469
17821
  listRoles(requestParameters, options) {
17470
17822
  return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
17471
17823
  },
17824
+ /**
17825
+ * list MinIO service account access keys
17826
+ * @summary List MinIO access keys
17827
+ * @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
17828
+ * @param {*} [options] Override http request option.
17829
+ * @throws {RequiredError}
17830
+ */
17831
+ listServiceAccounts(requestParameters, options) {
17832
+ return localVarFp.listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(axios, basePath));
17833
+ },
17472
17834
  /**
17473
17835
  * list the service version of the engine
17474
17836
  * @summary list the service version of the engine
@@ -18178,6 +18540,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
18178
18540
  updateRoleByName(requestParameters, options) {
18179
18541
  return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
18180
18542
  },
18543
+ /**
18544
+ * update a MinIO service account access key
18545
+ * @summary Update MinIO access key
18546
+ * @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
18547
+ * @param {*} [options] Override http request option.
18548
+ * @throws {RequiredError}
18549
+ */
18550
+ updateServiceAccount(requestParameters, options) {
18551
+ return localVarFp.updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(axios, basePath));
18552
+ },
18181
18553
  /**
18182
18554
  * Enable or disable SQL audit log for a cluster component
18183
18555
  * @summary Update SQL audit log status
@@ -18544,6 +18916,17 @@ class SharedApi extends base_1.BaseAPI {
18544
18916
  createRole(requestParameters, options) {
18545
18917
  return (0, exports.SharedApiFp)(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
18546
18918
  }
18919
+ /**
18920
+ * create a MinIO service account access key
18921
+ * @summary Create MinIO access key
18922
+ * @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
18923
+ * @param {*} [options] Override http request option.
18924
+ * @throws {RequiredError}
18925
+ * @memberof SharedApi
18926
+ */
18927
+ createServiceAccount(requestParameters, options) {
18928
+ return (0, exports.SharedApiFp)(this.configuration).createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
18929
+ }
18547
18930
  /**
18548
18931
  * create tag
18549
18932
  * @summary Create cluster tags
@@ -18885,6 +19268,17 @@ class SharedApi extends base_1.BaseAPI {
18885
19268
  deleteRoleByName(requestParameters, options) {
18886
19269
  return (0, exports.SharedApiFp)(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
18887
19270
  }
19271
+ /**
19272
+ * delete a MinIO service account access key
19273
+ * @summary Delete MinIO access key
19274
+ * @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
19275
+ * @param {*} [options] Override http request option.
19276
+ * @throws {RequiredError}
19277
+ * @memberof SharedApi
19278
+ */
19279
+ deleteServiceAccount(requestParameters, options) {
19280
+ return (0, exports.SharedApiFp)(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
19281
+ }
18888
19282
  /**
18889
19283
  * delete cluster tag
18890
19284
  * @summary Delete tag
@@ -19500,6 +19894,17 @@ class SharedApi extends base_1.BaseAPI {
19500
19894
  getSchemaList(requestParameters, options) {
19501
19895
  return (0, exports.SharedApiFp)(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
19502
19896
  }
19897
+ /**
19898
+ * get a MinIO service account access key
19899
+ * @summary Get MinIO access key
19900
+ * @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
19901
+ * @param {*} [options] Override http request option.
19902
+ * @throws {RequiredError}
19903
+ * @memberof SharedApi
19904
+ */
19905
+ getServiceAccount(requestParameters, options) {
19906
+ return (0, exports.SharedApiFp)(this.configuration).getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
19907
+ }
19503
19908
  /**
19504
19909
  * Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
19505
19910
  * @summary Get cluster slow log statistics
@@ -20125,6 +20530,17 @@ class SharedApi extends base_1.BaseAPI {
20125
20530
  listRoles(requestParameters, options) {
20126
20531
  return (0, exports.SharedApiFp)(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
20127
20532
  }
20533
+ /**
20534
+ * list MinIO service account access keys
20535
+ * @summary List MinIO access keys
20536
+ * @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
20537
+ * @param {*} [options] Override http request option.
20538
+ * @throws {RequiredError}
20539
+ * @memberof SharedApi
20540
+ */
20541
+ listServiceAccounts(requestParameters, options) {
20542
+ return (0, exports.SharedApiFp)(this.configuration).listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(this.axios, this.basePath));
20543
+ }
20128
20544
  /**
20129
20545
  * list the service version of the engine
20130
20546
  * @summary list the service version of the engine
@@ -20905,6 +21321,17 @@ class SharedApi extends base_1.BaseAPI {
20905
21321
  updateRoleByName(requestParameters, options) {
20906
21322
  return (0, exports.SharedApiFp)(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
20907
21323
  }
21324
+ /**
21325
+ * update a MinIO service account access key
21326
+ * @summary Update MinIO access key
21327
+ * @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
21328
+ * @param {*} [options] Override http request option.
21329
+ * @throws {RequiredError}
21330
+ * @memberof SharedApi
21331
+ */
21332
+ updateServiceAccount(requestParameters, options) {
21333
+ return (0, exports.SharedApiFp)(this.configuration).updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
21334
+ }
20908
21335
  /**
20909
21336
  * Enable or disable SQL audit log for a cluster component
20910
21337
  * @summary Update SQL audit log status