kb-cloud-client-typescript 2.4.0-alpha.114 → 2.4.0-alpha.116

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 (93) hide show
  1. package/dist/adminapi/apis/data-replication-api.d.ts +326 -0
  2. package/dist/adminapi/apis/data-replication-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/data-replication-api.js +377 -0
  4. package/dist/adminapi/apis/data-replication-api.js.map +1 -1
  5. package/dist/adminapi/models/data-channel-endpoint-create.d.ts +20 -1
  6. package/dist/adminapi/models/data-channel-endpoint-create.d.ts.map +1 -1
  7. package/dist/adminapi/models/data-channel-list-endpoint.d.ts +25 -0
  8. package/dist/adminapi/models/data-channel-list-endpoint.d.ts.map +1 -1
  9. package/dist/adminapi/models/data-endpoint-create.d.ts +72 -0
  10. package/dist/adminapi/models/data-endpoint-create.d.ts.map +1 -0
  11. package/dist/adminapi/models/data-endpoint-create.js +16 -0
  12. package/dist/adminapi/models/data-endpoint-create.js.map +1 -0
  13. package/dist/adminapi/models/data-endpoint-response.d.ts +43 -0
  14. package/dist/adminapi/models/data-endpoint-response.d.ts.map +1 -0
  15. package/dist/adminapi/models/data-endpoint-response.js +16 -0
  16. package/dist/adminapi/models/data-endpoint-response.js.map +1 -0
  17. package/dist/adminapi/models/data-endpoint-type-creation.d.ts +22 -0
  18. package/dist/adminapi/models/data-endpoint-type-creation.d.ts.map +1 -0
  19. package/dist/adminapi/models/data-endpoint-type-creation.js +26 -0
  20. package/dist/adminapi/models/data-endpoint-type-creation.js.map +1 -0
  21. package/dist/adminapi/models/data-replication-endpoint-type.d.ts +1 -0
  22. package/dist/adminapi/models/data-replication-endpoint-type.d.ts.map +1 -1
  23. package/dist/adminapi/models/data-replication-endpoint-type.js +2 -1
  24. package/dist/adminapi/models/data-replication-endpoint-type.js.map +1 -1
  25. package/dist/adminapi/models/definition-endpoint.d.ts +25 -0
  26. package/dist/adminapi/models/definition-endpoint.d.ts.map +1 -0
  27. package/dist/adminapi/models/definition-endpoint.js +16 -0
  28. package/dist/adminapi/models/definition-endpoint.js.map +1 -0
  29. package/dist/adminapi/models/index.d.ts +4 -0
  30. package/dist/adminapi/models/index.d.ts.map +1 -1
  31. package/dist/adminapi/models/index.js +4 -0
  32. package/dist/adminapi/models/index.js.map +1 -1
  33. package/dist/adminapi/models/redis-key-analysis-report.d.ts +2 -2
  34. package/dist/adminapi/models/redis-key-analysis-report.d.ts.map +1 -1
  35. package/dist/openapi/apis/data-replication-api.d.ts +326 -0
  36. package/dist/openapi/apis/data-replication-api.d.ts.map +1 -1
  37. package/dist/openapi/apis/data-replication-api.js +377 -0
  38. package/dist/openapi/apis/data-replication-api.js.map +1 -1
  39. package/dist/openapi/models/data-channel-endpoint-create.d.ts +20 -1
  40. package/dist/openapi/models/data-channel-endpoint-create.d.ts.map +1 -1
  41. package/dist/openapi/models/data-channel-list-endpoint.d.ts +25 -0
  42. package/dist/openapi/models/data-channel-list-endpoint.d.ts.map +1 -1
  43. package/dist/openapi/models/data-endpoint-create.d.ts +72 -0
  44. package/dist/openapi/models/data-endpoint-create.d.ts.map +1 -0
  45. package/dist/openapi/models/data-endpoint-create.js +16 -0
  46. package/dist/openapi/models/data-endpoint-create.js.map +1 -0
  47. package/dist/openapi/models/data-endpoint-response.d.ts +43 -0
  48. package/dist/openapi/models/data-endpoint-response.d.ts.map +1 -0
  49. package/dist/openapi/models/data-endpoint-response.js +16 -0
  50. package/dist/openapi/models/data-endpoint-response.js.map +1 -0
  51. package/dist/openapi/models/data-endpoint-type-creation.d.ts +22 -0
  52. package/dist/openapi/models/data-endpoint-type-creation.d.ts.map +1 -0
  53. package/dist/openapi/models/data-endpoint-type-creation.js +26 -0
  54. package/dist/openapi/models/data-endpoint-type-creation.js.map +1 -0
  55. package/dist/openapi/models/data-replication-endpoint-type.d.ts +1 -0
  56. package/dist/openapi/models/data-replication-endpoint-type.d.ts.map +1 -1
  57. package/dist/openapi/models/data-replication-endpoint-type.js +2 -1
  58. package/dist/openapi/models/data-replication-endpoint-type.js.map +1 -1
  59. package/dist/openapi/models/definition-endpoint.d.ts +25 -0
  60. package/dist/openapi/models/definition-endpoint.d.ts.map +1 -0
  61. package/dist/openapi/models/definition-endpoint.js +16 -0
  62. package/dist/openapi/models/definition-endpoint.js.map +1 -0
  63. package/dist/openapi/models/index.d.ts +4 -0
  64. package/dist/openapi/models/index.d.ts.map +1 -1
  65. package/dist/openapi/models/index.js +4 -0
  66. package/dist/openapi/models/index.js.map +1 -1
  67. package/dist/openapi/models/redis-key-analysis-report.d.ts +2 -2
  68. package/dist/openapi/models/redis-key-analysis-report.d.ts.map +1 -1
  69. package/package.json +1 -1
  70. package/src/adminapi/.openapi-generator/FILES +4 -0
  71. package/src/adminapi/apis/data-replication-api.ts +584 -0
  72. package/src/adminapi/models/data-channel-endpoint-create.ts +22 -1
  73. package/src/adminapi/models/data-channel-list-endpoint.ts +27 -0
  74. package/src/adminapi/models/data-endpoint-create.ts +83 -0
  75. package/src/adminapi/models/data-endpoint-response.ts +48 -0
  76. package/src/adminapi/models/data-endpoint-type-creation.ts +31 -0
  77. package/src/adminapi/models/data-replication-endpoint-type.ts +2 -1
  78. package/src/adminapi/models/definition-endpoint.ts +30 -0
  79. package/src/adminapi/models/index.ts +4 -0
  80. package/src/adminapi/models/redis-key-analysis-report.ts +2 -2
  81. package/src/adminapi.yaml +255 -2
  82. package/src/openapi/.openapi-generator/FILES +4 -0
  83. package/src/openapi/apis/data-replication-api.ts +583 -0
  84. package/src/openapi/models/data-channel-endpoint-create.ts +22 -1
  85. package/src/openapi/models/data-channel-list-endpoint.ts +27 -0
  86. package/src/openapi/models/data-endpoint-create.ts +83 -0
  87. package/src/openapi/models/data-endpoint-response.ts +48 -0
  88. package/src/openapi/models/data-endpoint-type-creation.ts +31 -0
  89. package/src/openapi/models/data-replication-endpoint-type.ts +2 -1
  90. package/src/openapi/models/definition-endpoint.ts +30 -0
  91. package/src/openapi/models/index.ts +4 -0
  92. package/src/openapi/models/redis-key-analysis-report.ts +2 -2
  93. package/src/openapi.yaml +1496 -1244
