kb-cloud-client-typescript 2.4.0-alpha.50 → 2.4.0-alpha.52

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 (204) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/data-replication-api.d.ts +1356 -0
  6. package/dist/adminapi/apis/data-replication-api.d.ts.map +1 -0
  7. package/dist/adminapi/apis/data-replication-api.js +1495 -0
  8. package/dist/adminapi/apis/data-replication-api.js.map +1 -0
  9. package/dist/adminapi/models/auth-type.d.ts +21 -0
  10. package/dist/adminapi/models/auth-type.d.ts.map +1 -0
  11. package/dist/adminapi/models/auth-type.js +25 -0
  12. package/dist/adminapi/models/auth-type.js.map +1 -0
  13. package/dist/adminapi/models/basic-auth-model.d.ts +31 -0
  14. package/dist/adminapi/models/basic-auth-model.d.ts.map +1 -0
  15. package/dist/adminapi/models/basic-auth-model.js +16 -0
  16. package/dist/adminapi/models/basic-auth-model.js.map +1 -0
  17. package/dist/adminapi/models/channel-status.d.ts +28 -0
  18. package/dist/adminapi/models/channel-status.d.ts.map +1 -0
  19. package/dist/adminapi/models/channel-status.js +32 -0
  20. package/dist/adminapi/models/channel-status.js.map +1 -0
  21. package/dist/adminapi/models/cluster-mode-transition.d.ts +7 -0
  22. package/dist/adminapi/models/cluster-mode-transition.d.ts.map +1 -1
  23. package/dist/adminapi/models/custom-endpoint-create.d.ts +39 -0
  24. package/dist/adminapi/models/custom-endpoint-create.d.ts.map +1 -0
  25. package/dist/adminapi/models/custom-endpoint-create.js +16 -0
  26. package/dist/adminapi/models/custom-endpoint-create.js.map +1 -0
  27. package/dist/adminapi/models/custom-endpoint.d.ts +45 -0
  28. package/dist/adminapi/models/custom-endpoint.d.ts.map +1 -0
  29. package/dist/adminapi/models/custom-endpoint.js +16 -0
  30. package/dist/adminapi/models/custom-endpoint.js.map +1 -0
  31. package/dist/adminapi/models/data-channel-detail.d.ts +33 -0
  32. package/dist/adminapi/models/data-channel-detail.d.ts.map +1 -0
  33. package/dist/adminapi/models/data-channel-detail.js +16 -0
  34. package/dist/adminapi/models/data-channel-detail.js.map +1 -0
  35. package/dist/adminapi/models/data-channel-endpoint-create.d.ts +60 -0
  36. package/dist/adminapi/models/data-channel-endpoint-create.d.ts.map +1 -0
  37. package/dist/adminapi/models/data-channel-endpoint-create.js +16 -0
  38. package/dist/adminapi/models/data-channel-endpoint-create.js.map +1 -0
  39. package/dist/adminapi/models/data-channel-item.d.ts +119 -0
  40. package/dist/adminapi/models/data-channel-item.d.ts.map +1 -0
  41. package/dist/adminapi/models/data-channel-item.js +16 -0
  42. package/dist/adminapi/models/data-channel-item.js.map +1 -0
  43. package/dist/adminapi/models/data-channel-list-endpoint.d.ts +54 -0
  44. package/dist/adminapi/models/data-channel-list-endpoint.d.ts.map +1 -0
  45. package/dist/adminapi/models/data-channel-list-endpoint.js +16 -0
  46. package/dist/adminapi/models/data-channel-list-endpoint.js.map +1 -0
  47. package/dist/adminapi/models/data-channel-module-progress.d.ts +49 -0
  48. package/dist/adminapi/models/data-channel-module-progress.d.ts.map +1 -0
  49. package/dist/adminapi/models/data-channel-module-progress.js +16 -0
  50. package/dist/adminapi/models/data-channel-module-progress.js.map +1 -0
  51. package/dist/adminapi/models/data-channel-parameter-key-value.d.ts +31 -0
  52. package/dist/adminapi/models/data-channel-parameter-key-value.d.ts.map +1 -0
  53. package/dist/adminapi/models/data-channel-parameter-key-value.js +16 -0
  54. package/dist/adminapi/models/data-channel-parameter-key-value.js.map +1 -0
  55. package/dist/adminapi/models/data-channel-progress.d.ts +32 -0
  56. package/dist/adminapi/models/data-channel-progress.d.ts.map +1 -0
  57. package/dist/adminapi/models/data-channel-progress.js +16 -0
  58. package/dist/adminapi/models/data-channel-progress.js.map +1 -0
  59. package/dist/adminapi/models/data-channel-response.d.ts +43 -0
  60. package/dist/adminapi/models/data-channel-response.d.ts.map +1 -0
  61. package/dist/adminapi/models/data-channel-response.js +16 -0
  62. package/dist/adminapi/models/data-channel-response.js.map +1 -0
  63. package/dist/adminapi/models/data-check-detail-item.d.ts +94 -0
  64. package/dist/adminapi/models/data-check-detail-item.d.ts.map +1 -0
  65. package/dist/adminapi/models/data-check-detail-item.js +16 -0
  66. package/dist/adminapi/models/data-check-detail-item.js.map +1 -0
  67. package/dist/adminapi/models/data-check-detail-type.d.ts +22 -0
  68. package/dist/adminapi/models/data-check-detail-type.d.ts.map +1 -0
  69. package/dist/adminapi/models/data-check-detail-type.js +26 -0
  70. package/dist/adminapi/models/data-check-detail-type.js.map +1 -0
  71. package/dist/adminapi/models/data-check-details.d.ts +33 -0
  72. package/dist/adminapi/models/data-check-details.d.ts.map +1 -0
  73. package/dist/adminapi/models/data-check-details.js +16 -0
  74. package/dist/adminapi/models/data-check-details.js.map +1 -0
  75. package/dist/adminapi/models/data-check-diff-value.d.ts +43 -0
  76. package/dist/adminapi/models/data-check-diff-value.d.ts.map +1 -0
  77. package/dist/adminapi/models/data-check-diff-value.js +16 -0
  78. package/dist/adminapi/models/data-check-diff-value.js.map +1 -0
  79. package/dist/adminapi/models/data-check-item.d.ts +120 -0
  80. package/dist/adminapi/models/data-check-item.d.ts.map +1 -0
  81. package/dist/adminapi/models/data-check-item.js +16 -0
  82. package/dist/adminapi/models/data-check-item.js.map +1 -0
  83. package/dist/adminapi/models/data-check-list-item.d.ts +120 -0
  84. package/dist/adminapi/models/data-check-list-item.d.ts.map +1 -0
  85. package/dist/adminapi/models/data-check-list-item.js +16 -0
  86. package/dist/adminapi/models/data-check-list-item.js.map +1 -0
  87. package/dist/adminapi/models/data-check-list-summary.d.ts +49 -0
  88. package/dist/adminapi/models/data-check-list-summary.d.ts.map +1 -0
  89. package/dist/adminapi/models/data-check-list-summary.js +16 -0
  90. package/dist/adminapi/models/data-check-list-summary.js.map +1 -0
  91. package/dist/adminapi/models/data-check-status.d.ts +23 -0
  92. package/dist/adminapi/models/data-check-status.d.ts.map +1 -0
  93. package/dist/adminapi/models/data-check-status.js +27 -0
  94. package/dist/adminapi/models/data-check-status.js.map +1 -0
  95. package/dist/adminapi/models/data-check-summary.d.ts +56 -0
  96. package/dist/adminapi/models/data-check-summary.d.ts.map +1 -0
  97. package/dist/adminapi/models/data-check-summary.js +16 -0
  98. package/dist/adminapi/models/data-check-summary.js.map +1 -0
  99. package/dist/adminapi/models/data-check-table-summary.d.ts +67 -0
  100. package/dist/adminapi/models/data-check-table-summary.d.ts.map +1 -0
  101. package/dist/adminapi/models/data-check-table-summary.js +16 -0
  102. package/dist/adminapi/models/data-check-table-summary.js.map +1 -0
  103. package/dist/adminapi/models/data-check-type.d.ts +22 -0
  104. package/dist/adminapi/models/data-check-type.d.ts.map +1 -0
  105. package/dist/adminapi/models/data-check-type.js +26 -0
  106. package/dist/adminapi/models/data-check-type.js.map +1 -0
  107. package/dist/adminapi/models/data-replication-channel-container.d.ts +37 -0
  108. package/dist/adminapi/models/data-replication-channel-container.d.ts.map +1 -0
  109. package/dist/adminapi/models/data-replication-channel-container.js +16 -0
  110. package/dist/adminapi/models/data-replication-channel-container.js.map +1 -0
  111. package/dist/adminapi/models/data-replication-create.d.ts +85 -0
  112. package/dist/adminapi/models/data-replication-create.d.ts.map +1 -0
  113. package/dist/adminapi/models/data-replication-create.js +16 -0
  114. package/dist/adminapi/models/data-replication-create.js.map +1 -0
  115. package/dist/adminapi/models/data-replication-endpoint-type.d.ts +22 -0
  116. package/dist/adminapi/models/data-replication-endpoint-type.d.ts.map +1 -0
  117. package/dist/adminapi/models/data-replication-endpoint-type.js +26 -0
  118. package/dist/adminapi/models/data-replication-endpoint-type.js.map +1 -0
  119. package/dist/adminapi/models/data-replication-ops-type.d.ts +23 -0
  120. package/dist/adminapi/models/data-replication-ops-type.d.ts.map +1 -0
  121. package/dist/adminapi/models/data-replication-ops-type.js +27 -0
  122. package/dist/adminapi/models/data-replication-ops-type.js.map +1 -0
  123. package/dist/adminapi/models/data-replication-parameters-response-detail.d.ts +57 -0
  124. package/dist/adminapi/models/data-replication-parameters-response-detail.d.ts.map +1 -0
  125. package/dist/adminapi/models/data-replication-parameters-response-detail.js +16 -0
  126. package/dist/adminapi/models/data-replication-parameters-response-detail.js.map +1 -0
  127. package/dist/adminapi/models/data-replication-update.d.ts +32 -0
  128. package/dist/adminapi/models/data-replication-update.d.ts.map +1 -0
  129. package/dist/adminapi/models/data-replication-update.js +16 -0
  130. package/dist/adminapi/models/data-replication-update.js.map +1 -0
  131. package/dist/adminapi/models/event-item.d.ts +55 -0
  132. package/dist/adminapi/models/event-item.d.ts.map +1 -0
  133. package/dist/adminapi/models/event-item.js +16 -0
  134. package/dist/adminapi/models/event-item.js.map +1 -0
  135. package/dist/adminapi/models/index.d.ts +34 -0
  136. package/dist/adminapi/models/index.d.ts.map +1 -1
  137. package/dist/adminapi/models/index.js +34 -0
  138. package/dist/adminapi/models/index.js.map +1 -1
  139. package/dist/adminapi/models/kubeblocks-endpoint.d.ts +49 -0
  140. package/dist/adminapi/models/kubeblocks-endpoint.d.ts.map +1 -0
  141. package/dist/adminapi/models/kubeblocks-endpoint.js +16 -0
  142. package/dist/adminapi/models/kubeblocks-endpoint.js.map +1 -0
  143. package/dist/adminapi/models/pre-check-create.d.ts +51 -0
  144. package/dist/adminapi/models/pre-check-create.d.ts.map +1 -0
  145. package/dist/adminapi/models/pre-check-create.js +16 -0
  146. package/dist/adminapi/models/pre-check-create.js.map +1 -0
  147. package/dist/adminapi/models/replication-object-query.d.ts +56 -0
  148. package/dist/adminapi/models/replication-object-query.d.ts.map +1 -0
  149. package/dist/adminapi/models/replication-object-query.js +16 -0
  150. package/dist/adminapi/models/replication-object-query.js.map +1 -0
  151. package/dist/openapi/models/cluster-mode-transition.d.ts +7 -0
  152. package/dist/openapi/models/cluster-mode-transition.d.ts.map +1 -1
  153. package/dist/openapi/models/data-channel-item.d.ts +6 -0
  154. package/dist/openapi/models/data-channel-item.d.ts.map +1 -1
  155. package/dist/openapi/models/data-check-item.d.ts +6 -0
  156. package/dist/openapi/models/data-check-item.d.ts.map +1 -1
  157. package/dist/openapi/models/data-check-list-item.d.ts +6 -0
  158. package/dist/openapi/models/data-check-list-item.d.ts.map +1 -1
  159. package/package.json +1 -1
  160. package/src/adminapi/.openapi-generator/FILES +35 -0
  161. package/src/adminapi/api.ts +1 -0
  162. package/src/adminapi/apis/data-replication-api.ts +2370 -0
  163. package/src/adminapi/models/auth-type.ts +30 -0
  164. package/src/adminapi/models/basic-auth-model.ts +36 -0
  165. package/src/adminapi/models/channel-status.ts +37 -0
  166. package/src/adminapi/models/cluster-mode-transition.ts +11 -0
  167. package/src/adminapi/models/custom-endpoint-create.ts +50 -0
  168. package/src/adminapi/models/custom-endpoint.ts +56 -0
  169. package/src/adminapi/models/data-channel-detail.ts +42 -0
  170. package/src/adminapi/models/data-channel-endpoint-create.ts +71 -0
  171. package/src/adminapi/models/data-channel-item.ts +134 -0
  172. package/src/adminapi/models/data-channel-list-endpoint.ts +65 -0
  173. package/src/adminapi/models/data-channel-module-progress.ts +54 -0
  174. package/src/adminapi/models/data-channel-parameter-key-value.ts +36 -0
  175. package/src/adminapi/models/data-channel-progress.ts +39 -0
  176. package/src/adminapi/models/data-channel-response.ts +48 -0
  177. package/src/adminapi/models/data-check-detail-item.ts +93 -0
  178. package/src/adminapi/models/data-check-detail-type.ts +31 -0
  179. package/src/adminapi/models/data-check-details.ts +42 -0
  180. package/src/adminapi/models/data-check-diff-value.ts +48 -0
  181. package/src/adminapi/models/data-check-item.ts +137 -0
  182. package/src/adminapi/models/data-check-list-item.ts +137 -0
  183. package/src/adminapi/models/data-check-list-summary.ts +54 -0
  184. package/src/adminapi/models/data-check-status.ts +32 -0
  185. package/src/adminapi/models/data-check-summary.ts +63 -0
  186. package/src/adminapi/models/data-check-table-summary.ts +72 -0
  187. package/src/adminapi/models/data-check-type.ts +31 -0
  188. package/src/adminapi/models/data-replication-channel-container.ts +42 -0
  189. package/src/adminapi/models/data-replication-create.ts +96 -0
  190. package/src/adminapi/models/data-replication-endpoint-type.ts +31 -0
  191. package/src/adminapi/models/data-replication-ops-type.ts +32 -0
  192. package/src/adminapi/models/data-replication-parameters-response-detail.ts +68 -0
  193. package/src/adminapi/models/data-replication-update.ts +39 -0
  194. package/src/adminapi/models/event-item.ts +60 -0
  195. package/src/adminapi/models/index.ts +34 -0
  196. package/src/adminapi/models/kubeblocks-endpoint.ts +54 -0
  197. package/src/adminapi/models/pre-check-create.ts +60 -0
  198. package/src/adminapi/models/replication-object-query.ts +63 -0
  199. package/src/adminapi.yaml +2069 -797
  200. package/src/openapi/models/cluster-mode-transition.ts +11 -0
  201. package/src/openapi/models/data-channel-item.ts +6 -0
  202. package/src/openapi/models/data-check-item.ts +6 -0
  203. package/src/openapi/models/data-check-list-item.ts +6 -0
  204. package/src/openapi.yaml +9 -0
