@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
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The JSON configuration of the custom agent. You must specify name, artifact, roleArn, and runtime.
|
|
6
|
+
*/
|
|
7
|
+
bodyShrink?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @remarks
|
|
10
|
+
* Idempotency is not currently guaranteed. Do not rely on this parameter to prevent duplicate requests.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* custom-agent-request-20261010-001
|
|
14
|
+
*/
|
|
15
|
+
clientToken?: string;
|
|
16
|
+
static names(): {
|
|
17
|
+
[key: string]: string;
|
|
18
|
+
};
|
|
19
|
+
static types(): {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
validate(): void;
|
|
23
|
+
constructor(map?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -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.CreateCustomAgentShrinkRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
bodyShrink: 'body',
|
|
43
|
+
clientToken: 'clientToken',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
bodyShrink: 'string',
|
|
49
|
+
clientToken: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.CreateCustomAgentShrinkRequest = CreateCustomAgentShrinkRequest;
|
|
60
|
+
//# sourceMappingURL=CreateCustomAgentShrinkRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateCustomAgentShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateCustomAgentShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAc7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,MAAM;YAClB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;SACtB,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;AAnCD,wEAmCC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateExternalAgentRequestBodyModelQuota extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Specifies whether to enable token quota.
|
|
5
|
+
* Specifies whether to enable the token quota. Default value: true. If you set this parameter to false, the quota is disabled and existing quota rules are deleted.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* true
|
|
@@ -10,7 +10,7 @@ export declare class CreateExternalAgentRequestBodyModelQuota extends $dara.Mode
|
|
|
10
10
|
enabled?: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The quota limit type.
|
|
13
|
+
* The quota limit type. This parameter is required when the quota is enabled. Fixed value: token.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* token
|
|
@@ -18,7 +18,9 @@ export declare class CreateExternalAgentRequestBodyModelQuota extends $dara.Mode
|
|
|
18
18
|
limitType?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The
|
|
21
|
+
* The statistical period of the quota. This parameter is required when the quota is enabled. Valid values:
|
|
22
|
+
* - day: Daily.
|
|
23
|
+
* - month: Monthly.
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* day
|
|
@@ -26,7 +28,7 @@ export declare class CreateExternalAgentRequestBodyModelQuota extends $dara.Mode
|
|
|
26
28
|
periodType?: string;
|
|
27
29
|
/**
|
|
28
30
|
* @remarks
|
|
29
|
-
* The maximum number of tokens that can be consumed
|
|
31
|
+
* The maximum number of tokens that can be consumed in a single period. This parameter is required when the quota is enabled and must be greater than 0.
|
|
30
32
|
*
|
|
31
33
|
* @example
|
|
32
34
|
* 1000000
|
|
@@ -66,7 +68,7 @@ export declare class CreateExternalAgentRequestBodyModel extends $dara.Model {
|
|
|
66
68
|
modelName?: string;
|
|
67
69
|
/**
|
|
68
70
|
* @remarks
|
|
69
|
-
* The model token quota configuration. If not specified, no quota is configured.
|
|
71
|
+
* The model token quota configuration. If this parameter is not specified, no quota is configured.
|
|
70
72
|
*/
|
|
71
73
|
quota?: CreateExternalAgentRequestBodyModelQuota;
|
|
72
74
|
static names(): {
|
|
@@ -80,6 +82,36 @@ export declare class CreateExternalAgentRequestBodyModel extends $dara.Model {
|
|
|
80
82
|
[key: string]: any;
|
|
81
83
|
});
|
|
82
84
|
}
|
|
85
|
+
export declare class CreateExternalAgentRequestBodySkillsVersionSelector extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The type of the version selector. Valid values:
|
|
89
|
+
* - LABEL: By label.
|
|
90
|
+
* - VERSION: By specific version.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* LABEL
|
|
94
|
+
*/
|
|
95
|
+
type?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The value of the selector. If the type is LABEL, this value is the label name, such as latest. If the type is VERSION, this value is the specific version number.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* latest
|
|
102
|
+
*/
|
|
103
|
+
value?: string;
|
|
104
|
+
static names(): {
|
|
105
|
+
[key: string]: string;
|
|
106
|
+
};
|
|
107
|
+
static types(): {
|
|
108
|
+
[key: string]: any;
|
|
109
|
+
};
|
|
110
|
+
validate(): void;
|
|
111
|
+
constructor(map?: {
|
|
112
|
+
[key: string]: any;
|
|
113
|
+
});
|
|
114
|
+
}
|
|
83
115
|
export declare class CreateExternalAgentRequestBodySkills extends $dara.Model {
|
|
84
116
|
/**
|
|
85
117
|
* @remarks
|
|
@@ -91,6 +123,16 @@ export declare class CreateExternalAgentRequestBodySkills extends $dara.Model {
|
|
|
91
123
|
* code-analysis
|
|
92
124
|
*/
|
|
93
125
|
name?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The source type of the skill. Valid values:
|
|
129
|
+
* - REFERENCE: References the AI Registry.
|
|
130
|
+
* - STATIC: Statically provided with the package.
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* REFERENCE
|
|
134
|
+
*/
|
|
135
|
+
sourceType?: string;
|
|
94
136
|
/**
|
|
95
137
|
* @remarks
|
|
96
138
|
* The skill version.
|
|
@@ -99,6 +141,11 @@ export declare class CreateExternalAgentRequestBodySkills extends $dara.Model {
|
|
|
99
141
|
* 1.0.0
|
|
100
142
|
*/
|
|
101
143
|
version?: string;
|
|
144
|
+
/**
|
|
145
|
+
* @remarks
|
|
146
|
+
* The referenced version selector. If omitted, the default value is LABEL/latest. Currently, only LABEL/latest is supported.
|
|
147
|
+
*/
|
|
148
|
+
versionSelector?: CreateExternalAgentRequestBodySkillsVersionSelector;
|
|
102
149
|
static names(): {
|
|
103
150
|
[key: string]: string;
|
|
104
151
|
};
|
|
@@ -113,7 +160,7 @@ export declare class CreateExternalAgentRequestBodySkills extends $dara.Model {
|
|
|
113
160
|
export declare class CreateExternalAgentRequestBodyTemplateAiRegistry extends $dara.Model {
|
|
114
161
|
/**
|
|
115
162
|
* @remarks
|
|
116
|
-
* The name of the template in AI Registry.
|
|
163
|
+
* The name of the template in the AI Registry.
|
|
117
164
|
*
|
|
118
165
|
* This parameter is required.
|
|
119
166
|
*
|
|
@@ -123,7 +170,7 @@ export declare class CreateExternalAgentRequestBodyTemplateAiRegistry extends $d
|
|
|
123
170
|
name?: string;
|
|
124
171
|
/**
|
|
125
172
|
* @remarks
|
|
126
|
-
* The version of the template in AI Registry.
|
|
173
|
+
* The version of the template in the AI Registry.
|
|
127
174
|
*
|
|
128
175
|
* This parameter is required.
|
|
129
176
|
*
|
|
@@ -198,12 +245,12 @@ export declare class CreateExternalAgentRequestBody extends $dara.Model {
|
|
|
198
245
|
* The description of the external agent.
|
|
199
246
|
*
|
|
200
247
|
* @example
|
|
201
|
-
*
|
|
248
|
+
* Code review agent running in the user environment
|
|
202
249
|
*/
|
|
203
250
|
description?: string;
|
|
204
251
|
/**
|
|
205
252
|
* @remarks
|
|
206
|
-
* The
|
|
253
|
+
* The instructions that guide the behavior of the agent.
|
|
207
254
|
*
|
|
208
255
|
* @example
|
|
209
256
|
* You are a code review assistant
|
|
@@ -211,14 +258,14 @@ export declare class CreateExternalAgentRequestBody extends $dara.Model {
|
|
|
211
258
|
instruction?: string;
|
|
212
259
|
/**
|
|
213
260
|
* @remarks
|
|
214
|
-
* The model configuration.
|
|
261
|
+
* The model configuration. This parameter is available only when modelSource is set to PLATFORM.
|
|
215
262
|
*/
|
|
216
263
|
model?: CreateExternalAgentRequestBodyModel;
|
|
217
264
|
/**
|
|
218
265
|
* @remarks
|
|
219
|
-
* The model configuration
|
|
220
|
-
* - PLATFORM:
|
|
221
|
-
* - RUNTIME:
|
|
266
|
+
* 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, and the model parameter cannot be passed at the same time. Valid values:
|
|
267
|
+
* - PLATFORM: Platform model.
|
|
268
|
+
* - RUNTIME: Runtime model.
|
|
222
269
|
*
|
|
223
270
|
* @example
|
|
224
271
|
* PLATFORM
|
|
@@ -268,7 +315,7 @@ export declare class CreateExternalAgentRequest extends $dara.Model {
|
|
|
268
315
|
body?: CreateExternalAgentRequestBody;
|
|
269
316
|
/**
|
|
270
317
|
* @remarks
|
|
271
|
-
* The reserved idempotency token. The backend does not provide idempotency
|
|
318
|
+
* The reserved idempotency token. The backend does not provide idempotency guarantees in the current phase.
|
|
272
319
|
*
|
|
273
320
|
* @example
|
|
274
321
|
* client-token-1
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.CreateExternalAgentRequest = exports.CreateExternalAgentRequestBody = exports.CreateExternalAgentRequestBodyTools = exports.CreateExternalAgentRequestBodyTemplate = exports.CreateExternalAgentRequestBodyTemplateAiRegistry = exports.CreateExternalAgentRequestBodySkills = exports.CreateExternalAgentRequestBodyModel = exports.CreateExternalAgentRequestBodyModelQuota = void 0;
|
|
36
|
+
exports.CreateExternalAgentRequest = exports.CreateExternalAgentRequestBody = exports.CreateExternalAgentRequestBodyTools = exports.CreateExternalAgentRequestBodyTemplate = exports.CreateExternalAgentRequestBodyTemplateAiRegistry = exports.CreateExternalAgentRequestBodySkills = exports.CreateExternalAgentRequestBodySkillsVersionSelector = exports.CreateExternalAgentRequestBodyModel = exports.CreateExternalAgentRequestBodyModelQuota = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
39
|
class CreateExternalAgentRequestBodyModelQuota extends $dara.Model {
|
|
@@ -87,20 +87,48 @@ class CreateExternalAgentRequestBodyModel extends $dara.Model {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
exports.CreateExternalAgentRequestBodyModel = CreateExternalAgentRequestBodyModel;
|
|
90
|
+
class CreateExternalAgentRequestBodySkillsVersionSelector extends $dara.Model {
|
|
91
|
+
static names() {
|
|
92
|
+
return {
|
|
93
|
+
type: 'type',
|
|
94
|
+
value: 'value',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
static types() {
|
|
98
|
+
return {
|
|
99
|
+
type: 'string',
|
|
100
|
+
value: 'string',
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
validate() {
|
|
104
|
+
super.validate();
|
|
105
|
+
}
|
|
106
|
+
constructor(map) {
|
|
107
|
+
super(map);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.CreateExternalAgentRequestBodySkillsVersionSelector = CreateExternalAgentRequestBodySkillsVersionSelector;
|
|
90
111
|
class CreateExternalAgentRequestBodySkills extends $dara.Model {
|
|
91
112
|
static names() {
|
|
92
113
|
return {
|
|
93
114
|
name: 'name',
|
|
115
|
+
sourceType: 'sourceType',
|
|
94
116
|
version: 'version',
|
|
117
|
+
versionSelector: 'versionSelector',
|
|
95
118
|
};
|
|
96
119
|
}
|
|
97
120
|
static types() {
|
|
98
121
|
return {
|
|
99
122
|
name: 'string',
|
|
123
|
+
sourceType: 'string',
|
|
100
124
|
version: 'string',
|
|
125
|
+
versionSelector: CreateExternalAgentRequestBodySkillsVersionSelector,
|
|
101
126
|
};
|
|
102
127
|
}
|
|
103
128
|
validate() {
|
|
129
|
+
if (this.versionSelector && typeof this.versionSelector.validate === 'function') {
|
|
130
|
+
this.versionSelector.validate();
|
|
131
|
+
}
|
|
104
132
|
super.validate();
|
|
105
133
|
}
|
|
106
134
|
constructor(map) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateExternalAgentRequest.js","sourceRoot":"","sources":["../../src/models/CreateExternalAgentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG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