@alicloud/appstream-center20210901 5.6.3 → 5.6.4

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 (63) hide show
  1. package/dist/client.d.ts +12 -12
  2. package/dist/client.js +33 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateModelTemplateRequest.d.ts +8 -3
  5. package/dist/models/CreateModelTemplateRequest.js +2 -0
  6. package/dist/models/CreateModelTemplateRequest.js.map +1 -1
  7. package/dist/models/GetRuntimeModelConfigResponseBody.d.ts +31 -4
  8. package/dist/models/GetRuntimeModelConfigResponseBody.js +27 -1
  9. package/dist/models/GetRuntimeModelConfigResponseBody.js.map +1 -1
  10. package/dist/models/ListDesktopAgentRuntimeRequest.d.ts +27 -6
  11. package/dist/models/ListDesktopAgentRuntimeRequest.js.map +1 -1
  12. package/dist/models/ListDesktopAgentRuntimeResponseBody.d.ts +28 -12
  13. package/dist/models/ListDesktopAgentRuntimeResponseBody.js.map +1 -1
  14. package/dist/models/ListLlmTemplatesRequest.d.ts +14 -1
  15. package/dist/models/ListLlmTemplatesRequest.js +4 -0
  16. package/dist/models/ListLlmTemplatesRequest.js.map +1 -1
  17. package/dist/models/ListLlmTemplatesResponseBody.d.ts +139 -4
  18. package/dist/models/ListLlmTemplatesResponseBody.js +127 -1
  19. package/dist/models/ListLlmTemplatesResponseBody.js.map +1 -1
  20. package/dist/models/ListLlmTemplatesShrinkRequest.d.ts +14 -1
  21. package/dist/models/ListLlmTemplatesShrinkRequest.js +4 -0
  22. package/dist/models/ListLlmTemplatesShrinkRequest.js.map +1 -1
  23. package/dist/models/ListModelTemplatesRequest.d.ts +32 -3
  24. package/dist/models/ListModelTemplatesRequest.js +6 -0
  25. package/dist/models/ListModelTemplatesRequest.js.map +1 -1
  26. package/dist/models/ListModelTemplatesResponseBody.d.ts +29 -3
  27. package/dist/models/ListModelTemplatesResponseBody.js +8 -0
  28. package/dist/models/ListModelTemplatesResponseBody.js.map +1 -1
  29. package/dist/models/ListModelTemplatesShrinkRequest.d.ts +32 -3
  30. package/dist/models/ListModelTemplatesShrinkRequest.js +6 -0
  31. package/dist/models/ListModelTemplatesShrinkRequest.js.map +1 -1
  32. package/dist/models/ListWuyingServerRequest.d.ts +16 -1
  33. package/dist/models/ListWuyingServerRequest.js.map +1 -1
  34. package/dist/models/ListWuyingServerResponseBody.d.ts +14 -14
  35. package/dist/models/ModifyBrowserInstanceGroupRequest.d.ts +111 -7
  36. package/dist/models/ModifyBrowserInstanceGroupRequest.js +55 -1
  37. package/dist/models/ModifyBrowserInstanceGroupRequest.js.map +1 -1
  38. package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.d.ts +7 -0
  39. package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.js.map +1 -1
  40. package/dist/models/UpdateModelTemplateRequest.d.ts +10 -5
  41. package/dist/models/UpdateModelTemplateRequest.js +2 -0
  42. package/dist/models/UpdateModelTemplateRequest.js.map +1 -1
  43. package/dist/models/model.d.ts +7 -0
  44. package/dist/models/model.js +39 -25
  45. package/dist/models/model.js.map +1 -1
  46. package/package.json +1 -1
  47. package/src/client.ts +40 -12
  48. package/src/models/CreateModelTemplateRequest.ts +10 -3
  49. package/src/models/GetRuntimeModelConfigResponseBody.ts +48 -4
  50. package/src/models/ListDesktopAgentRuntimeRequest.ts +27 -6
  51. package/src/models/ListDesktopAgentRuntimeResponseBody.ts +28 -12
  52. package/src/models/ListLlmTemplatesRequest.ts +18 -1
  53. package/src/models/ListLlmTemplatesResponseBody.ts +227 -4
  54. package/src/models/ListLlmTemplatesShrinkRequest.ts +18 -1
  55. package/src/models/ListModelTemplatesRequest.ts +38 -3
  56. package/src/models/ListModelTemplatesResponseBody.ts +37 -3
  57. package/src/models/ListModelTemplatesShrinkRequest.ts +38 -3
  58. package/src/models/ListWuyingServerRequest.ts +16 -1
  59. package/src/models/ListWuyingServerResponseBody.ts +14 -14
  60. package/src/models/ModifyBrowserInstanceGroupRequest.ts +147 -7
  61. package/src/models/ModifyBrowserInstanceGroupShrinkRequest.ts +7 -0
  62. package/src/models/UpdateModelTemplateRequest.ts +12 -5
  63. package/src/models/model.ts +7 -0
