@wildix/wilma-agents-client 1.0.24 → 1.0.26

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 (32) hide show
  1. package/dist-cjs/WilmaAgents.js +0 -6
  2. package/dist-cjs/commands/index.js +0 -3
  3. package/dist-cjs/models/enums.js +25 -13
  4. package/dist-cjs/schemas/schemas_0.js +277 -144
  5. package/dist-es/WilmaAgents.js +0 -6
  6. package/dist-es/commands/index.js +0 -3
  7. package/dist-es/models/enums.js +24 -12
  8. package/dist-es/schemas/schemas_0.js +274 -142
  9. package/dist-types/WilmaAgents.d.ts +0 -22
  10. package/dist-types/WilmaAgentsClient.d.ts +2 -5
  11. package/dist-types/commands/CreateAgentCommand.d.ts +1222 -568
  12. package/dist-types/commands/GetAgentCommand.d.ts +611 -284
  13. package/dist-types/commands/GetAgentVersionCommand.d.ts +611 -284
  14. package/dist-types/commands/ListAgentsCommand.d.ts +611 -284
  15. package/dist-types/commands/ListAgentsNamesCommand.d.ts +0 -1
  16. package/dist-types/commands/PublishAgentVersionCommand.d.ts +611 -284
  17. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +611 -284
  18. package/dist-types/commands/UpdateAgentCommand.d.ts +1222 -568
  19. package/dist-types/commands/index.d.ts +0 -3
  20. package/dist-types/models/enums.d.ts +89 -42
  21. package/dist-types/models/models_0.d.ts +1146 -457
  22. package/dist-types/schemas/schemas_0.d.ts +34 -15
  23. package/package.json +1 -1
  24. package/dist-cjs/commands/DeletePronunciationDictionaryCommand.js +0 -20
  25. package/dist-cjs/commands/ListPronunciationDictionariesCommand.js +0 -20
  26. package/dist-cjs/commands/PutPronunciationDictionaryCommand.js +0 -20
  27. package/dist-es/commands/DeletePronunciationDictionaryCommand.js +0 -16
  28. package/dist-es/commands/ListPronunciationDictionariesCommand.js +0 -16
  29. package/dist-es/commands/PutPronunciationDictionaryCommand.js +0 -16
  30. package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +0 -78
  31. package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +0 -96
  32. package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +0 -108