@@ -0,0 +1,1495 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Admin API
6
+ * The Admin API is used to manage the ApeCloud platform.
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
+ var __importDefault = (this && this.__importDefault) || function (mod) {
16
+ return (mod && mod.__esModule) ? mod : { "default": mod };
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.DataReplicationApi = exports.DataReplicationApiFactory = exports.DataReplicationApiFp = exports.DataReplicationApiAxiosParamCreator = void 0;
20
+ const axios_1 = __importDefault(require("axios"));
21
+ // Some imports not used depending on template conditions
22
+ // @ts-ignore
23
+ const common_1 = require("../common");
24
+ // @ts-ignore
25
+ const base_1 = require("../base");
26
+ /**
27
+ * DataReplicationApi - axios parameter creator
28
+ * @export
29
+ */
30
+ const DataReplicationApiAxiosParamCreator = function (configuration) {
31
+ return {
32
+ /**
33
+ * Create a new data channel ops.
34
+ * @summary Create a new data channel ops
35
+ * @param {string} orgName The Name of the organization
36
+ * @param {string} channelID The ID of the data channel
37
+ * @param {DataReplicationOpsType} opsType The operation type
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ createDataChannelOps: async (orgName, channelID, opsType, options = {}) => {
42
+ // verify required parameter 'orgName' is not null or undefined
43
+ (0, common_1.assertParamExists)('createDataChannelOps', 'orgName', orgName);
44
+ // verify required parameter 'channelID' is not null or undefined
45
+ (0, common_1.assertParamExists)('createDataChannelOps', 'channelID', channelID);
46
+ // verify required parameter 'opsType' is not null or undefined
47
+ (0, common_1.assertParamExists)('createDataChannelOps', 'opsType', opsType);
48
+ const localVarPath = `/admin/v1/organizations/{orgName}/replication/channel/{channelID}/ops/{opsType}`
49
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
50
+ .replace(`{${"channelID"}}`, encodeURIComponent(String(channelID)))
51
+ .replace(`{${"opsType"}}`, encodeURIComponent(String(opsType)));
52
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
53
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
54
+ let baseOptions;
55
+ if (configuration) {
56
+ baseOptions = configuration.baseOptions;
57
+ }
58
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
59
+ const localVarHeaderParameter = {};
60
+ const localVarQueryParameter = {};
61
+ // authentication BearerToken required
62
+ // http bearer authentication required
63
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
64
+ // authentication DigestAuth required
65
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
66
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
67
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
69
+ return {
70
+ url: (0, common_1.toPathString)(localVarUrlObj),
71
+ options: localVarRequestOptions,
72
+ };
73
+ },
74
+ /**
75
+ * create pre check.
76
+ * @summary create pre check
77
+ * @param {string} orgName The Name of the organization
78
+ * @param {PreCheckCreate} body
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ createPreCheck: async (orgName, body, options = {}) => {
83
+ // verify required parameter 'orgName' is not null or undefined
84
+ (0, common_1.assertParamExists)('createPreCheck', 'orgName', orgName);
85
+ // verify required parameter 'body' is not null or undefined
86
+ (0, common_1.assertParamExists)('createPreCheck', 'body', body);
87
+ const localVarPath = `/admin/v1/organizations/{orgName}/replication/channel/precheck`
88
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
89
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
90
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
91
+ let baseOptions;
92
+ if (configuration) {
93
+ baseOptions = configuration.baseOptions;
94
+ }
95
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
96
+ const localVarHeaderParameter = {};
97
+ const localVarQueryParameter = {};
98
+ // authentication BearerToken required
99
+ // http bearer authentication required
100
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
101
+ // authentication DigestAuth required
102
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
103
+ localVarHeaderParameter['Content-Type'] = 'application/json';
104
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
105
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
106
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
107
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
108
+ return {
109
+ url: (0, common_1.toPathString)(localVarUrlObj),
110
+ options: localVarRequestOptions,
111
+ };
112
+ },
113
+ /**
114
+ * Delete a data channel.
115
+ * @summary Delete a data channel
116
+ * @param {string} orgName The Name of the organization
117
+ * @param {string} channelID The ID of the data channel
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ deleteDataChannel: async (orgName, channelID, options = {}) => {
122
+ // verify required parameter 'orgName' is not null or undefined
123
+ (0, common_1.assertParamExists)('deleteDataChannel', 'orgName', orgName);
124
+ // verify required parameter 'channelID' is not null or undefined
125
+ (0, common_1.assertParamExists)('deleteDataChannel', 'channelID', channelID);
126
+ const localVarPath = `/admin/v1/organizations/{orgName}/replication/channel/{channelID}`
127
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
128
+ .replace(`{${"channelID"}}`, encodeURIComponent(String(channelID)));
129
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
130
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
131
+ let baseOptions;
132
+ if (configuration) {
133
+ baseOptions = configuration.baseOptions;
134
+ }
135
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
136
+ const localVarHeaderParameter = {};
137
+ const localVarQueryParameter = {};
138
+ // authentication BearerToken required
139
+ // http bearer authentication required
140
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
141
+ // authentication DigestAuth required
142
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
143
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
144
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
145
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
146
+ return {
147
+ url: (0, common_1.toPathString)(localVarUrlObj),
148
+ options: localVarRequestOptions,
149
+ };
150
+ },
151
+ /**
152
+ * Delete a standalone data check and its runtime resources.
153
+ * @summary Delete a data check
154
+ * @param {string} orgName The Name of the organization
155
+ * @param {string} checkID The ID of the check
156
+ * @param {*} [options] Override http request option.
157
+ * @throws {RequiredError}
158
+ */
159
+ deleteDataCheck: async (orgName, checkID, options = {}) => {
160
+ // verify required parameter 'orgName' is not null or undefined
161
+ (0, common_1.assertParamExists)('deleteDataCheck', 'orgName', orgName);
162
+ // verify required parameter 'checkID' is not null or undefined
163
+ (0, common_1.assertParamExists)('deleteDataCheck', 'checkID', checkID);
164
+ const localVarPath = `/admin/v1/organizations/{orgName}/checks/{checkID}`
165
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
166
+ .replace(`{${"checkID"}}`, encodeURIComponent(String(checkID)));
167
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
168
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
169
+ let baseOptions;
170
+ if (configuration) {
171
+ baseOptions = configuration.baseOptions;
172
+ }
173
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
174
+ const localVarHeaderParameter = {};
175
+ const localVarQueryParameter = {};
176
+ // authentication BearerToken required
177
+ // http bearer authentication required
178
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
179
+ // authentication DigestAuth required
180
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
181
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
183
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
184
+ return {
185
+ url: (0, common_1.toPathString)(localVarUrlObj),
186
+ options: localVarRequestOptions,
187
+ };
188
+ },
189
+ /**
190
+ * delete preCheck.
191
+ * @summary delete preCheck
192
+ * @param {string} preCheckID The ID of the preCheck task
193
+ * @param {string} orgName The Name of the organization
194
+ * @param {*} [options] Override http request option.
195
+ * @deprecated
196
+ * @throws {RequiredError}
197
+ */
198
+ deletePreCheck: async (preCheckID, orgName, options = {}) => {
199
+ // verify required parameter 'preCheckID' is not null or undefined
200
+ (0, common_1.assertParamExists)('deletePreCheck', 'preCheckID', preCheckID);
201
+ // verify required parameter 'orgName' is not null or undefined
202
+ (0, common_1.assertParamExists)('deletePreCheck', 'orgName', orgName);
203
+ const localVarPath = `/admin/v1/organizations/{orgName}/replication/channel/precheck/{preCheckID}`
204
+ .replace(`{${"preCheckID"}}`, encodeURIComponent(String(preCheckID)))
205
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
206
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
207
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
208
+ let baseOptions;
209
+ if (configuration) {
210
+ baseOptions = configuration.baseOptions;
211
+ }
212
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
213
+ const localVarHeaderParameter = {};
214
+ const localVarQueryParameter = {};
215
+ // authentication BearerToken required
216
+ // http bearer authentication required
217
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
218
+ // authentication DigestAuth required
219
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
220
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
221
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
222
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
223
+ return {
224
+ url: (0, common_1.toPathString)(localVarUrlObj),
225
+ options: localVarRequestOptions,
226
+ };
227
+ },
228
+ /**
229
+ * Retrieve a data channel detail.
230
+ * @summary Get Data Channel Details
231
+ * @param {string} orgName The Name of the organization
232
+ * @param {string} channelID The ID of the data channel
233
+ * @param {*} [options] Override http request option.
234
+ * @throws {RequiredError}
235
+ */
236
+ getDataChannel: async (orgName, channelID, options = {}) => {
237
+ // verify required parameter 'orgName' is not null or undefined
238
+ (0, common_1.assertParamExists)('getDataChannel', 'orgName', orgName);
239
+ // verify required parameter 'channelID' is not null or undefined
240
+ (0, common_1.assertParamExists)('getDataChannel', 'channelID', channelID);
241
+ const localVarPath = `/admin/v1/organizations/{orgName}/replication/channel/{channelID}`
242
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
243
+ .replace(`{${"channelID"}}`, encodeURIComponent(String(channelID)));
244
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
245
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
246
+ let baseOptions;
247
+ if (configuration) {
248
+ baseOptions = configuration.baseOptions;
249
+ }
250
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
251
+ const localVarHeaderParameter = {};
252
+ const localVarQueryParameter = {};
253
+ // authentication BearerToken required
254
+ // http bearer authentication required
255
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
256
+ // authentication DigestAuth required
257
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
258
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
259
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
260
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
261
+ return {
262
+ url: (0, common_1.toPathString)(localVarUrlObj),
263
+ options: localVarRequestOptions,
264
+ };
265
+ },
266
+ /**
267
+ * Retrieve a standalone data check detail.
268
+ * @summary Get Data Check
269
+ * @param {string} orgName The Name of the organization
270
+ * @param {string} checkID The ID of the check
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ */
274
+ getDataCheck: async (orgName, checkID, options = {}) => {
275
+ // verify required parameter 'orgName' is not null or undefined
276
+ (0, common_1.assertParamExists)('getDataCheck', 'orgName', orgName);
277
+ // verify required parameter 'checkID' is not null or undefined
278
+ (0, common_1.assertParamExists)('getDataCheck', 'checkID', checkID);
279
+ const localVarPath = `/admin/v1/organizations/{orgName}/checks/{checkID}`
280
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
281
+ .replace(`{${"checkID"}}`, encodeURIComponent(String(checkID)));
282
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
283
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
284
+ let baseOptions;
285
+ if (configuration) {
286
+ baseOptions = configuration.baseOptions;
287
+ }
288
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
289
+ const localVarHeaderParameter = {};
290
+ const localVarQueryParameter = {};
291
+ // authentication BearerToken required
292
+ // http bearer authentication required
293
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
294
+ // authentication DigestAuth required
295
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
296
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
297
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
298
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
299
+ return {
300
+ url: (0, common_1.toPathString)(localVarUrlObj),
301
+ options: localVarRequestOptions,
302
+ };
303
+ },
304
+ /**
305
+ * Read typed check miss or diff details from the latest parsed check result.
306
+ * @summary Get Data Check Difference Details
307
+ * @param {string} orgName The Name of the organization
308
+ * @param {string} checkID The ID of the check
309
+ * @param {DataCheckDetailType} type The detail type
310
+ * @param {string} [schema] Source schema or database. Required for snapshot checks.
311
+ * @param {string} [table] Source table. Required for snapshot checks.
312
+ * @param {string} [key] Struct object key. Optional for struct checks; omitted to page all struct details.
313
+ * @param {number} [page] Page number for pagination.
314
+ * @param {number} [pageSize] Number of items per page.
315
+ * @param {*} [options] Override http request option.
316
+ * @throws {RequiredError}
317
+ */
318
+ getDataCheckDetails: async (orgName, checkID, type, schema, table, key, page, pageSize, options = {}) => {
319
+ // verify required parameter 'orgName' is not null or undefined
320
+ (0, common_1.assertParamExists)('getDataCheckDetails', 'orgName', orgName);
321
+ // verify required parameter 'checkID' is not null or undefined
322
+ (0, common_1.assertParamExists)('getDataCheckDetails', 'checkID', checkID);
323
+ // verify required parameter 'type' is not null or undefined
324
+ (0, common_1.assertParamExists)('getDataCheckDetails', 'type', type);
325
+ const localVarPath = `/admin/v1/organizations/{orgName}/checks/{checkID}/details`
326
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
327
+ .replace(`{${"checkID"}}`, encodeURIComponent(String(checkID)));
328
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
329
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
330
+ let baseOptions;
331
+ if (configuration) {
332
+ baseOptions = configuration.baseOptions;
333
+ }
334
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
335
+ const localVarHeaderParameter = {};
336
+ const localVarQueryParameter = {};
337
+ // authentication BearerToken required
338
+ // http bearer authentication required
339
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
340
+ // authentication DigestAuth required
341
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
342
+ if (type !== undefined) {
343
+ localVarQueryParameter['type'] = type;
344
+ }
345
+ if (schema !== undefined) {
346
+ localVarQueryParameter['schema'] = schema;
347
+ }
348
+ if (table !== undefined) {
349
+ localVarQueryParameter['table'] = table;
350
+ }
351
+ if (key !== undefined) {
352
+ localVarQueryParameter['key'] = key;
353
+ }
354
+ if (page !== undefined) {
355
+ localVarQueryParameter['page'] = page;
356
+ }
357
+ if (pageSize !== undefined) {
358
+ localVarQueryParameter['pageSize'] = pageSize;
359
+ }
360
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
361
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
362
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
363
+ return {
364
+ url: (0, common_1.toPathString)(localVarUrlObj),
365
+ options: localVarRequestOptions,
366
+ };
367
+ },
368
+ /**
369
+ * Read raw SQL lines emitted by check sql_logger entries.
370
+ * @summary Get Data Check SQL Logs
371
+ * @param {string} orgName The Name of the organization
372
+ * @param {string} checkID The ID of the check
373
+ * @param {*} [options] Override http request option.
374
+ * @throws {RequiredError}
375
+ */
376
+ getDataCheckSQLLogs: async (orgName, checkID, options = {}) => {
377
+ // verify required parameter 'orgName' is not null or undefined
378
+ (0, common_1.assertParamExists)('getDataCheckSQLLogs', 'orgName', orgName);
379
+ // verify required parameter 'checkID' is not null or undefined
380
+ (0, common_1.assertParamExists)('getDataCheckSQLLogs', 'checkID', checkID);
381
+ const localVarPath = `/admin/v1/organizations/{orgName}/checks/{checkID}/sqlLogs`
382
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
383
+ .replace(`{${"checkID"}}`, encodeURIComponent(String(checkID)));
384
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
385
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
386
+ let baseOptions;
387
+ if (configuration) {
388
+ baseOptions = configuration.baseOptions;
389
+ }
390
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
391
+ const localVarHeaderParameter = {};
392
+ const localVarQueryParameter = {};
393
+ // authentication BearerToken required
394
+ // http bearer authentication required
395
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
396
+ // authentication DigestAuth required
397
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
398
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
399
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
400
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
401
+ return {
402
+ url: (0, common_1.toPathString)(localVarUrlObj),
403
+ options: localVarRequestOptions,
404
+ };
405
+ },
406
+ /**
407
+ * get preCheck.
408
+ * @summary get preCheck
409
+ * @param {string} preCheckID The ID of the preCheck task
410
+ * @param {string} orgName The Name of the organization
411
+ * @param {*} [options] Override http request option.
412
+ * @throws {RequiredError}
413
+ */
414
+ getPreCheck: async (preCheckID, orgName, options = {}) => {
415
+ // verify required parameter 'preCheckID' is not null or undefined
416
+ (0, common_1.assertParamExists)('getPreCheck', 'preCheckID', preCheckID);
417
+ // verify required parameter 'orgName' is not null or undefined
418
+ (0, common_1.assertParamExists)('getPreCheck', 'orgName', orgName);
419
+ const localVarPath = `/admin/v1/organizations/{orgName}/replication/channel/precheck/{preCheckID}`
420
+ .replace(`{${"preCheckID"}}`, encodeURIComponent(String(preCheckID)))
421
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
422
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
423
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
424
+ let baseOptions;
425
+ if (configuration) {
426
+ baseOptions = configuration.baseOptions;
427
+ }
428
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
429
+ const localVarHeaderParameter = {};
430
+ const localVarQueryParameter = {};
431
+ // authentication BearerToken required
432
+ // http bearer authentication required
433
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
434
+ // authentication DigestAuth required
435
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
436
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
437
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
438
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
439
+ return {
440
+ url: (0, common_1.toPathString)(localVarUrlObj),
441
+ options: localVarRequestOptions,
442
+ };
443
+ },
444
+ /**
445
+ * Retrieve a list of data channels.
446
+ * @summary List Data Channels
447
+ * @param {string} [orgName] The Name of the organization
448
+ * @param {string} [name] The name of the data channel
449
+ * @param {Array<string>} [status] The status of the data channel
450
+ * @param {*} [options] Override http request option.
451
+ * @throws {RequiredError}
452
+ */
453
+ listAdminDataChannels: async (orgName, name, status, options = {}) => {
454
+ const localVarPath = `/admin/v1/replication/channel`;
455
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
456
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
457
+ let baseOptions;
458
+ if (configuration) {
459
+ baseOptions = configuration.baseOptions;
460
+ }
461
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
462
+ const localVarHeaderParameter = {};
463
+ const localVarQueryParameter = {};
464
+ // authentication BearerToken required
465
+ // http bearer authentication required
466
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
467
+ // authentication DigestAuth required
468
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
469
+ if (orgName !== undefined) {
470
+ localVarQueryParameter['orgName'] = orgName;
471
+ }
472
+ if (name !== undefined) {
473
+ localVarQueryParameter['name'] = name;
474
+ }
475
+ if (status) {
476
+ localVarQueryParameter['status'] = status;
477
+ }
478
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
479
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
480
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
481
+ return {
482
+ url: (0, common_1.toPathString)(localVarUrlObj),
483
+ options: localVarRequestOptions,
484
+ };
485
+ },
486
+ /**
487
+ * Retrieve a list of standalone data checks.
488
+ * @summary List Data Checks
489
+ * @param {string} [orgName] The Name of the organization
490
+ * @param {string} [name] The name of the check
491
+ * @param {Array<string>} [status] The status of the check
492
+ * @param {*} [options] Override http request option.
493
+ * @throws {RequiredError}
494
+ */
495
+ listAdminDataChecks: async (orgName, name, status, options = {}) => {
496
+ const localVarPath = `/admin/v1/checks`;
497
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
498
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
499
+ let baseOptions;
500
+ if (configuration) {
501
+ baseOptions = configuration.baseOptions;
502
+ }
503
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
504
+ const localVarHeaderParameter = {};
505
+ const localVarQueryParameter = {};
506
+ // authentication BearerToken required
507
+ // http bearer authentication required
508
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
509
+ // authentication DigestAuth required
510
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
511
+ if (orgName !== undefined) {
512
+ localVarQueryParameter['orgName'] = orgName;
513
+ }
514
+ if (name !== undefined) {
515
+ localVarQueryParameter['name'] = name;
516
+ }
517
+ if (status) {
518
+ localVarQueryParameter['status'] = status;
519
+ }
520
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
521
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
522
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
523
+ return {
524
+ url: (0, common_1.toPathString)(localVarUrlObj),
525
+ options: localVarRequestOptions,
526
+ };
527
+ },
528
+ /**
529
+ * Retrieve a list of data channel events.
530
+ * @summary List Data Channel Events
531
+ * @param {string} orgName The Name of the organization
532
+ * @param {string} channelID The ID of the data channel
533
+ * @param {*} [options] Override http request option.
534
+ * @throws {RequiredError}
535
+ */
536
+ listDataChannelEvents: async (orgName, channelID, options = {}) => {
537
+ // verify required parameter 'orgName' is not null or undefined
538
+ (0, common_1.assertParamExists)('listDataChannelEvents', 'orgName', orgName);
539
+ // verify required parameter 'channelID' is not null or undefined
540
+ (0, common_1.assertParamExists)('listDataChannelEvents', 'channelID', channelID);
541
+ const localVarPath = `/admin/v1/organizations/{orgName}/replication/channel/{channelID}/events`
542
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
543
+ .replace(`{${"channelID"}}`, encodeURIComponent(String(channelID)));
544
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
545
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
546
+ let baseOptions;
547
+ if (configuration) {
548
+ baseOptions = configuration.baseOptions;
549
+ }
550
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
551
+ const localVarHeaderParameter = {};
552
+ const localVarQueryParameter = {};
553
+ // authentication BearerToken required
554
+ // http bearer authentication required
555
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
556
+ // authentication DigestAuth required
557
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
558
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
559
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
560
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
561
+ return {
562
+ url: (0, common_1.toPathString)(localVarUrlObj),
563
+ options: localVarRequestOptions,
564
+ };
565
+ },
566
+ /**
567
+ * Retrieve a list of data channel parameters.
568
+ * @summary List Data Channel Parameters
569
+ * @param {string} orgName The Name of the organization
570
+ * @param {string} [standardName] The name of the standard definition
571
+ * @param {string} [channelID] The ID of the data channel
572
+ * @param {string} [source] The source EngineDeifnition name
573
+ * @param {string} [target] The target EngineDeifnition name
574
+ * @param {string} [moduleName] The module name
575
+ * @param {*} [options] Override http request option.
576
+ * @throws {RequiredError}
577
+ */
578
+ listDataChannelParameters: async (orgName, standardName, channelID, source, target, moduleName, options = {}) => {
579
+ // verify required parameter 'orgName' is not null or undefined
580
+ (0, common_1.assertParamExists)('listDataChannelParameters', 'orgName', orgName);
581
+ const localVarPath = `/admin/v1/organizations/{orgName}/replication/channel/parameters`
582
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
583
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
584
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
585
+ let baseOptions;
586
+ if (configuration) {
587
+ baseOptions = configuration.baseOptions;
588
+ }
589
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
590
+ const localVarHeaderParameter = {};
591
+ const localVarQueryParameter = {};
592
+ // authentication BearerToken required
593
+ // http bearer authentication required
594
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
595
+ // authentication DigestAuth required
596
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
597
+ if (standardName !== undefined) {
598
+ localVarQueryParameter['standardName'] = standardName;
599
+ }
600
+ if (channelID !== undefined) {
601
+ localVarQueryParameter['channelID'] = channelID;
602
+ }
603
+ if (source !== undefined) {
604
+ localVarQueryParameter['source'] = source;
605
+ }
606
+ if (target !== undefined) {
607
+ localVarQueryParameter['target'] = target;
608
+ }
609
+ if (moduleName !== undefined) {
610
+ localVarQueryParameter['moduleName'] = moduleName;
611
+ }
612
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
613
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
614
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
615
+ return {
616
+ url: (0, common_1.toPathString)(localVarUrlObj),
617
+ options: localVarRequestOptions,
618
+ };
619
+ },
620
+ /**
621
+ * Query containers of a data channel module pod
622
+ * @summary Query data channel module pod containers
623
+ * @param {string} orgName The Name of the organization
624
+ * @param {string} channelID
625
+ * @param {string} [moduleName]
626
+ * @param {*} [options] Override http request option.
627
+ * @throws {RequiredError}
628
+ */
629
+ queryDataChannelContainers: async (orgName, channelID, moduleName, options = {}) => {
630
+ // verify required parameter 'orgName' is not null or undefined
631
+ (0, common_1.assertParamExists)('queryDataChannelContainers', 'orgName', orgName);
632
+ // verify required parameter 'channelID' is not null or undefined
633
+ (0, common_1.assertParamExists)('queryDataChannelContainers', 'channelID', channelID);
634
+ const localVarPath = `/admin/v1/organizations/{orgName}/replication/channel/{channelID}/containers`
635
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
636
+ .replace(`{${"channelID"}}`, encodeURIComponent(String(channelID)));
637
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
638
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
639
+ let baseOptions;
640
+ if (configuration) {
641
+ baseOptions = configuration.baseOptions;
642
+ }
643
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
644
+ const localVarHeaderParameter = {};
645
+ const localVarQueryParameter = {};
646
+ // authentication BearerToken required
647
+ // http bearer authentication required
648
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
649
+ // authentication DigestAuth required
650
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
651
+ if (moduleName !== undefined) {
652
+ localVarQueryParameter['moduleName'] = moduleName;
653
+ }
654
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
655
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
656
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
657
+ return {
658
+ url: (0, common_1.toPathString)(localVarUrlObj),
659
+ options: localVarRequestOptions,
660
+ };
661
+ },
662
+ /**
663
+ * Query logs of a data channel
664
+ * @summary Query data channel logs
665
+ * @param {string} orgName The Name of the organization
666
+ * @param {string} channelID
667
+ * @param {string} [moduleName]
668
+ * @param {string} [containerName]
669
+ * @param {string} [limit]
670
+ * @param {*} [options] Override http request option.
671
+ * @throws {RequiredError}
672
+ */
673
+ queryDataChannelLogs: async (orgName, channelID, moduleName, containerName, limit, options = {}) => {
674
+ // verify required parameter 'orgName' is not null or undefined
675
+ (0, common_1.assertParamExists)('queryDataChannelLogs', 'orgName', orgName);
676
+ // verify required parameter 'channelID' is not null or undefined
677
+ (0, common_1.assertParamExists)('queryDataChannelLogs', 'channelID', channelID);
678
+ const localVarPath = `/admin/v1/organizations/{orgName}/replication/channel/{channelID}/logs`
679
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
680
+ .replace(`{${"channelID"}}`, encodeURIComponent(String(channelID)));
681
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
682
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
683
+ let baseOptions;
684
+ if (configuration) {
685
+ baseOptions = configuration.baseOptions;
686
+ }
687
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
688
+ const localVarHeaderParameter = {};
689
+ const localVarQueryParameter = {};
690
+ // authentication BearerToken required
691
+ // http bearer authentication required
692
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
693
+ // authentication DigestAuth required
694
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
695
+ if (moduleName !== undefined) {
696
+ localVarQueryParameter['moduleName'] = moduleName;
697
+ }
698
+ if (containerName !== undefined) {
699
+ localVarQueryParameter['containerName'] = containerName;
700
+ }
701
+ if (limit !== undefined) {
702
+ localVarQueryParameter['limit'] = limit;
703
+ }
704
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
705
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
706
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
707
+ return {
708
+ url: (0, common_1.toPathString)(localVarUrlObj),
709
+ options: localVarRequestOptions,
710
+ };
711
+ },
712
+ /**
713
+ * query replication object.
714
+ * @summary query replication object
715
+ * @param {string} orgName The Name of the organization
716
+ * @param {ReplicationObjectQuery} body
717
+ * @param {*} [options] Override http request option.
718
+ * @throws {RequiredError}
719
+ */
720
+ queryReplicationObject: async (orgName, body, options = {}) => {
721
+ // verify required parameter 'orgName' is not null or undefined
722
+ (0, common_1.assertParamExists)('queryReplicationObject', 'orgName', orgName);
723
+ // verify required parameter 'body' is not null or undefined
724
+ (0, common_1.assertParamExists)('queryReplicationObject', 'body', body);
725
+ const localVarPath = `/admin/v1/organizations/{orgName}/replication/channel/objects`
726
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
727
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
728
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
729
+ let baseOptions;
730
+ if (configuration) {
731
+ baseOptions = configuration.baseOptions;
732
+ }
733
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
734
+ const localVarHeaderParameter = {};
735
+ const localVarQueryParameter = {};
736
+ // authentication BearerToken required
737
+ // http bearer authentication required
738
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
739
+ // authentication DigestAuth required
740
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
741
+ localVarHeaderParameter['Content-Type'] = 'application/json';
742
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
743
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
744
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
745
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
746
+ return {
747
+ url: (0, common_1.toPathString)(localVarUrlObj),
748
+ options: localVarRequestOptions,
749
+ };
750
+ },
751
+ /**
752
+ * Update a new data channel.
753
+ * @summary Update a data channel
754
+ * @param {string} orgName The Name of the organization
755
+ * @param {string} channelID The ID of the data channel
756
+ * @param {DataReplicationUpdate} body
757
+ * @param {*} [options] Override http request option.
758
+ * @throws {RequiredError}
759
+ */
760
+ updateDataChannel: async (orgName, channelID, body, options = {}) => {
761
+ // verify required parameter 'orgName' is not null or undefined
762
+ (0, common_1.assertParamExists)('updateDataChannel', 'orgName', orgName);
763
+ // verify required parameter 'channelID' is not null or undefined
764
+ (0, common_1.assertParamExists)('updateDataChannel', 'channelID', channelID);
765
+ // verify required parameter 'body' is not null or undefined
766
+ (0, common_1.assertParamExists)('updateDataChannel', 'body', body);
767
+ const localVarPath = `/admin/v1/organizations/{orgName}/replication/channel/{channelID}`
768
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
769
+ .replace(`{${"channelID"}}`, encodeURIComponent(String(channelID)));
770
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
771
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
772
+ let baseOptions;
773
+ if (configuration) {
774
+ baseOptions = configuration.baseOptions;
775
+ }
776
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
777
+ const localVarHeaderParameter = {};
778
+ const localVarQueryParameter = {};
779
+ // authentication BearerToken required
780
+ // http bearer authentication required
781
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
782
+ // authentication DigestAuth required
783
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
784
+ localVarHeaderParameter['Content-Type'] = 'application/json';
785
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
786
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
787
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
788
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
789
+ return {
790
+ url: (0, common_1.toPathString)(localVarUrlObj),
791
+ options: localVarRequestOptions,
792
+ };
793
+ },
794
+ };
795
+ };
796
+ exports.DataReplicationApiAxiosParamCreator = DataReplicationApiAxiosParamCreator;
797
+ /**
798
+ * DataReplicationApi - functional programming interface
799
+ * @export
800
+ */
801
+ const DataReplicationApiFp = function (configuration) {
802
+ const localVarAxiosParamCreator = (0, exports.DataReplicationApiAxiosParamCreator)(configuration);
803
+ return {
804
+ /**
805
+ * Create a new data channel ops.
806
+ * @summary Create a new data channel ops
807
+ * @param {string} orgName The Name of the organization
808
+ * @param {string} channelID The ID of the data channel
809
+ * @param {DataReplicationOpsType} opsType The operation type
810
+ * @param {*} [options] Override http request option.
811
+ * @throws {RequiredError}
812
+ */
813
+ async createDataChannelOps(orgName, channelID, opsType, options) {
814
+ var _a, _b, _c;
815
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createDataChannelOps(orgName, channelID, opsType, options);
816
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
817
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.createDataChannelOps']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
818
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
819
+ },
820
+ /**
821
+ * create pre check.
822
+ * @summary create pre check
823
+ * @param {string} orgName The Name of the organization
824
+ * @param {PreCheckCreate} body
825
+ * @param {*} [options] Override http request option.
826
+ * @throws {RequiredError}
827
+ */
828
+ async createPreCheck(orgName, body, options) {
829
+ var _a, _b, _c;
830
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createPreCheck(orgName, body, options);
831
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
832
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.createPreCheck']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
833
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
834
+ },
835
+ /**
836
+ * Delete a data channel.
837
+ * @summary Delete a data channel
838
+ * @param {string} orgName The Name of the organization
839
+ * @param {string} channelID The ID of the data channel
840
+ * @param {*} [options] Override http request option.
841
+ * @throws {RequiredError}
842
+ */
843
+ async deleteDataChannel(orgName, channelID, options) {
844
+ var _a, _b, _c;
845
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDataChannel(orgName, channelID, options);
846
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
847
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.deleteDataChannel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
848
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
849
+ },
850
+ /**
851
+ * Delete a standalone data check and its runtime resources.
852
+ * @summary Delete a data check
853
+ * @param {string} orgName The Name of the organization
854
+ * @param {string} checkID The ID of the check
855
+ * @param {*} [options] Override http request option.
856
+ * @throws {RequiredError}
857
+ */
858
+ async deleteDataCheck(orgName, checkID, options) {
859
+ var _a, _b, _c;
860
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDataCheck(orgName, checkID, options);
861
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
862
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.deleteDataCheck']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
863
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
864
+ },
865
+ /**
866
+ * delete preCheck.
867
+ * @summary delete preCheck
868
+ * @param {string} preCheckID The ID of the preCheck task
869
+ * @param {string} orgName The Name of the organization
870
+ * @param {*} [options] Override http request option.
871
+ * @deprecated
872
+ * @throws {RequiredError}
873
+ */
874
+ async deletePreCheck(preCheckID, orgName, options) {
875
+ var _a, _b, _c;
876
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletePreCheck(preCheckID, orgName, options);
877
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
878
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.deletePreCheck']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
879
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
880
+ },
881
+ /**
882
+ * Retrieve a data channel detail.
883
+ * @summary Get Data Channel Details
884
+ * @param {string} orgName The Name of the organization
885
+ * @param {string} channelID The ID of the data channel
886
+ * @param {*} [options] Override http request option.
887
+ * @throws {RequiredError}
888
+ */
889
+ async getDataChannel(orgName, channelID, options) {
890
+ var _a, _b, _c;
891
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDataChannel(orgName, channelID, options);
892
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
893
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.getDataChannel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
894
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
895
+ },
896
+ /**
897
+ * Retrieve a standalone data check detail.
898
+ * @summary Get Data Check
899
+ * @param {string} orgName The Name of the organization
900
+ * @param {string} checkID The ID of the check
901
+ * @param {*} [options] Override http request option.
902
+ * @throws {RequiredError}
903
+ */
904
+ async getDataCheck(orgName, checkID, options) {
905
+ var _a, _b, _c;
906
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDataCheck(orgName, checkID, options);
907
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
908
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.getDataCheck']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
909
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
910
+ },
911
+ /**
912
+ * Read typed check miss or diff details from the latest parsed check result.
913
+ * @summary Get Data Check Difference Details
914
+ * @param {string} orgName The Name of the organization
915
+ * @param {string} checkID The ID of the check
916
+ * @param {DataCheckDetailType} type The detail type
917
+ * @param {string} [schema] Source schema or database. Required for snapshot checks.
918
+ * @param {string} [table] Source table. Required for snapshot checks.
919
+ * @param {string} [key] Struct object key. Optional for struct checks; omitted to page all struct details.
920
+ * @param {number} [page] Page number for pagination.
921
+ * @param {number} [pageSize] Number of items per page.
922
+ * @param {*} [options] Override http request option.
923
+ * @throws {RequiredError}
924
+ */
925
+ async getDataCheckDetails(orgName, checkID, type, schema, table, key, page, pageSize, options) {
926
+ var _a, _b, _c;
927
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDataCheckDetails(orgName, checkID, type, schema, table, key, page, pageSize, options);
928
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
929
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.getDataCheckDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
930
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
931
+ },
932
+ /**
933
+ * Read raw SQL lines emitted by check sql_logger entries.
934
+ * @summary Get Data Check SQL Logs
935
+ * @param {string} orgName The Name of the organization
936
+ * @param {string} checkID The ID of the check
937
+ * @param {*} [options] Override http request option.
938
+ * @throws {RequiredError}
939
+ */
940
+ async getDataCheckSQLLogs(orgName, checkID, options) {
941
+ var _a, _b, _c;
942
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDataCheckSQLLogs(orgName, checkID, options);
943
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
944
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.getDataCheckSQLLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
945
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
946
+ },
947
+ /**
948
+ * get preCheck.
949
+ * @summary get preCheck
950
+ * @param {string} preCheckID The ID of the preCheck task
951
+ * @param {string} orgName The Name of the organization
952
+ * @param {*} [options] Override http request option.
953
+ * @throws {RequiredError}
954
+ */
955
+ async getPreCheck(preCheckID, orgName, options) {
956
+ var _a, _b, _c;
957
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPreCheck(preCheckID, orgName, options);
958
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
959
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.getPreCheck']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
960
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
961
+ },
962
+ /**
963
+ * Retrieve a list of data channels.
964
+ * @summary List Data Channels
965
+ * @param {string} [orgName] The Name of the organization
966
+ * @param {string} [name] The name of the data channel
967
+ * @param {Array<string>} [status] The status of the data channel
968
+ * @param {*} [options] Override http request option.
969
+ * @throws {RequiredError}
970
+ */
971
+ async listAdminDataChannels(orgName, name, status, options) {
972
+ var _a, _b, _c;
973
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAdminDataChannels(orgName, name, status, options);
974
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
975
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.listAdminDataChannels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
976
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
977
+ },
978
+ /**
979
+ * Retrieve a list of standalone data checks.
980
+ * @summary List Data Checks
981
+ * @param {string} [orgName] The Name of the organization
982
+ * @param {string} [name] The name of the check
983
+ * @param {Array<string>} [status] The status of the check
984
+ * @param {*} [options] Override http request option.
985
+ * @throws {RequiredError}
986
+ */
987
+ async listAdminDataChecks(orgName, name, status, options) {
988
+ var _a, _b, _c;
989
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAdminDataChecks(orgName, name, status, options);
990
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
991
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.listAdminDataChecks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
992
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
993
+ },
994
+ /**
995
+ * Retrieve a list of data channel events.
996
+ * @summary List Data Channel Events
997
+ * @param {string} orgName The Name of the organization
998
+ * @param {string} channelID The ID of the data channel
999
+ * @param {*} [options] Override http request option.
1000
+ * @throws {RequiredError}
1001
+ */
1002
+ async listDataChannelEvents(orgName, channelID, options) {
1003
+ var _a, _b, _c;
1004
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDataChannelEvents(orgName, channelID, options);
1005
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1006
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.listDataChannelEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1007
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1008
+ },
1009
+ /**
1010
+ * Retrieve a list of data channel parameters.
1011
+ * @summary List Data Channel Parameters
1012
+ * @param {string} orgName The Name of the organization
1013
+ * @param {string} [standardName] The name of the standard definition
1014
+ * @param {string} [channelID] The ID of the data channel
1015
+ * @param {string} [source] The source EngineDeifnition name
1016
+ * @param {string} [target] The target EngineDeifnition name
1017
+ * @param {string} [moduleName] The module name
1018
+ * @param {*} [options] Override http request option.
1019
+ * @throws {RequiredError}
1020
+ */
1021
+ async listDataChannelParameters(orgName, standardName, channelID, source, target, moduleName, options) {
1022
+ var _a, _b, _c;
1023
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDataChannelParameters(orgName, standardName, channelID, source, target, moduleName, options);
1024
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1025
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.listDataChannelParameters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1026
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1027
+ },
1028
+ /**
1029
+ * Query containers of a data channel module pod
1030
+ * @summary Query data channel module pod containers
1031
+ * @param {string} orgName The Name of the organization
1032
+ * @param {string} channelID
1033
+ * @param {string} [moduleName]
1034
+ * @param {*} [options] Override http request option.
1035
+ * @throws {RequiredError}
1036
+ */
1037
+ async queryDataChannelContainers(orgName, channelID, moduleName, options) {
1038
+ var _a, _b, _c;
1039
+ const localVarAxiosArgs = await localVarAxiosParamCreator.queryDataChannelContainers(orgName, channelID, moduleName, options);
1040
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1041
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.queryDataChannelContainers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1042
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1043
+ },
1044
+ /**
1045
+ * Query logs of a data channel
1046
+ * @summary Query data channel logs
1047
+ * @param {string} orgName The Name of the organization
1048
+ * @param {string} channelID
1049
+ * @param {string} [moduleName]
1050
+ * @param {string} [containerName]
1051
+ * @param {string} [limit]
1052
+ * @param {*} [options] Override http request option.
1053
+ * @throws {RequiredError}
1054
+ */
1055
+ async queryDataChannelLogs(orgName, channelID, moduleName, containerName, limit, options) {
1056
+ var _a, _b, _c;
1057
+ const localVarAxiosArgs = await localVarAxiosParamCreator.queryDataChannelLogs(orgName, channelID, moduleName, containerName, limit, options);
1058
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1059
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.queryDataChannelLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1060
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1061
+ },
1062
+ /**
1063
+ * query replication object.
1064
+ * @summary query replication object
1065
+ * @param {string} orgName The Name of the organization
1066
+ * @param {ReplicationObjectQuery} body
1067
+ * @param {*} [options] Override http request option.
1068
+ * @throws {RequiredError}
1069
+ */
1070
+ async queryReplicationObject(orgName, body, options) {
1071
+ var _a, _b, _c;
1072
+ const localVarAxiosArgs = await localVarAxiosParamCreator.queryReplicationObject(orgName, body, options);
1073
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1074
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.queryReplicationObject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1075
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1076
+ },
1077
+ /**
1078
+ * Update a new data channel.
1079
+ * @summary Update a data channel
1080
+ * @param {string} orgName The Name of the organization
1081
+ * @param {string} channelID The ID of the data channel
1082
+ * @param {DataReplicationUpdate} body
1083
+ * @param {*} [options] Override http request option.
1084
+ * @throws {RequiredError}
1085
+ */
1086
+ async updateDataChannel(orgName, channelID, body, options) {
1087
+ var _a, _b, _c;
1088
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateDataChannel(orgName, channelID, body, options);
1089
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1090
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.updateDataChannel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1091
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1092
+ },
1093
+ };
1094
+ };
1095
+ exports.DataReplicationApiFp = DataReplicationApiFp;
1096
+ /**
1097
+ * DataReplicationApi - factory interface
1098
+ * @export
1099
+ */
1100
+ const DataReplicationApiFactory = function (configuration, basePath, axios) {
1101
+ const localVarFp = (0, exports.DataReplicationApiFp)(configuration);
1102
+ return {
1103
+ /**
1104
+ * Create a new data channel ops.
1105
+ * @summary Create a new data channel ops
1106
+ * @param {DataReplicationApiCreateDataChannelOpsRequest} requestParameters Request parameters.
1107
+ * @param {*} [options] Override http request option.
1108
+ * @throws {RequiredError}
1109
+ */
1110
+ createDataChannelOps(requestParameters, options) {
1111
+ return localVarFp.createDataChannelOps(requestParameters.orgName, requestParameters.channelID, requestParameters.opsType, options).then((request) => request(axios, basePath));
1112
+ },
1113
+ /**
1114
+ * create pre check.
1115
+ * @summary create pre check
1116
+ * @param {DataReplicationApiCreatePreCheckRequest} requestParameters Request parameters.
1117
+ * @param {*} [options] Override http request option.
1118
+ * @throws {RequiredError}
1119
+ */
1120
+ createPreCheck(requestParameters, options) {
1121
+ return localVarFp.createPreCheck(requestParameters.orgName, requestParameters.body, options).then((request) => request(axios, basePath));
1122
+ },
1123
+ /**
1124
+ * Delete a data channel.
1125
+ * @summary Delete a data channel
1126
+ * @param {DataReplicationApiDeleteDataChannelRequest} requestParameters Request parameters.
1127
+ * @param {*} [options] Override http request option.
1128
+ * @throws {RequiredError}
1129
+ */
1130
+ deleteDataChannel(requestParameters, options) {
1131
+ return localVarFp.deleteDataChannel(requestParameters.orgName, requestParameters.channelID, options).then((request) => request(axios, basePath));
1132
+ },
1133
+ /**
1134
+ * Delete a standalone data check and its runtime resources.
1135
+ * @summary Delete a data check
1136
+ * @param {DataReplicationApiDeleteDataCheckRequest} requestParameters Request parameters.
1137
+ * @param {*} [options] Override http request option.
1138
+ * @throws {RequiredError}
1139
+ */
1140
+ deleteDataCheck(requestParameters, options) {
1141
+ return localVarFp.deleteDataCheck(requestParameters.orgName, requestParameters.checkID, options).then((request) => request(axios, basePath));
1142
+ },
1143
+ /**
1144
+ * delete preCheck.
1145
+ * @summary delete preCheck
1146
+ * @param {DataReplicationApiDeletePreCheckRequest} requestParameters Request parameters.
1147
+ * @param {*} [options] Override http request option.
1148
+ * @deprecated
1149
+ * @throws {RequiredError}
1150
+ */
1151
+ deletePreCheck(requestParameters, options) {
1152
+ return localVarFp.deletePreCheck(requestParameters.preCheckID, requestParameters.orgName, options).then((request) => request(axios, basePath));
1153
+ },
1154
+ /**
1155
+ * Retrieve a data channel detail.
1156
+ * @summary Get Data Channel Details
1157
+ * @param {DataReplicationApiGetDataChannelRequest} requestParameters Request parameters.
1158
+ * @param {*} [options] Override http request option.
1159
+ * @throws {RequiredError}
1160
+ */
1161
+ getDataChannel(requestParameters, options) {
1162
+ return localVarFp.getDataChannel(requestParameters.orgName, requestParameters.channelID, options).then((request) => request(axios, basePath));
1163
+ },
1164
+ /**
1165
+ * Retrieve a standalone data check detail.
1166
+ * @summary Get Data Check
1167
+ * @param {DataReplicationApiGetDataCheckRequest} requestParameters Request parameters.
1168
+ * @param {*} [options] Override http request option.
1169
+ * @throws {RequiredError}
1170
+ */
1171
+ getDataCheck(requestParameters, options) {
1172
+ return localVarFp.getDataCheck(requestParameters.orgName, requestParameters.checkID, options).then((request) => request(axios, basePath));
1173
+ },
1174
+ /**
1175
+ * Read typed check miss or diff details from the latest parsed check result.
1176
+ * @summary Get Data Check Difference Details
1177
+ * @param {DataReplicationApiGetDataCheckDetailsRequest} requestParameters Request parameters.
1178
+ * @param {*} [options] Override http request option.
1179
+ * @throws {RequiredError}
1180
+ */
1181
+ getDataCheckDetails(requestParameters, options) {
1182
+ return localVarFp.getDataCheckDetails(requestParameters.orgName, requestParameters.checkID, requestParameters.type, requestParameters.schema, requestParameters.table, requestParameters.key, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1183
+ },
1184
+ /**
1185
+ * Read raw SQL lines emitted by check sql_logger entries.
1186
+ * @summary Get Data Check SQL Logs
1187
+ * @param {DataReplicationApiGetDataCheckSQLLogsRequest} requestParameters Request parameters.
1188
+ * @param {*} [options] Override http request option.
1189
+ * @throws {RequiredError}
1190
+ */
1191
+ getDataCheckSQLLogs(requestParameters, options) {
1192
+ return localVarFp.getDataCheckSQLLogs(requestParameters.orgName, requestParameters.checkID, options).then((request) => request(axios, basePath));
1193
+ },
1194
+ /**
1195
+ * get preCheck.
1196
+ * @summary get preCheck
1197
+ * @param {DataReplicationApiGetPreCheckRequest} requestParameters Request parameters.
1198
+ * @param {*} [options] Override http request option.
1199
+ * @throws {RequiredError}
1200
+ */
1201
+ getPreCheck(requestParameters, options) {
1202
+ return localVarFp.getPreCheck(requestParameters.preCheckID, requestParameters.orgName, options).then((request) => request(axios, basePath));
1203
+ },
1204
+ /**
1205
+ * Retrieve a list of data channels.
1206
+ * @summary List Data Channels
1207
+ * @param {DataReplicationApiListAdminDataChannelsRequest} requestParameters Request parameters.
1208
+ * @param {*} [options] Override http request option.
1209
+ * @throws {RequiredError}
1210
+ */
1211
+ listAdminDataChannels(requestParameters = {}, options) {
1212
+ return localVarFp.listAdminDataChannels(requestParameters.orgName, requestParameters.name, requestParameters.status, options).then((request) => request(axios, basePath));
1213
+ },
1214
+ /**
1215
+ * Retrieve a list of standalone data checks.
1216
+ * @summary List Data Checks
1217
+ * @param {DataReplicationApiListAdminDataChecksRequest} requestParameters Request parameters.
1218
+ * @param {*} [options] Override http request option.
1219
+ * @throws {RequiredError}
1220
+ */
1221
+ listAdminDataChecks(requestParameters = {}, options) {
1222
+ return localVarFp.listAdminDataChecks(requestParameters.orgName, requestParameters.name, requestParameters.status, options).then((request) => request(axios, basePath));
1223
+ },
1224
+ /**
1225
+ * Retrieve a list of data channel events.
1226
+ * @summary List Data Channel Events
1227
+ * @param {DataReplicationApiListDataChannelEventsRequest} requestParameters Request parameters.
1228
+ * @param {*} [options] Override http request option.
1229
+ * @throws {RequiredError}
1230
+ */
1231
+ listDataChannelEvents(requestParameters, options) {
1232
+ return localVarFp.listDataChannelEvents(requestParameters.orgName, requestParameters.channelID, options).then((request) => request(axios, basePath));
1233
+ },
1234
+ /**
1235
+ * Retrieve a list of data channel parameters.
1236
+ * @summary List Data Channel Parameters
1237
+ * @param {DataReplicationApiListDataChannelParametersRequest} requestParameters Request parameters.
1238
+ * @param {*} [options] Override http request option.
1239
+ * @throws {RequiredError}
1240
+ */
1241
+ listDataChannelParameters(requestParameters, options) {
1242
+ return localVarFp.listDataChannelParameters(requestParameters.orgName, requestParameters.standardName, requestParameters.channelID, requestParameters.source, requestParameters.target, requestParameters.moduleName, options).then((request) => request(axios, basePath));
1243
+ },
1244
+ /**
1245
+ * Query containers of a data channel module pod
1246
+ * @summary Query data channel module pod containers
1247
+ * @param {DataReplicationApiQueryDataChannelContainersRequest} requestParameters Request parameters.
1248
+ * @param {*} [options] Override http request option.
1249
+ * @throws {RequiredError}
1250
+ */
1251
+ queryDataChannelContainers(requestParameters, options) {
1252
+ return localVarFp.queryDataChannelContainers(requestParameters.orgName, requestParameters.channelID, requestParameters.moduleName, options).then((request) => request(axios, basePath));
1253
+ },
1254
+ /**
1255
+ * Query logs of a data channel
1256
+ * @summary Query data channel logs
1257
+ * @param {DataReplicationApiQueryDataChannelLogsRequest} requestParameters Request parameters.
1258
+ * @param {*} [options] Override http request option.
1259
+ * @throws {RequiredError}
1260
+ */
1261
+ queryDataChannelLogs(requestParameters, options) {
1262
+ return localVarFp.queryDataChannelLogs(requestParameters.orgName, requestParameters.channelID, requestParameters.moduleName, requestParameters.containerName, requestParameters.limit, options).then((request) => request(axios, basePath));
1263
+ },
1264
+ /**
1265
+ * query replication object.
1266
+ * @summary query replication object
1267
+ * @param {DataReplicationApiQueryReplicationObjectRequest} requestParameters Request parameters.
1268
+ * @param {*} [options] Override http request option.
1269
+ * @throws {RequiredError}
1270
+ */
1271
+ queryReplicationObject(requestParameters, options) {
1272
+ return localVarFp.queryReplicationObject(requestParameters.orgName, requestParameters.body, options).then((request) => request(axios, basePath));
1273
+ },
1274
+ /**
1275
+ * Update a new data channel.
1276
+ * @summary Update a data channel
1277
+ * @param {DataReplicationApiUpdateDataChannelRequest} requestParameters Request parameters.
1278
+ * @param {*} [options] Override http request option.
1279
+ * @throws {RequiredError}
1280
+ */
1281
+ updateDataChannel(requestParameters, options) {
1282
+ return localVarFp.updateDataChannel(requestParameters.orgName, requestParameters.channelID, requestParameters.body, options).then((request) => request(axios, basePath));
1283
+ },
1284
+ };
1285
+ };
1286
+ exports.DataReplicationApiFactory = DataReplicationApiFactory;
1287
+ /**
1288
+ * DataReplicationApi - object-oriented interface
1289
+ * @export
1290
+ * @class DataReplicationApi
1291
+ * @extends {BaseAPI}
1292
+ */
1293
+ class DataReplicationApi extends base_1.BaseAPI {
1294
+ /**
1295
+ * Create a new data channel ops.
1296
+ * @summary Create a new data channel ops
1297
+ * @param {DataReplicationApiCreateDataChannelOpsRequest} requestParameters Request parameters.
1298
+ * @param {*} [options] Override http request option.
1299
+ * @throws {RequiredError}
1300
+ * @memberof DataReplicationApi
1301
+ */
1302
+ createDataChannelOps(requestParameters, options) {
1303
+ return (0, exports.DataReplicationApiFp)(this.configuration).createDataChannelOps(requestParameters.orgName, requestParameters.channelID, requestParameters.opsType, options).then((request) => request(this.axios, this.basePath));
1304
+ }
1305
+ /**
1306
+ * create pre check.
1307
+ * @summary create pre check
1308
+ * @param {DataReplicationApiCreatePreCheckRequest} requestParameters Request parameters.
1309
+ * @param {*} [options] Override http request option.
1310
+ * @throws {RequiredError}
1311
+ * @memberof DataReplicationApi
1312
+ */
1313
+ createPreCheck(requestParameters, options) {
1314
+ return (0, exports.DataReplicationApiFp)(this.configuration).createPreCheck(requestParameters.orgName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1315
+ }
1316
+ /**
1317
+ * Delete a data channel.
1318
+ * @summary Delete a data channel
1319
+ * @param {DataReplicationApiDeleteDataChannelRequest} requestParameters Request parameters.
1320
+ * @param {*} [options] Override http request option.
1321
+ * @throws {RequiredError}
1322
+ * @memberof DataReplicationApi
1323
+ */
1324
+ deleteDataChannel(requestParameters, options) {
1325
+ return (0, exports.DataReplicationApiFp)(this.configuration).deleteDataChannel(requestParameters.orgName, requestParameters.channelID, options).then((request) => request(this.axios, this.basePath));
1326
+ }
1327
+ /**
1328
+ * Delete a standalone data check and its runtime resources.
1329
+ * @summary Delete a data check
1330
+ * @param {DataReplicationApiDeleteDataCheckRequest} requestParameters Request parameters.
1331
+ * @param {*} [options] Override http request option.
1332
+ * @throws {RequiredError}
1333
+ * @memberof DataReplicationApi
1334
+ */
1335
+ deleteDataCheck(requestParameters, options) {
1336
+ return (0, exports.DataReplicationApiFp)(this.configuration).deleteDataCheck(requestParameters.orgName, requestParameters.checkID, options).then((request) => request(this.axios, this.basePath));
1337
+ }
1338
+ /**
1339
+ * delete preCheck.
1340
+ * @summary delete preCheck
1341
+ * @param {DataReplicationApiDeletePreCheckRequest} requestParameters Request parameters.
1342
+ * @param {*} [options] Override http request option.
1343
+ * @deprecated
1344
+ * @throws {RequiredError}
1345
+ * @memberof DataReplicationApi
1346
+ */
1347
+ deletePreCheck(requestParameters, options) {
1348
+ return (0, exports.DataReplicationApiFp)(this.configuration).deletePreCheck(requestParameters.preCheckID, requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
1349
+ }
1350
+ /**
1351
+ * Retrieve a data channel detail.
1352
+ * @summary Get Data Channel Details
1353
+ * @param {DataReplicationApiGetDataChannelRequest} requestParameters Request parameters.
1354
+ * @param {*} [options] Override http request option.
1355
+ * @throws {RequiredError}
1356
+ * @memberof DataReplicationApi
1357
+ */
1358
+ getDataChannel(requestParameters, options) {
1359
+ return (0, exports.DataReplicationApiFp)(this.configuration).getDataChannel(requestParameters.orgName, requestParameters.channelID, options).then((request) => request(this.axios, this.basePath));
1360
+ }
1361
+ /**
1362
+ * Retrieve a standalone data check detail.
1363
+ * @summary Get Data Check
1364
+ * @param {DataReplicationApiGetDataCheckRequest} requestParameters Request parameters.
1365
+ * @param {*} [options] Override http request option.
1366
+ * @throws {RequiredError}
1367
+ * @memberof DataReplicationApi
1368
+ */
1369
+ getDataCheck(requestParameters, options) {
1370
+ return (0, exports.DataReplicationApiFp)(this.configuration).getDataCheck(requestParameters.orgName, requestParameters.checkID, options).then((request) => request(this.axios, this.basePath));
1371
+ }
1372
+ /**
1373
+ * Read typed check miss or diff details from the latest parsed check result.
1374
+ * @summary Get Data Check Difference Details
1375
+ * @param {DataReplicationApiGetDataCheckDetailsRequest} requestParameters Request parameters.
1376
+ * @param {*} [options] Override http request option.
1377
+ * @throws {RequiredError}
1378
+ * @memberof DataReplicationApi
1379
+ */
1380
+ getDataCheckDetails(requestParameters, options) {
1381
+ return (0, exports.DataReplicationApiFp)(this.configuration).getDataCheckDetails(requestParameters.orgName, requestParameters.checkID, requestParameters.type, requestParameters.schema, requestParameters.table, requestParameters.key, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
1382
+ }
1383
+ /**
1384
+ * Read raw SQL lines emitted by check sql_logger entries.
1385
+ * @summary Get Data Check SQL Logs
1386
+ * @param {DataReplicationApiGetDataCheckSQLLogsRequest} requestParameters Request parameters.
1387
+ * @param {*} [options] Override http request option.
1388
+ * @throws {RequiredError}
1389
+ * @memberof DataReplicationApi
1390
+ */
1391
+ getDataCheckSQLLogs(requestParameters, options) {
1392
+ return (0, exports.DataReplicationApiFp)(this.configuration).getDataCheckSQLLogs(requestParameters.orgName, requestParameters.checkID, options).then((request) => request(this.axios, this.basePath));
1393
+ }
1394
+ /**
1395
+ * get preCheck.
1396
+ * @summary get preCheck
1397
+ * @param {DataReplicationApiGetPreCheckRequest} requestParameters Request parameters.
1398
+ * @param {*} [options] Override http request option.
1399
+ * @throws {RequiredError}
1400
+ * @memberof DataReplicationApi
1401
+ */
1402
+ getPreCheck(requestParameters, options) {
1403
+ return (0, exports.DataReplicationApiFp)(this.configuration).getPreCheck(requestParameters.preCheckID, requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
1404
+ }
1405
+ /**
1406
+ * Retrieve a list of data channels.
1407
+ * @summary List Data Channels
1408
+ * @param {DataReplicationApiListAdminDataChannelsRequest} requestParameters Request parameters.
1409
+ * @param {*} [options] Override http request option.
1410
+ * @throws {RequiredError}
1411
+ * @memberof DataReplicationApi
1412
+ */
1413
+ listAdminDataChannels(requestParameters = {}, options) {
1414
+ return (0, exports.DataReplicationApiFp)(this.configuration).listAdminDataChannels(requestParameters.orgName, requestParameters.name, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
1415
+ }
1416
+ /**
1417
+ * Retrieve a list of standalone data checks.
1418
+ * @summary List Data Checks
1419
+ * @param {DataReplicationApiListAdminDataChecksRequest} requestParameters Request parameters.
1420
+ * @param {*} [options] Override http request option.
1421
+ * @throws {RequiredError}
1422
+ * @memberof DataReplicationApi
1423
+ */
1424
+ listAdminDataChecks(requestParameters = {}, options) {
1425
+ return (0, exports.DataReplicationApiFp)(this.configuration).listAdminDataChecks(requestParameters.orgName, requestParameters.name, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
1426
+ }
1427
+ /**
1428
+ * Retrieve a list of data channel events.
1429
+ * @summary List Data Channel Events
1430
+ * @param {DataReplicationApiListDataChannelEventsRequest} requestParameters Request parameters.
1431
+ * @param {*} [options] Override http request option.
1432
+ * @throws {RequiredError}
1433
+ * @memberof DataReplicationApi
1434
+ */
1435
+ listDataChannelEvents(requestParameters, options) {
1436
+ return (0, exports.DataReplicationApiFp)(this.configuration).listDataChannelEvents(requestParameters.orgName, requestParameters.channelID, options).then((request) => request(this.axios, this.basePath));
1437
+ }
1438
+ /**
1439
+ * Retrieve a list of data channel parameters.
1440
+ * @summary List Data Channel Parameters
1441
+ * @param {DataReplicationApiListDataChannelParametersRequest} requestParameters Request parameters.
1442
+ * @param {*} [options] Override http request option.
1443
+ * @throws {RequiredError}
1444
+ * @memberof DataReplicationApi
1445
+ */
1446
+ listDataChannelParameters(requestParameters, options) {
1447
+ return (0, exports.DataReplicationApiFp)(this.configuration).listDataChannelParameters(requestParameters.orgName, requestParameters.standardName, requestParameters.channelID, requestParameters.source, requestParameters.target, requestParameters.moduleName, options).then((request) => request(this.axios, this.basePath));
1448
+ }
1449
+ /**
1450
+ * Query containers of a data channel module pod
1451
+ * @summary Query data channel module pod containers
1452
+ * @param {DataReplicationApiQueryDataChannelContainersRequest} requestParameters Request parameters.
1453
+ * @param {*} [options] Override http request option.
1454
+ * @throws {RequiredError}
1455
+ * @memberof DataReplicationApi
1456
+ */
1457
+ queryDataChannelContainers(requestParameters, options) {
1458
+ return (0, exports.DataReplicationApiFp)(this.configuration).queryDataChannelContainers(requestParameters.orgName, requestParameters.channelID, requestParameters.moduleName, options).then((request) => request(this.axios, this.basePath));
1459
+ }
1460
+ /**
1461
+ * Query logs of a data channel
1462
+ * @summary Query data channel logs
1463
+ * @param {DataReplicationApiQueryDataChannelLogsRequest} requestParameters Request parameters.
1464
+ * @param {*} [options] Override http request option.
1465
+ * @throws {RequiredError}
1466
+ * @memberof DataReplicationApi
1467
+ */
1468
+ queryDataChannelLogs(requestParameters, options) {
1469
+ return (0, exports.DataReplicationApiFp)(this.configuration).queryDataChannelLogs(requestParameters.orgName, requestParameters.channelID, requestParameters.moduleName, requestParameters.containerName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
1470
+ }
1471
+ /**
1472
+ * query replication object.
1473
+ * @summary query replication object
1474
+ * @param {DataReplicationApiQueryReplicationObjectRequest} requestParameters Request parameters.
1475
+ * @param {*} [options] Override http request option.
1476
+ * @throws {RequiredError}
1477
+ * @memberof DataReplicationApi
1478
+ */
1479
+ queryReplicationObject(requestParameters, options) {
1480
+ return (0, exports.DataReplicationApiFp)(this.configuration).queryReplicationObject(requestParameters.orgName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1481
+ }
1482
+ /**
1483
+ * Update a new data channel.
1484
+ * @summary Update a data channel
1485
+ * @param {DataReplicationApiUpdateDataChannelRequest} requestParameters Request parameters.
1486
+ * @param {*} [options] Override http request option.
1487
+ * @throws {RequiredError}
1488
+ * @memberof DataReplicationApi
1489
+ */
1490
+ updateDataChannel(requestParameters, options) {
1491
+ return (0, exports.DataReplicationApiFp)(this.configuration).updateDataChannel(requestParameters.orgName, requestParameters.channelID, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1492
+ }
1493
+ }
1494
+ exports.DataReplicationApi = DataReplicationApi;
1495
+ //# sourceMappingURL=data-replication-api.js.map