kb-cloud-client-typescript 2.4.0-alpha.144 → 2.4.0-alpha.146

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 (161) hide show
  1. package/dist/adminapi/apis/dms-api.d.ts +113 -0
  2. package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/dms-api.js +108 -0
  4. package/dist/adminapi/apis/dms-api.js.map +1 -1
  5. package/dist/adminapi/apis/environment-api.d.ts +5 -5
  6. package/dist/adminapi/apis/environment-api.js +4 -4
  7. package/dist/adminapi/apis/shared-api.d.ts +113 -0
  8. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  9. package/dist/adminapi/apis/shared-api.js +108 -0
  10. package/dist/adminapi/apis/shared-api.js.map +1 -1
  11. package/dist/adminapi/apis/vip-pool-api.d.ts +65 -0
  12. package/dist/adminapi/apis/vip-pool-api.d.ts.map +1 -1
  13. package/dist/adminapi/apis/vip-pool-api.js +75 -0
  14. package/dist/adminapi/apis/vip-pool-api.js.map +1 -1
  15. package/dist/adminapi/models/dms-audit-list.d.ts +32 -0
  16. package/dist/adminapi/models/dms-audit-list.d.ts.map +1 -0
  17. package/dist/adminapi/models/dms-audit-list.js +16 -0
  18. package/dist/adminapi/models/dms-audit-list.js.map +1 -0
  19. package/dist/adminapi/models/dms-audit-risk.d.ts +25 -0
  20. package/dist/adminapi/models/dms-audit-risk.d.ts.map +1 -0
  21. package/dist/adminapi/models/dms-audit-risk.js +29 -0
  22. package/dist/adminapi/models/dms-audit-risk.js.map +1 -0
  23. package/dist/adminapi/models/dms-audit-statement.d.ts +93 -0
  24. package/dist/adminapi/models/dms-audit-statement.d.ts.map +1 -0
  25. package/dist/adminapi/models/dms-audit-statement.js +16 -0
  26. package/dist/adminapi/models/dms-audit-statement.js.map +1 -0
  27. package/dist/adminapi/models/dms-audit-status.d.ts +23 -0
  28. package/dist/adminapi/models/dms-audit-status.d.ts.map +1 -0
  29. package/dist/adminapi/models/dms-audit-status.js +27 -0
  30. package/dist/adminapi/models/dms-audit-status.js.map +1 -0
  31. package/dist/adminapi/models/dms-audit.d.ts +154 -0
  32. package/dist/adminapi/models/dms-audit.d.ts.map +1 -0
  33. package/dist/adminapi/models/dms-audit.js +16 -0
  34. package/dist/adminapi/models/dms-audit.js.map +1 -0
  35. package/dist/adminapi/models/dms-option.d.ts +1 -1
  36. package/dist/adminapi/models/environment-module-action.d.ts +2 -1
  37. package/dist/adminapi/models/environment-module-action.d.ts.map +1 -1
  38. package/dist/adminapi/models/environment-module-action.js +3 -2
  39. package/dist/adminapi/models/environment-module-action.js.map +1 -1
  40. package/dist/adminapi/models/environment-module-status.d.ts +2 -0
  41. package/dist/adminapi/models/environment-module-status.d.ts.map +1 -1
  42. package/dist/adminapi/models/environment-module-status.js +2 -0
  43. package/dist/adminapi/models/environment-module-status.js.map +1 -1
  44. package/dist/adminapi/models/environment-module-update.d.ts +1 -1
  45. package/dist/adminapi/models/environment-module.d.ts +12 -0
  46. package/dist/adminapi/models/environment-module.d.ts.map +1 -1
  47. package/dist/adminapi/models/index.d.ts +8 -0
  48. package/dist/adminapi/models/index.d.ts.map +1 -1
  49. package/dist/adminapi/models/index.js +8 -0
  50. package/dist/adminapi/models/index.js.map +1 -1
  51. package/dist/adminapi/models/vip-port-check-request.d.ts +31 -0
  52. package/dist/adminapi/models/vip-port-check-request.d.ts.map +1 -0
  53. package/dist/adminapi/models/vip-port-check-request.js +16 -0
  54. package/dist/adminapi/models/vip-port-check-request.js.map +1 -0
  55. package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.d.ts +31 -0
  56. package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.d.ts.map +1 -0
  57. package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.js +16 -0
  58. package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.js.map +1 -0
  59. package/dist/adminapi/models/vip-port-check-result.d.ts +38 -0
  60. package/dist/adminapi/models/vip-port-check-result.d.ts.map +1 -0
  61. package/dist/adminapi/models/vip-port-check-result.js +16 -0
  62. package/dist/adminapi/models/vip-port-check-result.js.map +1 -0
  63. package/dist/internalapi/apis/environment-api.d.ts +101 -0
  64. package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
  65. package/dist/internalapi/apis/environment-api.js +98 -1
  66. package/dist/internalapi/apis/environment-api.js.map +1 -1
  67. package/dist/openapi/apis/dms-api.d.ts +113 -0
  68. package/dist/openapi/apis/dms-api.d.ts.map +1 -1
  69. package/dist/openapi/apis/dms-api.js +108 -0
  70. package/dist/openapi/apis/dms-api.js.map +1 -1
  71. package/dist/openapi/apis/shared-api.d.ts +113 -0
  72. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  73. package/dist/openapi/apis/shared-api.js +108 -0
  74. package/dist/openapi/apis/shared-api.js.map +1 -1
  75. package/dist/openapi/apis/vip-pool-api.d.ts +65 -0
  76. package/dist/openapi/apis/vip-pool-api.d.ts.map +1 -1
  77. package/dist/openapi/apis/vip-pool-api.js +75 -0
  78. package/dist/openapi/apis/vip-pool-api.js.map +1 -1
  79. package/dist/openapi/models/dms-audit-list.d.ts +32 -0
  80. package/dist/openapi/models/dms-audit-list.d.ts.map +1 -0
  81. package/dist/openapi/models/dms-audit-list.js +16 -0
  82. package/dist/openapi/models/dms-audit-list.js.map +1 -0
  83. package/dist/openapi/models/dms-audit-risk.d.ts +25 -0
  84. package/dist/openapi/models/dms-audit-risk.d.ts.map +1 -0
  85. package/dist/openapi/models/dms-audit-risk.js +29 -0
  86. package/dist/openapi/models/dms-audit-risk.js.map +1 -0
  87. package/dist/openapi/models/dms-audit-statement.d.ts +93 -0
  88. package/dist/openapi/models/dms-audit-statement.d.ts.map +1 -0
  89. package/dist/openapi/models/dms-audit-statement.js +16 -0
  90. package/dist/openapi/models/dms-audit-statement.js.map +1 -0
  91. package/dist/openapi/models/dms-audit-status.d.ts +23 -0
  92. package/dist/openapi/models/dms-audit-status.d.ts.map +1 -0
  93. package/dist/openapi/models/dms-audit-status.js +27 -0
  94. package/dist/openapi/models/dms-audit-status.js.map +1 -0
  95. package/dist/openapi/models/dms-audit.d.ts +154 -0
  96. package/dist/openapi/models/dms-audit.d.ts.map +1 -0
  97. package/dist/openapi/models/dms-audit.js +16 -0
  98. package/dist/openapi/models/dms-audit.js.map +1 -0
  99. package/dist/openapi/models/dms-option.d.ts +1 -1
  100. package/dist/openapi/models/environment-module-status.d.ts +2 -0
  101. package/dist/openapi/models/environment-module-status.d.ts.map +1 -1
  102. package/dist/openapi/models/environment-module-status.js +2 -0
  103. package/dist/openapi/models/environment-module-status.js.map +1 -1
  104. package/dist/openapi/models/environment-module.d.ts +12 -0
  105. package/dist/openapi/models/environment-module.d.ts.map +1 -1
  106. package/dist/openapi/models/index.d.ts +8 -0
  107. package/dist/openapi/models/index.d.ts.map +1 -1
  108. package/dist/openapi/models/index.js +8 -0
  109. package/dist/openapi/models/index.js.map +1 -1
  110. package/dist/openapi/models/vip-port-check-request.d.ts +31 -0
  111. package/dist/openapi/models/vip-port-check-request.d.ts.map +1 -0
  112. package/dist/openapi/models/vip-port-check-request.js +16 -0
  113. package/dist/openapi/models/vip-port-check-request.js.map +1 -0
  114. package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.d.ts +31 -0
  115. package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.d.ts.map +1 -0
  116. package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.js +16 -0
  117. package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.js.map +1 -0
  118. package/dist/openapi/models/vip-port-check-result.d.ts +38 -0
  119. package/dist/openapi/models/vip-port-check-result.d.ts.map +1 -0
  120. package/dist/openapi/models/vip-port-check-result.js +16 -0
  121. package/dist/openapi/models/vip-port-check-result.js.map +1 -0
  122. package/package.json +1 -1
  123. package/src/adminapi/.openapi-generator/FILES +8 -0
  124. package/src/adminapi/apis/dms-api.ts +198 -0
  125. package/src/adminapi/apis/environment-api.ts +5 -5
  126. package/src/adminapi/apis/shared-api.ts +198 -0
  127. package/src/adminapi/apis/vip-pool-api.ts +118 -0
  128. package/src/adminapi/models/dms-audit-list.ts +39 -0
  129. package/src/adminapi/models/dms-audit-risk.ts +34 -0
  130. package/src/adminapi/models/dms-audit-statement.ts +104 -0
  131. package/src/adminapi/models/dms-audit-status.ts +32 -0
  132. package/src/adminapi/models/dms-audit.ts +167 -0
  133. package/src/adminapi/models/dms-option.ts +1 -1
  134. package/src/adminapi/models/environment-module-action.ts +3 -2
  135. package/src/adminapi/models/environment-module-status.ts +2 -0
  136. package/src/adminapi/models/environment-module-update.ts +1 -1
  137. package/src/adminapi/models/environment-module.ts +12 -0
  138. package/src/adminapi/models/index.ts +8 -0
  139. package/src/adminapi/models/vip-port-check-request.ts +36 -0
  140. package/src/adminapi/models/vip-port-check-result-occupied-ports-inner.ts +36 -0
  141. package/src/adminapi/models/vip-port-check-result.ts +45 -0
  142. package/src/adminapi.yaml +290 -2
  143. package/src/internalapi/apis/environment-api.ts +159 -0
  144. package/src/internalapi.yaml +64 -18
  145. package/src/openapi/.openapi-generator/FILES +8 -0
  146. package/src/openapi/apis/dms-api.ts +198 -0
  147. package/src/openapi/apis/shared-api.ts +198 -0
  148. package/src/openapi/apis/vip-pool-api.ts +118 -0
  149. package/src/openapi/models/dms-audit-list.ts +39 -0
  150. package/src/openapi/models/dms-audit-risk.ts +34 -0
  151. package/src/openapi/models/dms-audit-statement.ts +104 -0
  152. package/src/openapi/models/dms-audit-status.ts +32 -0
  153. package/src/openapi/models/dms-audit.ts +167 -0
  154. package/src/openapi/models/dms-option.ts +1 -1
  155. package/src/openapi/models/environment-module-status.ts +2 -0
  156. package/src/openapi/models/environment-module.ts +12 -0
  157. package/src/openapi/models/index.ts +8 -0
  158. package/src/openapi/models/vip-port-check-request.ts +36 -0
  159. package/src/openapi/models/vip-port-check-result-occupied-ports-inner.ts +36 -0
  160. package/src/openapi/models/vip-port-check-result.ts +45 -0
  161. package/src/openapi.yaml +285 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vip-port-check-result.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/vip-port-check-result.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,8CAA8C,CAAC;AAEzG;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,eAAe,EAAE,KAAK,CAAC,oCAAoC,CAAC,CAAC;CAChE"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * KubeBlocks Cloud API
