@alicloud/ecd20201002 2.1.10 → 2.1.12

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.
Files changed (156) hide show
  1. package/dist/client.d.ts +2 -2
  2. package/dist/client.js +11 -3
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeDirectoriesResponseBody.d.ts +60 -1
  5. package/dist/models/DescribeDirectoriesResponseBody.js +31 -3
  6. package/dist/models/DescribeDirectoriesResponseBody.js.map +1 -1
  7. package/dist/models/DescribeFingerPrintTemplatesResponseBody.d.ts +68 -1
  8. package/dist/models/DescribeFingerPrintTemplatesResponseBody.js +33 -3
  9. package/dist/models/DescribeFingerPrintTemplatesResponseBody.js.map +1 -1
  10. package/dist/models/DescribeGlobalDesktopsResponseBody.d.ts +333 -1
  11. package/dist/models/DescribeGlobalDesktopsResponseBody.js +255 -3
  12. package/dist/models/DescribeGlobalDesktopsResponseBody.js.map +1 -1
  13. package/dist/models/DescribeOfficeSitesResponseBody.d.ts +42 -1
  14. package/dist/models/DescribeOfficeSitesResponseBody.js +31 -3
  15. package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
  16. package/dist/models/DescribeRegionsResponseBody.d.ts +28 -1
  17. package/dist/models/DescribeRegionsResponseBody.js +23 -3
  18. package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
  19. package/dist/models/DescribeSnapshotsResponseBody.d.ts +69 -1
  20. package/dist/models/DescribeSnapshotsResponseBody.js +45 -3
  21. package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
  22. package/dist/models/DescribeUserResourcesResponseBody.d.ts +483 -1
  23. package/dist/models/DescribeUserResourcesResponseBody.js +355 -3
  24. package/dist/models/DescribeUserResourcesResponseBody.js.map +1 -1
  25. package/dist/models/GetCloudDriveServiceMountTokenResponseBody.d.ts +42 -1
  26. package/dist/models/GetCloudDriveServiceMountTokenResponseBody.js +31 -3
  27. package/dist/models/GetCloudDriveServiceMountTokenResponseBody.js.map +1 -1
  28. package/dist/models/GetConnectionTicketRequest.d.ts +14 -1
  29. package/dist/models/GetConnectionTicketRequest.js +23 -3
  30. package/dist/models/GetConnectionTicketRequest.js.map +1 -1
  31. package/dist/models/GetLoginTokenRequest.d.ts +3 -0
  32. package/dist/models/GetLoginTokenRequest.js +5 -0
  33. package/dist/models/GetLoginTokenRequest.js.map +1 -1
  34. package/dist/models/GetLoginTokenResponseBody.d.ts +70 -2
  35. package/dist/models/GetLoginTokenResponseBody.js +54 -5
  36. package/dist/models/GetLoginTokenResponseBody.js.map +1 -1
  37. package/dist/models/GetLoginTokenShrinkRequest.d.ts +188 -0
  38. package/dist/models/{DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates.js → GetLoginTokenShrinkRequest.js} +36 -12
  39. package/dist/models/GetLoginTokenShrinkRequest.js.map +1 -0
  40. package/dist/models/QueryEdsAgentReportConfigResponseBody.d.ts +13 -1
  41. package/dist/models/QueryEdsAgentReportConfigResponseBody.js +21 -3
  42. package/dist/models/QueryEdsAgentReportConfigResponseBody.js.map +1 -1
  43. package/dist/models/model.d.ts +25 -24
  44. package/dist/models/model.js +74 -72
  45. package/dist/models/model.js.map +1 -1
  46. package/package.json +1 -1
  47. package/src/client.ts +13 -3
  48. package/src/models/DescribeDirectoriesResponseBody.ts +78 -1
  49. package/src/models/DescribeFingerPrintTemplatesResponseBody.ts +90 -1
  50. package/src/models/DescribeGlobalDesktopsResponseBody.ts +532 -1
  51. package/src/models/DescribeOfficeSitesResponseBody.ts +62 -1
  52. package/src/models/DescribeRegionsResponseBody.ts +40 -1
  53. package/src/models/DescribeSnapshotsResponseBody.ts +103 -1
  54. package/src/models/DescribeUserResourcesResponseBody.ts +764 -1
  55. package/src/models/GetCloudDriveServiceMountTokenResponseBody.ts +62 -1
  56. package/src/models/GetConnectionTicketRequest.ts +26 -1
  57. package/src/models/GetLoginTokenRequest.ts +6 -0
  58. package/src/models/GetLoginTokenResponseBody.ts +103 -2
  59. package/src/models/GetLoginTokenShrinkRequest.ts +237 -0
  60. package/src/models/QueryEdsAgentReportConfigResponseBody.ts +23 -1
  61. package/src/models/model.ts +25 -24
  62. package/dist/models/DescribeDirectoriesResponseBodyDirectories.d.ts +0 -61
  63. package/dist/models/DescribeDirectoriesResponseBodyDirectories.js +0 -68
  64. package/dist/models/DescribeDirectoriesResponseBodyDirectories.js.map +0 -1
  65. package/dist/models/DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates.d.ts +0 -69
  66. package/dist/models/DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates.js.map +0 -1
  67. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktops.d.ts +0 -166
  68. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktops.js +0 -162
  69. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktops.js.map +0 -1
  70. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsClients.d.ts +0 -39
  71. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsClients.js +0 -60
  72. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsClients.js.map +0 -1
  73. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers.d.ts +0 -41
  74. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers.js +0 -72
  75. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers.js.map +0 -1
  76. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsDisks.d.ts +0 -28
  77. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsDisks.js +0 -62
  78. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsDisks.js.map +0 -1
  79. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate.d.ts +0 -47
  80. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate.js +0 -76
  81. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate.js.map +0 -1
  82. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsSessions.d.ts +0 -23
  83. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsSessions.js +0 -60
  84. package/dist/models/DescribeGlobalDesktopsResponseBodyDesktopsSessions.js.map +0 -1
  85. package/dist/models/DescribeOfficeSitesResponseBodyOfficeSites.d.ts +0 -43
  86. package/dist/models/DescribeOfficeSitesResponseBodyOfficeSites.js +0 -68
  87. package/dist/models/DescribeOfficeSitesResponseBodyOfficeSites.js.map +0 -1
  88. package/dist/models/DescribeRegionsResponseBodyRegions.d.ts +0 -29
  89. package/dist/models/DescribeRegionsResponseBodyRegions.js +0 -60
  90. package/dist/models/DescribeRegionsResponseBodyRegions.js.map +0 -1
  91. package/dist/models/DescribeSnapshotsResponseBodySnapshots.d.ts +0 -70
  92. package/dist/models/DescribeSnapshotsResponseBodySnapshots.js +0 -82
  93. package/dist/models/DescribeSnapshotsResponseBodySnapshots.js.map +0 -1
  94. package/dist/models/DescribeUserResourcesResponseBodyResources.d.ts +0 -222
  95. package/dist/models/DescribeUserResourcesResponseBodyResources.js +0 -188
  96. package/dist/models/DescribeUserResourcesResponseBodyResources.js.map +0 -1
  97. package/dist/models/DescribeUserResourcesResponseBodyResourcesClients.d.ts +0 -23
  98. package/dist/models/DescribeUserResourcesResponseBodyResourcesClients.js +0 -60
  99. package/dist/models/DescribeUserResourcesResponseBodyResourcesClients.js.map +0 -1
  100. package/dist/models/DescribeUserResourcesResponseBodyResourcesDesktopDurationList.d.ts +0 -73
  101. package/dist/models/DescribeUserResourcesResponseBodyResourcesDesktopDurationList.js +0 -80
  102. package/dist/models/DescribeUserResourcesResponseBodyResourcesDesktopDurationList.js.map +0 -1
  103. package/dist/models/DescribeUserResourcesResponseBodyResourcesDesktopTimers.d.ts +0 -53
  104. package/dist/models/DescribeUserResourcesResponseBodyResourcesDesktopTimers.js +0 -72
  105. package/dist/models/DescribeUserResourcesResponseBodyResourcesDesktopTimers.js.map +0 -1
  106. package/dist/models/DescribeUserResourcesResponseBodyResourcesFotaUpdate.d.ts +0 -63
  107. package/dist/models/DescribeUserResourcesResponseBodyResourcesFotaUpdate.js +0 -76
  108. package/dist/models/DescribeUserResourcesResponseBodyResourcesFotaUpdate.js.map +0 -1
  109. package/dist/models/DescribeUserResourcesResponseBodyResourcesOsUpdate.d.ts +0 -19
  110. package/dist/models/DescribeUserResourcesResponseBodyResourcesOsUpdate.js +0 -70
  111. package/dist/models/DescribeUserResourcesResponseBodyResourcesOsUpdate.js.map +0 -1
  112. package/dist/models/DescribeUserResourcesResponseBodyResourcesOsUpdatePackages.d.ts +0 -16
  113. package/dist/models/DescribeUserResourcesResponseBodyResourcesOsUpdatePackages.js +0 -62
  114. package/dist/models/DescribeUserResourcesResponseBodyResourcesOsUpdatePackages.js.map +0 -1
  115. package/dist/models/DescribeUserResourcesResponseBodyResourcesSessions.d.ts +0 -29
  116. package/dist/models/DescribeUserResourcesResponseBodyResourcesSessions.js +0 -64
  117. package/dist/models/DescribeUserResourcesResponseBodyResourcesSessions.js.map +0 -1
  118. package/dist/models/GetCloudDriveServiceMountTokenResponseBodyToken.d.ts +0 -43
  119. package/dist/models/GetCloudDriveServiceMountTokenResponseBodyToken.js +0 -68
  120. package/dist/models/GetCloudDriveServiceMountTokenResponseBodyToken.js.map +0 -1
  121. package/dist/models/GetConnectionTicketRequestTag.d.ts +0 -15
  122. package/dist/models/GetConnectionTicketRequestTag.js +0 -60
  123. package/dist/models/GetConnectionTicketRequestTag.js.map +0 -1
  124. package/dist/models/GetLoginTokenResponseBodyPasswordStrategy.d.ts +0 -26
  125. package/dist/models/GetLoginTokenResponseBodyPasswordStrategy.js +0 -63
  126. package/dist/models/GetLoginTokenResponseBodyPasswordStrategy.js.map +0 -1
  127. package/dist/models/GetLoginTokenResponseBodyRiskVerifyInfo.d.ts +0 -45
  128. package/dist/models/GetLoginTokenResponseBodyRiskVerifyInfo.js +0 -64
  129. package/dist/models/GetLoginTokenResponseBodyRiskVerifyInfo.js.map +0 -1
  130. package/dist/models/QueryEdsAgentReportConfigResponseBodyData.d.ts +0 -14
  131. package/dist/models/QueryEdsAgentReportConfigResponseBodyData.js +0 -58
  132. package/dist/models/QueryEdsAgentReportConfigResponseBodyData.js.map +0 -1
  133. package/src/models/DescribeDirectoriesResponseBodyDirectories.ts +0 -82
  134. package/src/models/DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates.ts +0 -94
  135. package/src/models/DescribeGlobalDesktopsResponseBodyDesktops.ts +0 -278
  136. package/src/models/DescribeGlobalDesktopsResponseBodyDesktopsClients.ts +0 -54
  137. package/src/models/DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers.ts +0 -68
  138. package/src/models/DescribeGlobalDesktopsResponseBodyDesktopsDisks.ts +0 -45
  139. package/src/models/DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate.ts +0 -78
  140. package/src/models/DescribeGlobalDesktopsResponseBodyDesktopsSessions.ts +0 -38
  141. package/src/models/DescribeOfficeSitesResponseBodyOfficeSites.ts +0 -66
  142. package/src/models/DescribeRegionsResponseBodyRegions.ts +0 -44
  143. package/src/models/DescribeSnapshotsResponseBodySnapshots.ts +0 -107
  144. package/src/models/DescribeUserResourcesResponseBodyResources.ts +0 -359
  145. package/src/models/DescribeUserResourcesResponseBodyResourcesClients.ts +0 -38
  146. package/src/models/DescribeUserResourcesResponseBodyResourcesDesktopDurationList.ts +0 -108
  147. package/src/models/DescribeUserResourcesResponseBodyResourcesDesktopTimers.ts +0 -80
  148. package/src/models/DescribeUserResourcesResponseBodyResourcesFotaUpdate.ts +0 -94
  149. package/src/models/DescribeUserResourcesResponseBodyResourcesOsUpdate.ts +0 -43
  150. package/src/models/DescribeUserResourcesResponseBodyResourcesOsUpdatePackages.ts +0 -33
  151. package/src/models/DescribeUserResourcesResponseBodyResourcesSessions.ts +0 -48
  152. package/src/models/GetCloudDriveServiceMountTokenResponseBodyToken.ts +0 -66
  153. package/src/models/GetConnectionTicketRequestTag.ts +0 -30
  154. package/src/models/GetLoginTokenResponseBodyPasswordStrategy.ts +0 -44
  155. package/src/models/GetLoginTokenResponseBodyRiskVerifyInfo.ts +0 -64
  156. package/src/models/QueryEdsAgentReportConfigResponseBodyData.ts +0 -27