@@ -149,6 +149,45 @@ const DataReplicationApiAxiosParamCreator = function (configuration) {
149
149
  options: localVarRequestOptions,
150
150
  };
151
151
  },
152
+ /**
153
+ * Create a new data endpoint.
154
+ * @summary Create a new data endpoint
155
+ * @param {string} orgName The Name of the organization
156
+ * @param {DataEndpointCreate} body
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ createDataEndpoint: async (orgName, body, options = {}) => {
161
+ // verify required parameter 'orgName' is not null or undefined
162
+ (0, common_1.assertParamExists)('createDataEndpoint', 'orgName', orgName);
163
+ // verify required parameter 'body' is not null or undefined
164
+ (0, common_1.assertParamExists)('createDataEndpoint', 'body', body);
165
+ const localVarPath = `/api/v1/organizations/{orgName}/replication/endpoints`
166
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
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: 'POST' }, 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
+ localVarHeaderParameter['Content-Type'] = 'application/json';
182
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
183
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
184
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
185
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
186
+ return {
187
+ url: (0, common_1.toPathString)(localVarUrlObj),
188
+ options: localVarRequestOptions,
189
+ };
190
+ },
152
191
  /**
153
192
  * create pre check.
154
193
  * @summary create pre check
@@ -264,6 +303,44 @@ const DataReplicationApiAxiosParamCreator = function (configuration) {
264
303
  options: localVarRequestOptions,
265
304
  };
266
305
  },
306
+ /**
307
+ * Delete a data endpoint.
308
+ * @summary Delete a data endpoint
309
+ * @param {string} orgName The Name of the organization
310
+ * @param {string} endpointID The ID of the data endpoint
311
+ * @param {*} [options] Override http request option.
312
+ * @throws {RequiredError}
313
+ */
314
+ deleteDataEndpoint: async (orgName, endpointID, options = {}) => {
315
+ // verify required parameter 'orgName' is not null or undefined
316
+ (0, common_1.assertParamExists)('deleteDataEndpoint', 'orgName', orgName);
317
+ // verify required parameter 'endpointID' is not null or undefined
318
+ (0, common_1.assertParamExists)('deleteDataEndpoint', 'endpointID', endpointID);
319
+ const localVarPath = `/api/v1/organizations/{orgName}/replication/endpoint/{endpointID}`
320
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
321
+ .replace(`{${"endpointID"}}`, encodeURIComponent(String(endpointID)));
322
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
323
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
324
+ let baseOptions;
325
+ if (configuration) {
326
+ baseOptions = configuration.baseOptions;
327
+ }
328
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
329
+ const localVarHeaderParameter = {};
330
+ const localVarQueryParameter = {};
331
+ // authentication BearerToken required
332
+ // http bearer authentication required
333
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
334
+ // authentication DigestAuth required
335
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
336
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
337
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
338
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
339
+ return {
340
+ url: (0, common_1.toPathString)(localVarUrlObj),
341
+ options: localVarRequestOptions,
342
+ };
343
+ },
267
344
  /**
268
345
  * delete preCheck.
269
346
  * @summary delete preCheck
@@ -481,6 +558,44 @@ const DataReplicationApiAxiosParamCreator = function (configuration) {
481
558
  options: localVarRequestOptions,
482
559
  };
483
560
  },
561
+ /**
562
+ * Retrieve a data endpoint detail.
563
+ * @summary Get Data Endpoint Details
564
+ * @param {string} orgName The Name of the organization
565
+ * @param {string} endpointID The ID of the data endpoint
566
+ * @param {*} [options] Override http request option.
567
+ * @throws {RequiredError}
568
+ */
569
+ getDataEndpoint: async (orgName, endpointID, options = {}) => {
570
+ // verify required parameter 'orgName' is not null or undefined
571
+ (0, common_1.assertParamExists)('getDataEndpoint', 'orgName', orgName);
572
+ // verify required parameter 'endpointID' is not null or undefined
573
+ (0, common_1.assertParamExists)('getDataEndpoint', 'endpointID', endpointID);
574
+ const localVarPath = `/api/v1/organizations/{orgName}/replication/endpoint/{endpointID}`
575
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
576
+ .replace(`{${"endpointID"}}`, encodeURIComponent(String(endpointID)));
577
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
578
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
579
+ let baseOptions;
580
+ if (configuration) {
581
+ baseOptions = configuration.baseOptions;
582
+ }
583
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
584
+ const localVarHeaderParameter = {};
585
+ const localVarQueryParameter = {};
586
+ // authentication BearerToken required
587
+ // http bearer authentication required
588
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
589
+ // authentication DigestAuth required
590
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
591
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
592
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
593
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
594
+ return {
595
+ url: (0, common_1.toPathString)(localVarUrlObj),
596
+ options: localVarRequestOptions,
597
+ };
598
+ },
484
599
  /**
485
600
  * get preCheck.
486
601
  * @summary get preCheck
@@ -695,6 +810,44 @@ const DataReplicationApiAxiosParamCreator = function (configuration) {
695
810
  options: localVarRequestOptions,
696
811
  };
697
812
  },
813
+ /**
814
+ * Retrieve a list of data endpoints.
815
+ * @summary List Data Endpoints
816
+ * @param {string} orgName The Name of the organization
817
+ * @param {string} [name] The name of the data endpoint
818
+ * @param {*} [options] Override http request option.
819
+ * @throws {RequiredError}
820
+ */
821
+ listDataEndpoints: async (orgName, name, options = {}) => {
822
+ // verify required parameter 'orgName' is not null or undefined
823
+ (0, common_1.assertParamExists)('listDataEndpoints', 'orgName', orgName);
824
+ const localVarPath = `/api/v1/organizations/{orgName}/replication/endpoints`
825
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
826
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
827
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
828
+ let baseOptions;
829
+ if (configuration) {
830
+ baseOptions = configuration.baseOptions;
831
+ }
832
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
833
+ const localVarHeaderParameter = {};
834
+ const localVarQueryParameter = {};
835
+ // authentication BearerToken required
836
+ // http bearer authentication required
837
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
838
+ // authentication DigestAuth required
839
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
840
+ if (name !== undefined) {
841
+ localVarQueryParameter['name'] = name;
842
+ }
843
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
844
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
845
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
846
+ return {
847
+ url: (0, common_1.toPathString)(localVarUrlObj),
848
+ options: localVarRequestOptions,
849
+ };
850
+ },
698
851
  /**
699
852
  * Query containers of a data channel module pod
700
853
  * @summary Query data channel module pod containers
@@ -869,6 +1022,49 @@ const DataReplicationApiAxiosParamCreator = function (configuration) {
869
1022
  options: localVarRequestOptions,
870
1023
  };
871
1024
  },
1025
+ /**
1026
+ * Update an existing data endpoint.
1027
+ * @summary Update a data endpoint
1028
+ * @param {string} orgName The Name of the organization
1029
+ * @param {string} endpointID The ID of the data endpoint
1030
+ * @param {DataEndpointCreate} body
1031
+ * @param {*} [options] Override http request option.
1032
+ * @throws {RequiredError}
1033
+ */
1034
+ updateDataEndpoint: async (orgName, endpointID, body, options = {}) => {
1035
+ // verify required parameter 'orgName' is not null or undefined
1036
+ (0, common_1.assertParamExists)('updateDataEndpoint', 'orgName', orgName);
1037
+ // verify required parameter 'endpointID' is not null or undefined
1038
+ (0, common_1.assertParamExists)('updateDataEndpoint', 'endpointID', endpointID);
1039
+ // verify required parameter 'body' is not null or undefined
1040
+ (0, common_1.assertParamExists)('updateDataEndpoint', 'body', body);
1041
+ const localVarPath = `/api/v1/organizations/{orgName}/replication/endpoint/{endpointID}`
1042
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1043
+ .replace(`{${"endpointID"}}`, encodeURIComponent(String(endpointID)));
1044
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1045
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1046
+ let baseOptions;
1047
+ if (configuration) {
1048
+ baseOptions = configuration.baseOptions;
1049
+ }
1050
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
1051
+ const localVarHeaderParameter = {};
1052
+ const localVarQueryParameter = {};
1053
+ // authentication BearerToken required
1054
+ // http bearer authentication required
1055
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1056
+ // authentication DigestAuth required
1057
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1058
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1059
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1060
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1061
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1062
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
1063
+ return {
1064
+ url: (0, common_1.toPathString)(localVarUrlObj),
1065
+ options: localVarRequestOptions,
1066
+ };
1067
+ },
872
1068
  };
