@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.
- package/dist/client.d.ts +12 -12
- package/dist/client.js +33 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CreateModelTemplateRequest.d.ts +8 -3
- package/dist/models/CreateModelTemplateRequest.js +2 -0
- package/dist/models/CreateModelTemplateRequest.js.map +1 -1
- package/dist/models/GetRuntimeModelConfigResponseBody.d.ts +31 -4
- package/dist/models/GetRuntimeModelConfigResponseBody.js +27 -1
- package/dist/models/GetRuntimeModelConfigResponseBody.js.map +1 -1
- package/dist/models/ListDesktopAgentRuntimeRequest.d.ts +27 -6
- package/dist/models/ListDesktopAgentRuntimeRequest.js.map +1 -1
- package/dist/models/ListDesktopAgentRuntimeResponseBody.d.ts +28 -12
- package/dist/models/ListDesktopAgentRuntimeResponseBody.js.map +1 -1
- package/dist/models/ListLlmTemplatesRequest.d.ts +14 -1
- package/dist/models/ListLlmTemplatesRequest.js +4 -0
- package/dist/models/ListLlmTemplatesRequest.js.map +1 -1
- package/dist/models/ListLlmTemplatesResponseBody.d.ts +139 -4
- package/dist/models/ListLlmTemplatesResponseBody.js +127 -1
- package/dist/models/ListLlmTemplatesResponseBody.js.map +1 -1
- package/dist/models/ListLlmTemplatesShrinkRequest.d.ts +14 -1
- package/dist/models/ListLlmTemplatesShrinkRequest.js +4 -0
- package/dist/models/ListLlmTemplatesShrinkRequest.js.map +1 -1
- package/dist/models/ListModelTemplatesRequest.d.ts +32 -3
- package/dist/models/ListModelTemplatesRequest.js +6 -0
- package/dist/models/ListModelTemplatesRequest.js.map +1 -1
- package/dist/models/ListModelTemplatesResponseBody.d.ts +29 -3
- package/dist/models/ListModelTemplatesResponseBody.js +8 -0
- package/dist/models/ListModelTemplatesResponseBody.js.map +1 -1
- package/dist/models/ListModelTemplatesShrinkRequest.d.ts +32 -3
- package/dist/models/ListModelTemplatesShrinkRequest.js +6 -0
- package/dist/models/ListModelTemplatesShrinkRequest.js.map +1 -1
- package/dist/models/ListWuyingServerRequest.d.ts +16 -1
- package/dist/models/ListWuyingServerRequest.js.map +1 -1
- package/dist/models/ListWuyingServerResponseBody.d.ts +14 -14
- package/dist/models/ModifyBrowserInstanceGroupRequest.d.ts +111 -7
- package/dist/models/ModifyBrowserInstanceGroupRequest.js +55 -1
- package/dist/models/ModifyBrowserInstanceGroupRequest.js.map +1 -1
- package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.d.ts +7 -0
- package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.js.map +1 -1
- package/dist/models/UpdateModelTemplateRequest.d.ts +10 -5
- package/dist/models/UpdateModelTemplateRequest.js +2 -0
- package/dist/models/UpdateModelTemplateRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +39 -25
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +40 -12
- package/src/models/CreateModelTemplateRequest.ts +10 -3
- package/src/models/GetRuntimeModelConfigResponseBody.ts +48 -4
- package/src/models/ListDesktopAgentRuntimeRequest.ts +27 -6
- package/src/models/ListDesktopAgentRuntimeResponseBody.ts +28 -12
- package/src/models/ListLlmTemplatesRequest.ts +18 -1
- package/src/models/ListLlmTemplatesResponseBody.ts +227 -4
- package/src/models/ListLlmTemplatesShrinkRequest.ts +18 -1
- package/src/models/ListModelTemplatesRequest.ts +38 -3
- package/src/models/ListModelTemplatesResponseBody.ts +37 -3
- package/src/models/ListModelTemplatesShrinkRequest.ts +38 -3
- package/src/models/ListWuyingServerRequest.ts +16 -1
- package/src/models/ListWuyingServerResponseBody.ts +14 -14
- package/src/models/ModifyBrowserInstanceGroupRequest.ts +147 -7
- package/src/models/ModifyBrowserInstanceGroupShrinkRequest.ts +7 -0
- package/src/models/UpdateModelTemplateRequest.ts +12 -5
- package/src/models/model.ts +7 -0
|
@@ -2,6 +2,158 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class ListLlmTemplatesResponseBodyDataCreditMultiplier extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The maximum multiplier. A null value indicates no upper limit. For example, Min=1 with Max as null is displayed as 1x and above.
|
|
9
|
+
*/
|
|
10
|
+
max?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The minimum multiplier. When equal to Max, it represents 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
|
+
|
|
39
|
+
export class ListLlmTemplatesResponseBodyDataInferenceMetadata extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The list of request modalities, such as Text, Image, and Audio.
|
|
43
|
+
*/
|
|
44
|
+
requestModality?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* The list of response modalities, such as Text, Image, and Audio.
|
|
48
|
+
*/
|
|
49
|
+
responseModality?: string[];
|
|
50
|
+
static names(): { [key: string]: string } {
|
|
51
|
+
return {
|
|
52
|
+
requestModality: 'RequestModality',
|
|
53
|
+
responseModality: 'ResponseModality',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
static types(): { [key: string]: any } {
|
|
58
|
+
return {
|
|
59
|
+
requestModality: { 'type': 'array', 'itemType': 'string' },
|
|
60
|
+
responseModality: { 'type': 'array', 'itemType': 'string' },
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validate() {
|
|
65
|
+
if(Array.isArray(this.requestModality)) {
|
|
66
|
+
$dara.Model.validateArray(this.requestModality);
|
|
67
|
+
}
|
|
68
|
+
if(Array.isArray(this.responseModality)) {
|
|
69
|
+
$dara.Model.validateArray(this.responseModality);
|
|
70
|
+
}
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export class ListLlmTemplatesResponseBodyDataPricesPrices extends $dara.Model {
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The price in string format, such as 0.2.
|
|
83
|
+
*/
|
|
84
|
+
price?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The price name, such as Input, Output, or Image Generation.
|
|
88
|
+
*/
|
|
89
|
+
priceName?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The price unit, such as per image or per thousand tokens.
|
|
93
|
+
*/
|
|
94
|
+
priceUnit?: string;
|
|
95
|
+
static names(): { [key: string]: string } {
|
|
96
|
+
return {
|
|
97
|
+
price: 'Price',
|
|
98
|
+
priceName: 'PriceName',
|
|
99
|
+
priceUnit: 'PriceUnit',
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
static types(): { [key: string]: any } {
|
|
104
|
+
return {
|
|
105
|
+
price: 'string',
|
|
106
|
+
priceName: 'string',
|
|
107
|
+
priceUnit: 'string',
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
validate() {
|
|
112
|
+
super.validate();
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
constructor(map?: { [key: string]: any }) {
|
|
116
|
+
super(map);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export class ListLlmTemplatesResponseBodyDataPrices extends $dara.Model {
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* The list of prices within the range.
|
|
124
|
+
*/
|
|
125
|
+
prices?: ListLlmTemplatesResponseBodyDataPricesPrices[];
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The range name, such as Default or 0-1M tokens.
|
|
129
|
+
*/
|
|
130
|
+
rangeName?: string;
|
|
131
|
+
static names(): { [key: string]: string } {
|
|
132
|
+
return {
|
|
133
|
+
prices: 'Prices',
|
|
134
|
+
rangeName: 'RangeName',
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
static types(): { [key: string]: any } {
|
|
139
|
+
return {
|
|
140
|
+
prices: { 'type': 'array', 'itemType': ListLlmTemplatesResponseBodyDataPricesPrices },
|
|
141
|
+
rangeName: 'string',
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
validate() {
|
|
146
|
+
if(Array.isArray(this.prices)) {
|
|
147
|
+
$dara.Model.validateArray(this.prices);
|
|
148
|
+
}
|
|
149
|
+
super.validate();
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
constructor(map?: { [key: string]: any }) {
|
|
153
|
+
super(map);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
5
157
|
export class ListLlmTemplatesResponseBodyData extends $dara.Model {
|
|
6
158
|
/**
|
|
7
159
|
* @remarks
|
|
@@ -27,14 +179,29 @@ export class ListLlmTemplatesResponseBodyData extends $dara.Model {
|
|
|
27
179
|
* }
|
|
28
180
|
*/
|
|
29
181
|
config?: string;
|
|
182
|
+
/**
|
|
183
|
+
* @remarks
|
|
184
|
+
* The credit consumption multiplier (rate). A null value indicates that the model does not participate in credit-based billing.
|
|
185
|
+
*/
|
|
186
|
+
creditMultiplier?: ListLlmTemplatesResponseBodyDataCreditMultiplier;
|
|
30
187
|
/**
|
|
31
188
|
* @remarks
|
|
32
189
|
* The template description.
|
|
33
190
|
*
|
|
34
191
|
* @example
|
|
35
|
-
*
|
|
192
|
+
* Qwen Plus series models
|
|
36
193
|
*/
|
|
37
194
|
description?: string;
|
|
195
|
+
/**
|
|
196
|
+
* @remarks
|
|
197
|
+
* The list of model features, such as function-calling, web-search, and structured-outputs.
|
|
198
|
+
*/
|
|
199
|
+
features?: string[];
|
|
200
|
+
/**
|
|
201
|
+
* @remarks
|
|
202
|
+
* The inference metadata, including request and response modalities.
|
|
203
|
+
*/
|
|
204
|
+
inferenceMetadata?: ListLlmTemplatesResponseBodyDataInferenceMetadata;
|
|
38
205
|
/**
|
|
39
206
|
* @remarks
|
|
40
207
|
* Indicates whether this is the default model under the associated model group.
|
|
@@ -59,6 +226,11 @@ export class ListLlmTemplatesResponseBodyData extends $dara.Model {
|
|
|
59
226
|
* llmt-xxxx
|
|
60
227
|
*/
|
|
61
228
|
llmTemplateId?: string;
|
|
229
|
+
/**
|
|
230
|
+
* @remarks
|
|
231
|
+
* The model information, including context window size and maximum input/output tokens.
|
|
232
|
+
*/
|
|
233
|
+
modelInfo?: { [key: string]: any };
|
|
62
234
|
/**
|
|
63
235
|
* @remarks
|
|
64
236
|
* The template name.
|
|
@@ -67,6 +239,11 @@ export class ListLlmTemplatesResponseBodyData extends $dara.Model {
|
|
|
67
239
|
* Qwen3.6-Plus
|
|
68
240
|
*/
|
|
69
241
|
name?: string;
|
|
242
|
+
/**
|
|
243
|
+
* @remarks
|
|
244
|
+
* The list of price information.
|
|
245
|
+
*/
|
|
246
|
+
prices?: ListLlmTemplatesResponseBodyDataPrices[];
|
|
70
247
|
/**
|
|
71
248
|
* @remarks
|
|
72
249
|
* The ID of the model provider template.
|
|
@@ -75,31 +252,77 @@ export class ListLlmTemplatesResponseBodyData extends $dara.Model {
|
|
|
75
252
|
* mpt-xxxx
|
|
76
253
|
*/
|
|
77
254
|
providerTemplateId?: string;
|
|
255
|
+
/**
|
|
256
|
+
* @remarks
|
|
257
|
+
* The publish time in ISO 8601 format, such as 2026-03-04T06:25:17.000+00:00.
|
|
258
|
+
*/
|
|
259
|
+
publishedTime?: string;
|
|
260
|
+
/**
|
|
261
|
+
* @remarks
|
|
262
|
+
* The authorization scope of the associated model group. Valid values: ALL_USER (all users), USER_MIXED (specified users and user groups), RESOURCE_MIXED (specified resources). Returned only when SmartModel is set to true.
|
|
263
|
+
*/
|
|
264
|
+
refScope?: string;
|
|
265
|
+
/**
|
|
266
|
+
* @remarks
|
|
267
|
+
* The number of route policies configured under this model tier. Returned only when SmartModel is set to true. Returns 0 for tiers without configured policies.
|
|
268
|
+
*/
|
|
269
|
+
routePolicyCount?: number;
|
|
78
270
|
static names(): { [key: string]: string } {
|
|
79
271
|
return {
|
|
80
272
|
config: 'Config',
|
|
273
|
+
creditMultiplier: 'CreditMultiplier',
|
|
81
274
|
description: 'Description',
|
|
275
|
+
features: 'Features',
|
|
276
|
+
inferenceMetadata: 'InferenceMetadata',
|
|
82
277
|
isDefaultModel: 'IsDefaultModel',
|
|
83
278
|
llmCode: 'LlmCode',
|
|
84
279
|
llmTemplateId: 'LlmTemplateId',
|
|
280
|
+
modelInfo: 'ModelInfo',
|
|
85
281
|
name: 'Name',
|
|
282
|
+
prices: 'Prices',
|
|
86
283
|
providerTemplateId: 'ProviderTemplateId',
|
|
284
|
+
publishedTime: 'PublishedTime',
|
|
285
|
+
refScope: 'RefScope',
|
|
286
|
+
routePolicyCount: 'RoutePolicyCount',
|
|
87
287
|
};
|
|
88
288
|
}
|
|
89
289
|
|
|
90
290
|
static types(): { [key: string]: any } {
|
|
91
291
|
return {
|
|
92
292
|
config: 'string',
|
|
293
|
+
creditMultiplier: ListLlmTemplatesResponseBodyDataCreditMultiplier,
|
|
93
294
|
description: 'string',
|
|
295
|
+
features: { 'type': 'array', 'itemType': 'string' },
|
|
296
|
+
inferenceMetadata: ListLlmTemplatesResponseBodyDataInferenceMetadata,
|
|
94
297
|
isDefaultModel: 'boolean',
|
|
95
298
|
llmCode: 'string',
|
|
96
299
|
llmTemplateId: 'string',
|
|
300
|
+
modelInfo: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
97
301
|
name: 'string',
|
|
302
|
+
prices: { 'type': 'array', 'itemType': ListLlmTemplatesResponseBodyDataPrices },
|
|
98
303
|
providerTemplateId: 'string',
|
|
304
|
+
publishedTime: 'string',
|
|
305
|
+
refScope: 'string',
|
|
306
|
+
routePolicyCount: 'number',
|
|
99
307
|
};
|
|
100
308
|
}
|
|
101
309
|
|
|
102
310
|
validate() {
|
|
311
|
+
if(this.creditMultiplier && typeof (this.creditMultiplier as any).validate === 'function') {
|
|
312
|
+
(this.creditMultiplier as any).validate();
|
|
313
|
+
}
|
|
314
|
+
if(Array.isArray(this.features)) {
|
|
315
|
+
$dara.Model.validateArray(this.features);
|
|
316
|
+
}
|
|
317
|
+
if(this.inferenceMetadata && typeof (this.inferenceMetadata as any).validate === 'function') {
|
|
318
|
+
(this.inferenceMetadata as any).validate();
|
|
319
|
+
}
|
|
320
|
+
if(this.modelInfo) {
|
|
321
|
+
$dara.Model.validateMap(this.modelInfo);
|
|
322
|
+
}
|
|
323
|
+
if(Array.isArray(this.prices)) {
|
|
324
|
+
$dara.Model.validateArray(this.prices);
|
|
325
|
+
}
|
|
103
326
|
super.validate();
|
|
104
327
|
}
|
|
105
328
|
|
|
@@ -116,7 +339,7 @@ export class ListLlmTemplatesResponseBody extends $dara.Model {
|
|
|
116
339
|
data?: ListLlmTemplatesResponseBodyData[];
|
|
117
340
|
/**
|
|
118
341
|
* @remarks
|
|
119
|
-
* The page number of the
|
|
342
|
+
* The current page number of the query results.
|
|
120
343
|
*
|
|
121
344
|
* @example
|
|
122
345
|
* 1
|
|
@@ -124,7 +347,7 @@ export class ListLlmTemplatesResponseBody extends $dara.Model {
|
|
|
124
347
|
pageNumber?: number;
|
|
125
348
|
/**
|
|
126
349
|
* @remarks
|
|
127
|
-
* The number of
|
|
350
|
+
* The number of query results per page.
|
|
128
351
|
*
|
|
129
352
|
* @example
|
|
130
353
|
* 10
|
|
@@ -140,7 +363,7 @@ export class ListLlmTemplatesResponseBody extends $dara.Model {
|
|
|
140
363
|
requestId?: string;
|
|
141
364
|
/**
|
|
142
365
|
* @remarks
|
|
143
|
-
* The total number of
|
|
366
|
+
* The total number of query results.
|
|
144
367
|
*
|
|
145
368
|
* @example
|
|
146
369
|
* 20
|
|
@@ -5,7 +5,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListLlmTemplatesShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
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 ListLlmTemplatesShrinkRequest 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
|
llmTemplateIdsShrink: '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
|
llmTemplateIdsShrink: '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
|
|
|
@@ -12,19 +12,25 @@ export class ListModelTemplatesRequest extends $dara.Model {
|
|
|
12
12
|
*/
|
|
13
13
|
agentPlatform?: string;
|
|
14
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The Agent platform list. Supports COMMON. If specified together with AgentPlatform, AgentPlatform takes precedence and this list is ignored. Defaults to ENTERPRISE if no platform filter is specified. To query Common model groups, explicitly include COMMON. If filtering by Provider simultaneously, set the value to Common.
|
|
17
|
+
*
|
|
15
18
|
* @example
|
|
16
19
|
* ENTERPRISE
|
|
17
20
|
*/
|
|
18
21
|
agentPlatformList?: string[];
|
|
19
22
|
/**
|
|
20
23
|
* @remarks
|
|
21
|
-
* The
|
|
24
|
+
* The Agent provider name.
|
|
22
25
|
*
|
|
23
26
|
* @example
|
|
24
27
|
* OpenClaw
|
|
25
28
|
*/
|
|
26
29
|
agentProvider?: string;
|
|
27
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The Agent provider list. Supports Common. If specified together with AgentProvider, AgentProvider takes precedence and this list is ignored. To query Common model groups, explicitly include COMMON in the platform filter.
|
|
33
|
+
*
|
|
28
34
|
* @example
|
|
29
35
|
* OpenClaw
|
|
30
36
|
*/
|
|
@@ -41,7 +47,7 @@ export class ListModelTemplatesRequest extends $dara.Model {
|
|
|
41
47
|
bizType?: number;
|
|
42
48
|
/**
|
|
43
49
|
* @remarks
|
|
44
|
-
* Specifies whether
|
|
50
|
+
* Specifies whether models are configured in the group.
|
|
45
51
|
*
|
|
46
52
|
* @example
|
|
47
53
|
* true
|
|
@@ -49,9 +55,14 @@ export class ListModelTemplatesRequest extends $dara.Model {
|
|
|
49
55
|
hasModel?: boolean;
|
|
50
56
|
/**
|
|
51
57
|
* @remarks
|
|
52
|
-
* The list of template group IDs
|
|
58
|
+
* The list of template group IDs to filter by.
|
|
53
59
|
*/
|
|
54
60
|
modelTemplateIdList?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* The model group name. Fuzzy match is supported.
|
|
64
|
+
*/
|
|
65
|
+
name?: string;
|
|
55
66
|
/**
|
|
56
67
|
* @remarks
|
|
57
68
|
* The page number, starting from 1. Values 0 and 1 return the same result.
|
|
@@ -68,6 +79,24 @@ export class ListModelTemplatesRequest extends $dara.Model {
|
|
|
68
79
|
* 20
|
|
69
80
|
*/
|
|
70
81
|
pageSize?: number;
|
|
82
|
+
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The authorization scope filter. Valid values: ALL_USER, USER_MIXED, or RESOURCE_MIXED (strictly uppercase. Case variants or unknown values return InvalidParameter). If not specified, no filtering is applied. Unlike create/update operations, the filter scenario allows RESOURCE_MIXED (to filter non-Common model groups).
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ALL_USER
|
|
88
|
+
*/
|
|
89
|
+
refScope?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The template source filter. Valid values:
|
|
93
|
+
* - User: tenant-created (default if not specified).
|
|
94
|
+
* - System: system preset.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* User
|
|
98
|
+
*/
|
|
99
|
+
source?: string;
|
|
71
100
|
static names(): { [key: string]: string } {
|
|
72
101
|
return {
|
|
73
102
|
agentPlatform: 'AgentPlatform',
|
|
@@ -77,8 +106,11 @@ export class ListModelTemplatesRequest extends $dara.Model {
|
|
|
77
106
|
bizType: 'BizType',
|
|
78
107
|
hasModel: 'HasModel',
|
|
79
108
|
modelTemplateIdList: 'ModelTemplateIdList',
|
|
109
|
+
name: 'Name',
|
|
80
110
|
pageNumber: 'PageNumber',
|
|
81
111
|
pageSize: 'PageSize',
|
|
112
|
+
refScope: 'RefScope',
|
|
113
|
+
source: 'Source',
|
|
82
114
|
};
|
|
83
115
|
}
|
|
84
116
|
|
|
@@ -91,8 +123,11 @@ export class ListModelTemplatesRequest extends $dara.Model {
|
|
|
91
123
|
bizType: 'number',
|
|
92
124
|
hasModel: 'boolean',
|
|
93
125
|
modelTemplateIdList: { 'type': 'array', 'itemType': 'string' },
|
|
126
|
+
name: 'string',
|
|
94
127
|
pageNumber: 'number',
|
|
95
128
|
pageSize: 'number',
|
|
129
|
+
refScope: 'string',
|
|
130
|
+
source: 'string',
|
|
96
131
|
};
|
|
97
132
|
}
|
|
98
133
|
|
|
@@ -3,10 +3,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListModelTemplatesResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The Agent platform (such as ENTERPRISE or ENTERPRISE_JVS).
|
|
9
|
+
*/
|
|
6
10
|
agentPlatform?: string;
|
|
7
11
|
/**
|
|
8
12
|
* @remarks
|
|
9
|
-
* The
|
|
13
|
+
* The Agent provider name.
|
|
10
14
|
*
|
|
11
15
|
* @example
|
|
12
16
|
* OpenClaw
|
|
@@ -31,17 +35,22 @@ export class ListModelTemplatesResponseBodyData extends $dara.Model {
|
|
|
31
35
|
* The template group description.
|
|
32
36
|
*
|
|
33
37
|
* @example
|
|
34
|
-
*
|
|
38
|
+
* Test model group
|
|
35
39
|
*/
|
|
36
40
|
description?: string;
|
|
37
41
|
/**
|
|
38
42
|
* @remarks
|
|
39
|
-
* Specifies whether
|
|
43
|
+
* Specifies whether models are configured in the group.
|
|
40
44
|
*
|
|
41
45
|
* @example
|
|
42
46
|
* true
|
|
43
47
|
*/
|
|
44
48
|
hasModel?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The number of models in the model group, including referenced system provider models.
|
|
52
|
+
*/
|
|
53
|
+
modelCount?: number;
|
|
45
54
|
/**
|
|
46
55
|
* @remarks
|
|
47
56
|
* The model group ID.
|
|
@@ -58,6 +67,23 @@ export class ListModelTemplatesResponseBodyData extends $dara.Model {
|
|
|
58
67
|
* model-template-001
|
|
59
68
|
*/
|
|
60
69
|
name?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The group authorization scope. Valid values:
|
|
73
|
+
* - ALL_USER: all users.
|
|
74
|
+
* - USER_MIXED: user mixed (a mix of user groups and users, only for Common groups).
|
|
75
|
+
*/
|
|
76
|
+
refScope?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @remarks
|
|
79
|
+
* The number of authorized users in the group. Returned only when ListModelTemplates is called with refScope=USER_MIXED. Otherwise null.
|
|
80
|
+
*/
|
|
81
|
+
userCount?: number;
|
|
82
|
+
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The number of authorized user groups in the group. Returned only when ListModelTemplates is called with refScope=USER_MIXED. Otherwise null.
|
|
85
|
+
*/
|
|
86
|
+
userGroupCount?: number;
|
|
61
87
|
static names(): { [key: string]: string } {
|
|
62
88
|
return {
|
|
63
89
|
agentPlatform: 'AgentPlatform',
|
|
@@ -65,8 +91,12 @@ export class ListModelTemplatesResponseBodyData extends $dara.Model {
|
|
|
65
91
|
config: 'Config',
|
|
66
92
|
description: 'Description',
|
|
67
93
|
hasModel: 'HasModel',
|
|
94
|
+
modelCount: 'ModelCount',
|
|
68
95
|
modelTemplateId: 'ModelTemplateId',
|
|
69
96
|
name: 'Name',
|
|
97
|
+
refScope: 'RefScope',
|
|
98
|
+
userCount: 'UserCount',
|
|
99
|
+
userGroupCount: 'UserGroupCount',
|
|
70
100
|
};
|
|
71
101
|
}
|
|
72
102
|
|
|
@@ -77,8 +107,12 @@ export class ListModelTemplatesResponseBodyData extends $dara.Model {
|
|
|
77
107
|
config: 'string',
|
|
78
108
|
description: 'string',
|
|
79
109
|
hasModel: 'boolean',
|
|
110
|
+
modelCount: 'number',
|
|
80
111
|
modelTemplateId: 'string',
|
|
81
112
|
name: 'string',
|
|
113
|
+
refScope: 'string',
|
|
114
|
+
userCount: 'number',
|
|
115
|
+
userGroupCount: 'number',
|
|
82
116
|
};
|
|
83
117
|
}
|
|
84
118
|
|
|
@@ -12,19 +12,25 @@ export class ListModelTemplatesShrinkRequest extends $dara.Model {
|
|
|
12
12
|
*/
|
|
13
13
|
agentPlatform?: string;
|
|
14
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The Agent platform list. Supports COMMON. If specified together with AgentPlatform, AgentPlatform takes precedence and this list is ignored. Defaults to ENTERPRISE if no platform filter is specified. To query Common model groups, explicitly include COMMON. If filtering by Provider simultaneously, set the value to Common.
|
|
17
|
+
*
|
|
15
18
|
* @example
|
|
16
19
|
* ENTERPRISE
|
|
17
20
|
*/
|
|
18
21
|
agentPlatformList?: string[];
|
|
19
22
|
/**
|
|
20
23
|
* @remarks
|
|
21
|
-
* The
|
|
24
|
+
* The Agent provider name.
|
|
22
25
|
*
|
|
23
26
|
* @example
|
|
24
27
|
* OpenClaw
|
|
25
28
|
*/
|
|
26
29
|
agentProvider?: string;
|
|
27
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The Agent provider list. Supports Common. If specified together with AgentProvider, AgentProvider takes precedence and this list is ignored. To query Common model groups, explicitly include COMMON in the platform filter.
|
|
33
|
+
*
|
|
28
34
|
* @example
|
|
29
35
|
* OpenClaw
|
|
30
36
|
*/
|
|
@@ -41,7 +47,7 @@ export class ListModelTemplatesShrinkRequest extends $dara.Model {
|
|
|
41
47
|
bizType?: number;
|
|
42
48
|
/**
|
|
43
49
|
* @remarks
|
|
44
|
-
* Specifies whether
|
|
50
|
+
* Specifies whether models are configured in the group.
|
|
45
51
|
*
|
|
46
52
|
* @example
|
|
47
53
|
* true
|
|
@@ -49,9 +55,14 @@ export class ListModelTemplatesShrinkRequest extends $dara.Model {
|
|
|
49
55
|
hasModel?: boolean;
|
|
50
56
|
/**
|
|
51
57
|
* @remarks
|
|
52
|
-
* The list of template group IDs
|
|
58
|
+
* The list of template group IDs to filter by.
|
|
53
59
|
*/
|
|
54
60
|
modelTemplateIdListShrink?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* The model group name. Fuzzy match is supported.
|
|
64
|
+
*/
|
|
65
|
+
name?: string;
|
|
55
66
|
/**
|
|
56
67
|
* @remarks
|
|
57
68
|
* The page number, starting from 1. Values 0 and 1 return the same result.
|
|
@@ -68,6 +79,24 @@ export class ListModelTemplatesShrinkRequest extends $dara.Model {
|
|
|
68
79
|
* 20
|
|
69
80
|
*/
|
|
70
81
|
pageSize?: number;
|
|
82
|
+
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The authorization scope filter. Valid values: ALL_USER, USER_MIXED, or RESOURCE_MIXED (strictly uppercase. Case variants or unknown values return InvalidParameter). If not specified, no filtering is applied. Unlike create/update operations, the filter scenario allows RESOURCE_MIXED (to filter non-Common model groups).
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ALL_USER
|
|
88
|
+
*/
|
|
89
|
+
refScope?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The template source filter. Valid values:
|
|
93
|
+
* - User: tenant-created (default if not specified).
|
|
94
|
+
* - System: system preset.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* User
|
|
98
|
+
*/
|
|
99
|
+
source?: string;
|
|
71
100
|
static names(): { [key: string]: string } {
|
|
72
101
|
return {
|
|
73
102
|
agentPlatform: 'AgentPlatform',
|
|
@@ -77,8 +106,11 @@ export class ListModelTemplatesShrinkRequest extends $dara.Model {
|
|
|
77
106
|
bizType: 'BizType',
|
|
78
107
|
hasModel: 'HasModel',
|
|
79
108
|
modelTemplateIdListShrink: 'ModelTemplateIdList',
|
|
109
|
+
name: 'Name',
|
|
80
110
|
pageNumber: 'PageNumber',
|
|
81
111
|
pageSize: 'PageSize',
|
|
112
|
+
refScope: 'RefScope',
|
|
113
|
+
source: 'Source',
|
|
82
114
|
};
|
|
83
115
|
}
|
|
84
116
|
|
|
@@ -91,8 +123,11 @@ export class ListModelTemplatesShrinkRequest extends $dara.Model {
|
|
|
91
123
|
bizType: 'number',
|
|
92
124
|
hasModel: 'boolean',
|
|
93
125
|
modelTemplateIdListShrink: 'string',
|
|
126
|
+
name: 'string',
|
|
94
127
|
pageNumber: 'number',
|
|
95
128
|
pageSize: 'number',
|
|
129
|
+
refScope: 'string',
|
|
130
|
+
source: 'string',
|
|
96
131
|
};
|
|
97
132
|
}
|
|
98
133
|
|
|
@@ -36,21 +36,33 @@ export class ListWuyingServerRequest extends $dara.Model {
|
|
|
36
36
|
*/
|
|
37
37
|
chargeType?: string;
|
|
38
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The end time of the creation time range, in ISO 8601 format. This time point is exclusive.
|
|
41
|
+
*
|
|
39
42
|
* @example
|
|
40
43
|
* 2026-08-01T00:00:00Z
|
|
41
44
|
*/
|
|
42
45
|
createTimeEnd?: string;
|
|
43
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The start time of the creation time range, in ISO 8601 format. This time point is inclusive.
|
|
49
|
+
*
|
|
44
50
|
* @example
|
|
45
51
|
* 2026-07-01T00:00:00Z
|
|
46
52
|
*/
|
|
47
53
|
createTimeStart?: string;
|
|
48
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The end time of the expiration time range, in ISO 8601 format. This time point is exclusive.
|
|
57
|
+
*
|
|
49
58
|
* @example
|
|
50
59
|
* 2026-08-01T00:00:00Z
|
|
51
60
|
*/
|
|
52
61
|
expiredTimeEnd?: string;
|
|
53
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The start time of the expiration time range, in ISO 8601 format. This time point is inclusive.
|
|
65
|
+
*
|
|
54
66
|
* @example
|
|
55
67
|
* 2026-07-01T00:00:00Z
|
|
56
68
|
*/
|
|
@@ -145,13 +157,16 @@ export class ListWuyingServerRequest extends $dara.Model {
|
|
|
145
157
|
wuyingServerIdList?: string[];
|
|
146
158
|
/**
|
|
147
159
|
* @remarks
|
|
148
|
-
* The workstation name or workstation ID.
|
|
160
|
+
* The workstation name or workstation ID.
|
|
149
161
|
*
|
|
150
162
|
* @example
|
|
151
163
|
* exampleServerName
|
|
152
164
|
*/
|
|
153
165
|
wuyingServerNameOrId?: string;
|
|
154
166
|
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* The zone ID.
|
|
169
|
+
*
|
|
155
170
|
* @example
|
|
156
171
|
* cn-hangzhou-h
|
|
157
172
|
*/
|