@alicloud/agentcore20260804 2.3.0 → 2.3.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 +5 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateExternalAgentRequest.d.ts +61 -14
- package/dist/models/CreateExternalAgentRequest.js +29 -1
- package/dist/models/CreateExternalAgentRequest.js.map +1 -1
- package/dist/models/CreateExternalAgentResponseBody.d.ts +171 -39
- package/dist/models/CreateExternalAgentResponseBody.js +89 -1
- package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
- package/dist/models/GetExternalAgentResponseBody.d.ts +164 -43
- package/dist/models/GetExternalAgentResponseBody.js +89 -1
- package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
- package/dist/models/ListUsersRequest.d.ts +10 -2
- package/dist/models/ListUsersRequest.js +2 -0
- package/dist/models/ListUsersRequest.js.map +1 -1
- package/dist/models/ListUsersResponseBody.d.ts +11 -11
- package/dist/models/UpdateExternalAgentRequest.d.ts +59 -12
- package/dist/models/UpdateExternalAgentRequest.js +29 -1
- package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
- package/dist/models/UpdateExternalAgentResponseBody.d.ts +175 -34
- package/dist/models/UpdateExternalAgentResponseBody.js +89 -1
- package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +11 -0
- package/dist/models/model.js +88 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +6 -2
- package/src/models/CreateExternalAgentRequest.ts +80 -14
- package/src/models/CreateExternalAgentResponseBody.ts +232 -39
- package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
- package/src/models/GetExternalAgentResponseBody.ts +225 -43
- package/src/models/ListUsersRequest.ts +12 -2
- package/src/models/ListUsersResponseBody.ts +11 -11
- package/src/models/UpdateExternalAgentRequest.ts +78 -12
- package/src/models/UpdateExternalAgentResponseBody.ts +236 -34
- package/src/models/model.ts +11 -0
|
@@ -2,13 +2,112 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class GetExternalAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The type of the version selector. Valid values: LABEL (selects by tag) and VERSION (selects by specific version).
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* LABEL
|
|
12
|
+
*/
|
|
13
|
+
type?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The value of the selector. If the type is LABEL, the value is a tag name such as latest. If the type is VERSION, the value is a specific version number.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* latest
|
|
20
|
+
*/
|
|
21
|
+
value?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
type: 'type',
|
|
25
|
+
value: 'value',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
type: 'string',
|
|
32
|
+
value: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class GetExternalAgentResponseBodyDataConfiguredSkills extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The name of the skill in the Workspace AI Registry.
|
|
49
|
+
*
|
|
50
|
+
* This parameter is required.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* web-search
|
|
54
|
+
*/
|
|
55
|
+
name?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The source type of the skill. Valid values: REFERENCE (references the AI Registry) and STATIC (statically provided with the package).
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* REFERENCE
|
|
62
|
+
*/
|
|
63
|
+
sourceType?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The legacy compatibility field. Use sourceType and versionSelector for new requests.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 1.0.0
|
|
70
|
+
*/
|
|
71
|
+
version?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The referenced version selector. If omitted, the default value is LABEL/latest. Only LABEL/latest is supported in the current phase.
|
|
75
|
+
*/
|
|
76
|
+
versionSelector?: GetExternalAgentResponseBodyDataConfiguredSkillsVersionSelector;
|
|
77
|
+
static names(): { [key: string]: string } {
|
|
78
|
+
return {
|
|
79
|
+
name: 'name',
|
|
80
|
+
sourceType: 'sourceType',
|
|
81
|
+
version: 'version',
|
|
82
|
+
versionSelector: 'versionSelector',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
static types(): { [key: string]: any } {
|
|
87
|
+
return {
|
|
88
|
+
name: 'string',
|
|
89
|
+
sourceType: 'string',
|
|
90
|
+
version: 'string',
|
|
91
|
+
versionSelector: GetExternalAgentResponseBodyDataConfiguredSkillsVersionSelector,
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
validate() {
|
|
96
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
97
|
+
(this.versionSelector as any).validate();
|
|
98
|
+
}
|
|
99
|
+
super.validate();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
constructor(map?: { [key: string]: any }) {
|
|
103
|
+
super(map);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
5
107
|
export class GetExternalAgentResponseBodyDataExternalAgentStatus extends $dara.Model {
|
|
6
108
|
/**
|
|
7
109
|
* @remarks
|
|
8
|
-
* The heartbeat status. ONLINE indicates that the most recent heartbeat
|
|
9
|
-
* - ONLINE: Online.
|
|
10
|
-
* - STALE: Heartbeat expired.
|
|
11
|
-
* - UNKNOWN: Unknown.
|
|
110
|
+
* The heartbeat status. ONLINE indicates that the most recent heartbeat did not exceed the configured timeout threshold. STALE indicates that the heartbeat has timed out. UNKNOWN indicates that the heartbeat is missing or the format is invalid. Valid values: ONLINE (online), STALE (heartbeat expired), and UNKNOWN (unknown).
|
|
12
111
|
*
|
|
13
112
|
* @example
|
|
14
113
|
* ONLINE
|
|
@@ -16,7 +115,7 @@ export class GetExternalAgentResponseBodyDataExternalAgentStatus extends $dara.M
|
|
|
16
115
|
heartbeatStatus?: string;
|
|
17
116
|
/**
|
|
18
117
|
* @remarks
|
|
19
|
-
* The
|
|
118
|
+
* The last active time of the external agent in RFC 3339 format.
|
|
20
119
|
*
|
|
21
120
|
* @example
|
|
22
121
|
* 2026-01-01T00:00:00Z
|
|
@@ -24,7 +123,7 @@ export class GetExternalAgentResponseBodyDataExternalAgentStatus extends $dara.M
|
|
|
24
123
|
lastActiveAt?: string;
|
|
25
124
|
/**
|
|
26
125
|
* @remarks
|
|
27
|
-
* The
|
|
126
|
+
* The last heartbeat time of the external agent in RFC 3339 format.
|
|
28
127
|
*
|
|
29
128
|
* @example
|
|
30
129
|
* 2026-01-01T00:00:00Z
|
|
@@ -78,7 +177,7 @@ export class GetExternalAgentResponseBodyDataExternalAgentStatus extends $dara.M
|
|
|
78
177
|
export class GetExternalAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
79
178
|
/**
|
|
80
179
|
* @remarks
|
|
81
|
-
*
|
|
180
|
+
* Specifies whether the quota is enabled. This field is not returned if no quota is configured.
|
|
82
181
|
*
|
|
83
182
|
* @example
|
|
84
183
|
* true
|
|
@@ -86,7 +185,7 @@ export class GetExternalAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
86
185
|
enabled?: boolean;
|
|
87
186
|
/**
|
|
88
187
|
* @remarks
|
|
89
|
-
* The quota limit type.
|
|
188
|
+
* The quota limit type. Only token is supported.
|
|
90
189
|
*
|
|
91
190
|
* @example
|
|
92
191
|
* token
|
|
@@ -94,7 +193,7 @@ export class GetExternalAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
94
193
|
limitType?: string;
|
|
95
194
|
/**
|
|
96
195
|
* @remarks
|
|
97
|
-
*
|
|
196
|
+
* Specifies whether the quota is exceeded in the current period. This field is read-only and returned by the backend.
|
|
98
197
|
*
|
|
99
198
|
* @example
|
|
100
199
|
* false
|
|
@@ -102,7 +201,7 @@ export class GetExternalAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
102
201
|
overLimit?: boolean;
|
|
103
202
|
/**
|
|
104
203
|
* @remarks
|
|
105
|
-
* The quota statistical period. day
|
|
204
|
+
* The quota statistical period. Valid values: day (daily) and month (monthly).
|
|
106
205
|
*
|
|
107
206
|
* @example
|
|
108
207
|
* day
|
|
@@ -110,7 +209,7 @@ export class GetExternalAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
110
209
|
periodType?: string;
|
|
111
210
|
/**
|
|
112
211
|
* @remarks
|
|
113
|
-
* The gateway quota rule status. This is
|
|
212
|
+
* The gateway quota rule status. This field is read-only and returned by the backend.
|
|
114
213
|
*
|
|
115
214
|
* @example
|
|
116
215
|
* ACTIVE
|
|
@@ -118,7 +217,7 @@ export class GetExternalAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
118
217
|
ruleStatus?: string;
|
|
119
218
|
/**
|
|
120
219
|
* @remarks
|
|
121
|
-
* The maximum number of tokens
|
|
220
|
+
* The maximum number of tokens allowed to be consumed in a single period.
|
|
122
221
|
*
|
|
123
222
|
* @example
|
|
124
223
|
* 1000000
|
|
@@ -126,7 +225,7 @@ export class GetExternalAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
126
225
|
usageLimit?: number;
|
|
127
226
|
/**
|
|
128
227
|
* @remarks
|
|
129
|
-
* The number of tokens consumed in the current
|
|
228
|
+
* The number of tokens consumed in the current period. This field is read-only and returned by the backend.
|
|
130
229
|
*
|
|
131
230
|
* @example
|
|
132
231
|
* 12345
|
|
@@ -176,7 +275,7 @@ export class GetExternalAgentResponseBodyDataModel extends $dara.Model {
|
|
|
176
275
|
modelConnectionId?: string;
|
|
177
276
|
/**
|
|
178
277
|
* @remarks
|
|
179
|
-
* The upstream model
|
|
278
|
+
* The name of the upstream model.
|
|
180
279
|
*
|
|
181
280
|
* @example
|
|
182
281
|
* qwen-max
|
|
@@ -184,7 +283,7 @@ export class GetExternalAgentResponseBodyDataModel extends $dara.Model {
|
|
|
184
283
|
modelName?: string;
|
|
185
284
|
/**
|
|
186
285
|
* @remarks
|
|
187
|
-
* The model token quota configuration and
|
|
286
|
+
* The model token quota configuration and usage status for the current period. This field is empty if no quota is configured.
|
|
188
287
|
*/
|
|
189
288
|
quota?: GetExternalAgentResponseBodyDataModelQuota;
|
|
190
289
|
static names(): { [key: string]: string } {
|
|
@@ -215,17 +314,87 @@ export class GetExternalAgentResponseBodyDataModel extends $dara.Model {
|
|
|
215
314
|
}
|
|
216
315
|
}
|
|
217
316
|
|
|
317
|
+
export class GetExternalAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
|
|
318
|
+
/**
|
|
319
|
+
* @remarks
|
|
320
|
+
* The type of the version selector. Valid values: LABEL (selects by tag) and VERSION (selects by specific version).
|
|
321
|
+
*
|
|
322
|
+
* @example
|
|
323
|
+
* LABEL
|
|
324
|
+
*/
|
|
325
|
+
type?: string;
|
|
326
|
+
/**
|
|
327
|
+
* @remarks
|
|
328
|
+
* The value of the selector. If the type is LABEL, the value is a tag name such as latest. If the type is VERSION, the value is a specific version number.
|
|
329
|
+
*
|
|
330
|
+
* @example
|
|
331
|
+
* latest
|
|
332
|
+
*/
|
|
333
|
+
value?: string;
|
|
334
|
+
static names(): { [key: string]: string } {
|
|
335
|
+
return {
|
|
336
|
+
type: 'type',
|
|
337
|
+
value: 'value',
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
static types(): { [key: string]: any } {
|
|
342
|
+
return {
|
|
343
|
+
type: 'string',
|
|
344
|
+
value: 'string',
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
validate() {
|
|
349
|
+
super.validate();
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
constructor(map?: { [key: string]: any }) {
|
|
353
|
+
super(map);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
218
357
|
export class GetExternalAgentResponseBodyDataSkills extends $dara.Model {
|
|
219
358
|
/**
|
|
220
359
|
* @remarks
|
|
221
|
-
* The
|
|
360
|
+
* The effective version at runtime. This field is read-only.
|
|
222
361
|
*
|
|
223
|
-
*
|
|
362
|
+
* @example
|
|
363
|
+
* 1.0.0
|
|
364
|
+
*/
|
|
365
|
+
appliedVersion?: string;
|
|
366
|
+
/**
|
|
367
|
+
* @remarks
|
|
368
|
+
* Specifies whether the skill is from a fixed template. This field is read-only. Template items cannot be removed.
|
|
369
|
+
*
|
|
370
|
+
* @example
|
|
371
|
+
* false
|
|
372
|
+
*/
|
|
373
|
+
fromTemplate?: boolean;
|
|
374
|
+
/**
|
|
375
|
+
* @remarks
|
|
376
|
+
* The name of the skill.
|
|
224
377
|
*
|
|
225
378
|
* @example
|
|
226
379
|
* code-analysis
|
|
227
380
|
*/
|
|
228
381
|
name?: string;
|
|
382
|
+
/**
|
|
383
|
+
* @remarks
|
|
384
|
+
* The current target version. This field is read-only.
|
|
385
|
+
*
|
|
386
|
+
* @example
|
|
387
|
+
* 1.0.0
|
|
388
|
+
*/
|
|
389
|
+
resolvedVersion?: string;
|
|
390
|
+
/**
|
|
391
|
+
* @remarks
|
|
392
|
+
* The source type of the skill. Valid values: REFERENCE (references the AI Registry) and STATIC (statically provided with the package).
|
|
393
|
+
*
|
|
394
|
+
* @example
|
|
395
|
+
* REFERENCE
|
|
396
|
+
*/
|
|
397
|
+
sourceType?: string;
|
|
229
398
|
/**
|
|
230
399
|
* @remarks
|
|
231
400
|
* The skill version.
|
|
@@ -234,21 +403,39 @@ export class GetExternalAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
234
403
|
* 1.0.0
|
|
235
404
|
*/
|
|
236
405
|
version?: string;
|
|
406
|
+
/**
|
|
407
|
+
* @remarks
|
|
408
|
+
* The referenced version selector. If omitted, the default value is LABEL/latest.
|
|
409
|
+
*/
|
|
410
|
+
versionSelector?: GetExternalAgentResponseBodyDataSkillsVersionSelector;
|
|
237
411
|
static names(): { [key: string]: string } {
|
|
238
412
|
return {
|
|
413
|
+
appliedVersion: 'appliedVersion',
|
|
414
|
+
fromTemplate: 'fromTemplate',
|
|
239
415
|
name: 'name',
|
|
416
|
+
resolvedVersion: 'resolvedVersion',
|
|
417
|
+
sourceType: 'sourceType',
|
|
240
418
|
version: 'version',
|
|
419
|
+
versionSelector: 'versionSelector',
|
|
241
420
|
};
|
|
242
421
|
}
|
|
243
422
|
|
|
244
423
|
static types(): { [key: string]: any } {
|
|
245
424
|
return {
|
|
425
|
+
appliedVersion: 'string',
|
|
426
|
+
fromTemplate: 'boolean',
|
|
246
427
|
name: 'string',
|
|
428
|
+
resolvedVersion: 'string',
|
|
429
|
+
sourceType: 'string',
|
|
247
430
|
version: 'string',
|
|
431
|
+
versionSelector: GetExternalAgentResponseBodyDataSkillsVersionSelector,
|
|
248
432
|
};
|
|
249
433
|
}
|
|
250
434
|
|
|
251
435
|
validate() {
|
|
436
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
437
|
+
(this.versionSelector as any).validate();
|
|
438
|
+
}
|
|
252
439
|
super.validate();
|
|
253
440
|
}
|
|
254
441
|
|
|
@@ -344,8 +531,7 @@ export class GetExternalAgentResponseBodyDataTools extends $dara.Model {
|
|
|
344
531
|
name?: string;
|
|
345
532
|
/**
|
|
346
533
|
* @remarks
|
|
347
|
-
* The tool type. Valid values:
|
|
348
|
-
* - MCP: MCP tool.
|
|
534
|
+
* The tool type. Valid values: MCP.
|
|
349
535
|
*
|
|
350
536
|
* This parameter is required.
|
|
351
537
|
*
|
|
@@ -385,6 +571,11 @@ export class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
385
571
|
* agent-1
|
|
386
572
|
*/
|
|
387
573
|
agentId?: string;
|
|
574
|
+
/**
|
|
575
|
+
* @remarks
|
|
576
|
+
* Includes only the skills added or overridden by the user, excluding inherited items from templates. The resource model reads this field to preserve update semantics. Creation and update operations still use the skills in the request.
|
|
577
|
+
*/
|
|
578
|
+
configuredSkills?: GetExternalAgentResponseBodyDataConfiguredSkills[];
|
|
388
579
|
/**
|
|
389
580
|
* @remarks
|
|
390
581
|
* The creation mode.
|
|
@@ -414,17 +605,17 @@ export class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
414
605
|
* The description of the external agent.
|
|
415
606
|
*
|
|
416
607
|
* @example
|
|
417
|
-
*
|
|
608
|
+
* Code review agent running in the user environment
|
|
418
609
|
*/
|
|
419
610
|
description?: string;
|
|
420
611
|
/**
|
|
421
612
|
* @remarks
|
|
422
|
-
* The
|
|
613
|
+
* The running status information reported by the external agent.
|
|
423
614
|
*/
|
|
424
615
|
externalAgentStatus?: GetExternalAgentResponseBodyDataExternalAgentStatus;
|
|
425
616
|
/**
|
|
426
617
|
* @remarks
|
|
427
|
-
* The agent instruction
|
|
618
|
+
* The agent instruction used to guide the behavior of the agent.
|
|
428
619
|
*
|
|
429
620
|
* @example
|
|
430
621
|
* You are a code review assistant
|
|
@@ -440,13 +631,7 @@ export class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
440
631
|
latestSpecVersion?: number;
|
|
441
632
|
/**
|
|
442
633
|
* @remarks
|
|
443
|
-
* The processing status of the latest specification version. Valid values:
|
|
444
|
-
* - pending: Pending.
|
|
445
|
-
* - processing: Processing.
|
|
446
|
-
* - waiting_retry: Waiting for retry.
|
|
447
|
-
* - succeeded: Succeeded.
|
|
448
|
-
* - failed: Failed.
|
|
449
|
-
* - superseded: Superseded by a newer version.
|
|
634
|
+
* The processing status of the latest specification version. Valid values: pending (pending), processing (processing), waiting_retry (waiting for retry), succeeded (succeeded), failed (failed), and superseded (superseded by a new version).
|
|
450
635
|
*
|
|
451
636
|
* @example
|
|
452
637
|
* pending
|
|
@@ -454,14 +639,12 @@ export class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
454
639
|
latestVersionStatus?: string;
|
|
455
640
|
/**
|
|
456
641
|
* @remarks
|
|
457
|
-
* The model configuration. This
|
|
642
|
+
* The model configuration. This field is available only when modelSource is set to PLATFORM.
|
|
458
643
|
*/
|
|
459
644
|
model?: GetExternalAgentResponseBodyDataModel;
|
|
460
645
|
/**
|
|
461
646
|
* @remarks
|
|
462
|
-
* The model configuration
|
|
463
|
-
* - PLATFORM: Platform model.
|
|
464
|
-
* - RUNTIME: Runtime model.
|
|
647
|
+
* The source of the model configuration. PLATFORM indicates that the platform parses and delivers the model configuration. RUNTIME indicates that the external runtime manages the model itself, and the model field cannot be passed at the same time. Valid values: PLATFORM (platform model) and RUNTIME (runtime model).
|
|
465
648
|
*
|
|
466
649
|
* @example
|
|
467
650
|
* PLATFORM
|
|
@@ -498,13 +681,7 @@ export class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
498
681
|
skills?: GetExternalAgentResponseBodyDataSkills[];
|
|
499
682
|
/**
|
|
500
683
|
* @remarks
|
|
501
|
-
* The status of the external agent. Valid values:
|
|
502
|
-
* - Creating: Being created.
|
|
503
|
-
* - Running: Running.
|
|
504
|
-
* - Failed: Failed.
|
|
505
|
-
* - Updating: Being updated.
|
|
506
|
-
* - Deleting: Being deleted.
|
|
507
|
-
* - Deleted: Deleted.
|
|
684
|
+
* The status of the external agent. Valid values: Creating (creating), Running (running), Failed (failed), Updating (updating), Deleting (deleting), and Deleted (deleted).
|
|
508
685
|
*
|
|
509
686
|
* @example
|
|
510
687
|
* Running
|
|
@@ -539,6 +716,7 @@ export class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
539
716
|
static names(): { [key: string]: string } {
|
|
540
717
|
return {
|
|
541
718
|
agentId: 'agentId',
|
|
719
|
+
configuredSkills: 'configuredSkills',
|
|
542
720
|
createMode: 'createMode',
|
|
543
721
|
createdAt: 'createdAt',
|
|
544
722
|
deployType: 'deployType',
|
|
@@ -564,6 +742,7 @@ export class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
564
742
|
static types(): { [key: string]: any } {
|
|
565
743
|
return {
|
|
566
744
|
agentId: 'string',
|
|
745
|
+
configuredSkills: { 'type': 'array', 'itemType': GetExternalAgentResponseBodyDataConfiguredSkills },
|
|
567
746
|
createMode: 'string',
|
|
568
747
|
createdAt: 'string',
|
|
569
748
|
deployType: 'string',
|
|
@@ -587,6 +766,9 @@ export class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
587
766
|
}
|
|
588
767
|
|
|
589
768
|
validate() {
|
|
769
|
+
if(Array.isArray(this.configuredSkills)) {
|
|
770
|
+
$dara.Model.validateArray(this.configuredSkills);
|
|
771
|
+
}
|
|
590
772
|
if(this.externalAgentStatus && typeof (this.externalAgentStatus as any).validate === 'function') {
|
|
591
773
|
(this.externalAgentStatus as any).validate();
|
|
592
774
|
}
|
|
@@ -613,7 +795,7 @@ export class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
613
795
|
export class GetExternalAgentResponseBody extends $dara.Model {
|
|
614
796
|
/**
|
|
615
797
|
* @remarks
|
|
616
|
-
* The business status code. The value is SUCCESS
|
|
798
|
+
* The business status code. The value is SUCCESS if the request is successful.
|
|
617
799
|
*
|
|
618
800
|
* @example
|
|
619
801
|
* SUCCESS
|
|
@@ -626,7 +808,7 @@ export class GetExternalAgentResponseBody extends $dara.Model {
|
|
|
626
808
|
data?: GetExternalAgentResponseBodyData;
|
|
627
809
|
/**
|
|
628
810
|
* @remarks
|
|
629
|
-
* The HTTP status code.
|
|
811
|
+
* The HTTP status code. 200 indicates success.
|
|
630
812
|
*
|
|
631
813
|
* @example
|
|
632
814
|
* 200
|
|
@@ -650,7 +832,7 @@ export class GetExternalAgentResponseBody extends $dara.Model {
|
|
|
650
832
|
requestId?: string;
|
|
651
833
|
/**
|
|
652
834
|
* @remarks
|
|
653
|
-
* Indicates whether the request
|
|
835
|
+
* Indicates whether the request is successful.
|
|
654
836
|
*/
|
|
655
837
|
success?: boolean;
|
|
656
838
|
static names(): { [key: string]: string } {
|
|
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListUsersRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The filter condition for exact match on the email address.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* xxx@xxx.com
|
|
12
|
+
*/
|
|
13
|
+
email?: string;
|
|
6
14
|
/**
|
|
7
15
|
* @remarks
|
|
8
16
|
* The maximum number of records to return per page. Valid values: 1 to 100. If this parameter is not specified, 10 records are returned by default.
|
|
@@ -13,7 +21,7 @@ export class ListUsersRequest extends $dara.Model {
|
|
|
13
21
|
maxResults?: number;
|
|
14
22
|
/**
|
|
15
23
|
* @remarks
|
|
16
|
-
* The filter condition for exact match on the
|
|
24
|
+
* The filter condition for exact match on the user name.
|
|
17
25
|
*
|
|
18
26
|
* @example
|
|
19
27
|
* user-01
|
|
@@ -21,7 +29,7 @@ export class ListUsersRequest extends $dara.Model {
|
|
|
21
29
|
name?: string;
|
|
22
30
|
/**
|
|
23
31
|
* @remarks
|
|
24
|
-
* The filter condition for fuzzy match on the
|
|
32
|
+
* The filter condition for fuzzy match on the user name. The value can be up to 128 characters in length.
|
|
25
33
|
*
|
|
26
34
|
* @example
|
|
27
35
|
* user
|
|
@@ -37,6 +45,7 @@ export class ListUsersRequest extends $dara.Model {
|
|
|
37
45
|
nextToken?: string;
|
|
38
46
|
static names(): { [key: string]: string } {
|
|
39
47
|
return {
|
|
48
|
+
email: 'email',
|
|
40
49
|
maxResults: 'maxResults',
|
|
41
50
|
name: 'name',
|
|
42
51
|
nameLike: 'nameLike',
|
|
@@ -46,6 +55,7 @@ export class ListUsersRequest extends $dara.Model {
|
|
|
46
55
|
|
|
47
56
|
static types(): { [key: string]: any } {
|
|
48
57
|
return {
|
|
58
|
+
email: 'string',
|
|
49
59
|
maxResults: 'number',
|
|
50
60
|
name: 'string',
|
|
51
61
|
nameLike: 'string',
|
|
@@ -13,7 +13,7 @@ export class ListUsersResponseBodyItems extends $dara.Model {
|
|
|
13
13
|
agentCoreUserId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The authentication method of the user. A value of password indicates that
|
|
16
|
+
* The authentication method of the user. A value of password indicates that local password authentication in the workspace is used. A value of dingtalk or feishu indicates that the user is synchronized and authenticated by the corresponding external identity provider.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* password
|
|
@@ -21,7 +21,7 @@ export class ListUsersResponseBodyItems extends $dara.Model {
|
|
|
21
21
|
authMethod?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The creation time
|
|
24
|
+
* The creation time in UTC format based on RFC 3339.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 2026-08-12T03:04:05Z
|
|
@@ -45,7 +45,7 @@ export class ListUsersResponseBodyItems extends $dara.Model {
|
|
|
45
45
|
email?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The user name. The name must be unique within the workspace, contain only lowercase letters, digits, and hyphens, start and end with a lowercase letter or a digit, and be 1 to 32 characters in length.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* user-01
|
|
@@ -53,10 +53,10 @@ export class ListUsersResponseBodyItems extends $dara.Model {
|
|
|
53
53
|
name?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The
|
|
56
|
+
* The user remarks. The remarks can be up to 1,024 characters in length.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
|
-
*
|
|
59
|
+
* Member of the agent operations team
|
|
60
60
|
*/
|
|
61
61
|
note?: string;
|
|
62
62
|
/**
|
|
@@ -69,7 +69,7 @@ export class ListUsersResponseBodyItems extends $dara.Model {
|
|
|
69
69
|
regionId?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The status
|
|
72
|
+
* The user status. Valid values: Creating, Active, Updating, Deleting, Failed, and DeleteFailed.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* Active
|
|
@@ -77,7 +77,7 @@ export class ListUsersResponseBodyItems extends $dara.Model {
|
|
|
77
77
|
status?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The
|
|
80
|
+
* The last modification time in UTC format based on RFC 3339.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* 2026-08-12T03:04:05Z
|
|
@@ -151,12 +151,12 @@ export class ListUsersResponseBody extends $dara.Model {
|
|
|
151
151
|
httpStatusCode?: number;
|
|
152
152
|
/**
|
|
153
153
|
* @remarks
|
|
154
|
-
* The
|
|
154
|
+
* The list of users.
|
|
155
155
|
*/
|
|
156
156
|
items?: ListUsersResponseBodyItems[];
|
|
157
157
|
/**
|
|
158
158
|
* @remarks
|
|
159
|
-
* The maximum number of records per page that takes effect in
|
|
159
|
+
* The maximum number of records per page that takes effect in this query.
|
|
160
160
|
*
|
|
161
161
|
* @example
|
|
162
162
|
* 10
|
|
@@ -164,7 +164,7 @@ export class ListUsersResponseBody extends $dara.Model {
|
|
|
164
164
|
maxResults?: number;
|
|
165
165
|
/**
|
|
166
166
|
* @remarks
|
|
167
|
-
* The response message.
|
|
167
|
+
* The response message. An error description is returned if the request fails.
|
|
168
168
|
*
|
|
169
169
|
* @example
|
|
170
170
|
* success
|
|
@@ -172,7 +172,7 @@ export class ListUsersResponseBody extends $dara.Model {
|
|
|
172
172
|
message?: string;
|
|
173
173
|
/**
|
|
174
174
|
* @remarks
|
|
175
|
-
* The cursor for the next page.
|
|
175
|
+
* The cursor for the next page. This parameter is empty if no next page exists.
|
|
176
176
|
*
|
|
177
177
|
* @example
|
|
178
178
|
* dXNlci1vZmZzZXQ6MTA
|