@@ -33,15 +33,15 @@ export class CreateModelTemplateRequest extends $dara.Model {
33
33
  bizType?: number;
34
34
  /**
35
35
  * @remarks
36
- * The template group description.
36
+ * The description of the model group.
37
37
  *
38
38
  * @example
39
- * 测试模型分组
39
+ * Test model group
40
40
  */
41
41
  description?: string;
42
42
  /**
43
43
  * @remarks
44
- * The template group name.
44
+ * The name of the model group.
45
45
  *
46
46
  * This parameter is required.
47
47
  *
@@ -49,6 +49,11 @@ export class CreateModelTemplateRequest extends $dara.Model {
49
49
  * model-template-001
50
50
  */
51
51
  name?: string;
52
+ /**
53
+ * @remarks
54
+ * The authorization scope. This parameter is optional and effective only for Common model groups. Valid values: ALL_USER and USER_MIXED (strictly uppercase). If not specified, the default value is USER_MIXED for Common groups. Non-Common groups ignore this parameter and use RESOURCE_MIXED.
55
+ */
56
+ refScope?: string;
52
57
  static names(): { [key: string]: string } {
53
58
  return {
54
59
  agentPlatform: 'AgentPlatform',
@@ -56,6 +61,7 @@ export class CreateModelTemplateRequest extends $dara.Model {
56
61
  bizType: 'BizType',
57
62
  description: 'Description',
58
63
  name: 'Name',
64
+ refScope: 'RefScope',
59
65
  };
60
66
  }
61
67
 
@@ -66,6 +72,7 @@ export class CreateModelTemplateRequest extends $dara.Model {
66
72
  bizType: 'number',
67
73
  description: 'string',
68
74
  name: 'string',
75
+ refScope: 'string',
69
76
  };
70
77
  }
71
78
 
@@ -2,6 +2,40 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class GetRuntimeModelConfigResponseBodyDataModelProviderListLlmInfoListCreditMultiplier extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The maximum multiplier. An empty value indicates no upper limit. For example, Min=1 with an empty Max is displayed as 1x and above.
9
+ */
10
+ max?: number;
11
+ /**
12
+ * @remarks
13
+ * The minimum multiplier. When equal to Max, it is a fixed multiplier. For example, Min=Max=2 is displayed as 2x.
14
+ */
15
+ min?: number;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ max: 'Max',
19
+ min: 'Min',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ max: 'number',
26
+ min: 'number',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
5
39
  export class GetRuntimeModelConfigResponseBodyDataModelProviderListLlmInfoListInferenceMetadata extends $dara.Model {
6
40
  /**
7
41
  * @remarks
@@ -43,12 +77,17 @@ export class GetRuntimeModelConfigResponseBodyDataModelProviderListLlmInfoListIn
43
77
  }
44
78
 
45
79
  export class GetRuntimeModelConfigResponseBodyDataModelProviderListLlmInfoList extends $dara.Model {
80
+ /**
81
+ * @remarks
82
+ * The credit consumption multiplier. An empty value indicates the model does not participate in credit-based billing.
83
+ */
84
+ creditMultiplier?: GetRuntimeModelConfigResponseBodyDataModelProviderListLlmInfoListCreditMultiplier;
46
85
  /**
47
86
  * @remarks
48
87
  * The model description.
49
88
  *
50
89
  * @example
51
- * Qwen3.6原生视觉语言系列Plus模型,展现出与当前顶尖前沿模型相媲美的卓越性能,模型效果相较3.5系列显著提升。模型在Agentic coding、前端编程、Vibe coding等代码能力、多模态万物识别、OCR、物体定位等能力上显著增强。
90
+ * Qwen3.6原生视觉语言系列Plus模型,展现出与当前顶尖前沿模型相媲美的卓越性能,模型效果相较3.5系列显著提升。模型在Agentic coding、前端编程、Vibe coding等代码能力、多模态万物识别、OCR、物体定位等能力上显著增强
52
91
  */
53
92
  description?: string;
54
93
  /**
@@ -79,7 +118,7 @@ export class GetRuntimeModelConfigResponseBodyDataModelProviderListLlmInfoList e
79
118
  name?: string;
80
119
  /**
81
120
  * @remarks
82
- * The published time (ISO 8601 format).
121
+ * The publish time (ISO 8601 format).
83
122
  *
84
123
  * @example
85
124
  * 2026-03-04T06:25:17.000+00:00
@@ -95,6 +134,7 @@ export class GetRuntimeModelConfigResponseBodyDataModelProviderListLlmInfoList e
95
134
  riskType?: string;
96
135
  static names(): { [key: string]: string } {
97
136
  return {
137
+ creditMultiplier: 'CreditMultiplier',
98
138
  description: 'Description',
99
139
  features: 'Features',
100
140
  inferenceMetadata: 'InferenceMetadata',
@@ -107,6 +147,7 @@ export class GetRuntimeModelConfigResponseBodyDataModelProviderListLlmInfoList e
107
147
 
108
148
  static types(): { [key: string]: any } {
109
149
  return {
150
+ creditMultiplier: GetRuntimeModelConfigResponseBodyDataModelProviderListLlmInfoListCreditMultiplier,
110
151
  description: 'string',
111
152
  features: { 'type': 'array', 'itemType': 'string' },
112
153
  inferenceMetadata: GetRuntimeModelConfigResponseBodyDataModelProviderListLlmInfoListInferenceMetadata,
@@ -118,6 +159,9 @@ export class GetRuntimeModelConfigResponseBodyDataModelProviderListLlmInfoList e
118
159
  }
119
160
 
120
161
  validate() {
162
+ if(this.creditMultiplier && typeof (this.creditMultiplier as any).validate === 'function') {
163
+ (this.creditMultiplier as any).validate();
164
+ }
121
165
  if(Array.isArray(this.features)) {
122
166
  $dara.Model.validateArray(this.features);
123
167
  }
@@ -224,7 +268,7 @@ export class GetRuntimeModelConfigResponseBodyData extends $dara.Model {
224
268
  modelTemplateName?: string;
225
269
  /**
226
270
  * @remarks
227
- * The model template association type (returned only when an association exists).
271
+ * The model template association type (returned only when present).
228
272
  *
229
273
  * @example
230
274
  * Runtime
@@ -232,7 +276,7 @@ export class GetRuntimeModelConfigResponseBodyData extends $dara.Model {
232
276
  modelTemplateRefType?: string;
233
277
  /**
234
278
  * @remarks
235
- * The resource group ID of the runtime (null if not assigned to a resource group).
279
+ * The resource group ID to which the runtime belongs (null if not assigned to a resource group).
236
280
  *
237
281
  * @example
238
282
  * rg-xxxxx
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListDesktopAgentRuntimeRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The agent IM online status filter.
9
+ *
7
10
  * @example
8
11
  * Online
9
12
  */
@@ -33,24 +36,33 @@ export class ListDesktopAgentRuntimeRequest extends $dara.Model {
33
36
  */
34
37
  agentPlatform?: string;
35
38
  /**
39
+ * @remarks
40
+ * The list of agent platforms. If AgentPlatform is also specified, AgentPlatform takes precedence and this list is ignored.
41
+ *
36
42
  * @example
37
43
  * ENTERPRISE
38
44
  */
39
45
  agentPlatformList?: string[];
40
46
  /**
41
47
  * @remarks
42
- * The name of the agent provider.
48
+ * The agent provider name.
43
49
  *
44
50
  * @example
45
51
  * OpenClaw
46
52
  */
47
53
  agentProvider?: string;
48
54
  /**
55
+ * @remarks
56
+ * The list of agent providers. If AgentProvider is also specified, AgentProvider takes precedence and this list is ignored.
57
+ *
49
58
  * @example
50
59
  * OpenClaw
51
60
  */
52
61
  agentProviderList?: string[];
53
62
  /**
63
+ * @remarks
64
+ * The list of agent template IDs. A match occurs only when all valid templates are assigned.
65
+ *
54
66
  * @example
55
67
  * at-xxxxx
56
68
  */
@@ -64,6 +76,9 @@ export class ListDesktopAgentRuntimeRequest extends $dara.Model {
64
76
  */
65
77
  authUsers?: string[];
66
78
  /**
79
+ * @remarks
80
+ * The business region ID.
81
+ *
67
82
  * @example
68
83
  * cn-hangzhou
69
84
  */
@@ -118,7 +133,7 @@ export class ListDesktopAgentRuntimeRequest extends $dara.Model {
118
133
  desktopStatuses?: string[];
119
134
  /**
120
135
  * @remarks
121
- * Specifies whether an authorized user exists.
136
+ * Indicates whether an authorized user exists for authorization.
122
137
  *
123
138
  * @example
124
139
  * true
@@ -126,9 +141,9 @@ export class ListDesktopAgentRuntimeRequest extends $dara.Model {
126
141
  hasAuthUser?: boolean;
127
142
  /**
128
143
  * @remarks
129
- * Specifies whether a risk exists. This parameter filters Cloud Desktops with or without risks and takes effect only when IncludeRiskInfo is set to true.
144
+ * Specifies whether a risk exists. This parameter is used to filter Cloud Desktops with or without risks and takes effect only when IncludeRiskInfo is set to true.
130
145
  *
131
- * Set to true to return only records with risks. Set to false to return only records without risks. If not specified, no filtering is applied.
146
+ * Set this parameter to true to return only records with risks. Set this parameter to false to return only records without risks. If you do not specify this parameter, no filtering is applied.
132
147
  *
133
148
  * @example
134
149
  * true
@@ -143,6 +158,9 @@ export class ListDesktopAgentRuntimeRequest extends $dara.Model {
143
158
  */
144
159
  includeRiskInfo?: boolean;
145
160
  /**
161
+ * @remarks
162
+ * The management status filter, such as Hibernated.
163
+ *
146
164
  * @example
147
165
  * Hibernated
148
166
  */
@@ -164,13 +182,16 @@ export class ListDesktopAgentRuntimeRequest extends $dara.Model {
164
182
  */
165
183
  modelTemplateId?: string;
166
184
  /**
185
+ * @remarks
186
+ * The office network ID.
187
+ *
167
188
  * @example
168
189
  * cn-hangzhou+dir-xxxx
169
190
  */
170
191
  officeSiteId?: string;
171
192
  /**
172
193
  * @remarks
173
- * The page number, starting from 1. Values 0 and 1 return the same result.
194
+ * The page number. Starts from 1. Values 0 and 1 return the same result.
174
195
  *
175
196
  * @example
176
197
  * 1
@@ -194,7 +215,7 @@ export class ListDesktopAgentRuntimeRequest extends $dara.Model {
194
215
  resourceGroupId?: string;
195
216
  /**
196
217
  * @remarks
197
- * The list of resource IDs (underlying real resource IDs).
218
+ * The list of resource IDs (underlying actual resource IDs).
198
219
  *
199
220
  * @example
200
221
  * ecd-xxxxx
@@ -3,10 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ListDesktopAgentRuntimeResponseBodyDataAgentImInfo extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The agent IM online status (Online/Offline). Default value: Offline.
9
+ */
6
10
  agentImOnlineStatus?: string;
7
11
  /**
8
12
  * @remarks
9
- * The Agent IM status.
13
+ * The agent IM status.
10
14
  *
11
15
  * @example
12
16
  * Enabled
@@ -62,11 +66,19 @@ export class ListDesktopAgentRuntimeResponseBodyDataAgentInstanceInfoList extend
62
66
  * 2026.3.13
63
67
  */
64
68
  agentInstanceVersion?: string;
69
+ /**
70
+ * @remarks
71
+ * The agent platform (enum name, such as ENTERPRISE, JVS, or ENTERPRISE_JVS).
72
+ */
65
73
  agentPlatform?: string;
74
+ /**
75
+ * @remarks
76
+ * The agent provider (enum name, such as OPEN_CLAW or HERMES_AGENT).
77
+ */
66
78
  agentProvider?: string;
67
79
  /**
68
80
  * @remarks
69
- * Indicates whether the agent instance has a third-party channel configured.
81
+ * Indicates whether a third-party channel has been configured for the agent instance.
70
82
  *
71
83
  * @example
72
84
  * true
@@ -87,7 +99,7 @@ export class ListDesktopAgentRuntimeResponseBodyDataAgentInstanceInfoList extend
87
99
  deploymentSource?: string;
88
100
  /**
89
101
  * @remarks
90
- * Indicates whether the agent instance has a model configured.
102
+ * Indicates whether a model has been configured for the agent instance.
91
103
  *
92
104
  * @example
93
105
  * true
@@ -234,7 +246,7 @@ export class ListDesktopAgentRuntimeResponseBodyDataRiskInfo extends $dara.Model
234
246
  export class ListDesktopAgentRuntimeResponseBodyData extends $dara.Model {
235
247
  /**
236
248
  * @remarks
237
- * The Agent IM information.
249
+ * The agent IM information.
238
250
  */
239
251
  agentImInfo?: ListDesktopAgentRuntimeResponseBodyDataAgentImInfo;
240
252
  /**
@@ -249,7 +261,7 @@ export class ListDesktopAgentRuntimeResponseBodyData extends $dara.Model {
249
261
  authUsers?: string[];
250
262
  /**
251
263
  * @remarks
252
- * Indicates whether the agent runtime has a third-party channel configured.
264
+ * Indicates whether a third-party channel has been configured for the agent runtime.
253
265
  *
254
266
  * @example
255
267
  * true
@@ -286,16 +298,20 @@ export class ListDesktopAgentRuntimeResponseBodyData extends $dara.Model {
286
298
  desktopStatus?: string;
287
299
  /**
288
300
  * @remarks
289
- * Specifies whether an authorized user exists.
301
+ * Indicates whether there is an authorized user with authorization.
290
302
  *
291
303
  * @example
292
304
  * true
293
305
  */
294
306
  hasAuthUser?: boolean;
307
+ /**
308
+ * @remarks
309
+ * The management status list, parsed from the managementStatus composite value.
310
+ */
295
311
  managementStatuses?: string[];
296
312
  /**
297
313
  * @remarks
298
- * Indicates whether the agent runtime has a model configured.
314
+ * Indicates whether a model has been configured for the agent runtime.
299
315
  *
300
316
  * @example
301
317
  * true
@@ -303,7 +319,7 @@ export class ListDesktopAgentRuntimeResponseBodyData extends $dara.Model {
303
319
  modelConfigure?: boolean;
304
320
  /**
305
321
  * @remarks
306
- * The effective model template ID. Returned only when modelConfigure is true.
322
+ * The active model template ID. This parameter is returned only when modelConfigure is set to true.
307
323
  *
308
324
  * @example
309
325
  * mt-xxxx
@@ -311,7 +327,7 @@ export class ListDesktopAgentRuntimeResponseBodyData extends $dara.Model {
311
327
  modelTemplateId?: string;
312
328
  /**
313
329
  * @remarks
314
- * The effective model template name. Returned only when modelConfigure is true.
330
+ * The active model template name. This parameter is returned only when modelConfigure is set to true.
315
331
  *
316
332
  * @example
317
333
  * model-template-001
@@ -327,7 +343,7 @@ export class ListDesktopAgentRuntimeResponseBodyData extends $dara.Model {
327
343
  osType?: string;
328
344
  /**
329
345
  * @remarks
330
- * The list of channel codes being configured through QR code scanning.
346
+ * The list of channel codes in QR code configuration.
331
347
  */
332
348
  qrCodeConfiguringList?: string[];
333
349
  /**
@@ -361,7 +377,7 @@ export class ListDesktopAgentRuntimeResponseBodyData extends $dara.Model {
361
377
  resourceId?: string;
362
378
  /**
363
379
  * @remarks
364
- * The risk information. Returned only when the request parameter IncludeRiskInfo is set to true. Otherwise, the value is null.
380
+ * The risk information. This parameter is returned only when the request parameter IncludeRiskInfo is set to true. Otherwise, null is returned.
365
381
  */
366
382
  riskInfo?: ListDesktopAgentRuntimeResponseBodyDataRiskInfo;
367
383
  static names(): { [key: string]: string } {
@@ -479,7 +495,7 @@ export class ListDesktopAgentRuntimeResponseBody extends $dara.Model {
479
495
  requestId?: string;
480
496
  /**
481
497
  * @remarks
482
- * The total number of entries.
498
+ * The total number of entries returned.
483
499
  *
484
500
  * @example
485
501
  * 30
@@ -5,7 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListLlmTemplatesRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The model code used for filtering. Fuzzy match is supported.
8
+ * The business type. This parameter is required when SmartModel is set to true.
9
+ */
10
+ bizType?: number;
11
+ /**
12
+ * @remarks
13
+ * The model code filter. Fuzzy match is supported.
9
14
  *
10
15
  * @example
11
16
  * qwen3.6-plus
@@ -48,25 +53,37 @@ export class ListLlmTemplatesRequest extends $dara.Model {
48
53
  * mpt-xxxx
49
54
  */
50
55
  providerTemplateId?: string;
56
+ /**
57
+ * @remarks
58
+ * Specifies whether to query smart models. If set to true, only LLMs under system preset smart models are returned, and BizType is required. Default value: false.
59
+ *
60
+ * @example
61
+ * false
62
+ */
63
+ smartModel?: boolean;
51
64
  static names(): { [key: string]: string } {
52
65
  return {
66
+ bizType: 'BizType',
53
67
  llmCode: 'LlmCode',
54
68
  llmTemplateIds: 'LlmTemplateIds',
55
69
  modelTemplateId: 'ModelTemplateId',
56
70
  pageNumber: 'PageNumber',
57
71
  pageSize: 'PageSize',
58
72
  providerTemplateId: 'ProviderTemplateId',
73
+ smartModel: 'SmartModel',
59
74
  };
60
75
  }
61
76
 
62
77
  static types(): { [key: string]: any } {
63
78
  return {
79
+ bizType: 'number',
64
80
  llmCode: 'string',
65
81
  llmTemplateIds: { 'type': 'array', 'itemType': 'string' },
66
82
  modelTemplateId: 'string',
67
83
  pageNumber: 'number',
68
84
  pageSize: 'number',
69
85
  providerTemplateId: 'string',
86
+ smartModel: 'boolean',
70
87
  };
71
88
  }
72
89