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.
- package/dist/adminapi/apis/data-replication-api.d.ts +326 -0
- package/dist/adminapi/apis/data-replication-api.d.ts.map +1 -1
- package/dist/adminapi/apis/data-replication-api.js +377 -0
- package/dist/adminapi/apis/data-replication-api.js.map +1 -1
- package/dist/adminapi/models/data-channel-endpoint-create.d.ts +20 -1
- package/dist/adminapi/models/data-channel-endpoint-create.d.ts.map +1 -1
- package/dist/adminapi/models/data-channel-list-endpoint.d.ts +25 -0
- package/dist/adminapi/models/data-channel-list-endpoint.d.ts.map +1 -1
- package/dist/adminapi/models/data-endpoint-create.d.ts +72 -0
- package/dist/adminapi/models/data-endpoint-create.d.ts.map +1 -0
- package/dist/adminapi/models/data-endpoint-create.js +16 -0
- package/dist/adminapi/models/data-endpoint-create.js.map +1 -0
- package/dist/adminapi/models/data-endpoint-response.d.ts +43 -0
- package/dist/adminapi/models/data-endpoint-response.d.ts.map +1 -0
- package/dist/adminapi/models/data-endpoint-response.js +16 -0
- package/dist/adminapi/models/data-endpoint-response.js.map +1 -0
- package/dist/adminapi/models/data-endpoint-type-creation.d.ts +22 -0
- package/dist/adminapi/models/data-endpoint-type-creation.d.ts.map +1 -0
- package/dist/adminapi/models/data-endpoint-type-creation.js +26 -0
- package/dist/adminapi/models/data-endpoint-type-creation.js.map +1 -0
- package/dist/adminapi/models/data-replication-endpoint-type.d.ts +1 -0
- package/dist/adminapi/models/data-replication-endpoint-type.d.ts.map +1 -1
- package/dist/adminapi/models/data-replication-endpoint-type.js +2 -1
- package/dist/adminapi/models/data-replication-endpoint-type.js.map +1 -1
- package/dist/adminapi/models/definition-endpoint.d.ts +25 -0
- package/dist/adminapi/models/definition-endpoint.d.ts.map +1 -0
- package/dist/adminapi/models/definition-endpoint.js +16 -0
- package/dist/adminapi/models/definition-endpoint.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +4 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +4 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/redis-key-analysis-report.d.ts +2 -2
- package/dist/adminapi/models/redis-key-analysis-report.d.ts.map +1 -1
- package/dist/openapi/apis/data-replication-api.d.ts +326 -0
- package/dist/openapi/apis/data-replication-api.d.ts.map +1 -1
- package/dist/openapi/apis/data-replication-api.js +377 -0
- package/dist/openapi/apis/data-replication-api.js.map +1 -1
- package/dist/openapi/models/data-channel-endpoint-create.d.ts +20 -1
- package/dist/openapi/models/data-channel-endpoint-create.d.ts.map +1 -1
- package/dist/openapi/models/data-channel-list-endpoint.d.ts +25 -0
- package/dist/openapi/models/data-channel-list-endpoint.d.ts.map +1 -1
- package/dist/openapi/models/data-endpoint-create.d.ts +72 -0
- package/dist/openapi/models/data-endpoint-create.d.ts.map +1 -0
- package/dist/openapi/models/data-endpoint-create.js +16 -0
- package/dist/openapi/models/data-endpoint-create.js.map +1 -0
- package/dist/openapi/models/data-endpoint-response.d.ts +43 -0
- package/dist/openapi/models/data-endpoint-response.d.ts.map +1 -0
- package/dist/openapi/models/data-endpoint-response.js +16 -0
- package/dist/openapi/models/data-endpoint-response.js.map +1 -0
- package/dist/openapi/models/data-endpoint-type-creation.d.ts +22 -0
- package/dist/openapi/models/data-endpoint-type-creation.d.ts.map +1 -0
- package/dist/openapi/models/data-endpoint-type-creation.js +26 -0
- package/dist/openapi/models/data-endpoint-type-creation.js.map +1 -0
- package/dist/openapi/models/data-replication-endpoint-type.d.ts +1 -0
- package/dist/openapi/models/data-replication-endpoint-type.d.ts.map +1 -1
- package/dist/openapi/models/data-replication-endpoint-type.js +2 -1
- package/dist/openapi/models/data-replication-endpoint-type.js.map +1 -1
- package/dist/openapi/models/definition-endpoint.d.ts +25 -0
- package/dist/openapi/models/definition-endpoint.d.ts.map +1 -0
- package/dist/openapi/models/definition-endpoint.js +16 -0
- package/dist/openapi/models/definition-endpoint.js.map +1 -0
- package/dist/openapi/models/index.d.ts +4 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +4 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/redis-key-analysis-report.d.ts +2 -2
- package/dist/openapi/models/redis-key-analysis-report.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +4 -0
- package/src/adminapi/apis/data-replication-api.ts +584 -0
- package/src/adminapi/models/data-channel-endpoint-create.ts +22 -1
- package/src/adminapi/models/data-channel-list-endpoint.ts +27 -0
- package/src/adminapi/models/data-endpoint-create.ts +83 -0
- package/src/adminapi/models/data-endpoint-response.ts +48 -0
- package/src/adminapi/models/data-endpoint-type-creation.ts +31 -0
- package/src/adminapi/models/data-replication-endpoint-type.ts +2 -1
- package/src/adminapi/models/definition-endpoint.ts +30 -0
- package/src/adminapi/models/index.ts +4 -0
- package/src/adminapi/models/redis-key-analysis-report.ts +2 -2
- package/src/adminapi.yaml +255 -2
- package/src/openapi/.openapi-generator/FILES +4 -0
- package/src/openapi/apis/data-replication-api.ts +583 -0
- package/src/openapi/models/data-channel-endpoint-create.ts +22 -1
- package/src/openapi/models/data-channel-list-endpoint.ts +27 -0
- package/src/openapi/models/data-endpoint-create.ts +83 -0
- package/src/openapi/models/data-endpoint-response.ts +48 -0
- package/src/openapi/models/data-endpoint-type-creation.ts +31 -0
- package/src/openapi/models/data-replication-endpoint-type.ts +2 -1
- package/src/openapi/models/definition-endpoint.ts +30 -0
- package/src/openapi/models/index.ts +4 -0
- package/src/openapi/models/redis-key-analysis-report.ts +2 -2
- package/src/openapi.yaml +1496 -1244
|
@@ -107,6 +107,45 @@ const DataReplicationApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
options: localVarRequestOptions,
|
|
108
108
|
};
|
|
109
109
|
},
|
|
110
|
+
/**
|
|
111
|
+
* Create a new data endpoint.
|
|
112
|
+
* @summary Create a new data endpoint
|
|
113
|
+
* @param {string} orgName The Name of the organization
|
|
114
|
+
* @param {DataEndpointCreate} body
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
createAdminDataEndpoint: async (orgName, body, options = {}) => {
|
|
119
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
120
|
+
(0, common_1.assertParamExists)('createAdminDataEndpoint', 'orgName', orgName);
|
|
121
|
+
// verify required parameter 'body' is not null or undefined
|
|
122
|
+
(0, common_1.assertParamExists)('createAdminDataEndpoint', 'body', body);
|
|
123
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/replication/endpoint`
|
|
124
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
127
|
+
let baseOptions;
|
|
128
|
+
if (configuration) {
|
|
129
|
+
baseOptions = configuration.baseOptions;
|
|
130
|
+
}
|
|
131
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
132
|
+
const localVarHeaderParameter = {};
|
|
133
|
+
const localVarQueryParameter = {};
|
|
134
|
+
// authentication BearerToken required
|
|
135
|
+
// http bearer authentication required
|
|
136
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
137
|
+
// authentication DigestAuth required
|
|
138
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
139
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
140
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
141
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
142
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
143
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
144
|
+
return {
|
|
145
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
146
|
+
options: localVarRequestOptions,
|
|
147
|
+
};
|
|
148
|
+
},
|
|
110
149
|
/**
|
|
111
150
|
* Create a new data channel ops.
|
|
112
151
|
* @summary Create a new data channel ops
|
|
@@ -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 = `/admin/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 = `/admin/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
|
|
@@ -603,6 +718,44 @@ const DataReplicationApiAxiosParamCreator = function (configuration) {
|
|
|
603
718
|
options: localVarRequestOptions,
|
|
604
719
|
};
|
|
605
720
|
},
|
|
721
|
+
/**
|
|
722
|
+
* Retrieve a list of data endpoints.
|
|
723
|
+
* @summary List Data Endpoints
|
|
724
|
+
* @param {string} [orgName] The Name of the organization
|
|
725
|
+
* @param {string} [name] The name of the data endpoint
|
|
726
|
+
* @param {*} [options] Override http request option.
|
|
727
|
+
* @throws {RequiredError}
|
|
728
|
+
*/
|
|
729
|
+
listAdminDataEndpoints: async (orgName, name, options = {}) => {
|
|
730
|
+
const localVarPath = `/admin/v1/replication/endpoints`;
|
|
731
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
732
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
733
|
+
let baseOptions;
|
|
734
|
+
if (configuration) {
|
|
735
|
+
baseOptions = configuration.baseOptions;
|
|
736
|
+
}
|
|
737
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
738
|
+
const localVarHeaderParameter = {};
|
|
739
|
+
const localVarQueryParameter = {};
|
|
740
|
+
// authentication BearerToken required
|
|
741
|
+
// http bearer authentication required
|
|
742
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
743
|
+
// authentication DigestAuth required
|
|
744
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
745
|
+
if (orgName !== undefined) {
|
|
746
|
+
localVarQueryParameter['orgName'] = orgName;
|
|
747
|
+
}
|
|
748
|
+
if (name !== undefined) {
|
|
749
|
+
localVarQueryParameter['name'] = name;
|
|
750
|
+
}
|
|
751
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
752
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
753
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
754
|
+
return {
|
|
755
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
756
|
+
options: localVarRequestOptions,
|
|
757
|
+
};
|
|
758
|
+
},
|
|
606
759
|
/**
|
|
607
760
|
* Retrieve a list of data channel events.
|
|
608
761
|
* @summary List Data Channel Events
|
|
@@ -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 = `/admin/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;
|
|
@@ -909,6 +1105,21 @@ const DataReplicationApiFp = function (configuration) {
|
|
|
909
1105
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.createAdminDataCheck']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
910
1106
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
911
1107
|
},
|
|
1108
|
+
/**
|
|
1109
|
+
* Create a new data endpoint.
|
|
1110
|
+
* @summary Create a new data endpoint
|
|
1111
|
+
* @param {string} orgName The Name of the organization
|
|
1112
|
+
* @param {DataEndpointCreate} body
|
|
1113
|
+
* @param {*} [options] Override http request option.
|
|
1114
|
+
* @throws {RequiredError}
|
|
1115
|
+
*/
|
|
1116
|
+
async createAdminDataEndpoint(orgName, body, options) {
|
|
1117
|
+
var _a, _b, _c;
|
|
1118
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAdminDataEndpoint(orgName, body, options);
|
|
1119
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1120
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.createAdminDataEndpoint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1121
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1122
|
+
},
|
|
912
1123
|
/**
|
|
913
1124
|
* Create a new data channel ops.
|
|
914
1125
|
* @summary Create a new data channel ops
|
|
@@ -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
|
|
@@ -1099,6 +1340,21 @@ const DataReplicationApiFp = function (configuration) {
|
|
|
1099
1340
|
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;
|
|
1100
1341
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1101
1342
|
},
|
|
1343
|
+
/**
|
|
1344
|
+
* Retrieve a list of data endpoints.
|
|
1345
|
+
* @summary List Data Endpoints
|
|
1346
|
+
* @param {string} [orgName] The Name of the organization
|
|
1347
|
+
* @param {string} [name] The name of the data endpoint
|
|
1348
|
+
* @param {*} [options] Override http request option.
|
|
1349
|
+
* @throws {RequiredError}
|
|
1350
|
+
*/
|
|
1351
|
+
async listAdminDataEndpoints(orgName, name, options) {
|
|
1352
|
+
var _a, _b, _c;
|
|
1353
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAdminDataEndpoints(orgName, name, options);
|
|
1354
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1355
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DataReplicationApi.listAdminDataEndpoints']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1356
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1357
|
+
},
|
|
1102
1358
|
/**
|
|
1103
1359
|
* Retrieve a list of data channel events.
|
|
1104
1360
|
* @summary List Data Channel Events
|
|
@@ -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;
|
|
@@ -1228,6 +1500,16 @@ const DataReplicationApiFactory = function (configuration, basePath, axios) {
|
|
|
1228
1500
|
createAdminDataCheck(requestParameters, options) {
|
|
1229
1501
|
return localVarFp.createAdminDataCheck(requestParameters.orgName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1230
1502
|
},
|
|
1503
|
+
/**
|
|
1504
|
+
* Create a new data endpoint.
|
|
1505
|
+
* @summary Create a new data endpoint
|
|
1506
|
+
* @param {DataReplicationApiCreateAdminDataEndpointRequest} requestParameters Request parameters.
|
|
1507
|
+
* @param {*} [options] Override http request option.
|
|
1508
|
+
* @throws {RequiredError}
|
|
1509
|
+
*/
|
|
1510
|
+
createAdminDataEndpoint(requestParameters, options) {
|
|
1511
|
+
return localVarFp.createAdminDataEndpoint(requestParameters.orgName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1512
|
+
},
|
|
1231
1513
|
/**
|
|
1232
1514
|
* Create a new data channel ops.
|
|
1233
1515
|
* @summary Create a new data channel ops
|
|
@@ -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
|
|
@@ -1349,6 +1651,16 @@ const DataReplicationApiFactory = function (configuration, basePath, axios) {
|
|
|
1349
1651
|
listAdminDataChecks(requestParameters = {}, options) {
|
|
1350
1652
|
return localVarFp.listAdminDataChecks(requestParameters.orgName, requestParameters.name, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
1351
1653
|
},
|
|
1654
|
+
/**
|
|
1655
|
+
* Retrieve a list of data endpoints.
|
|
1656
|
+
* @summary List Data Endpoints
|
|
1657
|
+
* @param {DataReplicationApiListAdminDataEndpointsRequest} requestParameters Request parameters.
|
|
1658
|
+
* @param {*} [options] Override http request option.
|
|
1659
|
+
* @throws {RequiredError}
|
|
1660
|
+
*/
|
|
1661
|
+
listAdminDataEndpoints(requestParameters = {}, options) {
|
|
1662
|
+
return localVarFp.listAdminDataEndpoints(requestParameters.orgName, requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1663
|
+
},
|
|
1352
1664
|
/**
|
|
1353
1665
|
* Retrieve a list of data channel events.
|
|
1354
1666
|
* @summary List Data Channel Events
|
|
@@ -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;
|
|
@@ -1441,6 +1763,17 @@ class DataReplicationApi extends base_1.BaseAPI {
|
|
|
1441
1763
|
createAdminDataCheck(requestParameters, options) {
|
|
1442
1764
|
return (0, exports.DataReplicationApiFp)(this.configuration).createAdminDataCheck(requestParameters.orgName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1443
1765
|
}
|
|
1766
|
+
/**
|
|
1767
|
+
* Create a new data endpoint.
|
|
1768
|
+
* @summary Create a new data endpoint
|
|
1769
|
+
* @param {DataReplicationApiCreateAdminDataEndpointRequest} requestParameters Request parameters.
|
|
1770
|
+
* @param {*} [options] Override http request option.
|
|
1771
|
+
* @throws {RequiredError}
|
|
1772
|
+
* @memberof DataReplicationApi
|
|
1773
|
+
*/
|
|
1774
|
+
createAdminDataEndpoint(requestParameters, options) {
|
|
1775
|
+
return (0, exports.DataReplicationApiFp)(this.configuration).createAdminDataEndpoint(requestParameters.orgName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1776
|
+
}
|
|
1444
1777
|
/**
|
|
1445
1778
|
* Create a new data channel ops.
|
|
1446
1779
|
* @summary Create a new data channel ops
|
|
@@ -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
|
|
@@ -1574,6 +1929,17 @@ class DataReplicationApi extends base_1.BaseAPI {
|
|
|
1574
1929
|
listAdminDataChecks(requestParameters = {}, options) {
|
|
1575
1930
|
return (0, exports.DataReplicationApiFp)(this.configuration).listAdminDataChecks(requestParameters.orgName, requestParameters.name, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
1576
1931
|
}
|
|
1932
|
+
/**
|
|
1933
|
+
* Retrieve a list of data endpoints.
|
|
1934
|
+
* @summary List Data Endpoints
|
|
1935
|
+
* @param {DataReplicationApiListAdminDataEndpointsRequest} requestParameters Request parameters.
|
|
1936
|
+
* @param {*} [options] Override http request option.
|
|
1937
|
+
* @throws {RequiredError}
|
|
1938
|
+
* @memberof DataReplicationApi
|
|
1939
|
+
*/
|
|
1940
|
+
listAdminDataEndpoints(requestParameters = {}, options) {
|
|
1941
|
+
return (0, exports.DataReplicationApiFp)(this.configuration).listAdminDataEndpoints(requestParameters.orgName, requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1942
|
+
}
|
|
1577
1943
|
/**
|
|
1578
1944
|
* Retrieve a list of data channel events.
|
|
1579
1945
|
* @summary List Data Channel Events
|
|
@@ -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
|