@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
@@ -44,61 +44,6 @@ declare const UpdateAgentCommand_base: {
44
44
  * channels: { // AgentChannels
45
45
  * voice: { // VoiceChannelSettings
46
46
  * greeting: "STRING_VALUE",
47
- * backgroundSound: "STRING_VALUE",
48
- * speech: { // VoiceSpeechSettings
49
- * provider: "elevenlabs" || "google" || "amazon_polly", // required
50
- * languages: [ // VoiceLanguageList // required
51
- * { // VoiceLanguage
52
- * code: "STRING_VALUE", // required
53
- * provider: "elevenlabs" || "google" || "amazon_polly",
54
- * voice: "STRING_VALUE", // required
55
- * greeting: "STRING_VALUE",
56
- * isDefault: true || false,
57
- * instructions: "STRING_VALUE",
58
- * synthesis: { // VoiceSynthesisOptions
59
- * model: "STRING_VALUE",
60
- * speed: Number("float"),
61
- * stability: Number("float"),
62
- * similarity: Number("float"),
63
- * style: Number("float"),
64
- * speakerBoost: true || false,
65
- * pitch: Number("float"),
66
- * volumeGain: Number("float"),
67
- * },
68
- * credential: { // SecretRef
69
- * id: "STRING_VALUE", // required
70
- * },
71
- * pronunciations: [ // VoicePronunciationList
72
- * { // VoicePronunciation
73
- * phrase: "STRING_VALUE", // required
74
- * as: "STRING_VALUE", // required
75
- * encoding: "alias" || "ipa",
76
- * },
77
- * ],
78
- * pronunciationSuppressions: [ // VoicePronunciationSuppressionList
79
- * "STRING_VALUE",
80
- * ],
81
- * },
82
- * ],
83
- * autoDetect: true || false,
84
- * greetEveryLanguage: true || false,
85
- * transcription: { // VoiceTranscriptionSettings
86
- * vendor: "aws", // required
87
- * },
88
- * synthesis: {
89
- * model: "STRING_VALUE",
90
- * speed: Number("float"),
91
- * stability: Number("float"),
92
- * similarity: Number("float"),
93
- * style: Number("float"),
94
- * speakerBoost: true || false,
95
- * pitch: Number("float"),
96
- * volumeGain: Number("float"),
97
- * },
98
- * credential: {
99
- * id: "STRING_VALUE", // required
100
- * },
101
- * },
102
47
  * interruptions: { // VoiceInterruptionSettings
103
48
  * enabled: true || false, // required
104
49
  * minWords: Number("int"),
@@ -154,260 +99,640 @@ declare const UpdateAgentCommand_base: {
154
99
  * engine: { // AgentEngine Union: only one key present
155
100
  * ai: { // AgentAiEngine
156
101
  * instructions: "STRING_VALUE", // required
157
- * model: "STRING_VALUE",
158
- * timeZone: "STRING_VALUE",
159
- * artifacts: true || false,
160
- * skills: [ // AgentSkillsList
161
- * { // AgentSkillReference
162
- * id: "STRING_VALUE", // required
163
- * skillVersion: Number("int"),
164
- * access: { // AgentAccess
165
- * visibility: "explicit" || "organization",
166
- * grants: [ // AgentGrantPrincipalList
167
- * { // AgentGrantPrincipal Union: only one key present
168
- * userId: "STRING_VALUE",
169
- * groupId: "STRING_VALUE",
170
- * },
171
- * ],
172
- * },
173
- * },
174
- * ],
175
- * capabilities: [ // AgentCapabilitiesList
176
- * { // AgentCapability Union: only one key present
177
- * tool: { // AgentTool
102
+ * workflow: { // AgentWorkflow
103
+ * entry: "STRING_VALUE", // required
104
+ * steps: [ // AgentWorkflowStepsList // required
105
+ * { // AgentWorkflowStep
178
106
  * id: "STRING_VALUE", // required
179
- * toolVersion: Number("int"),
180
- * description: "STRING_VALUE",
181
- * fields: [ // AgentToolFieldsList
182
- * { // AgentToolField
183
- * path: "STRING_VALUE", // required
184
- * handler: { // AgentToolFieldHandler Union: only one key present
185
- * guided: { // AgentToolFieldGuidedHandler
186
- * description: "STRING_VALUE", // required
187
- * },
188
- * predefined: { // AgentToolFieldPredefinedHandler
189
- * value: "DOCUMENT_VALUE", // required
107
+ * label: "STRING_VALUE", // required
108
+ * summary: "STRING_VALUE",
109
+ * stage: "STRING_VALUE",
110
+ * handler: { // AgentWorkflowHandler Union: only one key present
111
+ * conversation: { // AgentWorkflowConversationHandler
112
+ * goal: "STRING_VALUE", // required
113
+ * entry: "auto" || "speak_first" || "listen_first",
114
+ * channels: { // AgentWorkflowConversationChannelsSettings
115
+ * voice: { // AgentWorkflowConversationVoiceSettings
116
+ * interruptions: {
117
+ * enabled: true || false, // required
118
+ * minWords: Number("int"),
119
+ * },
190
120
  * },
191
121
  * },
122
+ * capabilities: [ // AgentCapabilitiesList
123
+ * { // AgentCapability Union: only one key present
124
+ * tool: { // AgentTool
125
+ * id: "STRING_VALUE", // required
126
+ * toolVersion: Number("int"),
127
+ * description: "STRING_VALUE",
128
+ * fields: [ // AgentToolFieldsList
129
+ * { // AgentToolField
130
+ * path: "STRING_VALUE", // required
131
+ * handler: { // AgentToolFieldHandler Union: only one key present
132
+ * guided: { // AgentToolFieldGuidedHandler
133
+ * description: "STRING_VALUE", // required
134
+ * },
135
+ * predefined: { // AgentToolFieldPredefinedHandler
136
+ * value: "DOCUMENT_VALUE", // required
137
+ * },
138
+ * },
139
+ * },
140
+ * ],
141
+ * startMessage: "STRING_VALUE",
142
+ * pipeline: { // AgentToolPipeline
143
+ * type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
144
+ * instructions: "STRING_VALUE",
145
+ * },
146
+ * approval: { // AgentToolApproval
147
+ * prompt: "STRING_VALUE",
148
+ * },
149
+ * annotations: [ // AgentToolAnnotationsList
150
+ * { // AgentToolAnnotation Union: only one key present
151
+ * tag: { // AgentToolTagAnnotation
152
+ * value: "STRING_VALUE",
153
+ * applyOnSuccess: true || false,
154
+ * applyOnFailure: true || false,
155
+ * },
156
+ * comment: { // AgentToolCommentAnnotation
157
+ * value: "STRING_VALUE",
158
+ * applyOnSuccess: true || false,
159
+ * applyOnFailure: true || false,
160
+ * },
161
+ * variables: {},
162
+ * result: {},
163
+ * },
164
+ * ],
165
+ * },
166
+ * connector: { // AgentConnectorCapability
167
+ * id: "STRING_VALUE", // required
168
+ * startMessage: "STRING_VALUE",
169
+ * pipeline: {
170
+ * type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
171
+ * instructions: "STRING_VALUE",
172
+ * },
173
+ * approval: {
174
+ * prompt: "STRING_VALUE",
175
+ * },
176
+ * annotations: [
177
+ * {// Union: only one key present
178
+ * tag: {
179
+ * value: "STRING_VALUE",
180
+ * applyOnSuccess: true || false,
181
+ * applyOnFailure: true || false,
182
+ * },
183
+ * comment: {
184
+ * value: "STRING_VALUE",
185
+ * applyOnSuccess: true || false,
186
+ * applyOnFailure: true || false,
187
+ * },
188
+ * variables: {},
189
+ * result: {},
190
+ * },
191
+ * ],
192
+ * },
193
+ * kb: { // AgentKnowledgeBase
194
+ * knowledgeBaseId: "STRING_VALUE",
195
+ * instructions: "STRING_VALUE",
196
+ * annotations: [
197
+ * {// Union: only one key present
198
+ * tag: {
199
+ * value: "STRING_VALUE",
200
+ * applyOnSuccess: true || false,
201
+ * applyOnFailure: true || false,
202
+ * },
203
+ * comment: {
204
+ * value: "STRING_VALUE",
205
+ * applyOnSuccess: true || false,
206
+ * applyOnFailure: true || false,
207
+ * },
208
+ * variables: {},
209
+ * result: {},
210
+ * },
211
+ * ],
212
+ * },
213
+ * sandbox: { // AgentSandboxCapability Union: only one key present
214
+ * vercel: { // AgentVercelSandboxOptions
215
+ * vcpus: Number("int"),
216
+ * network: "allow-all" || "deny-all" || "allowlist",
217
+ * allowedDomains: [ // DomainNameList
218
+ * "STRING_VALUE",
219
+ * ],
220
+ * },
221
+ * snapshot: { // AgentSnapshotSandboxOptions
222
+ * snapshotId: "STRING_VALUE", // required
223
+ * network: "allow-all" || "deny-all" || "allowlist",
224
+ * allowedDomains: [
225
+ * "STRING_VALUE",
226
+ * ],
227
+ * size: "min" || "small" || "large" || "max",
228
+ * },
229
+ * },
230
+ * webSearch: { // AgentWebSearchCapability
231
+ * contextSize: "low" || "medium" || "high",
232
+ * allowedDomains: [
233
+ * "STRING_VALUE",
234
+ * ],
235
+ * userLocation: { // WebSearchUserLocation
236
+ * country: "STRING_VALUE",
237
+ * region: "STRING_VALUE",
238
+ * city: "STRING_VALUE",
239
+ * timezone: "STRING_VALUE",
240
+ * },
241
+ * },
242
+ * webFetch: { // AgentWebFetchCapability
243
+ * allowedDomains: [
244
+ * "STRING_VALUE",
245
+ * ],
246
+ * },
247
+ * agent: { // AgentCallCapability
248
+ * agentId: "STRING_VALUE", // required
249
+ * agentVersion: Number("int"),
250
+ * access: { // AgentAccess
251
+ * visibility: "explicit" || "organization",
252
+ * grants: [ // AgentGrantPrincipalList
253
+ * { // AgentGrantPrincipal Union: only one key present
254
+ * userId: "STRING_VALUE",
255
+ * groupId: "STRING_VALUE",
256
+ * },
257
+ * ],
258
+ * },
259
+ * variables: [ // AgentToolVariablesList
260
+ * { // AgentToolVariable
261
+ * name: "STRING_VALUE", // required
262
+ * handler: { // AgentToolVariableHandler Union: only one key present
263
+ * auto: {},
264
+ * guided: { // AgentToolVariableGuidedHandler
265
+ * description: "STRING_VALUE", // required
266
+ * },
267
+ * predefined: { // AgentToolVariablePredefinedHandler
268
+ * value: "STRING_VALUE", // required
269
+ * },
270
+ * },
271
+ * },
272
+ * ],
273
+ * },
274
+ * handover: { // AgentHandoverCapability
275
+ * name: "STRING_VALUE",
276
+ * description: "STRING_VALUE",
277
+ * variant: "agent" || "service",
278
+ * agent: "STRING_VALUE",
279
+ * agentVersion: Number("int"),
280
+ * service: "STRING_VALUE",
281
+ * silent: true || false,
282
+ * pipeline: { // AgentHandoverPipeline
283
+ * type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
284
+ * instructions: "STRING_VALUE",
285
+ * },
286
+ * annotations: [
287
+ * {// Union: only one key present
288
+ * tag: {
289
+ * value: "STRING_VALUE",
290
+ * applyOnSuccess: true || false,
291
+ * applyOnFailure: true || false,
292
+ * },
293
+ * comment: {
294
+ * value: "STRING_VALUE",
295
+ * applyOnSuccess: true || false,
296
+ * applyOnFailure: true || false,
297
+ * },
298
+ * variables: {},
299
+ * result: {},
300
+ * },
301
+ * ],
302
+ * },
303
+ * delegation: { // AgentDelegationCapability
304
+ * name: "STRING_VALUE",
305
+ * description: "STRING_VALUE",
306
+ * id: "STRING_VALUE", // required
307
+ * agentVersion: Number("int"),
308
+ * annotations: [
309
+ * {// Union: only one key present
310
+ * tag: {
311
+ * value: "STRING_VALUE",
312
+ * applyOnSuccess: true || false,
313
+ * applyOnFailure: true || false,
314
+ * },
315
+ * comment: {
316
+ * value: "STRING_VALUE",
317
+ * applyOnSuccess: true || false,
318
+ * applyOnFailure: true || false,
319
+ * },
320
+ * variables: {},
321
+ * result: {},
322
+ * },
323
+ * ],
324
+ * },
325
+ * transfer: { // AgentTransferCapability
326
+ * name: "STRING_VALUE",
327
+ * description: "STRING_VALUE",
328
+ * variant: "predefined" || "dynamic" || "directory",
329
+ * context: "STRING_VALUE",
330
+ * extension: "STRING_VALUE",
331
+ * pipeline: { // AgentTransferPipeline
332
+ * type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
333
+ * instructions: "STRING_VALUE",
334
+ * },
335
+ * annotations: "<AgentToolAnnotationsList>",
336
+ * },
337
+ * suggestions: { // AgentSuggestionsCapability
338
+ * name: "STRING_VALUE",
339
+ * annotations: "<AgentToolAnnotationsList>",
340
+ * },
341
+ * hangup: { // AgentHangupCapability
342
+ * name: "STRING_VALUE",
343
+ * description: "STRING_VALUE",
344
+ * pipeline: { // AgentHangupPipeline
345
+ * type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
346
+ * instructions: "STRING_VALUE",
347
+ * },
348
+ * annotations: "<AgentToolAnnotationsList>",
349
+ * },
350
+ * wait: { // AgentWaitCapability
351
+ * name: "STRING_VALUE",
352
+ * description: "STRING_VALUE",
353
+ * message: "STRING_VALUE",
354
+ * annotations: "<AgentToolAnnotationsList>",
355
+ * },
356
+ * },
357
+ * ],
192
358
  * },
193
- * ],
194
- * startMessage: "STRING_VALUE",
195
- * pipeline: { // AgentToolPipeline
196
- * type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
197
- * instructions: "STRING_VALUE",
198
- * },
199
- * approval: { // AgentToolApproval
200
- * prompt: "STRING_VALUE",
201
- * },
202
- * annotations: [ // AgentToolAnnotationsList
203
- * { // AgentToolAnnotation Union: only one key present
204
- * tag: { // AgentToolTagAnnotation
205
- * value: "STRING_VALUE",
206
- * applyOnSuccess: true || false,
207
- * applyOnFailure: true || false,
359
+ * message: { // AgentWorkflowMessageHandler
360
+ * content: { // AgentWorkflowMessageContent Union: only one key present
361
+ * text: "STRING_VALUE",
362
+ * generate: { // AgentWorkflowMessageGeneration
363
+ * instructions: "STRING_VALUE", // required
364
+ * },
208
365
  * },
209
- * comment: { // AgentToolCommentAnnotation
210
- * value: "STRING_VALUE",
211
- * applyOnSuccess: true || false,
212
- * applyOnFailure: true || false,
366
+ * channels: { // AgentWorkflowMessageChannelsSettings
367
+ * voice: { // AgentWorkflowMessageVoiceSettings
368
+ * interruptions: {
369
+ * enabled: true || false, // required
370
+ * minWords: Number("int"),
371
+ * },
372
+ * },
373
+ * chat: { // AgentWorkflowMessageChatSettings
374
+ * suggestions: [ // AgentWorkflowMessageButtonsList
375
+ * { // AgentWorkflowMessageButton
376
+ * text: "STRING_VALUE", // required
377
+ * handler: { // AgentWorkflowMessageButtonHandler Union: only one key present
378
+ * reply: { // AgentWorkflowMessageButtonReplyHandler
379
+ * text: "STRING_VALUE",
380
+ * },
381
+ * link: { // AgentWorkflowMessageButtonLinkHandler
382
+ * url: "STRING_VALUE", // required
383
+ * },
384
+ * },
385
+ * variant: "contained" || "outlined",
386
+ * },
387
+ * ],
388
+ * },
213
389
  * },
214
- * variables: {},
215
- * result: {},
216
390
  * },
217
- * ],
218
- * },
219
- * connector: { // AgentConnectorCapability
220
- * id: "STRING_VALUE", // required
221
- * startMessage: "STRING_VALUE",
222
- * pipeline: {
223
- * type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
224
- * instructions: "STRING_VALUE",
225
- * },
226
- * approval: {
227
- * prompt: "STRING_VALUE",
228
- * },
229
- * annotations: [
230
- * {// Union: only one key present
231
- * tag: {
232
- * value: "STRING_VALUE",
233
- * applyOnSuccess: true || false,
234
- * applyOnFailure: true || false,
235
- * },
236
- * comment: {
237
- * value: "STRING_VALUE",
238
- * applyOnSuccess: true || false,
239
- * applyOnFailure: true || false,
391
+ * action: { // AgentWorkflowActionHandler
392
+ * capability: { // AgentWorkflowAction Union: only one key present
393
+ * tool: {
394
+ * id: "STRING_VALUE", // required
395
+ * toolVersion: Number("int"),
396
+ * description: "STRING_VALUE",
397
+ * fields: [
398
+ * {
399
+ * path: "STRING_VALUE", // required
400
+ * handler: {// Union: only one key present
401
+ * guided: {
402
+ * description: "STRING_VALUE", // required
403
+ * },
404
+ * predefined: {
405
+ * value: "DOCUMENT_VALUE", // required
406
+ * },
407
+ * },
408
+ * },
409
+ * ],
410
+ * startMessage: "STRING_VALUE",
411
+ * pipeline: {
412
+ * type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
413
+ * instructions: "STRING_VALUE",
414
+ * },
415
+ * approval: {
416
+ * prompt: "STRING_VALUE",
417
+ * },
418
+ * annotations: "<AgentToolAnnotationsList>",
419
+ * },
420
+ * connector: {
421
+ * id: "STRING_VALUE", // required
422
+ * startMessage: "STRING_VALUE",
423
+ * pipeline: {
424
+ * type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
425
+ * instructions: "STRING_VALUE",
426
+ * },
427
+ * approval: {
428
+ * prompt: "STRING_VALUE",
429
+ * },
430
+ * annotations: "<AgentToolAnnotationsList>",
431
+ * },
432
+ * agent: {
433
+ * agentId: "STRING_VALUE", // required
434
+ * agentVersion: Number("int"),
435
+ * access: {
436
+ * visibility: "explicit" || "organization",
437
+ * grants: [
438
+ * {// Union: only one key present
439
+ * userId: "STRING_VALUE",
440
+ * groupId: "STRING_VALUE",
441
+ * },
442
+ * ],
443
+ * },
444
+ * variables: [
445
+ * {
446
+ * name: "STRING_VALUE", // required
447
+ * handler: {// Union: only one key present
448
+ * auto: {},
449
+ * guided: {
450
+ * description: "STRING_VALUE", // required
451
+ * },
452
+ * predefined: {
453
+ * value: "STRING_VALUE", // required
454
+ * },
455
+ * },
456
+ * },
457
+ * ],
458
+ * },
459
+ * handover: {
460
+ * name: "STRING_VALUE",
461
+ * description: "STRING_VALUE",
462
+ * variant: "agent" || "service",
463
+ * agent: "STRING_VALUE",
464
+ * agentVersion: Number("int"),
465
+ * service: "STRING_VALUE",
466
+ * silent: true || false,
467
+ * pipeline: {
468
+ * type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
469
+ * instructions: "STRING_VALUE",
470
+ * },
471
+ * annotations: "<AgentToolAnnotationsList>",
472
+ * },
473
+ * delegation: {
474
+ * name: "STRING_VALUE",
475
+ * description: "STRING_VALUE",
476
+ * id: "STRING_VALUE", // required
477
+ * agentVersion: Number("int"),
478
+ * annotations: "<AgentToolAnnotationsList>",
479
+ * },
480
+ * transfer: {
481
+ * name: "STRING_VALUE",
482
+ * description: "STRING_VALUE",
483
+ * variant: "predefined" || "dynamic" || "directory",
484
+ * context: "STRING_VALUE",
485
+ * extension: "STRING_VALUE",
486
+ * pipeline: {
487
+ * type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
488
+ * instructions: "STRING_VALUE",
489
+ * },
490
+ * annotations: "<AgentToolAnnotationsList>",
491
+ * },
492
+ * hangup: {
493
+ * name: "STRING_VALUE",
494
+ * description: "STRING_VALUE",
495
+ * pipeline: {
496
+ * type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
497
+ * instructions: "STRING_VALUE",
498
+ * },
499
+ * annotations: "<AgentToolAnnotationsList>",
500
+ * },
501
+ * wait: {
502
+ * name: "STRING_VALUE",
503
+ * description: "STRING_VALUE",
504
+ * message: "STRING_VALUE",
505
+ * annotations: "<AgentToolAnnotationsList>",
506
+ * },
240
507
  * },
241
- * variables: {},
242
- * result: {},
508
+ * forceToolCall: true || false,
509
+ * output: "STRING_VALUE",
243
510
  * },
244
- * ],
245
- * },
246
- * kb: { // AgentKnowledgeBase
247
- * knowledgeBaseId: "STRING_VALUE",
248
- * instructions: "STRING_VALUE",
249
- * annotations: [
250
- * {// Union: only one key present
251
- * tag: {
252
- * value: "STRING_VALUE",
253
- * applyOnSuccess: true || false,
254
- * applyOnFailure: true || false,
255
- * },
256
- * comment: {
257
- * value: "STRING_VALUE",
258
- * applyOnSuccess: true || false,
259
- * applyOnFailure: true || false,
260
- * },
261
- * variables: {},
262
- * result: {},
511
+ * variables: { // AgentWorkflowVariablesHandler
512
+ * assignments: [ // AgentWorkflowAssignmentsList // required
513
+ * { // AgentWorkflowAssignment
514
+ * name: "STRING_VALUE", // required
515
+ * value: "STRING_VALUE",
516
+ * expression: "DOCUMENT_VALUE",
517
+ * },
518
+ * ],
263
519
  * },
264
- * ],
265
- * },
266
- * sandbox: { // AgentSandboxCapability Union: only one key present
267
- * vercel: { // AgentVercelSandboxOptions
268
- * vcpus: Number("int"),
269
- * network: "allow-all" || "deny-all" || "allowlist",
270
- * allowedDomains: [ // DomainNameList
271
- * "STRING_VALUE",
272
- * ],
273
- * },
274
- * snapshot: { // AgentSnapshotSandboxOptions
275
- * snapshotId: "STRING_VALUE", // required
276
- * network: "allow-all" || "deny-all" || "allowlist",
277
- * allowedDomains: [
278
- * "STRING_VALUE",
279
- * ],
280
- * size: "min" || "small" || "large" || "max",
281
- * },
282
- * },
283
- * webSearch: { // AgentWebSearchCapability
284
- * contextSize: "low" || "medium" || "high",
285
- * allowedDomains: [
286
- * "STRING_VALUE",
287
- * ],
288
- * userLocation: { // WebSearchUserLocation
289
- * country: "STRING_VALUE",
290
- * region: "STRING_VALUE",
291
- * city: "STRING_VALUE",
292
- * timezone: "STRING_VALUE",
293
- * },
294
- * },
295
- * webFetch: { // AgentWebFetchCapability
296
- * allowedDomains: [
297
- * "STRING_VALUE",
298
- * ],
299
- * },
300
- * agent: { // AgentCallCapability
301
- * agentId: "STRING_VALUE", // required
302
- * agentVersion: Number("int"),
303
- * access: {
304
- * visibility: "explicit" || "organization",
305
- * grants: [
306
- * {// Union: only one key present
307
- * userId: "STRING_VALUE",
308
- * groupId: "STRING_VALUE",
309
- * },
310
- * ],
520
+ * workflow: { // AgentWorkflowInvokeHandler
521
+ * workflow: "STRING_VALUE", // required
522
+ * output: "STRING_VALUE",
523
+ * },
524
+ * result: { // AgentWorkflowResultHandler
525
+ * value: "STRING_VALUE",
526
+ * },
527
+ * end: {},
311
528
  * },
312
- * variables: [ // AgentToolVariablesList
313
- * { // AgentToolVariable
314
- * name: "STRING_VALUE", // required
315
- * handler: { // AgentToolVariableHandler Union: only one key present
316
- * auto: {},
317
- * guided: { // AgentToolVariableGuidedHandler
318
- * description: "STRING_VALUE", // required
529
+ * transitions: [ // AgentWorkflowTransitionsList
530
+ * { // AgentWorkflowTransition
531
+ * target: "STRING_VALUE", // required
532
+ * condition: { // AgentWorkflowCondition Union: only one key present
533
+ * always: {},
534
+ * prompt: { // AgentWorkflowPromptCondition
535
+ * instructions: "STRING_VALUE", // required
536
+ * },
537
+ * expression: { // AgentWorkflowExpressionCondition
538
+ * conditions: "DOCUMENT_VALUE", // required
319
539
  * },
320
- * predefined: { // AgentToolVariablePredefinedHandler
321
- * value: "STRING_VALUE", // required
540
+ * result: { // AgentWorkflowResultCondition
541
+ * result: "STRING_VALUE", // required
322
542
  * },
543
+ * failure: { // AgentWorkflowFailureCondition
544
+ * kinds: [ // AgentWorkflowFailureKindsList
545
+ * "timeout" || "denied" || "unauthorized" || "not_found" || "invalid_input" || "rate_limited" || "unavailable" || "error",
546
+ * ],
547
+ * },
548
+ * fallback: {},
323
549
  * },
324
550
  * },
325
551
  * ],
326
- * },
327
- * handover: { // AgentHandoverCapability
328
- * name: "STRING_VALUE",
329
- * description: "STRING_VALUE",
330
- * variant: "agent" || "service",
331
- * agent: "STRING_VALUE",
332
- * agentVersion: Number("int"),
333
- * service: "STRING_VALUE",
334
- * silent: true || false,
335
- * pipeline: { // AgentHandoverPipeline
336
- * type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
337
- * instructions: "STRING_VALUE",
552
+ * position: { // AgentWorkflowStepPosition
553
+ * x: Number("int"), // required
554
+ * y: Number("int"), // required
338
555
  * },
339
- * annotations: [
340
- * {// Union: only one key present
341
- * tag: {
342
- * value: "STRING_VALUE",
343
- * applyOnSuccess: true || false,
344
- * applyOnFailure: true || false,
345
- * },
346
- * comment: {
347
- * value: "STRING_VALUE",
348
- * applyOnSuccess: true || false,
349
- * applyOnFailure: true || false,
350
- * },
351
- * variables: {},
352
- * result: {},
353
- * },
354
- * ],
355
556
  * },
356
- * delegation: { // AgentDelegationCapability
357
- * name: "STRING_VALUE",
358
- * description: "STRING_VALUE",
359
- * id: "STRING_VALUE", // required
360
- * agentVersion: Number("int"),
361
- * annotations: [
362
- * {// Union: only one key present
363
- * tag: {
364
- * value: "STRING_VALUE",
365
- * applyOnSuccess: true || false,
366
- * applyOnFailure: true || false,
557
+ * ],
558
+ * nested: [ // AgentWorkflowNestedList
559
+ * { // AgentWorkflowNested
560
+ * entry: "STRING_VALUE", // required
561
+ * steps: [ // required
562
+ * {
563
+ * id: "STRING_VALUE", // required
564
+ * label: "STRING_VALUE", // required
565
+ * summary: "STRING_VALUE",
566
+ * stage: "STRING_VALUE",
567
+ * handler: {// Union: only one key present
568
+ * conversation: {
569
+ * goal: "STRING_VALUE", // required
570
+ * entry: "auto" || "speak_first" || "listen_first",
571
+ * channels: {
572
+ * voice: {
573
+ * interruptions: "<VoiceInterruptionSettings>",
574
+ * },
575
+ * },
576
+ * capabilities: [
577
+ * {// Union: only one key present
578
+ * tool: "<AgentTool>",
579
+ * connector: "<AgentConnectorCapability>",
580
+ * kb: {
581
+ * knowledgeBaseId: "STRING_VALUE",
582
+ * instructions: "STRING_VALUE",
583
+ * annotations: "<AgentToolAnnotationsList>",
584
+ * },
585
+ * sandbox: {// Union: only one key present
586
+ * vercel: {
587
+ * vcpus: Number("int"),
588
+ * network: "allow-all" || "deny-all" || "allowlist",
589
+ * allowedDomains: "<DomainNameList>",
590
+ * },
591
+ * snapshot: {
592
+ * snapshotId: "STRING_VALUE", // required
593
+ * network: "allow-all" || "deny-all" || "allowlist",
594
+ * allowedDomains: "<DomainNameList>",
595
+ * size: "min" || "small" || "large" || "max",
596
+ * },
597
+ * },
598
+ * webSearch: {
599
+ * contextSize: "low" || "medium" || "high",
600
+ * allowedDomains: "<DomainNameList>",
601
+ * userLocation: {
602
+ * country: "STRING_VALUE",
603
+ * region: "STRING_VALUE",
604
+ * city: "STRING_VALUE",
605
+ * timezone: "STRING_VALUE",
606
+ * },
607
+ * },
608
+ * webFetch: {
609
+ * allowedDomains: "<DomainNameList>",
610
+ * },
611
+ * agent: "<AgentCallCapability>",
612
+ * handover: "<AgentHandoverCapability>",
613
+ * delegation: "<AgentDelegationCapability>",
614
+ * transfer: "<AgentTransferCapability>",
615
+ * suggestions: {
616
+ * name: "STRING_VALUE",
617
+ * annotations: "<AgentToolAnnotationsList>",
618
+ * },
619
+ * hangup: "<AgentHangupCapability>",
620
+ * wait: "<AgentWaitCapability>",
621
+ * },
622
+ * ],
623
+ * },
624
+ * message: {
625
+ * content: {// Union: only one key present
626
+ * text: "STRING_VALUE",
627
+ * generate: {
628
+ * instructions: "STRING_VALUE", // required
629
+ * },
630
+ * },
631
+ * channels: {
632
+ * voice: {
633
+ * interruptions: "<VoiceInterruptionSettings>",
634
+ * },
635
+ * chat: {
636
+ * suggestions: [
637
+ * {
638
+ * text: "STRING_VALUE", // required
639
+ * handler: {// Union: only one key present
640
+ * reply: {
641
+ * text: "STRING_VALUE",
642
+ * },
643
+ * link: {
644
+ * url: "STRING_VALUE", // required
645
+ * },
646
+ * },
647
+ * variant: "contained" || "outlined",
648
+ * },
649
+ * ],
650
+ * },
651
+ * },
652
+ * },
653
+ * action: {
654
+ * capability: {// Union: only one key present
655
+ * tool: "<AgentTool>",
656
+ * connector: "<AgentConnectorCapability>",
657
+ * agent: "<AgentCallCapability>",
658
+ * handover: "<AgentHandoverCapability>",
659
+ * delegation: "<AgentDelegationCapability>",
660
+ * transfer: "<AgentTransferCapability>",
661
+ * hangup: "<AgentHangupCapability>",
662
+ * wait: "<AgentWaitCapability>",
663
+ * },
664
+ * forceToolCall: true || false,
665
+ * output: "STRING_VALUE",
666
+ * },
667
+ * variables: {
668
+ * assignments: [ // required
669
+ * {
670
+ * name: "STRING_VALUE", // required
671
+ * value: "STRING_VALUE",
672
+ * expression: "DOCUMENT_VALUE",
673
+ * },
674
+ * ],
675
+ * },
676
+ * workflow: {
677
+ * workflow: "STRING_VALUE", // required
678
+ * output: "STRING_VALUE",
679
+ * },
680
+ * result: {
681
+ * value: "STRING_VALUE",
682
+ * },
683
+ * end: {},
367
684
  * },
368
- * comment: {
369
- * value: "STRING_VALUE",
370
- * applyOnSuccess: true || false,
371
- * applyOnFailure: true || false,
685
+ * transitions: [
686
+ * {
687
+ * target: "STRING_VALUE", // required
688
+ * condition: {// Union: only one key present
689
+ * always: {},
690
+ * prompt: {
691
+ * instructions: "STRING_VALUE", // required
692
+ * },
693
+ * expression: {
694
+ * conditions: "DOCUMENT_VALUE", // required
695
+ * },
696
+ * result: {
697
+ * result: "STRING_VALUE", // required
698
+ * },
699
+ * failure: {
700
+ * kinds: [
701
+ * "timeout" || "denied" || "unauthorized" || "not_found" || "invalid_input" || "rate_limited" || "unavailable" || "error",
702
+ * ],
703
+ * },
704
+ * fallback: {},
705
+ * },
706
+ * },
707
+ * ],
708
+ * position: {
709
+ * x: Number("int"), // required
710
+ * y: Number("int"), // required
372
711
  * },
373
- * variables: {},
374
- * result: {},
375
712
  * },
376
713
  * ],
377
- * },
378
- * transfer: { // AgentTransferCapability
379
- * name: "STRING_VALUE",
380
- * description: "STRING_VALUE",
381
- * variant: "predefined" || "dynamic" || "directory",
382
- * context: "STRING_VALUE",
383
- * extension: "STRING_VALUE",
384
- * pipeline: { // AgentTransferPipeline
385
- * type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
386
- * instructions: "STRING_VALUE",
387
- * },
388
- * annotations: "<AgentToolAnnotationsList>",
389
- * },
390
- * suggestions: { // AgentSuggestionsCapability
391
- * name: "STRING_VALUE",
392
- * annotations: "<AgentToolAnnotationsList>",
393
- * },
394
- * hangup: { // AgentHangupCapability
395
- * name: "STRING_VALUE",
396
- * description: "STRING_VALUE",
397
- * pipeline: { // AgentHangupPipeline
398
- * type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
399
- * instructions: "STRING_VALUE",
400
- * },
401
- * annotations: "<AgentToolAnnotationsList>",
402
- * },
403
- * wait: { // AgentWaitCapability
404
- * name: "STRING_VALUE",
714
+ * id: "STRING_VALUE", // required
715
+ * name: "STRING_VALUE", // required
405
716
  * description: "STRING_VALUE",
406
- * message: "STRING_VALUE",
407
- * annotations: "<AgentToolAnnotationsList>",
408
717
  * },
718
+ * ],
719
+ * settings: { // AgentWorkflowSettings
720
+ * maxTransitions: Number("int"),
721
+ * variables: "<AgentWorkflowAssignmentsList>",
722
+ * layout: "flow" || "compact" || "stages",
723
+ * },
724
+ * },
725
+ * model: "STRING_VALUE",
726
+ * timeZone: "STRING_VALUE",
727
+ * artifacts: true || false,
728
+ * skills: [ // AgentSkillsList
729
+ * { // AgentSkillReference
730
+ * id: "STRING_VALUE", // required
731
+ * skillVersion: Number("int"),
732
+ * access: "<AgentAccess>",
409
733
  * },
410
734
  * ],
735
+ * capabilities: "<AgentCapabilitiesList>",
411
736
  * variables: [ // AgentVariablesList
412
737
  * { // AgentVariable
413
738
  * name: "STRING_VALUE", // required
@@ -425,7 +750,9 @@ declare const UpdateAgentCommand_base: {
425
750
  * sqs: { // AgentSqsEngine
426
751
  * url: "STRING_VALUE", // required
427
752
  * key: "STRING_VALUE", // required
428
- * secret: "<SecretRef>", // required
753
+ * secret: { // SecretRef
754
+ * id: "STRING_VALUE", // required
755
+ * },
429
756
  * },
430
757
  * },
431
758
  * settings: { // AgentSettings
@@ -447,61 +774,6 @@ declare const UpdateAgentCommand_base: {
447
774
  * // channels: { // AgentChannels
448
775
  * // voice: { // VoiceChannelSettings
449
776
  * // greeting: "STRING_VALUE",
450
- * // backgroundSound: "STRING_VALUE",
451
- * // speech: { // VoiceSpeechSettings
452
- * // provider: "elevenlabs" || "google" || "amazon_polly", // required
453
- * // languages: [ // VoiceLanguageList // required
454
- * // { // VoiceLanguage
455
- * // code: "STRING_VALUE", // required
456
- * // provider: "elevenlabs" || "google" || "amazon_polly",
457
- * // voice: "STRING_VALUE", // required
458
- * // greeting: "STRING_VALUE",
459
- * // isDefault: true || false,
460
- * // instructions: "STRING_VALUE",
461
- * // synthesis: { // VoiceSynthesisOptions
462
- * // model: "STRING_VALUE",
463
- * // speed: Number("float"),
464
- * // stability: Number("float"),
465
- * // similarity: Number("float"),
466
- * // style: Number("float"),
467
- * // speakerBoost: true || false,
468
- * // pitch: Number("float"),
469
- * // volumeGain: Number("float"),
470
- * // },
471
- * // credential: { // SecretRef
472
- * // id: "STRING_VALUE", // required
473
- * // },
474
- * // pronunciations: [ // VoicePronunciationList
475
- * // { // VoicePronunciation
476
- * // phrase: "STRING_VALUE", // required
477
- * // as: "STRING_VALUE", // required
478
- * // encoding: "alias" || "ipa",
479
- * // },
480
- * // ],
481
- * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
482
- * // "STRING_VALUE",
483
- * // ],
484
- * // },
485
- * // ],
486
- * // autoDetect: true || false,
487
- * // greetEveryLanguage: true || false,
488
- * // transcription: { // VoiceTranscriptionSettings
489
- * // vendor: "aws", // required
490
- * // },
491
- * // synthesis: {
492
- * // model: "STRING_VALUE",
493
- * // speed: Number("float"),
494
- * // stability: Number("float"),
495
- * // similarity: Number("float"),
496
- * // style: Number("float"),
497
- * // speakerBoost: true || false,
498
- * // pitch: Number("float"),
499
- * // volumeGain: Number("float"),
500
- * // },
501
- * // credential: {
502
- * // id: "STRING_VALUE", // required
503
- * // },
504
- * // },
505
777
  * // interruptions: { // VoiceInterruptionSettings
506
778
  * // enabled: true || false, // required
507
779
  * // minWords: Number("int"),
@@ -557,260 +829,640 @@ declare const UpdateAgentCommand_base: {
557
829
  * // engine: { // AgentEngine Union: only one key present
558
830
  * // ai: { // AgentAiEngine
559
831
  * // instructions: "STRING_VALUE", // required
560
- * // model: "STRING_VALUE",
561
- * // timeZone: "STRING_VALUE",
562
- * // artifacts: true || false,
563
- * // skills: [ // AgentSkillsList
564
- * // { // AgentSkillReference
565
- * // id: "STRING_VALUE", // required
566
- * // skillVersion: Number("int"),
567
- * // access: { // AgentAccess
568
- * // visibility: "explicit" || "organization",
569
- * // grants: [ // AgentGrantPrincipalList
570
- * // { // AgentGrantPrincipal Union: only one key present
571
- * // userId: "STRING_VALUE",
572
- * // groupId: "STRING_VALUE",
573
- * // },
574
- * // ],
575
- * // },
576
- * // },
577
- * // ],
578
- * // capabilities: [ // AgentCapabilitiesList
579
- * // { // AgentCapability Union: only one key present
580
- * // tool: { // AgentTool
832
+ * // workflow: { // AgentWorkflow
833
+ * // entry: "STRING_VALUE", // required
834
+ * // steps: [ // AgentWorkflowStepsList // required
835
+ * // { // AgentWorkflowStep
581
836
  * // id: "STRING_VALUE", // required
582
- * // toolVersion: Number("int"),
583
- * // description: "STRING_VALUE",
584
- * // fields: [ // AgentToolFieldsList
585
- * // { // AgentToolField
586
- * // path: "STRING_VALUE", // required
587
- * // handler: { // AgentToolFieldHandler Union: only one key present
588
- * // guided: { // AgentToolFieldGuidedHandler
589
- * // description: "STRING_VALUE", // required
590
- * // },
591
- * // predefined: { // AgentToolFieldPredefinedHandler
592
- * // value: "DOCUMENT_VALUE", // required
837
+ * // label: "STRING_VALUE", // required
838
+ * // summary: "STRING_VALUE",
839
+ * // stage: "STRING_VALUE",
840
+ * // handler: { // AgentWorkflowHandler Union: only one key present
841
+ * // conversation: { // AgentWorkflowConversationHandler
842
+ * // goal: "STRING_VALUE", // required
843
+ * // entry: "auto" || "speak_first" || "listen_first",
844
+ * // channels: { // AgentWorkflowConversationChannelsSettings
845
+ * // voice: { // AgentWorkflowConversationVoiceSettings
846
+ * // interruptions: {
847
+ * // enabled: true || false, // required
848
+ * // minWords: Number("int"),
849
+ * // },
593
850
  * // },
594
851
  * // },
852
+ * // capabilities: [ // AgentCapabilitiesList
853
+ * // { // AgentCapability Union: only one key present
854
+ * // tool: { // AgentTool
855
+ * // id: "STRING_VALUE", // required
856
+ * // toolVersion: Number("int"),
857
+ * // description: "STRING_VALUE",
858
+ * // fields: [ // AgentToolFieldsList
859
+ * // { // AgentToolField
860
+ * // path: "STRING_VALUE", // required
861
+ * // handler: { // AgentToolFieldHandler Union: only one key present
862
+ * // guided: { // AgentToolFieldGuidedHandler
863
+ * // description: "STRING_VALUE", // required
864
+ * // },
865
+ * // predefined: { // AgentToolFieldPredefinedHandler
866
+ * // value: "DOCUMENT_VALUE", // required
867
+ * // },
868
+ * // },
869
+ * // },
870
+ * // ],
871
+ * // startMessage: "STRING_VALUE",
872
+ * // pipeline: { // AgentToolPipeline
873
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
874
+ * // instructions: "STRING_VALUE",
875
+ * // },
876
+ * // approval: { // AgentToolApproval
877
+ * // prompt: "STRING_VALUE",
878
+ * // },
879
+ * // annotations: [ // AgentToolAnnotationsList
880
+ * // { // AgentToolAnnotation Union: only one key present
881
+ * // tag: { // AgentToolTagAnnotation
882
+ * // value: "STRING_VALUE",
883
+ * // applyOnSuccess: true || false,
884
+ * // applyOnFailure: true || false,
885
+ * // },
886
+ * // comment: { // AgentToolCommentAnnotation
887
+ * // value: "STRING_VALUE",
888
+ * // applyOnSuccess: true || false,
889
+ * // applyOnFailure: true || false,
890
+ * // },
891
+ * // variables: {},
892
+ * // result: {},
893
+ * // },
894
+ * // ],
895
+ * // },
896
+ * // connector: { // AgentConnectorCapability
897
+ * // id: "STRING_VALUE", // required
898
+ * // startMessage: "STRING_VALUE",
899
+ * // pipeline: {
900
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
901
+ * // instructions: "STRING_VALUE",
902
+ * // },
903
+ * // approval: {
904
+ * // prompt: "STRING_VALUE",
905
+ * // },
906
+ * // annotations: [
907
+ * // {// Union: only one key present
908
+ * // tag: {
909
+ * // value: "STRING_VALUE",
910
+ * // applyOnSuccess: true || false,
911
+ * // applyOnFailure: true || false,
912
+ * // },
913
+ * // comment: {
914
+ * // value: "STRING_VALUE",
915
+ * // applyOnSuccess: true || false,
916
+ * // applyOnFailure: true || false,
917
+ * // },
918
+ * // variables: {},
919
+ * // result: {},
920
+ * // },
921
+ * // ],
922
+ * // },
923
+ * // kb: { // AgentKnowledgeBase
924
+ * // knowledgeBaseId: "STRING_VALUE",
925
+ * // instructions: "STRING_VALUE",
926
+ * // annotations: [
927
+ * // {// Union: only one key present
928
+ * // tag: {
929
+ * // value: "STRING_VALUE",
930
+ * // applyOnSuccess: true || false,
931
+ * // applyOnFailure: true || false,
932
+ * // },
933
+ * // comment: {
934
+ * // value: "STRING_VALUE",
935
+ * // applyOnSuccess: true || false,
936
+ * // applyOnFailure: true || false,
937
+ * // },
938
+ * // variables: {},
939
+ * // result: {},
940
+ * // },
941
+ * // ],
942
+ * // },
943
+ * // sandbox: { // AgentSandboxCapability Union: only one key present
944
+ * // vercel: { // AgentVercelSandboxOptions
945
+ * // vcpus: Number("int"),
946
+ * // network: "allow-all" || "deny-all" || "allowlist",
947
+ * // allowedDomains: [ // DomainNameList
948
+ * // "STRING_VALUE",
949
+ * // ],
950
+ * // },
951
+ * // snapshot: { // AgentSnapshotSandboxOptions
952
+ * // snapshotId: "STRING_VALUE", // required
953
+ * // network: "allow-all" || "deny-all" || "allowlist",
954
+ * // allowedDomains: [
955
+ * // "STRING_VALUE",
956
+ * // ],
957
+ * // size: "min" || "small" || "large" || "max",
958
+ * // },
959
+ * // },
960
+ * // webSearch: { // AgentWebSearchCapability
961
+ * // contextSize: "low" || "medium" || "high",
962
+ * // allowedDomains: [
963
+ * // "STRING_VALUE",
964
+ * // ],
965
+ * // userLocation: { // WebSearchUserLocation
966
+ * // country: "STRING_VALUE",
967
+ * // region: "STRING_VALUE",
968
+ * // city: "STRING_VALUE",
969
+ * // timezone: "STRING_VALUE",
970
+ * // },
971
+ * // },
972
+ * // webFetch: { // AgentWebFetchCapability
973
+ * // allowedDomains: [
974
+ * // "STRING_VALUE",
975
+ * // ],
976
+ * // },
977
+ * // agent: { // AgentCallCapability
978
+ * // agentId: "STRING_VALUE", // required
979
+ * // agentVersion: Number("int"),
980
+ * // access: { // AgentAccess
981
+ * // visibility: "explicit" || "organization",
982
+ * // grants: [ // AgentGrantPrincipalList
983
+ * // { // AgentGrantPrincipal Union: only one key present
984
+ * // userId: "STRING_VALUE",
985
+ * // groupId: "STRING_VALUE",
986
+ * // },
987
+ * // ],
988
+ * // },
989
+ * // variables: [ // AgentToolVariablesList
990
+ * // { // AgentToolVariable
991
+ * // name: "STRING_VALUE", // required
992
+ * // handler: { // AgentToolVariableHandler Union: only one key present
993
+ * // auto: {},
994
+ * // guided: { // AgentToolVariableGuidedHandler
995
+ * // description: "STRING_VALUE", // required
996
+ * // },
997
+ * // predefined: { // AgentToolVariablePredefinedHandler
998
+ * // value: "STRING_VALUE", // required
999
+ * // },
1000
+ * // },
1001
+ * // },
1002
+ * // ],
1003
+ * // },
1004
+ * // handover: { // AgentHandoverCapability
1005
+ * // name: "STRING_VALUE",
1006
+ * // description: "STRING_VALUE",
1007
+ * // variant: "agent" || "service",
1008
+ * // agent: "STRING_VALUE",
1009
+ * // agentVersion: Number("int"),
1010
+ * // service: "STRING_VALUE",
1011
+ * // silent: true || false,
1012
+ * // pipeline: { // AgentHandoverPipeline
1013
+ * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
1014
+ * // instructions: "STRING_VALUE",
1015
+ * // },
1016
+ * // annotations: [
1017
+ * // {// Union: only one key present
1018
+ * // tag: {
1019
+ * // value: "STRING_VALUE",
1020
+ * // applyOnSuccess: true || false,
1021
+ * // applyOnFailure: true || false,
1022
+ * // },
1023
+ * // comment: {
1024
+ * // value: "STRING_VALUE",
1025
+ * // applyOnSuccess: true || false,
1026
+ * // applyOnFailure: true || false,
1027
+ * // },
1028
+ * // variables: {},
1029
+ * // result: {},
1030
+ * // },
1031
+ * // ],
1032
+ * // },
1033
+ * // delegation: { // AgentDelegationCapability
1034
+ * // name: "STRING_VALUE",
1035
+ * // description: "STRING_VALUE",
1036
+ * // id: "STRING_VALUE", // required
1037
+ * // agentVersion: Number("int"),
1038
+ * // annotations: [
1039
+ * // {// Union: only one key present
1040
+ * // tag: {
1041
+ * // value: "STRING_VALUE",
1042
+ * // applyOnSuccess: true || false,
1043
+ * // applyOnFailure: true || false,
1044
+ * // },
1045
+ * // comment: {
1046
+ * // value: "STRING_VALUE",
1047
+ * // applyOnSuccess: true || false,
1048
+ * // applyOnFailure: true || false,
1049
+ * // },
1050
+ * // variables: {},
1051
+ * // result: {},
1052
+ * // },
1053
+ * // ],
1054
+ * // },
1055
+ * // transfer: { // AgentTransferCapability
1056
+ * // name: "STRING_VALUE",
1057
+ * // description: "STRING_VALUE",
1058
+ * // variant: "predefined" || "dynamic" || "directory",
1059
+ * // context: "STRING_VALUE",
1060
+ * // extension: "STRING_VALUE",
1061
+ * // pipeline: { // AgentTransferPipeline
1062
+ * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
1063
+ * // instructions: "STRING_VALUE",
1064
+ * // },
1065
+ * // annotations: "<AgentToolAnnotationsList>",
1066
+ * // },
1067
+ * // suggestions: { // AgentSuggestionsCapability
1068
+ * // name: "STRING_VALUE",
1069
+ * // annotations: "<AgentToolAnnotationsList>",
1070
+ * // },
1071
+ * // hangup: { // AgentHangupCapability
1072
+ * // name: "STRING_VALUE",
1073
+ * // description: "STRING_VALUE",
1074
+ * // pipeline: { // AgentHangupPipeline
1075
+ * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
1076
+ * // instructions: "STRING_VALUE",
1077
+ * // },
1078
+ * // annotations: "<AgentToolAnnotationsList>",
1079
+ * // },
1080
+ * // wait: { // AgentWaitCapability
1081
+ * // name: "STRING_VALUE",
1082
+ * // description: "STRING_VALUE",
1083
+ * // message: "STRING_VALUE",
1084
+ * // annotations: "<AgentToolAnnotationsList>",
1085
+ * // },
1086
+ * // },
1087
+ * // ],
595
1088
  * // },
596
- * // ],
597
- * // startMessage: "STRING_VALUE",
598
- * // pipeline: { // AgentToolPipeline
599
- * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
600
- * // instructions: "STRING_VALUE",
601
- * // },
602
- * // approval: { // AgentToolApproval
603
- * // prompt: "STRING_VALUE",
604
- * // },
605
- * // annotations: [ // AgentToolAnnotationsList
606
- * // { // AgentToolAnnotation Union: only one key present
607
- * // tag: { // AgentToolTagAnnotation
608
- * // value: "STRING_VALUE",
609
- * // applyOnSuccess: true || false,
610
- * // applyOnFailure: true || false,
1089
+ * // message: { // AgentWorkflowMessageHandler
1090
+ * // content: { // AgentWorkflowMessageContent Union: only one key present
1091
+ * // text: "STRING_VALUE",
1092
+ * // generate: { // AgentWorkflowMessageGeneration
1093
+ * // instructions: "STRING_VALUE", // required
1094
+ * // },
611
1095
  * // },
612
- * // comment: { // AgentToolCommentAnnotation
613
- * // value: "STRING_VALUE",
614
- * // applyOnSuccess: true || false,
615
- * // applyOnFailure: true || false,
1096
+ * // channels: { // AgentWorkflowMessageChannelsSettings
1097
+ * // voice: { // AgentWorkflowMessageVoiceSettings
1098
+ * // interruptions: {
1099
+ * // enabled: true || false, // required
1100
+ * // minWords: Number("int"),
1101
+ * // },
1102
+ * // },
1103
+ * // chat: { // AgentWorkflowMessageChatSettings
1104
+ * // suggestions: [ // AgentWorkflowMessageButtonsList
1105
+ * // { // AgentWorkflowMessageButton
1106
+ * // text: "STRING_VALUE", // required
1107
+ * // handler: { // AgentWorkflowMessageButtonHandler Union: only one key present
1108
+ * // reply: { // AgentWorkflowMessageButtonReplyHandler
1109
+ * // text: "STRING_VALUE",
1110
+ * // },
1111
+ * // link: { // AgentWorkflowMessageButtonLinkHandler
1112
+ * // url: "STRING_VALUE", // required
1113
+ * // },
1114
+ * // },
1115
+ * // variant: "contained" || "outlined",
1116
+ * // },
1117
+ * // ],
1118
+ * // },
616
1119
  * // },
617
- * // variables: {},
618
- * // result: {},
619
1120
  * // },
620
- * // ],
621
- * // },
622
- * // connector: { // AgentConnectorCapability
623
- * // id: "STRING_VALUE", // required
624
- * // startMessage: "STRING_VALUE",
625
- * // pipeline: {
626
- * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
627
- * // instructions: "STRING_VALUE",
628
- * // },
629
- * // approval: {
630
- * // prompt: "STRING_VALUE",
631
- * // },
632
- * // annotations: [
633
- * // {// Union: only one key present
634
- * // tag: {
635
- * // value: "STRING_VALUE",
636
- * // applyOnSuccess: true || false,
637
- * // applyOnFailure: true || false,
638
- * // },
639
- * // comment: {
640
- * // value: "STRING_VALUE",
641
- * // applyOnSuccess: true || false,
642
- * // applyOnFailure: true || false,
1121
+ * // action: { // AgentWorkflowActionHandler
1122
+ * // capability: { // AgentWorkflowAction Union: only one key present
1123
+ * // tool: {
1124
+ * // id: "STRING_VALUE", // required
1125
+ * // toolVersion: Number("int"),
1126
+ * // description: "STRING_VALUE",
1127
+ * // fields: [
1128
+ * // {
1129
+ * // path: "STRING_VALUE", // required
1130
+ * // handler: {// Union: only one key present
1131
+ * // guided: {
1132
+ * // description: "STRING_VALUE", // required
1133
+ * // },
1134
+ * // predefined: {
1135
+ * // value: "DOCUMENT_VALUE", // required
1136
+ * // },
1137
+ * // },
1138
+ * // },
1139
+ * // ],
1140
+ * // startMessage: "STRING_VALUE",
1141
+ * // pipeline: {
1142
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
1143
+ * // instructions: "STRING_VALUE",
1144
+ * // },
1145
+ * // approval: {
1146
+ * // prompt: "STRING_VALUE",
1147
+ * // },
1148
+ * // annotations: "<AgentToolAnnotationsList>",
1149
+ * // },
1150
+ * // connector: {
1151
+ * // id: "STRING_VALUE", // required
1152
+ * // startMessage: "STRING_VALUE",
1153
+ * // pipeline: {
1154
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
1155
+ * // instructions: "STRING_VALUE",
1156
+ * // },
1157
+ * // approval: {
1158
+ * // prompt: "STRING_VALUE",
1159
+ * // },
1160
+ * // annotations: "<AgentToolAnnotationsList>",
1161
+ * // },
1162
+ * // agent: {
1163
+ * // agentId: "STRING_VALUE", // required
1164
+ * // agentVersion: Number("int"),
1165
+ * // access: {
1166
+ * // visibility: "explicit" || "organization",
1167
+ * // grants: [
1168
+ * // {// Union: only one key present
1169
+ * // userId: "STRING_VALUE",
1170
+ * // groupId: "STRING_VALUE",
1171
+ * // },
1172
+ * // ],
1173
+ * // },
1174
+ * // variables: [
1175
+ * // {
1176
+ * // name: "STRING_VALUE", // required
1177
+ * // handler: {// Union: only one key present
1178
+ * // auto: {},
1179
+ * // guided: {
1180
+ * // description: "STRING_VALUE", // required
1181
+ * // },
1182
+ * // predefined: {
1183
+ * // value: "STRING_VALUE", // required
1184
+ * // },
1185
+ * // },
1186
+ * // },
1187
+ * // ],
1188
+ * // },
1189
+ * // handover: {
1190
+ * // name: "STRING_VALUE",
1191
+ * // description: "STRING_VALUE",
1192
+ * // variant: "agent" || "service",
1193
+ * // agent: "STRING_VALUE",
1194
+ * // agentVersion: Number("int"),
1195
+ * // service: "STRING_VALUE",
1196
+ * // silent: true || false,
1197
+ * // pipeline: {
1198
+ * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
1199
+ * // instructions: "STRING_VALUE",
1200
+ * // },
1201
+ * // annotations: "<AgentToolAnnotationsList>",
1202
+ * // },
1203
+ * // delegation: {
1204
+ * // name: "STRING_VALUE",
1205
+ * // description: "STRING_VALUE",
1206
+ * // id: "STRING_VALUE", // required
1207
+ * // agentVersion: Number("int"),
1208
+ * // annotations: "<AgentToolAnnotationsList>",
1209
+ * // },
1210
+ * // transfer: {
1211
+ * // name: "STRING_VALUE",
1212
+ * // description: "STRING_VALUE",
1213
+ * // variant: "predefined" || "dynamic" || "directory",
1214
+ * // context: "STRING_VALUE",
1215
+ * // extension: "STRING_VALUE",
1216
+ * // pipeline: {
1217
+ * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
1218
+ * // instructions: "STRING_VALUE",
1219
+ * // },
1220
+ * // annotations: "<AgentToolAnnotationsList>",
1221
+ * // },
1222
+ * // hangup: {
1223
+ * // name: "STRING_VALUE",
1224
+ * // description: "STRING_VALUE",
1225
+ * // pipeline: {
1226
+ * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
1227
+ * // instructions: "STRING_VALUE",
1228
+ * // },
1229
+ * // annotations: "<AgentToolAnnotationsList>",
1230
+ * // },
1231
+ * // wait: {
1232
+ * // name: "STRING_VALUE",
1233
+ * // description: "STRING_VALUE",
1234
+ * // message: "STRING_VALUE",
1235
+ * // annotations: "<AgentToolAnnotationsList>",
1236
+ * // },
643
1237
  * // },
644
- * // variables: {},
645
- * // result: {},
1238
+ * // forceToolCall: true || false,
1239
+ * // output: "STRING_VALUE",
646
1240
  * // },
647
- * // ],
648
- * // },
649
- * // kb: { // AgentKnowledgeBase
650
- * // knowledgeBaseId: "STRING_VALUE",
651
- * // instructions: "STRING_VALUE",
652
- * // annotations: [
653
- * // {// Union: only one key present
654
- * // tag: {
655
- * // value: "STRING_VALUE",
656
- * // applyOnSuccess: true || false,
657
- * // applyOnFailure: true || false,
658
- * // },
659
- * // comment: {
660
- * // value: "STRING_VALUE",
661
- * // applyOnSuccess: true || false,
662
- * // applyOnFailure: true || false,
663
- * // },
664
- * // variables: {},
665
- * // result: {},
1241
+ * // variables: { // AgentWorkflowVariablesHandler
1242
+ * // assignments: [ // AgentWorkflowAssignmentsList // required
1243
+ * // { // AgentWorkflowAssignment
1244
+ * // name: "STRING_VALUE", // required
1245
+ * // value: "STRING_VALUE",
1246
+ * // expression: "DOCUMENT_VALUE",
1247
+ * // },
1248
+ * // ],
666
1249
  * // },
667
- * // ],
668
- * // },
669
- * // sandbox: { // AgentSandboxCapability Union: only one key present
670
- * // vercel: { // AgentVercelSandboxOptions
671
- * // vcpus: Number("int"),
672
- * // network: "allow-all" || "deny-all" || "allowlist",
673
- * // allowedDomains: [ // DomainNameList
674
- * // "STRING_VALUE",
675
- * // ],
676
- * // },
677
- * // snapshot: { // AgentSnapshotSandboxOptions
678
- * // snapshotId: "STRING_VALUE", // required
679
- * // network: "allow-all" || "deny-all" || "allowlist",
680
- * // allowedDomains: [
681
- * // "STRING_VALUE",
682
- * // ],
683
- * // size: "min" || "small" || "large" || "max",
684
- * // },
685
- * // },
686
- * // webSearch: { // AgentWebSearchCapability
687
- * // contextSize: "low" || "medium" || "high",
688
- * // allowedDomains: [
689
- * // "STRING_VALUE",
690
- * // ],
691
- * // userLocation: { // WebSearchUserLocation
692
- * // country: "STRING_VALUE",
693
- * // region: "STRING_VALUE",
694
- * // city: "STRING_VALUE",
695
- * // timezone: "STRING_VALUE",
696
- * // },
697
- * // },
698
- * // webFetch: { // AgentWebFetchCapability
699
- * // allowedDomains: [
700
- * // "STRING_VALUE",
701
- * // ],
702
- * // },
703
- * // agent: { // AgentCallCapability
704
- * // agentId: "STRING_VALUE", // required
705
- * // agentVersion: Number("int"),
706
- * // access: {
707
- * // visibility: "explicit" || "organization",
708
- * // grants: [
709
- * // {// Union: only one key present
710
- * // userId: "STRING_VALUE",
711
- * // groupId: "STRING_VALUE",
712
- * // },
713
- * // ],
1250
+ * // workflow: { // AgentWorkflowInvokeHandler
1251
+ * // workflow: "STRING_VALUE", // required
1252
+ * // output: "STRING_VALUE",
1253
+ * // },
1254
+ * // result: { // AgentWorkflowResultHandler
1255
+ * // value: "STRING_VALUE",
1256
+ * // },
1257
+ * // end: {},
714
1258
  * // },
715
- * // variables: [ // AgentToolVariablesList
716
- * // { // AgentToolVariable
717
- * // name: "STRING_VALUE", // required
718
- * // handler: { // AgentToolVariableHandler Union: only one key present
719
- * // auto: {},
720
- * // guided: { // AgentToolVariableGuidedHandler
721
- * // description: "STRING_VALUE", // required
1259
+ * // transitions: [ // AgentWorkflowTransitionsList
1260
+ * // { // AgentWorkflowTransition
1261
+ * // target: "STRING_VALUE", // required
1262
+ * // condition: { // AgentWorkflowCondition Union: only one key present
1263
+ * // always: {},
1264
+ * // prompt: { // AgentWorkflowPromptCondition
1265
+ * // instructions: "STRING_VALUE", // required
1266
+ * // },
1267
+ * // expression: { // AgentWorkflowExpressionCondition
1268
+ * // conditions: "DOCUMENT_VALUE", // required
722
1269
  * // },
723
- * // predefined: { // AgentToolVariablePredefinedHandler
724
- * // value: "STRING_VALUE", // required
1270
+ * // result: { // AgentWorkflowResultCondition
1271
+ * // result: "STRING_VALUE", // required
725
1272
  * // },
1273
+ * // failure: { // AgentWorkflowFailureCondition
1274
+ * // kinds: [ // AgentWorkflowFailureKindsList
1275
+ * // "timeout" || "denied" || "unauthorized" || "not_found" || "invalid_input" || "rate_limited" || "unavailable" || "error",
1276
+ * // ],
1277
+ * // },
1278
+ * // fallback: {},
726
1279
  * // },
727
1280
  * // },
728
1281
  * // ],
729
- * // },
730
- * // handover: { // AgentHandoverCapability
731
- * // name: "STRING_VALUE",
732
- * // description: "STRING_VALUE",
733
- * // variant: "agent" || "service",
734
- * // agent: "STRING_VALUE",
735
- * // agentVersion: Number("int"),
736
- * // service: "STRING_VALUE",
737
- * // silent: true || false,
738
- * // pipeline: { // AgentHandoverPipeline
739
- * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
740
- * // instructions: "STRING_VALUE",
1282
+ * // position: { // AgentWorkflowStepPosition
1283
+ * // x: Number("int"), // required
1284
+ * // y: Number("int"), // required
741
1285
  * // },
742
- * // annotations: [
743
- * // {// Union: only one key present
744
- * // tag: {
745
- * // value: "STRING_VALUE",
746
- * // applyOnSuccess: true || false,
747
- * // applyOnFailure: true || false,
748
- * // },
749
- * // comment: {
750
- * // value: "STRING_VALUE",
751
- * // applyOnSuccess: true || false,
752
- * // applyOnFailure: true || false,
753
- * // },
754
- * // variables: {},
755
- * // result: {},
756
- * // },
757
- * // ],
758
1286
  * // },
759
- * // delegation: { // AgentDelegationCapability
760
- * // name: "STRING_VALUE",
761
- * // description: "STRING_VALUE",
762
- * // id: "STRING_VALUE", // required
763
- * // agentVersion: Number("int"),
764
- * // annotations: [
765
- * // {// Union: only one key present
766
- * // tag: {
767
- * // value: "STRING_VALUE",
768
- * // applyOnSuccess: true || false,
769
- * // applyOnFailure: true || false,
1287
+ * // ],
1288
+ * // nested: [ // AgentWorkflowNestedList
1289
+ * // { // AgentWorkflowNested
1290
+ * // entry: "STRING_VALUE", // required
1291
+ * // steps: [ // required
1292
+ * // {
1293
+ * // id: "STRING_VALUE", // required
1294
+ * // label: "STRING_VALUE", // required
1295
+ * // summary: "STRING_VALUE",
1296
+ * // stage: "STRING_VALUE",
1297
+ * // handler: {// Union: only one key present
1298
+ * // conversation: {
1299
+ * // goal: "STRING_VALUE", // required
1300
+ * // entry: "auto" || "speak_first" || "listen_first",
1301
+ * // channels: {
1302
+ * // voice: {
1303
+ * // interruptions: "<VoiceInterruptionSettings>",
1304
+ * // },
1305
+ * // },
1306
+ * // capabilities: [
1307
+ * // {// Union: only one key present
1308
+ * // tool: "<AgentTool>",
1309
+ * // connector: "<AgentConnectorCapability>",
1310
+ * // kb: {
1311
+ * // knowledgeBaseId: "STRING_VALUE",
1312
+ * // instructions: "STRING_VALUE",
1313
+ * // annotations: "<AgentToolAnnotationsList>",
1314
+ * // },
1315
+ * // sandbox: {// Union: only one key present
1316
+ * // vercel: {
1317
+ * // vcpus: Number("int"),
1318
+ * // network: "allow-all" || "deny-all" || "allowlist",
1319
+ * // allowedDomains: "<DomainNameList>",
1320
+ * // },
1321
+ * // snapshot: {
1322
+ * // snapshotId: "STRING_VALUE", // required
1323
+ * // network: "allow-all" || "deny-all" || "allowlist",
1324
+ * // allowedDomains: "<DomainNameList>",
1325
+ * // size: "min" || "small" || "large" || "max",
1326
+ * // },
1327
+ * // },
1328
+ * // webSearch: {
1329
+ * // contextSize: "low" || "medium" || "high",
1330
+ * // allowedDomains: "<DomainNameList>",
1331
+ * // userLocation: {
1332
+ * // country: "STRING_VALUE",
1333
+ * // region: "STRING_VALUE",
1334
+ * // city: "STRING_VALUE",
1335
+ * // timezone: "STRING_VALUE",
1336
+ * // },
1337
+ * // },
1338
+ * // webFetch: {
1339
+ * // allowedDomains: "<DomainNameList>",
1340
+ * // },
1341
+ * // agent: "<AgentCallCapability>",
1342
+ * // handover: "<AgentHandoverCapability>",
1343
+ * // delegation: "<AgentDelegationCapability>",
1344
+ * // transfer: "<AgentTransferCapability>",
1345
+ * // suggestions: {
1346
+ * // name: "STRING_VALUE",
1347
+ * // annotations: "<AgentToolAnnotationsList>",
1348
+ * // },
1349
+ * // hangup: "<AgentHangupCapability>",
1350
+ * // wait: "<AgentWaitCapability>",
1351
+ * // },
1352
+ * // ],
1353
+ * // },
1354
+ * // message: {
1355
+ * // content: {// Union: only one key present
1356
+ * // text: "STRING_VALUE",
1357
+ * // generate: {
1358
+ * // instructions: "STRING_VALUE", // required
1359
+ * // },
1360
+ * // },
1361
+ * // channels: {
1362
+ * // voice: {
1363
+ * // interruptions: "<VoiceInterruptionSettings>",
1364
+ * // },
1365
+ * // chat: {
1366
+ * // suggestions: [
1367
+ * // {
1368
+ * // text: "STRING_VALUE", // required
1369
+ * // handler: {// Union: only one key present
1370
+ * // reply: {
1371
+ * // text: "STRING_VALUE",
1372
+ * // },
1373
+ * // link: {
1374
+ * // url: "STRING_VALUE", // required
1375
+ * // },
1376
+ * // },
1377
+ * // variant: "contained" || "outlined",
1378
+ * // },
1379
+ * // ],
1380
+ * // },
1381
+ * // },
1382
+ * // },
1383
+ * // action: {
1384
+ * // capability: {// Union: only one key present
1385
+ * // tool: "<AgentTool>",
1386
+ * // connector: "<AgentConnectorCapability>",
1387
+ * // agent: "<AgentCallCapability>",
1388
+ * // handover: "<AgentHandoverCapability>",
1389
+ * // delegation: "<AgentDelegationCapability>",
1390
+ * // transfer: "<AgentTransferCapability>",
1391
+ * // hangup: "<AgentHangupCapability>",
1392
+ * // wait: "<AgentWaitCapability>",
1393
+ * // },
1394
+ * // forceToolCall: true || false,
1395
+ * // output: "STRING_VALUE",
1396
+ * // },
1397
+ * // variables: {
1398
+ * // assignments: [ // required
1399
+ * // {
1400
+ * // name: "STRING_VALUE", // required
1401
+ * // value: "STRING_VALUE",
1402
+ * // expression: "DOCUMENT_VALUE",
1403
+ * // },
1404
+ * // ],
1405
+ * // },
1406
+ * // workflow: {
1407
+ * // workflow: "STRING_VALUE", // required
1408
+ * // output: "STRING_VALUE",
1409
+ * // },
1410
+ * // result: {
1411
+ * // value: "STRING_VALUE",
1412
+ * // },
1413
+ * // end: {},
770
1414
  * // },
771
- * // comment: {
772
- * // value: "STRING_VALUE",
773
- * // applyOnSuccess: true || false,
774
- * // applyOnFailure: true || false,
1415
+ * // transitions: [
1416
+ * // {
1417
+ * // target: "STRING_VALUE", // required
1418
+ * // condition: {// Union: only one key present
1419
+ * // always: {},
1420
+ * // prompt: {
1421
+ * // instructions: "STRING_VALUE", // required
1422
+ * // },
1423
+ * // expression: {
1424
+ * // conditions: "DOCUMENT_VALUE", // required
1425
+ * // },
1426
+ * // result: {
1427
+ * // result: "STRING_VALUE", // required
1428
+ * // },
1429
+ * // failure: {
1430
+ * // kinds: [
1431
+ * // "timeout" || "denied" || "unauthorized" || "not_found" || "invalid_input" || "rate_limited" || "unavailable" || "error",
1432
+ * // ],
1433
+ * // },
1434
+ * // fallback: {},
1435
+ * // },
1436
+ * // },
1437
+ * // ],
1438
+ * // position: {
1439
+ * // x: Number("int"), // required
1440
+ * // y: Number("int"), // required
775
1441
  * // },
776
- * // variables: {},
777
- * // result: {},
778
1442
  * // },
779
1443
  * // ],
780
- * // },
781
- * // transfer: { // AgentTransferCapability
782
- * // name: "STRING_VALUE",
783
- * // description: "STRING_VALUE",
784
- * // variant: "predefined" || "dynamic" || "directory",
785
- * // context: "STRING_VALUE",
786
- * // extension: "STRING_VALUE",
787
- * // pipeline: { // AgentTransferPipeline
788
- * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
789
- * // instructions: "STRING_VALUE",
790
- * // },
791
- * // annotations: "<AgentToolAnnotationsList>",
792
- * // },
793
- * // suggestions: { // AgentSuggestionsCapability
794
- * // name: "STRING_VALUE",
795
- * // annotations: "<AgentToolAnnotationsList>",
796
- * // },
797
- * // hangup: { // AgentHangupCapability
798
- * // name: "STRING_VALUE",
799
- * // description: "STRING_VALUE",
800
- * // pipeline: { // AgentHangupPipeline
801
- * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
802
- * // instructions: "STRING_VALUE",
803
- * // },
804
- * // annotations: "<AgentToolAnnotationsList>",
805
- * // },
806
- * // wait: { // AgentWaitCapability
807
- * // name: "STRING_VALUE",
1444
+ * // id: "STRING_VALUE", // required
1445
+ * // name: "STRING_VALUE", // required
808
1446
  * // description: "STRING_VALUE",
809
- * // message: "STRING_VALUE",
810
- * // annotations: "<AgentToolAnnotationsList>",
811
1447
  * // },
1448
+ * // ],
1449
+ * // settings: { // AgentWorkflowSettings
1450
+ * // maxTransitions: Number("int"),
1451
+ * // variables: "<AgentWorkflowAssignmentsList>",
1452
+ * // layout: "flow" || "compact" || "stages",
1453
+ * // },
1454
+ * // },
1455
+ * // model: "STRING_VALUE",
1456
+ * // timeZone: "STRING_VALUE",
1457
+ * // artifacts: true || false,
1458
+ * // skills: [ // AgentSkillsList
1459
+ * // { // AgentSkillReference
1460
+ * // id: "STRING_VALUE", // required
1461
+ * // skillVersion: Number("int"),
1462
+ * // access: "<AgentAccess>",
812
1463
  * // },
813
1464
  * // ],
1465
+ * // capabilities: "<AgentCapabilitiesList>",
814
1466
  * // variables: [ // AgentVariablesList
815
1467
  * // { // AgentVariable
816
1468
  * // name: "STRING_VALUE", // required
@@ -828,7 +1480,9 @@ declare const UpdateAgentCommand_base: {
828
1480
  * // sqs: { // AgentSqsEngine
829
1481
  * // url: "STRING_VALUE", // required
830
1482
  * // key: "STRING_VALUE", // required
831
- * // secret: "<SecretRef>", // required
1483
+ * // secret: { // SecretRef
1484
+ * // id: "STRING_VALUE", // required
1485
+ * // },
832
1486
  * // },
833
1487
  * // },
834
1488
  * // settings: { // AgentSettings