@alicloud/appstream-center20210218 1.1.2 → 1.2.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.
Files changed (58) hide show
  1. package/dist/client.d.ts +66 -6
  2. package/dist/client.js +146 -10
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateThirdAppAccessTokenRequest.d.ts +74 -0
  5. package/dist/models/CreateThirdAppAccessTokenRequest.js +90 -0
  6. package/dist/models/CreateThirdAppAccessTokenRequest.js.map +1 -0
  7. package/dist/models/CreateThirdAppAccessTokenResponse.d.ts +19 -0
  8. package/dist/models/CreateThirdAppAccessTokenResponse.js +69 -0
  9. package/dist/models/CreateThirdAppAccessTokenResponse.js.map +1 -0
  10. package/dist/models/CreateThirdAppAccessTokenResponseBody.d.ts +37 -0
  11. package/dist/models/CreateThirdAppAccessTokenResponseBody.js +62 -0
  12. package/dist/models/CreateThirdAppAccessTokenResponseBody.js.map +1 -0
  13. package/dist/models/CreateThirdAppAccessTokenShrinkRequest.d.ts +44 -0
  14. package/dist/models/CreateThirdAppAccessTokenShrinkRequest.js +64 -0
  15. package/dist/models/CreateThirdAppAccessTokenShrinkRequest.js.map +1 -0
  16. package/dist/models/ExpireLoginTokenRequest.d.ts +1 -1
  17. package/dist/models/ExpireLoginTokenResponseBody.d.ts +1 -1
  18. package/dist/models/GetAuthCodeRequest.d.ts +38 -9
  19. package/dist/models/GetAuthCodeRequest.js +2 -0
  20. package/dist/models/GetAuthCodeRequest.js.map +1 -1
  21. package/dist/models/GetAuthCodeResponseBody.d.ts +3 -5
  22. package/dist/models/GetAuthCodeResponseBody.js +0 -2
  23. package/dist/models/GetAuthCodeResponseBody.js.map +1 -1
  24. package/dist/models/GetLatestThirdAppAccessTokenRequest.d.ts +64 -0
  25. package/dist/models/GetLatestThirdAppAccessTokenRequest.js +86 -0
  26. package/dist/models/GetLatestThirdAppAccessTokenRequest.js.map +1 -0
  27. package/dist/models/GetLatestThirdAppAccessTokenResponse.d.ts +19 -0
  28. package/dist/models/GetLatestThirdAppAccessTokenResponse.js +69 -0
  29. package/dist/models/GetLatestThirdAppAccessTokenResponse.js.map +1 -0
  30. package/dist/models/GetLatestThirdAppAccessTokenResponseBody.d.ts +37 -0
  31. package/dist/models/GetLatestThirdAppAccessTokenResponseBody.js +62 -0
  32. package/dist/models/GetLatestThirdAppAccessTokenResponseBody.js.map +1 -0
  33. package/dist/models/GetLatestThirdAppAccessTokenShrinkRequest.d.ts +36 -0
  34. package/dist/models/GetLatestThirdAppAccessTokenShrinkRequest.js +62 -0
  35. package/dist/models/GetLatestThirdAppAccessTokenShrinkRequest.js.map +1 -0
  36. package/dist/models/GetStsTokenRequest.d.ts +5 -4
  37. package/dist/models/GetStsTokenRequest.js.map +1 -1
  38. package/dist/models/GetStsTokenResponseBody.d.ts +4 -4
  39. package/dist/models/model.d.ts +10 -0
  40. package/dist/models/model.js +21 -1
  41. package/dist/models/model.js.map +1 -1
  42. package/package.json +3 -2
  43. package/src/client.ts +160 -10
  44. package/src/models/CreateThirdAppAccessTokenRequest.ts +108 -0
  45. package/src/models/CreateThirdAppAccessTokenResponse.ts +40 -0
  46. package/src/models/CreateThirdAppAccessTokenResponseBody.ts +54 -0
  47. package/src/models/CreateThirdAppAccessTokenShrinkRequest.ts +63 -0
  48. package/src/models/ExpireLoginTokenRequest.ts +1 -1
  49. package/src/models/ExpireLoginTokenResponseBody.ts +1 -1
  50. package/src/models/GetAuthCodeRequest.ts +40 -9
  51. package/src/models/GetAuthCodeResponseBody.ts +3 -5
  52. package/src/models/GetLatestThirdAppAccessTokenRequest.ts +96 -0
  53. package/src/models/GetLatestThirdAppAccessTokenResponse.ts +40 -0
  54. package/src/models/GetLatestThirdAppAccessTokenResponseBody.ts +54 -0
  55. package/src/models/GetLatestThirdAppAccessTokenShrinkRequest.ts +53 -0
  56. package/src/models/GetStsTokenRequest.ts +5 -4
  57. package/src/models/GetStsTokenResponseBody.ts +4 -4
  58. package/src/models/model.ts +10 -0