@@ -1,8 +1,69 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
- import { GetCloudDriveServiceMountTokenResponseBodyToken } from "./GetCloudDriveServiceMountTokenResponseBodyToken";
4
3
 
5
4
 
5
+ export class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * h****
9
+ */
10
+ domainId?: string;
11
+ /**
12
+ * @example
13
+ * 2022-10-10T04:41:35Z
14
+ */
15
+ expiredAfter?: string;
16
+ /**
17
+ * @example
18
+ * enabled
19
+ */
20
+ status?: string;
21
+ /**
22
+ * @example
23
+ * 7836fa6eced7dc8d54c775k34iu3h4i2kh534f****
24
+ */
25
+ token?: string;
26
+ /**
27
+ * @example
28
+ * 6050416754750
29
+ */
30
+ totalSize?: number;
31
+ /**
32
+ * @example
33
+ * 605089
34
+ */
35
+ usedSize?: number;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ domainId: 'DomainId',
39
+ expiredAfter: 'ExpiredAfter',
40
+ status: 'Status',
41
+ token: 'Token',
42
+ totalSize: 'TotalSize',
43
+ usedSize: 'UsedSize',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ domainId: 'string',
50
+ expiredAfter: 'string',
51
+ status: 'string',
52
+ token: 'string',
53
+ totalSize: 'number',
54
+ usedSize: 'number',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
6
67
  export class GetCloudDriveServiceMountTokenResponseBody extends $dara.Model {
7
68
  /**
8
69
  * @example
@@ -1,8 +1,33 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
- import { GetConnectionTicketRequestTag } from "./GetConnectionTicketRequestTag";
4
3
 
5
4
 
5
+ export class GetConnectionTicketRequestTag extends $dara.Model {
6
+ key?: string;
7
+ value?: string;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ key: 'Key',
11
+ value: 'Value',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ key: 'string',
18
+ value: 'string',
19
+ };
20
+ }
21
+
22
+ validate() {
23
+ super.validate();
24
+ }
25
+
26
+ constructor(map?: { [key: string]: any }) {
27
+ super(map);
28
+ }
29
+ }
30
+
6
31
  export class GetConnectionTicketRequest extends $dara.Model {
7
32
  /**
8
33
  * @remarks
@@ -11,6 +11,7 @@ export class GetLoginTokenRequest extends $dara.Model {
11
11
  * 47****
12
12
  */
13
13
  authenticationCode?: string;
14
+ availableFeatures?: { [key: string]: string };
14
15
  /**
15
16
  * @remarks
16
17
  * The ID of the Alibaba Cloud Workspace client. The system generates a unique ID for each client.
@@ -180,6 +181,7 @@ export class GetLoginTokenRequest extends $dara.Model {
180
181
  static names(): { [key: string]: string } {
181
182
  return {
182
183
  authenticationCode: 'AuthenticationCode',
184
+ availableFeatures: 'AvailableFeatures',
183
185
  clientId: 'ClientId',
184
186
  clientOS: 'ClientOS',
185
187
  clientType: 'ClientType',
@@ -203,6 +205,7 @@ export class GetLoginTokenRequest extends $dara.Model {
203
205
  static types(): { [key: string]: any } {
204
206
  return {
205
207
  authenticationCode: 'string',
208
+ availableFeatures: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
206
209
  clientId: 'string',
207
210
  clientOS: 'string',
208
211
  clientType: 'string',
@@ -224,6 +227,9 @@ export class GetLoginTokenRequest extends $dara.Model {
224
227
  }
225
228
 
226
229
  validate() {
230
+ if(this.availableFeatures) {
231
+ $dara.Model.validateMap(this.availableFeatures);
232
+ }
227
233
  super.validate();
228
234
  }
229
235
 
@@ -1,9 +1,107 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
- import { GetLoginTokenResponseBodyPasswordStrategy } from "./GetLoginTokenResponseBodyPasswordStrategy";
4
- import { GetLoginTokenResponseBodyRiskVerifyInfo } from "./GetLoginTokenResponseBodyRiskVerifyInfo";
5
3
 
6
4
 
5
+ export class GetLoginTokenResponseBodyPasswordStrategy extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * > This is a parameter only for internal use.
9
+ */
10
+ tenantAlternativeChars?: string[];
11
+ /**
12
+ * @remarks
13
+ * > This is a parameter only for internal use.
14
+ *
15
+ * @example
16
+ * null
17
+ */
18
+ tenantPasswordLength?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ tenantAlternativeChars: 'TenantAlternativeChars',
22
+ tenantPasswordLength: 'TenantPasswordLength',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ tenantAlternativeChars: { 'type': 'array', 'itemType': 'string' },
29
+ tenantPasswordLength: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ if(Array.isArray(this.tenantAlternativeChars)) {
35
+ $dara.Model.validateArray(this.tenantAlternativeChars);
36
+ }
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class GetLoginTokenResponseBodyRiskVerifyInfo extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The email used for authentication.
49
+ *
50
+ * @example
51
+ * user@example.com
52
+ */
53
+ email?: string;
54
+ /**
55
+ * @remarks
56
+ * The duration of the lock.
57
+ *
58
+ * @example
59
+ * 1713749778
60
+ */
61
+ lastLockDuration?: number;
62
+ /**
63
+ * @remarks
64
+ * Whether the account is locked or not.
65
+ *
66
+ * @example
67
+ * true
68
+ */
69
+ locked?: string;
70
+ /**
71
+ * @remarks
72
+ * The mobile number used for authentication.
73
+ *
74
+ * @example
75
+ * 1388888****
76
+ */
77
+ phone?: string;
78
+ static names(): { [key: string]: string } {
79
+ return {
80
+ email: 'Email',
81
+ lastLockDuration: 'LastLockDuration',
82
+ locked: 'Locked',
83
+ phone: 'Phone',
84
+ };
85
+ }
86
+
87
+ static types(): { [key: string]: any } {
88
+ return {
89
+ email: 'string',
90
+ lastLockDuration: 'number',
91
+ locked: 'string',
92
+ phone: 'string',
93
+ };
94
+ }
95
+
96
+ validate() {
97
+ super.validate();
98
+ }
99
+
100
+ constructor(map?: { [key: string]: any }) {
101
+ super(map);
102
+ }
103
+ }
104
+
7
105
  export class GetLoginTokenResponseBody extends $dara.Model {
8
106
  /**
9
107
  * @remarks
@@ -66,6 +164,7 @@ export class GetLoginTokenResponseBody extends $dara.Model {
66
164
  * MFAVerify
67
165
  */
68
166
  nextStage?: string;
167
+ nickName?: string;
69
168
  /**
70
169
  * @remarks
71
170
  * > This is a parameter only for internal use.
@@ -160,6 +259,7 @@ export class GetLoginTokenResponseBody extends $dara.Model {
160
259
  label: 'Label',
161
260
  loginToken: 'LoginToken',
162
261
  nextStage: 'NextStage',
262
+ nickName: 'NickName',
163
263
  passwordStrategy: 'PasswordStrategy',
164
264
  phone: 'Phone',
165
265
  props: 'Props',
@@ -183,6 +283,7 @@ export class GetLoginTokenResponseBody extends $dara.Model {
183
283
  label: 'string',
184
284
  loginToken: 'string',
185
285
  nextStage: 'string',
286
+ nickName: 'string',
186
287
  passwordStrategy: GetLoginTokenResponseBodyPasswordStrategy,
187
288
  phone: 'string',
188
289
  props: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
@@ -0,0 +1,237 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetLoginTokenShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The verification code that is generated by the virtual MFA device. This parameter is required if you set `CurrentStage` to `MFAVerify`.
9
+ *
10
+ * @example
11
+ * 47****
12
+ */
13
+ authenticationCode?: string;
14
+ availableFeaturesShrink?: string;
15
+ /**
16
+ * @remarks
17
+ * The ID of the Alibaba Cloud Workspace client. The system generates a unique ID for each client.
18
+ *
19
+ * This parameter is required.
20
+ *
21
+ * @example
22
+ * f4a0dc8e-1702-4728-9a60-95b27a35****
23
+ */
24
+ clientId?: string;
25
+ /**
26
+ * @remarks
27
+ * The operating system (OS) of the device that runs an Alibaba Cloud Workspace client.
28
+ *
29
+ * @example
30
+ * Windows_NT 10.0.1**** x64
31
+ */
32
+ clientOS?: string;
33
+ /**
34
+ * @remarks
35
+ * The type of Alibaba Cloud Workspace clients.
36
+ *
37
+ * Valid values:
38
+ *
39
+ * * HTML5: web client.
40
+ *
41
+ * * WINDOWS: Windows client.
42
+ *
43
+ * * MACOS: macOS client.
44
+ *
45
+ * * IOS: iOS client.
46
+ *
47
+ * * ANDROID: Android client.
48
+ *
49
+ * @example
50
+ * Windows
51
+ */
52
+ clientType?: string;
53
+ /**
54
+ * @remarks
55
+ * The version of the client. When you use an Alibaba Cloud Workspace client, you can view the client version in the **About** dialog box on the client logon page.
56
+ *
57
+ * @example
58
+ * 2.1.0-R-20210731.1****
59
+ */
60
+ clientVersion?: string;
61
+ /**
62
+ * @remarks
63
+ * The logon authentication stage. Valid values:
64
+ *
65
+ * * `ADPassword`: the stage to verify the identity of the Active Directory (AD) user. You must specify the value when the system verifies the identity of a convenience account or an AD account.
66
+ * * `MFABind: the stage to bind a virtual multi-factor authentication (MFA) device.`
67
+ * * `MFAVerify: the stage to verify the verification code that is generated by the virtual MFA device.`
68
+ * * `TokenVerify`: the stage to perform two-factor authentication on an Alibaba Cloud Workspace client (hereinafter referred to as the client).
69
+ * * `ChangePassword`: the stage to change the password of the user.
70
+ * * `KeepAliveVerify`: the stage to obtain LoginToken if KeepAliveToken is valid.
71
+ *
72
+ * @example
73
+ * ADPassword
74
+ */
75
+ currentStage?: string;
76
+ /**
77
+ * @remarks
78
+ * The office network ID. This parameter has the same meaning as `OfficeSiteId`. We recommend that you replace `DirectoryId` with `OfficeSiteId`. You can specify a value for `DirectoryId` or `OfficeSiteId`.
79
+ *
80
+ * @example
81
+ * cn-hangzhou+dir-885351****
82
+ */
83
+ directoryId?: string;
84
+ /**
85
+ * @remarks
86
+ * The name of the convenience user or the AD user. This parameter is required if you set `CurrentStage` to `ADPassword`.
87
+ *
88
+ * @example
89
+ * alice
90
+ */
91
+ endUserId?: string;
92
+ /**
93
+ * @remarks
94
+ * Specifies whether to keep the user logged on to the client.
95
+ * Valid values:
96
+ * * null: Default value. Do not keep the user logged on to the client.
97
+ * * true: Keep the user logged on to the client.
98
+ * * false: Do not keep the user logged on to the client.
99
+ *
100
+ * @example
101
+ * false
102
+ */
103
+ keepAlive?: boolean;
104
+ /**
105
+ * @remarks
106
+ * The token to keep logging on to an Alibaba Cloud Workspace client. When an end user logs on to the Alibaba Cloud Workspace client and select Auto Sign-in, `KeepAliveToken` is returned after you call this operation. Within the valid period of the returned token``, you can call the `GetLoginToken` operation and set `CurrentStage` to `KeepAliveVerify`. Then, you can obtain LoginToken. If you set `CurrentStage` to `KeepAliveVerify`, `KeepAliveToken` is required.
107
+ *
108
+ * @example
109
+ * hide
110
+ */
111
+ keepAliveToken?: string;
112
+ /**
113
+ * @remarks
114
+ * The new password. This parameter is required if you set `CurrentStage` to `ChangePassword`.
115
+ *
116
+ * @example
117
+ * NewPassword
118
+ */
119
+ newPassword?: string;
120
+ /**
121
+ * @remarks
122
+ * The office network ID.
123
+ *
124
+ * @example
125
+ * cn-hangzhou+dir-885351****
126
+ */
127
+ officeSiteId?: string;
128
+ /**
129
+ * @remarks
130
+ * The current password. This parameter is required if you set `CurrentStage` to `ChangePassword`.
131
+ *
132
+ * @example
133
+ * OldPassword
134
+ */
135
+ oldPassword?: string;
136
+ /**
137
+ * @remarks
138
+ * The password of the convenience user or the AD user. This parameter is required if you set `CurrentStage` to `ADPassword`.
139
+ *
140
+ * @example
141
+ * Password1234
142
+ */
143
+ password?: string;
144
+ /**
145
+ * @remarks
146
+ * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by EDS.
147
+ *
148
+ * This parameter is required.
149
+ *
150
+ * @example
151
+ * cn-hangzhou
152
+ */
153
+ regionId?: string;
154
+ /**
155
+ * @remarks
156
+ * The ID of the session.
157
+ *
158
+ * * If the virtual multi-factor authentication (MFA) device is not bound or two-factor authentication is not enabled for the client, you do not need to specify a value for `SessionId`.
159
+ * * If the virtual MFA device is not bound or two-factor authentication is enabled for the client, you must specify a value for `SessionId` to verify the user identity after you specify a value for `ADPassword`. The value of the `SessionId` parameter is returned only if the CurrentStage parameter is set to `ADPassword` when you call the `GetLoginToken` operation.
160
+ *
161
+ * @example
162
+ * cd45e873-650d-4d70-acb9-f996187a****
163
+ */
164
+ sessionId?: string;
165
+ /**
166
+ * @remarks
167
+ * If two-factor authentication is enabled for Alibaba Cloud Workspace terminals in the EDS console and the system detects that the current logon user is exposed to risks, the system sends a verification code to the email address of the user. This parameter is required if you set `CurrentStage` to `TokenVerify`.
168
+ *
169
+ * @example
170
+ * 63****
171
+ */
172
+ tokenCode?: string;
173
+ /**
174
+ * @remarks
175
+ * The unique identifier of the client. When you use an Alibaba Cloud Workspace client, you can view the client version in the **About** dialog box on the client logon page.
176
+ *
177
+ * @example
178
+ * C78CA9E99315687575DD2844C1F3****
179
+ */
180
+ uuid?: string;
181
+ static names(): { [key: string]: string } {
182
+ return {
183
+ authenticationCode: 'AuthenticationCode',
184
+ availableFeaturesShrink: 'AvailableFeatures',
185
+ clientId: 'ClientId',
186
+ clientOS: 'ClientOS',
187
+ clientType: 'ClientType',
188
+ clientVersion: 'ClientVersion',
189
+ currentStage: 'CurrentStage',
190
+ directoryId: 'DirectoryId',
191
+ endUserId: 'EndUserId',
192
+ keepAlive: 'KeepAlive',
193
+ keepAliveToken: 'KeepAliveToken',
194
+ newPassword: 'NewPassword',
195
+ officeSiteId: 'OfficeSiteId',
196
+ oldPassword: 'OldPassword',
197
+ password: 'Password',
198
+ regionId: 'RegionId',
199
+ sessionId: 'SessionId',
200
+ tokenCode: 'TokenCode',
201
+ uuid: 'Uuid',
202
+ };
203
+ }
204
+
205
+ static types(): { [key: string]: any } {
206
+ return {
207
+ authenticationCode: 'string',
208
+ availableFeaturesShrink: 'string',
209
+ clientId: 'string',
210
+ clientOS: 'string',
211
+ clientType: 'string',
212
+ clientVersion: 'string',
213
+ currentStage: 'string',
214
+ directoryId: 'string',
215
+ endUserId: 'string',
216
+ keepAlive: 'boolean',
217
+ keepAliveToken: 'string',
218
+ newPassword: 'string',
219
+ officeSiteId: 'string',
220
+ oldPassword: 'string',
221
+ password: 'string',
222
+ regionId: 'string',
223
+ sessionId: 'string',
224
+ tokenCode: 'string',
225
+ uuid: 'string',
226
+ };
227
+ }
228
+
229
+ validate() {
230
+ super.validate();
231
+ }
232
+
233
+ constructor(map?: { [key: string]: any }) {
234
+ super(map);
235
+ }
236
+ }
237
+
@@ -1,8 +1,30 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
- import { QueryEdsAgentReportConfigResponseBodyData } from "./QueryEdsAgentReportConfigResponseBodyData";
4
3
 
