@wildix/wim-wilma-client 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist-cjs/Wilma.js +14 -0
  2. package/dist-cjs/commands/CreateAgentCommand.js +21 -0
  3. package/dist-cjs/commands/DeleteAgentCommand.js +21 -0
  4. package/dist-cjs/commands/ExecuteAgentCommand.js +21 -0
  5. package/dist-cjs/commands/GetAgentCommand.js +21 -0
  6. package/dist-cjs/commands/ListAgentsCommand.js +21 -0
  7. package/dist-cjs/commands/ListAgentsNamesCommand.js +21 -0
  8. package/dist-cjs/commands/UpdateAgentCommand.js +21 -0
  9. package/dist-cjs/commands/index.js +7 -0
  10. package/dist-cjs/models/models_0.js +43 -14
  11. package/dist-cjs/protocols/Aws_restJson1.js +269 -6
  12. package/dist-es/Wilma.js +14 -0
  13. package/dist-es/commands/CreateAgentCommand.js +17 -0
  14. package/dist-es/commands/DeleteAgentCommand.js +17 -0
  15. package/dist-es/commands/ExecuteAgentCommand.js +17 -0
  16. package/dist-es/commands/GetAgentCommand.js +17 -0
  17. package/dist-es/commands/ListAgentsCommand.js +17 -0
  18. package/dist-es/commands/ListAgentsNamesCommand.js +17 -0
  19. package/dist-es/commands/UpdateAgentCommand.js +17 -0
  20. package/dist-es/commands/index.js +7 -0
  21. package/dist-es/models/models_0.js +41 -12
  22. package/dist-es/protocols/Aws_restJson1.js +254 -5
  23. package/dist-types/Wilma.d.ts +51 -0
  24. package/dist-types/WilmaClient.d.ts +9 -2
  25. package/dist-types/commands/CreateAgentCommand.d.ts +142 -0
  26. package/dist-types/commands/DeleteAgentCommand.d.ts +73 -0
  27. package/dist-types/commands/ExecuteAgentCommand.d.ts +84 -0
  28. package/dist-types/commands/GetAgentCommand.d.ts +113 -0
  29. package/dist-types/commands/GetChatCommand.d.ts +2 -0
  30. package/dist-types/commands/ListAgentsCommand.d.ts +112 -0
  31. package/dist-types/commands/ListAgentsNamesCommand.d.ts +80 -0
  32. package/dist-types/commands/ListChatsCommand.d.ts +2 -0
  33. package/dist-types/commands/UpdateAgentCommand.d.ts +145 -0
  34. package/dist-types/commands/index.d.ts +7 -0
  35. package/dist-types/models/models_0.d.ts +333 -5
  36. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  37. package/dist-types/runtimeConfig.browser.d.ts +6 -1
  38. package/dist-types/runtimeConfig.d.ts +6 -1
  39. package/dist-types/runtimeConfig.native.d.ts +6 -1
  40. package/package.json +1 -1
