@alicloud/ecd20200930 5.2.0 → 5.3.0
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/client.d.ts +280 -40
- package/dist/client.js +550 -40
- package/dist/client.js.map +1 -1
- package/dist/models/ConfigAdconnectorTrustRequest.d.ts +1 -1
- package/dist/models/CreateDesktopsRequest.d.ts +59 -59
- package/dist/models/CreateDesktopsResponseBody.d.ts +1 -1
- package/dist/models/CreateDesktopsShrinkRequest.d.ts +48 -48
- package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +7 -8
- package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -1
- package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +1 -1
- package/dist/models/DeleteDesktopsRequest.d.ts +1 -1
- package/dist/models/DescribeFlowMetricRequest.d.ts +5 -5
- package/dist/models/DescribeOfficeSitesRequest.d.ts +6 -6
- package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -23
- package/dist/models/DescribePeripheralDriversRequest.d.ts +86 -0
- package/dist/models/DescribePeripheralDriversRequest.js +77 -0
- package/dist/models/DescribePeripheralDriversRequest.js.map +1 -0
- package/dist/models/DescribePeripheralDriversResponse.d.ts +19 -0
- package/dist/models/DescribePeripheralDriversResponse.js +69 -0
- package/dist/models/DescribePeripheralDriversResponse.js.map +1 -0
- package/dist/models/DescribePeripheralDriversResponseBody.d.ts +141 -0
- package/dist/models/DescribePeripheralDriversResponseBody.js +104 -0
- package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -0
- package/dist/models/DescribeSnapshotsRequest.d.ts +4 -4
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +2 -2
- package/dist/models/DescribeVulDesktopsRequest.d.ts +137 -0
- package/dist/models/DescribeVulDesktopsRequest.js +92 -0
- package/dist/models/DescribeVulDesktopsRequest.js.map +1 -0
- package/dist/models/DescribeVulDesktopsResponse.d.ts +19 -0
- package/dist/models/DescribeVulDesktopsResponse.js +69 -0
- package/dist/models/DescribeVulDesktopsResponse.js.map +1 -0
- package/dist/models/DescribeVulDesktopsResponseBody.d.ts +273 -0
- package/dist/models/DescribeVulDesktopsResponseBody.js +177 -0
- package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -0
- package/dist/models/DescribeVulnerabilityRequest.d.ts +78 -0
- package/dist/models/DescribeVulnerabilityRequest.js +72 -0
- package/dist/models/DescribeVulnerabilityRequest.js.map +1 -0
- package/dist/models/DescribeVulnerabilityResponse.d.ts +19 -0
- package/dist/models/DescribeVulnerabilityResponse.js +69 -0
- package/dist/models/DescribeVulnerabilityResponse.js.map +1 -0
- package/dist/models/DescribeVulnerabilityResponseBody.d.ts +267 -0
- package/dist/models/DescribeVulnerabilityResponseBody.js +172 -0
- package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -0
- package/dist/models/ListDirectoryUsersRequest.d.ts +3 -3
- package/dist/models/ListDirectoryUsersResponseBody.d.ts +3 -3
- package/dist/models/MigrateDesktopsRequest.d.ts +3 -3
- package/dist/models/ModifyUserEntitlementRequest.d.ts +4 -4
- package/dist/models/QueryActiveUserStatisticRequest.d.ts +72 -0
- package/dist/models/QueryActiveUserStatisticRequest.js +66 -0
- package/dist/models/QueryActiveUserStatisticRequest.js.map +1 -0
- package/dist/models/QueryActiveUserStatisticResponse.d.ts +19 -0
- package/dist/models/QueryActiveUserStatisticResponse.js +69 -0
- package/dist/models/QueryActiveUserStatisticResponse.js.map +1 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +70 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.js +88 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.d.ts +50 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.js +66 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.d.ts +19 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.js +69 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +165 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.js +151 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.d.ts +61 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.js +68 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.d.ts +19 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.js +69 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.d.ts +70 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js +88 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js.map +1 -0
- package/dist/models/RebootDesktopsRequest.d.ts +9 -2
- package/dist/models/RebootDesktopsRequest.js.map +1 -1
- package/dist/models/RunCommandRequest.d.ts +8 -5
- package/dist/models/RunCommandRequest.js.map +1 -1
- package/dist/models/StartDesktopsRequest.d.ts +2 -2
- package/dist/models/model.d.ts +30 -0
- package/dist/models/model.js +82 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +610 -40
- package/src/models/ConfigAdconnectorTrustRequest.ts +1 -1
- package/src/models/CreateDesktopsRequest.ts +59 -59
- package/src/models/CreateDesktopsResponseBody.ts +1 -1
- package/src/models/CreateDesktopsShrinkRequest.ts +48 -48
- package/src/models/CreateOfficeSiteAcceleratorRequest.ts +7 -8
- package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +1 -1
- package/src/models/DeleteDesktopsRequest.ts +1 -1
- package/src/models/DescribeFlowMetricRequest.ts +5 -5
- package/src/models/DescribeOfficeSitesRequest.ts +6 -6
- package/src/models/DescribeOfficeSitesResponseBody.ts +23 -23
- package/src/models/DescribePeripheralDriversRequest.ts +118 -0
- package/src/models/DescribePeripheralDriversResponse.ts +40 -0
- package/src/models/DescribePeripheralDriversResponseBody.ts +191 -0
- package/src/models/DescribeSnapshotsRequest.ts +4 -4
- package/src/models/DescribeSnapshotsResponseBody.ts +2 -2
- package/src/models/DescribeVulDesktopsRequest.ts +184 -0
- package/src/models/DescribeVulDesktopsResponse.ts +40 -0
- package/src/models/DescribeVulDesktopsResponseBody.ts +378 -0
- package/src/models/DescribeVulnerabilityRequest.ts +105 -0
- package/src/models/DescribeVulnerabilityResponse.ts +40 -0
- package/src/models/DescribeVulnerabilityResponseBody.ts +367 -0
- package/src/models/ListDirectoryUsersRequest.ts +3 -3
- package/src/models/ListDirectoryUsersResponseBody.ts +3 -3
- package/src/models/MigrateDesktopsRequest.ts +3 -3
- package/src/models/ModifyUserEntitlementRequest.ts +4 -4
- package/src/models/QueryActiveUserStatisticRequest.ts +93 -0
- package/src/models/QueryActiveUserStatisticResponse.ts +40 -0
- package/src/models/QueryActiveUserStatisticResponseBody.ts +104 -0
- package/src/models/QueryEndUserHistoryUsageRequest.ts +71 -0
- package/src/models/QueryEndUserHistoryUsageResponse.ts +40 -0
- package/src/models/QueryEndUserHistoryUsageResponseBody.ts +244 -0
- package/src/models/QueryHistoryActiveUserStatisticRequest.ts +84 -0
- package/src/models/QueryHistoryActiveUserStatisticResponse.ts +40 -0
- package/src/models/QueryHistoryActiveUserStatisticResponseBody.ts +104 -0
- package/src/models/RebootDesktopsRequest.ts +9 -2
- package/src/models/RunCommandRequest.ts +8 -5
- package/src/models/StartDesktopsRequest.ts +2 -2
- package/src/models/model.ts +30 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryActiveUserStatisticResponseBodyUserStatisticList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The number of deduplicated active users within the statistical period.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 56
|
|
12
|
+
*/
|
|
13
|
+
activeUserCount?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The formatted date string in UTC+8, in the format of yyyy-MM-dd.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2020-11-30
|
|
20
|
+
*/
|
|
21
|
+
formatDate?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The epoch timestamp in milliseconds corresponding to the data point.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1606723951000
|
|
28
|
+
*/
|
|
29
|
+
timeStamp?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
activeUserCount: 'ActiveUserCount',
|
|
33
|
+
formatDate: 'FormatDate',
|
|
34
|
+
timeStamp: 'TimeStamp',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
activeUserCount: 'number',
|
|
41
|
+
formatDate: 'string',
|
|
42
|
+
timeStamp: 'number',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class QueryActiveUserStatisticResponseBody extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The request ID.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
|
|
62
|
+
*/
|
|
63
|
+
requestId?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The total number of data points.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 20
|
|
70
|
+
*/
|
|
71
|
+
totalCount?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The list of active user statistics.
|
|
75
|
+
*/
|
|
76
|
+
userStatisticList?: QueryActiveUserStatisticResponseBodyUserStatisticList[];
|
|
77
|
+
static names(): { [key: string]: string } {
|
|
78
|
+
return {
|
|
79
|
+
requestId: 'RequestId',
|
|
80
|
+
totalCount: 'TotalCount',
|
|
81
|
+
userStatisticList: 'UserStatisticList',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
static types(): { [key: string]: any } {
|
|
86
|
+
return {
|
|
87
|
+
requestId: 'string',
|
|
88
|
+
totalCount: 'number',
|
|
89
|
+
userStatisticList: { 'type': 'array', 'itemType': QueryActiveUserStatisticResponseBodyUserStatisticList },
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
validate() {
|
|
94
|
+
if(Array.isArray(this.userStatisticList)) {
|
|
95
|
+
$dara.Model.validateArray(this.userStatisticList);
|
|
96
|
+
}
|
|
97
|
+
super.validate();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
constructor(map?: { [key: string]: any }) {
|
|
101
|
+
super(map);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryEndUserHistoryUsageRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The end date of the query. Format: yyyy-MM-dd. The date cannot be later than yesterday or earlier than StartDate. Default value: yesterday.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 2024-01-15
|
|
12
|
+
*/
|
|
13
|
+
endDate?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Specifies whether to query Active Directory (AD) domain users. If this parameter is set to true, AD domain users are queried. If this parameter is set to false or not specified, convenience account users are queried.
|
|
17
|
+
*/
|
|
18
|
+
isAdUser?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The page number. Minimum value: 1. Default value: 1.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 1
|
|
25
|
+
*/
|
|
26
|
+
pageNum?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The number of entries per page. Valid values: 1 to 100. Default value: 100.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* 10
|
|
33
|
+
*/
|
|
34
|
+
pageSize?: number;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The start date of the query. Format: yyyy-MM-dd. The date cannot be earlier than 32 days ago. Default value: yesterday.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* 2024-01-01
|
|
41
|
+
*/
|
|
42
|
+
startDate?: string;
|
|
43
|
+
static names(): { [key: string]: string } {
|
|
44
|
+
return {
|
|
45
|
+
endDate: 'EndDate',
|
|
46
|
+
isAdUser: 'IsAdUser',
|
|
47
|
+
pageNum: 'PageNum',
|
|
48
|
+
pageSize: 'PageSize',
|
|
49
|
+
startDate: 'StartDate',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
endDate: 'string',
|
|
56
|
+
isAdUser: 'boolean',
|
|
57
|
+
pageNum: 'number',
|
|
58
|
+
pageSize: 'number',
|
|
59
|
+
startDate: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
validate() {
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { QueryEndUserHistoryUsageResponseBody } from "./QueryEndUserHistoryUsageResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryEndUserHistoryUsageResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryEndUserHistoryUsageResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: QueryEndUserHistoryUsageResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoListDesktopUsageList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The desktop ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ecd-abc123
|
|
12
|
+
*/
|
|
13
|
+
desktopId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The desktop name.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* DemoDesktop
|
|
20
|
+
*/
|
|
21
|
+
desktopName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The usage duration of the user on the desktop, in seconds.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1800
|
|
28
|
+
*/
|
|
29
|
+
duration?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
desktopId: 'DesktopId',
|
|
33
|
+
desktopName: 'DesktopName',
|
|
34
|
+
duration: 'Duration',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
desktopId: 'string',
|
|
41
|
+
desktopName: 'string',
|
|
42
|
+
duration: 'number',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoListUserGroupList extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The user group ID.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ug-12345678
|
|
62
|
+
*/
|
|
63
|
+
userGroupId?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The user group name.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* Default user group
|
|
70
|
+
*/
|
|
71
|
+
userGroupName?: string;
|
|
72
|
+
static names(): { [key: string]: string } {
|
|
73
|
+
return {
|
|
74
|
+
userGroupId: 'UserGroupId',
|
|
75
|
+
userGroupName: 'UserGroupName',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
static types(): { [key: string]: any } {
|
|
80
|
+
return {
|
|
81
|
+
userGroupId: 'string',
|
|
82
|
+
userGroupName: 'string',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
validate() {
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
constructor(map?: { [key: string]: any }) {
|
|
91
|
+
super(map);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoList extends $dara.Model {
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The remarks of the user. This parameter has a value only for convenience account users.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* Test user
|
|
102
|
+
*/
|
|
103
|
+
description?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The list of usage duration details for each desktop.
|
|
107
|
+
*/
|
|
108
|
+
desktopUsageList?: QueryEndUserHistoryUsageResponseBodyUserUsageInfoListDesktopUsageList[];
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The display name of the user. For convenience account users, this is the actual nickname. For AD users, this is the display name.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* John Smith
|
|
115
|
+
*/
|
|
116
|
+
displayName?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The total usage duration, in seconds.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* 3600
|
|
123
|
+
*/
|
|
124
|
+
duration?: number;
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* The end user ID.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* user01
|
|
131
|
+
*/
|
|
132
|
+
endUserId?: string;
|
|
133
|
+
/**
|
|
134
|
+
* @remarks
|
|
135
|
+
* The username. For convenience account users, this is the nickname. For AD users, this is the UserPrincipalName.
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* zhangsan
|
|
139
|
+
*/
|
|
140
|
+
endUserName?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* The list of organization paths. For convenience account users, this contains multiple organization paths. For AD users, this is the organizational unit (OU) path.
|
|
144
|
+
*/
|
|
145
|
+
orgPathList?: string[];
|
|
146
|
+
/**
|
|
147
|
+
* @remarks
|
|
148
|
+
* The list of user groups. This parameter has a value only for convenience account users.
|
|
149
|
+
*/
|
|
150
|
+
userGroupList?: QueryEndUserHistoryUsageResponseBodyUserUsageInfoListUserGroupList[];
|
|
151
|
+
static names(): { [key: string]: string } {
|
|
152
|
+
return {
|
|
153
|
+
description: 'Description',
|
|
154
|
+
desktopUsageList: 'DesktopUsageList',
|
|
155
|
+
displayName: 'DisplayName',
|
|
156
|
+
duration: 'Duration',
|
|
157
|
+
endUserId: 'EndUserId',
|
|
158
|
+
endUserName: 'EndUserName',
|
|
159
|
+
orgPathList: 'OrgPathList',
|
|
160
|
+
userGroupList: 'UserGroupList',
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
static types(): { [key: string]: any } {
|
|
165
|
+
return {
|
|
166
|
+
description: 'string',
|
|
167
|
+
desktopUsageList: { 'type': 'array', 'itemType': QueryEndUserHistoryUsageResponseBodyUserUsageInfoListDesktopUsageList },
|
|
168
|
+
displayName: 'string',
|
|
169
|
+
duration: 'number',
|
|
170
|
+
endUserId: 'string',
|
|
171
|
+
endUserName: 'string',
|
|
172
|
+
orgPathList: { 'type': 'array', 'itemType': 'string' },
|
|
173
|
+
userGroupList: { 'type': 'array', 'itemType': QueryEndUserHistoryUsageResponseBodyUserUsageInfoListUserGroupList },
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
validate() {
|
|
178
|
+
if(Array.isArray(this.desktopUsageList)) {
|
|
179
|
+
$dara.Model.validateArray(this.desktopUsageList);
|
|
180
|
+
}
|
|
181
|
+
if(Array.isArray(this.orgPathList)) {
|
|
182
|
+
$dara.Model.validateArray(this.orgPathList);
|
|
183
|
+
}
|
|
184
|
+
if(Array.isArray(this.userGroupList)) {
|
|
185
|
+
$dara.Model.validateArray(this.userGroupList);
|
|
186
|
+
}
|
|
187
|
+
super.validate();
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
constructor(map?: { [key: string]: any }) {
|
|
191
|
+
super(map);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export class QueryEndUserHistoryUsageResponseBody extends $dara.Model {
|
|
196
|
+
/**
|
|
197
|
+
* @remarks
|
|
198
|
+
* The request ID.
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* 269BDB16-2CD8-4865-84BD-11C40BC21DB0
|
|
202
|
+
*/
|
|
203
|
+
requestId?: string;
|
|
204
|
+
/**
|
|
205
|
+
* @remarks
|
|
206
|
+
* The total number of users that meet the query conditions.
|
|
207
|
+
*
|
|
208
|
+
* @example
|
|
209
|
+
* 50
|
|
210
|
+
*/
|
|
211
|
+
totalCount?: number;
|
|
212
|
+
/**
|
|
213
|
+
* @remarks
|
|
214
|
+
* The list of user usage duration entries on the current page.
|
|
215
|
+
*/
|
|
216
|
+
userUsageInfoList?: QueryEndUserHistoryUsageResponseBodyUserUsageInfoList[];
|
|
217
|
+
static names(): { [key: string]: string } {
|
|
218
|
+
return {
|
|
219
|
+
requestId: 'RequestId',
|
|
220
|
+
totalCount: 'TotalCount',
|
|
221
|
+
userUsageInfoList: 'UserUsageInfoList',
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
static types(): { [key: string]: any } {
|
|
226
|
+
return {
|
|
227
|
+
requestId: 'string',
|
|
228
|
+
totalCount: 'number',
|
|
229
|
+
userUsageInfoList: { 'type': 'array', 'itemType': QueryEndUserHistoryUsageResponseBodyUserUsageInfoList },
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
validate() {
|
|
234
|
+
if(Array.isArray(this.userUsageInfoList)) {
|
|
235
|
+
$dara.Model.validateArray(this.userUsageInfoList);
|
|
236
|
+
}
|
|
237
|
+
super.validate();
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
constructor(map?: { [key: string]: any }) {
|
|
241
|
+
super(map);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryHistoryActiveUserStatisticRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The business channel type code.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1
|
|
12
|
+
*/
|
|
13
|
+
bizType?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The end date of the query. The date is in the yyyy-MM-dd format. The maximum value is yesterday (N-1 data).
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2024-12-31
|
|
20
|
+
*/
|
|
21
|
+
endDate?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The workspace ID. If specified, only active users within the specified workspace are counted.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* cn-hangzhou+dir-467671****
|
|
28
|
+
*/
|
|
29
|
+
officeSiteId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The statistical period.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* day
|
|
36
|
+
*/
|
|
37
|
+
period?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The start date of the query. The date is in the yyyy-MM-dd format. The value cannot be earlier than 6 months ago or later than EndDate.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 2024-12-01
|
|
44
|
+
*/
|
|
45
|
+
startDate?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The user group ID. If specified, only active users within the specified user group are counted.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ug-12345678
|
|
52
|
+
*/
|
|
53
|
+
userGroupId?: string;
|
|
54
|
+
static names(): { [key: string]: string } {
|
|
55
|
+
return {
|
|
56
|
+
bizType: 'BizType',
|
|
57
|
+
endDate: 'EndDate',
|
|
58
|
+
officeSiteId: 'OfficeSiteId',
|
|
59
|
+
period: 'Period',
|
|
60
|
+
startDate: 'StartDate',
|
|
61
|
+
userGroupId: 'UserGroupId',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
bizType: 'number',
|
|
68
|
+
endDate: 'string',
|
|
69
|
+
officeSiteId: 'string',
|
|
70
|
+
period: 'string',
|
|
71
|
+
startDate: 'string',
|
|
72
|
+
userGroupId: 'string',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
validate() {
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { QueryHistoryActiveUserStatisticResponseBody } from "./QueryHistoryActiveUserStatisticResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryHistoryActiveUserStatisticResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryHistoryActiveUserStatisticResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: QueryHistoryActiveUserStatisticResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryHistoryActiveUserStatisticResponseBodyUserStatisticList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The number of deduplicated active users on the day.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 150
|
|
12
|
+
*/
|
|
13
|
+
activeUserCount?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The date in the standard yyyy-MM-dd format, in the UTC+8 time zone.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2024-12-01
|
|
20
|
+
*/
|
|
21
|
+
formatDate?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The timestamp of the date, in milliseconds.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1735689600000
|
|
28
|
+
*/
|
|
29
|
+
timeStamp?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
activeUserCount: 'ActiveUserCount',
|
|
33
|
+
formatDate: 'FormatDate',
|
|
34
|
+
timeStamp: 'TimeStamp',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
activeUserCount: 'number',
|
|
41
|
+
formatDate: 'string',
|
|
42
|
+
timeStamp: 'number',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class QueryHistoryActiveUserStatisticResponseBody extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The request ID.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* 5CC5E450-FC43-4F5B-B540-9964BD313427
|
|
62
|
+
*/
|
|
63
|
+
requestId?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The total number of returned entries.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 30
|
|
70
|
+
*/
|
|
71
|
+
totalCount?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The list of daily active user statistics.
|
|
75
|
+
*/
|
|
76
|
+
userStatisticList?: QueryHistoryActiveUserStatisticResponseBodyUserStatisticList[];
|
|
77
|
+
static names(): { [key: string]: string } {
|
|
78
|
+
return {
|
|
79
|
+
requestId: 'RequestId',
|
|
80
|
+
totalCount: 'TotalCount',
|
|
81
|
+
userStatisticList: 'UserStatisticList',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
static types(): { [key: string]: any } {
|
|
86
|
+
return {
|
|
87
|
+
requestId: 'string',
|
|
88
|
+
totalCount: 'number',
|
|
89
|
+
userStatisticList: { 'type': 'array', 'itemType': QueryHistoryActiveUserStatisticResponseBodyUserStatisticList },
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
validate() {
|
|
94
|
+
if(Array.isArray(this.userStatisticList)) {
|
|
95
|
+
$dara.Model.validateArray(this.userStatisticList);
|
|
96
|
+
}
|
|
97
|
+
super.validate();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
constructor(map?: { [key: string]: any }) {
|
|
101
|
+
super(map);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|