kb-cloud-client-typescript 2.3.56 → 2.3.58
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
|
@@ -0,0 +1,1486 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { APIErrorResponse } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { DolphinDBCapabilities } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { DolphinDBGroup } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { DolphinDBGroupCreate } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { DolphinDBMembershipChange } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
import type { DolphinDBPasswordChange } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import type { DolphinDBPermissionChange } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
import type { DolphinDBPermissionSnapshot } from '../models';
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
import type { DolphinDBUser } from '../models';
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
import type { DolphinDBUserCreate } from '../models';
|
|
44
|
+
/**
|
|
45
|
+
* DolphindbApi - axios parameter creator
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const DolphindbApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
49
|
+
return {
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
53
|
+
* @param {string} orgName
|
|
54
|
+
* @param {string} clusterName
|
|
55
|
+
* @param {string} groupName
|
|
56
|
+
* @param {DolphinDBMembershipChange} dolphinDBMembershipChange
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
dolphinDBChangeGroupMembers: async (orgName: string, clusterName: string, groupName: string, dolphinDBMembershipChange: DolphinDBMembershipChange, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
62
|
+
assertParamExists('dolphinDBChangeGroupMembers', 'orgName', orgName)
|
|
63
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
64
|
+
assertParamExists('dolphinDBChangeGroupMembers', 'clusterName', clusterName)
|
|
65
|
+
// verify required parameter 'groupName' is not null or undefined
|
|
66
|
+
assertParamExists('dolphinDBChangeGroupMembers', 'groupName', groupName)
|
|
67
|
+
// verify required parameter 'dolphinDBMembershipChange' is not null or undefined
|
|
68
|
+
assertParamExists('dolphinDBChangeGroupMembers', 'dolphinDBMembershipChange', dolphinDBMembershipChange)
|
|
69
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/groups/{groupName}/members`
|
|
70
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
71
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
72
|
+
.replace(`{${"groupName"}}`, encodeURIComponent(String(groupName)));
|
|
73
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75
|
+
let baseOptions;
|
|
76
|
+
if (configuration) {
|
|
77
|
+
baseOptions = configuration.baseOptions;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
81
|
+
const localVarHeaderParameter = {} as any;
|
|
82
|
+
const localVarQueryParameter = {} as any;
|
|
83
|
+
|
|
84
|
+
// authentication BearerToken required
|
|
85
|
+
// http bearer authentication required
|
|
86
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
87
|
+
|
|
88
|
+
// authentication DigestAuth required
|
|
89
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
94
|
+
|
|
95
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
96
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
98
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dolphinDBMembershipChange, localVarRequestOptions, configuration)
|
|
99
|
+
|
|
100
|
+
return {
|
|
101
|
+
url: toPathString(localVarUrlObj),
|
|
102
|
+
options: localVarRequestOptions,
|
|
103
|
+
};
|
|
104
|
+
},
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @summary DolphinDB ChangePassword
|
|
108
|
+
* @param {string} orgName
|
|
109
|
+
* @param {string} clusterName
|
|
110
|
+
* @param {string} accountName
|
|
111
|
+
* @param {DolphinDBPasswordChange} dolphinDBPasswordChange
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
dolphinDBChangePassword: async (orgName: string, clusterName: string, accountName: string, dolphinDBPasswordChange: DolphinDBPasswordChange, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
116
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
117
|
+
assertParamExists('dolphinDBChangePassword', 'orgName', orgName)
|
|
118
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
119
|
+
assertParamExists('dolphinDBChangePassword', 'clusterName', clusterName)
|
|
120
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
121
|
+
assertParamExists('dolphinDBChangePassword', 'accountName', accountName)
|
|
122
|
+
// verify required parameter 'dolphinDBPasswordChange' is not null or undefined
|
|
123
|
+
assertParamExists('dolphinDBChangePassword', 'dolphinDBPasswordChange', dolphinDBPasswordChange)
|
|
124
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/password`
|
|
125
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
126
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
127
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
128
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
129
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
130
|
+
let baseOptions;
|
|
131
|
+
if (configuration) {
|
|
132
|
+
baseOptions = configuration.baseOptions;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
136
|
+
const localVarHeaderParameter = {} as any;
|
|
137
|
+
const localVarQueryParameter = {} as any;
|
|
138
|
+
|
|
139
|
+
// authentication BearerToken required
|
|
140
|
+
// http bearer authentication required
|
|
141
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
142
|
+
|
|
143
|
+
// authentication DigestAuth required
|
|
144
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
149
|
+
|
|
150
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
151
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
153
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dolphinDBPasswordChange, localVarRequestOptions, configuration)
|
|
154
|
+
|
|
155
|
+
return {
|
|
156
|
+
url: toPathString(localVarUrlObj),
|
|
157
|
+
options: localVarRequestOptions,
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @summary DolphinDB ChangePermissions
|
|
163
|
+
* @param {string} orgName
|
|
164
|
+
* @param {string} clusterName
|
|
165
|
+
* @param {string} subjectType
|
|
166
|
+
* @param {string} subjectName
|
|
167
|
+
* @param {DolphinDBPermissionChange} dolphinDBPermissionChange
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
*/
|
|
171
|
+
dolphinDBChangePermissions: async (orgName: string, clusterName: string, subjectType: string, subjectName: string, dolphinDBPermissionChange: DolphinDBPermissionChange, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
172
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
173
|
+
assertParamExists('dolphinDBChangePermissions', 'orgName', orgName)
|
|
174
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
175
|
+
assertParamExists('dolphinDBChangePermissions', 'clusterName', clusterName)
|
|
176
|
+
// verify required parameter 'subjectType' is not null or undefined
|
|
177
|
+
assertParamExists('dolphinDBChangePermissions', 'subjectType', subjectType)
|
|
178
|
+
// verify required parameter 'subjectName' is not null or undefined
|
|
179
|
+
assertParamExists('dolphinDBChangePermissions', 'subjectName', subjectName)
|
|
180
|
+
// verify required parameter 'dolphinDBPermissionChange' is not null or undefined
|
|
181
|
+
assertParamExists('dolphinDBChangePermissions', 'dolphinDBPermissionChange', dolphinDBPermissionChange)
|
|
182
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/privileges/{subjectType}/{subjectName}`
|
|
183
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
184
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
185
|
+
.replace(`{${"subjectType"}}`, encodeURIComponent(String(subjectType)))
|
|
186
|
+
.replace(`{${"subjectName"}}`, encodeURIComponent(String(subjectName)));
|
|
187
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
188
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
189
|
+
let baseOptions;
|
|
190
|
+
if (configuration) {
|
|
191
|
+
baseOptions = configuration.baseOptions;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
195
|
+
const localVarHeaderParameter = {} as any;
|
|
196
|
+
const localVarQueryParameter = {} as any;
|
|
197
|
+
|
|
198
|
+
// authentication BearerToken required
|
|
199
|
+
// http bearer authentication required
|
|
200
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
201
|
+
|
|
202
|
+
// authentication DigestAuth required
|
|
203
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
208
|
+
|
|
209
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
210
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
211
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
212
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dolphinDBPermissionChange, localVarRequestOptions, configuration)
|
|
213
|
+
|
|
214
|
+
return {
|
|
215
|
+
url: toPathString(localVarUrlObj),
|
|
216
|
+
options: localVarRequestOptions,
|
|
217
|
+
};
|
|
218
|
+
},
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @summary DolphinDB CreateGroup
|
|
222
|
+
* @param {string} orgName
|
|
223
|
+
* @param {string} clusterName
|
|
224
|
+
* @param {DolphinDBGroupCreate} dolphinDBGroupCreate
|
|
225
|
+
* @param {*} [options] Override http request option.
|
|
226
|
+
* @throws {RequiredError}
|
|
227
|
+
*/
|
|
228
|
+
dolphinDBCreateGroup: async (orgName: string, clusterName: string, dolphinDBGroupCreate: DolphinDBGroupCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
229
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
230
|
+
assertParamExists('dolphinDBCreateGroup', 'orgName', orgName)
|
|
231
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
232
|
+
assertParamExists('dolphinDBCreateGroup', 'clusterName', clusterName)
|
|
233
|
+
// verify required parameter 'dolphinDBGroupCreate' is not null or undefined
|
|
234
|
+
assertParamExists('dolphinDBCreateGroup', 'dolphinDBGroupCreate', dolphinDBGroupCreate)
|
|
235
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/groups`
|
|
236
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
237
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
238
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
239
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
240
|
+
let baseOptions;
|
|
241
|
+
if (configuration) {
|
|
242
|
+
baseOptions = configuration.baseOptions;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
246
|
+
const localVarHeaderParameter = {} as any;
|
|
247
|
+
const localVarQueryParameter = {} as any;
|
|
248
|
+
|
|
249
|
+
// authentication BearerToken required
|
|
250
|
+
// http bearer authentication required
|
|
251
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
252
|
+
|
|
253
|
+
// authentication DigestAuth required
|
|
254
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
259
|
+
|
|
260
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
261
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
262
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
263
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dolphinDBGroupCreate, localVarRequestOptions, configuration)
|
|
264
|
+
|
|
265
|
+
return {
|
|
266
|
+
url: toPathString(localVarUrlObj),
|
|
267
|
+
options: localVarRequestOptions,
|
|
268
|
+
};
|
|
269
|
+
},
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @summary DolphinDB CreateUser
|
|
273
|
+
* @param {string} orgName
|
|
274
|
+
* @param {string} clusterName
|
|
275
|
+
* @param {DolphinDBUserCreate} dolphinDBUserCreate
|
|
276
|
+
* @param {*} [options] Override http request option.
|
|
277
|
+
* @throws {RequiredError}
|
|
278
|
+
*/
|
|
279
|
+
dolphinDBCreateUser: async (orgName: string, clusterName: string, dolphinDBUserCreate: DolphinDBUserCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
280
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
281
|
+
assertParamExists('dolphinDBCreateUser', 'orgName', orgName)
|
|
282
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
283
|
+
assertParamExists('dolphinDBCreateUser', 'clusterName', clusterName)
|
|
284
|
+
// verify required parameter 'dolphinDBUserCreate' is not null or undefined
|
|
285
|
+
assertParamExists('dolphinDBCreateUser', 'dolphinDBUserCreate', dolphinDBUserCreate)
|
|
286
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
287
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
288
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
289
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
290
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
291
|
+
let baseOptions;
|
|
292
|
+
if (configuration) {
|
|
293
|
+
baseOptions = configuration.baseOptions;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
297
|
+
const localVarHeaderParameter = {} as any;
|
|
298
|
+
const localVarQueryParameter = {} as any;
|
|
299
|
+
|
|
300
|
+
// authentication BearerToken required
|
|
301
|
+
// http bearer authentication required
|
|
302
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
303
|
+
|
|
304
|
+
// authentication DigestAuth required
|
|
305
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
310
|
+
|
|
311
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
312
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
313
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
314
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dolphinDBUserCreate, localVarRequestOptions, configuration)
|
|
315
|
+
|
|
316
|
+
return {
|
|
317
|
+
url: toPathString(localVarUrlObj),
|
|
318
|
+
options: localVarRequestOptions,
|
|
319
|
+
};
|
|
320
|
+
},
|
|
321
|
+
/**
|
|
322
|
+
*
|
|
323
|
+
* @summary DolphinDB DeleteGroup
|
|
324
|
+
* @param {string} orgName
|
|
325
|
+
* @param {string} clusterName
|
|
326
|
+
* @param {string} groupName
|
|
327
|
+
* @param {*} [options] Override http request option.
|
|
328
|
+
* @throws {RequiredError}
|
|
329
|
+
*/
|
|
330
|
+
dolphinDBDeleteGroup: async (orgName: string, clusterName: string, groupName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
331
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
332
|
+
assertParamExists('dolphinDBDeleteGroup', 'orgName', orgName)
|
|
333
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
334
|
+
assertParamExists('dolphinDBDeleteGroup', 'clusterName', clusterName)
|
|
335
|
+
// verify required parameter 'groupName' is not null or undefined
|
|
336
|
+
assertParamExists('dolphinDBDeleteGroup', 'groupName', groupName)
|
|
337
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/groups/{groupName}`
|
|
338
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
339
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
340
|
+
.replace(`{${"groupName"}}`, encodeURIComponent(String(groupName)));
|
|
341
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
342
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
343
|
+
let baseOptions;
|
|
344
|
+
if (configuration) {
|
|
345
|
+
baseOptions = configuration.baseOptions;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
349
|
+
const localVarHeaderParameter = {} as any;
|
|
350
|
+
const localVarQueryParameter = {} as any;
|
|
351
|
+
|
|
352
|
+
// authentication BearerToken required
|
|
353
|
+
// http bearer authentication required
|
|
354
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
355
|
+
|
|
356
|
+
// authentication DigestAuth required
|
|
357
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
362
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
363
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
364
|
+
|
|
365
|
+
return {
|
|
366
|
+
url: toPathString(localVarUrlObj),
|
|
367
|
+
options: localVarRequestOptions,
|
|
368
|
+
};
|
|
369
|
+
},
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @summary DolphinDB DeleteUser
|
|
373
|
+
* @param {string} orgName
|
|
374
|
+
* @param {string} clusterName
|
|
375
|
+
* @param {string} accountName
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
dolphinDBDeleteUser: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
380
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
381
|
+
assertParamExists('dolphinDBDeleteUser', 'orgName', orgName)
|
|
382
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
383
|
+
assertParamExists('dolphinDBDeleteUser', 'clusterName', clusterName)
|
|
384
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
385
|
+
assertParamExists('dolphinDBDeleteUser', 'accountName', accountName)
|
|
386
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
387
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
388
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
389
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
390
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
391
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
392
|
+
let baseOptions;
|
|
393
|
+
if (configuration) {
|
|
394
|
+
baseOptions = configuration.baseOptions;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
398
|
+
const localVarHeaderParameter = {} as any;
|
|
399
|
+
const localVarQueryParameter = {} as any;
|
|
400
|
+
|
|
401
|
+
// authentication BearerToken required
|
|
402
|
+
// http bearer authentication required
|
|
403
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
404
|
+
|
|
405
|
+
// authentication DigestAuth required
|
|
406
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
411
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
413
|
+
|
|
414
|
+
return {
|
|
415
|
+
url: toPathString(localVarUrlObj),
|
|
416
|
+
options: localVarRequestOptions,
|
|
417
|
+
};
|
|
418
|
+
},
|
|
419
|
+
/**
|
|
420
|
+
*
|
|
421
|
+
* @summary DolphinDB GetCapabilities
|
|
422
|
+
* @param {string} orgName
|
|
423
|
+
* @param {string} clusterName
|
|
424
|
+
* @param {*} [options] Override http request option.
|
|
425
|
+
* @throws {RequiredError}
|
|
426
|
+
*/
|
|
427
|
+
dolphinDBGetCapabilities: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
428
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
429
|
+
assertParamExists('dolphinDBGetCapabilities', 'orgName', orgName)
|
|
430
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
431
|
+
assertParamExists('dolphinDBGetCapabilities', 'clusterName', clusterName)
|
|
432
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/privileges/capabilities`
|
|
433
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
434
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
435
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
436
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
437
|
+
let baseOptions;
|
|
438
|
+
if (configuration) {
|
|
439
|
+
baseOptions = configuration.baseOptions;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
443
|
+
const localVarHeaderParameter = {} as any;
|
|
444
|
+
const localVarQueryParameter = {} as any;
|
|
445
|
+
|
|
446
|
+
// authentication BearerToken required
|
|
447
|
+
// http bearer authentication required
|
|
448
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
449
|
+
|
|
450
|
+
// authentication DigestAuth required
|
|
451
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
456
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
457
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
458
|
+
|
|
459
|
+
return {
|
|
460
|
+
url: toPathString(localVarUrlObj),
|
|
461
|
+
options: localVarRequestOptions,
|
|
462
|
+
};
|
|
463
|
+
},
|
|
464
|
+
/**
|
|
465
|
+
*
|
|
466
|
+
* @summary DolphinDB GetPermissions
|
|
467
|
+
* @param {string} orgName
|
|
468
|
+
* @param {string} clusterName
|
|
469
|
+
* @param {string} subjectType
|
|
470
|
+
* @param {string} subjectName
|
|
471
|
+
* @param {*} [options] Override http request option.
|
|
472
|
+
* @throws {RequiredError}
|
|
473
|
+
*/
|
|
474
|
+
dolphinDBGetPermissions: async (orgName: string, clusterName: string, subjectType: string, subjectName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
475
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
476
|
+
assertParamExists('dolphinDBGetPermissions', 'orgName', orgName)
|
|
477
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
478
|
+
assertParamExists('dolphinDBGetPermissions', 'clusterName', clusterName)
|
|
479
|
+
// verify required parameter 'subjectType' is not null or undefined
|
|
480
|
+
assertParamExists('dolphinDBGetPermissions', 'subjectType', subjectType)
|
|
481
|
+
// verify required parameter 'subjectName' is not null or undefined
|
|
482
|
+
assertParamExists('dolphinDBGetPermissions', 'subjectName', subjectName)
|
|
483
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/privileges/{subjectType}/{subjectName}`
|
|
484
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
485
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
486
|
+
.replace(`{${"subjectType"}}`, encodeURIComponent(String(subjectType)))
|
|
487
|
+
.replace(`{${"subjectName"}}`, encodeURIComponent(String(subjectName)));
|
|
488
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
489
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
490
|
+
let baseOptions;
|
|
491
|
+
if (configuration) {
|
|
492
|
+
baseOptions = configuration.baseOptions;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
496
|
+
const localVarHeaderParameter = {} as any;
|
|
497
|
+
const localVarQueryParameter = {} as any;
|
|
498
|
+
|
|
499
|
+
// authentication BearerToken required
|
|
500
|
+
// http bearer authentication required
|
|
501
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
502
|
+
|
|
503
|
+
// authentication DigestAuth required
|
|
504
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
509
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
510
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
511
|
+
|
|
512
|
+
return {
|
|
513
|
+
url: toPathString(localVarUrlObj),
|
|
514
|
+
options: localVarRequestOptions,
|
|
515
|
+
};
|
|
516
|
+
},
|
|
517
|
+
/**
|
|
518
|
+
*
|
|
519
|
+
* @summary DolphinDB ListGroups
|
|
520
|
+
* @param {string} orgName
|
|
521
|
+
* @param {string} clusterName
|
|
522
|
+
* @param {*} [options] Override http request option.
|
|
523
|
+
* @throws {RequiredError}
|
|
524
|
+
*/
|
|
525
|
+
dolphinDBListGroups: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
526
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
527
|
+
assertParamExists('dolphinDBListGroups', 'orgName', orgName)
|
|
528
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
529
|
+
assertParamExists('dolphinDBListGroups', 'clusterName', clusterName)
|
|
530
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/groups`
|
|
531
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
532
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
533
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
534
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
535
|
+
let baseOptions;
|
|
536
|
+
if (configuration) {
|
|
537
|
+
baseOptions = configuration.baseOptions;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
541
|
+
const localVarHeaderParameter = {} as any;
|
|
542
|
+
const localVarQueryParameter = {} as any;
|
|
543
|
+
|
|
544
|
+
// authentication BearerToken required
|
|
545
|
+
// http bearer authentication required
|
|
546
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
547
|
+
|
|
548
|
+
// authentication DigestAuth required
|
|
549
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
554
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
555
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
556
|
+
|
|
557
|
+
return {
|
|
558
|
+
url: toPathString(localVarUrlObj),
|
|
559
|
+
options: localVarRequestOptions,
|
|
560
|
+
};
|
|
561
|
+
},
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @summary DolphinDB ListUsers
|
|
565
|
+
* @param {string} orgName
|
|
566
|
+
* @param {string} clusterName
|
|
567
|
+
* @param {*} [options] Override http request option.
|
|
568
|
+
* @throws {RequiredError}
|
|
569
|
+
*/
|
|
570
|
+
dolphinDBListUsers: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
571
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
572
|
+
assertParamExists('dolphinDBListUsers', 'orgName', orgName)
|
|
573
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
574
|
+
assertParamExists('dolphinDBListUsers', 'clusterName', clusterName)
|
|
575
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
576
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
577
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
578
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
579
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
580
|
+
let baseOptions;
|
|
581
|
+
if (configuration) {
|
|
582
|
+
baseOptions = configuration.baseOptions;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
586
|
+
const localVarHeaderParameter = {} as any;
|
|
587
|
+
const localVarQueryParameter = {} as any;
|
|
588
|
+
|
|
589
|
+
// authentication BearerToken required
|
|
590
|
+
// http bearer authentication required
|
|
591
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
592
|
+
|
|
593
|
+
// authentication DigestAuth required
|
|
594
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
599
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
600
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
601
|
+
|
|
602
|
+
return {
|
|
603
|
+
url: toPathString(localVarUrlObj),
|
|
604
|
+
options: localVarRequestOptions,
|
|
605
|
+
};
|
|
606
|
+
},
|
|
607
|
+
}
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* DolphindbApi - functional programming interface
|
|
612
|
+
* @export
|
|
613
|
+
*/
|
|
614
|
+
export const DolphindbApiFp = function(configuration?: Configuration) {
|
|
615
|
+
const localVarAxiosParamCreator = DolphindbApiAxiosParamCreator(configuration)
|
|
616
|
+
return {
|
|
617
|
+
/**
|
|
618
|
+
*
|
|
619
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
620
|
+
* @param {string} orgName
|
|
621
|
+
* @param {string} clusterName
|
|
622
|
+
* @param {string} groupName
|
|
623
|
+
* @param {DolphinDBMembershipChange} dolphinDBMembershipChange
|
|
624
|
+
* @param {*} [options] Override http request option.
|
|
625
|
+
* @throws {RequiredError}
|
|
626
|
+
*/
|
|
627
|
+
async dolphinDBChangeGroupMembers(orgName: string, clusterName: string, groupName: string, dolphinDBMembershipChange: DolphinDBMembershipChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
628
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBChangeGroupMembers(orgName, clusterName, groupName, dolphinDBMembershipChange, options);
|
|
629
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
630
|
+
const localVarOperationServerBasePath = operationServerMap['DolphindbApi.dolphinDBChangeGroupMembers']?.[localVarOperationServerIndex]?.url;
|
|
631
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
632
|
+
},
|
|
633
|
+
/**
|
|
634
|
+
*
|
|
635
|
+
* @summary DolphinDB ChangePassword
|
|
636
|
+
* @param {string} orgName
|
|
637
|
+
* @param {string} clusterName
|
|
638
|
+
* @param {string} accountName
|
|
639
|
+
* @param {DolphinDBPasswordChange} dolphinDBPasswordChange
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
*/
|
|
643
|
+
async dolphinDBChangePassword(orgName: string, clusterName: string, accountName: string, dolphinDBPasswordChange: DolphinDBPasswordChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
644
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBChangePassword(orgName, clusterName, accountName, dolphinDBPasswordChange, options);
|
|
645
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
646
|
+
const localVarOperationServerBasePath = operationServerMap['DolphindbApi.dolphinDBChangePassword']?.[localVarOperationServerIndex]?.url;
|
|
647
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
648
|
+
},
|
|
649
|
+
/**
|
|
650
|
+
*
|
|
651
|
+
* @summary DolphinDB ChangePermissions
|
|
652
|
+
* @param {string} orgName
|
|
653
|
+
* @param {string} clusterName
|
|
654
|
+
* @param {string} subjectType
|
|
655
|
+
* @param {string} subjectName
|
|
656
|
+
* @param {DolphinDBPermissionChange} dolphinDBPermissionChange
|
|
657
|
+
* @param {*} [options] Override http request option.
|
|
658
|
+
* @throws {RequiredError}
|
|
659
|
+
*/
|
|
660
|
+
async dolphinDBChangePermissions(orgName: string, clusterName: string, subjectType: string, subjectName: string, dolphinDBPermissionChange: DolphinDBPermissionChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
661
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBChangePermissions(orgName, clusterName, subjectType, subjectName, dolphinDBPermissionChange, options);
|
|
662
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
663
|
+
const localVarOperationServerBasePath = operationServerMap['DolphindbApi.dolphinDBChangePermissions']?.[localVarOperationServerIndex]?.url;
|
|
664
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
665
|
+
},
|
|
666
|
+
/**
|
|
667
|
+
*
|
|
668
|
+
* @summary DolphinDB CreateGroup
|
|
669
|
+
* @param {string} orgName
|
|
670
|
+
* @param {string} clusterName
|
|
671
|
+
* @param {DolphinDBGroupCreate} dolphinDBGroupCreate
|
|
672
|
+
* @param {*} [options] Override http request option.
|
|
673
|
+
* @throws {RequiredError}
|
|
674
|
+
*/
|
|
675
|
+
async dolphinDBCreateGroup(orgName: string, clusterName: string, dolphinDBGroupCreate: DolphinDBGroupCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
676
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBCreateGroup(orgName, clusterName, dolphinDBGroupCreate, options);
|
|
677
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
678
|
+
const localVarOperationServerBasePath = operationServerMap['DolphindbApi.dolphinDBCreateGroup']?.[localVarOperationServerIndex]?.url;
|
|
679
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
680
|
+
},
|
|
681
|
+
/**
|
|
682
|
+
*
|
|
683
|
+
* @summary DolphinDB CreateUser
|
|
684
|
+
* @param {string} orgName
|
|
685
|
+
* @param {string} clusterName
|
|
686
|
+
* @param {DolphinDBUserCreate} dolphinDBUserCreate
|
|
687
|
+
* @param {*} [options] Override http request option.
|
|
688
|
+
* @throws {RequiredError}
|
|
689
|
+
*/
|
|
690
|
+
async dolphinDBCreateUser(orgName: string, clusterName: string, dolphinDBUserCreate: DolphinDBUserCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
691
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBCreateUser(orgName, clusterName, dolphinDBUserCreate, options);
|
|
692
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
693
|
+
const localVarOperationServerBasePath = operationServerMap['DolphindbApi.dolphinDBCreateUser']?.[localVarOperationServerIndex]?.url;
|
|
694
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
695
|
+
},
|
|
696
|
+
/**
|
|
697
|
+
*
|
|
698
|
+
* @summary DolphinDB DeleteGroup
|
|
699
|
+
* @param {string} orgName
|
|
700
|
+
* @param {string} clusterName
|
|
701
|
+
* @param {string} groupName
|
|
702
|
+
* @param {*} [options] Override http request option.
|
|
703
|
+
* @throws {RequiredError}
|
|
704
|
+
*/
|
|
705
|
+
async dolphinDBDeleteGroup(orgName: string, clusterName: string, groupName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
706
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBDeleteGroup(orgName, clusterName, groupName, options);
|
|
707
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
708
|
+
const localVarOperationServerBasePath = operationServerMap['DolphindbApi.dolphinDBDeleteGroup']?.[localVarOperationServerIndex]?.url;
|
|
709
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
710
|
+
},
|
|
711
|
+
/**
|
|
712
|
+
*
|
|
713
|
+
* @summary DolphinDB DeleteUser
|
|
714
|
+
* @param {string} orgName
|
|
715
|
+
* @param {string} clusterName
|
|
716
|
+
* @param {string} accountName
|
|
717
|
+
* @param {*} [options] Override http request option.
|
|
718
|
+
* @throws {RequiredError}
|
|
719
|
+
*/
|
|
720
|
+
async dolphinDBDeleteUser(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
721
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBDeleteUser(orgName, clusterName, accountName, options);
|
|
722
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
723
|
+
const localVarOperationServerBasePath = operationServerMap['DolphindbApi.dolphinDBDeleteUser']?.[localVarOperationServerIndex]?.url;
|
|
724
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
725
|
+
},
|
|
726
|
+
/**
|
|
727
|
+
*
|
|
728
|
+
* @summary DolphinDB GetCapabilities
|
|
729
|
+
* @param {string} orgName
|
|
730
|
+
* @param {string} clusterName
|
|
731
|
+
* @param {*} [options] Override http request option.
|
|
732
|
+
* @throws {RequiredError}
|
|
733
|
+
*/
|
|
734
|
+
async dolphinDBGetCapabilities(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DolphinDBCapabilities>> {
|
|
735
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBGetCapabilities(orgName, clusterName, options);
|
|
736
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
737
|
+
const localVarOperationServerBasePath = operationServerMap['DolphindbApi.dolphinDBGetCapabilities']?.[localVarOperationServerIndex]?.url;
|
|
738
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
739
|
+
},
|
|
740
|
+
/**
|
|
741
|
+
*
|
|
742
|
+
* @summary DolphinDB GetPermissions
|
|
743
|
+
* @param {string} orgName
|
|
744
|
+
* @param {string} clusterName
|
|
745
|
+
* @param {string} subjectType
|
|
746
|
+
* @param {string} subjectName
|
|
747
|
+
* @param {*} [options] Override http request option.
|
|
748
|
+
* @throws {RequiredError}
|
|
749
|
+
*/
|
|
750
|
+
async dolphinDBGetPermissions(orgName: string, clusterName: string, subjectType: string, subjectName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DolphinDBPermissionSnapshot>> {
|
|
751
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBGetPermissions(orgName, clusterName, subjectType, subjectName, options);
|
|
752
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
753
|
+
const localVarOperationServerBasePath = operationServerMap['DolphindbApi.dolphinDBGetPermissions']?.[localVarOperationServerIndex]?.url;
|
|
754
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
755
|
+
},
|
|
756
|
+
/**
|
|
757
|
+
*
|
|
758
|
+
* @summary DolphinDB ListGroups
|
|
759
|
+
* @param {string} orgName
|
|
760
|
+
* @param {string} clusterName
|
|
761
|
+
* @param {*} [options] Override http request option.
|
|
762
|
+
* @throws {RequiredError}
|
|
763
|
+
*/
|
|
764
|
+
async dolphinDBListGroups(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DolphinDBGroup>>> {
|
|
765
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBListGroups(orgName, clusterName, options);
|
|
766
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
767
|
+
const localVarOperationServerBasePath = operationServerMap['DolphindbApi.dolphinDBListGroups']?.[localVarOperationServerIndex]?.url;
|
|
768
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
769
|
+
},
|
|
770
|
+
/**
|
|
771
|
+
*
|
|
772
|
+
* @summary DolphinDB ListUsers
|
|
773
|
+
* @param {string} orgName
|
|
774
|
+
* @param {string} clusterName
|
|
775
|
+
* @param {*} [options] Override http request option.
|
|
776
|
+
* @throws {RequiredError}
|
|
777
|
+
*/
|
|
778
|
+
async dolphinDBListUsers(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DolphinDBUser>>> {
|
|
779
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBListUsers(orgName, clusterName, options);
|
|
780
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
781
|
+
const localVarOperationServerBasePath = operationServerMap['DolphindbApi.dolphinDBListUsers']?.[localVarOperationServerIndex]?.url;
|
|
782
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
783
|
+
},
|
|
784
|
+
}
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* DolphindbApi - factory interface
|
|
789
|
+
* @export
|
|
790
|
+
*/
|
|
791
|
+
export const DolphindbApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
792
|
+
const localVarFp = DolphindbApiFp(configuration)
|
|
793
|
+
return {
|
|
794
|
+
/**
|
|
795
|
+
*
|
|
796
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
797
|
+
* @param {DolphindbApiDolphinDBChangeGroupMembersRequest} requestParameters Request parameters.
|
|
798
|
+
* @param {*} [options] Override http request option.
|
|
799
|
+
* @throws {RequiredError}
|
|
800
|
+
*/
|
|
801
|
+
dolphinDBChangeGroupMembers(requestParameters: DolphindbApiDolphinDBChangeGroupMembersRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
802
|
+
return localVarFp.dolphinDBChangeGroupMembers(requestParameters.orgName, requestParameters.clusterName, requestParameters.groupName, requestParameters.dolphinDBMembershipChange, options).then((request) => request(axios, basePath));
|
|
803
|
+
},
|
|
804
|
+
/**
|
|
805
|
+
*
|
|
806
|
+
* @summary DolphinDB ChangePassword
|
|
807
|
+
* @param {DolphindbApiDolphinDBChangePasswordRequest} requestParameters Request parameters.
|
|
808
|
+
* @param {*} [options] Override http request option.
|
|
809
|
+
* @throws {RequiredError}
|
|
810
|
+
*/
|
|
811
|
+
dolphinDBChangePassword(requestParameters: DolphindbApiDolphinDBChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
812
|
+
return localVarFp.dolphinDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.dolphinDBPasswordChange, options).then((request) => request(axios, basePath));
|
|
813
|
+
},
|
|
814
|
+
/**
|
|
815
|
+
*
|
|
816
|
+
* @summary DolphinDB ChangePermissions
|
|
817
|
+
* @param {DolphindbApiDolphinDBChangePermissionsRequest} requestParameters Request parameters.
|
|
818
|
+
* @param {*} [options] Override http request option.
|
|
819
|
+
* @throws {RequiredError}
|
|
820
|
+
*/
|
|
821
|
+
dolphinDBChangePermissions(requestParameters: DolphindbApiDolphinDBChangePermissionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
822
|
+
return localVarFp.dolphinDBChangePermissions(requestParameters.orgName, requestParameters.clusterName, requestParameters.subjectType, requestParameters.subjectName, requestParameters.dolphinDBPermissionChange, options).then((request) => request(axios, basePath));
|
|
823
|
+
},
|
|
824
|
+
/**
|
|
825
|
+
*
|
|
826
|
+
* @summary DolphinDB CreateGroup
|
|
827
|
+
* @param {DolphindbApiDolphinDBCreateGroupRequest} requestParameters Request parameters.
|
|
828
|
+
* @param {*} [options] Override http request option.
|
|
829
|
+
* @throws {RequiredError}
|
|
830
|
+
*/
|
|
831
|
+
dolphinDBCreateGroup(requestParameters: DolphindbApiDolphinDBCreateGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
832
|
+
return localVarFp.dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(axios, basePath));
|
|
833
|
+
},
|
|
834
|
+
/**
|
|
835
|
+
*
|
|
836
|
+
* @summary DolphinDB CreateUser
|
|
837
|
+
* @param {DolphindbApiDolphinDBCreateUserRequest} requestParameters Request parameters.
|
|
838
|
+
* @param {*} [options] Override http request option.
|
|
839
|
+
* @throws {RequiredError}
|
|
840
|
+
*/
|
|
841
|
+
dolphinDBCreateUser(requestParameters: DolphindbApiDolphinDBCreateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
842
|
+
return localVarFp.dolphinDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBUserCreate, options).then((request) => request(axios, basePath));
|
|
843
|
+
},
|
|
844
|
+
/**
|
|
845
|
+
*
|
|
846
|
+
* @summary DolphinDB DeleteGroup
|
|
847
|
+
* @param {DolphindbApiDolphinDBDeleteGroupRequest} requestParameters Request parameters.
|
|
848
|
+
* @param {*} [options] Override http request option.
|
|
849
|
+
* @throws {RequiredError}
|
|
850
|
+
*/
|
|
851
|
+
dolphinDBDeleteGroup(requestParameters: DolphindbApiDolphinDBDeleteGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
852
|
+
return localVarFp.dolphinDBDeleteGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.groupName, options).then((request) => request(axios, basePath));
|
|
853
|
+
},
|
|
854
|
+
/**
|
|
855
|
+
*
|
|
856
|
+
* @summary DolphinDB DeleteUser
|
|
857
|
+
* @param {DolphindbApiDolphinDBDeleteUserRequest} requestParameters Request parameters.
|
|
858
|
+
* @param {*} [options] Override http request option.
|
|
859
|
+
* @throws {RequiredError}
|
|
860
|
+
*/
|
|
861
|
+
dolphinDBDeleteUser(requestParameters: DolphindbApiDolphinDBDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
862
|
+
return localVarFp.dolphinDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
863
|
+
},
|
|
864
|
+
/**
|
|
865
|
+
*
|
|
866
|
+
* @summary DolphinDB GetCapabilities
|
|
867
|
+
* @param {DolphindbApiDolphinDBGetCapabilitiesRequest} requestParameters Request parameters.
|
|
868
|
+
* @param {*} [options] Override http request option.
|
|
869
|
+
* @throws {RequiredError}
|
|
870
|
+
*/
|
|
871
|
+
dolphinDBGetCapabilities(requestParameters: DolphindbApiDolphinDBGetCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DolphinDBCapabilities> {
|
|
872
|
+
return localVarFp.dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
873
|
+
},
|
|
874
|
+
/**
|
|
875
|
+
*
|
|
876
|
+
* @summary DolphinDB GetPermissions
|
|
877
|
+
* @param {DolphindbApiDolphinDBGetPermissionsRequest} requestParameters Request parameters.
|
|
878
|
+
* @param {*} [options] Override http request option.
|
|
879
|
+
* @throws {RequiredError}
|
|
880
|
+
*/
|
|
881
|
+
dolphinDBGetPermissions(requestParameters: DolphindbApiDolphinDBGetPermissionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DolphinDBPermissionSnapshot> {
|
|
882
|
+
return localVarFp.dolphinDBGetPermissions(requestParameters.orgName, requestParameters.clusterName, requestParameters.subjectType, requestParameters.subjectName, options).then((request) => request(axios, basePath));
|
|
883
|
+
},
|
|
884
|
+
/**
|
|
885
|
+
*
|
|
886
|
+
* @summary DolphinDB ListGroups
|
|
887
|
+
* @param {DolphindbApiDolphinDBListGroupsRequest} requestParameters Request parameters.
|
|
888
|
+
* @param {*} [options] Override http request option.
|
|
889
|
+
* @throws {RequiredError}
|
|
890
|
+
*/
|
|
891
|
+
dolphinDBListGroups(requestParameters: DolphindbApiDolphinDBListGroupsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DolphinDBGroup>> {
|
|
892
|
+
return localVarFp.dolphinDBListGroups(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
893
|
+
},
|
|
894
|
+
/**
|
|
895
|
+
*
|
|
896
|
+
* @summary DolphinDB ListUsers
|
|
897
|
+
* @param {DolphindbApiDolphinDBListUsersRequest} requestParameters Request parameters.
|
|
898
|
+
* @param {*} [options] Override http request option.
|
|
899
|
+
* @throws {RequiredError}
|
|
900
|
+
*/
|
|
901
|
+
dolphinDBListUsers(requestParameters: DolphindbApiDolphinDBListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DolphinDBUser>> {
|
|
902
|
+
return localVarFp.dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
903
|
+
},
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* DolphindbApi - interface
|
|
909
|
+
* @export
|
|
910
|
+
* @interface DolphindbApi
|
|
911
|
+
*/
|
|
912
|
+
export interface DolphindbApiInterface {
|
|
913
|
+
/**
|
|
914
|
+
*
|
|
915
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
916
|
+
* @param {DolphindbApiDolphinDBChangeGroupMembersRequest} requestParameters Request parameters.
|
|
917
|
+
* @param {*} [options] Override http request option.
|
|
918
|
+
* @throws {RequiredError}
|
|
919
|
+
* @memberof DolphindbApiInterface
|
|
920
|
+
*/
|
|
921
|
+
dolphinDBChangeGroupMembers(requestParameters: DolphindbApiDolphinDBChangeGroupMembersRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
*
|
|
925
|
+
* @summary DolphinDB ChangePassword
|
|
926
|
+
* @param {DolphindbApiDolphinDBChangePasswordRequest} requestParameters Request parameters.
|
|
927
|
+
* @param {*} [options] Override http request option.
|
|
928
|
+
* @throws {RequiredError}
|
|
929
|
+
* @memberof DolphindbApiInterface
|
|
930
|
+
*/
|
|
931
|
+
dolphinDBChangePassword(requestParameters: DolphindbApiDolphinDBChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
*
|
|
935
|
+
* @summary DolphinDB ChangePermissions
|
|
936
|
+
* @param {DolphindbApiDolphinDBChangePermissionsRequest} requestParameters Request parameters.
|
|
937
|
+
* @param {*} [options] Override http request option.
|
|
938
|
+
* @throws {RequiredError}
|
|
939
|
+
* @memberof DolphindbApiInterface
|
|
940
|
+
*/
|
|
941
|
+
dolphinDBChangePermissions(requestParameters: DolphindbApiDolphinDBChangePermissionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
*
|
|
945
|
+
* @summary DolphinDB CreateGroup
|
|
946
|
+
* @param {DolphindbApiDolphinDBCreateGroupRequest} requestParameters Request parameters.
|
|
947
|
+
* @param {*} [options] Override http request option.
|
|
948
|
+
* @throws {RequiredError}
|
|
949
|
+
* @memberof DolphindbApiInterface
|
|
950
|
+
*/
|
|
951
|
+
dolphinDBCreateGroup(requestParameters: DolphindbApiDolphinDBCreateGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
*
|
|
955
|
+
* @summary DolphinDB CreateUser
|
|
956
|
+
* @param {DolphindbApiDolphinDBCreateUserRequest} requestParameters Request parameters.
|
|
957
|
+
* @param {*} [options] Override http request option.
|
|
958
|
+
* @throws {RequiredError}
|
|
959
|
+
* @memberof DolphindbApiInterface
|
|
960
|
+
*/
|
|
961
|
+
dolphinDBCreateUser(requestParameters: DolphindbApiDolphinDBCreateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
*
|
|
965
|
+
* @summary DolphinDB DeleteGroup
|
|
966
|
+
* @param {DolphindbApiDolphinDBDeleteGroupRequest} requestParameters Request parameters.
|
|
967
|
+
* @param {*} [options] Override http request option.
|
|
968
|
+
* @throws {RequiredError}
|
|
969
|
+
* @memberof DolphindbApiInterface
|
|
970
|
+
*/
|
|
971
|
+
dolphinDBDeleteGroup(requestParameters: DolphindbApiDolphinDBDeleteGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
*
|
|
975
|
+
* @summary DolphinDB DeleteUser
|
|
976
|
+
* @param {DolphindbApiDolphinDBDeleteUserRequest} requestParameters Request parameters.
|
|
977
|
+
* @param {*} [options] Override http request option.
|
|
978
|
+
* @throws {RequiredError}
|
|
979
|
+
* @memberof DolphindbApiInterface
|
|
980
|
+
*/
|
|
981
|
+
dolphinDBDeleteUser(requestParameters: DolphindbApiDolphinDBDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
*
|
|
985
|
+
* @summary DolphinDB GetCapabilities
|
|
986
|
+
* @param {DolphindbApiDolphinDBGetCapabilitiesRequest} requestParameters Request parameters.
|
|
987
|
+
* @param {*} [options] Override http request option.
|
|
988
|
+
* @throws {RequiredError}
|
|
989
|
+
* @memberof DolphindbApiInterface
|
|
990
|
+
*/
|
|
991
|
+
dolphinDBGetCapabilities(requestParameters: DolphindbApiDolphinDBGetCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DolphinDBCapabilities>;
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
*
|
|
995
|
+
* @summary DolphinDB GetPermissions
|
|
996
|
+
* @param {DolphindbApiDolphinDBGetPermissionsRequest} requestParameters Request parameters.
|
|
997
|
+
* @param {*} [options] Override http request option.
|
|
998
|
+
* @throws {RequiredError}
|
|
999
|
+
* @memberof DolphindbApiInterface
|
|
1000
|
+
*/
|
|
1001
|
+
dolphinDBGetPermissions(requestParameters: DolphindbApiDolphinDBGetPermissionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DolphinDBPermissionSnapshot>;
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
*
|
|
1005
|
+
* @summary DolphinDB ListGroups
|
|
1006
|
+
* @param {DolphindbApiDolphinDBListGroupsRequest} requestParameters Request parameters.
|
|
1007
|
+
* @param {*} [options] Override http request option.
|
|
1008
|
+
* @throws {RequiredError}
|
|
1009
|
+
* @memberof DolphindbApiInterface
|
|
1010
|
+
*/
|
|
1011
|
+
dolphinDBListGroups(requestParameters: DolphindbApiDolphinDBListGroupsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DolphinDBGroup>>;
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
*
|
|
1015
|
+
* @summary DolphinDB ListUsers
|
|
1016
|
+
* @param {DolphindbApiDolphinDBListUsersRequest} requestParameters Request parameters.
|
|
1017
|
+
* @param {*} [options] Override http request option.
|
|
1018
|
+
* @throws {RequiredError}
|
|
1019
|
+
* @memberof DolphindbApiInterface
|
|
1020
|
+
*/
|
|
1021
|
+
dolphinDBListUsers(requestParameters: DolphindbApiDolphinDBListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DolphinDBUser>>;
|
|
1022
|
+
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* Request parameters for dolphinDBChangeGroupMembers operation in DolphindbApi.
|
|
1027
|
+
* @export
|
|
1028
|
+
* @interface DolphindbApiDolphinDBChangeGroupMembersRequest
|
|
1029
|
+
*/
|
|
1030
|
+
export interface DolphindbApiDolphinDBChangeGroupMembersRequest {
|
|
1031
|
+
/**
|
|
1032
|
+
*
|
|
1033
|
+
* @type {string}
|
|
1034
|
+
* @memberof DolphindbApiDolphinDBChangeGroupMembers
|
|
1035
|
+
*/
|
|
1036
|
+
readonly orgName: string
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
*
|
|
1040
|
+
* @type {string}
|
|
1041
|
+
* @memberof DolphindbApiDolphinDBChangeGroupMembers
|
|
1042
|
+
*/
|
|
1043
|
+
readonly clusterName: string
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @type {string}
|
|
1048
|
+
* @memberof DolphindbApiDolphinDBChangeGroupMembers
|
|
1049
|
+
*/
|
|
1050
|
+
readonly groupName: string
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
*
|
|
1054
|
+
* @type {DolphinDBMembershipChange}
|
|
1055
|
+
* @memberof DolphindbApiDolphinDBChangeGroupMembers
|
|
1056
|
+
*/
|
|
1057
|
+
readonly dolphinDBMembershipChange: DolphinDBMembershipChange
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* Request parameters for dolphinDBChangePassword operation in DolphindbApi.
|
|
1062
|
+
* @export
|
|
1063
|
+
* @interface DolphindbApiDolphinDBChangePasswordRequest
|
|
1064
|
+
*/
|
|
1065
|
+
export interface DolphindbApiDolphinDBChangePasswordRequest {
|
|
1066
|
+
/**
|
|
1067
|
+
*
|
|
1068
|
+
* @type {string}
|
|
1069
|
+
* @memberof DolphindbApiDolphinDBChangePassword
|
|
1070
|
+
*/
|
|
1071
|
+
readonly orgName: string
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
*
|
|
1075
|
+
* @type {string}
|
|
1076
|
+
* @memberof DolphindbApiDolphinDBChangePassword
|
|
1077
|
+
*/
|
|
1078
|
+
readonly clusterName: string
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
*
|
|
1082
|
+
* @type {string}
|
|
1083
|
+
* @memberof DolphindbApiDolphinDBChangePassword
|
|
1084
|
+
*/
|
|
1085
|
+
readonly accountName: string
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
*
|
|
1089
|
+
* @type {DolphinDBPasswordChange}
|
|
1090
|
+
* @memberof DolphindbApiDolphinDBChangePassword
|
|
1091
|
+
*/
|
|
1092
|
+
readonly dolphinDBPasswordChange: DolphinDBPasswordChange
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* Request parameters for dolphinDBChangePermissions operation in DolphindbApi.
|
|
1097
|
+
* @export
|
|
1098
|
+
* @interface DolphindbApiDolphinDBChangePermissionsRequest
|
|
1099
|
+
*/
|
|
1100
|
+
export interface DolphindbApiDolphinDBChangePermissionsRequest {
|
|
1101
|
+
/**
|
|
1102
|
+
*
|
|
1103
|
+
* @type {string}
|
|
1104
|
+
* @memberof DolphindbApiDolphinDBChangePermissions
|
|
1105
|
+
*/
|
|
1106
|
+
readonly orgName: string
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
*
|
|
1110
|
+
* @type {string}
|
|
1111
|
+
* @memberof DolphindbApiDolphinDBChangePermissions
|
|
1112
|
+
*/
|
|
1113
|
+
readonly clusterName: string
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
*
|
|
1117
|
+
* @type {string}
|
|
1118
|
+
* @memberof DolphindbApiDolphinDBChangePermissions
|
|
1119
|
+
*/
|
|
1120
|
+
readonly subjectType: string
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
*
|
|
1124
|
+
* @type {string}
|
|
1125
|
+
* @memberof DolphindbApiDolphinDBChangePermissions
|
|
1126
|
+
*/
|
|
1127
|
+
readonly subjectName: string
|
|
1128
|
+
|
|
1129
|
+
/**
|
|
1130
|
+
*
|
|
1131
|
+
* @type {DolphinDBPermissionChange}
|
|
1132
|
+
* @memberof DolphindbApiDolphinDBChangePermissions
|
|
1133
|
+
*/
|
|
1134
|
+
readonly dolphinDBPermissionChange: DolphinDBPermissionChange
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* Request parameters for dolphinDBCreateGroup operation in DolphindbApi.
|
|
1139
|
+
* @export
|
|
1140
|
+
* @interface DolphindbApiDolphinDBCreateGroupRequest
|
|
1141
|
+
*/
|
|
1142
|
+
export interface DolphindbApiDolphinDBCreateGroupRequest {
|
|
1143
|
+
/**
|
|
1144
|
+
*
|
|
1145
|
+
* @type {string}
|
|
1146
|
+
* @memberof DolphindbApiDolphinDBCreateGroup
|
|
1147
|
+
*/
|
|
1148
|
+
readonly orgName: string
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
*
|
|
1152
|
+
* @type {string}
|
|
1153
|
+
* @memberof DolphindbApiDolphinDBCreateGroup
|
|
1154
|
+
*/
|
|
1155
|
+
readonly clusterName: string
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
*
|
|
1159
|
+
* @type {DolphinDBGroupCreate}
|
|
1160
|
+
* @memberof DolphindbApiDolphinDBCreateGroup
|
|
1161
|
+
*/
|
|
1162
|
+
readonly dolphinDBGroupCreate: DolphinDBGroupCreate
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* Request parameters for dolphinDBCreateUser operation in DolphindbApi.
|
|
1167
|
+
* @export
|
|
1168
|
+
* @interface DolphindbApiDolphinDBCreateUserRequest
|
|
1169
|
+
*/
|
|
1170
|
+
export interface DolphindbApiDolphinDBCreateUserRequest {
|
|
1171
|
+
/**
|
|
1172
|
+
*
|
|
1173
|
+
* @type {string}
|
|
1174
|
+
* @memberof DolphindbApiDolphinDBCreateUser
|
|
1175
|
+
*/
|
|
1176
|
+
readonly orgName: string
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
*
|
|
1180
|
+
* @type {string}
|
|
1181
|
+
* @memberof DolphindbApiDolphinDBCreateUser
|
|
1182
|
+
*/
|
|
1183
|
+
readonly clusterName: string
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
*
|
|
1187
|
+
* @type {DolphinDBUserCreate}
|
|
1188
|
+
* @memberof DolphindbApiDolphinDBCreateUser
|
|
1189
|
+
*/
|
|
1190
|
+
readonly dolphinDBUserCreate: DolphinDBUserCreate
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* Request parameters for dolphinDBDeleteGroup operation in DolphindbApi.
|
|
1195
|
+
* @export
|
|
1196
|
+
* @interface DolphindbApiDolphinDBDeleteGroupRequest
|
|
1197
|
+
*/
|
|
1198
|
+
export interface DolphindbApiDolphinDBDeleteGroupRequest {
|
|
1199
|
+
/**
|
|
1200
|
+
*
|
|
1201
|
+
* @type {string}
|
|
1202
|
+
* @memberof DolphindbApiDolphinDBDeleteGroup
|
|
1203
|
+
*/
|
|
1204
|
+
readonly orgName: string
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
*
|
|
1208
|
+
* @type {string}
|
|
1209
|
+
* @memberof DolphindbApiDolphinDBDeleteGroup
|
|
1210
|
+
*/
|
|
1211
|
+
readonly clusterName: string
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
*
|
|
1215
|
+
* @type {string}
|
|
1216
|
+
* @memberof DolphindbApiDolphinDBDeleteGroup
|
|
1217
|
+
*/
|
|
1218
|
+
readonly groupName: string
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* Request parameters for dolphinDBDeleteUser operation in DolphindbApi.
|
|
1223
|
+
* @export
|
|
1224
|
+
* @interface DolphindbApiDolphinDBDeleteUserRequest
|
|
1225
|
+
*/
|
|
1226
|
+
export interface DolphindbApiDolphinDBDeleteUserRequest {
|
|
1227
|
+
/**
|
|
1228
|
+
*
|
|
1229
|
+
* @type {string}
|
|
1230
|
+
* @memberof DolphindbApiDolphinDBDeleteUser
|
|
1231
|
+
*/
|
|
1232
|
+
readonly orgName: string
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
*
|
|
1236
|
+
* @type {string}
|
|
1237
|
+
* @memberof DolphindbApiDolphinDBDeleteUser
|
|
1238
|
+
*/
|
|
1239
|
+
readonly clusterName: string
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
*
|
|
1243
|
+
* @type {string}
|
|
1244
|
+
* @memberof DolphindbApiDolphinDBDeleteUser
|
|
1245
|
+
*/
|
|
1246
|
+
readonly accountName: string
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* Request parameters for dolphinDBGetCapabilities operation in DolphindbApi.
|
|
1251
|
+
* @export
|
|
1252
|
+
* @interface DolphindbApiDolphinDBGetCapabilitiesRequest
|
|
1253
|
+
*/
|
|
1254
|
+
export interface DolphindbApiDolphinDBGetCapabilitiesRequest {
|
|
1255
|
+
/**
|
|
1256
|
+
*
|
|
1257
|
+
* @type {string}
|
|
1258
|
+
* @memberof DolphindbApiDolphinDBGetCapabilities
|
|
1259
|
+
*/
|
|
1260
|
+
readonly orgName: string
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
*
|
|
1264
|
+
* @type {string}
|
|
1265
|
+
* @memberof DolphindbApiDolphinDBGetCapabilities
|
|
1266
|
+
*/
|
|
1267
|
+
readonly clusterName: string
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* Request parameters for dolphinDBGetPermissions operation in DolphindbApi.
|
|
1272
|
+
* @export
|
|
1273
|
+
* @interface DolphindbApiDolphinDBGetPermissionsRequest
|
|
1274
|
+
*/
|
|
1275
|
+
export interface DolphindbApiDolphinDBGetPermissionsRequest {
|
|
1276
|
+
/**
|
|
1277
|
+
*
|
|
1278
|
+
* @type {string}
|
|
1279
|
+
* @memberof DolphindbApiDolphinDBGetPermissions
|
|
1280
|
+
*/
|
|
1281
|
+
readonly orgName: string
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
*
|
|
1285
|
+
* @type {string}
|
|
1286
|
+
* @memberof DolphindbApiDolphinDBGetPermissions
|
|
1287
|
+
*/
|
|
1288
|
+
readonly clusterName: string
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
*
|
|
1292
|
+
* @type {string}
|
|
1293
|
+
* @memberof DolphindbApiDolphinDBGetPermissions
|
|
1294
|
+
*/
|
|
1295
|
+
readonly subjectType: string
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
*
|
|
1299
|
+
* @type {string}
|
|
1300
|
+
* @memberof DolphindbApiDolphinDBGetPermissions
|
|
1301
|
+
*/
|
|
1302
|
+
readonly subjectName: string
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* Request parameters for dolphinDBListGroups operation in DolphindbApi.
|
|
1307
|
+
* @export
|
|
1308
|
+
* @interface DolphindbApiDolphinDBListGroupsRequest
|
|
1309
|
+
*/
|
|
1310
|
+
export interface DolphindbApiDolphinDBListGroupsRequest {
|
|
1311
|
+
/**
|
|
1312
|
+
*
|
|
1313
|
+
* @type {string}
|
|
1314
|
+
* @memberof DolphindbApiDolphinDBListGroups
|
|
1315
|
+
*/
|
|
1316
|
+
readonly orgName: string
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
*
|
|
1320
|
+
* @type {string}
|
|
1321
|
+
* @memberof DolphindbApiDolphinDBListGroups
|
|
1322
|
+
*/
|
|
1323
|
+
readonly clusterName: string
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* Request parameters for dolphinDBListUsers operation in DolphindbApi.
|
|
1328
|
+
* @export
|
|
1329
|
+
* @interface DolphindbApiDolphinDBListUsersRequest
|
|
1330
|
+
*/
|
|
1331
|
+
export interface DolphindbApiDolphinDBListUsersRequest {
|
|
1332
|
+
/**
|
|
1333
|
+
*
|
|
1334
|
+
* @type {string}
|
|
1335
|
+
* @memberof DolphindbApiDolphinDBListUsers
|
|
1336
|
+
*/
|
|
1337
|
+
readonly orgName: string
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
*
|
|
1341
|
+
* @type {string}
|
|
1342
|
+
* @memberof DolphindbApiDolphinDBListUsers
|
|
1343
|
+
*/
|
|
1344
|
+
readonly clusterName: string
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* DolphindbApi - object-oriented interface
|
|
1349
|
+
* @export
|
|
1350
|
+
* @class DolphindbApi
|
|
1351
|
+
* @extends {BaseAPI}
|
|
1352
|
+
*/
|
|
1353
|
+
export class DolphindbApi extends BaseAPI implements DolphindbApiInterface {
|
|
1354
|
+
/**
|
|
1355
|
+
*
|
|
1356
|
+
* @summary DolphinDB ChangeGroupMembers
|
|
1357
|
+
* @param {DolphindbApiDolphinDBChangeGroupMembersRequest} requestParameters Request parameters.
|
|
1358
|
+
* @param {*} [options] Override http request option.
|
|
1359
|
+
* @throws {RequiredError}
|
|
1360
|
+
* @memberof DolphindbApi
|
|
1361
|
+
*/
|
|
1362
|
+
public dolphinDBChangeGroupMembers(requestParameters: DolphindbApiDolphinDBChangeGroupMembersRequest, options?: RawAxiosRequestConfig) {
|
|
1363
|
+
return DolphindbApiFp(this.configuration).dolphinDBChangeGroupMembers(requestParameters.orgName, requestParameters.clusterName, requestParameters.groupName, requestParameters.dolphinDBMembershipChange, options).then((request) => request(this.axios, this.basePath));
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
*
|
|
1368
|
+
* @summary DolphinDB ChangePassword
|
|
1369
|
+
* @param {DolphindbApiDolphinDBChangePasswordRequest} requestParameters Request parameters.
|
|
1370
|
+
* @param {*} [options] Override http request option.
|
|
1371
|
+
* @throws {RequiredError}
|
|
1372
|
+
* @memberof DolphindbApi
|
|
1373
|
+
*/
|
|
1374
|
+
public dolphinDBChangePassword(requestParameters: DolphindbApiDolphinDBChangePasswordRequest, options?: RawAxiosRequestConfig) {
|
|
1375
|
+
return DolphindbApiFp(this.configuration).dolphinDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.dolphinDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
*
|
|
1380
|
+
* @summary DolphinDB ChangePermissions
|
|
1381
|
+
* @param {DolphindbApiDolphinDBChangePermissionsRequest} requestParameters Request parameters.
|
|
1382
|
+
* @param {*} [options] Override http request option.
|
|
1383
|
+
* @throws {RequiredError}
|
|
1384
|
+
* @memberof DolphindbApi
|
|
1385
|
+
*/
|
|
1386
|
+
public dolphinDBChangePermissions(requestParameters: DolphindbApiDolphinDBChangePermissionsRequest, options?: RawAxiosRequestConfig) {
|
|
1387
|
+
return DolphindbApiFp(this.configuration).dolphinDBChangePermissions(requestParameters.orgName, requestParameters.clusterName, requestParameters.subjectType, requestParameters.subjectName, requestParameters.dolphinDBPermissionChange, options).then((request) => request(this.axios, this.basePath));
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
*
|
|
1392
|
+
* @summary DolphinDB CreateGroup
|
|
1393
|
+
* @param {DolphindbApiDolphinDBCreateGroupRequest} requestParameters Request parameters.
|
|
1394
|
+
* @param {*} [options] Override http request option.
|
|
1395
|
+
* @throws {RequiredError}
|
|
1396
|
+
* @memberof DolphindbApi
|
|
1397
|
+
*/
|
|
1398
|
+
public dolphinDBCreateGroup(requestParameters: DolphindbApiDolphinDBCreateGroupRequest, options?: RawAxiosRequestConfig) {
|
|
1399
|
+
return DolphindbApiFp(this.configuration).dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
/**
|
|
1403
|
+
*
|
|
1404
|
+
* @summary DolphinDB CreateUser
|
|
1405
|
+
* @param {DolphindbApiDolphinDBCreateUserRequest} requestParameters Request parameters.
|
|
1406
|
+
* @param {*} [options] Override http request option.
|
|
1407
|
+
* @throws {RequiredError}
|
|
1408
|
+
* @memberof DolphindbApi
|
|
1409
|
+
*/
|
|
1410
|
+
public dolphinDBCreateUser(requestParameters: DolphindbApiDolphinDBCreateUserRequest, options?: RawAxiosRequestConfig) {
|
|
1411
|
+
return DolphindbApiFp(this.configuration).dolphinDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBUserCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
*
|
|
1416
|
+
* @summary DolphinDB DeleteGroup
|
|
1417
|
+
* @param {DolphindbApiDolphinDBDeleteGroupRequest} requestParameters Request parameters.
|
|
1418
|
+
* @param {*} [options] Override http request option.
|
|
1419
|
+
* @throws {RequiredError}
|
|
1420
|
+
* @memberof DolphindbApi
|
|
1421
|
+
*/
|
|
1422
|
+
public dolphinDBDeleteGroup(requestParameters: DolphindbApiDolphinDBDeleteGroupRequest, options?: RawAxiosRequestConfig) {
|
|
1423
|
+
return DolphindbApiFp(this.configuration).dolphinDBDeleteGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
/**
|
|
1427
|
+
*
|
|
1428
|
+
* @summary DolphinDB DeleteUser
|
|
1429
|
+
* @param {DolphindbApiDolphinDBDeleteUserRequest} requestParameters Request parameters.
|
|
1430
|
+
* @param {*} [options] Override http request option.
|
|
1431
|
+
* @throws {RequiredError}
|
|
1432
|
+
* @memberof DolphindbApi
|
|
1433
|
+
*/
|
|
1434
|
+
public dolphinDBDeleteUser(requestParameters: DolphindbApiDolphinDBDeleteUserRequest, options?: RawAxiosRequestConfig) {
|
|
1435
|
+
return DolphindbApiFp(this.configuration).dolphinDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
*
|
|
1440
|
+
* @summary DolphinDB GetCapabilities
|
|
1441
|
+
* @param {DolphindbApiDolphinDBGetCapabilitiesRequest} requestParameters Request parameters.
|
|
1442
|
+
* @param {*} [options] Override http request option.
|
|
1443
|
+
* @throws {RequiredError}
|
|
1444
|
+
* @memberof DolphindbApi
|
|
1445
|
+
*/
|
|
1446
|
+
public dolphinDBGetCapabilities(requestParameters: DolphindbApiDolphinDBGetCapabilitiesRequest, options?: RawAxiosRequestConfig) {
|
|
1447
|
+
return DolphindbApiFp(this.configuration).dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
*
|
|
1452
|
+
* @summary DolphinDB GetPermissions
|
|
1453
|
+
* @param {DolphindbApiDolphinDBGetPermissionsRequest} requestParameters Request parameters.
|
|
1454
|
+
* @param {*} [options] Override http request option.
|
|
1455
|
+
* @throws {RequiredError}
|
|
1456
|
+
* @memberof DolphindbApi
|
|
1457
|
+
*/
|
|
1458
|
+
public dolphinDBGetPermissions(requestParameters: DolphindbApiDolphinDBGetPermissionsRequest, options?: RawAxiosRequestConfig) {
|
|
1459
|
+
return DolphindbApiFp(this.configuration).dolphinDBGetPermissions(requestParameters.orgName, requestParameters.clusterName, requestParameters.subjectType, requestParameters.subjectName, options).then((request) => request(this.axios, this.basePath));
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
*
|
|
1464
|
+
* @summary DolphinDB ListGroups
|
|
1465
|
+
* @param {DolphindbApiDolphinDBListGroupsRequest} requestParameters Request parameters.
|
|
1466
|
+
* @param {*} [options] Override http request option.
|
|
1467
|
+
* @throws {RequiredError}
|
|
1468
|
+
* @memberof DolphindbApi
|
|
1469
|
+
*/
|
|
1470
|
+
public dolphinDBListGroups(requestParameters: DolphindbApiDolphinDBListGroupsRequest, options?: RawAxiosRequestConfig) {
|
|
1471
|
+
return DolphindbApiFp(this.configuration).dolphinDBListGroups(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
/**
|
|
1475
|
+
*
|
|
1476
|
+
* @summary DolphinDB ListUsers
|
|
1477
|
+
* @param {DolphindbApiDolphinDBListUsersRequest} requestParameters Request parameters.
|
|
1478
|
+
* @param {*} [options] Override http request option.
|
|
1479
|
+
* @throws {RequiredError}
|
|
1480
|
+
* @memberof DolphindbApi
|
|
1481
|
+
*/
|
|
1482
|
+
public dolphinDBListUsers(requestParameters: DolphindbApiDolphinDBListUsersRequest, options?: RawAxiosRequestConfig) {
|
|
1483
|
+
return DolphindbApiFp(this.configuration).dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
|