@alicloud/agentcore20260804 2.2.1 → 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 +148 -2
- package/dist/client.js +284 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +765 -0
- package/dist/models/CreateCustomAgentRequest.js +591 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -0
- package/dist/models/CreateCustomAgentResponse.d.ts +19 -0
- package/dist/models/CreateCustomAgentResponse.js +69 -0
- package/dist/models/CreateCustomAgentResponse.js.map +1 -0
- package/dist/models/CreateCustomAgentResponseBody.d.ts +923 -0
- package/dist/models/CreateCustomAgentResponseBody.js +652 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +26 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js +60 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -0
- 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/DeleteCustomAgentRequest.d.ts +13 -0
- package/dist/models/DeleteCustomAgentRequest.js +54 -0
- package/dist/models/DeleteCustomAgentRequest.js.map +1 -0
- package/dist/models/DeleteCustomAgentResponse.d.ts +19 -0
- package/dist/models/DeleteCustomAgentResponse.js +69 -0
- package/dist/models/DeleteCustomAgentResponse.js.map +1 -0
- package/dist/models/DeleteCustomAgentResponseBody.d.ts +155 -0
- package/dist/models/DeleteCustomAgentResponseBody.js +110 -0
- package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -0
- package/dist/models/GetCustomAgentRequest.d.ts +13 -0
- package/dist/models/GetCustomAgentRequest.js +54 -0
- package/dist/models/GetCustomAgentRequest.js.map +1 -0
- package/dist/models/GetCustomAgentResponse.d.ts +19 -0
- package/dist/models/GetCustomAgentResponse.js +69 -0
- package/dist/models/GetCustomAgentResponse.js.map +1 -0
- package/dist/models/GetCustomAgentResponseBody.d.ts +655 -0
- package/dist/models/GetCustomAgentResponseBody.js +652 -0
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -0
- 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/ListCustomAgentsRequest.d.ts +29 -0
- package/dist/models/ListCustomAgentsRequest.js +60 -0
- package/dist/models/ListCustomAgentsRequest.js.map +1 -0
- package/dist/models/ListCustomAgentsResponse.d.ts +19 -0
- package/dist/models/ListCustomAgentsResponse.js +69 -0
- package/dist/models/ListCustomAgentsResponse.js.map +1 -0
- package/dist/models/ListCustomAgentsResponseBody.d.ts +248 -0
- package/dist/models/ListCustomAgentsResponseBody.js +171 -0
- package/dist/models/ListCustomAgentsResponseBody.js.map +1 -0
- package/dist/models/ListUsersRequest.d.ts +12 -4
- package/dist/models/ListUsersRequest.js +2 -0
- package/dist/models/ListUsersRequest.js.map +1 -1
- package/dist/models/ListUsersResponseBody.d.ts +14 -14
- package/dist/models/UpdateCustomAgentRequest.d.ts +757 -0
- package/dist/models/UpdateCustomAgentRequest.js +591 -0
- package/dist/models/UpdateCustomAgentRequest.js.map +1 -0
- package/dist/models/UpdateCustomAgentResponse.d.ts +19 -0
- package/dist/models/UpdateCustomAgentResponse.js +69 -0
- package/dist/models/UpdateCustomAgentResponse.js.map +1 -0
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +910 -0
- package/dist/models/UpdateCustomAgentResponseBody.js +652 -0
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +26 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.js +60 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.js.map +1 -0
- 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 +135 -0
- package/dist/models/model.js +337 -65
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +303 -2
- package/src/models/CreateCustomAgentRequest.ts +1129 -0
- package/src/models/CreateCustomAgentResponse.ts +40 -0
- package/src/models/CreateCustomAgentResponseBody.ts +1337 -0
- package/src/models/CreateCustomAgentShrinkRequest.ts +41 -0
- package/src/models/CreateExternalAgentRequest.ts +80 -14
- package/src/models/CreateExternalAgentResponseBody.ts +232 -39
- package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
- package/src/models/DeleteCustomAgentRequest.ts +24 -0
- package/src/models/DeleteCustomAgentResponse.ts +40 -0
- package/src/models/DeleteCustomAgentResponseBody.ts +211 -0
- package/src/models/GetCustomAgentRequest.ts +24 -0
- package/src/models/GetCustomAgentResponse.ts +40 -0
- package/src/models/GetCustomAgentResponseBody.ts +1069 -0
- package/src/models/GetExternalAgentResponseBody.ts +225 -43
- package/src/models/ListCustomAgentsRequest.ts +44 -0
- package/src/models/ListCustomAgentsResponse.ts +40 -0
- package/src/models/ListCustomAgentsResponseBody.ts +345 -0
- package/src/models/ListUsersRequest.ts +14 -4
- package/src/models/ListUsersResponseBody.ts +14 -14
- package/src/models/UpdateCustomAgentRequest.ts +1121 -0
- package/src/models/UpdateCustomAgentResponse.ts +40 -0
- package/src/models/UpdateCustomAgentResponseBody.ts +1324 -0
- package/src/models/UpdateCustomAgentShrinkRequest.ts +41 -0
- package/src/models/UpdateExternalAgentRequest.ts +78 -12
- package/src/models/UpdateExternalAgentResponseBody.ts +236 -34
- package/src/models/model.ts +135 -0
|
@@ -1,11 +1,79 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class GetExternalAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The type of the version selector. Valid values: LABEL (selects by tag) and VERSION (selects by specific version).
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* LABEL
|
|
9
|
+
*/
|
|
10
|
+
type?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* 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.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* latest
|
|
17
|
+
*/
|
|
18
|
+
value?: string;
|
|
19
|
+
static names(): {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
static types(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
validate(): void;
|
|
26
|
+
constructor(map?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export declare class GetExternalAgentResponseBodyDataConfiguredSkills extends $dara.Model {
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The name of the skill in the Workspace AI Registry.
|
|
34
|
+
*
|
|
35
|
+
* This parameter is required.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* web-search
|
|
39
|
+
*/
|
|
40
|
+
name?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The source type of the skill. Valid values: REFERENCE (references the AI Registry) and STATIC (statically provided with the package).
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* REFERENCE
|
|
47
|
+
*/
|
|
48
|
+
sourceType?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The legacy compatibility field. Use sourceType and versionSelector for new requests.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* 1.0.0
|
|
55
|
+
*/
|
|
56
|
+
version?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* The referenced version selector. If omitted, the default value is LABEL/latest. Only LABEL/latest is supported in the current phase.
|
|
60
|
+
*/
|
|
61
|
+
versionSelector?: GetExternalAgentResponseBodyDataConfiguredSkillsVersionSelector;
|
|
62
|
+
static names(): {
|
|
63
|
+
[key: string]: string;
|
|
64
|
+
};
|
|
65
|
+
static types(): {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
};
|
|
68
|
+
validate(): void;
|
|
69
|
+
constructor(map?: {
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
});
|
|
72
|
+
}
|
|
2
73
|
export declare class GetExternalAgentResponseBodyDataExternalAgentStatus extends $dara.Model {
|
|
3
74
|
/**
|
|
4
75
|
* @remarks
|
|
5
|
-
* The heartbeat status. ONLINE indicates that the most recent heartbeat
|
|
6
|
-
* - ONLINE: Online.
|
|
7
|
-
* - STALE: Heartbeat expired.
|
|
8
|
-
* - UNKNOWN: Unknown.
|
|
76
|
+
* 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).
|
|
9
77
|
*
|
|
10
78
|
* @example
|
|
11
79
|
* ONLINE
|
|
@@ -13,7 +81,7 @@ export declare class GetExternalAgentResponseBodyDataExternalAgentStatus extends
|
|
|
13
81
|
heartbeatStatus?: string;
|
|
14
82
|
/**
|
|
15
83
|
* @remarks
|
|
16
|
-
* The
|
|
84
|
+
* The last active time of the external agent in RFC 3339 format.
|
|
17
85
|
*
|
|
18
86
|
* @example
|
|
19
87
|
* 2026-01-01T00:00:00Z
|
|
@@ -21,7 +89,7 @@ export declare class GetExternalAgentResponseBodyDataExternalAgentStatus extends
|
|
|
21
89
|
lastActiveAt?: string;
|
|
22
90
|
/**
|
|
23
91
|
* @remarks
|
|
24
|
-
* The
|
|
92
|
+
* The last heartbeat time of the external agent in RFC 3339 format.
|
|
25
93
|
*
|
|
26
94
|
* @example
|
|
27
95
|
* 2026-01-01T00:00:00Z
|
|
@@ -57,7 +125,7 @@ export declare class GetExternalAgentResponseBodyDataExternalAgentStatus extends
|
|
|
57
125
|
export declare class GetExternalAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
58
126
|
/**
|
|
59
127
|
* @remarks
|
|
60
|
-
*
|
|
128
|
+
* Specifies whether the quota is enabled. This field is not returned if no quota is configured.
|
|
61
129
|
*
|
|
62
130
|
* @example
|
|
63
131
|
* true
|
|
@@ -65,7 +133,7 @@ export declare class GetExternalAgentResponseBodyDataModelQuota extends $dara.Mo
|
|
|
65
133
|
enabled?: boolean;
|
|
66
134
|
/**
|
|
67
135
|
* @remarks
|
|
68
|
-
* The quota limit type.
|
|
136
|
+
* The quota limit type. Only token is supported.
|
|
69
137
|
*
|
|
70
138
|
* @example
|
|
71
139
|
* token
|
|
@@ -73,7 +141,7 @@ export declare class GetExternalAgentResponseBodyDataModelQuota extends $dara.Mo
|
|
|
73
141
|
limitType?: string;
|
|
74
142
|
/**
|
|
75
143
|
* @remarks
|
|
76
|
-
*
|
|
144
|
+
* Specifies whether the quota is exceeded in the current period. This field is read-only and returned by the backend.
|
|
77
145
|
*
|
|
78
146
|
* @example
|
|
79
147
|
* false
|
|
@@ -81,7 +149,7 @@ export declare class GetExternalAgentResponseBodyDataModelQuota extends $dara.Mo
|
|
|
81
149
|
overLimit?: boolean;
|
|
82
150
|
/**
|
|
83
151
|
* @remarks
|
|
84
|
-
* The quota statistical period. day
|
|
152
|
+
* The quota statistical period. Valid values: day (daily) and month (monthly).
|
|
85
153
|
*
|
|
86
154
|
* @example
|
|
87
155
|
* day
|
|
@@ -89,7 +157,7 @@ export declare class GetExternalAgentResponseBodyDataModelQuota extends $dara.Mo
|
|
|
89
157
|
periodType?: string;
|
|
90
158
|
/**
|
|
91
159
|
* @remarks
|
|
92
|
-
* The gateway quota rule status. This is
|
|
160
|
+
* The gateway quota rule status. This field is read-only and returned by the backend.
|
|
93
161
|
*
|
|
94
162
|
* @example
|
|
95
163
|
* ACTIVE
|
|
@@ -97,7 +165,7 @@ export declare class GetExternalAgentResponseBodyDataModelQuota extends $dara.Mo
|
|
|
97
165
|
ruleStatus?: string;
|
|
98
166
|
/**
|
|
99
167
|
* @remarks
|
|
100
|
-
* The maximum number of tokens
|
|
168
|
+
* The maximum number of tokens allowed to be consumed in a single period.
|
|
101
169
|
*
|
|
102
170
|
* @example
|
|
103
171
|
* 1000000
|
|
@@ -105,7 +173,7 @@ export declare class GetExternalAgentResponseBodyDataModelQuota extends $dara.Mo
|
|
|
105
173
|
usageLimit?: number;
|
|
106
174
|
/**
|
|
107
175
|
* @remarks
|
|
108
|
-
* The number of tokens consumed in the current
|
|
176
|
+
* The number of tokens consumed in the current period. This field is read-only and returned by the backend.
|
|
109
177
|
*
|
|
110
178
|
* @example
|
|
111
179
|
* 12345
|
|
@@ -133,7 +201,7 @@ export declare class GetExternalAgentResponseBodyDataModel extends $dara.Model {
|
|
|
133
201
|
modelConnectionId?: string;
|
|
134
202
|
/**
|
|
135
203
|
* @remarks
|
|
136
|
-
* The upstream model
|
|
204
|
+
* The name of the upstream model.
|
|
137
205
|
*
|
|
138
206
|
* @example
|
|
139
207
|
* qwen-max
|
|
@@ -141,7 +209,7 @@ export declare class GetExternalAgentResponseBodyDataModel extends $dara.Model {
|
|
|
141
209
|
modelName?: string;
|
|
142
210
|
/**
|
|
143
211
|
* @remarks
|
|
144
|
-
* The model token quota configuration and
|
|
212
|
+
* The model token quota configuration and usage status for the current period. This field is empty if no quota is configured.
|
|
145
213
|
*/
|
|
146
214
|
quota?: GetExternalAgentResponseBodyDataModelQuota;
|
|
147
215
|
static names(): {
|
|
@@ -155,17 +223,75 @@ export declare class GetExternalAgentResponseBodyDataModel extends $dara.Model {
|
|
|
155
223
|
[key: string]: any;
|
|
156
224
|
});
|
|
157
225
|
}
|
|
226
|
+
export declare class GetExternalAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
|
|
227
|
+
/**
|
|
228
|
+
* @remarks
|
|
229
|
+
* The type of the version selector. Valid values: LABEL (selects by tag) and VERSION (selects by specific version).
|
|
230
|
+
*
|
|
231
|
+
* @example
|
|
232
|
+
* LABEL
|
|
233
|
+
*/
|
|
234
|
+
type?: string;
|
|
235
|
+
/**
|
|
236
|
+
* @remarks
|
|
237
|
+
* 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.
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* latest
|
|
241
|
+
*/
|
|
242
|
+
value?: string;
|
|
243
|
+
static names(): {
|
|
244
|
+
[key: string]: string;
|
|
245
|
+
};
|
|
246
|
+
static types(): {
|
|
247
|
+
[key: string]: any;
|
|
248
|
+
};
|
|
249
|
+
validate(): void;
|
|
250
|
+
constructor(map?: {
|
|
251
|
+
[key: string]: any;
|
|
252
|
+
});
|
|
253
|
+
}
|
|
158
254
|
export declare class GetExternalAgentResponseBodyDataSkills extends $dara.Model {
|
|
159
255
|
/**
|
|
160
256
|
* @remarks
|
|
161
|
-
* The
|
|
257
|
+
* The effective version at runtime. This field is read-only.
|
|
162
258
|
*
|
|
163
|
-
*
|
|
259
|
+
* @example
|
|
260
|
+
* 1.0.0
|
|
261
|
+
*/
|
|
262
|
+
appliedVersion?: string;
|
|
263
|
+
/**
|
|
264
|
+
* @remarks
|
|
265
|
+
* Specifies whether the skill is from a fixed template. This field is read-only. Template items cannot be removed.
|
|
266
|
+
*
|
|
267
|
+
* @example
|
|
268
|
+
* false
|
|
269
|
+
*/
|
|
270
|
+
fromTemplate?: boolean;
|
|
271
|
+
/**
|
|
272
|
+
* @remarks
|
|
273
|
+
* The name of the skill.
|
|
164
274
|
*
|
|
165
275
|
* @example
|
|
166
276
|
* code-analysis
|
|
167
277
|
*/
|
|
168
278
|
name?: string;
|
|
279
|
+
/**
|
|
280
|
+
* @remarks
|
|
281
|
+
* The current target version. This field is read-only.
|
|
282
|
+
*
|
|
283
|
+
* @example
|
|
284
|
+
* 1.0.0
|
|
285
|
+
*/
|
|
286
|
+
resolvedVersion?: string;
|
|
287
|
+
/**
|
|
288
|
+
* @remarks
|
|
289
|
+
* The source type of the skill. Valid values: REFERENCE (references the AI Registry) and STATIC (statically provided with the package).
|
|
290
|
+
*
|
|
291
|
+
* @example
|
|
292
|
+
* REFERENCE
|
|
293
|
+
*/
|
|
294
|
+
sourceType?: string;
|
|
169
295
|
/**
|
|
170
296
|
* @remarks
|
|
171
297
|
* The skill version.
|
|
@@ -174,6 +300,11 @@ export declare class GetExternalAgentResponseBodyDataSkills extends $dara.Model
|
|
|
174
300
|
* 1.0.0
|
|
175
301
|
*/
|
|
176
302
|
version?: string;
|
|
303
|
+
/**
|
|
304
|
+
* @remarks
|
|
305
|
+
* The referenced version selector. If omitted, the default value is LABEL/latest.
|
|
306
|
+
*/
|
|
307
|
+
versionSelector?: GetExternalAgentResponseBodyDataSkillsVersionSelector;
|
|
177
308
|
static names(): {
|
|
178
309
|
[key: string]: string;
|
|
179
310
|
};
|
|
@@ -247,8 +378,7 @@ export declare class GetExternalAgentResponseBodyDataTools extends $dara.Model {
|
|
|
247
378
|
name?: string;
|
|
248
379
|
/**
|
|
249
380
|
* @remarks
|
|
250
|
-
* The tool type. Valid values:
|
|
251
|
-
* - MCP: MCP tool.
|
|
381
|
+
* The tool type. Valid values: MCP.
|
|
252
382
|
*
|
|
253
383
|
* This parameter is required.
|
|
254
384
|
*
|
|
@@ -276,6 +406,11 @@ export declare class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
276
406
|
* agent-1
|
|
277
407
|
*/
|
|
278
408
|
agentId?: string;
|
|
409
|
+
/**
|
|
410
|
+
* @remarks
|
|
411
|
+
* 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.
|
|
412
|
+
*/
|
|
413
|
+
configuredSkills?: GetExternalAgentResponseBodyDataConfiguredSkills[];
|
|
279
414
|
/**
|
|
280
415
|
* @remarks
|
|
281
416
|
* The creation mode.
|
|
@@ -305,17 +440,17 @@ export declare class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
305
440
|
* The description of the external agent.
|
|
306
441
|
*
|
|
307
442
|
* @example
|
|
308
|
-
*
|
|
443
|
+
* Code review agent running in the user environment
|
|
309
444
|
*/
|
|
310
445
|
description?: string;
|
|
311
446
|
/**
|
|
312
447
|
* @remarks
|
|
313
|
-
* The
|
|
448
|
+
* The running status information reported by the external agent.
|
|
314
449
|
*/
|
|
315
450
|
externalAgentStatus?: GetExternalAgentResponseBodyDataExternalAgentStatus;
|
|
316
451
|
/**
|
|
317
452
|
* @remarks
|
|
318
|
-
* The agent instruction
|
|
453
|
+
* The agent instruction used to guide the behavior of the agent.
|
|
319
454
|
*
|
|
320
455
|
* @example
|
|
321
456
|
* You are a code review assistant
|
|
@@ -331,13 +466,7 @@ export declare class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
331
466
|
latestSpecVersion?: number;
|
|
332
467
|
/**
|
|
333
468
|
* @remarks
|
|
334
|
-
* The processing status of the latest specification version. Valid values:
|
|
335
|
-
* - pending: Pending.
|
|
336
|
-
* - processing: Processing.
|
|
337
|
-
* - waiting_retry: Waiting for retry.
|
|
338
|
-
* - succeeded: Succeeded.
|
|
339
|
-
* - failed: Failed.
|
|
340
|
-
* - superseded: Superseded by a newer version.
|
|
469
|
+
* 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).
|
|
341
470
|
*
|
|
342
471
|
* @example
|
|
343
472
|
* pending
|
|
@@ -345,14 +474,12 @@ export declare class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
345
474
|
latestVersionStatus?: string;
|
|
346
475
|
/**
|
|
347
476
|
* @remarks
|
|
348
|
-
* The model configuration. This
|
|
477
|
+
* The model configuration. This field is available only when modelSource is set to PLATFORM.
|
|
349
478
|
*/
|
|
350
479
|
model?: GetExternalAgentResponseBodyDataModel;
|
|
351
480
|
/**
|
|
352
481
|
* @remarks
|
|
353
|
-
* The model configuration
|
|
354
|
-
* - PLATFORM: Platform model.
|
|
355
|
-
* - RUNTIME: Runtime model.
|
|
482
|
+
* 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).
|
|
356
483
|
*
|
|
357
484
|
* @example
|
|
358
485
|
* PLATFORM
|
|
@@ -389,13 +516,7 @@ export declare class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
389
516
|
skills?: GetExternalAgentResponseBodyDataSkills[];
|
|
390
517
|
/**
|
|
391
518
|
* @remarks
|
|
392
|
-
* The status of the external agent. Valid values:
|
|
393
|
-
* - Creating: Being created.
|
|
394
|
-
* - Running: Running.
|
|
395
|
-
* - Failed: Failed.
|
|
396
|
-
* - Updating: Being updated.
|
|
397
|
-
* - Deleting: Being deleted.
|
|
398
|
-
* - Deleted: Deleted.
|
|
519
|
+
* The status of the external agent. Valid values: Creating (creating), Running (running), Failed (failed), Updating (updating), Deleting (deleting), and Deleted (deleted).
|
|
399
520
|
*
|
|
400
521
|
* @example
|
|
401
522
|
* Running
|
|
@@ -441,7 +562,7 @@ export declare class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
441
562
|
export declare class GetExternalAgentResponseBody extends $dara.Model {
|
|
442
563
|
/**
|
|
443
564
|
* @remarks
|
|
444
|
-
* The business status code. The value is SUCCESS
|
|
565
|
+
* The business status code. The value is SUCCESS if the request is successful.
|
|
445
566
|
*
|
|
446
567
|
* @example
|
|
447
568
|
* SUCCESS
|
|
@@ -454,7 +575,7 @@ export declare class GetExternalAgentResponseBody extends $dara.Model {
|
|
|
454
575
|
data?: GetExternalAgentResponseBodyData;
|
|
455
576
|
/**
|
|
456
577
|
* @remarks
|
|
457
|
-
* The HTTP status code.
|
|
578
|
+
* The HTTP status code. 200 indicates success.
|
|
458
579
|
*
|
|
459
580
|
* @example
|
|
460
581
|
* 200
|
|
@@ -478,7 +599,7 @@ export declare class GetExternalAgentResponseBody extends $dara.Model {
|
|
|
478
599
|
requestId?: string;
|
|
479
600
|
/**
|
|
480
601
|
* @remarks
|
|
481
|
-
* Indicates whether the request
|
|
602
|
+
* Indicates whether the request is successful.
|
|
482
603
|
*/
|
|
483
604
|
success?: boolean;
|
|
484
605
|
static names(): {
|
|
@@ -33,9 +33,58 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.GetExternalAgentResponseBody = exports.GetExternalAgentResponseBodyData = exports.GetExternalAgentResponseBodyDataTools = exports.GetExternalAgentResponseBodyDataTemplate = exports.GetExternalAgentResponseBodyDataTemplateAiRegistry = exports.GetExternalAgentResponseBodyDataSkills = exports.GetExternalAgentResponseBodyDataModel = exports.GetExternalAgentResponseBodyDataModelQuota = exports.GetExternalAgentResponseBodyDataExternalAgentStatus = void 0;
|
|
36
|
+
exports.GetExternalAgentResponseBody = exports.GetExternalAgentResponseBodyData = exports.GetExternalAgentResponseBodyDataTools = exports.GetExternalAgentResponseBodyDataTemplate = exports.GetExternalAgentResponseBodyDataTemplateAiRegistry = exports.GetExternalAgentResponseBodyDataSkills = exports.GetExternalAgentResponseBodyDataSkillsVersionSelector = exports.GetExternalAgentResponseBodyDataModel = exports.GetExternalAgentResponseBodyDataModelQuota = exports.GetExternalAgentResponseBodyDataExternalAgentStatus = exports.GetExternalAgentResponseBodyDataConfiguredSkills = exports.GetExternalAgentResponseBodyDataConfiguredSkillsVersionSelector = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class GetExternalAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
type: 'type',
|
|
43
|
+
value: 'value',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
type: 'string',
|
|
49
|
+
value: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.GetExternalAgentResponseBodyDataConfiguredSkillsVersionSelector = GetExternalAgentResponseBodyDataConfiguredSkillsVersionSelector;
|
|
60
|
+
class GetExternalAgentResponseBodyDataConfiguredSkills extends $dara.Model {
|
|
61
|
+
static names() {
|
|
62
|
+
return {
|
|
63
|
+
name: 'name',
|
|
64
|
+
sourceType: 'sourceType',
|
|
65
|
+
version: 'version',
|
|
66
|
+
versionSelector: 'versionSelector',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
static types() {
|
|
70
|
+
return {
|
|
71
|
+
name: 'string',
|
|
72
|
+
sourceType: 'string',
|
|
73
|
+
version: 'string',
|
|
74
|
+
versionSelector: GetExternalAgentResponseBodyDataConfiguredSkillsVersionSelector,
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
validate() {
|
|
78
|
+
if (this.versionSelector && typeof this.versionSelector.validate === 'function') {
|
|
79
|
+
this.versionSelector.validate();
|
|
80
|
+
}
|
|
81
|
+
super.validate();
|
|
82
|
+
}
|
|
83
|
+
constructor(map) {
|
|
84
|
+
super(map);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.GetExternalAgentResponseBodyDataConfiguredSkills = GetExternalAgentResponseBodyDataConfiguredSkills;
|
|
39
88
|
class GetExternalAgentResponseBodyDataExternalAgentStatus extends $dara.Model {
|
|
40
89
|
static names() {
|
|
41
90
|
return {
|
|
@@ -120,20 +169,54 @@ class GetExternalAgentResponseBodyDataModel extends $dara.Model {
|
|
|
120
169
|
}
|
|
121
170
|
}
|
|
122
171
|
exports.GetExternalAgentResponseBodyDataModel = GetExternalAgentResponseBodyDataModel;
|
|
172
|
+
class GetExternalAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
|
|
173
|
+
static names() {
|
|
174
|
+
return {
|
|
175
|
+
type: 'type',
|
|
176
|
+
value: 'value',
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
static types() {
|
|
180
|
+
return {
|
|
181
|
+
type: 'string',
|
|
182
|
+
value: 'string',
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
validate() {
|
|
186
|
+
super.validate();
|
|
187
|
+
}
|
|
188
|
+
constructor(map) {
|
|
189
|
+
super(map);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
exports.GetExternalAgentResponseBodyDataSkillsVersionSelector = GetExternalAgentResponseBodyDataSkillsVersionSelector;
|
|
123
193
|
class GetExternalAgentResponseBodyDataSkills extends $dara.Model {
|
|
124
194
|
static names() {
|
|
125
195
|
return {
|
|
196
|
+
appliedVersion: 'appliedVersion',
|
|
197
|
+
fromTemplate: 'fromTemplate',
|
|
126
198
|
name: 'name',
|
|
199
|
+
resolvedVersion: 'resolvedVersion',
|
|
200
|
+
sourceType: 'sourceType',
|
|
127
201
|
version: 'version',
|
|
202
|
+
versionSelector: 'versionSelector',
|
|
128
203
|
};
|
|
129
204
|
}
|
|
130
205
|
static types() {
|
|
131
206
|
return {
|
|
207
|
+
appliedVersion: 'string',
|
|
208
|
+
fromTemplate: 'boolean',
|
|
132
209
|
name: 'string',
|
|
210
|
+
resolvedVersion: 'string',
|
|
211
|
+
sourceType: 'string',
|
|
133
212
|
version: 'string',
|
|
213
|
+
versionSelector: GetExternalAgentResponseBodyDataSkillsVersionSelector,
|
|
134
214
|
};
|
|
135
215
|
}
|
|
136
216
|
validate() {
|
|
217
|
+
if (this.versionSelector && typeof this.versionSelector.validate === 'function') {
|
|
218
|
+
this.versionSelector.validate();
|
|
219
|
+
}
|
|
137
220
|
super.validate();
|
|
138
221
|
}
|
|
139
222
|
constructor(map) {
|
|
@@ -209,6 +292,7 @@ class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
209
292
|
static names() {
|
|
210
293
|
return {
|
|
211
294
|
agentId: 'agentId',
|
|
295
|
+
configuredSkills: 'configuredSkills',
|
|
212
296
|
createMode: 'createMode',
|
|
213
297
|
createdAt: 'createdAt',
|
|
214
298
|
deployType: 'deployType',
|
|
@@ -233,6 +317,7 @@ class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
233
317
|
static types() {
|
|
234
318
|
return {
|
|
235
319
|
agentId: 'string',
|
|
320
|
+
configuredSkills: { 'type': 'array', 'itemType': GetExternalAgentResponseBodyDataConfiguredSkills },
|
|
236
321
|
createMode: 'string',
|
|
237
322
|
createdAt: 'string',
|
|
238
323
|
deployType: 'string',
|
|
@@ -255,6 +340,9 @@ class GetExternalAgentResponseBodyData extends $dara.Model {
|
|
|
255
340
|
};
|
|
256
341
|
}
|
|
257
342
|
validate() {
|
|
343
|
+
if (Array.isArray(this.configuredSkills)) {
|
|
344
|
+
$dara.Model.validateArray(this.configuredSkills);
|
|
345
|
+
}
|
|
258
346
|
if (this.externalAgentStatus && typeof this.externalAgentStatus.validate === 'function') {
|
|
259
347
|
this.externalAgentStatus.validate();
|
|
260
348
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetExternalAgentResponseBody.js","sourceRoot":"","sources":["../../src/models/GetExternalAgentResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,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CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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;AA3ED,oEA2EC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ListCustomAgentsRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The maximum number of entries to return per page. Valid values: 1 to 100. If this parameter is omitted or set to 0, the default value 20 is used.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* 20
|
|
9
|
+
*/
|
|
10
|
+
maxResults?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The opaque token used to query the next page. Omit this parameter in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. Do not construct the token yourself.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* djE6YWdlbnRjb3JlLmFnZW50Lmxpc3QuY3VzdG9tOjIw
|
|
17
|
+
*/
|
|
18
|
+
nextToken?: string;
|
|
19
|
+
static names(): {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
static types(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
validate(): void;
|
|
26
|
+
constructor(map?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.ListCustomAgentsRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ListCustomAgentsRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
maxResults: 'maxResults',
|
|
43
|
+
nextToken: 'nextToken',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
maxResults: 'number',
|
|
49
|
+
nextToken: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.ListCustomAgentsRequest = ListCustomAgentsRequest;
|
|
60
|
+
//# sourceMappingURL=ListCustomAgentsRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListCustomAgentsRequest.js","sourceRoot":"","sources":["../../src/models/ListCustomAgentsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAiBtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;SACpB,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,0DAsCC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { ListCustomAgentsResponseBody } from "./ListCustomAgentsResponseBody";
|
|
3
|
+
export declare class ListCustomAgentsResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: ListCustomAgentsResponseBody;
|
|
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
|
+
}
|