kb-cloud-client-typescript 2.3.0-alpha.106 → 2.3.0-alpha.108
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/api.d.ts +0 -1
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +0 -1
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +158 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +168 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +158 -0
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +168 -0
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +158 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +168 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/account-option.d.ts +12 -0
- package/dist/adminapi/models/account-option.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +0 -10
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +0 -10
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/api.d.ts +0 -1
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +0 -1
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +158 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +168 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +158 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +168 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +158 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +168 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/account-option.d.ts +12 -0
- package/dist/openapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +0 -10
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +0 -10
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +0 -11
- package/src/adminapi/api.ts +0 -1
- package/src/adminapi/apis/account-api.ts +272 -0
- package/src/adminapi/apis/rdbms-api.ts +272 -0
- package/src/adminapi/apis/shared-api.ts +272 -0
- package/src/adminapi/models/account-option.ts +12 -0
- package/src/adminapi/models/index.ts +0 -10
- package/src/adminapi.yaml +96 -381
- package/src/openapi/.openapi-generator/FILES +0 -11
- package/src/openapi/api.ts +0 -1
- package/src/openapi/apis/account-api.ts +272 -0
- package/src/openapi/apis/rdbms-api.ts +272 -0
- package/src/openapi/apis/shared-api.ts +272 -0
- package/src/openapi/models/account-option.ts +12 -0
- package/src/openapi/models/index.ts +0 -10
- package/src/openapi.yaml +96 -381
- package/dist/adminapi/apis/aiapi.d.ts +0 -408
- package/dist/adminapi/apis/aiapi.d.ts.map +0 -1
- package/dist/adminapi/apis/aiapi.js +0 -496
- package/dist/adminapi/apis/aiapi.js.map +0 -1
- package/dist/adminapi/models/ai-conversation-list-response.d.ts +0 -32
- package/dist/adminapi/models/ai-conversation-list-response.d.ts.map +0 -1
- package/dist/adminapi/models/ai-conversation-list-response.js +0 -16
- package/dist/adminapi/models/ai-conversation-list-response.js.map +0 -1
- package/dist/adminapi/models/ai-conversation.d.ts +0 -67
- package/dist/adminapi/models/ai-conversation.d.ts.map +0 -1
- package/dist/adminapi/models/ai-conversation.js +0 -16
- package/dist/adminapi/models/ai-conversation.js.map +0 -1
- package/dist/adminapi/models/ai-message-list-response.d.ts +0 -26
- package/dist/adminapi/models/ai-message-list-response.d.ts.map +0 -1
- package/dist/adminapi/models/ai-message-list-response.js +0 -16
- package/dist/adminapi/models/ai-message-list-response.js.map +0 -1
- package/dist/adminapi/models/ai-message.d.ts +0 -70
- package/dist/adminapi/models/ai-message.d.ts.map +0 -1
- package/dist/adminapi/models/ai-message.js +0 -16
- package/dist/adminapi/models/ai-message.js.map +0 -1
- package/dist/adminapi/models/aichat-type.d.ts +0 -22
- package/dist/adminapi/models/aichat-type.d.ts.map +0 -1
- package/dist/adminapi/models/aichat-type.js +0 -26
- package/dist/adminapi/models/aichat-type.js.map +0 -1
- package/dist/adminapi/models/aiconversation-request.d.ts +0 -26
- package/dist/adminapi/models/aiconversation-request.d.ts.map +0 -1
- package/dist/adminapi/models/aiconversation-request.js +0 -16
- package/dist/adminapi/models/aiconversation-request.js.map +0 -1
- package/dist/adminapi/models/chat-request.d.ts +0 -79
- package/dist/adminapi/models/chat-request.d.ts.map +0 -1
- package/dist/adminapi/models/chat-request.js +0 -16
- package/dist/adminapi/models/chat-request.js.map +0 -1
- package/dist/adminapi/models/chat-response-type.d.ts +0 -29
- package/dist/adminapi/models/chat-response-type.d.ts.map +0 -1
- package/dist/adminapi/models/chat-response-type.js +0 -33
- package/dist/adminapi/models/chat-response-type.js.map +0 -1
- package/dist/adminapi/models/chat-response.d.ts +0 -50
- package/dist/adminapi/models/chat-response.d.ts.map +0 -1
- package/dist/adminapi/models/chat-response.js +0 -16
- package/dist/adminapi/models/chat-response.js.map +0 -1
- package/dist/adminapi/models/sender-type.d.ts +0 -23
- package/dist/adminapi/models/sender-type.d.ts.map +0 -1
- package/dist/adminapi/models/sender-type.js +0 -27
- package/dist/adminapi/models/sender-type.js.map +0 -1
- package/dist/openapi/apis/aiapi.d.ts +0 -408
- package/dist/openapi/apis/aiapi.d.ts.map +0 -1
- package/dist/openapi/apis/aiapi.js +0 -496
- package/dist/openapi/apis/aiapi.js.map +0 -1
- package/dist/openapi/models/ai-conversation-list-response.d.ts +0 -32
- package/dist/openapi/models/ai-conversation-list-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-conversation-list-response.js +0 -16
- package/dist/openapi/models/ai-conversation-list-response.js.map +0 -1
- package/dist/openapi/models/ai-conversation.d.ts +0 -67
- package/dist/openapi/models/ai-conversation.d.ts.map +0 -1
- package/dist/openapi/models/ai-conversation.js +0 -16
- package/dist/openapi/models/ai-conversation.js.map +0 -1
- package/dist/openapi/models/ai-message-list-response.d.ts +0 -26
- package/dist/openapi/models/ai-message-list-response.d.ts.map +0 -1
- package/dist/openapi/models/ai-message-list-response.js +0 -16
- package/dist/openapi/models/ai-message-list-response.js.map +0 -1
- package/dist/openapi/models/ai-message.d.ts +0 -70
- package/dist/openapi/models/ai-message.d.ts.map +0 -1
- package/dist/openapi/models/ai-message.js +0 -16
- package/dist/openapi/models/ai-message.js.map +0 -1
- package/dist/openapi/models/aichat-type.d.ts +0 -22
- package/dist/openapi/models/aichat-type.d.ts.map +0 -1
- package/dist/openapi/models/aichat-type.js +0 -26
- package/dist/openapi/models/aichat-type.js.map +0 -1
- package/dist/openapi/models/aiconversation-request.d.ts +0 -26
- package/dist/openapi/models/aiconversation-request.d.ts.map +0 -1
- package/dist/openapi/models/aiconversation-request.js +0 -16
- package/dist/openapi/models/aiconversation-request.js.map +0 -1
- package/dist/openapi/models/chat-request.d.ts +0 -79
- package/dist/openapi/models/chat-request.d.ts.map +0 -1
- package/dist/openapi/models/chat-request.js +0 -16
- package/dist/openapi/models/chat-request.js.map +0 -1
- package/dist/openapi/models/chat-response-type.d.ts +0 -29
- package/dist/openapi/models/chat-response-type.d.ts.map +0 -1
- package/dist/openapi/models/chat-response-type.js +0 -33
- package/dist/openapi/models/chat-response-type.js.map +0 -1
- package/dist/openapi/models/chat-response.d.ts +0 -50
- package/dist/openapi/models/chat-response.d.ts.map +0 -1
- package/dist/openapi/models/chat-response.js +0 -16
- package/dist/openapi/models/chat-response.js.map +0 -1
- package/dist/openapi/models/sender-type.d.ts +0 -23
- package/dist/openapi/models/sender-type.d.ts.map +0 -1
- package/dist/openapi/models/sender-type.js +0 -27
- package/dist/openapi/models/sender-type.js.map +0 -1
- package/src/adminapi/apis/aiapi.ts +0 -728
- package/src/adminapi/models/ai-conversation-list-response.ts +0 -39
- package/src/adminapi/models/ai-conversation.ts +0 -72
- package/src/adminapi/models/ai-message-list-response.ts +0 -33
- package/src/adminapi/models/ai-message.ts +0 -77
- package/src/adminapi/models/aichat-type.ts +0 -31
- package/src/adminapi/models/aiconversation-request.ts +0 -35
- package/src/adminapi/models/chat-request.ts +0 -84
- package/src/adminapi/models/chat-response-type.ts +0 -38
- package/src/adminapi/models/chat-response.ts +0 -59
- package/src/adminapi/models/sender-type.ts +0 -32
- package/src/openapi/apis/aiapi.ts +0 -728
- package/src/openapi/models/ai-conversation-list-response.ts +0 -39
- package/src/openapi/models/ai-conversation.ts +0 -72
- package/src/openapi/models/ai-message-list-response.ts +0 -33
- package/src/openapi/models/ai-message.ts +0 -77
- package/src/openapi/models/aichat-type.ts +0 -31
- package/src/openapi/models/aiconversation-request.ts +0 -35
- package/src/openapi/models/chat-request.ts +0 -84
- package/src/openapi/models/chat-response-type.ts +0 -38
- package/src/openapi/models/chat-response.ts +0 -59
- package/src/openapi/models/sender-type.ts +0 -32
|
@@ -884,6 +884,112 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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
|
+
* lock an account in cluster
|
|
898
|
+
* @summary Lock cluster account
|
|
899
|
+
* @param {string} engineName name of the engine
|
|
900
|
+
* @param {string} orgName name of the organization
|
|
901
|
+
* @param {string} clusterName name of the cluster
|
|
902
|
+
* @param {string} accountName name of the account
|
|
903
|
+
* @param {*} [options] Override http request option.
|
|
904
|
+
* @throws {RequiredError}
|
|
905
|
+
*/
|
|
906
|
+
lockAccount: async (engineName: string, orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
907
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
908
|
+
assertParamExists('lockAccount', 'engineName', engineName)
|
|
909
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
910
|
+
assertParamExists('lockAccount', 'orgName', orgName)
|
|
911
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
912
|
+
assertParamExists('lockAccount', 'clusterName', clusterName)
|
|
913
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
914
|
+
assertParamExists('lockAccount', 'accountName', accountName)
|
|
915
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/lock`
|
|
916
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
917
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
918
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
919
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
920
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
921
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
922
|
+
let baseOptions;
|
|
923
|
+
if (configuration) {
|
|
924
|
+
baseOptions = configuration.baseOptions;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
928
|
+
const localVarHeaderParameter = {} as any;
|
|
929
|
+
const localVarQueryParameter = {} as any;
|
|
930
|
+
|
|
931
|
+
// authentication BearerToken required
|
|
932
|
+
// http bearer authentication required
|
|
933
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
934
|
+
|
|
935
|
+
// authentication DigestAuth required
|
|
936
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
941
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
942
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
943
|
+
|
|
944
|
+
return {
|
|
945
|
+
url: toPathString(localVarUrlObj),
|
|
946
|
+
options: localVarRequestOptions,
|
|
947
|
+
};
|
|
948
|
+
},
|
|
949
|
+
/**
|
|
950
|
+
* unlock an account in cluster
|
|
951
|
+
* @summary Unlock cluster account
|
|
952
|
+
* @param {string} engineName name of the engine
|
|
953
|
+
* @param {string} orgName name of the organization
|
|
954
|
+
* @param {string} clusterName name of the cluster
|
|
955
|
+
* @param {string} accountName name of the account
|
|
956
|
+
* @param {*} [options] Override http request option.
|
|
957
|
+
* @throws {RequiredError}
|
|
958
|
+
*/
|
|
959
|
+
unlockAccount: async (engineName: string, orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
960
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
961
|
+
assertParamExists('unlockAccount', 'engineName', engineName)
|
|
962
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
963
|
+
assertParamExists('unlockAccount', 'orgName', orgName)
|
|
964
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
965
|
+
assertParamExists('unlockAccount', 'clusterName', clusterName)
|
|
966
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
967
|
+
assertParamExists('unlockAccount', 'accountName', accountName)
|
|
968
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/unlock`
|
|
969
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
970
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
971
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
972
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
973
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
974
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
975
|
+
let baseOptions;
|
|
976
|
+
if (configuration) {
|
|
977
|
+
baseOptions = configuration.baseOptions;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
981
|
+
const localVarHeaderParameter = {} as any;
|
|
982
|
+
const localVarQueryParameter = {} as any;
|
|
983
|
+
|
|
984
|
+
// authentication BearerToken required
|
|
985
|
+
// http bearer authentication required
|
|
986
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
987
|
+
|
|
988
|
+
// authentication DigestAuth required
|
|
989
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
|
|
887
993
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
888
994
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
889
995
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1545,6 +1651,38 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1545
1651
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.listRabbitAccounts']?.[localVarOperationServerIndex]?.url;
|
|
1546
1652
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1547
1653
|
},
|
|
1654
|
+
/**
|
|
1655
|
+
* lock an account in cluster
|
|
1656
|
+
* @summary Lock cluster account
|
|
1657
|
+
* @param {string} engineName name of the engine
|
|
1658
|
+
* @param {string} orgName name of the organization
|
|
1659
|
+
* @param {string} clusterName name of the cluster
|
|
1660
|
+
* @param {string} accountName name of the account
|
|
1661
|
+
* @param {*} [options] Override http request option.
|
|
1662
|
+
* @throws {RequiredError}
|
|
1663
|
+
*/
|
|
1664
|
+
async lockAccount(engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1665
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockAccount(engineName, orgName, clusterName, accountName, options);
|
|
1666
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1667
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.lockAccount']?.[localVarOperationServerIndex]?.url;
|
|
1668
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1669
|
+
},
|
|
1670
|
+
/**
|
|
1671
|
+
* unlock an account in cluster
|
|
1672
|
+
* @summary Unlock cluster account
|
|
1673
|
+
* @param {string} engineName name of the engine
|
|
1674
|
+
* @param {string} orgName name of the organization
|
|
1675
|
+
* @param {string} clusterName name of the cluster
|
|
1676
|
+
* @param {string} accountName name of the account
|
|
1677
|
+
* @param {*} [options] Override http request option.
|
|
1678
|
+
* @throws {RequiredError}
|
|
1679
|
+
*/
|
|
1680
|
+
async unlockAccount(engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlockAccount(engineName, orgName, clusterName, accountName, options);
|
|
1682
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1683
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.unlockAccount']?.[localVarOperationServerIndex]?.url;
|
|
1684
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1685
|
+
},
|
|
1548
1686
|
/**
|
|
1549
1687
|
* update an account in cluster
|
|
1550
1688
|
* @summary update cluster account
|
|
@@ -1838,6 +1976,26 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
1838
1976
|
listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList> {
|
|
1839
1977
|
return localVarFp.listRabbitAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
1840
1978
|
},
|
|
1979
|
+
/**
|
|
1980
|
+
* lock an account in cluster
|
|
1981
|
+
* @summary Lock cluster account
|
|
1982
|
+
* @param {AccountApiLockAccountRequest} requestParameters Request parameters.
|
|
1983
|
+
* @param {*} [options] Override http request option.
|
|
1984
|
+
* @throws {RequiredError}
|
|
1985
|
+
*/
|
|
1986
|
+
lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1987
|
+
return localVarFp.lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
1988
|
+
},
|
|
1989
|
+
/**
|
|
1990
|
+
* unlock an account in cluster
|
|
1991
|
+
* @summary Unlock cluster account
|
|
1992
|
+
* @param {AccountApiUnlockAccountRequest} requestParameters Request parameters.
|
|
1993
|
+
* @param {*} [options] Override http request option.
|
|
1994
|
+
* @throws {RequiredError}
|
|
1995
|
+
*/
|
|
1996
|
+
unlockAccount(requestParameters: AccountApiUnlockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1997
|
+
return localVarFp.unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
1998
|
+
},
|
|
1841
1999
|
/**
|
|
1842
2000
|
* update an account in cluster
|
|
1843
2001
|
* @summary update cluster account
|
|
@@ -2087,6 +2245,26 @@ export interface AccountApiInterface {
|
|
|
2087
2245
|
*/
|
|
2088
2246
|
listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
|
|
2089
2247
|
|
|
2248
|
+
/**
|
|
2249
|
+
* lock an account in cluster
|
|
2250
|
+
* @summary Lock cluster account
|
|
2251
|
+
* @param {AccountApiLockAccountRequest} requestParameters Request parameters.
|
|
2252
|
+
* @param {*} [options] Override http request option.
|
|
2253
|
+
* @throws {RequiredError}
|
|
2254
|
+
* @memberof AccountApiInterface
|
|
2255
|
+
*/
|
|
2256
|
+
lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2257
|
+
|
|
2258
|
+
/**
|
|
2259
|
+
* unlock an account in cluster
|
|
2260
|
+
* @summary Unlock cluster account
|
|
2261
|
+
* @param {AccountApiUnlockAccountRequest} requestParameters Request parameters.
|
|
2262
|
+
* @param {*} [options] Override http request option.
|
|
2263
|
+
* @throws {RequiredError}
|
|
2264
|
+
* @memberof AccountApiInterface
|
|
2265
|
+
*/
|
|
2266
|
+
unlockAccount(requestParameters: AccountApiUnlockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2267
|
+
|
|
2090
2268
|
/**
|
|
2091
2269
|
* update an account in cluster
|
|
2092
2270
|
* @summary update cluster account
|
|
@@ -2635,6 +2813,76 @@ export interface AccountApiListRabbitAccountsRequest {
|
|
|
2635
2813
|
readonly clusterName: string
|
|
2636
2814
|
}
|
|
2637
2815
|
|
|
2816
|
+
/**
|
|
2817
|
+
* Request parameters for lockAccount operation in AccountApi.
|
|
2818
|
+
* @export
|
|
2819
|
+
* @interface AccountApiLockAccountRequest
|
|
2820
|
+
*/
|
|
2821
|
+
export interface AccountApiLockAccountRequest {
|
|
2822
|
+
/**
|
|
2823
|
+
* name of the engine
|
|
2824
|
+
* @type {string}
|
|
2825
|
+
* @memberof AccountApiLockAccount
|
|
2826
|
+
*/
|
|
2827
|
+
readonly engineName: string
|
|
2828
|
+
|
|
2829
|
+
/**
|
|
2830
|
+
* name of the organization
|
|
2831
|
+
* @type {string}
|
|
2832
|
+
* @memberof AccountApiLockAccount
|
|
2833
|
+
*/
|
|
2834
|
+
readonly orgName: string
|
|
2835
|
+
|
|
2836
|
+
/**
|
|
2837
|
+
* name of the cluster
|
|
2838
|
+
* @type {string}
|
|
2839
|
+
* @memberof AccountApiLockAccount
|
|
2840
|
+
*/
|
|
2841
|
+
readonly clusterName: string
|
|
2842
|
+
|
|
2843
|
+
/**
|
|
2844
|
+
* name of the account
|
|
2845
|
+
* @type {string}
|
|
2846
|
+
* @memberof AccountApiLockAccount
|
|
2847
|
+
*/
|
|
2848
|
+
readonly accountName: string
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
/**
|
|
2852
|
+
* Request parameters for unlockAccount operation in AccountApi.
|
|
2853
|
+
* @export
|
|
2854
|
+
* @interface AccountApiUnlockAccountRequest
|
|
2855
|
+
*/
|
|
2856
|
+
export interface AccountApiUnlockAccountRequest {
|
|
2857
|
+
/**
|
|
2858
|
+
* name of the engine
|
|
2859
|
+
* @type {string}
|
|
2860
|
+
* @memberof AccountApiUnlockAccount
|
|
2861
|
+
*/
|
|
2862
|
+
readonly engineName: string
|
|
2863
|
+
|
|
2864
|
+
/**
|
|
2865
|
+
* name of the organization
|
|
2866
|
+
* @type {string}
|
|
2867
|
+
* @memberof AccountApiUnlockAccount
|
|
2868
|
+
*/
|
|
2869
|
+
readonly orgName: string
|
|
2870
|
+
|
|
2871
|
+
/**
|
|
2872
|
+
* name of the cluster
|
|
2873
|
+
* @type {string}
|
|
2874
|
+
* @memberof AccountApiUnlockAccount
|
|
2875
|
+
*/
|
|
2876
|
+
readonly clusterName: string
|
|
2877
|
+
|
|
2878
|
+
/**
|
|
2879
|
+
* name of the account
|
|
2880
|
+
* @type {string}
|
|
2881
|
+
* @memberof AccountApiUnlockAccount
|
|
2882
|
+
*/
|
|
2883
|
+
readonly accountName: string
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2638
2886
|
/**
|
|
2639
2887
|
* Request parameters for updateAccount operation in AccountApi.
|
|
2640
2888
|
* @export
|
|
@@ -3098,6 +3346,30 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
3098
3346
|
return AccountApiFp(this.configuration).listRabbitAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
3099
3347
|
}
|
|
3100
3348
|
|
|
3349
|
+
/**
|
|
3350
|
+
* lock an account in cluster
|
|
3351
|
+
* @summary Lock cluster account
|
|
3352
|
+
* @param {AccountApiLockAccountRequest} requestParameters Request parameters.
|
|
3353
|
+
* @param {*} [options] Override http request option.
|
|
3354
|
+
* @throws {RequiredError}
|
|
3355
|
+
* @memberof AccountApi
|
|
3356
|
+
*/
|
|
3357
|
+
public lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig) {
|
|
3358
|
+
return AccountApiFp(this.configuration).lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
3359
|
+
}
|
|
3360
|
+
|
|
3361
|
+
/**
|
|
3362
|
+
* unlock an account in cluster
|
|
3363
|
+
* @summary Unlock cluster account
|
|
3364
|
+
* @param {AccountApiUnlockAccountRequest} requestParameters Request parameters.
|
|
3365
|
+
* @param {*} [options] Override http request option.
|
|
3366
|
+
* @throws {RequiredError}
|
|
3367
|
+
* @memberof AccountApi
|
|
3368
|
+
*/
|
|
3369
|
+
public unlockAccount(requestParameters: AccountApiUnlockAccountRequest, options?: RawAxiosRequestConfig) {
|
|
3370
|
+
return AccountApiFp(this.configuration).unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
3371
|
+
}
|
|
3372
|
+
|
|
3101
3373
|
/**
|
|
3102
3374
|
* update an account in cluster
|
|
3103
3375
|
* @summary update cluster account
|
|
@@ -632,6 +632,112 @@ export const RdbmsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
632
632
|
|
|
633
633
|
|
|
634
634
|
|
|
635
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
636
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
637
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
638
|
+
|
|
639
|
+
return {
|
|
640
|
+
url: toPathString(localVarUrlObj),
|
|
641
|
+
options: localVarRequestOptions,
|
|
642
|
+
};
|
|
643
|
+
},
|
|
644
|
+
/**
|
|
645
|
+
* lock an account in cluster
|
|
646
|
+
* @summary Lock cluster account
|
|
647
|
+
* @param {string} engineName name of the engine
|
|
648
|
+
* @param {string} orgName name of the organization
|
|
649
|
+
* @param {string} clusterName name of the cluster
|
|
650
|
+
* @param {string} accountName name of the account
|
|
651
|
+
* @param {*} [options] Override http request option.
|
|
652
|
+
* @throws {RequiredError}
|
|
653
|
+
*/
|
|
654
|
+
lockAccount: async (engineName: string, orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
655
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
656
|
+
assertParamExists('lockAccount', 'engineName', engineName)
|
|
657
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
658
|
+
assertParamExists('lockAccount', 'orgName', orgName)
|
|
659
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
660
|
+
assertParamExists('lockAccount', 'clusterName', clusterName)
|
|
661
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
662
|
+
assertParamExists('lockAccount', 'accountName', accountName)
|
|
663
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/lock`
|
|
664
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
665
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
666
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
667
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
668
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
669
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
670
|
+
let baseOptions;
|
|
671
|
+
if (configuration) {
|
|
672
|
+
baseOptions = configuration.baseOptions;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
676
|
+
const localVarHeaderParameter = {} as any;
|
|
677
|
+
const localVarQueryParameter = {} as any;
|
|
678
|
+
|
|
679
|
+
// authentication BearerToken required
|
|
680
|
+
// http bearer authentication required
|
|
681
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
682
|
+
|
|
683
|
+
// authentication DigestAuth required
|
|
684
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
689
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
690
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
691
|
+
|
|
692
|
+
return {
|
|
693
|
+
url: toPathString(localVarUrlObj),
|
|
694
|
+
options: localVarRequestOptions,
|
|
695
|
+
};
|
|
696
|
+
},
|
|
697
|
+
/**
|
|
698
|
+
* unlock an account in cluster
|
|
699
|
+
* @summary Unlock cluster account
|
|
700
|
+
* @param {string} engineName name of the engine
|
|
701
|
+
* @param {string} orgName name of the organization
|
|
702
|
+
* @param {string} clusterName name of the cluster
|
|
703
|
+
* @param {string} accountName name of the account
|
|
704
|
+
* @param {*} [options] Override http request option.
|
|
705
|
+
* @throws {RequiredError}
|
|
706
|
+
*/
|
|
707
|
+
unlockAccount: async (engineName: string, orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
708
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
709
|
+
assertParamExists('unlockAccount', 'engineName', engineName)
|
|
710
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
711
|
+
assertParamExists('unlockAccount', 'orgName', orgName)
|
|
712
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
713
|
+
assertParamExists('unlockAccount', 'clusterName', clusterName)
|
|
714
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
715
|
+
assertParamExists('unlockAccount', 'accountName', accountName)
|
|
716
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/unlock`
|
|
717
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
718
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
719
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
720
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
721
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
722
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
723
|
+
let baseOptions;
|
|
724
|
+
if (configuration) {
|
|
725
|
+
baseOptions = configuration.baseOptions;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
729
|
+
const localVarHeaderParameter = {} as any;
|
|
730
|
+
const localVarQueryParameter = {} as any;
|
|
731
|
+
|
|
732
|
+
// authentication BearerToken required
|
|
733
|
+
// http bearer authentication required
|
|
734
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
735
|
+
|
|
736
|
+
// authentication DigestAuth required
|
|
737
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
|
|
635
741
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
636
742
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
637
743
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1002,6 +1108,38 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
1002
1108
|
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.listSessions']?.[localVarOperationServerIndex]?.url;
|
|
1003
1109
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1004
1110
|
},
|
|
1111
|
+
/**
|
|
1112
|
+
* lock an account in cluster
|
|
1113
|
+
* @summary Lock cluster account
|
|
1114
|
+
* @param {string} engineName name of the engine
|
|
1115
|
+
* @param {string} orgName name of the organization
|
|
1116
|
+
* @param {string} clusterName name of the cluster
|
|
1117
|
+
* @param {string} accountName name of the account
|
|
1118
|
+
* @param {*} [options] Override http request option.
|
|
1119
|
+
* @throws {RequiredError}
|
|
1120
|
+
*/
|
|
1121
|
+
async lockAccount(engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1122
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockAccount(engineName, orgName, clusterName, accountName, options);
|
|
1123
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1124
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.lockAccount']?.[localVarOperationServerIndex]?.url;
|
|
1125
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1126
|
+
},
|
|
1127
|
+
/**
|
|
1128
|
+
* unlock an account in cluster
|
|
1129
|
+
* @summary Unlock cluster account
|
|
1130
|
+
* @param {string} engineName name of the engine
|
|
1131
|
+
* @param {string} orgName name of the organization
|
|
1132
|
+
* @param {string} clusterName name of the cluster
|
|
1133
|
+
* @param {string} accountName name of the account
|
|
1134
|
+
* @param {*} [options] Override http request option.
|
|
1135
|
+
* @throws {RequiredError}
|
|
1136
|
+
*/
|
|
1137
|
+
async unlockAccount(engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlockAccount(engineName, orgName, clusterName, accountName, options);
|
|
1139
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1140
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.unlockAccount']?.[localVarOperationServerIndex]?.url;
|
|
1141
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1142
|
+
},
|
|
1005
1143
|
/**
|
|
1006
1144
|
* update an account in cluster
|
|
1007
1145
|
* @summary update cluster account
|
|
@@ -1172,6 +1310,26 @@ export const RdbmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1172
1310
|
listSessions(requestParameters: RdbmsApiListSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsSession>> {
|
|
1173
1311
|
return localVarFp.listSessions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.all, options).then((request) => request(axios, basePath));
|
|
1174
1312
|
},
|
|
1313
|
+
/**
|
|
1314
|
+
* lock an account in cluster
|
|
1315
|
+
* @summary Lock cluster account
|
|
1316
|
+
* @param {RdbmsApiLockAccountRequest} requestParameters Request parameters.
|
|
1317
|
+
* @param {*} [options] Override http request option.
|
|
1318
|
+
* @throws {RequiredError}
|
|
1319
|
+
*/
|
|
1320
|
+
lockAccount(requestParameters: RdbmsApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1321
|
+
return localVarFp.lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
1322
|
+
},
|
|
1323
|
+
/**
|
|
1324
|
+
* unlock an account in cluster
|
|
1325
|
+
* @summary Unlock cluster account
|
|
1326
|
+
* @param {RdbmsApiUnlockAccountRequest} requestParameters Request parameters.
|
|
1327
|
+
* @param {*} [options] Override http request option.
|
|
1328
|
+
* @throws {RequiredError}
|
|
1329
|
+
*/
|
|
1330
|
+
unlockAccount(requestParameters: RdbmsApiUnlockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1331
|
+
return localVarFp.unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
1332
|
+
},
|
|
1175
1333
|
/**
|
|
1176
1334
|
* update an account in cluster
|
|
1177
1335
|
* @summary update cluster account
|
|
@@ -1320,6 +1478,26 @@ export interface RdbmsApiInterface {
|
|
|
1320
1478
|
*/
|
|
1321
1479
|
listSessions(requestParameters: RdbmsApiListSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsSession>>;
|
|
1322
1480
|
|
|
1481
|
+
/**
|
|
1482
|
+
* lock an account in cluster
|
|
1483
|
+
* @summary Lock cluster account
|
|
1484
|
+
* @param {RdbmsApiLockAccountRequest} requestParameters Request parameters.
|
|
1485
|
+
* @param {*} [options] Override http request option.
|
|
1486
|
+
* @throws {RequiredError}
|
|
1487
|
+
* @memberof RdbmsApiInterface
|
|
1488
|
+
*/
|
|
1489
|
+
lockAccount(requestParameters: RdbmsApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* unlock an account in cluster
|
|
1493
|
+
* @summary Unlock cluster account
|
|
1494
|
+
* @param {RdbmsApiUnlockAccountRequest} requestParameters Request parameters.
|
|
1495
|
+
* @param {*} [options] Override http request option.
|
|
1496
|
+
* @throws {RequiredError}
|
|
1497
|
+
* @memberof RdbmsApiInterface
|
|
1498
|
+
*/
|
|
1499
|
+
unlockAccount(requestParameters: RdbmsApiUnlockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1500
|
+
|
|
1323
1501
|
/**
|
|
1324
1502
|
* update an account in cluster
|
|
1325
1503
|
* @summary update cluster account
|
|
@@ -1744,6 +1922,76 @@ export interface RdbmsApiListSessionsRequest {
|
|
|
1744
1922
|
readonly all?: boolean
|
|
1745
1923
|
}
|
|
1746
1924
|
|
|
1925
|
+
/**
|
|
1926
|
+
* Request parameters for lockAccount operation in RdbmsApi.
|
|
1927
|
+
* @export
|
|
1928
|
+
* @interface RdbmsApiLockAccountRequest
|
|
1929
|
+
*/
|
|
1930
|
+
export interface RdbmsApiLockAccountRequest {
|
|
1931
|
+
/**
|
|
1932
|
+
* name of the engine
|
|
1933
|
+
* @type {string}
|
|
1934
|
+
* @memberof RdbmsApiLockAccount
|
|
1935
|
+
*/
|
|
1936
|
+
readonly engineName: string
|
|
1937
|
+
|
|
1938
|
+
/**
|
|
1939
|
+
* name of the organization
|
|
1940
|
+
* @type {string}
|
|
1941
|
+
* @memberof RdbmsApiLockAccount
|
|
1942
|
+
*/
|
|
1943
|
+
readonly orgName: string
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* name of the cluster
|
|
1947
|
+
* @type {string}
|
|
1948
|
+
* @memberof RdbmsApiLockAccount
|
|
1949
|
+
*/
|
|
1950
|
+
readonly clusterName: string
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* name of the account
|
|
1954
|
+
* @type {string}
|
|
1955
|
+
* @memberof RdbmsApiLockAccount
|
|
1956
|
+
*/
|
|
1957
|
+
readonly accountName: string
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
/**
|
|
1961
|
+
* Request parameters for unlockAccount operation in RdbmsApi.
|
|
1962
|
+
* @export
|
|
1963
|
+
* @interface RdbmsApiUnlockAccountRequest
|
|
1964
|
+
*/
|
|
1965
|
+
export interface RdbmsApiUnlockAccountRequest {
|
|
1966
|
+
/**
|
|
1967
|
+
* name of the engine
|
|
1968
|
+
* @type {string}
|
|
1969
|
+
* @memberof RdbmsApiUnlockAccount
|
|
1970
|
+
*/
|
|
1971
|
+
readonly engineName: string
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
* name of the organization
|
|
1975
|
+
* @type {string}
|
|
1976
|
+
* @memberof RdbmsApiUnlockAccount
|
|
1977
|
+
*/
|
|
1978
|
+
readonly orgName: string
|
|
1979
|
+
|
|
1980
|
+
/**
|
|
1981
|
+
* name of the cluster
|
|
1982
|
+
* @type {string}
|
|
1983
|
+
* @memberof RdbmsApiUnlockAccount
|
|
1984
|
+
*/
|
|
1985
|
+
readonly clusterName: string
|
|
1986
|
+
|
|
1987
|
+
/**
|
|
1988
|
+
* name of the account
|
|
1989
|
+
* @type {string}
|
|
1990
|
+
* @memberof RdbmsApiUnlockAccount
|
|
1991
|
+
*/
|
|
1992
|
+
readonly accountName: string
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1747
1995
|
/**
|
|
1748
1996
|
* Request parameters for updateAccount operation in RdbmsApi.
|
|
1749
1997
|
* @export
|
|
@@ -2008,6 +2256,30 @@ export class RdbmsApi extends BaseAPI implements RdbmsApiInterface {
|
|
|
2008
2256
|
return RdbmsApiFp(this.configuration).listSessions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.all, options).then((request) => request(this.axios, this.basePath));
|
|
2009
2257
|
}
|
|
2010
2258
|
|
|
2259
|
+
/**
|
|
2260
|
+
* lock an account in cluster
|
|
2261
|
+
* @summary Lock cluster account
|
|
2262
|
+
* @param {RdbmsApiLockAccountRequest} requestParameters Request parameters.
|
|
2263
|
+
* @param {*} [options] Override http request option.
|
|
2264
|
+
* @throws {RequiredError}
|
|
2265
|
+
* @memberof RdbmsApi
|
|
2266
|
+
*/
|
|
2267
|
+
public lockAccount(requestParameters: RdbmsApiLockAccountRequest, options?: RawAxiosRequestConfig) {
|
|
2268
|
+
return RdbmsApiFp(this.configuration).lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
2269
|
+
}
|
|
2270
|
+
|
|
2271
|
+
/**
|
|
2272
|
+
* unlock an account in cluster
|
|
2273
|
+
* @summary Unlock cluster account
|
|
2274
|
+
* @param {RdbmsApiUnlockAccountRequest} requestParameters Request parameters.
|
|
2275
|
+
* @param {*} [options] Override http request option.
|
|
2276
|
+
* @throws {RequiredError}
|
|
2277
|
+
* @memberof RdbmsApi
|
|
2278
|
+
*/
|
|
2279
|
+
public unlockAccount(requestParameters: RdbmsApiUnlockAccountRequest, options?: RawAxiosRequestConfig) {
|
|
2280
|
+
return RdbmsApiFp(this.configuration).unlockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
2281
|
+
}
|
|
2282
|
+
|
|
2011
2283
|
/**
|
|
2012
2284
|
* update an account in cluster
|
|
2013
2285
|
* @summary update cluster account
|