@alicloud/appstream-center20210218 1.1.3 → 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 (57) hide show
  1. package/dist/client.d.ts +66 -6
  2. package/dist/client.js +143 -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 +36 -8
  19. package/dist/models/GetAuthCodeRequest.js.map +1 -1
  20. package/dist/models/GetAuthCodeResponseBody.d.ts +3 -5
  21. package/dist/models/GetAuthCodeResponseBody.js +0 -2
  22. package/dist/models/GetAuthCodeResponseBody.js.map +1 -1
  23. package/dist/models/GetLatestThirdAppAccessTokenRequest.d.ts +64 -0
  24. package/dist/models/GetLatestThirdAppAccessTokenRequest.js +86 -0
  25. package/dist/models/GetLatestThirdAppAccessTokenRequest.js.map +1 -0
  26. package/dist/models/GetLatestThirdAppAccessTokenResponse.d.ts +19 -0
  27. package/dist/models/GetLatestThirdAppAccessTokenResponse.js +69 -0
  28. package/dist/models/GetLatestThirdAppAccessTokenResponse.js.map +1 -0
  29. package/dist/models/GetLatestThirdAppAccessTokenResponseBody.d.ts +37 -0
  30. package/dist/models/GetLatestThirdAppAccessTokenResponseBody.js +62 -0
  31. package/dist/models/GetLatestThirdAppAccessTokenResponseBody.js.map +1 -0
  32. package/dist/models/GetLatestThirdAppAccessTokenShrinkRequest.d.ts +36 -0
  33. package/dist/models/GetLatestThirdAppAccessTokenShrinkRequest.js +62 -0
  34. package/dist/models/GetLatestThirdAppAccessTokenShrinkRequest.js.map +1 -0
  35. package/dist/models/GetStsTokenRequest.d.ts +5 -4
  36. package/dist/models/GetStsTokenRequest.js.map +1 -1
  37. package/dist/models/GetStsTokenResponseBody.d.ts +4 -4
  38. package/dist/models/model.d.ts +10 -0
  39. package/dist/models/model.js +21 -1
  40. package/dist/models/model.js.map +1 -1
  41. package/package.json +3 -2
  42. package/src/client.ts +156 -10
  43. package/src/models/CreateThirdAppAccessTokenRequest.ts +108 -0
  44. package/src/models/CreateThirdAppAccessTokenResponse.ts +40 -0
  45. package/src/models/CreateThirdAppAccessTokenResponseBody.ts +54 -0
  46. package/src/models/CreateThirdAppAccessTokenShrinkRequest.ts +63 -0
  47. package/src/models/ExpireLoginTokenRequest.ts +1 -1
  48. package/src/models/ExpireLoginTokenResponseBody.ts +1 -1
  49. package/src/models/GetAuthCodeRequest.ts +36 -8
  50. package/src/models/GetAuthCodeResponseBody.ts +3 -5
  51. package/src/models/GetLatestThirdAppAccessTokenRequest.ts +96 -0
  52. package/src/models/GetLatestThirdAppAccessTokenResponse.ts +40 -0
  53. package/src/models/GetLatestThirdAppAccessTokenResponseBody.ts +54 -0
  54. package/src/models/GetLatestThirdAppAccessTokenShrinkRequest.ts +53 -0
  55. package/src/models/GetStsTokenRequest.ts +5 -4
  56. package/src/models/GetStsTokenResponseBody.ts +4 -4
  57. package/src/models/model.ts +10 -0
package/dist/client.d.ts CHANGED
@@ -9,7 +9,34 @@ export default class Client extends OpenApi {
9
9
  [key: string]: string;
10
10
  }, endpoint: string): string;