6
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: support@apecloud.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=vip-port-check-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vip-port-check-result.js","sourceRoot":"","sources":["../../../src/openapi/models/vip-port-check-result.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "2.4.0-alpha.144",
3
+ "version": "2.4.0-alpha.146",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -481,6 +481,11 @@ models/disaster-recovery-status.ts
481
481
  models/disaster-recovery-task.ts
482
482
  models/dm-file.ts
483
483
  models/dm-tablespace.ts
484
+ models/dms-audit-list.ts
485
+ models/dms-audit-risk.ts
486
+ models/dms-audit-statement.ts
487
+ models/dms-audit-status.ts
488
+ models/dms-audit.ts
484
489
  models/dms-check-constraint.ts
485
490
  models/dms-exclude-constraint-exclude-inner.ts
486
491
  models/dms-exclude-constraint.ts
@@ -1325,6 +1330,9 @@ models/vip-pool-create.ts
1325
1330
  models/vip-pool-list.ts
1326
1331
  models/vip-pool-update.ts
1327
1332
  models/vip-pool.ts
1333
+ models/vip-port-check-request.ts
1334
+ models/vip-port-check-result-occupied-ports-inner.ts
1335
+ models/vip-port-check-result.ts
1328
1336
  models/volume-restore-policy.ts
