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
|
@@ -3785,10 +3785,11 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3785
3785
|
* @param {string} schema schema or database name
|
|
3786
3786
|
* @param {string} type object type
|
|
3787
3787
|
* @param {string} objectName object name
|
|
3788
|
+
* @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
|
|
3788
3789
|
* @param {*} [options] Override http request option.
|
|
3789
3790
|
* @throws {RequiredError}
|
|
3790
3791
|
*/
|
|
3791
|
-
getObjectInfo: async (orgName, clusterName, id, schema, type, objectName, options = {}) => {
|
|
3792
|
+
getObjectInfo: async (orgName, clusterName, id, schema, type, objectName, database, options = {}) => {
|
|
3792
3793
|
// verify required parameter 'orgName' is not null or undefined
|
|
3793
3794
|
(0, common_1.assertParamExists)('getObjectInfo', 'orgName', orgName);
|
|
3794
3795
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -3819,6 +3820,9 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3819
3820
|
const localVarQueryParameter = {};
|
|
3820
3821
|
// authentication BearerToken required
|
|
3821
3822
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
3823
|
+
if (database !== undefined) {
|
|
3824
|
+
localVarQueryParameter['database'] = database;
|
|
3825
|
+
}
|
|
3822
3826
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3823
3827
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3824
3828
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4094,10 +4098,11 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4094
4098
|
* @param {string} orgName name of the Org
|
|
4095
4099
|
* @param {string} clusterName name of the cluster
|
|
4096
4100
|
* @param {string} id id of the datasource
|
|
4101
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
|
|
4097
4102
|
* @param {*} [options] Override http request option.
|
|
4098
4103
|
* @throws {RequiredError}
|
|
4099
4104
|
*/
|
|
4100
|
-
getSchemaList: async (orgName, clusterName, id, options = {}) => {
|
|
4105
|
+
getSchemaList: async (orgName, clusterName, id, database, options = {}) => {
|
|
4101
4106
|
// verify required parameter 'orgName' is not null or undefined
|
|
4102
4107
|
(0, common_1.assertParamExists)('getSchemaList', 'orgName', orgName);
|
|
4103
4108
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -4119,6 +4124,9 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4119
4124
|
const localVarQueryParameter = {};
|
|
4120
4125
|
// authentication BearerToken required
|
|
4121
4126
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
4127
|
+
if (database !== undefined) {
|
|
4128
|
+
localVarQueryParameter['database'] = database;
|
|
4129
|
+
}
|
|
4122
4130
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4123
4131
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4124
4132
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5142,6 +5150,45 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
5142
5150
|
options: localVarRequestOptions,
|
|
5143
5151
|
};
|
|
5144
5152
|
},
|
|
5153
|
+
/**
|
|
5154
|
+
*
|
|
5155
|
+
* @summary list all databases of the datasource
|
|
5156
|
+
* @param {string} orgName name of the Org
|
|
5157
|
+
* @param {string} clusterName name of the cluster
|
|
5158
|
+
* @param {string} id id of the datasource
|
|
5159
|
+
* @param {*} [options] Override http request option.
|
|
5160
|
+
* @throws {RequiredError}
|
|
5161
|
+
*/
|
|
5162
|
+
listDmsDatabases: async (orgName, clusterName, id, options = {}) => {
|
|
5163
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5164
|
+
(0, common_1.assertParamExists)('listDmsDatabases', 'orgName', orgName);
|
|
5165
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5166
|
+
(0, common_1.assertParamExists)('listDmsDatabases', 'clusterName', clusterName);
|
|
5167
|
+
// verify required parameter 'id' is not null or undefined
|
|
5168
|
+
(0, common_1.assertParamExists)('listDmsDatabases', 'id', id);
|
|
5169
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/databases`
|
|
5170
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5171
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5172
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5173
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5174
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5175
|
+
let baseOptions;
|
|
5176
|
+
if (configuration) {
|
|
5177
|
+
baseOptions = configuration.baseOptions;
|
|
5178
|
+
}
|
|
5179
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5180
|
+
const localVarHeaderParameter = {};
|
|
5181
|
+
const localVarQueryParameter = {};
|
|
5182
|
+
// authentication BearerToken required
|
|
5183
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
5184
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5185
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5186
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5187
|
+
return {
|
|
5188
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5189
|
+
options: localVarRequestOptions,
|
|
5190
|
+
};
|
|
5191
|
+
},
|
|
5145
5192
|
/**
|
|
5146
5193
|
*
|
|
5147
5194
|
* @summary List cluster endpoints
|
|
@@ -5828,10 +5875,11 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
5828
5875
|
* @param {string} id id of the datasource
|
|
5829
5876
|
* @param {string} schema schema or database name
|
|
5830
5877
|
* @param {string} type object type
|
|
5878
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing object names inside a schema
|
|
5831
5879
|
* @param {*} [options] Override http request option.
|
|
5832
5880
|
* @throws {RequiredError}
|
|
5833
5881
|
*/
|
|
5834
|
-
listObjectNamesByType: async (orgName, clusterName, id, schema, type, options = {}) => {
|
|
5882
|
+
listObjectNamesByType: async (orgName, clusterName, id, schema, type, database, options = {}) => {
|
|
5835
5883
|
// verify required parameter 'orgName' is not null or undefined
|
|
5836
5884
|
(0, common_1.assertParamExists)('listObjectNamesByType', 'orgName', orgName);
|
|
5837
5885
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -5859,6 +5907,9 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
5859
5907
|
const localVarQueryParameter = {};
|
|
5860
5908
|
// authentication BearerToken required
|
|
5861
5909
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
5910
|
+
if (database !== undefined) {
|
|
5911
|
+
localVarQueryParameter['database'] = database;
|
|
5912
|
+
}
|
|
5862
5913
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5863
5914
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5864
5915
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5874,10 +5925,11 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
5874
5925
|
* @param {string} clusterName name of the cluster
|
|
5875
5926
|
* @param {string} id id of the datasource
|
|
5876
5927
|
* @param {string} schema schema or database name
|
|
5928
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing objects inside a schema
|
|
5877
5929
|
* @param {*} [options] Override http request option.
|
|
5878
5930
|
* @throws {RequiredError}
|
|
5879
5931
|
*/
|
|
5880
|
-
listObjectTypesInSchema: async (orgName, clusterName, id, schema, options = {}) => {
|
|
5932
|
+
listObjectTypesInSchema: async (orgName, clusterName, id, schema, database, options = {}) => {
|
|
5881
5933
|
// verify required parameter 'orgName' is not null or undefined
|
|
5882
5934
|
(0, common_1.assertParamExists)('listObjectTypesInSchema', 'orgName', orgName);
|
|
5883
5935
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -5902,6 +5954,9 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
5902
5954
|
const localVarQueryParameter = {};
|
|
5903
5955
|
// authentication BearerToken required
|
|
5904
5956
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
5957
|
+
if (database !== undefined) {
|
|
5958
|
+
localVarQueryParameter['database'] = database;
|
|
5959
|
+
}
|
|
5905
5960
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5906
5961
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5907
5962
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -11326,12 +11381,13 @@ const SharedApiFp = function (configuration) {
|
|
|
11326
11381
|
* @param {string} schema schema or database name
|
|
11327
11382
|
* @param {string} type object type
|
|
11328
11383
|
* @param {string} objectName object name
|
|
11384
|
+
* @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
|
|
11329
11385
|
* @param {*} [options] Override http request option.
|
|
11330
11386
|
* @throws {RequiredError}
|
|
11331
11387
|
*/
|
|
11332
|
-
async getObjectInfo(orgName, clusterName, id, schema, type, objectName, options) {
|
|
11388
|
+
async getObjectInfo(orgName, clusterName, id, schema, type, objectName, database, options) {
|
|
11333
11389
|
var _a, _b, _c;
|
|
11334
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectInfo(orgName, clusterName, id, schema, type, objectName, options);
|
|
11390
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectInfo(orgName, clusterName, id, schema, type, objectName, database, options);
|
|
11335
11391
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11336
11392
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getObjectInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11337
11393
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11450,12 +11506,13 @@ const SharedApiFp = function (configuration) {
|
|
|
11450
11506
|
* @param {string} orgName name of the Org
|
|
11451
11507
|
* @param {string} clusterName name of the cluster
|
|
11452
11508
|
* @param {string} id id of the datasource
|
|
11509
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
|
|
11453
11510
|
* @param {*} [options] Override http request option.
|
|
11454
11511
|
* @throws {RequiredError}
|
|
11455
11512
|
*/
|
|
11456
|
-
async getSchemaList(orgName, clusterName, id, options) {
|
|
11513
|
+
async getSchemaList(orgName, clusterName, id, database, options) {
|
|
11457
11514
|
var _a, _b, _c;
|
|
11458
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSchemaList(orgName, clusterName, id, options);
|
|
11515
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSchemaList(orgName, clusterName, id, database, options);
|
|
11459
11516
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11460
11517
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getSchemaList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11461
11518
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11852,6 +11909,22 @@ const SharedApiFp = function (configuration) {
|
|
|
11852
11909
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listDatabases']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11853
11910
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11854
11911
|
},
|
|
11912
|
+
/**
|
|
11913
|
+
*
|
|
11914
|
+
* @summary list all databases of the datasource
|
|
11915
|
+
* @param {string} orgName name of the Org
|
|
11916
|
+
* @param {string} clusterName name of the cluster
|
|
11917
|
+
* @param {string} id id of the datasource
|
|
11918
|
+
* @param {*} [options] Override http request option.
|
|
11919
|
+
* @throws {RequiredError}
|
|
11920
|
+
*/
|
|
11921
|
+
async listDmsDatabases(orgName, clusterName, id, options) {
|
|
11922
|
+
var _a, _b, _c;
|
|
11923
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDmsDatabases(orgName, clusterName, id, options);
|
|
11924
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11925
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listDmsDatabases']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11926
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11927
|
+
},
|
|
11855
11928
|
/**
|
|
11856
11929
|
*
|
|
11857
11930
|
* @summary List cluster endpoints
|
|
@@ -12141,12 +12214,13 @@ const SharedApiFp = function (configuration) {
|
|
|
12141
12214
|
* @param {string} id id of the datasource
|
|
12142
12215
|
* @param {string} schema schema or database name
|
|
12143
12216
|
* @param {string} type object type
|
|
12217
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing object names inside a schema
|
|
12144
12218
|
* @param {*} [options] Override http request option.
|
|
12145
12219
|
* @throws {RequiredError}
|
|
12146
12220
|
*/
|
|
12147
|
-
async listObjectNamesByType(orgName, clusterName, id, schema, type, options) {
|
|
12221
|
+
async listObjectNamesByType(orgName, clusterName, id, schema, type, database, options) {
|
|
12148
12222
|
var _a, _b, _c;
|
|
12149
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectNamesByType(orgName, clusterName, id, schema, type, options);
|
|
12223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectNamesByType(orgName, clusterName, id, schema, type, database, options);
|
|
12150
12224
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12151
12225
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listObjectNamesByType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12152
12226
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12158,12 +12232,13 @@ const SharedApiFp = function (configuration) {
|
|
|
12158
12232
|
* @param {string} clusterName name of the cluster
|
|
12159
12233
|
* @param {string} id id of the datasource
|
|
12160
12234
|
* @param {string} schema schema or database name
|
|
12235
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing objects inside a schema
|
|
12161
12236
|
* @param {*} [options] Override http request option.
|
|
12162
12237
|
* @throws {RequiredError}
|
|
12163
12238
|
*/
|
|
12164
|
-
async listObjectTypesInSchema(orgName, clusterName, id, schema, options) {
|
|
12239
|
+
async listObjectTypesInSchema(orgName, clusterName, id, schema, database, options) {
|
|
12165
12240
|
var _a, _b, _c;
|
|
12166
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectTypesInSchema(orgName, clusterName, id, schema, options);
|
|
12241
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectTypesInSchema(orgName, clusterName, id, schema, database, options);
|
|
12167
12242
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12168
12243
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listObjectTypesInSchema']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12169
12244
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14631,7 +14706,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
14631
14706
|
* @throws {RequiredError}
|
|
14632
14707
|
*/
|
|
14633
14708
|
getObjectInfo(requestParameters, options) {
|
|
14634
|
-
return localVarFp.getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, options).then((request) => request(axios, basePath));
|
|
14709
|
+
return localVarFp.getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
14635
14710
|
},
|
|
14636
14711
|
/**
|
|
14637
14712
|
*
|
|
@@ -14711,7 +14786,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
14711
14786
|
* @throws {RequiredError}
|
|
14712
14787
|
*/
|
|
14713
14788
|
getSchemaList(requestParameters, options) {
|
|
14714
|
-
return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
14789
|
+
return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
14715
14790
|
},
|
|
14716
14791
|
/**
|
|
14717
14792
|
* Get statistics summary for slow logs of a cluster
|
|
@@ -14942,6 +15017,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
14942
15017
|
listDatabases(requestParameters, options) {
|
|
14943
15018
|
return localVarFp.listDatabases(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
14944
15019
|
},
|
|
15020
|
+
/**
|
|
15021
|
+
*
|
|
15022
|
+
* @summary list all databases of the datasource
|
|
15023
|
+
* @param {SharedApiListDmsDatabasesRequest} requestParameters Request parameters.
|
|
15024
|
+
* @param {*} [options] Override http request option.
|
|
15025
|
+
* @throws {RequiredError}
|
|
15026
|
+
*/
|
|
15027
|
+
listDmsDatabases(requestParameters, options) {
|
|
15028
|
+
return localVarFp.listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
15029
|
+
},
|
|
14945
15030
|
/**
|
|
14946
15031
|
*
|
|
14947
15032
|
* @summary List cluster endpoints
|
|
@@ -15128,7 +15213,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
15128
15213
|
* @throws {RequiredError}
|
|
15129
15214
|
*/
|
|
15130
15215
|
listObjectNamesByType(requestParameters, options) {
|
|
15131
|
-
return localVarFp.listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, options).then((request) => request(axios, basePath));
|
|
15216
|
+
return localVarFp.listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
15132
15217
|
},
|
|
15133
15218
|
/**
|
|
15134
15219
|
*
|
|
@@ -15138,7 +15223,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
15138
15223
|
* @throws {RequiredError}
|
|
15139
15224
|
*/
|
|
15140
15225
|
listObjectTypesInSchema(requestParameters, options) {
|
|
15141
|
-
return localVarFp.listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, options).then((request) => request(axios, basePath));
|
|
15226
|
+
return localVarFp.listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
15142
15227
|
},
|
|
15143
15228
|
/**
|
|
15144
15229
|
*
|
|
@@ -17080,7 +17165,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
17080
17165
|
* @memberof SharedApi
|
|
17081
17166
|
*/
|
|
17082
17167
|
getObjectInfo(requestParameters, options) {
|
|
17083
|
-
return (0, exports.SharedApiFp)(this.configuration).getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, options).then((request) => request(this.axios, this.basePath));
|
|
17168
|
+
return (0, exports.SharedApiFp)(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));
|
|
17084
17169
|
}
|
|
17085
17170
|
/**
|
|
17086
17171
|
*
|
|
@@ -17168,7 +17253,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
17168
17253
|
* @memberof SharedApi
|
|
17169
17254
|
*/
|
|
17170
17255
|
getSchemaList(requestParameters, options) {
|
|
17171
|
-
return (0, exports.SharedApiFp)(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
17256
|
+
return (0, exports.SharedApiFp)(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
17172
17257
|
}
|
|
17173
17258
|
/**
|
|
17174
17259
|
* Get statistics summary for slow logs of a cluster
|
|
@@ -17422,6 +17507,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
17422
17507
|
listDatabases(requestParameters, options) {
|
|
17423
17508
|
return (0, exports.SharedApiFp)(this.configuration).listDatabases(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
17424
17509
|
}
|
|
17510
|
+
/**
|
|
17511
|
+
*
|
|
17512
|
+
* @summary list all databases of the datasource
|
|
17513
|
+
* @param {SharedApiListDmsDatabasesRequest} requestParameters Request parameters.
|
|
17514
|
+
* @param {*} [options] Override http request option.
|
|
17515
|
+
* @throws {RequiredError}
|
|
17516
|
+
* @memberof SharedApi
|
|
17517
|
+
*/
|
|
17518
|
+
listDmsDatabases(requestParameters, options) {
|
|
17519
|
+
return (0, exports.SharedApiFp)(this.configuration).listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
17520
|
+
}
|
|
17425
17521
|
/**
|
|
17426
17522
|
*
|
|
17427
17523
|
* @summary List cluster endpoints
|
|
@@ -17627,7 +17723,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
17627
17723
|
* @memberof SharedApi
|
|
17628
17724
|
*/
|
|
17629
17725
|
listObjectNamesByType(requestParameters, options) {
|
|
17630
|
-
return (0, exports.SharedApiFp)(this.configuration).listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
17726
|
+
return (0, exports.SharedApiFp)(this.configuration).listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
17631
17727
|
}
|
|
17632
17728
|
/**
|
|
17633
17729
|
*
|
|
@@ -17638,7 +17734,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
17638
17734
|
* @memberof SharedApi
|
|
17639
17735
|
*/
|
|
17640
17736
|
listObjectTypesInSchema(requestParameters, options) {
|
|
17641
|
-
return (0, exports.SharedApiFp)(this.configuration).listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, options).then((request) => request(this.axios, this.basePath));
|
|
17737
|
+
return (0, exports.SharedApiFp)(this.configuration).listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
17642
17738
|
}
|
|
17643
17739
|
/**
|
|
17644
17740
|
*
|