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
|
@@ -8881,6 +8881,80 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8881
8881
|
|
|
8882
8882
|
|
|
8883
8883
|
|
|
8884
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8885
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8886
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8887
|
+
|
|
8888
|
+
return {
|
|
8889
|
+
url: toPathString(localVarUrlObj),
|
|
8890
|
+
options: localVarRequestOptions,
|
|
8891
|
+
};
|
|
8892
|
+
},
|
|
8893
|
+
/**
|
|
8894
|
+
* 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.
|
|
8895
|
+
* @summary List exact column names for account object privileges
|
|
8896
|
+
* @param {string} engineName
|
|
8897
|
+
* @param {string} orgName
|
|
8898
|
+
* @param {string} clusterName
|
|
8899
|
+
* @param {string} accountName
|
|
8900
|
+
* @param {string} objectType Object type, either table or view
|
|
8901
|
+
* @param {string} databaseName
|
|
8902
|
+
* @param {string} objectName
|
|
8903
|
+
* @param {*} [options] Override http request option.
|
|
8904
|
+
* @throws {RequiredError}
|
|
8905
|
+
*/
|
|
8906
|
+
listAccountObjectPrivilegeColumns: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8907
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
8908
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'engineName', engineName)
|
|
8909
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8910
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'orgName', orgName)
|
|
8911
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8912
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'clusterName', clusterName)
|
|
8913
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
8914
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'accountName', accountName)
|
|
8915
|
+
// verify required parameter 'objectType' is not null or undefined
|
|
8916
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'objectType', objectType)
|
|
8917
|
+
// verify required parameter 'databaseName' is not null or undefined
|
|
8918
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'databaseName', databaseName)
|
|
8919
|
+
// verify required parameter 'objectName' is not null or undefined
|
|
8920
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'objectName', objectName)
|
|
8921
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/columns`
|
|
8922
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
8923
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8924
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8925
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
8926
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8927
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8928
|
+
let baseOptions;
|
|
8929
|
+
if (configuration) {
|
|
8930
|
+
baseOptions = configuration.baseOptions;
|
|
8931
|
+
}
|
|
8932
|
+
|
|
8933
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8934
|
+
const localVarHeaderParameter = {} as any;
|
|
8935
|
+
const localVarQueryParameter = {} as any;
|
|
8936
|
+
|
|
8937
|
+
// authentication BearerToken required
|
|
8938
|
+
// http bearer authentication required
|
|
8939
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8940
|
+
|
|
8941
|
+
// authentication DigestAuth required
|
|
8942
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8943
|
+
|
|
8944
|
+
if (objectType !== undefined) {
|
|
8945
|
+
localVarQueryParameter['objectType'] = objectType;
|
|
8946
|
+
}
|
|
8947
|
+
|
|
8948
|
+
if (databaseName !== undefined) {
|
|
8949
|
+
localVarQueryParameter['databaseName'] = databaseName;
|
|
8950
|
+
}
|
|
8951
|
+
|
|
8952
|
+
if (objectName !== undefined) {
|
|
8953
|
+
localVarQueryParameter['objectName'] = objectName;
|
|
8954
|
+
}
|
|
8955
|
+
|
|
8956
|
+
|
|
8957
|
+
|
|
8884
8958
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8885
8959
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8886
8960
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -20509,6 +20583,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20509
20583
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.killSession']?.[localVarOperationServerIndex]?.url;
|
|
20510
20584
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20511
20585
|
},
|
|
20586
|
+
/**
|
|
20587
|
+
* 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.
|
|
20588
|
+
* @summary List exact column names for account object privileges
|
|
20589
|
+
* @param {string} engineName
|
|
20590
|
+
* @param {string} orgName
|
|
20591
|
+
* @param {string} clusterName
|
|
20592
|
+
* @param {string} accountName
|
|
20593
|
+
* @param {string} objectType Object type, either table or view
|
|
20594
|
+
* @param {string} databaseName
|
|
20595
|
+
* @param {string} objectName
|
|
20596
|
+
* @param {*} [options] Override http request option.
|
|
20597
|
+
* @throws {RequiredError}
|
|
20598
|
+
*/
|
|
20599
|
+
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>>> {
|
|
20600
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountObjectPrivilegeColumns(engineName, orgName, clusterName, accountName, objectType, databaseName, objectName, options);
|
|
20601
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20602
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listAccountObjectPrivilegeColumns']?.[localVarOperationServerIndex]?.url;
|
|
20603
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20604
|
+
},
|
|
20512
20605
|
/**
|
|
20513
20606
|
* 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.
|
|
20514
20607
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -24705,6 +24798,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
24705
24798
|
killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24706
24799
|
return localVarFp.killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(axios, basePath));
|
|
24707
24800
|
},
|
|
24801
|
+
/**
|
|
24802
|
+
* 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.
|
|
24803
|
+
* @summary List exact column names for account object privileges
|
|
24804
|
+
* @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
24805
|
+
* @param {*} [options] Override http request option.
|
|
24806
|
+
* @throws {RequiredError}
|
|
24807
|
+
*/
|
|
24808
|
+
listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
24809
|
+
return localVarFp.listAccountObjectPrivilegeColumns(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.objectName, options).then((request) => request(axios, basePath));
|
|
24810
|
+
},
|
|
24708
24811
|
/**
|
|
24709
24812
|
* 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.
|
|
24710
24813
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -27907,6 +28010,16 @@ export interface SharedApiInterface {
|
|
|
27907
28010
|
*/
|
|
27908
28011
|
killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27909
28012
|
|
|
28013
|
+
/**
|
|
28014
|
+
* 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.
|
|
28015
|
+
* @summary List exact column names for account object privileges
|
|
28016
|
+
* @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
28017
|
+
* @param {*} [options] Override http request option.
|
|
28018
|
+
* @throws {RequiredError}
|
|
28019
|
+
* @memberof SharedApiInterface
|
|
28020
|
+
*/
|
|
28021
|
+
listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
28022
|
+
|
|
27910
28023
|
/**
|
|
27911
28024
|
* 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.
|
|
27912
28025
|
* @summary Discover existing native privilege objects with stable routine identities
|
|
@@ -34744,6 +34857,62 @@ export interface SharedApiKillSessionRequest {
|
|
|
34744
34857
|
readonly keep?: boolean
|
|
34745
34858
|
}
|
|
34746
34859
|
|
|
34860
|
+
/**
|
|
34861
|
+
* Request parameters for listAccountObjectPrivilegeColumns operation in SharedApi.
|
|
34862
|
+
* @export
|
|
34863
|
+
* @interface SharedApiListAccountObjectPrivilegeColumnsRequest
|
|
34864
|
+
*/
|
|
34865
|
+
export interface SharedApiListAccountObjectPrivilegeColumnsRequest {
|
|
34866
|
+
/**
|
|
34867
|
+
*
|
|
34868
|
+
* @type {string}
|
|
34869
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
34870
|
+
*/
|
|
34871
|
+
readonly engineName: string
|
|
34872
|
+
|
|
34873
|
+
/**
|
|
34874
|
+
*
|
|
34875
|
+
* @type {string}
|
|
34876
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
34877
|
+
*/
|
|
34878
|
+
readonly orgName: string
|
|
34879
|
+
|
|
34880
|
+
/**
|
|
34881
|
+
*
|
|
34882
|
+
* @type {string}
|
|
34883
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
34884
|
+
*/
|
|
34885
|
+
readonly clusterName: string
|
|
34886
|
+
|
|
34887
|
+
/**
|
|
34888
|
+
*
|
|
34889
|
+
* @type {string}
|
|
34890
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
34891
|
+
*/
|
|
34892
|
+
readonly accountName: string
|
|
34893
|
+
|
|
34894
|
+
/**
|
|
34895
|
+
* Object type, either table or view
|
|
34896
|
+
* @type {string}
|
|
34897
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
34898
|
+
*/
|
|
34899
|
+
readonly objectType: string
|
|
34900
|
+
|
|
34901
|
+
/**
|
|
34902
|
+
*
|
|
34903
|
+
* @type {string}
|
|
34904
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
34905
|
+
*/
|
|
34906
|
+
readonly databaseName: string
|
|
34907
|
+
|
|
34908
|
+
/**
|
|
34909
|
+
*
|
|
34910
|
+
* @type {string}
|
|
34911
|
+
* @memberof SharedApiListAccountObjectPrivilegeColumns
|
|
34912
|
+
*/
|
|
34913
|
+
readonly objectName: string
|
|
34914
|
+
}
|
|
34915
|
+
|
|
34747
34916
|
/**
|
|
34748
34917
|
* Request parameters for listAccountObjectPrivilegeObjects operation in SharedApi.
|
|
34749
34918
|
* @export
|
|
@@ -42341,6 +42510,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
42341
42510
|
return SharedApiFp(this.configuration).killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(this.axios, this.basePath));
|
|
42342
42511
|
}
|
|
42343
42512
|
|
|
42513
|
+
/**
|
|
42514
|
+
* 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.
|
|
42515
|
+
* @summary List exact column names for account object privileges
|
|
42516
|
+
* @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
|
|
42517
|
+
* @param {*} [options] Override http request option.
|
|
42518
|
+
* @throws {RequiredError}
|
|
42519
|
+
* @memberof SharedApi
|
|
42520
|
+
*/
|
|
42521
|
+
public listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig) {
|
|
42522
|
+
return SharedApiFp(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));
|
|
42523
|
+
}
|
|
42524
|
+
|
|
42344
42525
|
/**
|
|
42345
42526
|
* 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.
|
|
42346
42527
|
* @summary Discover existing native privilege objects with stable routine identities
|
package/src/adminapi.yaml
CHANGED
|
@@ -24122,6 +24122,71 @@ paths:
|
|
|
24122
24122
|
$ref: '#/components/responses/404'
|
|
24123
24123
|
'500':
|
|
24124
24124
|
$ref: '#/components/responses/500'
|
|
24125
|
+
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/columns:
|
|
24126
|
+
get:
|
|
24127
|
+
tags:
|
|
24128
|
+
- account
|
|
24129
|
+
- rdbms
|
|
24130
|
+
- shared
|
|
24131
|
+
summary: List exact column names for account object privileges
|
|
24132
|
+
operationId: listAccountObjectPrivilegeColumns
|
|
24133
|
+
description: 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.
|
|
24134
|
+
parameters:
|
|
24135
|
+
- name: engineName
|
|
24136
|
+
in: path
|
|
24137
|
+
required: true
|
|
24138
|
+
schema:
|
|
24139
|
+
type: string
|
|
24140
|
+
- name: orgName
|
|
24141
|
+
in: path
|
|
24142
|
+
required: true
|
|
24143
|
+
schema:
|
|
24144
|
+
type: string
|
|
24145
|
+
- name: clusterName
|
|
24146
|
+
in: path
|
|
24147
|
+
required: true
|
|
24148
|
+
schema:
|
|
24149
|
+
type: string
|
|
24150
|
+
- name: accountName
|
|
24151
|
+
in: path
|
|
24152
|
+
required: true
|
|
24153
|
+
schema:
|
|
24154
|
+
type: string
|
|
24155
|
+
- name: objectType
|
|
24156
|
+
in: query
|
|
24157
|
+
required: true
|
|
24158
|
+
description: Object type, either table or view
|
|
24159
|
+
schema:
|
|
24160
|
+
type: string
|
|
24161
|
+
- name: databaseName
|
|
24162
|
+
in: query
|
|
24163
|
+
required: true
|
|
24164
|
+
schema:
|
|
24165
|
+
type: string
|
|
24166
|
+
- name: objectName
|
|
24167
|
+
in: query
|
|
24168
|
+
required: true
|
|
24169
|
+
schema:
|
|
24170
|
+
type: string
|
|
24171
|
+
responses:
|
|
24172
|
+
'200':
|
|
24173
|
+
description: Exact column names in catalog order; empty if no visible columns exist
|
|
24174
|
+
content:
|
|
24175
|
+
application/json:
|
|
24176
|
+
schema:
|
|
24177
|
+
type: array
|
|
24178
|
+
items:
|
|
24179
|
+
type: string
|
|
24180
|
+
'400':
|
|
24181
|
+
$ref: '#/components/responses/400'
|
|
24182
|
+
'401':
|
|
24183
|
+
$ref: '#/components/responses/401'
|
|
24184
|
+
'403':
|
|
24185
|
+
$ref: '#/components/responses/403'
|
|
24186
|
+
'404':
|
|
24187
|
+
$ref: '#/components/responses/404'
|
|
24188
|
+
'500':
|
|
24189
|
+
$ref: '#/components/responses/500'
|
|
24125
24190
|
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/objects:
|
|
24126
24191
|
get:
|
|
24127
24192
|
tags:
|
|
@@ -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 = `/api/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
|