1329
1337
  models/vuln-item.ts
1330
1338
  models/vuln-list-item.ts
@@ -32,6 +32,10 @@ import type { DataImport200Response } from '../models';
32
32
  // @ts-ignore
33
33
  import type { Datasource } from '../models';
34
34
  // @ts-ignore
35
+ import type { DmsAuditList } from '../models';
36
+ // @ts-ignore
37
+ import type { DmsAuditStatus } from '../models';
38
+ // @ts-ignore
35
39
  import type { DmsExecutionPlanResult } from '../models';
36
40
  // @ts-ignore
37
41
  import type { DmsExplainRequest } from '../models';
@@ -1449,6 +1453,85 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
1449
1453
 
1450
1454
 
1451
1455
 
1456
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1457
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1458
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1459
+
1460
+ return {
1461
+ url: toPathString(localVarUrlObj),
1462
+ options: localVarRequestOptions,
1463
+ };
1464
+ },
1465
+ /**
1466
+ * Only organization administrators and authorized admin-portal users can read these records.
1467
+ * @summary List independent DMS audit records
1468
+ * @param {string} orgName
1469
+ * @param {string} clusterName
1470
+ * @param {number} [offset]
1471
+ * @param {number} [limit]
1472
+ * @param {string} [userName]
1473
+ * @param {DmsAuditStatus} [status]
1474
+ * @param {string} [from]
1475
+ * @param {string} [to]
1476
+ * @param {*} [options] Override http request option.
1477
+ * @throws {RequiredError}
1478
+ */
1479
+ listDMSAudit: async (orgName: string, clusterName: string, offset?: number, limit?: number, userName?: string, status?: DmsAuditStatus, from?: string, to?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1480
+ // verify required parameter 'orgName' is not null or undefined
1481
+ assertParamExists('listDMSAudit', 'orgName', orgName)
1482
+ // verify required parameter 'clusterName' is not null or undefined
1483
+ assertParamExists('listDMSAudit', 'clusterName', clusterName)
1484
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/dms/audits`
1485
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1486
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1487
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1488
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1489
+ let baseOptions;
1490
+ if (configuration) {
1491
+ baseOptions = configuration.baseOptions;
1492
+ }
1493
+
1494
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1495
+ const localVarHeaderParameter = {} as any;
1496
+ const localVarQueryParameter = {} as any;
1497
+
1498
+ // authentication BearerToken required
1499
+ // http bearer authentication required
1500
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1501
+
1502
+ // authentication DigestAuth required
1503
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1504
+
1505
+ if (offset !== undefined) {
1506
+ localVarQueryParameter['offset'] = offset;
1507
+ }
1508
+
1509
+ if (limit !== undefined) {
1510
+ localVarQueryParameter['limit'] = limit;
1511
+ }
1512
+
1513
+ if (userName !== undefined) {
1514
+ localVarQueryParameter['userName'] = userName;
1515
+ }
1516
+
1517
+ if (status !== undefined) {
1518
+ localVarQueryParameter['status'] = status;
1519
+ }
1520
+
1521
+ if (from !== undefined) {
1522
+ localVarQueryParameter['from'] = (from as any instanceof Date) ?
1523
+ (from as any).toISOString() :
1524
+ from;
1525
+ }
1526
+
1527
+ if (to !== undefined) {
1528
+ localVarQueryParameter['to'] = (to as any instanceof Date) ?
1529
+ (to as any).toISOString() :
1530
+ to;
1531
+ }
1532
+
1533
+
1534
+
1452
1535
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1453
1536
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1454
1537
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -4384,6 +4467,26 @@ export const DmsApiFp = function(configuration?: Configuration) {
4384
4467
  const localVarOperationServerBasePath = operationServerMap['DmsApi.getSchemaList']?.[localVarOperationServerIndex]?.url;
4385
4468
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4386
4469
  },
4470
+ /**
4471
+ * Only organization administrators and authorized admin-portal users can read these records.
4472
+ * @summary List independent DMS audit records
4473
+ * @param {string} orgName
4474
+ * @param {string} clusterName
4475
+ * @param {number} [offset]
4476
+ * @param {number} [limit]
4477
+ * @param {string} [userName]
4478
+ * @param {DmsAuditStatus} [status]
4479
+ * @param {string} [from]
4480
+ * @param {string} [to]
4481
+ * @param {*} [options] Override http request option.
4482
+ * @throws {RequiredError}
4483
+ */
4484
+ async listDMSAudit(orgName: string, clusterName: string, offset?: number, limit?: number, userName?: string, status?: DmsAuditStatus, from?: string, to?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsAuditList>> {
4485
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDMSAudit(orgName, clusterName, offset, limit, userName, status, from, to, options);
4486
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4487
+ const localVarOperationServerBasePath = operationServerMap['DmsApi.listDMSAudit']?.[localVarOperationServerIndex]?.url;
4488
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4489
+ },
4387
4490
  /**
4388
4491
  *
4389
4492
  * @summary list the datasource of a cluster
@@ -5365,6 +5468,16 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
5365
5468
  getSchemaList(requestParameters: DmsApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
5366
5469
  return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
5367
5470
  },
5471
+ /**
5472
+ * Only organization administrators and authorized admin-portal users can read these records.
5473
+ * @summary List independent DMS audit records
5474
+ * @param {DmsApiListDMSAuditRequest} requestParameters Request parameters.
5475
+ * @param {*} [options] Override http request option.
5476
+ * @throws {RequiredError}
5477
+ */
5478
+ listDMSAudit(requestParameters: DmsApiListDMSAuditRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsAuditList> {
5479
+ return localVarFp.listDMSAudit(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.userName, requestParameters.status, requestParameters.from, requestParameters.to, options).then((request) => request(axios, basePath));
5480
+ },
5368
5481
  /**
5369
5482
  *
5370
5483
  * @summary list the datasource of a cluster
@@ -6046,6 +6159,16 @@ export interface DmsApiInterface {
6046
6159
  */
6047
6160
  getSchemaList(requestParameters: DmsApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
6048
6161
 
6162
+ /**
6163
+ * Only organization administrators and authorized admin-portal users can read these records.
6164
+ * @summary List independent DMS audit records
6165
+ * @param {DmsApiListDMSAuditRequest} requestParameters Request parameters.
6166
+ * @param {*} [options] Override http request option.
6167
+ * @throws {RequiredError}
6168
+ * @memberof DmsApiInterface
6169
+ */
6170
+ listDMSAudit(requestParameters: DmsApiListDMSAuditRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsAuditList>;
6171
+
6049
6172
  /**
6050
6173
  *
6051
6174
  * @summary list the datasource of a cluster
@@ -7364,6 +7487,69 @@ export interface DmsApiGetSchemaListRequest {
7364
7487
  readonly database?: string
7365
7488
  }
7366
7489
 
7490
+ /**
7491
+ * Request parameters for listDMSAudit operation in DmsApi.
7492
+ * @export
7493
+ * @interface DmsApiListDMSAuditRequest
7494
+ */
7495
+ export interface DmsApiListDMSAuditRequest {
7496
+ /**
7497
+ *
7498
+ * @type {string}
7499
+ * @memberof DmsApiListDMSAudit
7500
+ */
7501
+ readonly orgName: string
7502
+
7503
+ /**
7504
+ *
7505
+ * @type {string}
7506
+ * @memberof DmsApiListDMSAudit
7507
+ */
7508
+ readonly clusterName: string
7509
+
7510
+ /**
7511
+ *
7512
+ * @type {number}
7513
+ * @memberof DmsApiListDMSAudit
7514
+ */
7515
+ readonly offset?: number
7516
+
7517
+ /**
7518
+ *
7519
+ * @type {number}
7520
+ * @memberof DmsApiListDMSAudit
7521
+ */
7522
+ readonly limit?: number
7523
+
7524
+ /**
7525
+ *
7526
+ * @type {string}
7527
+ * @memberof DmsApiListDMSAudit
7528
+ */
7529
+ readonly userName?: string
7530
+
7531
+ /**
7532
+ *
7533
+ * @type {DmsAuditStatus}
7534
+ * @memberof DmsApiListDMSAudit
7535
+ */
7536
+ readonly status?: DmsAuditStatus
7537
+
7538
+ /**
7539
+ *
7540
+ * @type {string}
7541
+ * @memberof DmsApiListDMSAudit
7542
+ */
7543
+ readonly from?: string
7544
+
7545
+ /**
7546
+ *
7547
+ * @type {string}
7548
+ * @memberof DmsApiListDMSAudit
7549
+ */
7550
+ readonly to?: string
7551
+ }
7552
+
7367
7553
  /**
7368
7554
  * Request parameters for listDataSourceV2 operation in DmsApi.
7369
7555
  * @export
@@ -9433,6 +9619,18 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
9433
9619
  return DmsApiFp(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
9434
9620
  }
9435
9621
 
9622
+ /**
9623
+ * Only organization administrators and authorized admin-portal users can read these records.
9624
+ * @summary List independent DMS audit records
9625
+ * @param {DmsApiListDMSAuditRequest} requestParameters Request parameters.
9626
+ * @param {*} [options] Override http request option.
9627
+ * @throws {RequiredError}
9628
+ * @memberof DmsApi
9629
+ */
9630
+ public listDMSAudit(requestParameters: DmsApiListDMSAuditRequest, options?: RawAxiosRequestConfig) {
9631
+ return DmsApiFp(this.configuration).listDMSAudit(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.userName, requestParameters.status, requestParameters.from, requestParameters.to, options).then((request) => request(this.axios, this.basePath));
9632
+ }
9633
+
9436
9634
  /**
9437
9635
  *
9438
9636
  * @summary list the datasource of a cluster
@@ -2455,7 +2455,7 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
2455
2455
  };
2456
2456
  },
2457
2457
  /**
2458
- * Performs the requested module action. Supported quick install and upgrade actions use dryRun=true for synchronous checks without changes; dryRun=false or omitted repeats the checks and submits an asynchronous task only when all checks pass. Other module actions keep their original behavior.
2458
+ * Performs the requested module action. Supported install, upgrade, and uninstall actions use dryRun=true for synchronous checks without changes; dryRun=false or omitted repeats the checks and submits an asynchronous task only when all checks pass. Failed uninstall tasks reuse their original resource snapshot on retry. Other module actions keep their original behavior.
2459
2459
  * @summary Update an environment module
2460
2460
  * @param {string} environmentName Environment Name
2461
2461
  * @param {EnvironmentModuleUpdate} [environmentModuleUpdate]
@@ -3223,7 +3223,7 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
3223
3223
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3224
3224
  },
3225
3225
  /**
3226
- * Performs the requested module action. Supported quick install and upgrade actions use dryRun=true for synchronous checks without changes; dryRun=false or omitted repeats the checks and submits an asynchronous task only when all checks pass. Other module actions keep their original behavior.
3226
+ * Performs the requested module action. Supported install, upgrade, and uninstall actions use dryRun=true for synchronous checks without changes; dryRun=false or omitted repeats the checks and submits an asynchronous task only when all checks pass. Failed uninstall tasks reuse their original resource snapshot on retry. Other module actions keep their original behavior.
3227
3227
  * @summary Update an environment module
3228
3228
  * @param {string} environmentName Environment Name
3229
3229
  * @param {EnvironmentModuleUpdate} [environmentModuleUpdate]
@@ -3755,7 +3755,7 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
3755
3755
  return localVarFp.updateEnvironmentKubeconfig(requestParameters.environmentName, requestParameters.kubeconfig, options).then((request) => request(axios, basePath));
3756
3756
  },
3757
3757
  /**
3758
- * Performs the requested module action. Supported quick install and upgrade actions use dryRun=true for synchronous checks without changes; dryRun=false or omitted repeats the checks and submits an asynchronous task only when all checks pass. Other module actions keep their original behavior.
3758
+ * Performs the requested module action. Supported install, upgrade, and uninstall actions use dryRun=true for synchronous checks without changes; dryRun=false or omitted repeats the checks and submits an asynchronous task only when all checks pass. Failed uninstall tasks reuse their original resource snapshot on retry. Other module actions keep their original behavior.
3759
3759
  * @summary Update an environment module
3760
3760
  * @param {EnvironmentApiUpdateEnvironmentModuleRequest} requestParameters Request parameters.
3761
3761
  * @param {*} [options] Override http request option.
@@ -4282,7 +4282,7 @@ export interface EnvironmentApiInterface {
4282
4282
  updateEnvironmentKubeconfig(requestParameters: EnvironmentApiUpdateEnvironmentKubeconfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<HttpBody>;
4283
4283
 
4284
4284
  /**
4285
- * Performs the requested module action. Supported quick install and upgrade actions use dryRun=true for synchronous checks without changes; dryRun=false or omitted repeats the checks and submits an asynchronous task only when all checks pass. Other module actions keep their original behavior.
4285
+ * Performs the requested module action. Supported install, upgrade, and uninstall actions use dryRun=true for synchronous checks without changes; dryRun=false or omitted repeats the checks and submits an asynchronous task only when all checks pass. Failed uninstall tasks reuse their original resource snapshot on retry. Other module actions keep their original behavior.
4286
4286
  * @summary Update an environment module
4287
4287
  * @param {EnvironmentApiUpdateEnvironmentModuleRequest} requestParameters Request parameters.
4288
4288
  * @param {*} [options] Override http request option.
@@ -5982,7 +5982,7 @@ export class EnvironmentApi extends BaseAPI implements EnvironmentApiInterface {
5982
5982
  }
5983
5983
 
5984
5984
  /**
5985
- * Performs the requested module action. Supported quick install and upgrade actions use dryRun=true for synchronous checks without changes; dryRun=false or omitted repeats the checks and submits an asynchronous task only when all checks pass. Other module actions keep their original behavior.
5985
+ * Performs the requested module action. Supported install, upgrade, and uninstall actions use dryRun=true for synchronous checks without changes; dryRun=false or omitted repeats the checks and submits an asynchronous task only when all checks pass. Failed uninstall tasks reuse their original resource snapshot on retry. Other module actions keep their original behavior.
5986
5986
  * @summary Update an environment module
5987
5987
  * @param {EnvironmentApiUpdateEnvironmentModuleRequest} requestParameters Request parameters.
5988
5988
  * @param {*} [options] Override http request option.
@@ -156,6 +156,10 @@ import type { Datasource } from '../models';
156
156
  // @ts-ignore
157
157
  import type { DbTDERequest } from '../models';
158
158
  // @ts-ignore
159
+ import type { DmsAuditList } from '../models';
160
+ // @ts-ignore
161
+ import type { DmsAuditStatus } from '../models';
162
+ // @ts-ignore
159
163
  import type { DmsExecutionPlanResult } from '../models';
160
164
  // @ts-ignore
161
165
  import type { DmsExplainRequest } from '../models';
@@ -11534,6 +11538,85 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
11534
11538
 
11535
11539
 
11536
11540
 
11541
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11542
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11543
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11544
+
11545
+ return {
11546
+ url: toPathString(localVarUrlObj),
11547
+ options: localVarRequestOptions,
11548
+ };
11549
+ },
11550
+ /**
11551
+ * Only organization administrators and authorized admin-portal users can read these records.
11552
+ * @summary List independent DMS audit records
11553
+ * @param {string} orgName
11554
+ * @param {string} clusterName
11555
+ * @param {number} [offset]
11556
+ * @param {number} [limit]
11557
+ * @param {string} [userName]
11558
+ * @param {DmsAuditStatus} [status]
11559
+ * @param {string} [from]
11560
+ * @param {string} [to]
11561
+ * @param {*} [options] Override http request option.
11562
+ * @throws {RequiredError}
11563
+ */
11564
+ listDMSAudit: async (orgName: string, clusterName: string, offset?: number, limit?: number, userName?: string, status?: DmsAuditStatus, from?: string, to?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11565
+ // verify required parameter 'orgName' is not null or undefined
11566
+ assertParamExists('listDMSAudit', 'orgName', orgName)
11567
+ // verify required parameter 'clusterName' is not null or undefined
11568
+ assertParamExists('listDMSAudit', 'clusterName', clusterName)
11569
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/dms/audits`
11570
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
11571
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
11572
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11573
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11574
+ let baseOptions;
11575
+ if (configuration) {
11576
+ baseOptions = configuration.baseOptions;
11577
+ }
11578
+
11579
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11580
+ const localVarHeaderParameter = {} as any;
11581
+ const localVarQueryParameter = {} as any;
11582
+
11583
+ // authentication BearerToken required
11584
+ // http bearer authentication required
11585
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11586
+
11587
+ // authentication DigestAuth required
11588
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
11589
+
11590
+ if (offset !== undefined) {
11591
+ localVarQueryParameter['offset'] = offset;
11592
+ }
11593
+
11594
+ if (limit !== undefined) {
11595
+ localVarQueryParameter['limit'] = limit;
11596
+ }
11597
+
11598
+ if (userName !== undefined) {
11599
+ localVarQueryParameter['userName'] = userName;
11600
+ }
11601
+
11602
+ if (status !== undefined) {
11603
+ localVarQueryParameter['status'] = status;
11604
+ }
11605
+
11606
+ if (from !== undefined) {
11607
+ localVarQueryParameter['from'] = (from as any instanceof Date) ?
11608
+ (from as any).toISOString() :
11609
+ from;
11610
+ }
11611
+
11612
+ if (to !== undefined) {
11613
+ localVarQueryParameter['to'] = (to as any instanceof Date) ?
11614
+ (to as any).toISOString() :
11615
+ to;
11616
+ }
11617
+
11618
+
11619
+
11537
11620
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11538
11621
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11539
11622
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -24210,6 +24293,26 @@ export const SharedApiFp = function(configuration?: Configuration) {
24210
24293
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusters']?.[localVarOperationServerIndex]?.url;
24211
24294
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24212
24295
  },
24296
+ /**
24297
+ * Only organization administrators and authorized admin-portal users can read these records.
24298
+ * @summary List independent DMS audit records
24299
+ * @param {string} orgName
24300
+ * @param {string} clusterName
24301
+ * @param {number} [offset]
24302
+ * @param {number} [limit]
24303
+ * @param {string} [userName]
24304
+ * @param {DmsAuditStatus} [status]
24305
+ * @param {string} [from]
24306
+ * @param {string} [to]
24307
+ * @param {*} [options] Override http request option.
24308
+ * @throws {RequiredError}
24309
+ */
24310
+ async listDMSAudit(orgName: string, clusterName: string, offset?: number, limit?: number, userName?: string, status?: DmsAuditStatus, from?: string, to?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsAuditList>> {
24311
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDMSAudit(orgName, clusterName, offset, limit, userName, status, from, to, options);
24312
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24313
+ const localVarOperationServerBasePath = operationServerMap['SharedApi.listDMSAudit']?.[localVarOperationServerIndex]?.url;
24314
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24315
+ },
24213
24316
  /**
24214
24317
  *
24215
24318
  * @summary list the datasource of a cluster
@@ -28972,6 +29075,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
28972
29075
  listClusters(requestParameters: SharedApiListClustersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
28973
29076
  return localVarFp.listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
28974
29077
  },
29078
+ /**
29079
+ * Only organization administrators and authorized admin-portal users can read these records.
29080
+ * @summary List independent DMS audit records
29081
+ * @param {SharedApiListDMSAuditRequest} requestParameters Request parameters.
29082
+ * @param {*} [options] Override http request option.
29083
+ * @throws {RequiredError}
29084
+ */
29085
+ listDMSAudit(requestParameters: SharedApiListDMSAuditRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsAuditList> {
29086
+ return localVarFp.listDMSAudit(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.userName, requestParameters.status, requestParameters.from, requestParameters.to, options).then((request) => request(axios, basePath));
29087
+ },
28975
29088
  /**
28976
29089
  *
28977
29090
  * @summary list the datasource of a cluster
@@ -32704,6 +32817,16 @@ export interface SharedApiInterface {
32704
32817
  */
32705
32818
  listClusters(requestParameters?: SharedApiListClustersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
32706
32819
 
32820
+ /**
32821
+ * Only organization administrators and authorized admin-portal users can read these records.
32822
+ * @summary List independent DMS audit records
32823
+ * @param {SharedApiListDMSAuditRequest} requestParameters Request parameters.
32824
+ * @param {*} [options] Override http request option.
32825
+ * @throws {RequiredError}
32826
+ * @memberof SharedApiInterface
32827
+ */
32828
+ listDMSAudit(requestParameters: SharedApiListDMSAuditRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsAuditList>;
32829
+
32707
32830
  /**
32708
32831
  *
32709
32832
  * @summary list the datasource of a cluster
@@ -41153,6 +41276,69 @@ export interface SharedApiListClustersRequest {
41153
41276
  readonly includeEndpoints?: boolean
41154
41277
  }
41155
41278
 
41279
+ /**
41280
+ * Request parameters for listDMSAudit operation in SharedApi.
41281
+ * @export
41282
+ * @interface SharedApiListDMSAuditRequest
41283
+ */
41284
+ export interface SharedApiListDMSAuditRequest {
41285
+ /**
41286
+ *
41287
+ * @type {string}
41288
+ * @memberof SharedApiListDMSAudit
41289
+ */
41290
+ readonly orgName: string
41291
+
41292
+ /**
41293
+ *
41294
+ * @type {string}
41295
+ * @memberof SharedApiListDMSAudit
41296
+ */
41297
+ readonly clusterName: string
41298
+
41299
+ /**
41300
+ *
41301
+ * @type {number}
41302
+ * @memberof SharedApiListDMSAudit
41303
+ */
41304
+ readonly offset?: number
41305
+
41306
+ /**
41307
+ *
41308
+ * @type {number}
41309
+ * @memberof SharedApiListDMSAudit
41310
+ */
41311
+ readonly limit?: number
41312
+
41313
+ /**
41314
+ *
41315
+ * @type {string}
41316
+ * @memberof SharedApiListDMSAudit
41317
+ */
41318
+ readonly userName?: string
41319
+
41320
+ /**
41321
+ *
41322
+ * @type {DmsAuditStatus}
41323
+ * @memberof SharedApiListDMSAudit
41324
+ */
41325
+ readonly status?: DmsAuditStatus
41326
+
41327
+ /**
41328
+ *
41329
+ * @type {string}
41330
+ * @memberof SharedApiListDMSAudit
41331
+ */
41332
+ readonly from?: string
41333
+
41334
+ /**
41335
+ *
41336
+ * @type {string}
41337
+ * @memberof SharedApiListDMSAudit
41338
+ */
41339
+ readonly to?: string
41340
+ }
41341
+
41156
41342
  /**
41157
41343
  * Request parameters for listDataSourceV2 operation in SharedApi.
41158
41344
  * @export
@@ -49556,6 +49742,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
49556
49742
  return SharedApiFp(this.configuration).listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
49557
49743
  }
49558
49744
 
49745
+ /**
49746
+ * Only organization administrators and authorized admin-portal users can read these records.
49747
+ * @summary List independent DMS audit records
49748
+ * @param {SharedApiListDMSAuditRequest} requestParameters Request parameters.
49749
+ * @param {*} [options] Override http request option.
49750
+ * @throws {RequiredError}
49751
+ * @memberof SharedApi
49752
+ */
49753
+ public listDMSAudit(requestParameters: SharedApiListDMSAuditRequest, options?: RawAxiosRequestConfig) {
49754
+ return SharedApiFp(this.configuration).listDMSAudit(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.userName, requestParameters.status, requestParameters.from, requestParameters.to, options).then((request) => request(this.axios, this.basePath));
49755
+ }
49756
+
49559
49757
  /**
49560
49758
  *
49561
49759
  * @summary list the datasource of a cluster