11
11
  /**
12
- * Manually expires a logon token before its automatic expiration.
12
+ * Creates a time-limited static access token for a specified user in the current account to access a single cloud desktop.
13
+ *
14
+ * @remarks
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
+ * 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 for the target cloud desktop. This operation only creates an access token. It does not create a user or add an authorization relationship between the user and the cloud desktop. Each successful call creates a new time-limited token. To obtain an existing token, call GetLatestThirdAppAccessToken and pass the same AuthorizerId and Resource.
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
+ *
20
+ * @param tmpReq - CreateThirdAppAccessTokenRequest
21
+ * @param runtime - runtime options for this request RuntimeOptions
22
+ * @returns CreateThirdAppAccessTokenResponse
23
+ */
24
+ createThirdAppAccessTokenWithOptions(tmpReq: $_model.CreateThirdAppAccessTokenRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateThirdAppAccessTokenResponse>;
25
+ /**
26
+ * Creates a time-limited static access token for a specified user in the current account to access a single cloud desktop.
27
+ *
28
+ * @remarks
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
+ * 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 for the target cloud desktop. This operation only creates an access token. It does not create a user or add an authorization relationship between the user and the cloud desktop. Each successful call creates a new time-limited token. To obtain an existing token, call GetLatestThirdAppAccessToken and pass the same AuthorizerId and Resource.
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
+ *
34
+ * @param request - CreateThirdAppAccessTokenRequest
35
+ * @returns CreateThirdAppAccessTokenResponse
36
+ */
37
+ createThirdAppAccessToken(request: $_model.CreateThirdAppAccessTokenRequest): Promise<$_model.CreateThirdAppAccessTokenResponse>;
38
+ /**
39
+ * Invalidates a Wuying Workspace logon session before it naturally expires.
13
40
  *
14
41
  * @param request - ExpireLoginTokenRequest
15
42
  * @param runtime - runtime options for this request RuntimeOptions
@@ -17,14 +44,17 @@ export default class Client extends OpenApi {
17
44
  */
18
45
  expireLoginTokenWithOptions(request: $_model.ExpireLoginTokenRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ExpireLoginTokenResponse>;
19
46
  /**
20
- * Manually expires a logon token before its automatic expiration.
47
+ * Invalidates a Wuying Workspace logon session before it naturally expires.
21
48
  *
22
49
  * @param request - ExpireLoginTokenRequest
23
50
  * @returns ExpireLoginTokenResponse
24
51
  */
25
52
  expireLoginToken(request: $_model.ExpireLoginTokenRequest): Promise<$_model.ExpireLoginTokenResponse>;
26
53
  /**
27
- * Obtains an authorization code that contains user identity and permission information. The authorization code can be used to launch a cloud application in integration scenarios.
54
+ * Retrieves an authorization code that contains user identity and permission information, which can be used to invoke cloud applications in integration scenarios.
55
+ *
56
+ * @remarks
57
+ * Retrieves an authorization code that contains user identity and permission information, which can be used to invoke cloud applications in integration scenarios.
28
58
  *
29
59
  * @param request - GetAuthCodeRequest
30
60
  * @param runtime - runtime options for this request RuntimeOptions
@@ -32,14 +62,44 @@ export default class Client extends OpenApi {
32
62
  */
33
63
  getAuthCodeWithOptions(request: $_model.GetAuthCodeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAuthCodeResponse>;
34
64
  /**
35
- * Obtains an authorization code that contains user identity and permission information. The authorization code can be used to launch a cloud application in integration scenarios.
65
+ * Retrieves an authorization code that contains user identity and permission information, which can be used to invoke cloud applications in integration scenarios.
66
+ *
67
+ * @remarks
68
+ * Retrieves an authorization code that contains user identity and permission information, which can be used to invoke cloud applications in integration scenarios.
36
69
  *
37
70
  * @param request - GetAuthCodeRequest
38
71
  * @returns GetAuthCodeResponse
39
72
  */
40
73
  getAuthCode(request: $_model.GetAuthCodeRequest): Promise<$_model.GetAuthCodeResponse>;
41
74
  /**
42
- * Gets a Security Token Service (STS) token.
75
+ * Retrieves the current valid static access token for a specified user and a single cloud desktop under the current account, keeping the original expiration time.
76
+ *
77
+ * @remarks
78
+ * You must provide Resource and specify both ResourceType and ResourceId when calling this operation. Only a single cloud desktop is supported. You cannot omit Resource to authorize or query all cloud desktops.
79
+ * 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.
80
+ * The AuthorizerId and Resource in the query conditions must be consistent with those used when the token was created. This operation only returns the current valid token for the current account, user, and cloud desktop. It does not create a new token, renew the token, or restore or roll back to a historical token. If no valid token is found, the token has expired, or the corresponding cache has been cleared, AccessToken.NotFound is returned. To obtain a new token, call CreateThirdAppAccessToken.
81
+ * Keep the returned AccessToken secure and avoid displaying the full token in logs or public content.
82
+ *
83
+ * @param tmpReq - GetLatestThirdAppAccessTokenRequest
84
+ * @param runtime - runtime options for this request RuntimeOptions
85
+ * @returns GetLatestThirdAppAccessTokenResponse
86
+ */
87
+ getLatestThirdAppAccessTokenWithOptions(tmpReq: $_model.GetLatestThirdAppAccessTokenRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLatestThirdAppAccessTokenResponse>;
88
+ /**
89
+ * Retrieves the current valid static access token for a specified user and a single cloud desktop under the current account, keeping the original expiration time.
90
+ *
91
+ * @remarks
92
+ * You must provide Resource and specify both ResourceType and ResourceId when calling this operation. Only a single cloud desktop is supported. You cannot omit Resource to authorize or query all cloud desktops.
93
+ * 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.
94
+ * The AuthorizerId and Resource in the query conditions must be consistent with those used when the token was created. This operation only returns the current valid token for the current account, user, and cloud desktop. It does not create a new token, renew the token, or restore or roll back to a historical token. If no valid token is found, the token has expired, or the corresponding cache has been cleared, AccessToken.NotFound is returned. To obtain a new token, call CreateThirdAppAccessToken.
95
+ * Keep the returned AccessToken secure and avoid displaying the full token in logs or public content.
96
+ *
97
+ * @param request - GetLatestThirdAppAccessTokenRequest
98
+ * @returns GetLatestThirdAppAccessTokenResponse
99
+ */
100
+ getLatestThirdAppAccessToken(request: $_model.GetLatestThirdAppAccessTokenRequest): Promise<$_model.GetLatestThirdAppAccessTokenResponse>;
101
+ /**
102
+ * Retrieves a Wuying STS token (temporary identity credential).
43
103
  *
44
104
  * @param request - GetStsTokenRequest
45
105
  * @param runtime - runtime options for this request RuntimeOptions
@@ -47,7 +107,7 @@ export default class Client extends OpenApi {
47
107
  */
48
108
  getStsTokenWithOptions(request: $_model.GetStsTokenRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetStsTokenResponse>;
49
109
  /**
50
- * Gets a Security Token Service (STS) token.
110
+ * Retrieves a Wuying STS token (temporary identity credential).
51
111
  *
52
112
  * @param request - GetStsTokenRequest
53
113
  * @returns GetStsTokenResponse
package/dist/client.js CHANGED
@@ -41,6 +41,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
41
41
  Object.defineProperty(exports, "__esModule", { value: true });
42
42
  // This file is auto-generated, don't edit it
43
43
  const $dara = __importStar(require("@darabonba/typescript"));
44
+ const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
44
45
  const openapi_core_1 = __importDefault(require("@alicloud/openapi-core"));
45
46
  const openapi_core_2 = require("@alicloud/openapi-core");
46
47
  const $_model = __importStar(require("./models/model"));
@@ -48,11 +49,10 @@ __exportStar(require("./models/model"), exports);
48
49
  class Client extends openapi_core_1.default {
49
50
  constructor(config) {
50
51
  super(config);
52
+ this._productId = "appstream-center";
53
+ let gatewayClient = new gateway_pop_1.default();
54
+ this._spi = gatewayClient;
51
55
  this._endpointRule = "regional";
52
- this._endpointMap = {
53
- 'cn-shanghai': "appstream-center.cn-shanghai.aliyuncs.com",
54
- 'ap-southeast-1': "appstream-center.ap-southeast-1.aliyuncs.com",
55
- };
56
56
  this.checkConfig(config);
57
57
  this._endpoint = this.getEndpoint("appstream-center", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
58
58
  }
@@ -66,7 +66,72 @@ class Client extends openapi_core_1.default {
66
66
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
67
67
  }
68
68
  /**
69
- * Manually expires a logon token before its automatic expiration.
69
+ * Creates a time-limited static access token for a specified user in the current account to access a single cloud desktop.
70
+ *
71
+ * @remarks
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
+ * 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 for the target cloud desktop. This operation only creates an access token. It does not create a user or add an authorization relationship between the user and the cloud desktop. Each successful call creates a new time-limited token. To obtain an existing token, call GetLatestThirdAppAccessToken and pass the same AuthorizerId and Resource.
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
+ *
77
+ * @param tmpReq - CreateThirdAppAccessTokenRequest
78
+ * @param runtime - runtime options for this request RuntimeOptions
79
+ * @returns CreateThirdAppAccessTokenResponse
80
+ */
81
+ async createThirdAppAccessTokenWithOptions(tmpReq, runtime) {
82
+ tmpReq.validate();
83
+ let request = new $_model.CreateThirdAppAccessTokenShrinkRequest({});
84
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
85
+ if (!$dara.isNull(tmpReq.resource)) {
86
+ request.resourceShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resource, "Resource", "json");
87
+ }
88
+ let body = {};
89
+ if (!$dara.isNull(request.authorizerId)) {
90
+ body["AuthorizerId"] = request.authorizerId;
91
+ }
92
+ if (!$dara.isNull(request.businessChannel)) {
93
+ body["BusinessChannel"] = request.businessChannel;
94
+ }
95
+ if (!$dara.isNull(request.expiration)) {
96
+ body["Expiration"] = request.expiration;
97
+ }
98
+ if (!$dara.isNull(request.resourceShrink)) {
99
+ body["Resource"] = request.resourceShrink;
100
+ }
101
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
102
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
103
+ });
104
+ let params = new openapi_core_2.$OpenApiUtil.Params({
105
+ action: "CreateThirdAppAccessToken",
106
+ version: "2021-02-18",
107
+ protocol: "HTTPS",
108
+ pathname: "/",
109
+ method: "POST",
110
+ authType: "AK",
111
+ style: "RPC",
112
+ reqBodyType: "formData",
113
+ bodyType: "json",
114
+ });
115
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateThirdAppAccessTokenResponse({}));
116
+ }
117
+ /**
118
+ * Creates a time-limited static access token for a specified user in the current account to access a single cloud desktop.
119
+ *
120
+ * @remarks
121
+ * 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
+ * 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 for the target cloud desktop. This operation only creates an access token. It does not create a user or add an authorization relationship between the user and the cloud desktop. Each successful call creates a new time-limited token. To obtain an existing token, call GetLatestThirdAppAccessToken and pass the same AuthorizerId and Resource.
124
+ * 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
+ *
126
+ * @param request - CreateThirdAppAccessTokenRequest
127
+ * @returns CreateThirdAppAccessTokenResponse
128
+ */
129
+ async createThirdAppAccessToken(request) {
130
+ let runtime = new $dara.RuntimeOptions({});
131
+ return await this.createThirdAppAccessTokenWithOptions(request, runtime);
132
+ }
133
+ /**
134
+ * Invalidates a Wuying Workspace logon session before it naturally expires.
70
135
  *
71
136
  * @param request - ExpireLoginTokenRequest
72
137
  * @param runtime - runtime options for this request RuntimeOptions
@@ -104,7 +169,7 @@ class Client extends openapi_core_1.default {
104
169
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ExpireLoginTokenResponse({}));
105
170
  }
106
171
  /**
107
- * Manually expires a logon token before its automatic expiration.
172
+ * Invalidates a Wuying Workspace logon session before it naturally expires.
108
173
  *
109
174
  * @param request - ExpireLoginTokenRequest
110
175
  * @returns ExpireLoginTokenResponse
@@ -114,7 +179,10 @@ class Client extends openapi_core_1.default {
114
179
  return await this.expireLoginTokenWithOptions(request, runtime);
115
180
  }
116
181
  /**
117
- * Obtains an authorization code that contains user identity and permission information. The authorization code can be used to launch a cloud application in integration scenarios.
182
+ * Retrieves an authorization code that contains user identity and permission information, which can be used to invoke cloud applications in integration scenarios.
183
+ *
184
+ * @remarks
185
+ * Retrieves an authorization code that contains user identity and permission information, which can be used to invoke cloud applications in integration scenarios.
118
186
  *
119
187
  * @param request - GetAuthCodeRequest
120
188
  * @param runtime - runtime options for this request RuntimeOptions
@@ -166,7 +234,10 @@ class Client extends openapi_core_1.default {
166
234
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuthCodeResponse({}));
167
235
  }
168
236
  /**
169
- * Obtains an authorization code that contains user identity and permission information. The authorization code can be used to launch a cloud application in integration scenarios.
237
+ * Retrieves an authorization code that contains user identity and permission information, which can be used to invoke cloud applications in integration scenarios.
238
+ *
239
+ * @remarks
240
+ * Retrieves an authorization code that contains user identity and permission information, which can be used to invoke cloud applications in integration scenarios.
170
241
  *
171
242
  * @param request - GetAuthCodeRequest
172
243
  * @returns GetAuthCodeResponse
@@ -176,7 +247,69 @@ class Client extends openapi_core_1.default {
176
247
  return await this.getAuthCodeWithOptions(request, runtime);
177
248
  }
178
249
  /**
179
- * Gets a Security Token Service (STS) token.
250
+ * Retrieves the current valid static access token for a specified user and a single cloud desktop under the current account, keeping the original expiration time.
251
+ *
252
+ * @remarks
253
+ * You must provide Resource and specify both ResourceType and ResourceId when calling this operation. Only a single cloud desktop is supported. You cannot omit Resource to authorize or query all cloud desktops.
254
+ * 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.
255
+ * The AuthorizerId and Resource in the query conditions must be consistent with those used when the token was created. This operation only returns the current valid token for the current account, user, and cloud desktop. It does not create a new token, renew the token, or restore or roll back to a historical token. If no valid token is found, the token has expired, or the corresponding cache has been cleared, AccessToken.NotFound is returned. To obtain a new token, call CreateThirdAppAccessToken.
256
+ * Keep the returned AccessToken secure and avoid displaying the full token in logs or public content.
257
+ *
258
+ * @param tmpReq - GetLatestThirdAppAccessTokenRequest
259
+ * @param runtime - runtime options for this request RuntimeOptions
260
+ * @returns GetLatestThirdAppAccessTokenResponse
261
+ */
262
+ async getLatestThirdAppAccessTokenWithOptions(tmpReq, runtime) {
263
+ tmpReq.validate();
264
+ let request = new $_model.GetLatestThirdAppAccessTokenShrinkRequest({});
265
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
266
+ if (!$dara.isNull(tmpReq.resource)) {
267
+ request.resourceShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resource, "Resource", "json");
268
+ }
269
+ let body = {};
270
+ if (!$dara.isNull(request.authorizerId)) {
271
+ body["AuthorizerId"] = request.authorizerId;
272
+ }
273
+ if (!$dara.isNull(request.businessChannel)) {
274
+ body["BusinessChannel"] = request.businessChannel;
275
+ }
276
+ if (!$dara.isNull(request.resourceShrink)) {
277
+ body["Resource"] = request.resourceShrink;
278
+ }
279
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
280
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
281
+ });
282
+ let params = new openapi_core_2.$OpenApiUtil.Params({
283
+ action: "GetLatestThirdAppAccessToken",
284
+ version: "2021-02-18",
285
+ protocol: "HTTPS",
286
+ pathname: "/",
287
+ method: "POST",
288
+ authType: "AK",
289
+ style: "RPC",
290
+ reqBodyType: "formData",
291
+ bodyType: "json",
292
+ });
293
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLatestThirdAppAccessTokenResponse({}));
294
+ }
295
+ /**
296
+ * Retrieves the current valid static access token for a specified user and a single cloud desktop under the current account, keeping the original expiration time.
297
+ *
298
+ * @remarks
299
+ * You must provide Resource and specify both ResourceType and ResourceId when calling this operation. Only a single cloud desktop is supported. You cannot omit Resource to authorize or query all cloud desktops.
300
+ * 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.
301
+ * The AuthorizerId and Resource in the query conditions must be consistent with those used when the token was created. This operation only returns the current valid token for the current account, user, and cloud desktop. It does not create a new token, renew the token, or restore or roll back to a historical token. If no valid token is found, the token has expired, or the corresponding cache has been cleared, AccessToken.NotFound is returned. To obtain a new token, call CreateThirdAppAccessToken.
302
+ * Keep the returned AccessToken secure and avoid displaying the full token in logs or public content.
303
+ *
304
+ * @param request - GetLatestThirdAppAccessTokenRequest
305
+ * @returns GetLatestThirdAppAccessTokenResponse
306
+ */
307
+ async getLatestThirdAppAccessToken(request) {
308
+ let runtime = new $dara.RuntimeOptions({});
309
+ return await this.getLatestThirdAppAccessTokenWithOptions(request, runtime);
310
+ }
311
+ /**
312
+ * Retrieves a Wuying STS token (temporary identity credential).
180
313
  *
181
314
  * @param request - GetStsTokenRequest
182
315
  * @param runtime - runtime options for this request RuntimeOptions
@@ -211,7 +344,7 @@ class Client extends openapi_core_1.default {
211
344
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetStsTokenResponse({}));
212
345
  }
213
346
  /**
214
- * Gets a Security Token Service (STS) token.
347
+ * Retrieves a Wuying STS token (temporary identity credential).
215
348
  *
216
349
  * @param request - GetStsTokenRequest
217
350
  * @returns GetStsTokenResponse
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,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,aAAa,GAAG,UAAU,CAAC;QAChC,IAAI,CAAC,YAAY,GAAG;YAClB,aAAa,EAAE,2CAA2C;YAC1D,gBAAgB,EAAE,8CAA8C;SACjE,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,kBAAkB,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;IAC5J,CAAC;IAGD,WAAW,CAAC,SAAiB,EAAE,QAAgB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,WAAqC,EAAE,QAAgB;QAC7J,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC5B,OAAO,QAAQ,CAAC;QAClB,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;YACvE,OAAO,WAAW,C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AI,GAAG,GAAG,IAAI,2BAAY,CAAC,cAAc,CAAC;YACxC,IAAI,EAAE,0BAAW,CAAC,UAAU,CAAC,IAAI,CAAC;SACnC,CAAC,CAAC;QACH,IAAI,MAAM,GAAG,IAAI,2BAAY,CAAC,MAAM,CAAC;YACnC,MAAM,EAAE,aAAa;YACrB,OAAO,EAAE,YAAY;YACrB,QAAQ,EAAE,OAAO;YACjB,QAAQ,EAAE,GAAG;YACb,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,UAAU;YACvB,QAAQ,EAAE,MAAM;SACjB,CAAC,CAAC;QACH,OAAO,KAAK,CAAC,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;AA3VD,yBA2VC"}
@@ -0,0 +1,74 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ /**
3
+ */
4
+ export declare class CreateThirdAppAccessTokenRequestResource extends $dara.Model {
5
+ /**
6
+ * @remarks
7
+ * The ID of the target cloud desktop. You must provide a non-empty value when you call this operation. Asterisks (*) are not allowed. The cloud desktop must be authorized to the user specified by AuthorizerId.
8
+ *
9
+ * @example
10
+ * ecd-7a8b9c0d****
11
+ */
12
+ resourceId?: string;
13
+ /**
14
+ * @remarks
15
+ * The resource type. This parameter is required when you call this operation. Set the value to DESKTOP, which indicates a cloud desktop. The value is case-insensitive.
16
+ *
17
+ * @example
18
+ * DESKTOP
19
+ */
20
+ resourceType?: string;
21
+ static names(): {
22
+ [key: string]: string;
23
+ };
24
+ static types(): {
25
+ [key: string]: any;
26
+ };
27
+ validate(): void;
28
+ constructor(map?: {
29
+ [key: string]: any;
30
+ });
31
+ }
32
+ export declare class CreateThirdAppAccessTokenRequest extends $dara.Model {
33
+ /**
34
+ * @remarks
35
+ * The WyId of the authorized user. The user must belong to the current calling account. This parameter is not the username.
36
+ *
37
+ * This parameter is required.
38
+ *
39
+ * @example
40
+ * f1e2d3c4b5a6****
41
+ */
42
+ authorizerId?: string;
43
+ /**
44
+ * @remarks
45
+ * 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 values are explicitly passed, a parameter error is returned. This parameter does not replace user identity verification.
46
+ *
47
+ * @example
48
+ * Enterprise
49
+ */
50
+ businessChannel?: string;
51
+ /**
52
+ * @remarks
53
+ * 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, and 0 cannot be passed.
54
+ *
55
+ * @example
56
+ * 900
57
+ */
58
+ expiration?: number;
59
+ /**
60
+ * @remarks
61
+ * The target single cloud desktop resource. You must provide this object along with ResourceType and ResourceId when you call this operation. Pass this parameter as a JSON object and specify only one cloud desktop. Wildcards or authorization for all cloud desktops are not supported.
62
+ */
63
+ resource?: CreateThirdAppAccessTokenRequestResource;
64
+ static names(): {
65
+ [key: string]: string;
66
+ };
67
+ static types(): {
68
+ [key: string]: any;
69
+ };
70
+ validate(): void;
71
+ constructor(map?: {
72
+ [key: string]: any;
73
+ });
74
+ }
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateThirdAppAccessTokenRequest = exports.CreateThirdAppAccessTokenRequestResource = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ /**
40
+ */
41
+ class CreateThirdAppAccessTokenRequestResource extends $dara.Model {
42
+ static names() {
43
+ return {
44
+ resourceId: 'ResourceId',
45
+ resourceType: 'ResourceType',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ resourceId: 'string',
51
+ resourceType: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.CreateThirdAppAccessTokenRequestResource = CreateThirdAppAccessTokenRequestResource;
62
+ class CreateThirdAppAccessTokenRequest extends $dara.Model {
63
+ static names() {
64
+ return {
65
+ authorizerId: 'AuthorizerId',
66
+ businessChannel: 'BusinessChannel',
67
+ expiration: 'Expiration',
68
+ resource: 'Resource',
69
+ };
70
+ }
71
+ static types() {
72
+ return {
73
+ authorizerId: 'string',
74
+ businessChannel: 'string',
75
+ expiration: 'number',
76
+ resource: CreateThirdAppAccessTokenRequestResource,
77
+ };
78
+ }
79
+ validate() {
80
+ if (this.resource && typeof this.resource.validate === 'function') {
81
+ this.resource.validate();
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.CreateThirdAppAccessTokenRequest = CreateThirdAppAccessTokenRequest;
90
+ //# sourceMappingURL=CreateThirdAppAccessTokenRequest.js.map
@@ -0,0 +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;IAgC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,eAAe,EAAE,iBAAiB;YAClC,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,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;AA5DD,4EA4DC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateThirdAppAccessTokenResponseBody } from "./CreateThirdAppAccessTokenResponseBody";
3
+ export declare class CreateThirdAppAccessTokenResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateThirdAppAccessTokenResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateThirdAppAccessTokenResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateThirdAppAccessTokenResponseBody_1 = require("./CreateThirdAppAccessTokenResponseBody");
40
+ class CreateThirdAppAccessTokenResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: CreateThirdAppAccessTokenResponseBody_1.CreateThirdAppAccessTokenResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.CreateThirdAppAccessTokenResponse = CreateThirdAppAccessTokenResponse;
69
+ //# sourceMappingURL=CreateThirdAppAccessTokenResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateThirdAppAccessTokenResponse.js","sourceRoot":"","sources":["../../src/models/CreateThirdAppAccessTokenResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mGAAgG;AAGhG,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAIhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,6EAAqC;SAC5C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,8EAiCC"}