kb-cloud-client-typescript 2.4.0-alpha.113 → 2.4.0-alpha.115
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/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/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/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 +12 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +12 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/redis-key-analysis-report.d.ts +2 -2
- package/dist/adminapi/models/redis-key-analysis-report.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/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/dist/openapi/models/redis-key-analysis-report.d.ts +2 -2
- package/dist/openapi/models/redis-key-analysis-report.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +13 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/account-api.ts +3995 -2579
- package/src/adminapi/apis/dolphindb-api.ts +1486 -0
- package/src/adminapi/apis/shared-api.ts +1601 -185
- 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 +12 -0
- package/src/adminapi/models/redis-key-analysis-report.ts +2 -2
- package/src/adminapi.yaml +674 -7
- package/src/openapi/.openapi-generator/FILES +13 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/account-api.ts +3995 -2579
- 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/models/redis-key-analysis-report.ts +2 -2
- package/src/openapi.yaml +674 -7
|
@@ -1014,6 +1014,481 @@ const AccountApiAxiosParamCreator = function (configuration) {
|
|
|
1014
1014
|
options: localVarRequestOptions,
|
|
1015
1015
|
};
|
|
1016
1016
|
},
|
|
1017
|
+
/**
|
|
1018
|
+
*
|
|
1019
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
1020
|
+
* @param {string} orgName
|
|
1021
|
+
* @param {string} clusterName
|
|
1022
|
+
* @param {string} groupName
|
|
1023
|
+
* @param {DolphinDBMembershipChange} dolphinDBMembershipChange
|
|
1024
|
+
* @param {*} [options] Override http request option.
|
|
1025
|
+
* @throws {RequiredError}
|
|
1026
|
+
*/
|
|
1027
|
+
dolphinDBChangeGroupMembers: async (orgName, clusterName, groupName, dolphinDBMembershipChange, options = {}) => {
|
|
1028
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1029
|
+
(0, common_1.assertParamExists)('dolphinDBChangeGroupMembers', 'orgName', orgName);
|
|
1030
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1031
|
+
(0, common_1.assertParamExists)('dolphinDBChangeGroupMembers', 'clusterName', clusterName);
|
|
1032
|
+
// verify required parameter 'groupName' is not null or undefined
|
|
1033
|
+
(0, common_1.assertParamExists)('dolphinDBChangeGroupMembers', 'groupName', groupName);
|
|
1034
|
+
// verify required parameter 'dolphinDBMembershipChange' is not null or undefined
|
|
1035
|
+
(0, common_1.assertParamExists)('dolphinDBChangeGroupMembers', 'dolphinDBMembershipChange', dolphinDBMembershipChange);
|
|
1036
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/groups/{groupName}/members`
|
|
1037
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1038
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1039
|
+
.replace(`{${"groupName"}}`, encodeURIComponent(String(groupName)));
|
|
1040
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1041
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1042
|
+
let baseOptions;
|
|
1043
|
+
if (configuration) {
|
|
1044
|
+
baseOptions = configuration.baseOptions;
|
|
1045
|
+
}
|
|
1046
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1047
|
+
const localVarHeaderParameter = {};
|
|
1048
|
+
const localVarQueryParameter = {};
|
|
1049
|
+
// authentication BearerToken required
|
|
1050
|
+
// http bearer authentication required
|
|
1051
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1052
|
+
// authentication DigestAuth required
|
|
1053
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1054
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1055
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1056
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1057
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1058
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBMembershipChange, localVarRequestOptions, configuration);
|
|
1059
|
+
return {
|
|
1060
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1061
|
+
options: localVarRequestOptions,
|
|
1062
|
+
};
|
|
1063
|
+
},
|
|
1064
|
+
/**
|
|
1065
|
+
*
|
|
1066
|
+
* @summary DolphinDB ChangePassword
|
|
1067
|
+
* @param {string} orgName
|
|
1068
|
+
* @param {string} clusterName
|
|
1069
|
+
* @param {string} accountName
|
|
1070
|
+
* @param {DolphinDBPasswordChange} dolphinDBPasswordChange
|
|
1071
|
+
* @param {*} [options] Override http request option.
|
|
1072
|
+
* @throws {RequiredError}
|
|
1073
|
+
*/
|
|
1074
|
+
dolphinDBChangePassword: async (orgName, clusterName, accountName, dolphinDBPasswordChange, options = {}) => {
|
|
1075
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1076
|
+
(0, common_1.assertParamExists)('dolphinDBChangePassword', 'orgName', orgName);
|
|
1077
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1078
|
+
(0, common_1.assertParamExists)('dolphinDBChangePassword', 'clusterName', clusterName);
|
|
1079
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1080
|
+
(0, common_1.assertParamExists)('dolphinDBChangePassword', 'accountName', accountName);
|
|
1081
|
+
// verify required parameter 'dolphinDBPasswordChange' is not null or undefined
|
|
1082
|
+
(0, common_1.assertParamExists)('dolphinDBChangePassword', 'dolphinDBPasswordChange', dolphinDBPasswordChange);
|
|
1083
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/password`
|
|
1084
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1085
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1086
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1087
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1088
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1089
|
+
let baseOptions;
|
|
1090
|
+
if (configuration) {
|
|
1091
|
+
baseOptions = configuration.baseOptions;
|
|
1092
|
+
}
|
|
1093
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1094
|
+
const localVarHeaderParameter = {};
|
|
1095
|
+
const localVarQueryParameter = {};
|
|
1096
|
+
// authentication BearerToken required
|
|
1097
|
+
// http bearer authentication required
|
|
1098
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1099
|
+
// authentication DigestAuth required
|
|
1100
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1101
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1102
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1103
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1104
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1105
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBPasswordChange, localVarRequestOptions, configuration);
|
|
1106
|
+
return {
|
|
1107
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1108
|
+
options: localVarRequestOptions,
|
|
1109
|
+
};
|
|
1110
|
+
},
|
|
1111
|
+
/**
|
|
1112
|
+
*
|
|
1113
|
+
* @summary DolphinDB ChangePermissions
|
|
1114
|
+
* @param {string} orgName
|
|
1115
|
+
* @param {string} clusterName
|
|
1116
|
+
* @param {string} subjectType
|
|
1117
|
+
* @param {string} subjectName
|
|
1118
|
+
* @param {DolphinDBPermissionChange} dolphinDBPermissionChange
|
|
1119
|
+
* @param {*} [options] Override http request option.
|
|
1120
|
+
* @throws {RequiredError}
|
|
1121
|
+
*/
|
|
1122
|
+
dolphinDBChangePermissions: async (orgName, clusterName, subjectType, subjectName, dolphinDBPermissionChange, options = {}) => {
|
|
1123
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1124
|
+
(0, common_1.assertParamExists)('dolphinDBChangePermissions', 'orgName', orgName);
|
|
1125
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1126
|
+
(0, common_1.assertParamExists)('dolphinDBChangePermissions', 'clusterName', clusterName);
|
|
1127
|
+
// verify required parameter 'subjectType' is not null or undefined
|
|
1128
|
+
(0, common_1.assertParamExists)('dolphinDBChangePermissions', 'subjectType', subjectType);
|
|
1129
|
+
// verify required parameter 'subjectName' is not null or undefined
|
|
1130
|
+
(0, common_1.assertParamExists)('dolphinDBChangePermissions', 'subjectName', subjectName);
|
|
1131
|
+
// verify required parameter 'dolphinDBPermissionChange' is not null or undefined
|
|
1132
|
+
(0, common_1.assertParamExists)('dolphinDBChangePermissions', 'dolphinDBPermissionChange', dolphinDBPermissionChange);
|
|
1133
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/privileges/{subjectType}/{subjectName}`
|
|
1134
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1135
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1136
|
+
.replace(`{${"subjectType"}}`, encodeURIComponent(String(subjectType)))
|
|
1137
|
+
.replace(`{${"subjectName"}}`, encodeURIComponent(String(subjectName)));
|
|
1138
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1139
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1140
|
+
let baseOptions;
|
|
1141
|
+
if (configuration) {
|
|
1142
|
+
baseOptions = configuration.baseOptions;
|
|
1143
|
+
}
|
|
1144
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1145
|
+
const localVarHeaderParameter = {};
|
|
1146
|
+
const localVarQueryParameter = {};
|
|
1147
|
+
// authentication BearerToken required
|
|
1148
|
+
// http bearer authentication required
|
|
1149
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1150
|
+
// authentication DigestAuth required
|
|
1151
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1152
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1153
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1154
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1155
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1156
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBPermissionChange, localVarRequestOptions, configuration);
|
|
1157
|
+
return {
|
|
1158
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1159
|
+
options: localVarRequestOptions,
|
|
1160
|
+
};
|
|
1161
|
+
},
|
|
1162
|
+
/**
|
|
1163
|
+
*
|
|
1164
|
+
* @summary DolphinDB CreateGroup
|
|
1165
|
+
* @param {string} orgName
|
|
1166
|
+
* @param {string} clusterName
|
|
1167
|
+
* @param {DolphinDBGroupCreate} dolphinDBGroupCreate
|
|
1168
|
+
* @param {*} [options] Override http request option.
|
|
1169
|
+
* @throws {RequiredError}
|
|
1170
|
+
*/
|
|
1171
|
+
dolphinDBCreateGroup: async (orgName, clusterName, dolphinDBGroupCreate, options = {}) => {
|
|
1172
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1173
|
+
(0, common_1.assertParamExists)('dolphinDBCreateGroup', 'orgName', orgName);
|
|
1174
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1175
|
+
(0, common_1.assertParamExists)('dolphinDBCreateGroup', 'clusterName', clusterName);
|
|
1176
|
+
// verify required parameter 'dolphinDBGroupCreate' is not null or undefined
|
|
1177
|
+
(0, common_1.assertParamExists)('dolphinDBCreateGroup', 'dolphinDBGroupCreate', dolphinDBGroupCreate);
|
|
1178
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/groups`
|
|
1179
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1180
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1181
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1182
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1183
|
+
let baseOptions;
|
|
1184
|
+
if (configuration) {
|
|
1185
|
+
baseOptions = configuration.baseOptions;
|
|
1186
|
+
}
|
|
1187
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1188
|
+
const localVarHeaderParameter = {};
|
|
1189
|
+
const localVarQueryParameter = {};
|
|
1190
|
+
// authentication BearerToken required
|
|
1191
|
+
// http bearer authentication required
|
|
1192
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1193
|
+
// authentication DigestAuth required
|
|
1194
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1195
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1196
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1198
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1199
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBGroupCreate, localVarRequestOptions, configuration);
|
|
1200
|
+
return {
|
|
1201
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1202
|
+
options: localVarRequestOptions,
|
|
1203
|
+
};
|
|
1204
|
+
},
|
|
1205
|
+
/**
|
|
1206
|
+
*
|
|
1207
|
+
* @summary DolphinDB CreateUser
|
|
1208
|
+
* @param {string} orgName
|
|
1209
|
+
* @param {string} clusterName
|
|
1210
|
+
* @param {DolphinDBUserCreate} dolphinDBUserCreate
|
|
1211
|
+
* @param {*} [options] Override http request option.
|
|
1212
|
+
* @throws {RequiredError}
|
|
1213
|
+
*/
|
|
1214
|
+
dolphinDBCreateUser: async (orgName, clusterName, dolphinDBUserCreate, options = {}) => {
|
|
1215
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1216
|
+
(0, common_1.assertParamExists)('dolphinDBCreateUser', 'orgName', orgName);
|
|
1217
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1218
|
+
(0, common_1.assertParamExists)('dolphinDBCreateUser', 'clusterName', clusterName);
|
|
1219
|
+
// verify required parameter 'dolphinDBUserCreate' is not null or undefined
|
|
1220
|
+
(0, common_1.assertParamExists)('dolphinDBCreateUser', 'dolphinDBUserCreate', dolphinDBUserCreate);
|
|
1221
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1222
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1223
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1224
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1225
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1226
|
+
let baseOptions;
|
|
1227
|
+
if (configuration) {
|
|
1228
|
+
baseOptions = configuration.baseOptions;
|
|
1229
|
+
}
|
|
1230
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1231
|
+
const localVarHeaderParameter = {};
|
|
1232
|
+
const localVarQueryParameter = {};
|
|
1233
|
+
// authentication BearerToken required
|
|
1234
|
+
// http bearer authentication required
|
|
1235
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1236
|
+
// authentication DigestAuth required
|
|
1237
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1238
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1239
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1240
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1241
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1242
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBUserCreate, localVarRequestOptions, configuration);
|
|
1243
|
+
return {
|
|
1244
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1245
|
+
options: localVarRequestOptions,
|
|
1246
|
+
};
|
|
1247
|
+
},
|
|
1248
|
+
/**
|
|
1249
|
+
*
|
|
1250
|
+
* @summary DolphinDB DeleteGroup
|
|
1251
|
+
* @param {string} orgName
|
|
1252
|
+
* @param {string} clusterName
|
|
1253
|
+
* @param {string} groupName
|
|
1254
|
+
* @param {*} [options] Override http request option.
|
|
1255
|
+
* @throws {RequiredError}
|
|
1256
|
+
*/
|
|
1257
|
+
dolphinDBDeleteGroup: async (orgName, clusterName, groupName, options = {}) => {
|
|
1258
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1259
|
+
(0, common_1.assertParamExists)('dolphinDBDeleteGroup', 'orgName', orgName);
|
|
1260
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1261
|
+
(0, common_1.assertParamExists)('dolphinDBDeleteGroup', 'clusterName', clusterName);
|
|
1262
|
+
// verify required parameter 'groupName' is not null or undefined
|
|
1263
|
+
(0, common_1.assertParamExists)('dolphinDBDeleteGroup', 'groupName', groupName);
|
|
1264
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/groups/{groupName}`
|
|
1265
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1266
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1267
|
+
.replace(`{${"groupName"}}`, encodeURIComponent(String(groupName)));
|
|
1268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1269
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1270
|
+
let baseOptions;
|
|
1271
|
+
if (configuration) {
|
|
1272
|
+
baseOptions = configuration.baseOptions;
|
|
1273
|
+
}
|
|
1274
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1275
|
+
const localVarHeaderParameter = {};
|
|
1276
|
+
const localVarQueryParameter = {};
|
|
1277
|
+
// authentication BearerToken required
|
|
1278
|
+
// http bearer authentication required
|
|
1279
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1280
|
+
// authentication DigestAuth required
|
|
1281
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1282
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1283
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1284
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1285
|
+
return {
|
|
1286
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1287
|
+
options: localVarRequestOptions,
|
|
1288
|
+
};
|
|
1289
|
+
},
|
|
1290
|
+
/**
|
|
1291
|
+
*
|
|
1292
|
+
* @summary DolphinDB DeleteUser
|
|
1293
|
+
* @param {string} orgName
|
|
1294
|
+
* @param {string} clusterName
|
|
1295
|
+
* @param {string} accountName
|
|
1296
|
+
* @param {*} [options] Override http request option.
|
|
1297
|
+
* @throws {RequiredError}
|
|
1298
|
+
*/
|
|
1299
|
+
dolphinDBDeleteUser: async (orgName, clusterName, accountName, options = {}) => {
|
|
1300
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1301
|
+
(0, common_1.assertParamExists)('dolphinDBDeleteUser', 'orgName', orgName);
|
|
1302
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1303
|
+
(0, common_1.assertParamExists)('dolphinDBDeleteUser', 'clusterName', clusterName);
|
|
1304
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1305
|
+
(0, common_1.assertParamExists)('dolphinDBDeleteUser', 'accountName', accountName);
|
|
1306
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
1307
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1308
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1309
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1310
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1311
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1312
|
+
let baseOptions;
|
|
1313
|
+
if (configuration) {
|
|
1314
|
+
baseOptions = configuration.baseOptions;
|
|
1315
|
+
}
|
|
1316
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1317
|
+
const localVarHeaderParameter = {};
|
|
1318
|
+
const localVarQueryParameter = {};
|
|
1319
|
+
// authentication BearerToken required
|
|
1320
|
+
// http bearer authentication required
|
|
1321
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1322
|
+
// authentication DigestAuth required
|
|
1323
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1324
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1325
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1326
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1327
|
+
return {
|
|
1328
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1329
|
+
options: localVarRequestOptions,
|
|
1330
|
+
};
|
|
1331
|
+
},
|
|
1332
|
+
/**
|
|
1333
|
+
*
|
|
1334
|
+
* @summary DolphinDB GetCapabilities
|
|
1335
|
+
* @param {string} orgName
|
|
1336
|
+
* @param {string} clusterName
|
|
1337
|
+
* @param {*} [options] Override http request option.
|
|
1338
|
+
* @throws {RequiredError}
|
|
1339
|
+
*/
|
|
1340
|
+
dolphinDBGetCapabilities: async (orgName, clusterName, options = {}) => {
|
|
1341
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1342
|
+
(0, common_1.assertParamExists)('dolphinDBGetCapabilities', 'orgName', orgName);
|
|
1343
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1344
|
+
(0, common_1.assertParamExists)('dolphinDBGetCapabilities', 'clusterName', clusterName);
|
|
1345
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/privileges/capabilities`
|
|
1346
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1347
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1348
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1349
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1350
|
+
let baseOptions;
|
|
1351
|
+
if (configuration) {
|
|
1352
|
+
baseOptions = configuration.baseOptions;
|
|
1353
|
+
}
|
|
1354
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1355
|
+
const localVarHeaderParameter = {};
|
|
1356
|
+
const localVarQueryParameter = {};
|
|
1357
|
+
// authentication BearerToken required
|
|
1358
|
+
// http bearer authentication required
|
|
1359
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1360
|
+
// authentication DigestAuth required
|
|
1361
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1362
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1363
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1364
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1365
|
+
return {
|
|
1366
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1367
|
+
options: localVarRequestOptions,
|
|
1368
|
+
};
|
|
1369
|
+
},
|
|
1370
|
+
/**
|
|
1371
|
+
*
|
|
1372
|
+
* @summary DolphinDB GetPermissions
|
|
1373
|
+
* @param {string} orgName
|
|
1374
|
+
* @param {string} clusterName
|
|
1375
|
+
* @param {string} subjectType
|
|
1376
|
+
* @param {string} subjectName
|
|
1377
|
+
* @param {*} [options] Override http request option.
|
|
1378
|
+
* @throws {RequiredError}
|
|
1379
|
+
*/
|
|
1380
|
+
dolphinDBGetPermissions: async (orgName, clusterName, subjectType, subjectName, options = {}) => {
|
|
1381
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1382
|
+
(0, common_1.assertParamExists)('dolphinDBGetPermissions', 'orgName', orgName);
|
|
1383
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1384
|
+
(0, common_1.assertParamExists)('dolphinDBGetPermissions', 'clusterName', clusterName);
|
|
1385
|
+
// verify required parameter 'subjectType' is not null or undefined
|
|
1386
|
+
(0, common_1.assertParamExists)('dolphinDBGetPermissions', 'subjectType', subjectType);
|
|
1387
|
+
// verify required parameter 'subjectName' is not null or undefined
|
|
1388
|
+
(0, common_1.assertParamExists)('dolphinDBGetPermissions', 'subjectName', subjectName);
|
|
1389
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/privileges/{subjectType}/{subjectName}`
|
|
1390
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1391
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1392
|
+
.replace(`{${"subjectType"}}`, encodeURIComponent(String(subjectType)))
|
|
1393
|
+
.replace(`{${"subjectName"}}`, encodeURIComponent(String(subjectName)));
|
|
1394
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1395
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1396
|
+
let baseOptions;
|
|
1397
|
+
if (configuration) {
|
|
1398
|
+
baseOptions = configuration.baseOptions;
|
|
1399
|
+
}
|
|
1400
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1401
|
+
const localVarHeaderParameter = {};
|
|
1402
|
+
const localVarQueryParameter = {};
|
|
1403
|
+
// authentication BearerToken required
|
|
1404
|
+
// http bearer authentication required
|
|
1405
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1406
|
+
// authentication DigestAuth required
|
|
1407
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1408
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1409
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1410
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1411
|
+
return {
|
|
1412
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1413
|
+
options: localVarRequestOptions,
|
|
1414
|
+
};
|
|
1415
|
+
},
|
|
1416
|
+
/**
|
|
1417
|
+
*
|
|
1418
|
+
* @summary DolphinDB ListGroups
|
|
1419
|
+
* @param {string} orgName
|
|
1420
|
+
* @param {string} clusterName
|
|
1421
|
+
* @param {*} [options] Override http request option.
|
|
1422
|
+
* @throws {RequiredError}
|
|
1423
|
+
*/
|
|
1424
|
+
dolphinDBListGroups: async (orgName, clusterName, options = {}) => {
|
|
1425
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1426
|
+
(0, common_1.assertParamExists)('dolphinDBListGroups', 'orgName', orgName);
|
|
1427
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1428
|
+
(0, common_1.assertParamExists)('dolphinDBListGroups', 'clusterName', clusterName);
|
|
1429
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/groups`
|
|
1430
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1431
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1432
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1433
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1434
|
+
let baseOptions;
|
|
1435
|
+
if (configuration) {
|
|
1436
|
+
baseOptions = configuration.baseOptions;
|
|
1437
|
+
}
|
|
1438
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1439
|
+
const localVarHeaderParameter = {};
|
|
1440
|
+
const localVarQueryParameter = {};
|
|
1441
|
+
// authentication BearerToken required
|
|
1442
|
+
// http bearer authentication required
|
|
1443
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1444
|
+
// authentication DigestAuth required
|
|
1445
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1446
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1447
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1448
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1449
|
+
return {
|
|
1450
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1451
|
+
options: localVarRequestOptions,
|
|
1452
|
+
};
|
|
1453
|
+
},
|
|
1454
|
+
/**
|
|
1455
|
+
*
|
|
1456
|
+
* @summary DolphinDB ListUsers
|
|
1457
|
+
* @param {string} orgName
|
|
1458
|
+
* @param {string} clusterName
|
|
1459
|
+
* @param {*} [options] Override http request option.
|
|
1460
|
+
* @throws {RequiredError}
|
|
1461
|
+
*/
|
|
1462
|
+
dolphinDBListUsers: async (orgName, clusterName, options = {}) => {
|
|
1463
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1464
|
+
(0, common_1.assertParamExists)('dolphinDBListUsers', 'orgName', orgName);
|
|
1465
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1466
|
+
(0, common_1.assertParamExists)('dolphinDBListUsers', 'clusterName', clusterName);
|
|
1467
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1468
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1469
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1470
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1471
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1472
|
+
let baseOptions;
|
|
1473
|
+
if (configuration) {
|
|
1474
|
+
baseOptions = configuration.baseOptions;
|
|
1475
|
+
}
|
|
1476
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1477
|
+
const localVarHeaderParameter = {};
|
|
1478
|
+
const localVarQueryParameter = {};
|
|
1479
|
+
// authentication BearerToken required
|
|
1480
|
+
// http bearer authentication required
|
|
1481
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1482
|
+
// authentication DigestAuth required
|
|
1483
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1484
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1485
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1486
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1487
|
+
return {
|
|
1488
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1489
|
+
options: localVarRequestOptions,
|
|
1490
|
+
};
|
|
1491
|
+
},
|
|
1017
1492
|
/**
|
|
1018
1493
|
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
1019
1494
|
* @summary List native object privilege capabilities for the connected server
|
|
@@ -3616,173 +4091,351 @@ const AccountApiFp = function (configuration) {
|
|
|
3616
4091
|
* @param {*} [options] Override http request option.
|
|
3617
4092
|
* @throws {RequiredError}
|
|
3618
4093
|
*/
|
|
3619
|
-
async deleteAccount(engineName, orgName, clusterName, accountName, options) {
|
|
4094
|
+
async deleteAccount(engineName, orgName, clusterName, accountName, options) {
|
|
4095
|
+
var _a, _b, _c;
|
|
4096
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAccount(engineName, orgName, clusterName, accountName, options);
|
|
4097
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4098
|
+
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;
|
|
4099
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4100
|
+
},
|
|
4101
|
+
/**
|
|
4102
|
+
* delete an hive account in cluster
|
|
4103
|
+
* @summary Delete hive account
|
|
4104
|
+
* @param {string} orgName name of the organization
|
|
4105
|
+
* @param {string} clusterName name of the cluster
|
|
4106
|
+
* @param {string} accountName name of the account
|
|
4107
|
+
* @param {*} [options] Override http request option.
|
|
4108
|
+
* @throws {RequiredError}
|
|
4109
|
+
*/
|
|
4110
|
+
async deleteHiveAccount(orgName, clusterName, accountName, options) {
|
|
4111
|
+
var _a, _b, _c;
|
|
4112
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHiveAccount(orgName, clusterName, accountName, options);
|
|
4113
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4114
|
+
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;
|
|
4115
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4116
|
+
},
|
|
4117
|
+
/**
|
|
4118
|
+
* delete an account in cluster
|
|
4119
|
+
* @summary Delete cluster account
|
|
4120
|
+
* @param {string} orgName name of the Org
|
|
4121
|
+
* @param {string} clusterName name of the Cluster
|
|
4122
|
+
* @param {string} accountName name of the Cluster
|
|
4123
|
+
* @param {*} [options] Override http request option.
|
|
4124
|
+
* @throws {RequiredError}
|
|
4125
|
+
*/
|
|
4126
|
+
async deleteKafkaAccount(orgName, clusterName, accountName, options) {
|
|
4127
|
+
var _a, _b, _c;
|
|
4128
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteKafkaAccount(orgName, clusterName, accountName, options);
|
|
4129
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4130
|
+
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;
|
|
4131
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4132
|
+
},
|
|
4133
|
+
/**
|
|
4134
|
+
* Delete a Milvus native role.
|
|
4135
|
+
* @summary Delete Milvus role
|
|
4136
|
+
* @param {string} orgName name of the Org
|
|
4137
|
+
* @param {string} clusterName name of the Cluster
|
|
4138
|
+
* @param {string} roleName name of the Milvus role
|
|
4139
|
+
* @param {*} [options] Override http request option.
|
|
4140
|
+
* @throws {RequiredError}
|
|
4141
|
+
*/
|
|
4142
|
+
async deleteMilvusRole(orgName, clusterName, roleName, options) {
|
|
4143
|
+
var _a, _b, _c;
|
|
4144
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMilvusRole(orgName, clusterName, roleName, options);
|
|
4145
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4146
|
+
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;
|
|
4147
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4148
|
+
},
|
|
4149
|
+
/**
|
|
4150
|
+
* delete an account in mongodb
|
|
4151
|
+
* @summary Delete mongodb account
|
|
4152
|
+
* @param {string} orgName name of the Org
|
|
4153
|
+
* @param {string} clusterName name of the Cluster
|
|
4154
|
+
* @param {string} accountName name of the Cluster
|
|
4155
|
+
* @param {*} [options] Override http request option.
|
|
4156
|
+
* @throws {RequiredError}
|
|
4157
|
+
*/
|
|
4158
|
+
async deleteMongoDBAccount(orgName, clusterName, accountName, options) {
|
|
4159
|
+
var _a, _b, _c;
|
|
4160
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMongoDBAccount(orgName, clusterName, accountName, options);
|
|
4161
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4162
|
+
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;
|
|
4163
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4164
|
+
},
|
|
4165
|
+
/**
|
|
4166
|
+
*
|
|
4167
|
+
* @summary delete mssql account compatible with windows account
|
|
4168
|
+
* @param {string} orgName name of the organization
|
|
4169
|
+
* @param {string} clusterName name of the cluster
|
|
4170
|
+
* @param {string} account name of the account
|
|
4171
|
+
* @param {*} [options] Override http request option.
|
|
4172
|
+
* @throws {RequiredError}
|
|
4173
|
+
*/
|
|
4174
|
+
async deleteMssqlAccount(orgName, clusterName, account, options) {
|
|
4175
|
+
var _a, _b, _c;
|
|
4176
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMssqlAccount(orgName, clusterName, account, options);
|
|
4177
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4178
|
+
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;
|
|
4179
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4180
|
+
},
|
|
4181
|
+
/**
|
|
4182
|
+
* Delete a RabbitMQ account
|
|
4183
|
+
* @summary Delete RabbitMQ account
|
|
4184
|
+
* @param {string} orgName name of the Org
|
|
4185
|
+
* @param {string} clusterName name of the Cluster
|
|
4186
|
+
* @param {string} accountName name of the Account
|
|
4187
|
+
* @param {*} [options] Override http request option.
|
|
4188
|
+
* @throws {RequiredError}
|
|
4189
|
+
*/
|
|
4190
|
+
async deleteRabbitAccount(orgName, clusterName, accountName, options) {
|
|
4191
|
+
var _a, _b, _c;
|
|
4192
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRabbitAccount(orgName, clusterName, accountName, options);
|
|
4193
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4194
|
+
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;
|
|
4195
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4196
|
+
},
|
|
4197
|
+
/**
|
|
4198
|
+
*
|
|
4199
|
+
* @summary deleteSeaweedFSAccessKey
|
|
4200
|
+
* @param {string} orgName
|
|
4201
|
+
* @param {string} clusterName
|
|
4202
|
+
* @param {string} accountName
|
|
4203
|
+
* @param {string} accessKey
|
|
4204
|
+
* @param {*} [options] Override http request option.
|
|
4205
|
+
* @throws {RequiredError}
|
|
4206
|
+
*/
|
|
4207
|
+
async deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options) {
|
|
4208
|
+
var _a, _b, _c;
|
|
4209
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
|
|
4210
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4211
|
+
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;
|
|
4212
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4213
|
+
},
|
|
4214
|
+
/**
|
|
4215
|
+
* delete an account in cluster
|
|
4216
|
+
* @summary deleteSeaweedFSAccount
|
|
4217
|
+
* @param {string} orgName name of the organization
|
|
4218
|
+
* @param {string} clusterName name of the cluster
|
|
4219
|
+
* @param {string} accountName name of the account
|
|
4220
|
+
* @param {*} [options] Override http request option.
|
|
4221
|
+
* @throws {RequiredError}
|
|
4222
|
+
*/
|
|
4223
|
+
async deleteSeaweedFSAccount(orgName, clusterName, accountName, options) {
|
|
4224
|
+
var _a, _b, _c;
|
|
4225
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
|
|
4226
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4227
|
+
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;
|
|
4228
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4229
|
+
},
|
|
4230
|
+
/**
|
|
4231
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
4232
|
+
* @summary deleteSeaweedFSPolicy
|
|
4233
|
+
* @param {string} orgName
|
|
4234
|
+
* @param {string} clusterName
|
|
4235
|
+
* @param {string} policyName
|
|
4236
|
+
* @param {*} [options] Override http request option.
|
|
4237
|
+
* @throws {RequiredError}
|
|
4238
|
+
*/
|
|
4239
|
+
async deleteSeaweedFSPolicy(orgName, clusterName, policyName, options) {
|
|
4240
|
+
var _a, _b, _c;
|
|
4241
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
|
|
4242
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4243
|
+
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;
|
|
4244
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4245
|
+
},
|
|
4246
|
+
/**
|
|
4247
|
+
* delete a MinIO service account access key
|
|
4248
|
+
* @summary Delete MinIO access key
|
|
4249
|
+
* @param {string} engineName name of the engine
|
|
4250
|
+
* @param {string} orgName name of the organization
|
|
4251
|
+
* @param {string} clusterName name of the cluster
|
|
4252
|
+
* @param {string} accessKey MinIO access key
|
|
4253
|
+
* @param {*} [options] Override http request option.
|
|
4254
|
+
* @throws {RequiredError}
|
|
4255
|
+
*/
|
|
4256
|
+
async deleteServiceAccount(engineName, orgName, clusterName, accessKey, options) {
|
|
4257
|
+
var _a, _b, _c;
|
|
4258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccount(engineName, orgName, clusterName, accessKey, options);
|
|
4259
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4260
|
+
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;
|
|
4261
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4262
|
+
},
|
|
4263
|
+
/**
|
|
4264
|
+
*
|
|
4265
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
4266
|
+
* @param {string} orgName
|
|
4267
|
+
* @param {string} clusterName
|
|
4268
|
+
* @param {string} groupName
|
|
4269
|
+
* @param {DolphinDBMembershipChange} dolphinDBMembershipChange
|
|
4270
|
+
* @param {*} [options] Override http request option.
|
|
4271
|
+
* @throws {RequiredError}
|
|
4272
|
+
*/
|
|
4273
|
+
async dolphinDBChangeGroupMembers(orgName, clusterName, groupName, dolphinDBMembershipChange, options) {
|
|
3620
4274
|
var _a, _b, _c;
|
|
3621
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4275
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBChangeGroupMembers(orgName, clusterName, groupName, dolphinDBMembershipChange, options);
|
|
3622
4276
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3623
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
4277
|
+
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;
|
|
3624
4278
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3625
4279
|
},
|
|
3626
4280
|
/**
|
|
3627
|
-
*
|
|
3628
|
-
* @summary
|
|
3629
|
-
* @param {string} orgName
|
|
3630
|
-
* @param {string} clusterName
|
|
3631
|
-
* @param {string} accountName
|
|
4281
|
+
*
|
|
4282
|
+
* @summary DolphinDB ChangePassword
|
|
4283
|
+
* @param {string} orgName
|
|
4284
|
+
* @param {string} clusterName
|
|
4285
|
+
* @param {string} accountName
|
|
4286
|
+
* @param {DolphinDBPasswordChange} dolphinDBPasswordChange
|
|
3632
4287
|
* @param {*} [options] Override http request option.
|
|
3633
4288
|
* @throws {RequiredError}
|
|
3634
4289
|
*/
|
|
3635
|
-
async
|
|
4290
|
+
async dolphinDBChangePassword(orgName, clusterName, accountName, dolphinDBPasswordChange, options) {
|
|
3636
4291
|
var _a, _b, _c;
|
|
3637
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4292
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBChangePassword(orgName, clusterName, accountName, dolphinDBPasswordChange, options);
|
|
3638
4293
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3639
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
4294
|
+
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;
|
|
3640
4295
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3641
4296
|
},
|
|
3642
4297
|
/**
|
|
3643
|
-
*
|
|
3644
|
-
* @summary
|
|
3645
|
-
* @param {string} orgName
|
|
3646
|
-
* @param {string} clusterName
|
|
3647
|
-
* @param {string}
|
|
4298
|
+
*
|
|
4299
|
+
* @summary DolphinDB ChangePermissions
|
|
4300
|
+
* @param {string} orgName
|
|
4301
|
+
* @param {string} clusterName
|
|
4302
|
+
* @param {string} subjectType
|
|
4303
|
+
* @param {string} subjectName
|
|
4304
|
+
* @param {DolphinDBPermissionChange} dolphinDBPermissionChange
|
|
3648
4305
|
* @param {*} [options] Override http request option.
|
|
3649
4306
|
* @throws {RequiredError}
|
|
3650
4307
|
*/
|
|
3651
|
-
async
|
|
4308
|
+
async dolphinDBChangePermissions(orgName, clusterName, subjectType, subjectName, dolphinDBPermissionChange, options) {
|
|
3652
4309
|
var _a, _b, _c;
|
|
3653
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4310
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBChangePermissions(orgName, clusterName, subjectType, subjectName, dolphinDBPermissionChange, options);
|
|
3654
4311
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3655
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
4312
|
+
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;
|
|
3656
4313
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3657
4314
|
},
|
|
3658
4315
|
/**
|
|
3659
|
-
*
|
|
3660
|
-
* @summary
|
|
3661
|
-
* @param {string} orgName
|
|
3662
|
-
* @param {string} clusterName
|
|
3663
|
-
* @param {
|
|
4316
|
+
*
|
|
4317
|
+
* @summary DolphinDB CreateGroup
|
|
4318
|
+
* @param {string} orgName
|
|
4319
|
+
* @param {string} clusterName
|
|
4320
|
+
* @param {DolphinDBGroupCreate} dolphinDBGroupCreate
|
|
3664
4321
|
* @param {*} [options] Override http request option.
|
|
3665
4322
|
* @throws {RequiredError}
|
|
3666
4323
|
*/
|
|
3667
|
-
async
|
|
4324
|
+
async dolphinDBCreateGroup(orgName, clusterName, dolphinDBGroupCreate, options) {
|
|
3668
4325
|
var _a, _b, _c;
|
|
3669
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4326
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBCreateGroup(orgName, clusterName, dolphinDBGroupCreate, options);
|
|
3670
4327
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3671
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
4328
|
+
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;
|
|
3672
4329
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3673
4330
|
},
|
|
3674
4331
|
/**
|
|
3675
|
-
*
|
|
3676
|
-
* @summary
|
|
3677
|
-
* @param {string} orgName
|
|
3678
|
-
* @param {string} clusterName
|
|
3679
|
-
* @param {
|
|
4332
|
+
*
|
|
4333
|
+
* @summary DolphinDB CreateUser
|
|
4334
|
+
* @param {string} orgName
|
|
4335
|
+
* @param {string} clusterName
|
|
4336
|
+
* @param {DolphinDBUserCreate} dolphinDBUserCreate
|
|
3680
4337
|
* @param {*} [options] Override http request option.
|
|
3681
4338
|
* @throws {RequiredError}
|
|
3682
4339
|
*/
|
|
3683
|
-
async
|
|
4340
|
+
async dolphinDBCreateUser(orgName, clusterName, dolphinDBUserCreate, options) {
|
|
3684
4341
|
var _a, _b, _c;
|
|
3685
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4342
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBCreateUser(orgName, clusterName, dolphinDBUserCreate, options);
|
|
3686
4343
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3687
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
4344
|
+
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;
|
|
3688
4345
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3689
4346
|
},
|
|
3690
4347
|
/**
|
|
3691
4348
|
*
|
|
3692
|
-
* @summary
|
|
3693
|
-
* @param {string} orgName
|
|
3694
|
-
* @param {string} clusterName
|
|
3695
|
-
* @param {string}
|
|
4349
|
+
* @summary DolphinDB DeleteGroup
|
|
4350
|
+
* @param {string} orgName
|
|
4351
|
+
* @param {string} clusterName
|
|
4352
|
+
* @param {string} groupName
|
|
3696
4353
|
* @param {*} [options] Override http request option.
|
|
3697
4354
|
* @throws {RequiredError}
|
|
3698
4355
|
*/
|
|
3699
|
-
async
|
|
4356
|
+
async dolphinDBDeleteGroup(orgName, clusterName, groupName, options) {
|
|
3700
4357
|
var _a, _b, _c;
|
|
3701
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4358
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBDeleteGroup(orgName, clusterName, groupName, options);
|
|
3702
4359
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3703
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
4360
|
+
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;
|
|
3704
4361
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3705
4362
|
},
|
|
3706
4363
|
/**
|
|
3707
|
-
*
|
|
3708
|
-
* @summary
|
|
3709
|
-
* @param {string} orgName
|
|
3710
|
-
* @param {string} clusterName
|
|
3711
|
-
* @param {string} accountName
|
|
4364
|
+
*
|
|
4365
|
+
* @summary DolphinDB DeleteUser
|
|
4366
|
+
* @param {string} orgName
|
|
4367
|
+
* @param {string} clusterName
|
|
4368
|
+
* @param {string} accountName
|
|
3712
4369
|
* @param {*} [options] Override http request option.
|
|
3713
4370
|
* @throws {RequiredError}
|
|
3714
4371
|
*/
|
|
3715
|
-
async
|
|
4372
|
+
async dolphinDBDeleteUser(orgName, clusterName, accountName, options) {
|
|
3716
4373
|
var _a, _b, _c;
|
|
3717
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4374
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBDeleteUser(orgName, clusterName, accountName, options);
|
|
3718
4375
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3719
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
4376
|
+
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;
|
|
3720
4377
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3721
4378
|
},
|
|
3722
4379
|
/**
|
|
3723
4380
|
*
|
|
3724
|
-
* @summary
|
|
4381
|
+
* @summary DolphinDB GetCapabilities
|
|
3725
4382
|
* @param {string} orgName
|
|
3726
4383
|
* @param {string} clusterName
|
|
3727
|
-
* @param {string} accountName
|
|
3728
|
-
* @param {string} accessKey
|
|
3729
4384
|
* @param {*} [options] Override http request option.
|
|
3730
4385
|
* @throws {RequiredError}
|
|
3731
4386
|
*/
|
|
3732
|
-
async
|
|
4387
|
+
async dolphinDBGetCapabilities(orgName, clusterName, options) {
|
|
3733
4388
|
var _a, _b, _c;
|
|
3734
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4389
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBGetCapabilities(orgName, clusterName, options);
|
|
3735
4390
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3736
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
4391
|
+
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;
|
|
3737
4392
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3738
4393
|
},
|
|
3739
4394
|
/**
|
|
3740
|
-
*
|
|
3741
|
-
* @summary
|
|
3742
|
-
* @param {string} orgName
|
|
3743
|
-
* @param {string} clusterName
|
|
3744
|
-
* @param {string}
|
|
4395
|
+
*
|
|
4396
|
+
* @summary DolphinDB GetPermissions
|
|
4397
|
+
* @param {string} orgName
|
|
4398
|
+
* @param {string} clusterName
|
|
4399
|
+
* @param {string} subjectType
|
|
4400
|
+
* @param {string} subjectName
|
|
3745
4401
|
* @param {*} [options] Override http request option.
|
|
3746
4402
|
* @throws {RequiredError}
|
|
3747
4403
|
*/
|
|
3748
|
-
async
|
|
4404
|
+
async dolphinDBGetPermissions(orgName, clusterName, subjectType, subjectName, options) {
|
|
3749
4405
|
var _a, _b, _c;
|
|
3750
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4406
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBGetPermissions(orgName, clusterName, subjectType, subjectName, options);
|
|
3751
4407
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3752
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
4408
|
+
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;
|
|
3753
4409
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3754
4410
|
},
|
|
3755
4411
|
/**
|
|
3756
|
-
*
|
|
3757
|
-
* @summary
|
|
4412
|
+
*
|
|
4413
|
+
* @summary DolphinDB ListGroups
|
|
3758
4414
|
* @param {string} orgName
|
|
3759
4415
|
* @param {string} clusterName
|
|
3760
|
-
* @param {string} policyName
|
|
3761
4416
|
* @param {*} [options] Override http request option.
|
|
3762
4417
|
* @throws {RequiredError}
|
|
3763
4418
|
*/
|
|
3764
|
-
async
|
|
4419
|
+
async dolphinDBListGroups(orgName, clusterName, options) {
|
|
3765
4420
|
var _a, _b, _c;
|
|
3766
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4421
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBListGroups(orgName, clusterName, options);
|
|
3767
4422
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3768
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
4423
|
+
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;
|
|
3769
4424
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3770
4425
|
},
|
|
3771
4426
|
/**
|
|
3772
|
-
*
|
|
3773
|
-
* @summary
|
|
3774
|
-
* @param {string}
|
|
3775
|
-
* @param {string}
|
|
3776
|
-
* @param {string} clusterName name of the cluster
|
|
3777
|
-
* @param {string} accessKey MinIO access key
|
|
4427
|
+
*
|
|
4428
|
+
* @summary DolphinDB ListUsers
|
|
4429
|
+
* @param {string} orgName
|
|
4430
|
+
* @param {string} clusterName
|
|
3778
4431
|
* @param {*} [options] Override http request option.
|
|
3779
4432
|
* @throws {RequiredError}
|
|
3780
4433
|
*/
|
|
3781
|
-
async
|
|
4434
|
+
async dolphinDBListUsers(orgName, clusterName, options) {
|
|
3782
4435
|
var _a, _b, _c;
|
|
3783
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBListUsers(orgName, clusterName, options);
|
|
3784
4437
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3785
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.
|
|
4438
|
+
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;
|
|
3786
4439
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3787
4440
|
},
|
|
3788
4441
|
/**
|
|
@@ -4881,6 +5534,116 @@ const AccountApiFactory = function (configuration, basePath, axios) {
|
|
|
4881
5534
|
deleteServiceAccount(requestParameters, options) {
|
|
4882
5535
|
return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
4883
5536
|
},
|
|
5537
|
+
/**
|
|
5538
|
+
*
|
|
5539
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
5540
|
+
* @param {AccountApiDolphinDBChangeGroupMembersRequest} requestParameters Request parameters.
|
|
5541
|
+
* @param {*} [options] Override http request option.
|
|
5542
|
+
* @throws {RequiredError}
|
|
5543
|
+
*/
|
|
5544
|
+
dolphinDBChangeGroupMembers(requestParameters, options) {
|
|
5545
|
+
return localVarFp.dolphinDBChangeGroupMembers(requestParameters.orgName, requestParameters.clusterName, requestParameters.groupName, requestParameters.dolphinDBMembershipChange, options).then((request) => request(axios, basePath));
|
|
5546
|
+
},
|
|
5547
|
+
/**
|
|
5548
|
+
*
|
|
5549
|
+
* @summary DolphinDB ChangePassword
|
|
5550
|
+
* @param {AccountApiDolphinDBChangePasswordRequest} requestParameters Request parameters.
|
|
5551
|
+
* @param {*} [options] Override http request option.
|
|
5552
|
+
* @throws {RequiredError}
|
|
5553
|
+
*/
|
|
5554
|
+
dolphinDBChangePassword(requestParameters, options) {
|
|
5555
|
+
return localVarFp.dolphinDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.dolphinDBPasswordChange, options).then((request) => request(axios, basePath));
|
|
5556
|
+
},
|
|
5557
|
+
/**
|
|
5558
|
+
*
|
|
5559
|
+
* @summary DolphinDB ChangePermissions
|
|
5560
|
+
* @param {AccountApiDolphinDBChangePermissionsRequest} requestParameters Request parameters.
|
|
5561
|
+
* @param {*} [options] Override http request option.
|
|
5562
|
+
* @throws {RequiredError}
|
|
5563
|
+
*/
|
|
5564
|
+
dolphinDBChangePermissions(requestParameters, options) {
|
|
5565
|
+
return localVarFp.dolphinDBChangePermissions(requestParameters.orgName, requestParameters.clusterName, requestParameters.subjectType, requestParameters.subjectName, requestParameters.dolphinDBPermissionChange, options).then((request) => request(axios, basePath));
|
|
5566
|
+
},
|
|
5567
|
+
/**
|
|
5568
|
+
*
|
|
5569
|
+
* @summary DolphinDB CreateGroup
|
|
5570
|
+
* @param {AccountApiDolphinDBCreateGroupRequest} requestParameters Request parameters.
|
|
5571
|
+
* @param {*} [options] Override http request option.
|
|
5572
|
+
* @throws {RequiredError}
|
|
5573
|
+
*/
|
|
5574
|
+
dolphinDBCreateGroup(requestParameters, options) {
|
|
5575
|
+
return localVarFp.dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(axios, basePath));
|
|
5576
|
+
},
|
|
5577
|
+
/**
|
|
5578
|
+
*
|
|
5579
|
+
* @summary DolphinDB CreateUser
|
|
5580
|
+
* @param {AccountApiDolphinDBCreateUserRequest} requestParameters Request parameters.
|
|
5581
|
+
* @param {*} [options] Override http request option.
|
|
5582
|
+
* @throws {RequiredError}
|
|
5583
|
+
*/
|
|
5584
|
+
dolphinDBCreateUser(requestParameters, options) {
|
|
5585
|
+
return localVarFp.dolphinDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBUserCreate, options).then((request) => request(axios, basePath));
|
|
5586
|
+
},
|
|
5587
|
+
/**
|
|
5588
|
+
*
|
|
5589
|
+
* @summary DolphinDB DeleteGroup
|
|
5590
|
+
* @param {AccountApiDolphinDBDeleteGroupRequest} requestParameters Request parameters.
|
|
5591
|
+
* @param {*} [options] Override http request option.
|
|
5592
|
+
* @throws {RequiredError}
|
|
5593
|
+
*/
|
|
5594
|
+
dolphinDBDeleteGroup(requestParameters, options) {
|
|
5595
|
+
return localVarFp.dolphinDBDeleteGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.groupName, options).then((request) => request(axios, basePath));
|
|
5596
|
+
},
|
|
5597
|
+
/**
|
|
5598
|
+
*
|
|
5599
|
+
* @summary DolphinDB DeleteUser
|
|
5600
|
+
* @param {AccountApiDolphinDBDeleteUserRequest} requestParameters Request parameters.
|
|
5601
|
+
* @param {*} [options] Override http request option.
|
|
5602
|
+
* @throws {RequiredError}
|
|
5603
|
+
*/
|
|
5604
|
+
dolphinDBDeleteUser(requestParameters, options) {
|
|
5605
|
+
return localVarFp.dolphinDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
5606
|
+
},
|
|
5607
|
+
/**
|
|
5608
|
+
*
|
|
5609
|
+
* @summary DolphinDB GetCapabilities
|
|
5610
|
+
* @param {AccountApiDolphinDBGetCapabilitiesRequest} requestParameters Request parameters.
|
|
5611
|
+
* @param {*} [options] Override http request option.
|
|
5612
|
+
* @throws {RequiredError}
|
|
5613
|
+
*/
|
|
5614
|
+
dolphinDBGetCapabilities(requestParameters, options) {
|
|
5615
|
+
return localVarFp.dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
5616
|
+
},
|
|
5617
|
+
/**
|
|
5618
|
+
*
|
|
5619
|
+
* @summary DolphinDB GetPermissions
|
|
5620
|
+
* @param {AccountApiDolphinDBGetPermissionsRequest} requestParameters Request parameters.
|
|
5621
|
+
* @param {*} [options] Override http request option.
|
|
5622
|
+
* @throws {RequiredError}
|
|
5623
|
+
*/
|
|
5624
|
+
dolphinDBGetPermissions(requestParameters, options) {
|
|
5625
|
+
return localVarFp.dolphinDBGetPermissions(requestParameters.orgName, requestParameters.clusterName, requestParameters.subjectType, requestParameters.subjectName, options).then((request) => request(axios, basePath));
|
|
5626
|
+
},
|
|
5627
|
+
/**
|
|
5628
|
+
*
|
|
5629
|
+
* @summary DolphinDB ListGroups
|
|
5630
|
+
* @param {AccountApiDolphinDBListGroupsRequest} requestParameters Request parameters.
|
|
5631
|
+
* @param {*} [options] Override http request option.
|
|
5632
|
+
* @throws {RequiredError}
|
|
5633
|
+
*/
|
|
5634
|
+
dolphinDBListGroups(requestParameters, options) {
|
|
5635
|
+
return localVarFp.dolphinDBListGroups(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
5636
|
+
},
|
|
5637
|
+
/**
|
|
5638
|
+
*
|
|
5639
|
+
* @summary DolphinDB ListUsers
|
|
5640
|
+
* @param {AccountApiDolphinDBListUsersRequest} requestParameters Request parameters.
|
|
5641
|
+
* @param {*} [options] Override http request option.
|
|
5642
|
+
* @throws {RequiredError}
|
|
5643
|
+
*/
|
|
5644
|
+
dolphinDBListUsers(requestParameters, options) {
|
|
5645
|
+
return localVarFp.dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
5646
|
+
},
|
|
4884
5647
|
/**
|
|
4885
5648
|
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
4886
5649
|
* @summary List native object privilege capabilities for the connected server
|
|
@@ -5633,6 +6396,127 @@ class AccountApi extends base_1.BaseAPI {
|
|
|
5633
6396
|
deleteServiceAccount(requestParameters, options) {
|
|
5634
6397
|
return (0, exports.AccountApiFp)(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
5635
6398
|
}
|
|
6399
|
+
/**
|
|
6400
|
+
*
|
|
6401
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
6402
|
+
* @param {AccountApiDolphinDBChangeGroupMembersRequest} requestParameters Request parameters.
|
|
6403
|
+
* @param {*} [options] Override http request option.
|
|
6404
|
+
* @throws {RequiredError}
|
|
6405
|
+
* @memberof AccountApi
|
|
6406
|
+
*/
|
|
6407
|
+
dolphinDBChangeGroupMembers(requestParameters, options) {
|
|
6408
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBChangeGroupMembers(requestParameters.orgName, requestParameters.clusterName, requestParameters.groupName, requestParameters.dolphinDBMembershipChange, options).then((request) => request(this.axios, this.basePath));
|
|
6409
|
+
}
|
|
6410
|
+
/**
|
|
6411
|
+
*
|
|
6412
|
+
* @summary DolphinDB ChangePassword
|
|
6413
|
+
* @param {AccountApiDolphinDBChangePasswordRequest} requestParameters Request parameters.
|
|
6414
|
+
* @param {*} [options] Override http request option.
|
|
6415
|
+
* @throws {RequiredError}
|
|
6416
|
+
* @memberof AccountApi
|
|
6417
|
+
*/
|
|
6418
|
+
dolphinDBChangePassword(requestParameters, options) {
|
|
6419
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.dolphinDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
|
|
6420
|
+
}
|
|
6421
|
+
/**
|
|
6422
|
+
*
|
|
6423
|
+
* @summary DolphinDB ChangePermissions
|
|
6424
|
+
* @param {AccountApiDolphinDBChangePermissionsRequest} requestParameters Request parameters.
|
|
6425
|
+
* @param {*} [options] Override http request option.
|
|
6426
|
+
* @throws {RequiredError}
|
|
6427
|
+
* @memberof AccountApi
|
|
6428
|
+
*/
|
|
6429
|
+
dolphinDBChangePermissions(requestParameters, options) {
|
|
6430
|
+
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));
|
|
6431
|
+
}
|
|
6432
|
+
/**
|
|
6433
|
+
*
|
|
6434
|
+
* @summary DolphinDB CreateGroup
|
|
6435
|
+
* @param {AccountApiDolphinDBCreateGroupRequest} requestParameters Request parameters.
|
|
6436
|
+
* @param {*} [options] Override http request option.
|
|
6437
|
+
* @throws {RequiredError}
|
|
6438
|
+
* @memberof AccountApi
|
|
6439
|
+
*/
|
|
6440
|
+
dolphinDBCreateGroup(requestParameters, options) {
|
|
6441
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(this.axios, this.basePath));
|
|
6442
|
+
}
|
|
6443
|
+
/**
|
|
6444
|
+
*
|
|
6445
|
+
* @summary DolphinDB CreateUser
|
|
6446
|
+
* @param {AccountApiDolphinDBCreateUserRequest} requestParameters Request parameters.
|
|
6447
|
+
* @param {*} [options] Override http request option.
|
|
6448
|
+
* @throws {RequiredError}
|
|
6449
|
+
* @memberof AccountApi
|
|
6450
|
+
*/
|
|
6451
|
+
dolphinDBCreateUser(requestParameters, options) {
|
|
6452
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBUserCreate, options).then((request) => request(this.axios, this.basePath));
|
|
6453
|
+
}
|
|
6454
|
+
/**
|
|
6455
|
+
*
|
|
6456
|
+
* @summary DolphinDB DeleteGroup
|
|
6457
|
+
* @param {AccountApiDolphinDBDeleteGroupRequest} requestParameters Request parameters.
|
|
6458
|
+
* @param {*} [options] Override http request option.
|
|
6459
|
+
* @throws {RequiredError}
|
|
6460
|
+
* @memberof AccountApi
|
|
6461
|
+
*/
|
|
6462
|
+
dolphinDBDeleteGroup(requestParameters, options) {
|
|
6463
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBDeleteGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
6464
|
+
}
|
|
6465
|
+
/**
|
|
6466
|
+
*
|
|
6467
|
+
* @summary DolphinDB DeleteUser
|
|
6468
|
+
* @param {AccountApiDolphinDBDeleteUserRequest} requestParameters Request parameters.
|
|
6469
|
+
* @param {*} [options] Override http request option.
|
|
6470
|
+
* @throws {RequiredError}
|
|
6471
|
+
* @memberof AccountApi
|
|
6472
|
+
*/
|
|
6473
|
+
dolphinDBDeleteUser(requestParameters, options) {
|
|
6474
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
6475
|
+
}
|
|
6476
|
+
/**
|
|
6477
|
+
*
|
|
6478
|
+
* @summary DolphinDB GetCapabilities
|
|
6479
|
+
* @param {AccountApiDolphinDBGetCapabilitiesRequest} requestParameters Request parameters.
|
|
6480
|
+
* @param {*} [options] Override http request option.
|
|
6481
|
+
* @throws {RequiredError}
|
|
6482
|
+
* @memberof AccountApi
|
|
6483
|
+
*/
|
|
6484
|
+
dolphinDBGetCapabilities(requestParameters, options) {
|
|
6485
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
6486
|
+
}
|
|
6487
|
+
/**
|
|
6488
|
+
*
|
|
6489
|
+
* @summary DolphinDB GetPermissions
|
|
6490
|
+
* @param {AccountApiDolphinDBGetPermissionsRequest} requestParameters Request parameters.
|
|
6491
|
+
* @param {*} [options] Override http request option.
|
|
6492
|
+
* @throws {RequiredError}
|
|
6493
|
+
* @memberof AccountApi
|
|
6494
|
+
*/
|
|
6495
|
+
dolphinDBGetPermissions(requestParameters, options) {
|
|
6496
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBGetPermissions(requestParameters.orgName, requestParameters.clusterName, requestParameters.subjectType, requestParameters.subjectName, options).then((request) => request(this.axios, this.basePath));
|
|
6497
|
+
}
|
|
6498
|
+
/**
|
|
6499
|
+
*
|
|
6500
|
+
* @summary DolphinDB ListGroups
|
|
6501
|
+
* @param {AccountApiDolphinDBListGroupsRequest} requestParameters Request parameters.
|
|
6502
|
+
* @param {*} [options] Override http request option.
|
|
6503
|
+
* @throws {RequiredError}
|
|
6504
|
+
* @memberof AccountApi
|
|
6505
|
+
*/
|
|
6506
|
+
dolphinDBListGroups(requestParameters, options) {
|
|
6507
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBListGroups(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
6508
|
+
}
|
|
6509
|
+
/**
|
|
6510
|
+
*
|
|
6511
|
+
* @summary DolphinDB ListUsers
|
|
6512
|
+
* @param {AccountApiDolphinDBListUsersRequest} requestParameters Request parameters.
|
|
6513
|
+
* @param {*} [options] Override http request option.
|
|
6514
|
+
* @throws {RequiredError}
|
|
6515
|
+
* @memberof AccountApi
|
|
6516
|
+
*/
|
|
6517
|
+
dolphinDBListUsers(requestParameters, options) {
|
|
6518
|
+
return (0, exports.AccountApiFp)(this.configuration).dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
6519
|
+
}
|
|
5636
6520
|
/**
|
|
5637
6521
|
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
5638
6522
|
* @summary List native object privilege capabilities for the connected server
|