kb-cloud-client-typescript 2.3.57 → 2.3.59
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 +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +841 -35
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +963 -79
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.d.ts +79 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +84 -0
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/apis/dolphindb-api.d.ts +854 -0
- package/dist/adminapi/apis/dolphindb-api.d.ts.map +1 -0
- package/dist/adminapi/apis/dolphindb-api.js +948 -0
- package/dist/adminapi/apis/dolphindb-api.js.map +1 -0
- package/dist/adminapi/apis/environment-api.d.ts +11 -11
- package/dist/adminapi/apis/environment-api.js +8 -8
- package/dist/adminapi/apis/shared-api.d.ts +844 -38
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +967 -83
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/apelocal-capacity-mode.d.ts +24 -0
- package/dist/adminapi/models/apelocal-capacity-mode.d.ts.map +1 -0
- package/dist/adminapi/models/apelocal-capacity-mode.js +28 -0
- package/dist/adminapi/models/apelocal-capacity-mode.js.map +1 -0
- package/dist/adminapi/models/apelocal-capacity-observation.d.ts +43 -0
- package/dist/adminapi/models/apelocal-capacity-observation.d.ts.map +1 -0
- package/dist/adminapi/models/apelocal-capacity-observation.js +16 -0
- package/dist/adminapi/models/apelocal-capacity-observation.js.map +1 -0
- package/dist/adminapi/models/apelocal-capacity-observations.d.ts +68 -0
- package/dist/adminapi/models/apelocal-capacity-observations.d.ts.map +1 -0
- package/dist/adminapi/models/apelocal-capacity-observations.js +16 -0
- package/dist/adminapi/models/apelocal-capacity-observations.js.map +1 -0
- package/dist/adminapi/models/apelocal-capacity-summary-mode.d.ts +23 -0
- package/dist/adminapi/models/apelocal-capacity-summary-mode.d.ts.map +1 -0
- package/dist/adminapi/models/apelocal-capacity-summary-mode.js +27 -0
- package/dist/adminapi/models/apelocal-capacity-summary-mode.js.map +1 -0
- package/dist/adminapi/models/apelocal-capacity-summary.d.ts +81 -0
- package/dist/adminapi/models/apelocal-capacity-summary.d.ts.map +1 -0
- package/dist/adminapi/models/apelocal-capacity-summary.js +16 -0
- package/dist/adminapi/models/apelocal-capacity-summary.js.map +1 -0
- package/dist/adminapi/models/apelocal-node-stats.d.ts +67 -0
- package/dist/adminapi/models/apelocal-node-stats.d.ts.map +1 -0
- package/dist/adminapi/models/apelocal-node-stats.js +16 -0
- package/dist/adminapi/models/apelocal-node-stats.js.map +1 -0
- package/dist/adminapi/models/apelocal-storage-class-stats.d.ts +63 -0
- package/dist/adminapi/models/apelocal-storage-class-stats.d.ts.map +1 -0
- package/dist/adminapi/models/apelocal-storage-class-stats.js +16 -0
- package/dist/adminapi/models/apelocal-storage-class-stats.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbcapabilities.d.ts +32 -0
- package/dist/adminapi/models/dolphin-dbcapabilities.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbcapabilities.js +16 -0
- package/dist/adminapi/models/dolphin-dbcapabilities.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbgroup-create.d.ts +31 -0
- package/dist/adminapi/models/dolphin-dbgroup-create.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbgroup-create.js +16 -0
- package/dist/adminapi/models/dolphin-dbgroup-create.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbgroup-permissions.d.ts +32 -0
- package/dist/adminapi/models/dolphin-dbgroup-permissions.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbgroup-permissions.js +16 -0
- package/dist/adminapi/models/dolphin-dbgroup-permissions.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbgroup.d.ts +31 -0
- package/dist/adminapi/models/dolphin-dbgroup.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbgroup.js +16 -0
- package/dist/adminapi/models/dolphin-dbgroup.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbmembership-change.d.ts +31 -0
- package/dist/adminapi/models/dolphin-dbmembership-change.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbmembership-change.js +16 -0
- package/dist/adminapi/models/dolphin-dbmembership-change.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbpassword-change.d.ts +25 -0
- package/dist/adminapi/models/dolphin-dbpassword-change.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbpassword-change.js +16 -0
- package/dist/adminapi/models/dolphin-dbpassword-change.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbpermission-change.d.ts +43 -0
- package/dist/adminapi/models/dolphin-dbpermission-change.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbpermission-change.js +16 -0
- package/dist/adminapi/models/dolphin-dbpermission-change.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbpermission-snapshot.d.ts +57 -0
- package/dist/adminapi/models/dolphin-dbpermission-snapshot.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbpermission-snapshot.js +16 -0
- package/dist/adminapi/models/dolphin-dbpermission-snapshot.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbpermission-state.d.ts +49 -0
- package/dist/adminapi/models/dolphin-dbpermission-state.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbpermission-state.js +16 -0
- package/dist/adminapi/models/dolphin-dbpermission-state.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbprivilege-capability.d.ts +43 -0
- package/dist/adminapi/models/dolphin-dbprivilege-capability.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbprivilege-capability.js +16 -0
- package/dist/adminapi/models/dolphin-dbprivilege-capability.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbuser-create.d.ts +43 -0
- package/dist/adminapi/models/dolphin-dbuser-create.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbuser-create.js +16 -0
- package/dist/adminapi/models/dolphin-dbuser-create.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbuser.d.ts +43 -0
- package/dist/adminapi/models/dolphin-dbuser.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbuser.js +16 -0
- package/dist/adminapi/models/dolphin-dbuser.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +19 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +19 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/storage-class-node-stats-list.d.ts +7 -0
- package/dist/adminapi/models/storage-class-node-stats-list.d.ts.map +1 -1
- package/dist/adminapi/models/storage-class-node-stats.d.ts +7 -0
- package/dist/adminapi/models/storage-class-node-stats.d.ts.map +1 -1
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +841 -35
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +963 -79
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/diagnostics-api.d.ts +79 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +84 -0
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/apis/dolphindb-api.d.ts +854 -0
- package/dist/openapi/apis/dolphindb-api.d.ts.map +1 -0
- package/dist/openapi/apis/dolphindb-api.js +948 -0
- package/dist/openapi/apis/dolphindb-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +844 -38
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +967 -83
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/dolphin-dbcapabilities.d.ts +32 -0
- package/dist/openapi/models/dolphin-dbcapabilities.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbcapabilities.js +16 -0
- package/dist/openapi/models/dolphin-dbcapabilities.js.map +1 -0
- package/dist/openapi/models/dolphin-dbgroup-create.d.ts +31 -0
- package/dist/openapi/models/dolphin-dbgroup-create.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbgroup-create.js +16 -0
- package/dist/openapi/models/dolphin-dbgroup-create.js.map +1 -0
- package/dist/openapi/models/dolphin-dbgroup-permissions.d.ts +32 -0
- package/dist/openapi/models/dolphin-dbgroup-permissions.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbgroup-permissions.js +16 -0
- package/dist/openapi/models/dolphin-dbgroup-permissions.js.map +1 -0
- package/dist/openapi/models/dolphin-dbgroup.d.ts +31 -0
- package/dist/openapi/models/dolphin-dbgroup.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbgroup.js +16 -0
- package/dist/openapi/models/dolphin-dbgroup.js.map +1 -0
- package/dist/openapi/models/dolphin-dbmembership-change.d.ts +31 -0
- package/dist/openapi/models/dolphin-dbmembership-change.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbmembership-change.js +16 -0
- package/dist/openapi/models/dolphin-dbmembership-change.js.map +1 -0
- package/dist/openapi/models/dolphin-dbpassword-change.d.ts +25 -0
- package/dist/openapi/models/dolphin-dbpassword-change.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbpassword-change.js +16 -0
- package/dist/openapi/models/dolphin-dbpassword-change.js.map +1 -0
- package/dist/openapi/models/dolphin-dbpermission-change.d.ts +43 -0
- package/dist/openapi/models/dolphin-dbpermission-change.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbpermission-change.js +16 -0
- package/dist/openapi/models/dolphin-dbpermission-change.js.map +1 -0
- package/dist/openapi/models/dolphin-dbpermission-snapshot.d.ts +57 -0
- package/dist/openapi/models/dolphin-dbpermission-snapshot.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbpermission-snapshot.js +16 -0
- package/dist/openapi/models/dolphin-dbpermission-snapshot.js.map +1 -0
- package/dist/openapi/models/dolphin-dbpermission-state.d.ts +49 -0
- package/dist/openapi/models/dolphin-dbpermission-state.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbpermission-state.js +16 -0
- package/dist/openapi/models/dolphin-dbpermission-state.js.map +1 -0
- package/dist/openapi/models/dolphin-dbprivilege-capability.d.ts +43 -0
- package/dist/openapi/models/dolphin-dbprivilege-capability.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbprivilege-capability.js +16 -0
- package/dist/openapi/models/dolphin-dbprivilege-capability.js.map +1 -0
- package/dist/openapi/models/dolphin-dbuser-create.d.ts +43 -0
- package/dist/openapi/models/dolphin-dbuser-create.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbuser-create.js +16 -0
- package/dist/openapi/models/dolphin-dbuser-create.js.map +1 -0
- package/dist/openapi/models/dolphin-dbuser.d.ts +43 -0
- package/dist/openapi/models/dolphin-dbuser.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbuser.js +16 -0
- package/dist/openapi/models/dolphin-dbuser.js.map +1 -0
- package/dist/openapi/models/index.d.ts +12 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +12 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +20 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/account-api.ts +2431 -1015
- package/src/adminapi/apis/diagnostics-api.ts +138 -0
- package/src/adminapi/apis/dolphindb-api.ts +1486 -0
- package/src/adminapi/apis/environment-api.ts +11 -11
- package/src/adminapi/apis/shared-api.ts +1601 -185
- package/src/adminapi/models/apelocal-capacity-mode.ts +33 -0
- package/src/adminapi/models/apelocal-capacity-observation.ts +48 -0
- package/src/adminapi/models/apelocal-capacity-observations.ts +75 -0
- package/src/adminapi/models/apelocal-capacity-summary-mode.ts +32 -0
- package/src/adminapi/models/apelocal-capacity-summary.ts +92 -0
- package/src/adminapi/models/apelocal-node-stats.ts +72 -0
- package/src/adminapi/models/apelocal-storage-class-stats.ts +74 -0
- package/src/adminapi/models/dolphin-dbcapabilities.ts +39 -0
- package/src/adminapi/models/dolphin-dbgroup-create.ts +36 -0
- package/src/adminapi/models/dolphin-dbgroup-permissions.ts +39 -0
- package/src/adminapi/models/dolphin-dbgroup.ts +36 -0
- package/src/adminapi/models/dolphin-dbmembership-change.ts +36 -0
- package/src/adminapi/models/dolphin-dbpassword-change.ts +30 -0
- package/src/adminapi/models/dolphin-dbpermission-change.ts +48 -0
- package/src/adminapi/models/dolphin-dbpermission-snapshot.ts +66 -0
- package/src/adminapi/models/dolphin-dbpermission-state.ts +54 -0
- package/src/adminapi/models/dolphin-dbprivilege-capability.ts +48 -0
- package/src/adminapi/models/dolphin-dbuser-create.ts +48 -0
- package/src/adminapi/models/dolphin-dbuser.ts +48 -0
- package/src/adminapi/models/index.ts +19 -0
- package/src/adminapi/models/storage-class-node-stats-list.ts +9 -0
- package/src/adminapi/models/storage-class-node-stats.ts +9 -0
- package/src/adminapi.yaml +901 -18
- package/src/openapi/.openapi-generator/FILES +13 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/account-api.ts +2431 -1015
- package/src/openapi/apis/diagnostics-api.ts +138 -0
- package/src/openapi/apis/dolphindb-api.ts +1486 -0
- package/src/openapi/apis/shared-api.ts +1439 -23
- package/src/openapi/models/dolphin-dbcapabilities.ts +39 -0
- package/src/openapi/models/dolphin-dbgroup-create.ts +36 -0
- package/src/openapi/models/dolphin-dbgroup-permissions.ts +39 -0
- package/src/openapi/models/dolphin-dbgroup.ts +36 -0
- package/src/openapi/models/dolphin-dbmembership-change.ts +36 -0
- package/src/openapi/models/dolphin-dbpassword-change.ts +30 -0
- package/src/openapi/models/dolphin-dbpermission-change.ts +48 -0
- package/src/openapi/models/dolphin-dbpermission-snapshot.ts +66 -0
- package/src/openapi/models/dolphin-dbpermission-state.ts +54 -0
- package/src/openapi/models/dolphin-dbprivilege-capability.ts +48 -0
- package/src/openapi/models/dolphin-dbuser-create.ts +48 -0
- package/src/openapi/models/dolphin-dbuser.ts +48 -0
- package/src/openapi/models/index.ts +12 -0
- package/src/openapi.yaml +726 -15
|
@@ -951,6 +951,481 @@ const AccountApiAxiosParamCreator = function (configuration) {
|
|
|
951
951
|
options: localVarRequestOptions,
|
|
952
952
|
};
|
|
953
953
|
},
|
|
954
|
+
/**
|
|
955
|
+
*
|
|
956
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
957
|
+
* @param {string} orgName
|
|
958
|
+
* @param {string} clusterName
|
|
959
|
+
* @param {string} groupName
|
|
960
|
+
* @param {DolphinDBMembershipChange} dolphinDBMembershipChange
|
|
961
|
+
* @param {*} [options] Override http request option.
|
|
962
|
+
* @throws {RequiredError}
|
|
963
|
+
*/
|
|
964
|
+
dolphinDBChangeGroupMembers: async (orgName, clusterName, groupName, dolphinDBMembershipChange, options = {}) => {
|
|
965
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
966
|
+
(0, common_1.assertParamExists)('dolphinDBChangeGroupMembers', 'orgName', orgName);
|
|
967
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
968
|
+
(0, common_1.assertParamExists)('dolphinDBChangeGroupMembers', 'clusterName', clusterName);
|
|
969
|
+
// verify required parameter 'groupName' is not null or undefined
|
|
970
|
+
(0, common_1.assertParamExists)('dolphinDBChangeGroupMembers', 'groupName', groupName);
|
|
971
|
+
// verify required parameter 'dolphinDBMembershipChange' is not null or undefined
|
|
972
|
+
(0, common_1.assertParamExists)('dolphinDBChangeGroupMembers', 'dolphinDBMembershipChange', dolphinDBMembershipChange);
|
|
973
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/groups/{groupName}/members`
|
|
974
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
975
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
976
|
+
.replace(`{${"groupName"}}`, encodeURIComponent(String(groupName)));
|
|
977
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
978
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
979
|
+
let baseOptions;
|
|
980
|
+
if (configuration) {
|
|
981
|
+
baseOptions = configuration.baseOptions;
|
|
982
|
+
}
|
|
983
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
984
|
+
const localVarHeaderParameter = {};
|
|
985
|
+
const localVarQueryParameter = {};
|
|
986
|
+
// authentication BearerToken required
|
|
987
|
+
// http bearer authentication required
|
|
988
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
989
|
+
// authentication DigestAuth required
|
|
990
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
991
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
992
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
993
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
994
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
995
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBMembershipChange, localVarRequestOptions, configuration);
|
|
996
|
+
return {
|
|
997
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
998
|
+
options: localVarRequestOptions,
|
|
999
|
+
};
|
|
1000
|
+
},
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @summary DolphinDB ChangePassword
|
|
1004
|
+
* @param {string} orgName
|
|
1005
|
+
* @param {string} clusterName
|
|
1006
|
+
* @param {string} accountName
|
|
1007
|
+
* @param {DolphinDBPasswordChange} dolphinDBPasswordChange
|
|
1008
|
+
* @param {*} [options] Override http request option.
|
|
1009
|
+
* @throws {RequiredError}
|
|
1010
|
+
*/
|
|
1011
|
+
dolphinDBChangePassword: async (orgName, clusterName, accountName, dolphinDBPasswordChange, options = {}) => {
|
|
1012
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1013
|
+
(0, common_1.assertParamExists)('dolphinDBChangePassword', 'orgName', orgName);
|
|
1014
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1015
|
+
(0, common_1.assertParamExists)('dolphinDBChangePassword', 'clusterName', clusterName);
|
|
1016
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1017
|
+
(0, common_1.assertParamExists)('dolphinDBChangePassword', 'accountName', accountName);
|
|
1018
|
+
// verify required parameter 'dolphinDBPasswordChange' is not null or undefined
|
|
1019
|
+
(0, common_1.assertParamExists)('dolphinDBChangePassword', 'dolphinDBPasswordChange', dolphinDBPasswordChange);
|
|
1020
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/password`
|
|
1021
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1022
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1023
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1024
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1025
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1026
|
+
let baseOptions;
|
|
1027
|
+
if (configuration) {
|
|
1028
|
+
baseOptions = configuration.baseOptions;
|
|
1029
|
+
}
|
|
1030
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1031
|
+
const localVarHeaderParameter = {};
|
|
1032
|
+
const localVarQueryParameter = {};
|
|
1033
|
+
// authentication BearerToken required
|
|
1034
|
+
// http bearer authentication required
|
|
1035
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1036
|
+
// authentication DigestAuth required
|
|
1037
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1038
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1039
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1040
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1041
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1042
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBPasswordChange, localVarRequestOptions, configuration);
|
|
1043
|
+
return {
|
|
1044
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1045
|
+
options: localVarRequestOptions,
|
|
1046
|
+
};
|
|
1047
|
+
},
|
|
1048
|
+
/**
|
|
1049
|
+
*
|
|
1050
|
+
* @summary DolphinDB ChangePermissions
|
|
1051
|
+
* @param {string} orgName
|
|
1052
|
+
* @param {string} clusterName
|
|
1053
|
+
* @param {string} subjectType
|
|
1054
|
+
* @param {string} subjectName
|
|
1055
|
+
* @param {DolphinDBPermissionChange} dolphinDBPermissionChange
|
|
1056
|
+
* @param {*} [options] Override http request option.
|
|
1057
|
+
* @throws {RequiredError}
|
|
1058
|
+
*/
|
|
1059
|
+
dolphinDBChangePermissions: async (orgName, clusterName, subjectType, subjectName, dolphinDBPermissionChange, options = {}) => {
|
|
1060
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1061
|
+
(0, common_1.assertParamExists)('dolphinDBChangePermissions', 'orgName', orgName);
|
|
1062
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1063
|
+
(0, common_1.assertParamExists)('dolphinDBChangePermissions', 'clusterName', clusterName);
|
|
1064
|
+
// verify required parameter 'subjectType' is not null or undefined
|
|
1065
|
+
(0, common_1.assertParamExists)('dolphinDBChangePermissions', 'subjectType', subjectType);
|
|
1066
|
+
// verify required parameter 'subjectName' is not null or undefined
|
|
1067
|
+
(0, common_1.assertParamExists)('dolphinDBChangePermissions', 'subjectName', subjectName);
|
|
1068
|
+
// verify required parameter 'dolphinDBPermissionChange' is not null or undefined
|
|
1069
|
+
(0, common_1.assertParamExists)('dolphinDBChangePermissions', 'dolphinDBPermissionChange', dolphinDBPermissionChange);
|
|
1070
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/privileges/{subjectType}/{subjectName}`
|
|
1071
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1072
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1073
|
+
.replace(`{${"subjectType"}}`, encodeURIComponent(String(subjectType)))
|
|
1074
|
+
.replace(`{${"subjectName"}}`, encodeURIComponent(String(subjectName)));
|
|
1075
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1076
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1077
|
+
let baseOptions;
|
|
1078
|
+
if (configuration) {
|
|
1079
|
+
baseOptions = configuration.baseOptions;
|
|
1080
|
+
}
|
|
1081
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1082
|
+
const localVarHeaderParameter = {};
|
|
1083
|
+
const localVarQueryParameter = {};
|
|
1084
|
+
// authentication BearerToken required
|
|
1085
|
+
// http bearer authentication required
|
|
1086
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1087
|
+
// authentication DigestAuth required
|
|
1088
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1089
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1090
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1091
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1092
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1093
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBPermissionChange, localVarRequestOptions, configuration);
|
|
1094
|
+
return {
|
|
1095
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1096
|
+
options: localVarRequestOptions,
|
|
1097
|
+
};
|
|
1098
|
+
},
|
|
1099
|
+
/**
|
|
1100
|
+
*
|
|
1101
|
+
* @summary DolphinDB CreateGroup
|
|
1102
|
+
* @param {string} orgName
|
|
1103
|
+
* @param {string} clusterName
|
|
1104
|
+
* @param {DolphinDBGroupCreate} dolphinDBGroupCreate
|
|
1105
|
+
* @param {*} [options] Override http request option.
|
|
1106
|
+
* @throws {RequiredError}
|
|
1107
|
+
*/
|
|
1108
|
+
dolphinDBCreateGroup: async (orgName, clusterName, dolphinDBGroupCreate, options = {}) => {
|
|
1109
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1110
|
+
(0, common_1.assertParamExists)('dolphinDBCreateGroup', 'orgName', orgName);
|
|
1111
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1112
|
+
(0, common_1.assertParamExists)('dolphinDBCreateGroup', 'clusterName', clusterName);
|
|
1113
|
+
// verify required parameter 'dolphinDBGroupCreate' is not null or undefined
|
|
1114
|
+
(0, common_1.assertParamExists)('dolphinDBCreateGroup', 'dolphinDBGroupCreate', dolphinDBGroupCreate);
|
|
1115
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/groups`
|
|
1116
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1117
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1118
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1119
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1120
|
+
let baseOptions;
|
|
1121
|
+
if (configuration) {
|
|
1122
|
+
baseOptions = configuration.baseOptions;
|
|
1123
|
+
}
|
|
1124
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1125
|
+
const localVarHeaderParameter = {};
|
|
1126
|
+
const localVarQueryParameter = {};
|
|
1127
|
+
// authentication BearerToken required
|
|
1128
|
+
// http bearer authentication required
|
|
1129
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1130
|
+
// authentication DigestAuth required
|
|
1131
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1132
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1133
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1135
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1136
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBGroupCreate, localVarRequestOptions, configuration);
|
|
1137
|
+
return {
|
|
1138
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1139
|
+
options: localVarRequestOptions,
|
|
1140
|
+
};
|
|
1141
|
+
},
|
|
1142
|
+
/**
|
|
1143
|
+
*
|
|
1144
|
+
* @summary DolphinDB CreateUser
|
|
1145
|
+
* @param {string} orgName
|
|
1146
|
+
* @param {string} clusterName
|
|
1147
|
+
* @param {DolphinDBUserCreate} dolphinDBUserCreate
|
|
1148
|
+
* @param {*} [options] Override http request option.
|
|
1149
|
+
* @throws {RequiredError}
|
|
1150
|
+
*/
|
|
1151
|
+
dolphinDBCreateUser: async (orgName, clusterName, dolphinDBUserCreate, options = {}) => {
|
|
1152
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1153
|
+
(0, common_1.assertParamExists)('dolphinDBCreateUser', 'orgName', orgName);
|
|
1154
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1155
|
+
(0, common_1.assertParamExists)('dolphinDBCreateUser', 'clusterName', clusterName);
|
|
1156
|
+
// verify required parameter 'dolphinDBUserCreate' is not null or undefined
|
|
1157
|
+
(0, common_1.assertParamExists)('dolphinDBCreateUser', 'dolphinDBUserCreate', dolphinDBUserCreate);
|
|
1158
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1159
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1160
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1162
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1163
|
+
let baseOptions;
|
|
1164
|
+
if (configuration) {
|
|
1165
|
+
baseOptions = configuration.baseOptions;
|
|
1166
|
+
}
|
|
1167
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1168
|
+
const localVarHeaderParameter = {};
|
|
1169
|
+
const localVarQueryParameter = {};
|
|
1170
|
+
// authentication BearerToken required
|
|
1171
|
+
// http bearer authentication required
|
|
1172
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1173
|
+
// authentication DigestAuth required
|
|
1174
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1175
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1176
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1178
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1179
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBUserCreate, localVarRequestOptions, configuration);
|
|
1180
|
+
return {
|
|
1181
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1182
|
+
options: localVarRequestOptions,
|
|
1183
|
+
};
|
|
1184
|
+
},
|
|
1185
|
+
/**
|
|
1186
|
+
*
|
|
1187
|
+
* @summary DolphinDB DeleteGroup
|
|
1188
|
+
* @param {string} orgName
|
|
1189
|
+
* @param {string} clusterName
|
|
1190
|
+
* @param {string} groupName
|
|
1191
|
+
* @param {*} [options] Override http request option.
|
|
1192
|
+
* @throws {RequiredError}
|
|
1193
|
+
*/
|
|
1194
|
+
dolphinDBDeleteGroup: async (orgName, clusterName, groupName, options = {}) => {
|
|
1195
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1196
|
+
(0, common_1.assertParamExists)('dolphinDBDeleteGroup', 'orgName', orgName);
|
|
1197
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1198
|
+
(0, common_1.assertParamExists)('dolphinDBDeleteGroup', 'clusterName', clusterName);
|
|
1199
|
+
// verify required parameter 'groupName' is not null or undefined
|
|
1200
|
+
(0, common_1.assertParamExists)('dolphinDBDeleteGroup', 'groupName', groupName);
|
|
1201
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/groups/{groupName}`
|
|
1202
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1203
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1204
|
+
.replace(`{${"groupName"}}`, encodeURIComponent(String(groupName)));
|
|
1205
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1206
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1207
|
+
let baseOptions;
|
|
1208
|
+
if (configuration) {
|
|
1209
|
+
baseOptions = configuration.baseOptions;
|
|
1210
|
+
}
|
|
1211
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1212
|
+
const localVarHeaderParameter = {};
|
|
1213
|
+
const localVarQueryParameter = {};
|
|
1214
|
+
// authentication BearerToken required
|
|
1215
|
+
// http bearer authentication required
|
|
1216
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1217
|
+
// authentication DigestAuth required
|
|
1218
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1219
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1220
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1221
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1222
|
+
return {
|
|
1223
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1224
|
+
options: localVarRequestOptions,
|
|
1225
|
+
};
|
|
1226
|
+
},
|
|
1227
|
+
/**
|
|
1228
|
+
*
|
|
1229
|
+
* @summary DolphinDB DeleteUser
|
|
1230
|
+
* @param {string} orgName
|
|
1231
|
+
* @param {string} clusterName
|
|
1232
|
+
* @param {string} accountName
|
|
1233
|
+
* @param {*} [options] Override http request option.
|
|
1234
|
+
* @throws {RequiredError}
|
|
1235
|
+
*/
|
|
1236
|
+
dolphinDBDeleteUser: async (orgName, clusterName, accountName, options = {}) => {
|
|
1237
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1238
|
+
(0, common_1.assertParamExists)('dolphinDBDeleteUser', 'orgName', orgName);
|
|
1239
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1240
|
+
(0, common_1.assertParamExists)('dolphinDBDeleteUser', 'clusterName', clusterName);
|
|
1241
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1242
|
+
(0, common_1.assertParamExists)('dolphinDBDeleteUser', 'accountName', accountName);
|
|
1243
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
1244
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1245
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1246
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1247
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1248
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1249
|
+
let baseOptions;
|
|
1250
|
+
if (configuration) {
|
|
1251
|
+
baseOptions = configuration.baseOptions;
|
|
1252
|
+
}
|
|
1253
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1254
|
+
const localVarHeaderParameter = {};
|
|
1255
|
+
const localVarQueryParameter = {};
|
|
1256
|
+
// authentication BearerToken required
|
|
1257
|
+
// http bearer authentication required
|
|
1258
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1259
|
+
// authentication DigestAuth required
|
|
1260
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1261
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1262
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1263
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1264
|
+
return {
|
|
1265
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1266
|
+
options: localVarRequestOptions,
|
|
1267
|
+
};
|
|
1268
|
+
},
|
|
1269
|
+
/**
|
|
1270
|
+
*
|
|
1271
|
+
* @summary DolphinDB GetCapabilities
|
|
1272
|
+
* @param {string} orgName
|
|
1273
|
+
* @param {string} clusterName
|
|
1274
|
+
* @param {*} [options] Override http request option.
|
|
1275
|
+
* @throws {RequiredError}
|
|
1276
|
+
*/
|
|
1277
|
+
dolphinDBGetCapabilities: async (orgName, clusterName, options = {}) => {
|
|
1278
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1279
|
+
(0, common_1.assertParamExists)('dolphinDBGetCapabilities', 'orgName', orgName);
|
|
1280
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1281
|
+
(0, common_1.assertParamExists)('dolphinDBGetCapabilities', 'clusterName', clusterName);
|
|
1282
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/privileges/capabilities`
|
|
1283
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1284
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1285
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1286
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1287
|
+
let baseOptions;
|
|
1288
|
+
if (configuration) {
|
|
1289
|
+
baseOptions = configuration.baseOptions;
|
|
1290
|
+
}
|
|
1291
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1292
|
+
const localVarHeaderParameter = {};
|
|
1293
|
+
const localVarQueryParameter = {};
|
|
1294
|
+
// authentication BearerToken required
|
|
1295
|
+
// http bearer authentication required
|
|
1296
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1297
|
+
// authentication DigestAuth required
|
|
1298
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1299
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1300
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1301
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1302
|
+
return {
|
|
1303
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1304
|
+
options: localVarRequestOptions,
|
|
1305
|
+
};
|
|
1306
|
+
},
|
|
1307
|
+
/**
|
|
1308
|
+
*
|
|
1309
|
+
* @summary DolphinDB GetPermissions
|
|
1310
|
+
* @param {string} orgName
|
|
1311
|
+
* @param {string} clusterName
|
|
1312
|
+
* @param {string} subjectType
|
|
1313
|
+
* @param {string} subjectName
|
|
1314
|
+
* @param {*} [options] Override http request option.
|
|
1315
|
+
* @throws {RequiredError}
|
|
1316
|
+
*/
|
|
1317
|
+
dolphinDBGetPermissions: async (orgName, clusterName, subjectType, subjectName, options = {}) => {
|
|
1318
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1319
|
+
(0, common_1.assertParamExists)('dolphinDBGetPermissions', 'orgName', orgName);
|
|
1320
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1321
|
+
(0, common_1.assertParamExists)('dolphinDBGetPermissions', 'clusterName', clusterName);
|
|
1322
|
+
// verify required parameter 'subjectType' is not null or undefined
|
|
1323
|
+
(0, common_1.assertParamExists)('dolphinDBGetPermissions', 'subjectType', subjectType);
|
|
1324
|
+
// verify required parameter 'subjectName' is not null or undefined
|
|
1325
|
+
(0, common_1.assertParamExists)('dolphinDBGetPermissions', 'subjectName', subjectName);
|
|
1326
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/privileges/{subjectType}/{subjectName}`
|
|
1327
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1328
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1329
|
+
.replace(`{${"subjectType"}}`, encodeURIComponent(String(subjectType)))
|
|
1330
|
+
.replace(`{${"subjectName"}}`, encodeURIComponent(String(subjectName)));
|
|
1331
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1332
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1333
|
+
let baseOptions;
|
|
1334
|
+
if (configuration) {
|
|
1335
|
+
baseOptions = configuration.baseOptions;
|
|
1336
|
+
}
|
|
1337
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1338
|
+
const localVarHeaderParameter = {};
|
|
1339
|
+
const localVarQueryParameter = {};
|
|
1340
|
+
// authentication BearerToken required
|
|
1341
|
+
// http bearer authentication required
|
|
1342
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1343
|
+
// authentication DigestAuth required
|
|
1344
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1345
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1346
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1347
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1348
|
+
return {
|
|
1349
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1350
|
+
options: localVarRequestOptions,
|
|
1351
|
+
};
|
|
1352
|
+
},
|
|
1353
|
+
/**
|
|
1354
|
+
*
|
|
1355
|
+
* @summary DolphinDB ListGroups
|
|
1356
|
+
* @param {string} orgName
|
|
1357
|
+
* @param {string} clusterName
|
|
1358
|
+
* @param {*} [options] Override http request option.
|
|
1359
|
+
* @throws {RequiredError}
|
|
1360
|
+
*/
|
|
1361
|
+
dolphinDBListGroups: async (orgName, clusterName, options = {}) => {
|
|
1362
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1363
|
+
(0, common_1.assertParamExists)('dolphinDBListGroups', 'orgName', orgName);
|
|
1364
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1365
|
+
(0, common_1.assertParamExists)('dolphinDBListGroups', 'clusterName', clusterName);
|
|
1366
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/groups`
|
|
1367
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1368
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1369
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1370
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1371
|
+
let baseOptions;
|
|
1372
|
+
if (configuration) {
|
|
1373
|
+
baseOptions = configuration.baseOptions;
|
|
1374
|
+
}
|
|
1375
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1376
|
+
const localVarHeaderParameter = {};
|
|
1377
|
+
const localVarQueryParameter = {};
|
|
1378
|
+
// authentication BearerToken required
|
|
1379
|
+
// http bearer authentication required
|
|
1380
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1381
|
+
// authentication DigestAuth required
|
|
1382
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1383
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1384
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1385
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1386
|
+
return {
|
|
1387
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1388
|
+
options: localVarRequestOptions,
|
|
1389
|
+
};
|
|
1390
|
+
},
|
|
1391
|
+
/**
|
|
1392
|
+
*
|
|
1393
|
+
* @summary DolphinDB ListUsers
|
|
1394
|
+
* @param {string} orgName
|
|
1395
|
+
* @param {string} clusterName
|
|
1396
|
+
* @param {*} [options] Override http request option.
|
|
1397
|
+
* @throws {RequiredError}
|
|
1398
|
+
*/
|
|
1399
|
+
dolphinDBListUsers: async (orgName, clusterName, options = {}) => {
|
|
1400
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1401
|
+
(0, common_1.assertParamExists)('dolphinDBListUsers', 'orgName', orgName);
|
|
1402
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1403
|
+
(0, common_1.assertParamExists)('dolphinDBListUsers', 'clusterName', clusterName);
|
|
1404
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1405
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1406
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1407
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1408
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1409
|
+
let baseOptions;
|
|
1410
|
+
if (configuration) {
|
|
1411
|
+
baseOptions = configuration.baseOptions;
|
|
1412
|
+
}
|
|
1413
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1414
|
+
const localVarHeaderParameter = {};
|
|
1415
|
+
const localVarQueryParameter = {};
|
|
1416
|
+
// authentication BearerToken required
|
|
1417
|
+
// http bearer authentication required
|
|
1418
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1419
|
+
// authentication DigestAuth required
|
|
1420
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1421
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1422
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1423
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1424
|
+
return {
|
|
1425
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1426
|
+
options: localVarRequestOptions,
|
|
1427
|
+
};
|
|
1428
|
+
},
|
|
954
1429
|
/**
|
|
955
1430
|
* Get Hive accounts
|
|
956
1431
|
* @summary Get Hive accounts
|
|
@@ -2433,173 +2908,351 @@ const AccountApiFp = function (configuration) {
|
|
|
2433
2908
|
* @param {*} [options] Override http request option.
|
|
2434
2909
|
* @throws {RequiredError}
|
|
2435
2910
|
*/
|
|
2436
|
-
async deleteAccount(engineName, orgName, clusterName, accountName, options) {
|
|
2911
|
+
async deleteAccount(engineName, orgName, clusterName, accountName, options) {
|
|
2912
|
+
var _a, _b, _c;
|
|
2913
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAccount(engineName, orgName, clusterName, accountName, options);
|
|
2914
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2915
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2916
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2917
|
+
},
|
|
2918
|
+
/**
|
|
2919
|
+
* delete an hive account in cluster
|
|
2920
|
+
* @summary Delete hive account
|
|
2921
|
+
* @param {string} orgName name of the organization
|
|
2922
|
+
* @param {string} clusterName name of the cluster
|
|
2923
|
+
* @param {string} accountName name of the account
|
|
2924
|
+
* @param {*} [options] Override http request option.
|
|
2925
|
+
* @throws {RequiredError}
|
|
2926
|
+
*/
|
|
2927
|
+
async deleteHiveAccount(orgName, clusterName, accountName, options) {
|
|
2928
|
+
var _a, _b, _c;
|
|
2929
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHiveAccount(orgName, clusterName, accountName, options);
|
|
2930
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2931
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteHiveAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2932
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2933
|
+
},
|
|
2934
|
+
/**
|
|
2935
|
+
* delete an account in cluster
|
|
2936
|
+
* @summary Delete cluster account
|
|
2937
|
+
* @param {string} orgName name of the Org
|
|
2938
|
+
* @param {string} clusterName name of the Cluster
|
|
2939
|
+
* @param {string} accountName name of the Cluster
|
|
2940
|
+
* @param {*} [options] Override http request option.
|
|
2941
|
+
* @throws {RequiredError}
|
|
2942
|
+
*/
|
|
2943
|
+
async deleteKafkaAccount(orgName, clusterName, accountName, options) {
|
|
2944
|
+
var _a, _b, _c;
|
|
2945
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteKafkaAccount(orgName, clusterName, accountName, options);
|
|
2946
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2947
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteKafkaAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2948
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2949
|
+
},
|
|
2950
|
+
/**
|
|
2951
|
+
* Delete a Milvus native role.
|
|
2952
|
+
* @summary Delete Milvus role
|
|
2953
|
+
* @param {string} orgName name of the Org
|
|
2954
|
+
* @param {string} clusterName name of the Cluster
|
|
2955
|
+
* @param {string} roleName name of the Milvus role
|
|
2956
|
+
* @param {*} [options] Override http request option.
|
|
2957
|
+
* @throws {RequiredError}
|
|
2958
|
+
*/
|
|
2959
|
+
async deleteMilvusRole(orgName, clusterName, roleName, options) {
|
|
2960
|
+
var _a, _b, _c;
|
|
2961
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMilvusRole(orgName, clusterName, roleName, options);
|
|
2962
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2963
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteMilvusRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2964
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2965
|
+
},
|
|
2966
|
+
/**
|
|
2967
|
+
* delete an account in mongodb
|
|
2968
|
+
* @summary Delete mongodb account
|
|
2969
|
+
* @param {string} orgName name of the Org
|
|
2970
|
+
* @param {string} clusterName name of the Cluster
|
|
2971
|
+
* @param {string} accountName name of the Cluster
|
|
2972
|
+
* @param {*} [options] Override http request option.
|
|
2973
|
+
* @throws {RequiredError}
|
|
2974
|
+
*/
|
|
2975
|
+
async deleteMongoDBAccount(orgName, clusterName, accountName, options) {
|
|
2976
|
+
var _a, _b, _c;
|
|
2977
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMongoDBAccount(orgName, clusterName, accountName, options);
|
|
2978
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2979
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteMongoDBAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2980
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2981
|
+
},
|
|
2982
|
+
/**
|
|
2983
|
+
*
|
|
2984
|
+
* @summary delete mssql account compatible with windows account
|
|
2985
|
+
* @param {string} orgName name of the organization
|
|
2986
|
+
* @param {string} clusterName name of the cluster
|
|
2987
|
+
* @param {string} account name of the account
|
|
2988
|
+
* @param {*} [options] Override http request option.
|
|
2989
|
+
* @throws {RequiredError}
|
|
2990
|
+
*/
|
|
2991
|
+
async deleteMssqlAccount(orgName, clusterName, account, options) {
|
|
2992
|
+
var _a, _b, _c;
|
|
2993
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMssqlAccount(orgName, clusterName, account, options);
|
|
2994
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2995
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteMssqlAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2996
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2997
|
+
},
|
|
2998
|
+
/**
|
|
2999
|
+
* Delete a RabbitMQ account
|
|
3000
|
+
* @summary Delete RabbitMQ account
|
|
3001
|
+
* @param {string} orgName name of the Org
|
|
3002
|
+
* @param {string} clusterName name of the Cluster
|
|
3003
|
+
* @param {string} accountName name of the Account
|
|
3004
|
+
* @param {*} [options] Override http request option.
|
|
3005
|
+
* @throws {RequiredError}
|
|
3006
|
+
*/
|
|
3007
|
+
async deleteRabbitAccount(orgName, clusterName, accountName, options) {
|
|
3008
|
+
var _a, _b, _c;
|
|
3009
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRabbitAccount(orgName, clusterName, accountName, options);
|
|
3010
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3011
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteRabbitAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3012
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3013
|
+
},
|
|
3014
|
+
/**
|
|
3015
|
+
*
|
|
3016
|
+
* @summary deleteSeaweedFSAccessKey
|
|
3017
|
+
* @param {string} orgName
|
|
3018
|
+
* @param {string} clusterName
|
|
3019
|
+
* @param {string} accountName
|
|
3020
|
+
* @param {string} accessKey
|
|
3021
|
+
* @param {*} [options] Override http request option.
|
|
3022
|
+
* @throws {RequiredError}
|
|
3023
|
+
*/
|
|
3024
|
+
async deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options) {
|
|
3025
|
+
var _a, _b, _c;
|
|
3026
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
|
|
3027
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3028
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteSeaweedFSAccessKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3029
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3030
|
+
},
|
|
3031
|
+
/**
|
|
3032
|
+
* delete an account in cluster
|
|
3033
|
+
* @summary deleteSeaweedFSAccount
|
|
3034
|
+
* @param {string} orgName name of the organization
|
|
3035
|
+
* @param {string} clusterName name of the cluster
|
|
3036
|
+
* @param {string} accountName name of the account
|
|
3037
|
+
* @param {*} [options] Override http request option.
|
|
3038
|
+
* @throws {RequiredError}
|
|
3039
|
+
*/
|
|
3040
|
+
async deleteSeaweedFSAccount(orgName, clusterName, accountName, options) {
|
|
3041
|
+
var _a, _b, _c;
|
|
3042
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
|
|
3043
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3044
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteSeaweedFSAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3045
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3046
|
+
},
|
|
3047
|
+
/**
|
|
3048
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
3049
|
+
* @summary deleteSeaweedFSPolicy
|
|
3050
|
+
* @param {string} orgName
|
|
3051
|
+
* @param {string} clusterName
|
|
3052
|
+
* @param {string} policyName
|
|
3053
|
+
* @param {*} [options] Override http request option.
|
|
3054
|
+
* @throws {RequiredError}
|
|
3055
|
+
*/
|
|
3056
|
+
async deleteSeaweedFSPolicy(orgName, clusterName, policyName, options) {
|
|
3057
|
+
var _a, _b, _c;
|
|
3058
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
|
|
3059
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3060
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteSeaweedFSPolicy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3061
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3062
|
+
},
|
|
3063
|
+
/**
|
|
3064
|
+
* delete a MinIO service account access key
|
|
3065
|
+
* @summary Delete MinIO access key
|
|
3066
|
+
* @param {string} engineName name of the engine
|
|
3067
|
+
* @param {string} orgName name of the organization
|
|
3068
|
+
* @param {string} clusterName name of the cluster
|
|
3069
|
+
* @param {string} accessKey MinIO access key
|
|
3070
|
+
* @param {*} [options] Override http request option.
|
|
3071
|
+
* @throws {RequiredError}
|
|
3072
|
+
*/
|
|
3073
|
+
async deleteServiceAccount(engineName, orgName, clusterName, accessKey, options) {
|
|
3074
|
+
var _a, _b, _c;
|
|
3075
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccount(engineName, orgName, clusterName, accessKey, options);
|
|
3076
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3077
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteServiceAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3078
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3079
|
+
},
|
|
3080
|
+
/**
|
|
3081
|
+
*
|
|
3082
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
3083
|
+
* @param {string} orgName
|
|
3084
|
+
* @param {string} clusterName
|
|
3085
|
+
* @param {string} groupName
|
|
3086
|
+
* @param {DolphinDBMembershipChange} dolphinDBMembershipChange
|
|
3087
|
+
* @param {*} [options] Override http request option.
|
|
3088
|
+
* @throws {RequiredError}
|
|
3089
|
+
*/
|
|
3090
|
+
async dolphinDBChangeGroupMembers(orgName, clusterName, groupName, dolphinDBMembershipChange, options) {
|
|
2437
3091
|
var _a, _b, _c;
|
|
2438
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3092
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBChangeGroupMembers(orgName, clusterName, groupName, dolphinDBMembershipChange, options);
|
|
2439
3093
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2440
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
3094
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.dolphinDBChangeGroupMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2441
3095
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2442
3096
|
},
|
|
2443
3097
|
/**
|
|
2444
|
-
*
|
|
2445
|
-
* @summary
|
|
2446
|
-
* @param {string} orgName
|
|
2447
|
-
* @param {string} clusterName
|
|
2448
|
-
* @param {string} accountName
|
|
3098
|
+
*
|
|
3099
|
+
* @summary DolphinDB ChangePassword
|
|
3100
|
+
* @param {string} orgName
|
|
3101
|
+
* @param {string} clusterName
|
|
3102
|
+
* @param {string} accountName
|
|
3103
|
+
* @param {DolphinDBPasswordChange} dolphinDBPasswordChange
|
|
2449
3104
|
* @param {*} [options] Override http request option.
|
|
2450
3105
|
* @throws {RequiredError}
|
|
2451
3106
|
*/
|
|
2452
|
-
async
|
|
3107
|
+
async dolphinDBChangePassword(orgName, clusterName, accountName, dolphinDBPasswordChange, options) {
|
|
2453
3108
|
var _a, _b, _c;
|
|
2454
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3109
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBChangePassword(orgName, clusterName, accountName, dolphinDBPasswordChange, options);
|
|
2455
3110
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2456
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
3111
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.dolphinDBChangePassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2457
3112
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2458
3113
|
},
|
|
2459
3114
|
/**
|
|
2460
|
-
*
|
|
2461
|
-
* @summary
|
|
2462
|
-
* @param {string} orgName
|
|
2463
|
-
* @param {string} clusterName
|
|
2464
|
-
* @param {string}
|
|
3115
|
+
*
|
|
3116
|
+
* @summary DolphinDB ChangePermissions
|
|
3117
|
+
* @param {string} orgName
|
|
3118
|
+
* @param {string} clusterName
|
|
3119
|
+
* @param {string} subjectType
|
|
3120
|
+
* @param {string} subjectName
|
|
3121
|
+
* @param {DolphinDBPermissionChange} dolphinDBPermissionChange
|
|
2465
3122
|
* @param {*} [options] Override http request option.
|
|
2466
3123
|
* @throws {RequiredError}
|
|
2467
3124
|
*/
|
|
2468
|
-
async
|
|
3125
|
+
async dolphinDBChangePermissions(orgName, clusterName, subjectType, subjectName, dolphinDBPermissionChange, options) {
|
|
2469
3126
|
var _a, _b, _c;
|
|
2470
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3127
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBChangePermissions(orgName, clusterName, subjectType, subjectName, dolphinDBPermissionChange, options);
|
|
2471
3128
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2472
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
3129
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.dolphinDBChangePermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2473
3130
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2474
3131
|
},
|
|
2475
3132
|
/**
|
|
2476
|
-
*
|
|
2477
|
-
* @summary
|
|
2478
|
-
* @param {string} orgName
|
|
2479
|
-
* @param {string} clusterName
|
|
2480
|
-
* @param {
|
|
3133
|
+
*
|
|
3134
|
+
* @summary DolphinDB CreateGroup
|
|
3135
|
+
* @param {string} orgName
|
|
3136
|
+
* @param {string} clusterName
|
|
3137
|
+
* @param {DolphinDBGroupCreate} dolphinDBGroupCreate
|
|
2481
3138
|
* @param {*} [options] Override http request option.
|
|
2482
3139
|
* @throws {RequiredError}
|
|
2483
3140
|
*/
|
|
2484
|
-
async
|
|
3141
|
+
async dolphinDBCreateGroup(orgName, clusterName, dolphinDBGroupCreate, options) {
|
|
2485
3142
|
var _a, _b, _c;
|
|
2486
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3143
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBCreateGroup(orgName, clusterName, dolphinDBGroupCreate, options);
|
|
2487
3144
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2488
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
3145
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.dolphinDBCreateGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2489
3146
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2490
3147
|
},
|
|
2491
3148
|
/**
|
|
2492
|
-
*
|
|
2493
|
-
* @summary
|
|
2494
|
-
* @param {string} orgName
|
|
2495
|
-
* @param {string} clusterName
|
|
2496
|
-
* @param {
|
|
3149
|
+
*
|
|
3150
|
+
* @summary DolphinDB CreateUser
|
|
3151
|
+
* @param {string} orgName
|
|
3152
|
+
* @param {string} clusterName
|
|
3153
|
+
* @param {DolphinDBUserCreate} dolphinDBUserCreate
|
|
2497
3154
|
* @param {*} [options] Override http request option.
|
|
2498
3155
|
* @throws {RequiredError}
|
|
2499
3156
|
*/
|
|
2500
|
-
async
|
|
3157
|
+
async dolphinDBCreateUser(orgName, clusterName, dolphinDBUserCreate, options) {
|
|
2501
3158
|
var _a, _b, _c;
|
|
2502
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBCreateUser(orgName, clusterName, dolphinDBUserCreate, options);
|
|
2503
3160
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2504
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
3161
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.dolphinDBCreateUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2505
3162
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2506
3163
|
},
|
|
2507
3164
|
/**
|
|
2508
3165
|
*
|
|
2509
|
-
* @summary
|
|
2510
|
-
* @param {string} orgName
|
|
2511
|
-
* @param {string} clusterName
|
|
2512
|
-
* @param {string}
|
|
3166
|
+
* @summary DolphinDB DeleteGroup
|
|
3167
|
+
* @param {string} orgName
|
|
3168
|
+
* @param {string} clusterName
|
|
3169
|
+
* @param {string} groupName
|
|
2513
3170
|
* @param {*} [options] Override http request option.
|
|
2514
3171
|
* @throws {RequiredError}
|
|
2515
3172
|
*/
|
|
2516
|
-
async
|
|
3173
|
+
async dolphinDBDeleteGroup(orgName, clusterName, groupName, options) {
|
|
2517
3174
|
var _a, _b, _c;
|
|
2518
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3175
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBDeleteGroup(orgName, clusterName, groupName, options);
|
|
2519
3176
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2520
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
3177
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.dolphinDBDeleteGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2521
3178
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2522
3179
|
},
|
|
2523
3180
|
/**
|
|
2524
|
-
*
|
|
2525
|
-
* @summary
|
|
2526
|
-
* @param {string} orgName
|
|
2527
|
-
* @param {string} clusterName
|
|
2528
|
-
* @param {string} accountName
|
|
3181
|
+
*
|
|
3182
|
+
* @summary DolphinDB DeleteUser
|
|
3183
|
+
* @param {string} orgName
|
|
3184
|
+
* @param {string} clusterName
|
|
3185
|
+
* @param {string} accountName
|
|
2529
3186
|
* @param {*} [options] Override http request option.
|
|
2530
3187
|
* @throws {RequiredError}
|
|
2531
3188
|
*/
|
|
2532
|
-
async
|
|
3189
|
+
async dolphinDBDeleteUser(orgName, clusterName, accountName, options) {
|
|
2533
3190
|
var _a, _b, _c;
|
|
2534
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3191
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBDeleteUser(orgName, clusterName, accountName, options);
|
|
2535
3192
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2536
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
3193
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.dolphinDBDeleteUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2537
3194
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2538
3195
|
},
|
|
2539
3196
|
/**
|
|
2540
3197
|
*
|
|
2541
|
-
* @summary
|
|
3198
|
+
* @summary DolphinDB GetCapabilities
|
|
2542
3199
|
* @param {string} orgName
|
|
2543
3200
|
* @param {string} clusterName
|
|
2544
|
-
* @param {string} accountName
|
|
2545
|
-
* @param {string} accessKey
|
|
2546
3201
|
* @param {*} [options] Override http request option.
|
|
2547
3202
|
* @throws {RequiredError}
|
|
2548
3203
|
*/
|
|
2549
|
-
async
|
|
3204
|
+
async dolphinDBGetCapabilities(orgName, clusterName, options) {
|
|
2550
3205
|
var _a, _b, _c;
|
|
2551
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3206
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBGetCapabilities(orgName, clusterName, options);
|
|
2552
3207
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2553
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
3208
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.dolphinDBGetCapabilities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2554
3209
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2555
3210
|
},
|
|
2556
3211
|
/**
|
|
2557
|
-
*
|
|
2558
|
-
* @summary
|
|
2559
|
-
* @param {string} orgName
|
|
2560
|
-
* @param {string} clusterName
|
|
2561
|
-
* @param {string}
|
|
3212
|
+
*
|
|
3213
|
+
* @summary DolphinDB GetPermissions
|
|
3214
|
+
* @param {string} orgName
|
|
3215
|
+
* @param {string} clusterName
|
|
3216
|
+
* @param {string} subjectType
|
|
3217
|
+
* @param {string} subjectName
|
|
2562
3218
|
* @param {*} [options] Override http request option.
|
|
2563
3219
|
* @throws {RequiredError}
|
|
2564
3220
|
*/
|
|
2565
|
-
async
|
|
3221
|
+
async dolphinDBGetPermissions(orgName, clusterName, subjectType, subjectName, options) {
|
|
2566
3222
|
var _a, _b, _c;
|
|
2567
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBGetPermissions(orgName, clusterName, subjectType, subjectName, options);
|
|
2568
3224
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2569
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
3225
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.dolphinDBGetPermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2570
3226
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2571
3227
|
},
|
|
2572
3228
|
/**
|
|
2573
|
-
*
|
|
2574
|
-
* @summary
|
|
3229
|
+
*
|
|
3230
|
+
* @summary DolphinDB ListGroups
|
|
2575
3231
|
* @param {string} orgName
|
|
2576
3232
|
* @param {string} clusterName
|
|
2577
|
-
* @param {string} policyName
|
|
2578
3233
|
* @param {*} [options] Override http request option.
|
|
2579
3234
|
* @throws {RequiredError}
|
|
2580
3235
|
*/
|
|
2581
|
-
async
|
|
3236
|
+
async dolphinDBListGroups(orgName, clusterName, options) {
|
|
2582
3237
|
var _a, _b, _c;
|
|
2583
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3238
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBListGroups(orgName, clusterName, options);
|
|
2584
3239
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2585
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
3240
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.dolphinDBListGroups']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2586
3241
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2587
3242
|
},
|
|
2588
3243
|
/**
|
|
2589
|
-
*
|
|
2590
|
-
* @summary
|
|
2591
|
-
* @param {string}
|
|
2592
|
-
* @param {string}
|
|
2593
|
-
* @param {string} clusterName name of the cluster
|
|
2594
|
-
* @param {string} accessKey MinIO access key
|
|
3244
|
+
*
|
|
3245
|
+
* @summary DolphinDB ListUsers
|
|
3246
|
+
* @param {string} orgName
|
|
3247
|
+
* @param {string} clusterName
|
|
2595
3248
|
* @param {*} [options] Override http request option.
|
|
2596
3249
|
* @throws {RequiredError}
|
|
2597
3250
|
*/
|
|
2598
|
-
async
|
|
3251
|
+
async dolphinDBListUsers(orgName, clusterName, options) {
|
|
2599
3252
|
var _a, _b, _c;
|
|
2600
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3253
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBListUsers(orgName, clusterName, options);
|
|
2601
3254
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2602
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
3255
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.dolphinDBListUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2603
3256
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2604
3257
|
},
|
|
2605
3258
|
/**
|
|
@@ -3302,6 +3955,116 @@ const AccountApiFactory = function (configuration, basePath, axios) {
|
|
|
3302
3955
|
deleteServiceAccount(requestParameters, options) {
|
|
3303
3956
|
return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
3304
3957
|
},
|
|
3958
|
+
/**
|
|
3959
|
+
*
|
|
3960
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
3961
|
+
* @param {AccountApiDolphinDBChangeGroupMembersRequest} requestParameters Request parameters.
|
|
3962
|
+
* @param {*} [options] Override http request option.
|
|
3963
|
+
* @throws {RequiredError}
|
|
3964
|
+
*/
|
|
3965
|
+
dolphinDBChangeGroupMembers(requestParameters, options) {
|
|
3966
|
+
return localVarFp.dolphinDBChangeGroupMembers(requestParameters.orgName, requestParameters.clusterName, requestParameters.groupName, requestParameters.dolphinDBMembershipChange, options).then((request) => request(axios, basePath));
|
|
3967
|
+
},
|
|
3968
|
+
/**
|
|
3969
|
+
*
|
|
3970
|
+
* @summary DolphinDB ChangePassword
|
|
3971
|
+
* @param {AccountApiDolphinDBChangePasswordRequest} requestParameters Request parameters.
|
|
3972
|
+
* @param {*} [options] Override http request option.
|
|
3973
|
+
* @throws {RequiredError}
|
|
3974
|
+
*/
|
|
3975
|
+
dolphinDBChangePassword(requestParameters, options) {
|
|
3976
|
+
return localVarFp.dolphinDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.dolphinDBPasswordChange, options).then((request) => request(axios, basePath));
|
|
3977
|
+
},
|
|
3978
|
+
/**
|
|
3979
|
+
*
|
|
3980
|
+
* @summary DolphinDB ChangePermissions
|
|
3981
|
+
* @param {AccountApiDolphinDBChangePermissionsRequest} requestParameters Request parameters.
|
|
3982
|
+
* @param {*} [options] Override http request option.
|
|
3983
|
+
* @throws {RequiredError}
|
|
3984
|
+
*/
|
|
3985
|
+
dolphinDBChangePermissions(requestParameters, options) {
|
|
3986
|
+
return localVarFp.dolphinDBChangePermissions(requestParameters.orgName, requestParameters.clusterName, requestParameters.subjectType, requestParameters.subjectName, requestParameters.dolphinDBPermissionChange, options).then((request) => request(axios, basePath));
|
|
3987
|
+
},
|
|
3988
|
+
/**
|
|
3989
|
+
*
|
|
3990
|
+
* @summary DolphinDB CreateGroup
|
|
3991
|
+
* @param {AccountApiDolphinDBCreateGroupRequest} requestParameters Request parameters.
|
|
3992
|
+
* @param {*} [options] Override http request option.
|
|
3993
|
+
* @throws {RequiredError}
|
|
3994
|
+
*/
|
|
3995
|
+
dolphinDBCreateGroup(requestParameters, options) {
|
|
3996
|
+
return localVarFp.dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(axios, basePath));
|
|
3997
|
+
},
|
|
3998
|
+
/**
|
|
3999
|
+
*
|
|
4000
|
+
* @summary DolphinDB CreateUser
|
|
4001
|
+
* @param {AccountApiDolphinDBCreateUserRequest} requestParameters Request parameters.
|
|
4002
|
+
* @param {*} [options] Override http request option.
|
|
4003
|
+
* @throws {RequiredError}
|
|
4004
|
+
*/
|
|
4005
|
+
dolphinDBCreateUser(requestParameters, options) {
|
|
4006
|
+
return localVarFp.dolphinDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBUserCreate, options).then((request) => request(axios, basePath));
|
|
4007
|
+
},
|
|
4008
|
+
/**
|
|
4009
|
+
*
|
|
4010
|
+
* @summary DolphinDB DeleteGroup
|
|
4011
|
+
* @param {AccountApiDolphinDBDeleteGroupRequest} requestParameters Request parameters.
|
|
4012
|
+
* @param {*} [options] Override http request option.
|
|
4013
|
+
* @throws {RequiredError}
|
|
4014
|
+
*/
|
|
4015
|
+
dolphinDBDeleteGroup(requestParameters, options) {
|
|
4016
|
+
return localVarFp.dolphinDBDeleteGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.groupName, options).then((request) => request(axios, basePath));
|
|
4017
|
+
},
|
|
4018
|
+
/**
|
|
4019
|
+
*
|
|
4020
|
+
* @summary DolphinDB DeleteUser
|
|
4021
|
+
* @param {AccountApiDolphinDBDeleteUserRequest} requestParameters Request parameters.
|
|
4022
|
+
* @param {*} [options] Override http request option.
|
|
4023
|
+
* @throws {RequiredError}
|
|
4024
|
+
*/
|
|
4025
|
+
dolphinDBDeleteUser(requestParameters, options) {
|
|
4026
|
+
return localVarFp.dolphinDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
4027
|
+
},
|
|
4028
|
+
/**
|
|
4029
|
+
*
|
|
4030
|
+
* @summary DolphinDB GetCapabilities
|
|
4031
|
+
* @param {AccountApiDolphinDBGetCapabilitiesRequest} requestParameters Request parameters.
|
|
4032
|
+
* @param {*} [options] Override http request option.
|
|
4033
|
+
* @throws {RequiredError}
|
|
4034
|
+
*/
|
|
4035
|
+
dolphinDBGetCapabilities(requestParameters, options) {
|
|
4036
|
+
return localVarFp.dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
4037
|
+
},
|
|
4038
|
+
/**
|
|
4039
|
+
*
|
|
4040
|
+
* @summary DolphinDB GetPermissions
|
|
4041
|
+
* @param {AccountApiDolphinDBGetPermissionsRequest} requestParameters Request parameters.
|
|
4042
|
+
* @param {*} [options] Override http request option.
|
|
4043
|
+
* @throws {RequiredError}
|
|
4044
|
+
*/
|
|
4045
|
+
dolphinDBGetPermissions(requestParameters, options) {
|
|
4046
|
+
return localVarFp.dolphinDBGetPermissions(requestParameters.orgName, requestParameters.clusterName, requestParameters.subjectType, requestParameters.subjectName, options).then((request) => request(axios, basePath));
|
|
4047
|
+
},
|
|
4048
|
+
/**
|
|
4049
|
+
*
|
|
4050
|
+
* @summary DolphinDB ListGroups
|
|
4051
|
+
* @param {AccountApiDolphinDBListGroupsRequest} requestParameters Request parameters.
|
|
4052
|
+
* @param {*} [options] Override http request option.
|
|
4053
|
+
* @throws {RequiredError}
|
|
4054
|
+
*/
|
|
4055
|
+
dolphinDBListGroups(requestParameters, options) {
|
|
4056
|
+
return localVarFp.dolphinDBListGroups(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
4057
|
+
},
|
|
4058
|
+
/**
|
|
4059
|
+
*
|
|
4060
|
+
* @summary DolphinDB ListUsers
|
|
4061
|
+
* @param {AccountApiDolphinDBListUsersRequest} requestParameters Request parameters.
|
|
4062
|
+
* @param {*} [options] Override http request option.
|
|
4063
|
+
* @throws {RequiredError}
|
|
4064
|
+
*/
|
|
4065
|
+
dolphinDBListUsers(requestParameters, options) {
|
|
4066
|
+
return localVarFp.dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
4067
|
+
},
|
|
3305
4068
|
/**
|
|
3306
4069
|
* Get Hive accounts
|
|
3307
4070
|
* @summary Get Hive accounts
|
|
@@ -3833,6 +4596,127 @@ class AccountApi extends base_1.BaseAPI {
|
|
|
3833
4596
|
deleteServiceAccount(requestParameters, options) {
|
|
3834
4597
|
return (0, exports.AccountApiFp)(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
3835
4598
|
}
|
|
4599
|
+
/**
|
|
4600
|
+
*
|
|
4601
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
4602
|
+
* @param {AccountApiDolphinDBChangeGroupMembersRequest} requestParameters Request parameters.
|
|
4603
|
+
* @param {*} [options] Override http request option.
|
|
4604
|
+
* @throws {RequiredError}
|
|
4605
|
+
* @memberof AccountApi
|
|
4606
|
+
*/
|
|
4607
|
+
dolphinDBChangeGroupMembers(requestParameters, options) {
|
|
4608
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBChangeGroupMembers(requestParameters.orgName, requestParameters.clusterName, requestParameters.groupName, requestParameters.dolphinDBMembershipChange, options).then((request) => request(this.axios, this.basePath));
|
|
4609
|
+
}
|
|
4610
|
+
/**
|
|
4611
|
+
*
|
|
4612
|
+
* @summary DolphinDB ChangePassword
|
|
4613
|
+
* @param {AccountApiDolphinDBChangePasswordRequest} requestParameters Request parameters.
|
|
4614
|
+
* @param {*} [options] Override http request option.
|
|
4615
|
+
* @throws {RequiredError}
|
|
4616
|
+
* @memberof AccountApi
|
|
4617
|
+
*/
|
|
4618
|
+
dolphinDBChangePassword(requestParameters, options) {
|
|
4619
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.dolphinDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
|
|
4620
|
+
}
|
|
4621
|
+
/**
|
|
4622
|
+
*
|
|
4623
|
+
* @summary DolphinDB ChangePermissions
|
|
4624
|
+
* @param {AccountApiDolphinDBChangePermissionsRequest} requestParameters Request parameters.
|
|
4625
|
+
* @param {*} [options] Override http request option.
|
|
4626
|
+
* @throws {RequiredError}
|
|
4627
|
+
* @memberof AccountApi
|
|
4628
|
+
*/
|
|
4629
|
+
dolphinDBChangePermissions(requestParameters, options) {
|
|
4630
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBChangePermissions(requestParameters.orgName, requestParameters.clusterName, requestParameters.subjectType, requestParameters.subjectName, requestParameters.dolphinDBPermissionChange, options).then((request) => request(this.axios, this.basePath));
|
|
4631
|
+
}
|
|
4632
|
+
/**
|
|
4633
|
+
*
|
|
4634
|
+
* @summary DolphinDB CreateGroup
|
|
4635
|
+
* @param {AccountApiDolphinDBCreateGroupRequest} requestParameters Request parameters.
|
|
4636
|
+
* @param {*} [options] Override http request option.
|
|
4637
|
+
* @throws {RequiredError}
|
|
4638
|
+
* @memberof AccountApi
|
|
4639
|
+
*/
|
|
4640
|
+
dolphinDBCreateGroup(requestParameters, options) {
|
|
4641
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(this.axios, this.basePath));
|
|
4642
|
+
}
|
|
4643
|
+
/**
|
|
4644
|
+
*
|
|
4645
|
+
* @summary DolphinDB CreateUser
|
|
4646
|
+
* @param {AccountApiDolphinDBCreateUserRequest} requestParameters Request parameters.
|
|
4647
|
+
* @param {*} [options] Override http request option.
|
|
4648
|
+
* @throws {RequiredError}
|
|
4649
|
+
* @memberof AccountApi
|
|
4650
|
+
*/
|
|
4651
|
+
dolphinDBCreateUser(requestParameters, options) {
|
|
4652
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBUserCreate, options).then((request) => request(this.axios, this.basePath));
|
|
4653
|
+
}
|
|
4654
|
+
/**
|
|
4655
|
+
*
|
|
4656
|
+
* @summary DolphinDB DeleteGroup
|
|
4657
|
+
* @param {AccountApiDolphinDBDeleteGroupRequest} requestParameters Request parameters.
|
|
4658
|
+
* @param {*} [options] Override http request option.
|
|
4659
|
+
* @throws {RequiredError}
|
|
4660
|
+
* @memberof AccountApi
|
|
4661
|
+
*/
|
|
4662
|
+
dolphinDBDeleteGroup(requestParameters, options) {
|
|
4663
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBDeleteGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
4664
|
+
}
|
|
4665
|
+
/**
|
|
4666
|
+
*
|
|
4667
|
+
* @summary DolphinDB DeleteUser
|
|
4668
|
+
* @param {AccountApiDolphinDBDeleteUserRequest} requestParameters Request parameters.
|
|
4669
|
+
* @param {*} [options] Override http request option.
|
|
4670
|
+
* @throws {RequiredError}
|
|
4671
|
+
* @memberof AccountApi
|
|
4672
|
+
*/
|
|
4673
|
+
dolphinDBDeleteUser(requestParameters, options) {
|
|
4674
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
4675
|
+
}
|
|
4676
|
+
/**
|
|
4677
|
+
*
|
|
4678
|
+
* @summary DolphinDB GetCapabilities
|
|
4679
|
+
* @param {AccountApiDolphinDBGetCapabilitiesRequest} requestParameters Request parameters.
|
|
4680
|
+
* @param {*} [options] Override http request option.
|
|
4681
|
+
* @throws {RequiredError}
|
|
4682
|
+
* @memberof AccountApi
|
|
4683
|
+
*/
|
|
4684
|
+
dolphinDBGetCapabilities(requestParameters, options) {
|
|
4685
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
4686
|
+
}
|
|
4687
|
+
/**
|
|
4688
|
+
*
|
|
4689
|
+
* @summary DolphinDB GetPermissions
|
|
4690
|
+
* @param {AccountApiDolphinDBGetPermissionsRequest} requestParameters Request parameters.
|
|
4691
|
+
* @param {*} [options] Override http request option.
|
|
4692
|
+
* @throws {RequiredError}
|
|
4693
|
+
* @memberof AccountApi
|
|
4694
|
+
*/
|
|
4695
|
+
dolphinDBGetPermissions(requestParameters, options) {
|
|
4696
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBGetPermissions(requestParameters.orgName, requestParameters.clusterName, requestParameters.subjectType, requestParameters.subjectName, options).then((request) => request(this.axios, this.basePath));
|
|
4697
|
+
}
|
|
4698
|
+
/**
|
|
4699
|
+
*
|
|
4700
|
+
* @summary DolphinDB ListGroups
|
|
4701
|
+
* @param {AccountApiDolphinDBListGroupsRequest} requestParameters Request parameters.
|
|
4702
|
+
* @param {*} [options] Override http request option.
|
|
4703
|
+
* @throws {RequiredError}
|
|
4704
|
+
* @memberof AccountApi
|
|
4705
|
+
*/
|
|
4706
|
+
dolphinDBListGroups(requestParameters, options) {
|
|
4707
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBListGroups(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
4708
|
+
}
|
|
4709
|
+
/**
|
|
4710
|
+
*
|
|
4711
|
+
* @summary DolphinDB ListUsers
|
|
4712
|
+
* @param {AccountApiDolphinDBListUsersRequest} requestParameters Request parameters.
|
|
4713
|
+
* @param {*} [options] Override http request option.
|
|
4714
|
+
* @throws {RequiredError}
|
|
4715
|
+
* @memberof AccountApi
|
|
4716
|
+
*/
|
|
4717
|
+
dolphinDBListUsers(requestParameters, options) {
|
|
4718
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
4719
|
+
}
|
|
3836
4720
|
/**
|
|
3837
4721
|
* Get Hive accounts
|
|
3838
4722
|
* @summary Get Hive accounts
|