kb-cloud-client-typescript 2.3.0-alpha.86 → 2.3.0-alpha.88
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/dms-api.d.ts +111 -8
- package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dms-api.js +116 -20
- package/dist/adminapi/apis/dms-api.js.map +1 -1
- package/dist/adminapi/apis/engine-api.d.ts +399 -0
- package/dist/adminapi/apis/engine-api.d.ts.map +1 -1
- package/dist/adminapi/apis/engine-api.js +442 -0
- package/dist/adminapi/apis/engine-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +111 -8
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +116 -20
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/engine-network-mode-options-inner.d.ts +38 -0
- package/dist/adminapi/models/engine-network-mode-options-inner.d.ts.map +1 -0
- package/dist/adminapi/models/engine-network-mode-options-inner.js +16 -0
- package/dist/adminapi/models/engine-network-mode-options-inner.js.map +1 -0
- package/dist/adminapi/models/engine-network-mode-supported.d.ts +34 -0
- package/dist/adminapi/models/engine-network-mode-supported.d.ts.map +1 -0
- package/dist/adminapi/models/engine-network-mode-supported.js +16 -0
- package/dist/adminapi/models/engine-network-mode-supported.js.map +1 -0
- package/dist/adminapi/models/environment-engine-option-create.d.ts +37 -0
- package/dist/adminapi/models/environment-engine-option-create.d.ts.map +1 -0
- package/dist/adminapi/models/environment-engine-option-create.js +16 -0
- package/dist/adminapi/models/environment-engine-option-create.js.map +1 -0
- package/dist/adminapi/models/environment-engine-option-update.d.ts +25 -0
- package/dist/adminapi/models/environment-engine-option-update.d.ts.map +1 -0
- package/dist/adminapi/models/environment-engine-option-update.js +16 -0
- package/dist/adminapi/models/environment-engine-option-update.js.map +1 -0
- package/dist/adminapi/models/environment-engine-option.d.ts +67 -0
- package/dist/adminapi/models/environment-engine-option.d.ts.map +1 -0
- package/dist/adminapi/models/environment-engine-option.js +16 -0
- package/dist/adminapi/models/environment-engine-option.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +5 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +5 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/apis/dms-api.d.ts +111 -8
- package/dist/openapi/apis/dms-api.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.js +116 -20
- package/dist/openapi/apis/dms-api.js.map +1 -1
- package/dist/openapi/apis/engine-api.d.ts +72 -0
- package/dist/openapi/apis/engine-api.d.ts.map +1 -1
- package/dist/openapi/apis/engine-api.js +80 -0
- package/dist/openapi/apis/engine-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +111 -8
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +116 -20
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/engine-network-mode-supported.d.ts +34 -0
- package/dist/openapi/models/engine-network-mode-supported.d.ts.map +1 -0
- package/dist/openapi/models/engine-network-mode-supported.js +16 -0
- package/dist/openapi/models/engine-network-mode-supported.js.map +1 -0
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/sdk/adminapi/.openapi-generator/FILES +5 -0
- package/src/sdk/adminapi/apis/dms-api.ts +192 -20
- package/src/sdk/adminapi/apis/engine-api.ts +694 -0
- package/src/sdk/adminapi/apis/shared-api.ts +192 -20
- package/src/sdk/adminapi/models/engine-network-mode-options-inner.ts +45 -0
- package/src/sdk/adminapi/models/engine-network-mode-supported.ts +39 -0
- package/src/sdk/adminapi/models/environment-engine-option-create.ts +42 -0
- package/src/sdk/adminapi/models/environment-engine-option-update.ts +30 -0
- package/src/sdk/adminapi/models/environment-engine-option.ts +72 -0
- package/src/sdk/adminapi/models/index.ts +5 -0
- package/src/sdk/adminapi.yaml +363 -0
- package/src/sdk/openapi/.openapi-generator/FILES +1 -0
- package/src/sdk/openapi/apis/dms-api.ts +192 -20
- package/src/sdk/openapi/apis/engine-api.ts +128 -0
- package/src/sdk/openapi/apis/shared-api.ts +192 -20
- package/src/sdk/openapi/models/engine-network-mode-supported.ts +39 -0
- package/src/sdk/openapi/models/index.ts +1 -0
- package/src/sdk/openapi.yaml +110 -0
|
@@ -586,10 +586,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
586
586
|
* @param {string} schema schema or database name
|
|
587
587
|
* @param {string} type object type
|
|
588
588
|
* @param {string} objectName object name
|
|
589
|
+
* @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
|
|
589
590
|
* @param {*} [options] Override http request option.
|
|
590
591
|
* @throws {RequiredError}
|
|
591
592
|
*/
|
|
592
|
-
getObjectInfo: async (orgName, clusterName, id, schema, type, objectName, options = {}) => {
|
|
593
|
+
getObjectInfo: async (orgName, clusterName, id, schema, type, objectName, database, options = {}) => {
|
|
593
594
|
// verify required parameter 'orgName' is not null or undefined
|
|
594
595
|
(0, common_1.assertParamExists)('getObjectInfo', 'orgName', orgName);
|
|
595
596
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -620,6 +621,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
620
621
|
const localVarQueryParameter = {};
|
|
621
622
|
// authentication BearerToken required
|
|
622
623
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
624
|
+
if (database !== undefined) {
|
|
625
|
+
localVarQueryParameter['database'] = database;
|
|
626
|
+
}
|
|
623
627
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
624
628
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
625
629
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -634,10 +638,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
634
638
|
* @param {string} orgName name of the Org
|
|
635
639
|
* @param {string} clusterName name of the cluster
|
|
636
640
|
* @param {string} id id of the datasource
|
|
641
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
|
|
637
642
|
* @param {*} [options] Override http request option.
|
|
638
643
|
* @throws {RequiredError}
|
|
639
644
|
*/
|
|
640
|
-
getSchemaList: async (orgName, clusterName, id, options = {}) => {
|
|
645
|
+
getSchemaList: async (orgName, clusterName, id, database, options = {}) => {
|
|
641
646
|
// verify required parameter 'orgName' is not null or undefined
|
|
642
647
|
(0, common_1.assertParamExists)('getSchemaList', 'orgName', orgName);
|
|
643
648
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -659,6 +664,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
659
664
|
const localVarQueryParameter = {};
|
|
660
665
|
// authentication BearerToken required
|
|
661
666
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
667
|
+
if (database !== undefined) {
|
|
668
|
+
localVarQueryParameter['database'] = database;
|
|
669
|
+
}
|
|
662
670
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
663
671
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
664
672
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -786,6 +794,45 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
786
794
|
options: localVarRequestOptions,
|
|
787
795
|
};
|
|
788
796
|
},
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @summary list all databases of the datasource
|
|
800
|
+
* @param {string} orgName name of the Org
|
|
801
|
+
* @param {string} clusterName name of the cluster
|
|
802
|
+
* @param {string} id id of the datasource
|
|
803
|
+
* @param {*} [options] Override http request option.
|
|
804
|
+
* @throws {RequiredError}
|
|
805
|
+
*/
|
|
806
|
+
listDmsDatabases: async (orgName, clusterName, id, options = {}) => {
|
|
807
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
808
|
+
(0, common_1.assertParamExists)('listDmsDatabases', 'orgName', orgName);
|
|
809
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
810
|
+
(0, common_1.assertParamExists)('listDmsDatabases', 'clusterName', clusterName);
|
|
811
|
+
// verify required parameter 'id' is not null or undefined
|
|
812
|
+
(0, common_1.assertParamExists)('listDmsDatabases', 'id', id);
|
|
813
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/databases`
|
|
814
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
815
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
816
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
817
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
818
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
819
|
+
let baseOptions;
|
|
820
|
+
if (configuration) {
|
|
821
|
+
baseOptions = configuration.baseOptions;
|
|
822
|
+
}
|
|
823
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
824
|
+
const localVarHeaderParameter = {};
|
|
825
|
+
const localVarQueryParameter = {};
|
|
826
|
+
// authentication BearerToken required
|
|
827
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
828
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
829
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
830
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
831
|
+
return {
|
|
832
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
833
|
+
options: localVarRequestOptions,
|
|
834
|
+
};
|
|
835
|
+
},
|
|
789
836
|
/**
|
|
790
837
|
*
|
|
791
838
|
* @summary list collections in a MongoDB database
|
|
@@ -915,10 +962,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
915
962
|
* @param {string} id id of the datasource
|
|
916
963
|
* @param {string} schema schema or database name
|
|
917
964
|
* @param {string} type object type
|
|
965
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing object names inside a schema
|
|
918
966
|
* @param {*} [options] Override http request option.
|
|
919
967
|
* @throws {RequiredError}
|
|
920
968
|
*/
|
|
921
|
-
listObjectNamesByType: async (orgName, clusterName, id, schema, type, options = {}) => {
|
|
969
|
+
listObjectNamesByType: async (orgName, clusterName, id, schema, type, database, options = {}) => {
|
|
922
970
|
// verify required parameter 'orgName' is not null or undefined
|
|
923
971
|
(0, common_1.assertParamExists)('listObjectNamesByType', 'orgName', orgName);
|
|
924
972
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -946,6 +994,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
946
994
|
const localVarQueryParameter = {};
|
|
947
995
|
// authentication BearerToken required
|
|
948
996
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
997
|
+
if (database !== undefined) {
|
|
998
|
+
localVarQueryParameter['database'] = database;
|
|
999
|
+
}
|
|
949
1000
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
950
1001
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
951
1002
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -961,10 +1012,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
961
1012
|
* @param {string} clusterName name of the cluster
|
|
962
1013
|
* @param {string} id id of the datasource
|
|
963
1014
|
* @param {string} schema schema or database name
|
|
1015
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing objects inside a schema
|
|
964
1016
|
* @param {*} [options] Override http request option.
|
|
965
1017
|
* @throws {RequiredError}
|
|
966
1018
|
*/
|
|
967
|
-
listObjectTypesInSchema: async (orgName, clusterName, id, schema, options = {}) => {
|
|
1019
|
+
listObjectTypesInSchema: async (orgName, clusterName, id, schema, database, options = {}) => {
|
|
968
1020
|
// verify required parameter 'orgName' is not null or undefined
|
|
969
1021
|
(0, common_1.assertParamExists)('listObjectTypesInSchema', 'orgName', orgName);
|
|
970
1022
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -989,6 +1041,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
989
1041
|
const localVarQueryParameter = {};
|
|
990
1042
|
// authentication BearerToken required
|
|
991
1043
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1044
|
+
if (database !== undefined) {
|
|
1045
|
+
localVarQueryParameter['database'] = database;
|
|
1046
|
+
}
|
|
992
1047
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
993
1048
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
994
1049
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2639,12 +2694,13 @@ const DmsApiFp = function (configuration) {
|
|
|
2639
2694
|
* @param {string} schema schema or database name
|
|
2640
2695
|
* @param {string} type object type
|
|
2641
2696
|
* @param {string} objectName object name
|
|
2697
|
+
* @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
|
|
2642
2698
|
* @param {*} [options] Override http request option.
|
|
2643
2699
|
* @throws {RequiredError}
|
|
2644
2700
|
*/
|
|
2645
|
-
async getObjectInfo(orgName, clusterName, id, schema, type, objectName, options) {
|
|
2701
|
+
async getObjectInfo(orgName, clusterName, id, schema, type, objectName, database, options) {
|
|
2646
2702
|
var _a, _b, _c;
|
|
2647
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectInfo(orgName, clusterName, id, schema, type, objectName, options);
|
|
2703
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectInfo(orgName, clusterName, id, schema, type, objectName, database, options);
|
|
2648
2704
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2649
2705
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getObjectInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2650
2706
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2655,12 +2711,13 @@ const DmsApiFp = function (configuration) {
|
|
|
2655
2711
|
* @param {string} orgName name of the Org
|
|
2656
2712
|
* @param {string} clusterName name of the cluster
|
|
2657
2713
|
* @param {string} id id of the datasource
|
|
2714
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
|
|
2658
2715
|
* @param {*} [options] Override http request option.
|
|
2659
2716
|
* @throws {RequiredError}
|
|
2660
2717
|
*/
|
|
2661
|
-
async getSchemaList(orgName, clusterName, id, options) {
|
|
2718
|
+
async getSchemaList(orgName, clusterName, id, database, options) {
|
|
2662
2719
|
var _a, _b, _c;
|
|
2663
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSchemaList(orgName, clusterName, id, options);
|
|
2720
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSchemaList(orgName, clusterName, id, database, options);
|
|
2664
2721
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2665
2722
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getSchemaList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2666
2723
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2713,6 +2770,22 @@ const DmsApiFp = function (configuration) {
|
|
|
2713
2770
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2714
2771
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2715
2772
|
},
|
|
2773
|
+
/**
|
|
2774
|
+
*
|
|
2775
|
+
* @summary list all databases of the datasource
|
|
2776
|
+
* @param {string} orgName name of the Org
|
|
2777
|
+
* @param {string} clusterName name of the cluster
|
|
2778
|
+
* @param {string} id id of the datasource
|
|
2779
|
+
* @param {*} [options] Override http request option.
|
|
2780
|
+
* @throws {RequiredError}
|
|
2781
|
+
*/
|
|
2782
|
+
async listDmsDatabases(orgName, clusterName, id, options) {
|
|
2783
|
+
var _a, _b, _c;
|
|
2784
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDmsDatabases(orgName, clusterName, id, options);
|
|
2785
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2786
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listDmsDatabases']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2787
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2788
|
+
},
|
|
2716
2789
|
/**
|
|
2717
2790
|
*
|
|
2718
2791
|
* @summary list collections in a MongoDB database
|
|
@@ -2770,12 +2843,13 @@ const DmsApiFp = function (configuration) {
|
|
|
2770
2843
|
* @param {string} id id of the datasource
|
|
2771
2844
|
* @param {string} schema schema or database name
|
|
2772
2845
|
* @param {string} type object type
|
|
2846
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing object names inside a schema
|
|
2773
2847
|
* @param {*} [options] Override http request option.
|
|
2774
2848
|
* @throws {RequiredError}
|
|
2775
2849
|
*/
|
|
2776
|
-
async listObjectNamesByType(orgName, clusterName, id, schema, type, options) {
|
|
2850
|
+
async listObjectNamesByType(orgName, clusterName, id, schema, type, database, options) {
|
|
2777
2851
|
var _a, _b, _c;
|
|
2778
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectNamesByType(orgName, clusterName, id, schema, type, options);
|
|
2852
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectNamesByType(orgName, clusterName, id, schema, type, database, options);
|
|
2779
2853
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2780
2854
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listObjectNamesByType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2781
2855
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2787,12 +2861,13 @@ const DmsApiFp = function (configuration) {
|
|
|
2787
2861
|
* @param {string} clusterName name of the cluster
|
|
2788
2862
|
* @param {string} id id of the datasource
|
|
2789
2863
|
* @param {string} schema schema or database name
|
|
2864
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing objects inside a schema
|
|
2790
2865
|
* @param {*} [options] Override http request option.
|
|
2791
2866
|
* @throws {RequiredError}
|
|
2792
2867
|
*/
|
|
2793
|
-
async listObjectTypesInSchema(orgName, clusterName, id, schema, options) {
|
|
2868
|
+
async listObjectTypesInSchema(orgName, clusterName, id, schema, database, options) {
|
|
2794
2869
|
var _a, _b, _c;
|
|
2795
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectTypesInSchema(orgName, clusterName, id, schema, options);
|
|
2870
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectTypesInSchema(orgName, clusterName, id, schema, database, options);
|
|
2796
2871
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2797
2872
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listObjectTypesInSchema']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2798
2873
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3481,7 +3556,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
3481
3556
|
* @throws {RequiredError}
|
|
3482
3557
|
*/
|
|
3483
3558
|
getObjectInfo(requestParameters, options) {
|
|
3484
|
-
return localVarFp.getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, options).then((request) => request(axios, basePath));
|
|
3559
|
+
return localVarFp.getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
3485
3560
|
},
|
|
3486
3561
|
/**
|
|
3487
3562
|
*
|
|
@@ -3491,7 +3566,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
3491
3566
|
* @throws {RequiredError}
|
|
3492
3567
|
*/
|
|
3493
3568
|
getSchemaList(requestParameters, options) {
|
|
3494
|
-
return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3569
|
+
return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
3495
3570
|
},
|
|
3496
3571
|
/**
|
|
3497
3572
|
*
|
|
@@ -3523,6 +3598,16 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
3523
3598
|
listDataSourceV2(requestParameters, options) {
|
|
3524
3599
|
return localVarFp.listDataSourceV2(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
3525
3600
|
},
|
|
3601
|
+
/**
|
|
3602
|
+
*
|
|
3603
|
+
* @summary list all databases of the datasource
|
|
3604
|
+
* @param {DmsApiListDmsDatabasesRequest} requestParameters Request parameters.
|
|
3605
|
+
* @param {*} [options] Override http request option.
|
|
3606
|
+
* @throws {RequiredError}
|
|
3607
|
+
*/
|
|
3608
|
+
listDmsDatabases(requestParameters, options) {
|
|
3609
|
+
return localVarFp.listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3610
|
+
},
|
|
3526
3611
|
/**
|
|
3527
3612
|
*
|
|
3528
3613
|
* @summary list collections in a MongoDB database
|
|
@@ -3561,7 +3646,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
3561
3646
|
* @throws {RequiredError}
|
|
3562
3647
|
*/
|
|
3563
3648
|
listObjectNamesByType(requestParameters, options) {
|
|
3564
|
-
return localVarFp.listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, options).then((request) => request(axios, basePath));
|
|
3649
|
+
return localVarFp.listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
3565
3650
|
},
|
|
3566
3651
|
/**
|
|
3567
3652
|
*
|
|
@@ -3571,7 +3656,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
3571
3656
|
* @throws {RequiredError}
|
|
3572
3657
|
*/
|
|
3573
3658
|
listObjectTypesInSchema(requestParameters, options) {
|
|
3574
|
-
return localVarFp.listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, options).then((request) => request(axios, basePath));
|
|
3659
|
+
return localVarFp.listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
3575
3660
|
},
|
|
3576
3661
|
/**
|
|
3577
3662
|
*
|
|
@@ -4037,7 +4122,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
4037
4122
|
* @memberof DmsApi
|
|
4038
4123
|
*/
|
|
4039
4124
|
getObjectInfo(requestParameters, options) {
|
|
4040
|
-
return (0, exports.DmsApiFp)(this.configuration).getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, options).then((request) => request(this.axios, this.basePath));
|
|
4125
|
+
return (0, exports.DmsApiFp)(this.configuration).getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
4041
4126
|
}
|
|
4042
4127
|
/**
|
|
4043
4128
|
*
|
|
@@ -4048,7 +4133,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
4048
4133
|
* @memberof DmsApi
|
|
4049
4134
|
*/
|
|
4050
4135
|
getSchemaList(requestParameters, options) {
|
|
4051
|
-
return (0, exports.DmsApiFp)(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4136
|
+
return (0, exports.DmsApiFp)(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
4052
4137
|
}
|
|
4053
4138
|
/**
|
|
4054
4139
|
*
|
|
@@ -4083,6 +4168,17 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
4083
4168
|
listDataSourceV2(requestParameters, options) {
|
|
4084
4169
|
return (0, exports.DmsApiFp)(this.configuration).listDataSourceV2(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
4085
4170
|
}
|
|
4171
|
+
/**
|
|
4172
|
+
*
|
|
4173
|
+
* @summary list all databases of the datasource
|
|
4174
|
+
* @param {DmsApiListDmsDatabasesRequest} requestParameters Request parameters.
|
|
4175
|
+
* @param {*} [options] Override http request option.
|
|
4176
|
+
* @throws {RequiredError}
|
|
4177
|
+
* @memberof DmsApi
|
|
4178
|
+
*/
|
|
4179
|
+
listDmsDatabases(requestParameters, options) {
|
|
4180
|
+
return (0, exports.DmsApiFp)(this.configuration).listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4181
|
+
}
|
|
4086
4182
|
/**
|
|
4087
4183
|
*
|
|
4088
4184
|
* @summary list collections in a MongoDB database
|
|
@@ -4125,7 +4221,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
4125
4221
|
* @memberof DmsApi
|
|
4126
4222
|
*/
|
|
4127
4223
|
listObjectNamesByType(requestParameters, options) {
|
|
4128
|
-
return (0, exports.DmsApiFp)(this.configuration).listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
4224
|
+
return (0, exports.DmsApiFp)(this.configuration).listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
4129
4225
|
}
|
|
4130
4226
|
/**
|
|
4131
4227
|
*
|
|
@@ -4136,7 +4232,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
4136
4232
|
* @memberof DmsApi
|
|
4137
4233
|
*/
|
|
4138
4234
|
listObjectTypesInSchema(requestParameters, options) {
|
|
4139
|
-
return (0, exports.DmsApiFp)(this.configuration).listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, options).then((request) => request(this.axios, this.basePath));
|
|
4235
|
+
return (0, exports.DmsApiFp)(this.configuration).listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
4140
4236
|
}
|
|
4141
4237
|
/**
|
|
4142
4238
|
*
|