@@ -0,0 +1,80 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WilmaClientResolvedConfig } from "../WilmaClient";
2
+ import { ListAgentsNamesInput, ListAgentsNamesOutput } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAgentsNamesCommand}.
14
+ */
15
+ export interface ListAgentsNamesCommandInput extends ListAgentsNamesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAgentsNamesCommand}.
21
+ */
22
+ export interface ListAgentsNamesCommandOutput extends ListAgentsNamesOutput, __MetadataBearer {
23
+ }
24
+ declare const ListAgentsNamesCommand_base: {
25
+ new (input: ListAgentsNamesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListAgentsNamesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Retrieves a list of agents names and basic information for the specified company.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaClient, ListAgentsNamesCommand } from "@wildix/wim-wilma-client"; // ES Modules import
35
+ * // const { WilmaClient, ListAgentsNamesCommand } = require("@wildix/wim-wilma-client"); // CommonJS import
36
+ * const client = new WilmaClient(config);
37
+ * const input = { // ListAgentsNamesInput
38
+ * company: "STRING_VALUE",
39
+ * };
40
+ * const command = new ListAgentsNamesCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListAgentsNamesOutput
43
+ * // agents: [ // AgentsInfoList // required
44
+ * // { // AgentInfo
45
+ * // id: "STRING_VALUE", // required
46
+ * // name: "STRING_VALUE", // required
47
+ * // model: "STRING_VALUE",
48
+ * // },
49
+ * // ],
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ListAgentsNamesCommandInput - {@link ListAgentsNamesCommandInput}
55
+ * @returns {@link ListAgentsNamesCommandOutput}
56
+ * @see {@link ListAgentsNamesCommandInput} for command's `input` shape.
57
+ * @see {@link ListAgentsNamesCommandOutput} for command's `response` shape.
58
+ * @see {@link WilmaClientResolvedConfig | config} for WilmaClient's `config` shape.
59
+ *
60
+ * @throws {@link ValidationException} (client fault)
61
+ *
62
+ * @throws {@link WilmaServiceException}
63
+ * <p>Base exception class for all service exceptions from Wilma service.</p>
64
+ *
65
+ *
66
+ * @public
67
+ */
68
+ export declare class ListAgentsNamesCommand extends ListAgentsNamesCommand_base {
69
+ /** @internal type navigation helper, not in runtime. */
70
+ protected static __types: {
71
+ api: {
72
+ input: ListAgentsNamesInput;
73
+ output: ListAgentsNamesOutput;
74
+ };
75
+ sdk: {
76
+ input: ListAgentsNamesCommandInput;
77
+ output: ListAgentsNamesCommandOutput;
78
+ };
79
+ };
80
+ }
@@ -48,6 +48,8 @@ declare const ListChatsCommand_base: {
48
48
  * // agentId: "STRING_VALUE",
49
49
  * // title: "STRING_VALUE",
50
50
  * // target: "STRING_VALUE",
51
+ * // options: "DOCUMENT_VALUE",
52
+ * // mentions: "DOCUMENT_VALUE",
51
53
  * // createdAt: "STRING_VALUE", // required
52
54
  * // updatedAt: "STRING_VALUE",
53
55
  * // },
@@ -0,0 +1,145 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WilmaClientResolvedConfig } from "../WilmaClient";
2
+ import { UpdateAgentInput, UpdateAgentOutput } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateAgentCommand}.
14
+ */
15
+ export interface UpdateAgentCommandInput extends UpdateAgentInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAgentCommand}.
21
+ */
22
+ export interface UpdateAgentCommandOutput extends UpdateAgentOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateAgentCommand_base: {
25
+ new (input: UpdateAgentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAgentCommandInput, UpdateAgentCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateAgentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAgentCommandInput, UpdateAgentCommandOutput, WilmaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Updates the configuration of an existing voice bot with new settings.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaClient, UpdateAgentCommand } from "@wildix/wim-wilma-client"; // ES Modules import
35
+ * // const { WilmaClient, UpdateAgentCommand } = require("@wildix/wim-wilma-client"); // CommonJS import
36
+ * const client = new WilmaClient(config);
37
+ * const input = { // UpdateAgentInput
38
+ * name: "STRING_VALUE", // required
39
+ * model: "STRING_VALUE",
40
+ * instructions: "STRING_VALUE", // required
41
+ * capabilities: [ // AgentCapabilitiesList
42
+ * { // AgentCapability Union: only one key present
43
+ * tool: { // AgentTool
44
+ * id: "STRING_VALUE", // required
45
+ * variables: [ // AgentToolVariablesList
46
+ * { // AgentToolVariable
47
+ * name: "STRING_VALUE", // required
48
+ * handler: { // AgentToolVariableHandler Union: only one key present
49
+ * auto: {},
50
+ * guided: { // AgentToolVariableGuidedHandler
51
+ * description: "STRING_VALUE", // required
52
+ * },
53
+ * predefined: {},
54
+ * },
55
+ * },
56
+ * ],
57
+ * },
58
+ * kb: { // AgentKnowledgeBase
59
+ * knowledgeBaseId: "STRING_VALUE",
60
+ * },
61
+ * },
62
+ * ],
63
+ * variables: [ // AgentVariablesList
64
+ * { // AgentVariable
65
+ * name: "STRING_VALUE", // required
66
+ * type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
67
+ * optional: true || false, // required
68
+ * },
69
+ * ],
70
+ * company: "STRING_VALUE",
71
+ * agentId: "STRING_VALUE", // required
72
+ * };
73
+ * const command = new UpdateAgentCommand(input);
74
+ * const response = await client.send(command);
75
+ * // { // UpdateAgentOutput
76
+ * // agent: { // Agent
77
+ * // name: "STRING_VALUE", // required
78
+ * // model: "STRING_VALUE",
79
+ * // instructions: "STRING_VALUE", // required
80
+ * // capabilities: [ // AgentCapabilitiesList
81
+ * // { // AgentCapability Union: only one key present
82
+ * // tool: { // AgentTool
83
+ * // id: "STRING_VALUE", // required
84
+ * // variables: [ // AgentToolVariablesList
85
+ * // { // AgentToolVariable
86
+ * // name: "STRING_VALUE", // required
87
+ * // handler: { // AgentToolVariableHandler Union: only one key present
88
+ * // auto: {},
89
+ * // guided: { // AgentToolVariableGuidedHandler
90
+ * // description: "STRING_VALUE", // required
91
+ * // },
92
+ * // predefined: {},
93
+ * // },
94
+ * // },
95
+ * // ],
96
+ * // },
97
+ * // kb: { // AgentKnowledgeBase
98
+ * // knowledgeBaseId: "STRING_VALUE",
99
+ * // },
100
+ * // },
101
+ * // ],
102
+ * // variables: [ // AgentVariablesList
103
+ * // { // AgentVariable
104
+ * // name: "STRING_VALUE", // required
105
+ * // type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
106
+ * // optional: true || false, // required
107
+ * // },
108
+ * // ],
109
+ * // id: "STRING_VALUE", // required
110
+ * // createdAt: "STRING_VALUE", // required
111
+ * // updatedAt: "STRING_VALUE",
112
+ * // },
113
+ * // };
114
+ *
115
+ * ```
116
+ *
117
+ * @param UpdateAgentCommandInput - {@link UpdateAgentCommandInput}
118
+ * @returns {@link UpdateAgentCommandOutput}
119
+ * @see {@link UpdateAgentCommandInput} for command's `input` shape.
120
+ * @see {@link UpdateAgentCommandOutput} for command's `response` shape.
121
+ * @see {@link WilmaClientResolvedConfig | config} for WilmaClient's `config` shape.
122
+ *
123
+ * @throws {@link NotFoundException} (client fault)
124
+ *
125
+ * @throws {@link ValidationException} (client fault)
126
+ *
127
+ * @throws {@link WilmaServiceException}
128
+ * <p>Base exception class for all service exceptions from Wilma service.</p>
129
+ *
130
+ *
131
+ * @public
132
+ */
133
+ export declare class UpdateAgentCommand extends UpdateAgentCommand_base {
134
+ /** @internal type navigation helper, not in runtime. */
135
+ protected static __types: {
136
+ api: {
137
+ input: UpdateAgentInput;
138
+ output: UpdateAgentOutput;
139
+ };
140
+ sdk: {
141
+ input: UpdateAgentCommandInput;
142
+ output: UpdateAgentCommandOutput;
143
+ };
144
+ };
145
+ }
@@ -1,7 +1,14 @@
1
+ export * from "./CreateAgentCommand";
2
+ export * from "./DeleteAgentCommand";
1
3
  export * from "./DeleteChatCommand";
2
4
  export * from "./DislikeAnswerCommand";
5
+ export * from "./ExecuteAgentCommand";
6
+ export * from "./GetAgentCommand";
3
7
  export * from "./GetChatCommand";
4
8
  export * from "./LikeAnswerCommand";
5
9
  export * from "./ListAgentFeedbacksCommand";
10
+ export * from "./ListAgentsCommand";
11
+ export * from "./ListAgentsNamesCommand";
6
12
  export * from "./ListChatsCommand";
7
13
  export * from "./ListFeedbacksCommand";
14
+ export * from "./UpdateAgentCommand";
@@ -1,6 +1,17 @@
1
1
  import { WilmaServiceException as __BaseException } from "./WilmaServiceException";
2
2
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
3
3
  import { DocumentType as __DocumentType } from "@smithy/types";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare class ForbiddenException extends __BaseException {
8
+ readonly name: "ForbiddenException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
14
+ }
4
15
  /**
5
16
  * @public
6
17
  */
@@ -26,13 +37,199 @@ export declare class ValidationException extends __BaseException {
26
37
  /**
27
38
  * @public
28
39
  */
29
- export declare class ForbiddenException extends __BaseException {
30
- readonly name: "ForbiddenException";
31
- readonly $fault: "client";
40
+ export interface AgentKnowledgeBase {
41
+ knowledgeBaseId?: string | undefined;
42
+ }
43
+ /**
44
+ * @public
45
+ */
46
+ export interface AgentToolVariableAutoHandler {
47
+ }
48
+ /**
49
+ * @public
50
+ */
51
+ export interface AgentToolVariableGuidedHandler {
52
+ description: string;
53
+ }
54
+ /**
55
+ * @public
56
+ */
57
+ export interface AgentToolVariablePredefinedHandler {
58
+ }
59
+ /**
60
+ * @public
61
+ */
62
+ export type AgentToolVariableHandler = AgentToolVariableHandler.AutoMember | AgentToolVariableHandler.GuidedMember | AgentToolVariableHandler.PredefinedMember | AgentToolVariableHandler.$UnknownMember;
63
+ /**
64
+ * @public
65
+ */
66
+ export declare namespace AgentToolVariableHandler {
67
+ interface AutoMember {
68
+ auto: AgentToolVariableAutoHandler;
69
+ guided?: never;
70
+ predefined?: never;
71
+ $unknown?: never;
72
+ }
73
+ interface GuidedMember {
74
+ auto?: never;
75
+ guided: AgentToolVariableGuidedHandler;
76
+ predefined?: never;
77
+ $unknown?: never;
78
+ }
79
+ interface PredefinedMember {
80
+ auto?: never;
81
+ guided?: never;
82
+ predefined: AgentToolVariablePredefinedHandler;
83
+ $unknown?: never;
84
+ }
32
85
  /**
33
- * @internal
86
+ * @public
34
87
  */
35
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
88
+ interface $UnknownMember {
89
+ auto?: never;
90
+ guided?: never;
91
+ predefined?: never;
92
+ $unknown: [string, any];
93
+ }
94
+ interface Visitor<T> {
95
+ auto: (value: AgentToolVariableAutoHandler) => T;
96
+ guided: (value: AgentToolVariableGuidedHandler) => T;
97
+ predefined: (value: AgentToolVariablePredefinedHandler) => T;
98
+ _: (name: string, value: any) => T;
99
+ }
100
+ const visit: <T>(value: AgentToolVariableHandler, visitor: Visitor<T>) => T;
101
+ }
102
+ /**
103
+ * @public
104
+ */
105
+ export interface AgentToolVariable {
106
+ /**
107
+ * Name of the tool variable, e.g.: 'myvar'
108
+ * @public
109
+ */
110
+ name: string;
111
+ handler?: AgentToolVariableHandler | undefined;
112
+ }
113
+ /**
114
+ * @public
115
+ */
116
+ export interface AgentTool {
117
+ /**
118
+ * Unique identifier of the tool
119
+ * @public
120
+ */
121
+ id: string;
122
+ variables?: (AgentToolVariable)[] | undefined;
123
+ }
124
+ /**
125
+ * @public
126
+ */
127
+ export type AgentCapability = AgentCapability.KbMember | AgentCapability.ToolMember | AgentCapability.$UnknownMember;
128
+ /**
129
+ * @public
130
+ */
131
+ export declare namespace AgentCapability {
132
+ interface ToolMember {
133
+ tool: AgentTool;
134
+ kb?: never;
135
+ $unknown?: never;
136
+ }
137
+ interface KbMember {
138
+ tool?: never;
139
+ kb: AgentKnowledgeBase;
140
+ $unknown?: never;
141
+ }
142
+ /**
143
+ * @public
144
+ */
145
+ interface $UnknownMember {
146
+ tool?: never;
147
+ kb?: never;
148
+ $unknown: [string, any];
149
+ }
150
+ interface Visitor<T> {
151
+ tool: (value: AgentTool) => T;
152
+ kb: (value: AgentKnowledgeBase) => T;
153
+ _: (name: string, value: any) => T;
154
+ }
155
+ const visit: <T>(value: AgentCapability, visitor: Visitor<T>) => T;
156
+ }
157
+ /**
158
+ * @public
159
+ * @enum
160
+ */
161
+ export declare const AgentVariableType: {
162
+ readonly BOOLEAN: "boolean";
163
+ readonly NUMBER: "number";
164
+ readonly NUMBER_ARRAY: "number_array";
165
+ readonly STRING: "string";
166
+ readonly STRING_ARRAY: "string_array";
167
+ };
168
+ /**
169
+ * @public
170
+ */
171
+ export type AgentVariableType = typeof AgentVariableType[keyof typeof AgentVariableType];
172
+ /**
173
+ * @public
174
+ */
175
+ export interface AgentVariable {
176
+ name: string;
177
+ type: AgentVariableType;
178
+ optional: boolean;
179
+ }
180
+ /**
181
+ * @public
182
+ */
183
+ export interface Agent {
184
+ name: string;
185
+ /**
186
+ * AI model specification using URI format for provider, model and parameters. Examples: 'default', 'google://gemini-3-flash-preview', 'openai://gpt-4o?timeout=30&temperature=0.7', 'openai://gpt-4.1'
187
+ * @public
188
+ */
189
+ model?: string | undefined;
190
+ instructions: string;
191
+ capabilities?: (AgentCapability)[] | undefined;
192
+ variables?: (AgentVariable)[] | undefined;
193
+ id: string;
194
+ createdAt: string;
195
+ updatedAt?: string | undefined;
196
+ }
197
+ /**
198
+ * @public
199
+ */
200
+ export interface AgentExecutionError {
201
+ /**
202
+ * Message of the agent execution error
203
+ * @public
204
+ */
205
+ message: string;
206
+ }
207
+ /**
208
+ * @public
209
+ */
210
+ export interface AgentExecutionResult {
211
+ /**
212
+ * Output of the tool execution
213
+ * @public
214
+ */
215
+ output: __DocumentType;
216
+ /**
217
+ * Error of the tool execution
218
+ * @public
219
+ */
220
+ error: AgentExecutionError;
221
+ }
222
+ /**
223
+ * @public
224
+ */
225
+ export interface AgentInfo {
226
+ id: string;
227
+ name: string;
228
+ /**
229
+ * AI model specification using URI format for provider, model and parameters. Examples: 'default', 'google://gemini-3-flash-preview', 'openai://gpt-4o?timeout=30&temperature=0.7', 'openai://gpt-4.1'
230
+ * @public
231
+ */
232
+ model?: string | undefined;
36
233
  }
37
234
  /**
38
235
  * @public
@@ -42,6 +239,8 @@ export interface Chat {
42
239
  agentId?: string | undefined;
43
240
  title?: string | undefined;
44
241
  target?: string | undefined;
242
+ options?: __DocumentType | undefined;
243
+ mentions?: __DocumentType | undefined;
45
244
  createdAt: string;
46
245
  updatedAt?: string | undefined;
47
246
  }
@@ -74,6 +273,39 @@ export interface ChatHistory {
74
273
  messages: (__DocumentType)[];
75
274
  mentions?: (__DocumentType)[] | undefined;
76
275
  }
276
+ /**
277
+ * @public
278
+ */
279
+ export interface CreateAgentInput {
280
+ name: string;
281
+ /**
282
+ * AI model specification using URI format for provider, model and parameters. Examples: 'default', 'google://gemini-3-flash-preview', 'openai://gpt-4o?timeout=30&temperature=0.7', 'openai://gpt-4.1'
283
+ * @public
284
+ */
285
+ model?: string | undefined;
286
+ instructions: string;
287
+ capabilities?: (AgentCapability)[] | undefined;
288
+ variables?: (AgentVariable)[] | undefined;
289
+ company?: string | undefined;
290
+ }
291
+ /**
292
+ * @public
293
+ */
294
+ export interface CreateAgentOutput {
295
+ agent: Agent;
296
+ }
297
+ /**
298
+ * @public
299
+ */
300
+ export interface DeleteAgentInput {
301
+ company?: string | undefined;
302
+ agentId: string;
303
+ }
304
+ /**
305
+ * @public
306
+ */
307
+ export interface DeleteAgentOutput {
308
+ }
77
309
  /**
78
310
  * @public
79
311
  */
@@ -118,6 +350,56 @@ export interface DislikeAnswerInput {
118
350
  */
119
351
  export interface DislikeAnswerOutput {
120
352
  }
353
+ /**
354
+ * @public
355
+ */
356
+ export interface ExecuteAgentInput {
357
+ company?: string | undefined;
358
+ agentId: string;
359
+ /**
360
+ * TODO
361
+ * @public
362
+ */
363
+ data?: string | undefined;
364
+ /**
365
+ * TODO
366
+ * @public
367
+ */
368
+ variables?: __DocumentType | undefined;
369
+ /**
370
+ * Optional parameter, by which service the agent is executed, e.g. chatbots.
371
+ * @public
372
+ */
373
+ service?: string | undefined;
374
+ /**
375
+ * Optional parameter, for which user the agent is executed, e.g. john.doe@example.com.
376
+ * @public
377
+ */
378
+ user?: string | undefined;
379
+ }
380
+ /**
381
+ * @public
382
+ */
383
+ export interface ExecuteAgentOutput {
384
+ /**
385
+ * Result of the tool execution.
386
+ * @public
387
+ */
388
+ result: AgentExecutionResult;
389
+ }
390
+ /**
391
+ * @public
392
+ */
393
+ export interface GetAgentInput {
394
+ company?: string | undefined;
395
+ agentId: string;
396
+ }
397
+ /**
398
+ * @public
399
+ */
400
+ export interface GetAgentOutput {
401
+ agent: Agent;
402
+ }
121
403
  /**
122
404
  * @public
123
405
  */
@@ -183,6 +465,30 @@ export interface ListAgentFeedbacksOutput {
183
465
  feedbacks: (ChatFeedback)[];
184
466
  lastEvaluatedKey?: string | undefined;
185
467
  }
468
+ /**
469
+ * @public
470
+ */
471
+ export interface ListAgentsInput {
472
+ company?: string | undefined;
473
+ }
474
+ /**
475
+ * @public
476
+ */
477
+ export interface ListAgentsOutput {
478
+ agents: (Agent)[];
479
+ }
480
+ /**
481
+ * @public
482
+ */
483
+ export interface ListAgentsNamesInput {
484
+ company?: string | undefined;
485
+ }
486
+ /**
487
+ * @public
488
+ */
489
+ export interface ListAgentsNamesOutput {
490
+ agents: (AgentInfo)[];
491
+ }
186
492
  /**
187
493
  * @public
188
494
  */
@@ -224,3 +530,25 @@ export interface ListFeedbacksOutput {
224
530
  feedbacks: (ChatFeedback)[];
225
531
  lastEvaluatedKey?: string | undefined;
226
532
  }
533
+ /**
534
+ * @public
535
+ */
536
+ export interface UpdateAgentInput {
537
+ name: string;
538
+ /**
539
+ * AI model specification using URI format for provider, model and parameters. Examples: 'default', 'google://gemini-3-flash-preview', 'openai://gpt-4o?timeout=30&temperature=0.7', 'openai://gpt-4.1'
540
+ * @public
541
+ */
542
+ model?: string | undefined;
543
+ instructions: string;
544
+ capabilities?: (AgentCapability)[] | undefined;
545
+ variables?: (AgentVariable)[] | undefined;
546
+ company?: string | undefined;
547
+ agentId: string;
548
+ }
549
+ /**
550
+ * @public
551
+ */
552
+ export interface UpdateAgentOutput {
553
+ agent: Agent;
554
+ }