873
1069
  };
874
1070
  exports.DataReplicationApiAxiosParamCreator = DataReplicationApiAxiosParamCreator;
@@ -925,6 +1121,21 @@ const DataReplicationApiFp = function (configuration) {
925
1121
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.createDataCheck']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
926
1122
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
927
1123
  },
1124
+ /**
1125
+ * Create a new data endpoint.
1126
+ * @summary Create a new data endpoint
1127
+ * @param {string} orgName The Name of the organization
1128
+ * @param {DataEndpointCreate} body
1129
+ * @param {*} [options] Override http request option.
1130
+ * @throws {RequiredError}
1131
+ */
1132
+ async createDataEndpoint(orgName, body, options) {
1133
+ var _a, _b, _c;
1134
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createDataEndpoint(orgName, body, options);
1135
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1136
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.createDataEndpoint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1137
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1138
+ },
928
1139
  /**
929
1140
  * create pre check.
930
1141
  * @summary create pre check
@@ -970,6 +1181,21 @@ const DataReplicationApiFp = function (configuration) {
970
1181
  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;
971
1182
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
972
1183
  },
1184
+ /**
1185
+ * Delete a data endpoint.
1186
+ * @summary Delete a data endpoint
1187
+ * @param {string} orgName The Name of the organization
1188
+ * @param {string} endpointID The ID of the data endpoint
1189
+ * @param {*} [options] Override http request option.
1190
+ * @throws {RequiredError}
1191
+ */
1192
+ async deleteDataEndpoint(orgName, endpointID, options) {
1193
+ var _a, _b, _c;
1194
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDataEndpoint(orgName, endpointID, options);
1195
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1196
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.deleteDataEndpoint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1197
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1198
+ },
973
1199
  /**
974
1200
  * delete preCheck.
975
1201
  * @summary delete preCheck
@@ -1052,6 +1278,21 @@ const DataReplicationApiFp = function (configuration) {
1052
1278
  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;
1053
1279
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1054
1280
  },
1281
+ /**
1282
+ * Retrieve a data endpoint detail.
1283
+ * @summary Get Data Endpoint Details
1284
+ * @param {string} orgName The Name of the organization
1285
+ * @param {string} endpointID The ID of the data endpoint
1286
+ * @param {*} [options] Override http request option.
1287
+ * @throws {RequiredError}
1288
+ */
1289
+ async getDataEndpoint(orgName, endpointID, options) {
1290
+ var _a, _b, _c;
1291
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDataEndpoint(orgName, endpointID, options);
1292
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1293
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.getDataEndpoint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1294
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1295
+ },
1055
1296
  /**
1056
1297
  * get preCheck.
1057
1298
  * @summary get preCheck
@@ -1133,6 +1374,21 @@ const DataReplicationApiFp = function (configuration) {
1133
1374
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.listDataChecks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1134
1375
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1135
1376
  },
1377
+ /**
1378
+ * Retrieve a list of data endpoints.
1379
+ * @summary List Data Endpoints
1380
+ * @param {string} orgName The Name of the organization
1381
+ * @param {string} [name] The name of the data endpoint
1382
+ * @param {*} [options] Override http request option.
1383
+ * @throws {RequiredError}
1384
+ */
1385
+ async listDataEndpoints(orgName, name, options) {
1386
+ var _a, _b, _c;
1387
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDataEndpoints(orgName, name, options);
1388
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1389
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.listDataEndpoints']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1390
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1391
+ },
1136
1392
  /**
1137
1393
  * Query containers of a data channel module pod
1138
1394
  * @summary Query data channel module pod containers
@@ -1198,6 +1454,22 @@ const DataReplicationApiFp = function (configuration) {
1198
1454
  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;
1199
1455
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1200
1456
  },
1457
+ /**
1458
+ * Update an existing data endpoint.
1459
+ * @summary Update a data endpoint
1460
+ * @param {string} orgName The Name of the organization
1461
+ * @param {string} endpointID The ID of the data endpoint
1462
+ * @param {DataEndpointCreate} body
1463
+ * @param {*} [options] Override http request option.
1464
+ * @throws {RequiredError}
1465
+ */
1466
+ async updateDataEndpoint(orgName, endpointID, body, options) {
1467
+ var _a, _b, _c;
1468
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateDataEndpoint(orgName, endpointID, body, options);
1469
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1470
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.updateDataEndpoint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1471
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1472
+ },
1201
1473
  };
