kb-cloud-client-typescript 2.4.0-alpha.90 → 2.4.0-alpha.92
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/account-api.d.ts +103 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +105 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +103 -0
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +105 -0
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +103 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +105 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +103 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +105 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +103 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +105 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +103 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +105 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/account-api.ts +181 -0
- package/src/adminapi/apis/rdbms-api.ts +181 -0
- package/src/adminapi/apis/shared-api.ts +181 -0
- package/src/adminapi.yaml +65 -0
- package/src/openapi/apis/account-api.ts +181 -0
- package/src/openapi/apis/rdbms-api.ts +181 -0
- package/src/openapi/apis/shared-api.ts +181 -0
- package/src/openapi.yaml +65 -0
package/package.json
CHANGED
|
@@ -1638,6 +1638,80 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1638
1638
|
|
|
1639
1639
|
|
|
1640
1640
|
|
|
1641
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1642
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1643
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1644
|
+
|
|
1645
|
+
return {
|
|
1646
|
+
url: toPathString(localVarUrlObj),
|
|
1647
|
+
options: localVarRequestOptions,
|
|
1648
|
+
};
|
|
1649
|
+
},
|
|
1650
|
+
/**
|
|
1651
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
1652
|
+
* @summary List exact column names for account object privileges
|
|
1653
|
+
* @param {string} engineName
|
|
1654
|
+
* @param {string} orgName
|
|
1655
|
+
* @param {string} clusterName
|
|
1656
|
+
* @param {string} accountName
|
|
1657
|
+
* @param {string} objectType Object type, either table or view
|
|
1658
|
+
* @param {string} databaseName
|
|
1659
|
+
* @param {string} objectName
|
|
1660
|
+
* @param {*} [options] Override http request option.
|
|
1661
|
+
* @throws {RequiredError}
|
|
1662
|
+
*/
|
|
1663
|
+
listAccountObjectPrivilegeColumns: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1664
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
1665
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'engineName', engineName)
|
|
1666
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1667
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'orgName', orgName)
|
|
1668
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1669
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'clusterName', clusterName)
|
|
1670
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1671
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'accountName', accountName)
|
|
1672
|
+
// verify required parameter 'objectType' is not null or undefined
|
|
1673
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'objectType', objectType)
|
|
1674
|
+
// verify required parameter 'databaseName' is not null or undefined
|
|
1675
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'databaseName', databaseName)
|
|
1676
|
+
// verify required parameter 'objectName' is not null or undefined
|
|
1677
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'objectName', objectName)
|
|
1678
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/columns`
|
|
1679
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
1680
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1681
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1682
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1683
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1684
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1685
|
+
let baseOptions;
|
|
1686
|
+
if (configuration) {
|
|
1687
|
+
baseOptions = configuration.baseOptions;
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1691
|
+
const localVarHeaderParameter = {} as any;
|
|
1692
|
+
const localVarQueryParameter = {} as any;
|
|
1693
|
+
|
|
1694
|
+
// authentication BearerToken required
|
|
1695
|
+
// http bearer authentication required
|
|
1696
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1697
|
+
|
|
1698
|
+
// authentication DigestAuth required
|
|
1699
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1700
|
+
|
|
1701
|
+
if (objectType !== undefined) {
|
|
1702
|
+
localVarQueryParameter['objectType'] = objectType;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
if (databaseName !== undefined) {
|
|
1706
|
+
localVarQueryParameter['databaseName'] = databaseName;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
if (objectName !== undefined) {
|
|
1710
|
+
localVarQueryParameter['objectName'] = objectName;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
|
|
1641
1715
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1642
1716
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1643
1717
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3458,6 +3532,25 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
3458
3532
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.getServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
3459
3533
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3460
3534
|
},
|
|
3535
|
+
/**
|
|
3536
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
3537
|
+
* @summary List exact column names for account object privileges
|
|
3538
|
+
* @param {string} engineName
|
|
3539
|
+
* @param {string} orgName
|
|
3540
|
+
* @param {string} clusterName
|
|
3541
|
+
* @param {string} accountName
|
|
3542
|
+
* @param {string} objectType Object type, either table or view
|
|
3543
|
+
* @param {string} databaseName
|
|
3544
|
+
* @param {string} objectName
|
|
3545
|
+
* @param {*} [options] Override http request option.
|
|
3546
|
+
* @throws {RequiredError}
|
|
3547
|
+
*/
|
|
3548
|
+
async listAccountObjectPrivilegeColumns(engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
3549
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountObjectPrivilegeColumns(engineName, orgName, clusterName, accountName, objectType, databaseName, objectName, options);
|
|
3550
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3551
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.listAccountObjectPrivilegeColumns']?.[localVarOperationServerIndex]?.url;
|
|
3552
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3553
|
+
},
|
|
3461
3554
|
/**
|
|
3462
3555
|
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
3463
3556
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -4153,6 +4246,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
4153
4246
|
getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
4154
4247
|
return localVarFp.getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
4155
4248
|
},
|
|
4249
|
+
/**
|
|
4250
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
4251
|
+
* @summary List exact column names for account object privileges
|
|
4252
|
+
* @param {AccountApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
4253
|
+
* @param {*} [options] Override http request option.
|
|
4254
|
+
* @throws {RequiredError}
|
|
4255
|
+
*/
|
|
4256
|
+
listAccountObjectPrivilegeColumns(requestParameters: AccountApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
4257
|
+
return localVarFp.listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, options).then((request) => request(axios, basePath));
|
|
4258
|
+
},
|
|
4156
4259
|
/**
|
|
4157
4260
|
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
4158
4261
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -4702,6 +4805,16 @@ export interface AccountApiInterface {
|
|
|
4702
4805
|
*/
|
|
4703
4806
|
getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
4704
4807
|
|
|
4808
|
+
/**
|
|
4809
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
4810
|
+
* @summary List exact column names for account object privileges
|
|
4811
|
+
* @param {AccountApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
4812
|
+
* @param {*} [options] Override http request option.
|
|
4813
|
+
* @throws {RequiredError}
|
|
4814
|
+
* @memberof AccountApiInterface
|
|
4815
|
+
*/
|
|
4816
|
+
listAccountObjectPrivilegeColumns(requestParameters: AccountApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
4817
|
+
|
|
4705
4818
|
/**
|
|
4706
4819
|
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
4707
4820
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -5948,6 +6061,62 @@ export interface AccountApiGetServiceAccountRequest {
|
|
|
5948
6061
|
readonly accessKey: string
|
|
5949
6062
|
}
|
|
5950
6063
|
|
|
6064
|
+
/**
|
|
6065
|
+
* Request parameters for listAccountObjectPrivilegeColumns operation in AccountApi.
|
|
6066
|
+
* @export
|
|
6067
|
+
* @interface AccountApiListAccountObjectPrivilegeColumnsRequest
|
|
6068
|
+
*/
|
|
6069
|
+
export interface AccountApiListAccountObjectPrivilegeColumnsRequest {
|
|
6070
|
+
/**
|
|
6071
|
+
*
|
|
6072
|
+
* @type {string}
|
|
6073
|
+
* @memberof AccountApiListAccountObjectPrivilegeColumns
|
|
6074
|
+
*/
|
|
6075
|
+
readonly engineName: string
|
|
6076
|
+
|
|
6077
|
+
/**
|
|
6078
|
+
*
|
|
6079
|
+
* @type {string}
|
|
6080
|
+
* @memberof AccountApiListAccountObjectPrivilegeColumns
|
|
6081
|
+
*/
|
|
6082
|
+
readonly orgName: string
|
|
6083
|
+
|
|
6084
|
+
/**
|
|
6085
|
+
*
|
|
6086
|
+
* @type {string}
|
|
6087
|
+
* @memberof AccountApiListAccountObjectPrivilegeColumns
|
|
6088
|
+
*/
|
|
6089
|
+
readonly clusterName: string
|
|
6090
|
+
|
|
6091
|
+
/**
|
|
6092
|
+
*
|
|
6093
|
+
* @type {string}
|
|
6094
|
+
* @memberof AccountApiListAccountObjectPrivilegeColumns
|
|
6095
|
+
*/
|
|
6096
|
+
readonly accountName: string
|
|
6097
|
+
|
|
6098
|
+
/**
|
|
6099
|
+
* Object type, either table or view
|
|
6100
|
+
* @type {string}
|
|
6101
|
+
* @memberof AccountApiListAccountObjectPrivilegeColumns
|
|
6102
|
+
*/
|
|
6103
|
+
readonly objectType: string
|
|
6104
|
+
|
|
6105
|
+
/**
|
|
6106
|
+
*
|
|
6107
|
+
* @type {string}
|
|
6108
|
+
* @memberof AccountApiListAccountObjectPrivilegeColumns
|
|
6109
|
+
*/
|
|
6110
|
+
readonly databaseName: string
|
|
6111
|
+
|
|
6112
|
+
/**
|
|
6113
|
+
*
|
|
6114
|
+
* @type {string}
|
|
6115
|
+
* @memberof AccountApiListAccountObjectPrivilegeColumns
|
|
6116
|
+
*/
|
|
6117
|
+
readonly objectName: string
|
|
6118
|
+
}
|
|
6119
|
+
|
|
5951
6120
|
/**
|
|
5952
6121
|
* Request parameters for listAccountObjectPrivilegeObjects operation in AccountApi.
|
|
5953
6122
|
* @export
|
|
@@ -7143,6 +7312,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
7143
7312
|
return AccountApiFp(this.configuration).getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
7144
7313
|
}
|
|
7145
7314
|
|
|
7315
|
+
/**
|
|
7316
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
7317
|
+
* @summary List exact column names for account object privileges
|
|
7318
|
+
* @param {AccountApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
7319
|
+
* @param {*} [options] Override http request option.
|
|
7320
|
+
* @throws {RequiredError}
|
|
7321
|
+
* @memberof AccountApi
|
|
7322
|
+
*/
|
|
7323
|
+
public listAccountObjectPrivilegeColumns(requestParameters: AccountApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig) {
|
|
7324
|
+
return AccountApiFp(this.configuration).listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, options).then((request) => request(this.axios, this.basePath));
|
|
7325
|
+
}
|
|
7326
|
+
|
|
7146
7327
|
/**
|
|
7147
7328
|
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
7148
7329
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -884,6 +884,80 @@ export const RdbmsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
884
884
|
|
|
885
885
|
|
|
886
886
|
|
|
887
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
888
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
889
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
890
|
+
|
|
891
|
+
return {
|
|
892
|
+
url: toPathString(localVarUrlObj),
|
|
893
|
+
options: localVarRequestOptions,
|
|
894
|
+
};
|
|
895
|
+
},
|
|
896
|
+
/**
|
|
897
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
898
|
+
* @summary List exact column names for account object privileges
|
|
899
|
+
* @param {string} engineName
|
|
900
|
+
* @param {string} orgName
|
|
901
|
+
* @param {string} clusterName
|
|
902
|
+
* @param {string} accountName
|
|
903
|
+
* @param {string} objectType Object type, either table or view
|
|
904
|
+
* @param {string} databaseName
|
|
905
|
+
* @param {string} objectName
|
|
906
|
+
* @param {*} [options] Override http request option.
|
|
907
|
+
* @throws {RequiredError}
|
|
908
|
+
*/
|
|
909
|
+
listAccountObjectPrivilegeColumns: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
910
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
911
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'engineName', engineName)
|
|
912
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
913
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'orgName', orgName)
|
|
914
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
915
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'clusterName', clusterName)
|
|
916
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
917
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'accountName', accountName)
|
|
918
|
+
// verify required parameter 'objectType' is not null or undefined
|
|
919
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'objectType', objectType)
|
|
920
|
+
// verify required parameter 'databaseName' is not null or undefined
|
|
921
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'databaseName', databaseName)
|
|
922
|
+
// verify required parameter 'objectName' is not null or undefined
|
|
923
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'objectName', objectName)
|
|
924
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/columns`
|
|
925
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
926
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
927
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
928
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
929
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
930
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
931
|
+
let baseOptions;
|
|
932
|
+
if (configuration) {
|
|
933
|
+
baseOptions = configuration.baseOptions;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
937
|
+
const localVarHeaderParameter = {} as any;
|
|
938
|
+
const localVarQueryParameter = {} as any;
|
|
939
|
+
|
|
940
|
+
// authentication BearerToken required
|
|
941
|
+
// http bearer authentication required
|
|
942
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
943
|
+
|
|
944
|
+
// authentication DigestAuth required
|
|
945
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
946
|
+
|
|
947
|
+
if (objectType !== undefined) {
|
|
948
|
+
localVarQueryParameter['objectType'] = objectType;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
if (databaseName !== undefined) {
|
|
952
|
+
localVarQueryParameter['databaseName'] = databaseName;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
if (objectName !== undefined) {
|
|
956
|
+
localVarQueryParameter['objectName'] = objectName;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
|
|
887
961
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
888
962
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
889
963
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1773,6 +1847,25 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
1773
1847
|
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.killSession']?.[localVarOperationServerIndex]?.url;
|
|
1774
1848
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1775
1849
|
},
|
|
1850
|
+
/**
|
|
1851
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
1852
|
+
* @summary List exact column names for account object privileges
|
|
1853
|
+
* @param {string} engineName
|
|
1854
|
+
* @param {string} orgName
|
|
1855
|
+
* @param {string} clusterName
|
|
1856
|
+
* @param {string} accountName
|
|
1857
|
+
* @param {string} objectType Object type, either table or view
|
|
1858
|
+
* @param {string} databaseName
|
|
1859
|
+
* @param {string} objectName
|
|
1860
|
+
* @param {*} [options] Override http request option.
|
|
1861
|
+
* @throws {RequiredError}
|
|
1862
|
+
*/
|
|
1863
|
+
async listAccountObjectPrivilegeColumns(engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
1864
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountObjectPrivilegeColumns(engineName, orgName, clusterName, accountName, objectType, databaseName, objectName, options);
|
|
1865
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1866
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.listAccountObjectPrivilegeColumns']?.[localVarOperationServerIndex]?.url;
|
|
1867
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1868
|
+
},
|
|
1776
1869
|
/**
|
|
1777
1870
|
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
1778
1871
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -2106,6 +2199,16 @@ export const RdbmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
2106
2199
|
killSession(requestParameters: RdbmsApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2107
2200
|
return localVarFp.killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(axios, basePath));
|
|
2108
2201
|
},
|
|
2202
|
+
/**
|
|
2203
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
2204
|
+
* @summary List exact column names for account object privileges
|
|
2205
|
+
* @param {RdbmsApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
2206
|
+
* @param {*} [options] Override http request option.
|
|
2207
|
+
* @throws {RequiredError}
|
|
2208
|
+
*/
|
|
2209
|
+
listAccountObjectPrivilegeColumns(requestParameters: RdbmsApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
2210
|
+
return localVarFp.listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, options).then((request) => request(axios, basePath));
|
|
2211
|
+
},
|
|
2109
2212
|
/**
|
|
2110
2213
|
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
2111
2214
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -2364,6 +2467,16 @@ export interface RdbmsApiInterface {
|
|
|
2364
2467
|
*/
|
|
2365
2468
|
killSession(requestParameters: RdbmsApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2366
2469
|
|
|
2470
|
+
/**
|
|
2471
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
2472
|
+
* @summary List exact column names for account object privileges
|
|
2473
|
+
* @param {RdbmsApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
2474
|
+
* @param {*} [options] Override http request option.
|
|
2475
|
+
* @throws {RequiredError}
|
|
2476
|
+
* @memberof RdbmsApiInterface
|
|
2477
|
+
*/
|
|
2478
|
+
listAccountObjectPrivilegeColumns(requestParameters: RdbmsApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
2479
|
+
|
|
2367
2480
|
/**
|
|
2368
2481
|
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
2369
2482
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -3078,6 +3191,62 @@ export interface RdbmsApiKillSessionRequest {
|
|
|
3078
3191
|
readonly keep?: boolean
|
|
3079
3192
|
}
|
|
3080
3193
|
|
|
3194
|
+
/**
|
|
3195
|
+
* Request parameters for listAccountObjectPrivilegeColumns operation in RdbmsApi.
|
|
3196
|
+
* @export
|
|
3197
|
+
* @interface RdbmsApiListAccountObjectPrivilegeColumnsRequest
|
|
3198
|
+
*/
|
|
3199
|
+
export interface RdbmsApiListAccountObjectPrivilegeColumnsRequest {
|
|
3200
|
+
/**
|
|
3201
|
+
*
|
|
3202
|
+
* @type {string}
|
|
3203
|
+
* @memberof RdbmsApiListAccountObjectPrivilegeColumns
|
|
3204
|
+
*/
|
|
3205
|
+
readonly engineName: string
|
|
3206
|
+
|
|
3207
|
+
/**
|
|
3208
|
+
*
|
|
3209
|
+
* @type {string}
|
|
3210
|
+
* @memberof RdbmsApiListAccountObjectPrivilegeColumns
|
|
3211
|
+
*/
|
|
3212
|
+
readonly orgName: string
|
|
3213
|
+
|
|
3214
|
+
/**
|
|
3215
|
+
*
|
|
3216
|
+
* @type {string}
|
|
3217
|
+
* @memberof RdbmsApiListAccountObjectPrivilegeColumns
|
|
3218
|
+
*/
|
|
3219
|
+
readonly clusterName: string
|
|
3220
|
+
|
|
3221
|
+
/**
|
|
3222
|
+
*
|
|
3223
|
+
* @type {string}
|
|
3224
|
+
* @memberof RdbmsApiListAccountObjectPrivilegeColumns
|
|
3225
|
+
*/
|
|
3226
|
+
readonly accountName: string
|
|
3227
|
+
|
|
3228
|
+
/**
|
|
3229
|
+
* Object type, either table or view
|
|
3230
|
+
* @type {string}
|
|
3231
|
+
* @memberof RdbmsApiListAccountObjectPrivilegeColumns
|
|
3232
|
+
*/
|
|
3233
|
+
readonly objectType: string
|
|
3234
|
+
|
|
3235
|
+
/**
|
|
3236
|
+
*
|
|
3237
|
+
* @type {string}
|
|
3238
|
+
* @memberof RdbmsApiListAccountObjectPrivilegeColumns
|
|
3239
|
+
*/
|
|
3240
|
+
readonly databaseName: string
|
|
3241
|
+
|
|
3242
|
+
/**
|
|
3243
|
+
*
|
|
3244
|
+
* @type {string}
|
|
3245
|
+
* @memberof RdbmsApiListAccountObjectPrivilegeColumns
|
|
3246
|
+
*/
|
|
3247
|
+
readonly objectName: string
|
|
3248
|
+
}
|
|
3249
|
+
|
|
3081
3250
|
/**
|
|
3082
3251
|
* Request parameters for listAccountObjectPrivilegeObjects operation in RdbmsApi.
|
|
3083
3252
|
* @export
|
|
@@ -3693,6 +3862,18 @@ export class RdbmsApi extends BaseAPI implements RdbmsApiInterface {
|
|
|
3693
3862
|
return RdbmsApiFp(this.configuration).killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(this.axios, this.basePath));
|
|
3694
3863
|
}
|
|
3695
3864
|
|
|
3865
|
+
/**
|
|
3866
|
+
* Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
3867
|
+
* @summary List exact column names for account object privileges
|
|
3868
|
+
* @param {RdbmsApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
3869
|
+
* @param {*} [options] Override http request option.
|
|
3870
|
+
* @throws {RequiredError}
|
|
3871
|
+
* @memberof RdbmsApi
|
|
3872
|
+
*/
|
|
3873
|
+
public listAccountObjectPrivilegeColumns(requestParameters: RdbmsApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig) {
|
|
3874
|
+
return RdbmsApiFp(this.configuration).listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, options).then((request) => request(this.axios, this.basePath));
|
|
3875
|
+
}
|
|
3876
|
+
|
|
3696
3877
|
/**
|
|
3697
3878
|
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
3698
3879
|
* @summary Discover existing native privilege objects with stable routine identities
|