@@ -51,61 +51,6 @@ declare const GetAgentCommand_base: {
51
51
  * // channels: { // AgentChannels
52
52
  * // voice: { // VoiceChannelSettings
53
53
  * // greeting: "STRING_VALUE",
54
- * // backgroundSound: "STRING_VALUE",
55
- * // speech: { // VoiceSpeechSettings
56
- * // provider: "elevenlabs" || "google" || "amazon_polly", // required
57
- * // languages: [ // VoiceLanguageList // required
58
- * // { // VoiceLanguage
59
- * // code: "STRING_VALUE", // required
60
- * // provider: "elevenlabs" || "google" || "amazon_polly",
61
- * // voice: "STRING_VALUE", // required
62
- * // greeting: "STRING_VALUE",
63
- * // isDefault: true || false,
64
- * // instructions: "STRING_VALUE",
65
- * // synthesis: { // VoiceSynthesisOptions
66
- * // model: "STRING_VALUE",
67
- * // speed: Number("float"),
68
- * // stability: Number("float"),
69
- * // similarity: Number("float"),
70
- * // style: Number("float"),
71
- * // speakerBoost: true || false,
72
- * // pitch: Number("float"),
73
- * // volumeGain: Number("float"),
74
- * // },
75
- * // credential: { // SecretRef
76
- * // id: "STRING_VALUE", // required
77
- * // },
78
- * // pronunciations: [ // VoicePronunciationList
79
- * // { // VoicePronunciation
80
- * // phrase: "STRING_VALUE", // required
81
- * // as: "STRING_VALUE", // required
82
- * // encoding: "alias" || "ipa",
83
- * // },
84
- * // ],
85
- * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
86
- * // "STRING_VALUE",
87
- * // ],
88
- * // },
89
- * // ],
90
- * // autoDetect: true || false,
91
- * // greetEveryLanguage: true || false,
92
- * // transcription: { // VoiceTranscriptionSettings
93
- * // vendor: "aws", // required
94
- * // },
95
- * // synthesis: {
96
- * // model: "STRING_VALUE",
97
- * // speed: Number("float"),
98
- * // stability: Number("float"),
99
- * // similarity: Number("float"),
100
- * // style: Number("float"),
101
- * // speakerBoost: true || false,
102
- * // pitch: Number("float"),
103
- * // volumeGain: Number("float"),
104
- * // },
105
- * // credential: {
106
- * // id: "STRING_VALUE", // required
107
- * // },
108
- * // },
109
54
  * // interruptions: { // VoiceInterruptionSettings
110
55
  * // enabled: true || false, // required
111
56
  * // minWords: Number("int"),
@@ -161,260 +106,640 @@ declare const GetAgentCommand_base: {
161
106
  * // engine: { // AgentEngine Union: only one key present
162
107
  * // ai: { // AgentAiEngine
163
108
  * // instructions: "STRING_VALUE", // required
164
- * // model: "STRING_VALUE",
165
- * // timeZone: "STRING_VALUE",
166
- * // artifacts: true || false,
167
- * // skills: [ // AgentSkillsList
168
- * // { // AgentSkillReference
169
- * // id: "STRING_VALUE", // required
170
- * // skillVersion: Number("int"),
171
- * // access: { // AgentAccess
172
- * // visibility: "explicit" || "organization",
173
- * // grants: [ // AgentGrantPrincipalList
174
- * // { // AgentGrantPrincipal Union: only one key present
175
- * // userId: "STRING_VALUE",
176
- * // groupId: "STRING_VALUE",
177
- * // },
178
- * // ],
179
- * // },
180
- * // },
181
- * // ],
182
- * // capabilities: [ // AgentCapabilitiesList
183
- * // { // AgentCapability Union: only one key present
184
- * // tool: { // AgentTool
109
+ * // workflow: { // AgentWorkflow
110
+ * // entry: "STRING_VALUE", // required
111
+ * // steps: [ // AgentWorkflowStepsList // required
112
+ * // { // AgentWorkflowStep
185
113
  * // id: "STRING_VALUE", // required
186
- * // toolVersion: Number("int"),
187
- * // description: "STRING_VALUE",
188
- * // fields: [ // AgentToolFieldsList
189
- * // { // AgentToolField
190
- * // path: "STRING_VALUE", // required
191
- * // handler: { // AgentToolFieldHandler Union: only one key present
192
- * // guided: { // AgentToolFieldGuidedHandler
193
- * // description: "STRING_VALUE", // required
194
- * // },
195
- * // predefined: { // AgentToolFieldPredefinedHandler
196
- * // value: "DOCUMENT_VALUE", // required
114
+ * // label: "STRING_VALUE", // required
115
+ * // summary: "STRING_VALUE",
116
+ * // stage: "STRING_VALUE",
117
+ * // handler: { // AgentWorkflowHandler Union: only one key present
118
+ * // conversation: { // AgentWorkflowConversationHandler
119
+ * // goal: "STRING_VALUE", // required
120
+ * // entry: "auto" || "speak_first" || "listen_first",
121
+ * // channels: { // AgentWorkflowConversationChannelsSettings
122
+ * // voice: { // AgentWorkflowConversationVoiceSettings
123
+ * // interruptions: {
124
+ * // enabled: true || false, // required
125
+ * // minWords: Number("int"),
126
+ * // },
197
127
  * // },
198
128
  * // },
129
+ * // capabilities: [ // AgentCapabilitiesList
130
+ * // { // AgentCapability Union: only one key present
131
+ * // tool: { // AgentTool
132
+ * // id: "STRING_VALUE", // required
133
+ * // toolVersion: Number("int"),
134
+ * // description: "STRING_VALUE",
135
+ * // fields: [ // AgentToolFieldsList
136
+ * // { // AgentToolField
137
+ * // path: "STRING_VALUE", // required
138
+ * // handler: { // AgentToolFieldHandler Union: only one key present
139
+ * // guided: { // AgentToolFieldGuidedHandler
140
+ * // description: "STRING_VALUE", // required
141
+ * // },
142
+ * // predefined: { // AgentToolFieldPredefinedHandler
143
+ * // value: "DOCUMENT_VALUE", // required
144
+ * // },
145
+ * // },
146
+ * // },
147
+ * // ],
148
+ * // startMessage: "STRING_VALUE",
149
+ * // pipeline: { // AgentToolPipeline
150
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
151
+ * // instructions: "STRING_VALUE",
152
+ * // },
153
+ * // approval: { // AgentToolApproval
154
+ * // prompt: "STRING_VALUE",
155
+ * // },
156
+ * // annotations: [ // AgentToolAnnotationsList
157
+ * // { // AgentToolAnnotation Union: only one key present
158
+ * // tag: { // AgentToolTagAnnotation
159
+ * // value: "STRING_VALUE",
160
+ * // applyOnSuccess: true || false,
161
+ * // applyOnFailure: true || false,
162
+ * // },
163
+ * // comment: { // AgentToolCommentAnnotation
164
+ * // value: "STRING_VALUE",
165
+ * // applyOnSuccess: true || false,
166
+ * // applyOnFailure: true || false,
167
+ * // },
168
+ * // variables: {},
169
+ * // result: {},
170
+ * // },
171
+ * // ],
172
+ * // },
173
+ * // connector: { // AgentConnectorCapability
174
+ * // id: "STRING_VALUE", // required
175
+ * // startMessage: "STRING_VALUE",
176
+ * // pipeline: {
177
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
178
+ * // instructions: "STRING_VALUE",
179
+ * // },
180
+ * // approval: {
181
+ * // prompt: "STRING_VALUE",
182
+ * // },
183
+ * // annotations: [
184
+ * // {// Union: only one key present
185
+ * // tag: {
186
+ * // value: "STRING_VALUE",
187
+ * // applyOnSuccess: true || false,
188
+ * // applyOnFailure: true || false,
189
+ * // },
190
+ * // comment: {
191
+ * // value: "STRING_VALUE",
192
+ * // applyOnSuccess: true || false,
193
+ * // applyOnFailure: true || false,
194
+ * // },
195
+ * // variables: {},
196
+ * // result: {},
197
+ * // },
198
+ * // ],
199
+ * // },
200
+ * // kb: { // AgentKnowledgeBase
201
+ * // knowledgeBaseId: "STRING_VALUE",
202
+ * // instructions: "STRING_VALUE",
203
+ * // annotations: [
204
+ * // {// Union: only one key present
205
+ * // tag: {
206
+ * // value: "STRING_VALUE",
207
+ * // applyOnSuccess: true || false,
208
+ * // applyOnFailure: true || false,
209
+ * // },
210
+ * // comment: {
211
+ * // value: "STRING_VALUE",
212
+ * // applyOnSuccess: true || false,
213
+ * // applyOnFailure: true || false,
214
+ * // },
215
+ * // variables: {},
216
+ * // result: {},
217
+ * // },
218
+ * // ],
219
+ * // },
220
+ * // sandbox: { // AgentSandboxCapability Union: only one key present
221
+ * // vercel: { // AgentVercelSandboxOptions
222
+ * // vcpus: Number("int"),
223
+ * // network: "allow-all" || "deny-all" || "allowlist",
224
+ * // allowedDomains: [ // DomainNameList
225
+ * // "STRING_VALUE",
226
+ * // ],
227
+ * // },
228
+ * // snapshot: { // AgentSnapshotSandboxOptions
229
+ * // snapshotId: "STRING_VALUE", // required
230
+ * // network: "allow-all" || "deny-all" || "allowlist",
231
+ * // allowedDomains: [
232
+ * // "STRING_VALUE",
233
+ * // ],
234
+ * // size: "min" || "small" || "large" || "max",
235
+ * // },
236
+ * // },
237
+ * // webSearch: { // AgentWebSearchCapability
238
+ * // contextSize: "low" || "medium" || "high",
239
+ * // allowedDomains: [
240
+ * // "STRING_VALUE",
241
+ * // ],
242
+ * // userLocation: { // WebSearchUserLocation
243
+ * // country: "STRING_VALUE",
244
+ * // region: "STRING_VALUE",
245
+ * // city: "STRING_VALUE",
246
+ * // timezone: "STRING_VALUE",
247
+ * // },
248
+ * // },
249
+ * // webFetch: { // AgentWebFetchCapability
250
+ * // allowedDomains: [
251
+ * // "STRING_VALUE",
252
+ * // ],
253
+ * // },
254
+ * // agent: { // AgentCallCapability
255
+ * // agentId: "STRING_VALUE", // required
256
+ * // agentVersion: Number("int"),
257
+ * // access: { // AgentAccess
258
+ * // visibility: "explicit" || "organization",
259
+ * // grants: [ // AgentGrantPrincipalList
260
+ * // { // AgentGrantPrincipal Union: only one key present
261
+ * // userId: "STRING_VALUE",
262
+ * // groupId: "STRING_VALUE",
263
+ * // },
264
+ * // ],
265
+ * // },
266
+ * // variables: [ // AgentToolVariablesList
267
+ * // { // AgentToolVariable
268
+ * // name: "STRING_VALUE", // required
269
+ * // handler: { // AgentToolVariableHandler Union: only one key present
270
+ * // auto: {},
271
+ * // guided: { // AgentToolVariableGuidedHandler
272
+ * // description: "STRING_VALUE", // required
273
+ * // },
274
+ * // predefined: { // AgentToolVariablePredefinedHandler
275
+ * // value: "STRING_VALUE", // required
276
+ * // },
277
+ * // },
278
+ * // },
279
+ * // ],
280
+ * // },
281
+ * // handover: { // AgentHandoverCapability
282
+ * // name: "STRING_VALUE",
283
+ * // description: "STRING_VALUE",
284
+ * // variant: "agent" || "service",
285
+ * // agent: "STRING_VALUE",
286
+ * // agentVersion: Number("int"),
287
+ * // service: "STRING_VALUE",
288
+ * // silent: true || false,
289
+ * // pipeline: { // AgentHandoverPipeline
290
+ * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
291
+ * // instructions: "STRING_VALUE",
292
+ * // },
293
+ * // annotations: [
294
+ * // {// Union: only one key present
295
+ * // tag: {
296
+ * // value: "STRING_VALUE",
297
+ * // applyOnSuccess: true || false,
298
+ * // applyOnFailure: true || false,
299
+ * // },
300
+ * // comment: {
301
+ * // value: "STRING_VALUE",
302
+ * // applyOnSuccess: true || false,
303
+ * // applyOnFailure: true || false,
304
+ * // },
305
+ * // variables: {},
306
+ * // result: {},
307
+ * // },
308
+ * // ],
309
+ * // },
310
+ * // delegation: { // AgentDelegationCapability
311
+ * // name: "STRING_VALUE",
312
+ * // description: "STRING_VALUE",
313
+ * // id: "STRING_VALUE", // required
314
+ * // agentVersion: Number("int"),
315
+ * // annotations: [
316
+ * // {// Union: only one key present
317
+ * // tag: {
318
+ * // value: "STRING_VALUE",
319
+ * // applyOnSuccess: true || false,
320
+ * // applyOnFailure: true || false,
321
+ * // },
322
+ * // comment: {
323
+ * // value: "STRING_VALUE",
324
+ * // applyOnSuccess: true || false,
325
+ * // applyOnFailure: true || false,
326
+ * // },
327
+ * // variables: {},
328
+ * // result: {},
329
+ * // },
330
+ * // ],
331
+ * // },
332
+ * // transfer: { // AgentTransferCapability
333
+ * // name: "STRING_VALUE",
334
+ * // description: "STRING_VALUE",
335
+ * // variant: "predefined" || "dynamic" || "directory",
336
+ * // context: "STRING_VALUE",
337
+ * // extension: "STRING_VALUE",
338
+ * // pipeline: { // AgentTransferPipeline
339
+ * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
340
+ * // instructions: "STRING_VALUE",
341
+ * // },
342
+ * // annotations: "<AgentToolAnnotationsList>",
343
+ * // },
344
+ * // suggestions: { // AgentSuggestionsCapability
345
+ * // name: "STRING_VALUE",
346
+ * // annotations: "<AgentToolAnnotationsList>",
347
+ * // },
348
+ * // hangup: { // AgentHangupCapability
349
+ * // name: "STRING_VALUE",
350
+ * // description: "STRING_VALUE",
351
+ * // pipeline: { // AgentHangupPipeline
352
+ * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
353
+ * // instructions: "STRING_VALUE",
354
+ * // },
355
+ * // annotations: "<AgentToolAnnotationsList>",
356
+ * // },
357
+ * // wait: { // AgentWaitCapability
358
+ * // name: "STRING_VALUE",
359
+ * // description: "STRING_VALUE",
360
+ * // message: "STRING_VALUE",
361
+ * // annotations: "<AgentToolAnnotationsList>",
362
+ * // },
363
+ * // },
364
+ * // ],
199
365
  * // },
200
- * // ],
201
- * // startMessage: "STRING_VALUE",
202
- * // pipeline: { // AgentToolPipeline
203
- * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
204
- * // instructions: "STRING_VALUE",
205
- * // },
206
- * // approval: { // AgentToolApproval
207
- * // prompt: "STRING_VALUE",
208
- * // },
209
- * // annotations: [ // AgentToolAnnotationsList
210
- * // { // AgentToolAnnotation Union: only one key present
211
- * // tag: { // AgentToolTagAnnotation
212
- * // value: "STRING_VALUE",
213
- * // applyOnSuccess: true || false,
214
- * // applyOnFailure: true || false,
366
+ * // message: { // AgentWorkflowMessageHandler
367
+ * // content: { // AgentWorkflowMessageContent Union: only one key present
368
+ * // text: "STRING_VALUE",
369
+ * // generate: { // AgentWorkflowMessageGeneration
370
+ * // instructions: "STRING_VALUE", // required
371
+ * // },
215
372
  * // },
216
- * // comment: { // AgentToolCommentAnnotation
217
- * // value: "STRING_VALUE",
218
- * // applyOnSuccess: true || false,
219
- * // applyOnFailure: true || false,
373
+ * // channels: { // AgentWorkflowMessageChannelsSettings
374
+ * // voice: { // AgentWorkflowMessageVoiceSettings
375
+ * // interruptions: {
376
+ * // enabled: true || false, // required
377
+ * // minWords: Number("int"),
378
+ * // },
379
+ * // },
380
+ * // chat: { // AgentWorkflowMessageChatSettings
381
+ * // suggestions: [ // AgentWorkflowMessageButtonsList
382
+ * // { // AgentWorkflowMessageButton
383
+ * // text: "STRING_VALUE", // required
384
+ * // handler: { // AgentWorkflowMessageButtonHandler Union: only one key present
385
+ * // reply: { // AgentWorkflowMessageButtonReplyHandler
386
+ * // text: "STRING_VALUE",
387
+ * // },
388
+ * // link: { // AgentWorkflowMessageButtonLinkHandler
389
+ * // url: "STRING_VALUE", // required
390
+ * // },
391
+ * // },
392
+ * // variant: "contained" || "outlined",
393
+ * // },
394
+ * // ],
395
+ * // },
220
396
  * // },
221
- * // variables: {},
222
- * // result: {},
223
397
  * // },
224
- * // ],
225
- * // },
226
- * // connector: { // AgentConnectorCapability
227
- * // id: "STRING_VALUE", // required
228
- * // startMessage: "STRING_VALUE",
229
- * // pipeline: {
230
- * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
231
- * // instructions: "STRING_VALUE",
232
- * // },
233
- * // approval: {
234
- * // prompt: "STRING_VALUE",
235
- * // },
236
- * // annotations: [
237
- * // {// Union: only one key present
238
- * // tag: {
239
- * // value: "STRING_VALUE",
240
- * // applyOnSuccess: true || false,
241
- * // applyOnFailure: true || false,
242
- * // },
243
- * // comment: {
244
- * // value: "STRING_VALUE",
245
- * // applyOnSuccess: true || false,
246
- * // applyOnFailure: true || false,
398
+ * // action: { // AgentWorkflowActionHandler
399
+ * // capability: { // AgentWorkflowAction Union: only one key present
400
+ * // tool: {
401
+ * // id: "STRING_VALUE", // required
402
+ * // toolVersion: Number("int"),
403
+ * // description: "STRING_VALUE",
404
+ * // fields: [
405
+ * // {
406
+ * // path: "STRING_VALUE", // required
407
+ * // handler: {// Union: only one key present
408
+ * // guided: {
409
+ * // description: "STRING_VALUE", // required
410
+ * // },
411
+ * // predefined: {
412
+ * // value: "DOCUMENT_VALUE", // required
413
+ * // },
414
+ * // },
415
+ * // },
416
+ * // ],
417
+ * // startMessage: "STRING_VALUE",
418
+ * // pipeline: {
419
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
420
+ * // instructions: "STRING_VALUE",
421
+ * // },
422
+ * // approval: {
423
+ * // prompt: "STRING_VALUE",
424
+ * // },
425
+ * // annotations: "<AgentToolAnnotationsList>",
426
+ * // },
427
+ * // connector: {
428
+ * // id: "STRING_VALUE", // required
429
+ * // startMessage: "STRING_VALUE",
430
+ * // pipeline: {
431
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
432
+ * // instructions: "STRING_VALUE",
433
+ * // },
434
+ * // approval: {
435
+ * // prompt: "STRING_VALUE",
436
+ * // },
437
+ * // annotations: "<AgentToolAnnotationsList>",
438
+ * // },
439
+ * // agent: {
440
+ * // agentId: "STRING_VALUE", // required
441
+ * // agentVersion: Number("int"),
442
+ * // access: {
443
+ * // visibility: "explicit" || "organization",
444
+ * // grants: [
445
+ * // {// Union: only one key present
446
+ * // userId: "STRING_VALUE",
447
+ * // groupId: "STRING_VALUE",
448
+ * // },
449
+ * // ],
450
+ * // },
451
+ * // variables: [
452
+ * // {
453
+ * // name: "STRING_VALUE", // required
454
+ * // handler: {// Union: only one key present
455
+ * // auto: {},
456
+ * // guided: {
457
+ * // description: "STRING_VALUE", // required
458
+ * // },
459
+ * // predefined: {
460
+ * // value: "STRING_VALUE", // required
461
+ * // },
462
+ * // },
463
+ * // },
464
+ * // ],
465
+ * // },
466
+ * // handover: {
467
+ * // name: "STRING_VALUE",
468
+ * // description: "STRING_VALUE",
469
+ * // variant: "agent" || "service",
470
+ * // agent: "STRING_VALUE",
471
+ * // agentVersion: Number("int"),
472
+ * // service: "STRING_VALUE",
473
+ * // silent: true || false,
474
+ * // pipeline: {
475
+ * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
476
+ * // instructions: "STRING_VALUE",
477
+ * // },
478
+ * // annotations: "<AgentToolAnnotationsList>",
479
+ * // },
480
+ * // delegation: {
481
+ * // name: "STRING_VALUE",
482
+ * // description: "STRING_VALUE",
483
+ * // id: "STRING_VALUE", // required
484
+ * // agentVersion: Number("int"),
485
+ * // annotations: "<AgentToolAnnotationsList>",
486
+ * // },
487
+ * // transfer: {
488
+ * // name: "STRING_VALUE",
489
+ * // description: "STRING_VALUE",
490
+ * // variant: "predefined" || "dynamic" || "directory",
491
+ * // context: "STRING_VALUE",
492
+ * // extension: "STRING_VALUE",
493
+ * // pipeline: {
494
+ * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
495
+ * // instructions: "STRING_VALUE",
496
+ * // },
497
+ * // annotations: "<AgentToolAnnotationsList>",
498
+ * // },
499
+ * // hangup: {
500
+ * // name: "STRING_VALUE",
501
+ * // description: "STRING_VALUE",
502
+ * // pipeline: {
503
+ * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
504
+ * // instructions: "STRING_VALUE",
505
+ * // },
506
+ * // annotations: "<AgentToolAnnotationsList>",
507
+ * // },
508
+ * // wait: {
509
+ * // name: "STRING_VALUE",
510
+ * // description: "STRING_VALUE",
511
+ * // message: "STRING_VALUE",
512
+ * // annotations: "<AgentToolAnnotationsList>",
513
+ * // },
247
514
  * // },
248
- * // variables: {},
249
- * // result: {},
515
+ * // forceToolCall: true || false,
516
+ * // output: "STRING_VALUE",
250
517
  * // },
251
- * // ],
252
- * // },
253
- * // kb: { // AgentKnowledgeBase
254
- * // knowledgeBaseId: "STRING_VALUE",
255
- * // instructions: "STRING_VALUE",
256
- * // annotations: [
257
- * // {// Union: only one key present
258
- * // tag: {
259
- * // value: "STRING_VALUE",
260
- * // applyOnSuccess: true || false,
261
- * // applyOnFailure: true || false,
262
- * // },
263
- * // comment: {
264
- * // value: "STRING_VALUE",
265
- * // applyOnSuccess: true || false,
266
- * // applyOnFailure: true || false,
267
- * // },
268
- * // variables: {},
269
- * // result: {},
518
+ * // variables: { // AgentWorkflowVariablesHandler
519
+ * // assignments: [ // AgentWorkflowAssignmentsList // required
520
+ * // { // AgentWorkflowAssignment
521
+ * // name: "STRING_VALUE", // required
522
+ * // value: "STRING_VALUE",
523
+ * // expression: "DOCUMENT_VALUE",
524
+ * // },
525
+ * // ],
270
526
  * // },
271
- * // ],
272
- * // },
273
- * // sandbox: { // AgentSandboxCapability Union: only one key present
274
- * // vercel: { // AgentVercelSandboxOptions
275
- * // vcpus: Number("int"),
276
- * // network: "allow-all" || "deny-all" || "allowlist",
277
- * // allowedDomains: [ // DomainNameList
278
- * // "STRING_VALUE",
279
- * // ],
280
- * // },
281
- * // snapshot: { // AgentSnapshotSandboxOptions
282
- * // snapshotId: "STRING_VALUE", // required
283
- * // network: "allow-all" || "deny-all" || "allowlist",
284
- * // allowedDomains: [
285
- * // "STRING_VALUE",
286
- * // ],
287
- * // size: "min" || "small" || "large" || "max",
288
- * // },
289
- * // },
290
- * // webSearch: { // AgentWebSearchCapability
291
- * // contextSize: "low" || "medium" || "high",
292
- * // allowedDomains: [
293
- * // "STRING_VALUE",
294
- * // ],
295
- * // userLocation: { // WebSearchUserLocation
296
- * // country: "STRING_VALUE",
297
- * // region: "STRING_VALUE",
298
- * // city: "STRING_VALUE",
299
- * // timezone: "STRING_VALUE",
300
- * // },
301
- * // },
302
- * // webFetch: { // AgentWebFetchCapability
303
- * // allowedDomains: [
304
- * // "STRING_VALUE",
305
- * // ],
306
- * // },
307
- * // agent: { // AgentCallCapability
308
- * // agentId: "STRING_VALUE", // required
309
- * // agentVersion: Number("int"),
310
- * // access: {
311
- * // visibility: "explicit" || "organization",
312
- * // grants: [
313
- * // {// Union: only one key present
314
- * // userId: "STRING_VALUE",
315
- * // groupId: "STRING_VALUE",
316
- * // },
317
- * // ],
527
+ * // workflow: { // AgentWorkflowInvokeHandler
528
+ * // workflow: "STRING_VALUE", // required
529
+ * // output: "STRING_VALUE",
530
+ * // },
531
+ * // result: { // AgentWorkflowResultHandler
532
+ * // value: "STRING_VALUE",
533
+ * // },
534
+ * // end: {},
318
535
  * // },
319
- * // variables: [ // AgentToolVariablesList
320
- * // { // AgentToolVariable
321
- * // name: "STRING_VALUE", // required
322
- * // handler: { // AgentToolVariableHandler Union: only one key present
323
- * // auto: {},
324
- * // guided: { // AgentToolVariableGuidedHandler
325
- * // description: "STRING_VALUE", // required
536
+ * // transitions: [ // AgentWorkflowTransitionsList
537
+ * // { // AgentWorkflowTransition
538
+ * // target: "STRING_VALUE", // required
539
+ * // condition: { // AgentWorkflowCondition Union: only one key present
540
+ * // always: {},
541
+ * // prompt: { // AgentWorkflowPromptCondition
542
+ * // instructions: "STRING_VALUE", // required
543
+ * // },
544
+ * // expression: { // AgentWorkflowExpressionCondition
545
+ * // conditions: "DOCUMENT_VALUE", // required
326
546
  * // },
327
- * // predefined: { // AgentToolVariablePredefinedHandler
328
- * // value: "STRING_VALUE", // required
547
+ * // result: { // AgentWorkflowResultCondition
548
+ * // result: "STRING_VALUE", // required
329
549
  * // },
550
+ * // failure: { // AgentWorkflowFailureCondition
551
+ * // kinds: [ // AgentWorkflowFailureKindsList
552
+ * // "timeout" || "denied" || "unauthorized" || "not_found" || "invalid_input" || "rate_limited" || "unavailable" || "error",
553
+ * // ],
554
+ * // },
555
+ * // fallback: {},
330
556
  * // },
331
557
  * // },
332
558
  * // ],
333
- * // },
334
- * // handover: { // AgentHandoverCapability
335
- * // name: "STRING_VALUE",
336
- * // description: "STRING_VALUE",
337
- * // variant: "agent" || "service",
338
- * // agent: "STRING_VALUE",
339
- * // agentVersion: Number("int"),
340
- * // service: "STRING_VALUE",
341
- * // silent: true || false,
342
- * // pipeline: { // AgentHandoverPipeline
343
- * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
344
- * // instructions: "STRING_VALUE",
559
+ * // position: { // AgentWorkflowStepPosition
560
+ * // x: Number("int"), // required
561
+ * // y: Number("int"), // required
345
562
  * // },
346
- * // annotations: [
347
- * // {// Union: only one key present
348
- * // tag: {
349
- * // value: "STRING_VALUE",
350
- * // applyOnSuccess: true || false,
351
- * // applyOnFailure: true || false,
352
- * // },
353
- * // comment: {
354
- * // value: "STRING_VALUE",
355
- * // applyOnSuccess: true || false,
356
- * // applyOnFailure: true || false,
357
- * // },
358
- * // variables: {},
359
- * // result: {},
360
- * // },
361
- * // ],
362
563
  * // },
363
- * // delegation: { // AgentDelegationCapability
364
- * // name: "STRING_VALUE",
365
- * // description: "STRING_VALUE",
366
- * // id: "STRING_VALUE", // required
367
- * // agentVersion: Number("int"),
368
- * // annotations: [
369
- * // {// Union: only one key present
370
- * // tag: {
371
- * // value: "STRING_VALUE",
372
- * // applyOnSuccess: true || false,
373
- * // applyOnFailure: true || false,
564
+ * // ],
565
+ * // nested: [ // AgentWorkflowNestedList
566
+ * // { // AgentWorkflowNested
567
+ * // entry: "STRING_VALUE", // required
568
+ * // steps: [ // required
569
+ * // {
570
+ * // id: "STRING_VALUE", // required
571
+ * // label: "STRING_VALUE", // required
572
+ * // summary: "STRING_VALUE",
573
+ * // stage: "STRING_VALUE",
574
+ * // handler: {// Union: only one key present
575
+ * // conversation: {
576
+ * // goal: "STRING_VALUE", // required
577
+ * // entry: "auto" || "speak_first" || "listen_first",
578
+ * // channels: {
579
+ * // voice: {
580
+ * // interruptions: "<VoiceInterruptionSettings>",
581
+ * // },
582
+ * // },
583
+ * // capabilities: [
584
+ * // {// Union: only one key present
585
+ * // tool: "<AgentTool>",
586
+ * // connector: "<AgentConnectorCapability>",
587
+ * // kb: {
588
+ * // knowledgeBaseId: "STRING_VALUE",
589
+ * // instructions: "STRING_VALUE",
590
+ * // annotations: "<AgentToolAnnotationsList>",
591
+ * // },
592
+ * // sandbox: {// Union: only one key present
593
+ * // vercel: {
594
+ * // vcpus: Number("int"),
595
+ * // network: "allow-all" || "deny-all" || "allowlist",
596
+ * // allowedDomains: "<DomainNameList>",
597
+ * // },
598
+ * // snapshot: {
599
+ * // snapshotId: "STRING_VALUE", // required
600
+ * // network: "allow-all" || "deny-all" || "allowlist",
601
+ * // allowedDomains: "<DomainNameList>",
602
+ * // size: "min" || "small" || "large" || "max",
603
+ * // },
604
+ * // },
605
+ * // webSearch: {
606
+ * // contextSize: "low" || "medium" || "high",
607
+ * // allowedDomains: "<DomainNameList>",
608
+ * // userLocation: {
609
+ * // country: "STRING_VALUE",
610
+ * // region: "STRING_VALUE",
611
+ * // city: "STRING_VALUE",
612
+ * // timezone: "STRING_VALUE",
613
+ * // },
614
+ * // },
615
+ * // webFetch: {
616
+ * // allowedDomains: "<DomainNameList>",
617
+ * // },
618
+ * // agent: "<AgentCallCapability>",
619
+ * // handover: "<AgentHandoverCapability>",
620
+ * // delegation: "<AgentDelegationCapability>",
621
+ * // transfer: "<AgentTransferCapability>",
622
+ * // suggestions: {
623
+ * // name: "STRING_VALUE",
624
+ * // annotations: "<AgentToolAnnotationsList>",
625
+ * // },
626
+ * // hangup: "<AgentHangupCapability>",
627
+ * // wait: "<AgentWaitCapability>",
628
+ * // },
629
+ * // ],
630
+ * // },
631
+ * // message: {
632
+ * // content: {// Union: only one key present
633
+ * // text: "STRING_VALUE",
634
+ * // generate: {
635
+ * // instructions: "STRING_VALUE", // required
636
+ * // },
637
+ * // },
638
+ * // channels: {
639
+ * // voice: {
640
+ * // interruptions: "<VoiceInterruptionSettings>",
641
+ * // },
642
+ * // chat: {
643
+ * // suggestions: [
644
+ * // {
645
+ * // text: "STRING_VALUE", // required
646
+ * // handler: {// Union: only one key present
647
+ * // reply: {
648
+ * // text: "STRING_VALUE",
649
+ * // },
650
+ * // link: {
651
+ * // url: "STRING_VALUE", // required
652
+ * // },
653
+ * // },
654
+ * // variant: "contained" || "outlined",
655
+ * // },
656
+ * // ],
657
+ * // },
658
+ * // },
659
+ * // },
660
+ * // action: {
661
+ * // capability: {// Union: only one key present
662
+ * // tool: "<AgentTool>",
663
+ * // connector: "<AgentConnectorCapability>",
664
+ * // agent: "<AgentCallCapability>",
665
+ * // handover: "<AgentHandoverCapability>",
666
+ * // delegation: "<AgentDelegationCapability>",
667
+ * // transfer: "<AgentTransferCapability>",
668
+ * // hangup: "<AgentHangupCapability>",
669
+ * // wait: "<AgentWaitCapability>",
670
+ * // },
671
+ * // forceToolCall: true || false,
672
+ * // output: "STRING_VALUE",
673
+ * // },
674
+ * // variables: {
675
+ * // assignments: [ // required
676
+ * // {
677
+ * // name: "STRING_VALUE", // required
678
+ * // value: "STRING_VALUE",
679
+ * // expression: "DOCUMENT_VALUE",
680
+ * // },
681
+ * // ],
682
+ * // },
683
+ * // workflow: {
684
+ * // workflow: "STRING_VALUE", // required
685
+ * // output: "STRING_VALUE",
686
+ * // },
687
+ * // result: {
688
+ * // value: "STRING_VALUE",
689
+ * // },
690
+ * // end: {},
374
691
  * // },
375
- * // comment: {
376
- * // value: "STRING_VALUE",
377
- * // applyOnSuccess: true || false,
378
- * // applyOnFailure: true || false,
692
+ * // transitions: [
693
+ * // {
694
+ * // target: "STRING_VALUE", // required
695
+ * // condition: {// Union: only one key present
696
+ * // always: {},
697
+ * // prompt: {
698
+ * // instructions: "STRING_VALUE", // required
699
+ * // },
700
+ * // expression: {
701
+ * // conditions: "DOCUMENT_VALUE", // required
702
+ * // },
703
+ * // result: {
704
+ * // result: "STRING_VALUE", // required
705
+ * // },
706
+ * // failure: {
707
+ * // kinds: [
708
+ * // "timeout" || "denied" || "unauthorized" || "not_found" || "invalid_input" || "rate_limited" || "unavailable" || "error",
709
+ * // ],
710
+ * // },
711
+ * // fallback: {},
712
+ * // },
713
+ * // },
714
+ * // ],
715
+ * // position: {
716
+ * // x: Number("int"), // required
717
+ * // y: Number("int"), // required
379
718
  * // },
380
- * // variables: {},
381
- * // result: {},
382
719
  * // },
383
720
  * // ],
384
- * // },
385
- * // transfer: { // AgentTransferCapability
386
- * // name: "STRING_VALUE",
387
- * // description: "STRING_VALUE",
388
- * // variant: "predefined" || "dynamic" || "directory",
389
- * // context: "STRING_VALUE",
390
- * // extension: "STRING_VALUE",
391
- * // pipeline: { // AgentTransferPipeline
392
- * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
393
- * // instructions: "STRING_VALUE",
394
- * // },
395
- * // annotations: "<AgentToolAnnotationsList>",
396
- * // },
397
- * // suggestions: { // AgentSuggestionsCapability
398
- * // name: "STRING_VALUE",
399
- * // annotations: "<AgentToolAnnotationsList>",
400
- * // },
401
- * // hangup: { // AgentHangupCapability
402
- * // name: "STRING_VALUE",
403
- * // description: "STRING_VALUE",
404
- * // pipeline: { // AgentHangupPipeline
405
- * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
406
- * // instructions: "STRING_VALUE",
407
- * // },
408
- * // annotations: "<AgentToolAnnotationsList>",
409
- * // },
410
- * // wait: { // AgentWaitCapability
411
- * // name: "STRING_VALUE",
721
+ * // id: "STRING_VALUE", // required
722
+ * // name: "STRING_VALUE", // required
412
723
  * // description: "STRING_VALUE",
413
- * // message: "STRING_VALUE",
414
- * // annotations: "<AgentToolAnnotationsList>",
415
724
  * // },
725
+ * // ],
726
+ * // settings: { // AgentWorkflowSettings
727
+ * // maxTransitions: Number("int"),
728
+ * // variables: "<AgentWorkflowAssignmentsList>",
729
+ * // layout: "flow" || "compact" || "stages",
730
+ * // },
731
+ * // },
732
+ * // model: "STRING_VALUE",
733
+ * // timeZone: "STRING_VALUE",
734
+ * // artifacts: true || false,
735
+ * // skills: [ // AgentSkillsList
736
+ * // { // AgentSkillReference
737
+ * // id: "STRING_VALUE", // required
738
+ * // skillVersion: Number("int"),
739
+ * // access: "<AgentAccess>",
416
740
  * // },
417
741
  * // ],
742
+ * // capabilities: "<AgentCapabilitiesList>",
418
743
  * // variables: [ // AgentVariablesList
419
744
  * // { // AgentVariable
420
745
  * // name: "STRING_VALUE", // required
@@ -432,7 +757,9 @@ declare const GetAgentCommand_base: {
432
757
  * // sqs: { // AgentSqsEngine
433
758
  * // url: "STRING_VALUE", // required
434
759
  * // key: "STRING_VALUE", // required
435
- * // secret: "<SecretRef>", // required
760
+ * // secret: { // SecretRef
761
+ * // id: "STRING_VALUE", // required
762
+ * // },
436
763
  * // },
437
764
  * // },
438
765
  * // settings: { // AgentSettings