1202
1474
  };
1203
1475
  exports.DataReplicationApiFp = DataReplicationApiFp;
@@ -1238,6 +1510,16 @@ const DataReplicationApiFactory = function (configuration, basePath, axios) {
1238
1510
  createDataCheck(requestParameters, options) {
1239
1511
  return localVarFp.createDataCheck(requestParameters.orgName, requestParameters.body, options).then((request) => request(axios, basePath));
1240
1512
  },
1513
+ /**
1514
+ * Create a new data endpoint.
1515
+ * @summary Create a new data endpoint
1516
+ * @param {DataReplicationApiCreateDataEndpointRequest} requestParameters Request parameters.
1517
+ * @param {*} [options] Override http request option.
1518
+ * @throws {RequiredError}
1519
+ */
1520
+ createDataEndpoint(requestParameters, options) {
1521
+ return localVarFp.createDataEndpoint(requestParameters.orgName, requestParameters.body, options).then((request) => request(axios, basePath));
1522
+ },
1241
1523
  /**
1242
1524
  * create pre check.
1243
1525
  * @summary create pre check
@@ -1268,6 +1550,16 @@ const DataReplicationApiFactory = function (configuration, basePath, axios) {
1268
1550
  deleteDataCheck(requestParameters, options) {
1269
1551
  return localVarFp.deleteDataCheck(requestParameters.orgName, requestParameters.checkID, options).then((request) => request(axios, basePath));
1270
1552
  },
1553
+ /**
1554
+ * Delete a data endpoint.
1555
+ * @summary Delete a data endpoint
1556
+ * @param {DataReplicationApiDeleteDataEndpointRequest} requestParameters Request parameters.
1557
+ * @param {*} [options] Override http request option.
1558
+ * @throws {RequiredError}
1559
+ */
1560
+ deleteDataEndpoint(requestParameters, options) {
1561
+ return localVarFp.deleteDataEndpoint(requestParameters.orgName, requestParameters.endpointID, options).then((request) => request(axios, basePath));
1562
+ },
1271
1563
  /**
1272
1564
  * delete preCheck.
1273
1565
  * @summary delete preCheck
@@ -1319,6 +1611,16 @@ const DataReplicationApiFactory = function (configuration, basePath, axios) {
1319
1611
  getDataCheckSQLLogs(requestParameters, options) {
1320
1612
  return localVarFp.getDataCheckSQLLogs(requestParameters.orgName, requestParameters.checkID, options).then((request) => request(axios, basePath));
1321
1613
  },
1614
+ /**
1615
+ * Retrieve a data endpoint detail.
1616
+ * @summary Get Data Endpoint Details
1617
+ * @param {DataReplicationApiGetDataEndpointRequest} requestParameters Request parameters.
1618
+ * @param {*} [options] Override http request option.
1619
+ * @throws {RequiredError}
1620
+ */
1621
+ getDataEndpoint(requestParameters, options) {
1622
+ return localVarFp.getDataEndpoint(requestParameters.orgName, requestParameters.endpointID, options).then((request) => request(axios, basePath));
1623
+ },
1322
1624
  /**
1323
1625
  * get preCheck.
1324
1626
  * @summary get preCheck
@@ -1369,6 +1671,16 @@ const DataReplicationApiFactory = function (configuration, basePath, axios) {
1369
1671
  listDataChecks(requestParameters, options) {
1370
1672
  return localVarFp.listDataChecks(requestParameters.orgName, requestParameters.name, requestParameters.status, options).then((request) => request(axios, basePath));
1371
1673
  },
1674
+ /**
1675
+ * Retrieve a list of data endpoints.
1676
+ * @summary List Data Endpoints
1677
+ * @param {DataReplicationApiListDataEndpointsRequest} requestParameters Request parameters.
1678
+ * @param {*} [options] Override http request option.
1679
+ * @throws {RequiredError}
1680
+ */
1681
+ listDataEndpoints(requestParameters, options) {
1682
+ return localVarFp.listDataEndpoints(requestParameters.orgName, requestParameters.name, options).then((request) => request(axios, basePath));
1683
+ },
1372
1684
  /**
1373
1685
  * Query containers of a data channel module pod
1374
1686
  * @summary Query data channel module pod containers
@@ -1409,6 +1721,16 @@ const DataReplicationApiFactory = function (configuration, basePath, axios) {
1409
1721
  updateDataChannel(requestParameters, options) {
1410
1722
  return localVarFp.updateDataChannel(requestParameters.orgName, requestParameters.channelID, requestParameters.body, options).then((request) => request(axios, basePath));
1411
1723
  },
1724
+ /**
1725
+ * Update an existing data endpoint.
1726
+ * @summary Update a data endpoint
1727
+ * @param {DataReplicationApiUpdateDataEndpointRequest} requestParameters Request parameters.
1728
+ * @param {*} [options] Override http request option.
1729
+ * @throws {RequiredError}
1730
+ */
1731
+ updateDataEndpoint(requestParameters, options) {
1732
+ return localVarFp.updateDataEndpoint(requestParameters.orgName, requestParameters.endpointID, requestParameters.body, options).then((request) => request(axios, basePath));
1733
+ },
1412
1734
  };