@@ -5,9 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetStsTokenRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The Elastic Desktop Service (EDS) username.
8
+ * The Wuying username.
9
9
  *
10
- * > Either EndUserId or ExternalId is required.
10
+ *
11
+ * > Either the Wuying username or the external ID is required.
11
12
  *
12
13
  * @example
13
14
  * Alex
@@ -15,7 +16,7 @@ export class GetStsTokenRequest extends $dara.Model {
15
16
  endUserId?: string;
16
17
  /**
17
18
  * @remarks
18
- * The validity period of the token, in seconds. The maximum period is two days.
19
+ * The expiration time in seconds. The maximum validity period is two days.
19
20
  *
20
21
  * @example
21
22
  * 600
@@ -23,7 +24,7 @@ export class GetStsTokenRequest extends $dara.Model {
23
24
  expiration?: number;
24
25
  /**
25
26
  * @remarks
26
- * The ID of the external user.
27
+ * The external user ID.
27
28
  *
28
29
  * @example
29
30
  * Alex
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetStsTokenResponseBodyStsTokenModel extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The tenant ID, which is the UID of the Alibaba Cloud account.
8
+ * The tenant ID (Alibaba Cloud account UID).
9
9
  *
10
10
  * @example
11
11
  * 105552640689****
@@ -21,7 +21,7 @@ export class GetStsTokenResponseBodyStsTokenModel extends $dara.Model {
21
21
  sessionId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The temporary credentials.
24
+ * The temporary identity credential.
25
25
  *
26
26
  * @example
27
27
  * sts****
@@ -29,7 +29,7 @@ export class GetStsTokenResponseBodyStsTokenModel extends $dara.Model {
29
29
  stsToken?: string;
30
30
  /**
31
31
  * @remarks
32
- * The tenant ID, which is the UID of the Alibaba Cloud account.
32
+ * The tenant ID (Alibaba Cloud account UID).
33
33
  *
34
34
  * @example
35
35
  * 105552640689****
@@ -73,7 +73,7 @@ export class GetStsTokenResponseBody extends $dara.Model {
73
73
  requestId?: string;
74
74
  /**
75
75
  * @remarks
76
- * The details of the token.
76
+ * The token details.
77
77
  */
78
78
  stsTokenModel?: GetStsTokenResponseBodyStsTokenModel;
79
79
  static names(): { [key: string]: string } {
@@ -1,11 +1,21 @@
1
+ export { CreateThirdAppAccessTokenRequestResource } from './CreateThirdAppAccessTokenRequest';
1
2
  export { GetAuthCodeResponseBodyAuthModel } from './GetAuthCodeResponseBody';
3
+ export { GetLatestThirdAppAccessTokenRequestResource } from './GetLatestThirdAppAccessTokenRequest';
2
4
  export { GetStsTokenResponseBodyStsTokenModel } from './GetStsTokenResponseBody';
5
+ export { CreateThirdAppAccessTokenRequest } from './CreateThirdAppAccessTokenRequest';
6
+ export { CreateThirdAppAccessTokenShrinkRequest } from './CreateThirdAppAccessTokenShrinkRequest';
7
+ export { CreateThirdAppAccessTokenResponseBody } from './CreateThirdAppAccessTokenResponseBody';
8
+ export { CreateThirdAppAccessTokenResponse } from './CreateThirdAppAccessTokenResponse';
3
9
  export { ExpireLoginTokenRequest } from './ExpireLoginTokenRequest';
4
10
  export { ExpireLoginTokenResponseBody } from './ExpireLoginTokenResponseBody';
5
11
  export { ExpireLoginTokenResponse } from './ExpireLoginTokenResponse';
6
12
  export { GetAuthCodeRequest } from './GetAuthCodeRequest';
7
13
  export { GetAuthCodeResponseBody } from './GetAuthCodeResponseBody';
8
14
  export { GetAuthCodeResponse } from './GetAuthCodeResponse';
15
+ export { GetLatestThirdAppAccessTokenRequest } from './GetLatestThirdAppAccessTokenRequest';
16
+ export { GetLatestThirdAppAccessTokenShrinkRequest } from './GetLatestThirdAppAccessTokenShrinkRequest';
17
+ export { GetLatestThirdAppAccessTokenResponseBody } from './GetLatestThirdAppAccessTokenResponseBody';
18
+ export { GetLatestThirdAppAccessTokenResponse } from './GetLatestThirdAppAccessTokenResponse';
9
19
  export { GetStsTokenRequest } from './GetStsTokenRequest';
10
20
  export { GetStsTokenResponseBody } from './GetStsTokenResponseBody';
11
21
  export { GetStsTokenResponse } from './GetStsTokenResponse';