@alicloud/appstream-center20210218 1.2.0 → 1.2.1
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 +2 -2
- package/dist/client.js +8 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateThirdAppAccessTokenRequest.d.ts +12 -6
- package/dist/models/CreateThirdAppAccessTokenRequest.js +2 -0
- package/dist/models/CreateThirdAppAccessTokenRequest.js.map +1 -1
- package/dist/models/CreateThirdAppAccessTokenResponseBody.d.ts +3 -3
- package/dist/models/CreateThirdAppAccessTokenShrinkRequest.d.ts +10 -4
- package/dist/models/CreateThirdAppAccessTokenShrinkRequest.js +2 -0
- package/dist/models/CreateThirdAppAccessTokenShrinkRequest.js.map +1 -1
- package/dist/models/GetLatestThirdAppAccessTokenRequest.d.ts +11 -5
- package/dist/models/GetLatestThirdAppAccessTokenRequest.js +2 -0
- package/dist/models/GetLatestThirdAppAccessTokenRequest.js.map +1 -1
- package/dist/models/GetLatestThirdAppAccessTokenResponseBody.d.ts +3 -3
- package/dist/models/GetLatestThirdAppAccessTokenShrinkRequest.d.ts +9 -3
- package/dist/models/GetLatestThirdAppAccessTokenShrinkRequest.js +2 -0
- package/dist/models/GetLatestThirdAppAccessTokenShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -2
- package/src/models/CreateThirdAppAccessTokenRequest.ts +14 -6
- package/src/models/CreateThirdAppAccessTokenResponseBody.ts +3 -3
- package/src/models/CreateThirdAppAccessTokenShrinkRequest.ts +12 -4
- package/src/models/GetLatestThirdAppAccessTokenRequest.ts +13 -5
- package/src/models/GetLatestThirdAppAccessTokenResponseBody.ts +3 -3
- package/src/models/GetLatestThirdAppAccessTokenShrinkRequest.ts +11 -3
package/dist/client.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export default class Client extends OpenApi {
|
|
|
14
14
|
* @remarks
|
|
15
15
|
* When you call this operation, you must provide Resource and specify both ResourceType and ResourceId. Only a single cloud desktop is supported. You cannot omit Resource to authorize or query all cloud desktops.
|
|
16
16
|
* AuthorizerId is the WyId of the user and cannot be replaced by a username. BusinessChannel supports Enterprise and Business. If omitted, the default value is Enterprise.
|
|
17
|
-
* Before creation, the user must belong to the current calling account and have access permissions
|
|
17
|
+
* Before creation, the user must belong to the current calling account and have access permissions to the target cloud desktop. This operation only creates an access token. It does not create users or add authorization relationships between users and cloud desktops. Each successful call creates a new time-limited token. To obtain an existing token, call GetLatestThirdAppAccessToken and pass the same AuthorizerId and Resource.
|
|
18
18
|
* The unit of Expiration is seconds. Valid values: 1 to 15552000. If omitted, the default value is 15552000, which equals 180 days. Permanent validity is not supported. Keep the returned AccessToken secure and avoid displaying the full token in logs or public content.
|
|
19
19
|
*
|
|
20
20
|
* @param tmpReq - CreateThirdAppAccessTokenRequest
|
|
@@ -28,7 +28,7 @@ export default class Client extends OpenApi {
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* When you call this operation, you must provide Resource and specify both ResourceType and ResourceId. Only a single cloud desktop is supported. You cannot omit Resource to authorize or query all cloud desktops.
|
|
30
30
|
* AuthorizerId is the WyId of the user and cannot be replaced by a username. BusinessChannel supports Enterprise and Business. If omitted, the default value is Enterprise.
|
|
31
|
-
* Before creation, the user must belong to the current calling account and have access permissions
|
|
31
|
+
* Before creation, the user must belong to the current calling account and have access permissions to the target cloud desktop. This operation only creates an access token. It does not create users or add authorization relationships between users and cloud desktops. Each successful call creates a new time-limited token. To obtain an existing token, call GetLatestThirdAppAccessToken and pass the same AuthorizerId and Resource.
|
|
32
32
|
* The unit of Expiration is seconds. Valid values: 1 to 15552000. If omitted, the default value is 15552000, which equals 180 days. Permanent validity is not supported. Keep the returned AccessToken secure and avoid displaying the full token in logs or public content.
|
|
33
33
|
*
|
|
34
34
|
* @param request - CreateThirdAppAccessTokenRequest
|
package/dist/client.js
CHANGED
|
@@ -71,7 +71,7 @@ class Client extends openapi_core_1.default {
|
|
|
71
71
|
* @remarks
|
|
72
72
|
* When you call this operation, you must provide Resource and specify both ResourceType and ResourceId. Only a single cloud desktop is supported. You cannot omit Resource to authorize or query all cloud desktops.
|
|
73
73
|
* AuthorizerId is the WyId of the user and cannot be replaced by a username. BusinessChannel supports Enterprise and Business. If omitted, the default value is Enterprise.
|
|
74
|
-
* Before creation, the user must belong to the current calling account and have access permissions
|
|
74
|
+
* Before creation, the user must belong to the current calling account and have access permissions to the target cloud desktop. This operation only creates an access token. It does not create users or add authorization relationships between users and cloud desktops. Each successful call creates a new time-limited token. To obtain an existing token, call GetLatestThirdAppAccessToken and pass the same AuthorizerId and Resource.
|
|
75
75
|
* The unit of Expiration is seconds. Valid values: 1 to 15552000. If omitted, the default value is 15552000, which equals 180 days. Permanent validity is not supported. Keep the returned AccessToken secure and avoid displaying the full token in logs or public content.
|
|
76
76
|
*
|
|
77
77
|
* @param tmpReq - CreateThirdAppAccessTokenRequest
|
|
@@ -92,6 +92,9 @@ class Client extends openapi_core_1.default {
|
|
|
92
92
|
if (!$dara.isNull(request.businessChannel)) {
|
|
93
93
|
body["BusinessChannel"] = request.businessChannel;
|
|
94
94
|
}
|
|
95
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
96
|
+
body["EndUserId"] = request.endUserId;
|
|
97
|
+
}
|
|
95
98
|
if (!$dara.isNull(request.expiration)) {
|
|
96
99
|
body["Expiration"] = request.expiration;
|
|
97
100
|
}
|
|
@@ -120,7 +123,7 @@ class Client extends openapi_core_1.default {
|
|
|
120
123
|
* @remarks
|
|
121
124
|
* When you call this operation, you must provide Resource and specify both ResourceType and ResourceId. Only a single cloud desktop is supported. You cannot omit Resource to authorize or query all cloud desktops.
|
|
122
125
|
* AuthorizerId is the WyId of the user and cannot be replaced by a username. BusinessChannel supports Enterprise and Business. If omitted, the default value is Enterprise.
|
|
123
|
-
* Before creation, the user must belong to the current calling account and have access permissions
|
|
126
|
+
* Before creation, the user must belong to the current calling account and have access permissions to the target cloud desktop. This operation only creates an access token. It does not create users or add authorization relationships between users and cloud desktops. Each successful call creates a new time-limited token. To obtain an existing token, call GetLatestThirdAppAccessToken and pass the same AuthorizerId and Resource.
|
|
124
127
|
* The unit of Expiration is seconds. Valid values: 1 to 15552000. If omitted, the default value is 15552000, which equals 180 days. Permanent validity is not supported. Keep the returned AccessToken secure and avoid displaying the full token in logs or public content.
|
|
125
128
|
*
|
|
126
129
|
* @param request - CreateThirdAppAccessTokenRequest
|
|
@@ -273,6 +276,9 @@ class Client extends openapi_core_1.default {
|
|
|
273
276
|
if (!$dara.isNull(request.businessChannel)) {
|
|
274
277
|
body["BusinessChannel"] = request.businessChannel;
|
|
275
278
|
}
|
|
279
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
280
|
+
body["EndUserId"] = request.endUserId;
|
|
281
|
+
}
|
|
276
282
|
if (!$dara.isNull(request.resourceShrink)) {
|
|
277
283
|
body["Resource"] = request.resourceShrink;
|
|
278
284
|
}
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,wEAAkD;AAClD,0EAA6C;AAC7C,yDAAkE;AAGlE,wDAA0C;AAC1C,iDAA+B;AAE/B,MAAqB,MAAO,SAAQ,sBAAO;IAEzC,YAAY,MAA2B;QACrC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,UAAU,GAAG,kBAAkB,CAAC;QACrC,IAAI,aAAa,GAAG,IAAI,qBAAa,EAAE,CAAC;QACxC,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;QAC1B,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC;QAChC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,kBAAkB,EAAE,IAAI,CAAC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,IAAI,CAA8B,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,IAAI,OAAO,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC,CAAC;IAChI,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CAAC,OAAmC;QACnD,IAAI,OAAO,GAAG,IAAI,KAAK,CAAC,cAAc,CAAC,EAAG,CAAC,CAAC;QAC5C,OAAO,MAAM,IAAI,CAAC,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;CAEF;AAnWD,yBAmWC"}
|
|
@@ -4,7 +4,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
export declare class CreateThirdAppAccessTokenRequestResource extends $dara.Model {
|
|
5
5
|
/**
|
|
6
6
|
* @remarks
|
|
7
|
-
* The ID of the target cloud desktop. You must provide a non-empty value when you call this operation.
|
|
7
|
+
* The ID of the target cloud desktop. You must provide a non-empty value when you call this operation. You cannot use an asterisk (*). The cloud desktop must be authorized to the user specified by AuthorizerId.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ecd-7a8b9c0d****
|
|
@@ -12,7 +12,7 @@ export declare class CreateThirdAppAccessTokenRequestResource extends $dara.Mode
|
|
|
12
12
|
resourceId?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The resource type.
|
|
15
|
+
* The resource type. You must provide this parameter when you call this operation. Valid value: DESKTOP, which indicates a cloud desktop. The value is case-insensitive.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* DESKTOP
|
|
@@ -34,8 +34,6 @@ export declare class CreateThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* The WyId of the authorized user. The user must belong to the current calling account. This parameter is not the username.
|
|
36
36
|
*
|
|
37
|
-
* This parameter is required.
|
|
38
|
-
*
|
|
39
37
|
* @example
|
|
40
38
|
* f1e2d3c4b5a6****
|
|
41
39
|
*/
|
|
@@ -50,7 +48,15 @@ export declare class CreateThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
50
48
|
businessChannel?: string;
|
|
51
49
|
/**
|
|
52
50
|
* @remarks
|
|
53
|
-
* The
|
|
51
|
+
* The convenience username in the current tenant. Used when AuthorizerId is not provided or is empty.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* test
|
|
55
|
+
*/
|
|
56
|
+
endUserId?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* The validity period of the token, in seconds. Valid values: 1 to 15552000. If omitted, the default value is 15552000, which equals 180 days. Permanent validity is not supported. You cannot pass 0.
|
|
54
60
|
*
|
|
55
61
|
* @example
|
|
56
62
|
* 900
|
|
@@ -58,7 +64,7 @@ export declare class CreateThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
58
64
|
expiration?: number;
|
|
59
65
|
/**
|
|
60
66
|
* @remarks
|
|
61
|
-
* The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when you call this operation. Pass
|
|
67
|
+
* The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when you call this operation. Pass it as a JSON object to specify only one cloud desktop. Wildcards or authorization for all cloud desktops are not supported.
|
|
62
68
|
*/
|
|
63
69
|
resource?: CreateThirdAppAccessTokenRequestResource;
|
|
64
70
|
static names(): {
|
|
@@ -64,6 +64,7 @@ class CreateThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
64
64
|
return {
|
|
65
65
|
authorizerId: 'AuthorizerId',
|
|
66
66
|
businessChannel: 'BusinessChannel',
|
|
67
|
+
endUserId: 'EndUserId',
|
|
67
68
|
expiration: 'Expiration',
|
|
68
69
|
resource: 'Resource',
|
|
69
70
|
};
|
|
@@ -72,6 +73,7 @@ class CreateThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
72
73
|
return {
|
|
73
74
|
authorizerId: 'string',
|
|
74
75
|
businessChannel: 'string',
|
|
76
|
+
endUserId: 'string',
|
|
75
77
|
expiration: 'number',
|
|
76
78
|
resource: CreateThirdAppAccessTokenRequestResource,
|
|
77
79
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateThirdAppAccessTokenRequest.js","sourceRoot":"","sources":["../../src/models/CreateThirdAppAccessTokenRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C;GACG;AACH,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAiBvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,4FAsCC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateThirdAppAccessTokenRequest.js","sourceRoot":"","sources":["../../src/models/CreateThirdAppAccessTokenRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C;GACG;AACH,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAiBvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,4FAsCC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAsC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,eAAe,EAAE,iBAAiB;YAClC,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,eAAe,EAAE,QAAQ;YACzB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,wCAAwC;SACnD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,IAAI,OAAQ,IAAI,CAAC,QAAgB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzE,IAAI,CAAC,QAAgB,CAAC,QAAQ,EAAE,CAAC;QACpC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,4EAoEC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateThirdAppAccessTokenResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The time-limited static access token created for the specified user and single cloud desktop. This is a sensitive credential. Do not log or
|
|
5
|
+
* The time-limited static access token created for the specified user and single cloud desktop. This is a sensitive credential. Do not log or disclose the full value.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* taatv1.v2****
|
|
@@ -10,7 +10,7 @@ export declare class CreateThirdAppAccessTokenResponseBody extends $dara.Model {
|
|
|
10
10
|
accessToken?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The absolute expiration time of the token, in UNIX milliseconds. This parameter is not empty when the call is successful. GetLatestThirdAppAccessToken returns the original expiration time
|
|
13
|
+
* The absolute expiration time of the token, in UNIX milliseconds. This parameter is not empty when the call is successful. GetLatestThirdAppAccessToken returns the original expiration time and does not extend it.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 1795450500000
|
|
@@ -18,7 +18,7 @@ export declare class CreateThirdAppAccessTokenResponseBody extends $dara.Model {
|
|
|
18
18
|
expiresAt?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The unique identifier of the request
|
|
21
|
+
* The unique identifier of the request. You can use it to locate and troubleshoot issues.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 6DAB2D15-7345-4C33-9D77-48A1A756B9E1
|
|
@@ -4,8 +4,6 @@ export declare class CreateThirdAppAccessTokenShrinkRequest extends $dara.Model
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* The WyId of the authorized user. The user must belong to the current calling account. This parameter is not the username.
|
|
6
6
|
*
|
|
7
|
-
* This parameter is required.
|
|
8
|
-
*
|
|
9
7
|
* @example
|
|
10
8
|
* f1e2d3c4b5a6****
|
|
11
9
|
*/
|
|
@@ -20,7 +18,15 @@ export declare class CreateThirdAppAccessTokenShrinkRequest extends $dara.Model
|
|
|
20
18
|
businessChannel?: string;
|
|
21
19
|
/**
|
|
22
20
|
* @remarks
|
|
23
|
-
* The
|
|
21
|
+
* The convenience username in the current tenant. Used when AuthorizerId is not provided or is empty.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* test
|
|
25
|
+
*/
|
|
26
|
+
endUserId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The validity period of the token, in seconds. Valid values: 1 to 15552000. If omitted, the default value is 15552000, which equals 180 days. Permanent validity is not supported. You cannot pass 0.
|
|
24
30
|
*
|
|
25
31
|
* @example
|
|
26
32
|
* 900
|
|
@@ -28,7 +34,7 @@ export declare class CreateThirdAppAccessTokenShrinkRequest extends $dara.Model
|
|
|
28
34
|
expiration?: number;
|
|
29
35
|
/**
|
|
30
36
|
* @remarks
|
|
31
|
-
* The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when you call this operation. Pass
|
|
37
|
+
* The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when you call this operation. Pass it as a JSON object to specify only one cloud desktop. Wildcards or authorization for all cloud desktops are not supported.
|
|
32
38
|
*/
|
|
33
39
|
resourceShrink?: string;
|
|
34
40
|
static names(): {
|
|
@@ -41,6 +41,7 @@ class CreateThirdAppAccessTokenShrinkRequest extends $dara.Model {
|
|
|
41
41
|
return {
|
|
42
42
|
authorizerId: 'AuthorizerId',
|
|
43
43
|
businessChannel: 'BusinessChannel',
|
|
44
|
+
endUserId: 'EndUserId',
|
|
44
45
|
expiration: 'Expiration',
|
|
45
46
|
resourceShrink: 'Resource',
|
|
46
47
|
};
|
|
@@ -49,6 +50,7 @@ class CreateThirdAppAccessTokenShrinkRequest extends $dara.Model {
|
|
|
49
50
|
return {
|
|
50
51
|
authorizerId: 'string',
|
|
51
52
|
businessChannel: 'string',
|
|
53
|
+
endUserId: 'string',
|
|
52
54
|
expiration: 'number',
|
|
53
55
|
resourceShrink: 'string',
|
|
54
56
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateThirdAppAccessTokenShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateThirdAppAccessTokenShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateThirdAppAccessTokenShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateThirdAppAccessTokenShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAsCrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,eAAe,EAAE,iBAAiB;YAClC,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,UAAU;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,eAAe,EAAE,QAAQ;YACzB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjED,wFAiEC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetLatestThirdAppAccessTokenRequestResource extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID of the cloud desktop specified when the token was created. You must provide a non-empty value
|
|
5
|
+
* The ID of the cloud desktop specified when the token was created. You must provide a non-empty value when calling this operation, and it must be consistent with the value used during creation. Asterisks (*) are not allowed.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* ecd-7a8b9c0d****
|
|
@@ -10,7 +10,7 @@ export declare class GetLatestThirdAppAccessTokenRequestResource extends $dara.M
|
|
|
10
10
|
resourceId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The resource type. This parameter is required.
|
|
13
|
+
* The resource type. This parameter is required when calling this operation. Set the value to DESKTOP, which indicates a cloud desktop. The value is case-insensitive.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* DESKTOP
|
|
@@ -32,20 +32,26 @@ export declare class GetLatestThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
32
32
|
* @remarks
|
|
33
33
|
* The WyId of the user used when the token was created. It must correspond to the current account and the target cloud desktop, and cannot be replaced by a username.
|
|
34
34
|
*
|
|
35
|
-
* This parameter is required.
|
|
36
|
-
*
|
|
37
35
|
* @example
|
|
38
36
|
* f1e2d3c4b5a6****
|
|
39
37
|
*/
|
|
40
38
|
authorizerId?: string;
|
|
41
39
|
/**
|
|
42
40
|
* @remarks
|
|
43
|
-
* The business channel. Valid values: Enterprise and Business. The value is case-insensitive. If omitted, the default value is Enterprise. If an empty string or other value is explicitly passed, a parameter error is returned. This parameter does not replace user identity verification.
|
|
41
|
+
* The business channel. Valid values: Enterprise and Business. The value is case-insensitive. If omitted, the default value is Enterprise. If an empty string or any other value is explicitly passed, a parameter error is returned. This parameter does not replace user identity verification.
|
|
44
42
|
*
|
|
45
43
|
* @example
|
|
46
44
|
* Enterprise
|
|
47
45
|
*/
|
|
48
46
|
businessChannel?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The convenience username under the current tenant. Used when AuthorizerId is not provided or is empty.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* test
|
|
53
|
+
*/
|
|
54
|
+
endUserId?: string;
|
|
49
55
|
/**
|
|
50
56
|
* @remarks
|
|
51
57
|
* The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when calling this operation. Pass it as a JSON object to specify only one cloud desktop. Wildcards or authorization for all cloud desktops are not supported.
|
|
@@ -62,6 +62,7 @@ class GetLatestThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
62
62
|
return {
|
|
63
63
|
authorizerId: 'AuthorizerId',
|
|
64
64
|
businessChannel: 'BusinessChannel',
|
|
65
|
+
endUserId: 'EndUserId',
|
|
65
66
|
resource: 'Resource',
|
|
66
67
|
};
|
|
67
68
|
}
|
|
@@ -69,6 +70,7 @@ class GetLatestThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
69
70
|
return {
|
|
70
71
|
authorizerId: 'string',
|
|
71
72
|
businessChannel: 'string',
|
|
73
|
+
endUserId: 'string',
|
|
72
74
|
resource: GetLatestThirdAppAccessTokenRequestResource,
|
|
73
75
|
};
|
|
74
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetLatestThirdAppAccessTokenRequest.js","sourceRoot":"","sources":["../../src/models/GetLatestThirdAppAccessTokenRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAiB1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,kGAsCC;AAED,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetLatestThirdAppAccessTokenRequest.js","sourceRoot":"","sources":["../../src/models/GetLatestThirdAppAccessTokenRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAiB1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,kGAsCC;AAED,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IA8BlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,eAAe,EAAE,iBAAiB;YAClC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,eAAe,EAAE,QAAQ;YACzB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,2CAA2C;SACtD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,IAAI,OAAQ,IAAI,CAAC,QAAgB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzE,IAAI,CAAC,QAAgB,CAAC,QAAQ,EAAE,CAAC;QACpC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,kFA0DC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetLatestThirdAppAccessTokenResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The current valid static access token for the specified user and single cloud desktop. The original saved token is returned, and the query does not renew
|
|
5
|
+
* The current valid static access token for the specified user and single cloud desktop. The original saved token is returned, and the query does not renew it. This is a sensitive credential. Do not log or expose the full value.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* taatv1.v2****
|
|
@@ -10,7 +10,7 @@ export declare class GetLatestThirdAppAccessTokenResponseBody extends $dara.Mode
|
|
|
10
10
|
accessToken?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The absolute expiration time of the token,
|
|
13
|
+
* The absolute expiration time of the token, in UNIX milliseconds. This parameter is not empty when the call is successful. GetLatestThirdAppAccessToken returns the original expiration time and does not renew the token.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 1795450500000
|
|
@@ -18,7 +18,7 @@ export declare class GetLatestThirdAppAccessTokenResponseBody extends $dara.Mode
|
|
|
18
18
|
expiresAt?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The unique identifier of the request
|
|
21
|
+
* The unique identifier of the request. You can use it to locate and troubleshoot issues.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 6DAB2D15-7345-4C33-9D77-48A1A756B9E1
|
|
@@ -4,20 +4,26 @@ export declare class GetLatestThirdAppAccessTokenShrinkRequest extends $dara.Mod
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* The WyId of the user used when the token was created. It must correspond to the current account and the target cloud desktop, and cannot be replaced by a username.
|
|
6
6
|
*
|
|
7
|
-
* This parameter is required.
|
|
8
|
-
*
|
|
9
7
|
* @example
|
|
10
8
|
* f1e2d3c4b5a6****
|
|
11
9
|
*/
|
|
12
10
|
authorizerId?: string;
|
|
13
11
|
/**
|
|
14
12
|
* @remarks
|
|
15
|
-
* The business channel. Valid values: Enterprise and Business. The value is case-insensitive. If omitted, the default value is Enterprise. If an empty string or other value is explicitly passed, a parameter error is returned. This parameter does not replace user identity verification.
|
|
13
|
+
* The business channel. Valid values: Enterprise and Business. The value is case-insensitive. If omitted, the default value is Enterprise. If an empty string or any other value is explicitly passed, a parameter error is returned. This parameter does not replace user identity verification.
|
|
16
14
|
*
|
|
17
15
|
* @example
|
|
18
16
|
* Enterprise
|
|
19
17
|
*/
|
|
20
18
|
businessChannel?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The convenience username under the current tenant. Used when AuthorizerId is not provided or is empty.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* test
|
|
25
|
+
*/
|
|
26
|
+
endUserId?: string;
|
|
21
27
|
/**
|
|
22
28
|
* @remarks
|
|
23
29
|
* The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when calling this operation. Pass it as a JSON object to specify only one cloud desktop. Wildcards or authorization for all cloud desktops are not supported.
|
|
@@ -41,6 +41,7 @@ class GetLatestThirdAppAccessTokenShrinkRequest extends $dara.Model {
|
|
|
41
41
|
return {
|
|
42
42
|
authorizerId: 'AuthorizerId',
|
|
43
43
|
businessChannel: 'BusinessChannel',
|
|
44
|
+
endUserId: 'EndUserId',
|
|
44
45
|
resourceShrink: 'Resource',
|
|
45
46
|
};
|
|
46
47
|
}
|
|
@@ -48,6 +49,7 @@ class GetLatestThirdAppAccessTokenShrinkRequest extends $dara.Model {
|
|
|
48
49
|
return {
|
|
49
50
|
authorizerId: 'string',
|
|
50
51
|
businessChannel: 'string',
|
|
52
|
+
endUserId: 'string',
|
|
51
53
|
resourceShrink: 'string',
|
|
52
54
|
};
|
|
53
55
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetLatestThirdAppAccessTokenShrinkRequest.js","sourceRoot":"","sources":["../../src/models/GetLatestThirdAppAccessTokenShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetLatestThirdAppAccessTokenShrinkRequest.js","sourceRoot":"","sources":["../../src/models/GetLatestThirdAppAccessTokenShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IA8BxE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,eAAe,EAAE,iBAAiB;YAClC,SAAS,EAAE,WAAW;YACtB,cAAc,EAAE,UAAU;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,eAAe,EAAE,QAAQ;YACzB,SAAS,EAAE,QAAQ;YACnB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvDD,8FAuDC"}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -39,7 +39,7 @@ export default class Client extends OpenApi {
|
|
|
39
39
|
* @remarks
|
|
40
40
|
* When you call this operation, you must provide Resource and specify both ResourceType and ResourceId. Only a single cloud desktop is supported. You cannot omit Resource to authorize or query all cloud desktops.
|
|
41
41
|
* AuthorizerId is the WyId of the user and cannot be replaced by a username. BusinessChannel supports Enterprise and Business. If omitted, the default value is Enterprise.
|
|
42
|
-
* Before creation, the user must belong to the current calling account and have access permissions
|
|
42
|
+
* Before creation, the user must belong to the current calling account and have access permissions to the target cloud desktop. This operation only creates an access token. It does not create users or add authorization relationships between users and cloud desktops. Each successful call creates a new time-limited token. To obtain an existing token, call GetLatestThirdAppAccessToken and pass the same AuthorizerId and Resource.
|
|
43
43
|
* The unit of Expiration is seconds. Valid values: 1 to 15552000. If omitted, the default value is 15552000, which equals 180 days. Permanent validity is not supported. Keep the returned AccessToken secure and avoid displaying the full token in logs or public content.
|
|
44
44
|
*
|
|
45
45
|
* @param tmpReq - CreateThirdAppAccessTokenRequest
|
|
@@ -63,6 +63,10 @@ export default class Client extends OpenApi {
|
|
|
63
63
|
body["BusinessChannel"] = request.businessChannel;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
67
|
+
body["EndUserId"] = request.endUserId;
|
|
68
|
+
}
|
|
69
|
+
|
|
66
70
|
if (!$dara.isNull(request.expiration)) {
|
|
67
71
|
body["Expiration"] = request.expiration;
|
|
68
72
|
}
|
|
@@ -94,7 +98,7 @@ export default class Client extends OpenApi {
|
|
|
94
98
|
* @remarks
|
|
95
99
|
* When you call this operation, you must provide Resource and specify both ResourceType and ResourceId. Only a single cloud desktop is supported. You cannot omit Resource to authorize or query all cloud desktops.
|
|
96
100
|
* AuthorizerId is the WyId of the user and cannot be replaced by a username. BusinessChannel supports Enterprise and Business. If omitted, the default value is Enterprise.
|
|
97
|
-
* Before creation, the user must belong to the current calling account and have access permissions
|
|
101
|
+
* Before creation, the user must belong to the current calling account and have access permissions to the target cloud desktop. This operation only creates an access token. It does not create users or add authorization relationships between users and cloud desktops. Each successful call creates a new time-limited token. To obtain an existing token, call GetLatestThirdAppAccessToken and pass the same AuthorizerId and Resource.
|
|
98
102
|
* The unit of Expiration is seconds. Valid values: 1 to 15552000. If omitted, the default value is 15552000, which equals 180 days. Permanent validity is not supported. Keep the returned AccessToken secure and avoid displaying the full token in logs or public content.
|
|
99
103
|
*
|
|
100
104
|
* @param request - CreateThirdAppAccessTokenRequest
|
|
@@ -267,6 +271,10 @@ export default class Client extends OpenApi {
|
|
|
267
271
|
body["BusinessChannel"] = request.businessChannel;
|
|
268
272
|
}
|
|
269
273
|
|
|
274
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
275
|
+
body["EndUserId"] = request.endUserId;
|
|
276
|
+
}
|
|
277
|
+
|
|
270
278
|
if (!$dara.isNull(request.resourceShrink)) {
|
|
271
279
|
body["Resource"] = request.resourceShrink;
|
|
272
280
|
}
|
|
@@ -7,7 +7,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
7
7
|
export class CreateThirdAppAccessTokenRequestResource extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The ID of the target cloud desktop. You must provide a non-empty value when you call this operation.
|
|
10
|
+
* The ID of the target cloud desktop. You must provide a non-empty value when you call this operation. You cannot use an asterisk (*). The cloud desktop must be authorized to the user specified by AuthorizerId.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ecd-7a8b9c0d****
|
|
@@ -15,7 +15,7 @@ export class CreateThirdAppAccessTokenRequestResource extends $dara.Model {
|
|
|
15
15
|
resourceId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The resource type.
|
|
18
|
+
* The resource type. You must provide this parameter when you call this operation. Valid value: DESKTOP, which indicates a cloud desktop. The value is case-insensitive.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* DESKTOP
|
|
@@ -49,8 +49,6 @@ export class CreateThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
49
49
|
* @remarks
|
|
50
50
|
* The WyId of the authorized user. The user must belong to the current calling account. This parameter is not the username.
|
|
51
51
|
*
|
|
52
|
-
* This parameter is required.
|
|
53
|
-
*
|
|
54
52
|
* @example
|
|
55
53
|
* f1e2d3c4b5a6****
|
|
56
54
|
*/
|
|
@@ -65,7 +63,15 @@ export class CreateThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
65
63
|
businessChannel?: string;
|
|
66
64
|
/**
|
|
67
65
|
* @remarks
|
|
68
|
-
* The
|
|
66
|
+
* The convenience username in the current tenant. Used when AuthorizerId is not provided or is empty.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* test
|
|
70
|
+
*/
|
|
71
|
+
endUserId?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The validity period of the token, in seconds. Valid values: 1 to 15552000. If omitted, the default value is 15552000, which equals 180 days. Permanent validity is not supported. You cannot pass 0.
|
|
69
75
|
*
|
|
70
76
|
* @example
|
|
71
77
|
* 900
|
|
@@ -73,13 +79,14 @@ export class CreateThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
73
79
|
expiration?: number;
|
|
74
80
|
/**
|
|
75
81
|
* @remarks
|
|
76
|
-
* The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when you call this operation. Pass
|
|
82
|
+
* The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when you call this operation. Pass it as a JSON object to specify only one cloud desktop. Wildcards or authorization for all cloud desktops are not supported.
|
|
77
83
|
*/
|
|
78
84
|
resource?: CreateThirdAppAccessTokenRequestResource;
|
|
79
85
|
static names(): { [key: string]: string } {
|
|
80
86
|
return {
|
|
81
87
|
authorizerId: 'AuthorizerId',
|
|
82
88
|
businessChannel: 'BusinessChannel',
|
|
89
|
+
endUserId: 'EndUserId',
|
|
83
90
|
expiration: 'Expiration',
|
|
84
91
|
resource: 'Resource',
|
|
85
92
|
};
|
|
@@ -89,6 +96,7 @@ export class CreateThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
89
96
|
return {
|
|
90
97
|
authorizerId: 'string',
|
|
91
98
|
businessChannel: 'string',
|
|
99
|
+
endUserId: 'string',
|
|
92
100
|
expiration: 'number',
|
|
93
101
|
resource: CreateThirdAppAccessTokenRequestResource,
|
|
94
102
|
};
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateThirdAppAccessTokenResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The time-limited static access token created for the specified user and single cloud desktop. This is a sensitive credential. Do not log or
|
|
8
|
+
* The time-limited static access token created for the specified user and single cloud desktop. This is a sensitive credential. Do not log or disclose the full value.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* taatv1.v2****
|
|
@@ -13,7 +13,7 @@ export class CreateThirdAppAccessTokenResponseBody extends $dara.Model {
|
|
|
13
13
|
accessToken?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The absolute expiration time of the token, in UNIX milliseconds. This parameter is not empty when the call is successful. GetLatestThirdAppAccessToken returns the original expiration time
|
|
16
|
+
* The absolute expiration time of the token, in UNIX milliseconds. This parameter is not empty when the call is successful. GetLatestThirdAppAccessToken returns the original expiration time and does not extend it.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1795450500000
|
|
@@ -21,7 +21,7 @@ export class CreateThirdAppAccessTokenResponseBody extends $dara.Model {
|
|
|
21
21
|
expiresAt?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The unique identifier of the request
|
|
24
|
+
* The unique identifier of the request. You can use it to locate and troubleshoot issues.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 6DAB2D15-7345-4C33-9D77-48A1A756B9E1
|
|
@@ -7,8 +7,6 @@ export class CreateThirdAppAccessTokenShrinkRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The WyId of the authorized user. The user must belong to the current calling account. This parameter is not the username.
|
|
9
9
|
*
|
|
10
|
-
* This parameter is required.
|
|
11
|
-
*
|
|
12
10
|
* @example
|
|
13
11
|
* f1e2d3c4b5a6****
|
|
14
12
|
*/
|
|
@@ -23,7 +21,15 @@ export class CreateThirdAppAccessTokenShrinkRequest extends $dara.Model {
|
|
|
23
21
|
businessChannel?: string;
|
|
24
22
|
/**
|
|
25
23
|
* @remarks
|
|
26
|
-
* The
|
|
24
|
+
* The convenience username in the current tenant. Used when AuthorizerId is not provided or is empty.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* test
|
|
28
|
+
*/
|
|
29
|
+
endUserId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The validity period of the token, in seconds. Valid values: 1 to 15552000. If omitted, the default value is 15552000, which equals 180 days. Permanent validity is not supported. You cannot pass 0.
|
|
27
33
|
*
|
|
28
34
|
* @example
|
|
29
35
|
* 900
|
|
@@ -31,13 +37,14 @@ export class CreateThirdAppAccessTokenShrinkRequest extends $dara.Model {
|
|
|
31
37
|
expiration?: number;
|
|
32
38
|
/**
|
|
33
39
|
* @remarks
|
|
34
|
-
* The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when you call this operation. Pass
|
|
40
|
+
* The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when you call this operation. Pass it as a JSON object to specify only one cloud desktop. Wildcards or authorization for all cloud desktops are not supported.
|
|
35
41
|
*/
|
|
36
42
|
resourceShrink?: string;
|
|
37
43
|
static names(): { [key: string]: string } {
|
|
38
44
|
return {
|
|
39
45
|
authorizerId: 'AuthorizerId',
|
|
40
46
|
businessChannel: 'BusinessChannel',
|
|
47
|
+
endUserId: 'EndUserId',
|
|
41
48
|
expiration: 'Expiration',
|
|
42
49
|
resourceShrink: 'Resource',
|
|
43
50
|
};
|
|
@@ -47,6 +54,7 @@ export class CreateThirdAppAccessTokenShrinkRequest extends $dara.Model {
|
|
|
47
54
|
return {
|
|
48
55
|
authorizerId: 'string',
|
|
49
56
|
businessChannel: 'string',
|
|
57
|
+
endUserId: 'string',
|
|
50
58
|
expiration: 'number',
|
|
51
59
|
resourceShrink: 'string',
|
|
52
60
|
};
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetLatestThirdAppAccessTokenRequestResource extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the cloud desktop specified when the token was created. You must provide a non-empty value
|
|
8
|
+
* The ID of the cloud desktop specified when the token was created. You must provide a non-empty value when calling this operation, and it must be consistent with the value used during creation. Asterisks (*) are not allowed.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ecd-7a8b9c0d****
|
|
@@ -13,7 +13,7 @@ export class GetLatestThirdAppAccessTokenRequestResource extends $dara.Model {
|
|
|
13
13
|
resourceId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The resource type. This parameter is required.
|
|
16
|
+
* The resource type. This parameter is required when calling this operation. Set the value to DESKTOP, which indicates a cloud desktop. The value is case-insensitive.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* DESKTOP
|
|
@@ -47,20 +47,26 @@ export class GetLatestThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
47
47
|
* @remarks
|
|
48
48
|
* The WyId of the user used when the token was created. It must correspond to the current account and the target cloud desktop, and cannot be replaced by a username.
|
|
49
49
|
*
|
|
50
|
-
* This parameter is required.
|
|
51
|
-
*
|
|
52
50
|
* @example
|
|
53
51
|
* f1e2d3c4b5a6****
|
|
54
52
|
*/
|
|
55
53
|
authorizerId?: string;
|
|
56
54
|
/**
|
|
57
55
|
* @remarks
|
|
58
|
-
* The business channel. Valid values: Enterprise and Business. The value is case-insensitive. If omitted, the default value is Enterprise. If an empty string or other value is explicitly passed, a parameter error is returned. This parameter does not replace user identity verification.
|
|
56
|
+
* The business channel. Valid values: Enterprise and Business. The value is case-insensitive. If omitted, the default value is Enterprise. If an empty string or any other value is explicitly passed, a parameter error is returned. This parameter does not replace user identity verification.
|
|
59
57
|
*
|
|
60
58
|
* @example
|
|
61
59
|
* Enterprise
|
|
62
60
|
*/
|
|
63
61
|
businessChannel?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The convenience username under the current tenant. Used when AuthorizerId is not provided or is empty.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* test
|
|
68
|
+
*/
|
|
69
|
+
endUserId?: string;
|
|
64
70
|
/**
|
|
65
71
|
* @remarks
|
|
66
72
|
* The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when calling this operation. Pass it as a JSON object to specify only one cloud desktop. Wildcards or authorization for all cloud desktops are not supported.
|
|
@@ -70,6 +76,7 @@ export class GetLatestThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
70
76
|
return {
|
|
71
77
|
authorizerId: 'AuthorizerId',
|
|
72
78
|
businessChannel: 'BusinessChannel',
|
|
79
|
+
endUserId: 'EndUserId',
|
|
73
80
|
resource: 'Resource',
|
|
74
81
|
};
|
|
75
82
|
}
|
|
@@ -78,6 +85,7 @@ export class GetLatestThirdAppAccessTokenRequest extends $dara.Model {
|
|
|
78
85
|
return {
|
|
79
86
|
authorizerId: 'string',
|
|
80
87
|
businessChannel: 'string',
|
|
88
|
+
endUserId: 'string',
|
|
81
89
|
resource: GetLatestThirdAppAccessTokenRequestResource,
|
|
82
90
|
};
|
|
83
91
|
}
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetLatestThirdAppAccessTokenResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The current valid static access token for the specified user and single cloud desktop. The original saved token is returned, and the query does not renew
|
|
8
|
+
* The current valid static access token for the specified user and single cloud desktop. The original saved token is returned, and the query does not renew it. This is a sensitive credential. Do not log or expose the full value.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* taatv1.v2****
|
|
@@ -13,7 +13,7 @@ export class GetLatestThirdAppAccessTokenResponseBody extends $dara.Model {
|
|
|
13
13
|
accessToken?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The absolute expiration time of the token,
|
|
16
|
+
* The absolute expiration time of the token, in UNIX milliseconds. This parameter is not empty when the call is successful. GetLatestThirdAppAccessToken returns the original expiration time and does not renew the token.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1795450500000
|
|
@@ -21,7 +21,7 @@ export class GetLatestThirdAppAccessTokenResponseBody extends $dara.Model {
|
|
|
21
21
|
expiresAt?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The unique identifier of the request
|
|
24
|
+
* The unique identifier of the request. You can use it to locate and troubleshoot issues.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 6DAB2D15-7345-4C33-9D77-48A1A756B9E1
|
|
@@ -7,20 +7,26 @@ export class GetLatestThirdAppAccessTokenShrinkRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The WyId of the user used when the token was created. It must correspond to the current account and the target cloud desktop, and cannot be replaced by a username.
|
|
9
9
|
*
|
|
10
|
-
* This parameter is required.
|
|
11
|
-
*
|
|
12
10
|
* @example
|
|
13
11
|
* f1e2d3c4b5a6****
|
|
14
12
|
*/
|
|
15
13
|
authorizerId?: string;
|
|
16
14
|
/**
|
|
17
15
|
* @remarks
|
|
18
|
-
* The business channel. Valid values: Enterprise and Business. The value is case-insensitive. If omitted, the default value is Enterprise. If an empty string or other value is explicitly passed, a parameter error is returned. This parameter does not replace user identity verification.
|
|
16
|
+
* The business channel. Valid values: Enterprise and Business. The value is case-insensitive. If omitted, the default value is Enterprise. If an empty string or any other value is explicitly passed, a parameter error is returned. This parameter does not replace user identity verification.
|
|
19
17
|
*
|
|
20
18
|
* @example
|
|
21
19
|
* Enterprise
|
|
22
20
|
*/
|
|
23
21
|
businessChannel?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The convenience username under the current tenant. Used when AuthorizerId is not provided or is empty.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* test
|
|
28
|
+
*/
|
|
29
|
+
endUserId?: string;
|
|
24
30
|
/**
|
|
25
31
|
* @remarks
|
|
26
32
|
* The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when calling this operation. Pass it as a JSON object to specify only one cloud desktop. Wildcards or authorization for all cloud desktops are not supported.
|
|
@@ -30,6 +36,7 @@ export class GetLatestThirdAppAccessTokenShrinkRequest extends $dara.Model {
|
|
|
30
36
|
return {
|
|
31
37
|
authorizerId: 'AuthorizerId',
|
|
32
38
|
businessChannel: 'BusinessChannel',
|
|
39
|
+
endUserId: 'EndUserId',
|
|
33
40
|
resourceShrink: 'Resource',
|
|
34
41
|
};
|
|
35
42
|
}
|
|
@@ -38,6 +45,7 @@ export class GetLatestThirdAppAccessTokenShrinkRequest extends $dara.Model {
|
|
|
38
45
|
return {
|
|
39
46
|
authorizerId: 'string',
|
|
40
47
|
businessChannel: 'string',
|
|
48
|
+
endUserId: 'string',
|
|
41
49
|
resourceShrink: 'string',
|
|
42
50
|
};
|
|
43
51
|
}
|