1413
1735
  };
1414
1736
  exports.DataReplicationApiFactory = DataReplicationApiFactory;
@@ -1452,6 +1774,17 @@ class DataReplicationApi extends base_1.BaseAPI {
1452
1774
  createDataCheck(requestParameters, options) {
1453
1775
  return (0, exports.DataReplicationApiFp)(this.configuration).createDataCheck(requestParameters.orgName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1454
1776
  }
1777
+ /**
1778
+ * Create a new data endpoint.
1779
+ * @summary Create a new data endpoint
1780
+ * @param {DataReplicationApiCreateDataEndpointRequest} requestParameters Request parameters.
1781
+ * @param {*} [options] Override http request option.
1782
+ * @throws {RequiredError}
1783
+ * @memberof DataReplicationApi
1784
+ */
1785
+ createDataEndpoint(requestParameters, options) {
1786
+ return (0, exports.DataReplicationApiFp)(this.configuration).createDataEndpoint(requestParameters.orgName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1787
+ }
1455
1788
  /**
1456
1789
  * create pre check.
1457
1790
  * @summary create pre check
@@ -1485,6 +1818,17 @@ class DataReplicationApi extends base_1.BaseAPI {
1485
1818
  deleteDataCheck(requestParameters, options) {
1486
1819
  return (0, exports.DataReplicationApiFp)(this.configuration).deleteDataCheck(requestParameters.orgName, requestParameters.checkID, options).then((request) => request(this.axios, this.basePath));
1487
1820
  }
1821
+ /**
1822
+ * Delete a data endpoint.
1823
+ * @summary Delete a data endpoint
1824
+ * @param {DataReplicationApiDeleteDataEndpointRequest} requestParameters Request parameters.
1825
+ * @param {*} [options] Override http request option.
1826
+ * @throws {RequiredError}
1827
+ * @memberof DataReplicationApi
1828
+ */
1829
+ deleteDataEndpoint(requestParameters, options) {
1830
+ return (0, exports.DataReplicationApiFp)(this.configuration).deleteDataEndpoint(requestParameters.orgName, requestParameters.endpointID, options).then((request) => request(this.axios, this.basePath));
1831
+ }
1488
1832
  /**
1489
1833
  * delete preCheck.
1490
1834
  * @summary delete preCheck
@@ -1541,6 +1885,17 @@ class DataReplicationApi extends base_1.BaseAPI {
1541
1885
  getDataCheckSQLLogs(requestParameters, options) {
1542
1886
  return (0, exports.DataReplicationApiFp)(this.configuration).getDataCheckSQLLogs(requestParameters.orgName, requestParameters.checkID, options).then((request) => request(this.axios, this.basePath));
1543
1887
  }
1888
+ /**
1889
+ * Retrieve a data endpoint detail.
1890
+ * @summary Get Data Endpoint Details
1891
+ * @param {DataReplicationApiGetDataEndpointRequest} requestParameters Request parameters.
1892
+ * @param {*} [options] Override http request option.
1893
+ * @throws {RequiredError}
1894
+ * @memberof DataReplicationApi
1895
+ */
1896
+ getDataEndpoint(requestParameters, options) {
1897
+ return (0, exports.DataReplicationApiFp)(this.configuration).getDataEndpoint(requestParameters.orgName, requestParameters.endpointID, options).then((request) => request(this.axios, this.basePath));
1898
+ }
1544
1899
  /**
1545
1900
  * get preCheck.
1546
1901
  * @summary get preCheck
@@ -1596,6 +1951,17 @@ class DataReplicationApi extends base_1.BaseAPI {
1596
1951
  listDataChecks(requestParameters, options) {
1597
1952
  return (0, exports.DataReplicationApiFp)(this.configuration).listDataChecks(requestParameters.orgName, requestParameters.name, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
1598
1953
  }
1954
+ /**
1955
+ * Retrieve a list of data endpoints.
1956
+ * @summary List Data Endpoints
1957
+ * @param {DataReplicationApiListDataEndpointsRequest} requestParameters Request parameters.
1958
+ * @param {*} [options] Override http request option.
1959
+ * @throws {RequiredError}
1960
+ * @memberof DataReplicationApi
1961
+ */
1962
+ listDataEndpoints(requestParameters, options) {
1963
+ return (0, exports.DataReplicationApiFp)(this.configuration).listDataEndpoints(requestParameters.orgName, requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1964
+ }
1599
1965
  /**
1600
1966
  * Query containers of a data channel module pod
1601
1967
  * @summary Query data channel module pod containers
@@ -1640,6 +2006,17 @@ class DataReplicationApi extends base_1.BaseAPI {
1640
2006
  updateDataChannel(requestParameters, options) {
1641
2007
  return (0, exports.DataReplicationApiFp)(this.configuration).updateDataChannel(requestParameters.orgName, requestParameters.channelID, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1642
2008
  }
2009
+ /**
2010
+ * Update an existing data endpoint.
2011
+ * @summary Update a data endpoint
2012
+ * @param {DataReplicationApiUpdateDataEndpointRequest} requestParameters Request parameters.
2013
+ * @param {*} [options] Override http request option.
2014
+ * @throws {RequiredError}
2015
+ * @memberof DataReplicationApi
2016
+ */
2017
+ updateDataEndpoint(requestParameters, options) {
2018
+ return (0, exports.DataReplicationApiFp)(this.configuration).updateDataEndpoint(requestParameters.orgName, requestParameters.endpointID, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2019
+ }
1643
2020
  }
1644
2021
  exports.DataReplicationApi = DataReplicationApi;
1645
2022
  //# sourceMappingURL=data-replication-api.js.map