5
4
 
5
+ export class QueryEdsAgentReportConfigResponseBodyData extends $dara.Model {
6
+ config?: string;
7
+ static names(): { [key: string]: string } {
8
+ return {
9
+ config: 'Config',
10
+ };
11
+ }
12
+
13
+ static types(): { [key: string]: any } {
14
+ return {
15
+ config: 'string',
16
+ };
17
+ }
18
+
19
+ validate() {
20
+ super.validate();
21
+ }
22
+
23
+ constructor(map?: { [key: string]: any }) {
24
+ super(map);
25
+ }
26
+ }
27
+
6
28
  export class QueryEdsAgentReportConfigResponseBody extends $dara.Model {
7
29
  data?: QueryEdsAgentReportConfigResponseBodyData;
8
30
  requestId?: string;
@@ -1,27 +1,27 @@
1
- export { DescribeDirectoriesResponseBodyDirectories } from './DescribeDirectoriesResponseBodyDirectories';
2
- export { DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates } from './DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates';
3
- export { DescribeGlobalDesktopsResponseBodyDesktopsClients } from './DescribeGlobalDesktopsResponseBodyDesktopsClients';
4
- export { DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers } from './DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers';
5
- export { DescribeGlobalDesktopsResponseBodyDesktopsDisks } from './DescribeGlobalDesktopsResponseBodyDesktopsDisks';
6
- export { DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate } from './DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate';
7
- export { DescribeGlobalDesktopsResponseBodyDesktopsSessions } from './DescribeGlobalDesktopsResponseBodyDesktopsSessions';
8
- export { DescribeGlobalDesktopsResponseBodyDesktops } from './DescribeGlobalDesktopsResponseBodyDesktops';
9
- export { DescribeOfficeSitesResponseBodyOfficeSites } from './DescribeOfficeSitesResponseBodyOfficeSites';
10
- export { DescribeRegionsResponseBodyRegions } from './DescribeRegionsResponseBodyRegions';
11
- export { DescribeSnapshotsResponseBodySnapshots } from './DescribeSnapshotsResponseBodySnapshots';
12
- export { DescribeUserResourcesResponseBodyResourcesClients } from './DescribeUserResourcesResponseBodyResourcesClients';
13
- export { DescribeUserResourcesResponseBodyResourcesDesktopDurationList } from './DescribeUserResourcesResponseBodyResourcesDesktopDurationList';
14
- export { DescribeUserResourcesResponseBodyResourcesDesktopTimers } from './DescribeUserResourcesResponseBodyResourcesDesktopTimers';
15
- export { DescribeUserResourcesResponseBodyResourcesFotaUpdate } from './DescribeUserResourcesResponseBodyResourcesFotaUpdate';
16
- export { DescribeUserResourcesResponseBodyResourcesOsUpdatePackages } from './DescribeUserResourcesResponseBodyResourcesOsUpdatePackages';
17
- export { DescribeUserResourcesResponseBodyResourcesOsUpdate } from './DescribeUserResourcesResponseBodyResourcesOsUpdate';
18
- export { DescribeUserResourcesResponseBodyResourcesSessions } from './DescribeUserResourcesResponseBodyResourcesSessions';
19
- export { DescribeUserResourcesResponseBodyResources } from './DescribeUserResourcesResponseBodyResources';
20
- export { GetCloudDriveServiceMountTokenResponseBodyToken } from './GetCloudDriveServiceMountTokenResponseBodyToken';
21
- export { GetConnectionTicketRequestTag } from './GetConnectionTicketRequestTag';
22
- export { GetLoginTokenResponseBodyPasswordStrategy } from './GetLoginTokenResponseBodyPasswordStrategy';
23
- export { GetLoginTokenResponseBodyRiskVerifyInfo } from './GetLoginTokenResponseBodyRiskVerifyInfo';
24
- export { QueryEdsAgentReportConfigResponseBodyData } from './QueryEdsAgentReportConfigResponseBodyData';
1
+ export { DescribeDirectoriesResponseBodyDirectories } from './DescribeDirectoriesResponseBody';
2
+ export { DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates } from './DescribeFingerPrintTemplatesResponseBody';
3
+ export { DescribeGlobalDesktopsResponseBodyDesktopsClients } from './DescribeGlobalDesktopsResponseBody';
4
+ export { DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers } from './DescribeGlobalDesktopsResponseBody';
5
+ export { DescribeGlobalDesktopsResponseBodyDesktopsDisks } from './DescribeGlobalDesktopsResponseBody';
6
+ export { DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate } from './DescribeGlobalDesktopsResponseBody';
7
+ export { DescribeGlobalDesktopsResponseBodyDesktopsSessions } from './DescribeGlobalDesktopsResponseBody';
8
+ export { DescribeGlobalDesktopsResponseBodyDesktops } from './DescribeGlobalDesktopsResponseBody';
9
+ export { DescribeOfficeSitesResponseBodyOfficeSites } from './DescribeOfficeSitesResponseBody';
10
+ export { DescribeRegionsResponseBodyRegions } from './DescribeRegionsResponseBody';
11
+ export { DescribeSnapshotsResponseBodySnapshots } from './DescribeSnapshotsResponseBody';
12
+ export { DescribeUserResourcesResponseBodyResourcesClients } from './DescribeUserResourcesResponseBody';
13
+ export { DescribeUserResourcesResponseBodyResourcesDesktopDurationList } from './DescribeUserResourcesResponseBody';
14
+ export { DescribeUserResourcesResponseBodyResourcesDesktopTimers } from './DescribeUserResourcesResponseBody';
15
+ export { DescribeUserResourcesResponseBodyResourcesFotaUpdate } from './DescribeUserResourcesResponseBody';
16
+ export { DescribeUserResourcesResponseBodyResourcesOsUpdatePackages } from './DescribeUserResourcesResponseBody';
17
+ export { DescribeUserResourcesResponseBodyResourcesOsUpdate } from './DescribeUserResourcesResponseBody';
18
+ export { DescribeUserResourcesResponseBodyResourcesSessions } from './DescribeUserResourcesResponseBody';
19
+ export { DescribeUserResourcesResponseBodyResources } from './DescribeUserResourcesResponseBody';
20
+ export { GetCloudDriveServiceMountTokenResponseBodyToken } from './GetCloudDriveServiceMountTokenResponseBody';
21
+ export { GetConnectionTicketRequestTag } from './GetConnectionTicketRequest';
22
+ export { GetLoginTokenResponseBodyPasswordStrategy } from './GetLoginTokenResponseBody';
23
+ export { GetLoginTokenResponseBodyRiskVerifyInfo } from './GetLoginTokenResponseBody';
24
+ export { QueryEdsAgentReportConfigResponseBodyData } from './QueryEdsAgentReportConfigResponseBody';
25
25
  export { OssUploadCredential } from './OssUploadCredential';
26
26
  export { ApproveFotaUpdateRequest } from './ApproveFotaUpdateRequest';
27
27
  export { ApproveFotaUpdateResponseBody } from './ApproveFotaUpdateResponseBody';
@@ -63,6 +63,7 @@ export { GetConnectionTicketRequest } from './GetConnectionTicketRequest';
63
63
  export { GetConnectionTicketResponseBody } from './GetConnectionTicketResponseBody';
64
64
  export { GetConnectionTicketResponse } from './GetConnectionTicketResponse';
65
65
  export { GetLoginTokenRequest } from './GetLoginTokenRequest';
66
+ export { GetLoginTokenShrinkRequest } from './GetLoginTokenShrinkRequest';
66
67
  export { GetLoginTokenResponseBody } from './GetLoginTokenResponseBody';
67
68
  export { GetLoginTokenResponse } from './GetLoginTokenResponse';
68
69
  export { IsKeepAliveRequest } from './IsKeepAliveRequest';
@@ -1,61 +0,0 @@
1
- import * as $dara from '@darabonba/typescript';
2
- /**
3
- */
4
- export declare class DescribeDirectoriesResponseBodyDirectories extends $dara.Model {
5
- /**
6
- * @remarks
7
- * The connection method.
8
- *
9
- * Valid values:
10
- *
11
- * * VPC: End users connect to cloud computers over an enterprise virtual private cloud (VPC).
12
- * * INTERNET: End users connect to cloud computers over the Internet.
13
- * * ANY: End users connect to cloud computers over the Internet or an enterprise VPC.
14
- *
15
- * @example
16
- * INTERNET
17
- */
18
- desktopAccessType?: string;
19
- /**
20
- * @remarks
21
- * The directory ID.
22
- *
23
- * @example
24
- * cn-hangzhou+dir-gx2x1dhsmu52rd****
25
- */
26
- directoryId?: string;
27
- /**
28
- * @remarks
29
- * The directory type.
30
- *
31
- * @example
32
- * AD_CONNECTOR
33
- */
34
- directoryType?: string;
35
- /**
36
- * @remarks
37
- * The provider ID.
38
- *
39
- * @example
40
- * 26842
41
- */
42
- providerId?: string;
43
- /**
44
- * @remarks
45
- * The URL of the SSO service.
46
- *
47
- * @example
48
- * https://eds-cn-shanghai-67726****
49
- */
50
- ssoServiceUrl?: string;
51
- static names(): {
52
- [key: string]: string;
53
- };
54
- static types(): {
55
- [key: string]: any;
56
- };
57
- validate(): void;
58
- constructor(map?: {
59
- [key: string]: any;
60
- });
61
- }