@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 CreateAgentCommand_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 CreateAgentCommand_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 CreateAgentCommand_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
@@ -445,61 +772,6 @@ declare const CreateAgentCommand_base: {
445
772
  * // channels: { // AgentChannels
446
773
  * // voice: { // VoiceChannelSettings
447
774
  * // greeting: "STRING_VALUE",
448
- * // backgroundSound: "STRING_VALUE",
449
- * // speech: { // VoiceSpeechSettings
450
- * // provider: "elevenlabs" || "google" || "amazon_polly", // required
451
- * // languages: [ // VoiceLanguageList // required
452
- * // { // VoiceLanguage
453
- * // code: "STRING_VALUE", // required
454
- * // provider: "elevenlabs" || "google" || "amazon_polly",
455
- * // voice: "STRING_VALUE", // required
456
- * // greeting: "STRING_VALUE",
457
- * // isDefault: true || false,
458
- * // instructions: "STRING_VALUE",
459
- * // synthesis: { // VoiceSynthesisOptions
460
- * // model: "STRING_VALUE",
461
- * // speed: Number("float"),
462
- * // stability: Number("float"),
463
- * // similarity: Number("float"),
464
- * // style: Number("float"),
465
- * // speakerBoost: true || false,
466
- * // pitch: Number("float"),
467
- * // volumeGain: Number("float"),
468
- * // },
469
- * // credential: { // SecretRef
470
- * // id: "STRING_VALUE", // required
471
- * // },
472
- * // pronunciations: [ // VoicePronunciationList
473
- * // { // VoicePronunciation
474
- * // phrase: "STRING_VALUE", // required
475
- * // as: "STRING_VALUE", // required
476
- * // encoding: "alias" || "ipa",
477
- * // },
478
- * // ],
479
- * // pronunciationSuppressions: [ // VoicePronunciationSuppressionList
480
- * // "STRING_VALUE",
481
- * // ],
482
- * // },
483
- * // ],
484
- * // autoDetect: true || false,
485
- * // greetEveryLanguage: true || false,
486
- * // transcription: { // VoiceTranscriptionSettings
487
- * // vendor: "aws", // required
488
- * // },
489
- * // synthesis: {
490
- * // model: "STRING_VALUE",
491
- * // speed: Number("float"),
492
- * // stability: Number("float"),
493
- * // similarity: Number("float"),
494
- * // style: Number("float"),
495
- * // speakerBoost: true || false,
496
- * // pitch: Number("float"),
497
- * // volumeGain: Number("float"),
498
- * // },
499
- * // credential: {
500
- * // id: "STRING_VALUE", // required
501
- * // },
502
- * // },
503
775
  * // interruptions: { // VoiceInterruptionSettings
504
776
  * // enabled: true || false, // required
505
777
  * // minWords: Number("int"),
@@ -555,260 +827,640 @@ declare const CreateAgentCommand_base: {
555
827
  * // engine: { // AgentEngine Union: only one key present
556
828
  * // ai: { // AgentAiEngine
557
829
  * // instructions: "STRING_VALUE", // required
558
- * // model: "STRING_VALUE",
559
- * // timeZone: "STRING_VALUE",
560
- * // artifacts: true || false,
561
- * // skills: [ // AgentSkillsList
562
- * // { // AgentSkillReference
563
- * // id: "STRING_VALUE", // required
564
- * // skillVersion: Number("int"),
565
- * // access: { // AgentAccess
566
- * // visibility: "explicit" || "organization",
567
- * // grants: [ // AgentGrantPrincipalList
568
- * // { // AgentGrantPrincipal Union: only one key present
569
- * // userId: "STRING_VALUE",
570
- * // groupId: "STRING_VALUE",
571
- * // },
572
- * // ],
573
- * // },
574
- * // },
575
- * // ],
576
- * // capabilities: [ // AgentCapabilitiesList
577
- * // { // AgentCapability Union: only one key present
578
- * // tool: { // AgentTool
830
+ * // workflow: { // AgentWorkflow
831
+ * // entry: "STRING_VALUE", // required
832
+ * // steps: [ // AgentWorkflowStepsList // required
833
+ * // { // AgentWorkflowStep
579
834
  * // id: "STRING_VALUE", // required
580
- * // toolVersion: Number("int"),
581
- * // description: "STRING_VALUE",
582
- * // fields: [ // AgentToolFieldsList
583
- * // { // AgentToolField
584
- * // path: "STRING_VALUE", // required
585
- * // handler: { // AgentToolFieldHandler Union: only one key present
586
- * // guided: { // AgentToolFieldGuidedHandler
587
- * // description: "STRING_VALUE", // required
588
- * // },
589
- * // predefined: { // AgentToolFieldPredefinedHandler
590
- * // value: "DOCUMENT_VALUE", // required
835
+ * // label: "STRING_VALUE", // required
836
+ * // summary: "STRING_VALUE",
837
+ * // stage: "STRING_VALUE",
838
+ * // handler: { // AgentWorkflowHandler Union: only one key present
839
+ * // conversation: { // AgentWorkflowConversationHandler
840
+ * // goal: "STRING_VALUE", // required
841
+ * // entry: "auto" || "speak_first" || "listen_first",
842
+ * // channels: { // AgentWorkflowConversationChannelsSettings
843
+ * // voice: { // AgentWorkflowConversationVoiceSettings
844
+ * // interruptions: {
845
+ * // enabled: true || false, // required
846
+ * // minWords: Number("int"),
847
+ * // },
591
848
  * // },
592
849
  * // },
850
+ * // capabilities: [ // AgentCapabilitiesList
851
+ * // { // AgentCapability Union: only one key present
852
+ * // tool: { // AgentTool
853
+ * // id: "STRING_VALUE", // required
854
+ * // toolVersion: Number("int"),
855
+ * // description: "STRING_VALUE",
856
+ * // fields: [ // AgentToolFieldsList
857
+ * // { // AgentToolField
858
+ * // path: "STRING_VALUE", // required
859
+ * // handler: { // AgentToolFieldHandler Union: only one key present
860
+ * // guided: { // AgentToolFieldGuidedHandler
861
+ * // description: "STRING_VALUE", // required
862
+ * // },
863
+ * // predefined: { // AgentToolFieldPredefinedHandler
864
+ * // value: "DOCUMENT_VALUE", // required
865
+ * // },
866
+ * // },
867
+ * // },
868
+ * // ],
869
+ * // startMessage: "STRING_VALUE",
870
+ * // pipeline: { // AgentToolPipeline
871
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
872
+ * // instructions: "STRING_VALUE",
873
+ * // },
874
+ * // approval: { // AgentToolApproval
875
+ * // prompt: "STRING_VALUE",
876
+ * // },
877
+ * // annotations: [ // AgentToolAnnotationsList
878
+ * // { // AgentToolAnnotation Union: only one key present
879
+ * // tag: { // AgentToolTagAnnotation
880
+ * // value: "STRING_VALUE",
881
+ * // applyOnSuccess: true || false,
882
+ * // applyOnFailure: true || false,
883
+ * // },
884
+ * // comment: { // AgentToolCommentAnnotation
885
+ * // value: "STRING_VALUE",
886
+ * // applyOnSuccess: true || false,
887
+ * // applyOnFailure: true || false,
888
+ * // },
889
+ * // variables: {},
890
+ * // result: {},
891
+ * // },
892
+ * // ],
893
+ * // },
894
+ * // connector: { // AgentConnectorCapability
895
+ * // id: "STRING_VALUE", // required
896
+ * // startMessage: "STRING_VALUE",
897
+ * // pipeline: {
898
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
899
+ * // instructions: "STRING_VALUE",
900
+ * // },
901
+ * // approval: {
902
+ * // prompt: "STRING_VALUE",
903
+ * // },
904
+ * // annotations: [
905
+ * // {// Union: only one key present
906
+ * // tag: {
907
+ * // value: "STRING_VALUE",
908
+ * // applyOnSuccess: true || false,
909
+ * // applyOnFailure: true || false,
910
+ * // },
911
+ * // comment: {
912
+ * // value: "STRING_VALUE",
913
+ * // applyOnSuccess: true || false,
914
+ * // applyOnFailure: true || false,
915
+ * // },
916
+ * // variables: {},
917
+ * // result: {},
918
+ * // },
919
+ * // ],
920
+ * // },
921
+ * // kb: { // AgentKnowledgeBase
922
+ * // knowledgeBaseId: "STRING_VALUE",
923
+ * // instructions: "STRING_VALUE",
924
+ * // annotations: [
925
+ * // {// Union: only one key present
926
+ * // tag: {
927
+ * // value: "STRING_VALUE",
928
+ * // applyOnSuccess: true || false,
929
+ * // applyOnFailure: true || false,
930
+ * // },
931
+ * // comment: {
932
+ * // value: "STRING_VALUE",
933
+ * // applyOnSuccess: true || false,
934
+ * // applyOnFailure: true || false,
935
+ * // },
936
+ * // variables: {},
937
+ * // result: {},
938
+ * // },
939
+ * // ],
940
+ * // },
941
+ * // sandbox: { // AgentSandboxCapability Union: only one key present
942
+ * // vercel: { // AgentVercelSandboxOptions
943
+ * // vcpus: Number("int"),
944
+ * // network: "allow-all" || "deny-all" || "allowlist",
945
+ * // allowedDomains: [ // DomainNameList
946
+ * // "STRING_VALUE",
947
+ * // ],
948
+ * // },
949
+ * // snapshot: { // AgentSnapshotSandboxOptions
950
+ * // snapshotId: "STRING_VALUE", // required
951
+ * // network: "allow-all" || "deny-all" || "allowlist",
952
+ * // allowedDomains: [
953
+ * // "STRING_VALUE",
954
+ * // ],
955
+ * // size: "min" || "small" || "large" || "max",
956
+ * // },
957
+ * // },
958
+ * // webSearch: { // AgentWebSearchCapability
959
+ * // contextSize: "low" || "medium" || "high",
960
+ * // allowedDomains: [
961
+ * // "STRING_VALUE",
962
+ * // ],
963
+ * // userLocation: { // WebSearchUserLocation
964
+ * // country: "STRING_VALUE",
965
+ * // region: "STRING_VALUE",
966
+ * // city: "STRING_VALUE",
967
+ * // timezone: "STRING_VALUE",
968
+ * // },
969
+ * // },
970
+ * // webFetch: { // AgentWebFetchCapability
971
+ * // allowedDomains: [
972
+ * // "STRING_VALUE",
973
+ * // ],
974
+ * // },
975
+ * // agent: { // AgentCallCapability
976
+ * // agentId: "STRING_VALUE", // required
977
+ * // agentVersion: Number("int"),
978
+ * // access: { // AgentAccess
979
+ * // visibility: "explicit" || "organization",
980
+ * // grants: [ // AgentGrantPrincipalList
981
+ * // { // AgentGrantPrincipal Union: only one key present
982
+ * // userId: "STRING_VALUE",
983
+ * // groupId: "STRING_VALUE",
984
+ * // },
985
+ * // ],
986
+ * // },
987
+ * // variables: [ // AgentToolVariablesList
988
+ * // { // AgentToolVariable
989
+ * // name: "STRING_VALUE", // required
990
+ * // handler: { // AgentToolVariableHandler Union: only one key present
991
+ * // auto: {},
992
+ * // guided: { // AgentToolVariableGuidedHandler
993
+ * // description: "STRING_VALUE", // required
994
+ * // },
995
+ * // predefined: { // AgentToolVariablePredefinedHandler
996
+ * // value: "STRING_VALUE", // required
997
+ * // },
998
+ * // },
999
+ * // },
1000
+ * // ],
1001
+ * // },
1002
+ * // handover: { // AgentHandoverCapability
1003
+ * // name: "STRING_VALUE",
1004
+ * // description: "STRING_VALUE",
1005
+ * // variant: "agent" || "service",
1006
+ * // agent: "STRING_VALUE",
1007
+ * // agentVersion: Number("int"),
1008
+ * // service: "STRING_VALUE",
1009
+ * // silent: true || false,
1010
+ * // pipeline: { // AgentHandoverPipeline
1011
+ * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
1012
+ * // instructions: "STRING_VALUE",
1013
+ * // },
1014
+ * // annotations: [
1015
+ * // {// Union: only one key present
1016
+ * // tag: {
1017
+ * // value: "STRING_VALUE",
1018
+ * // applyOnSuccess: true || false,
1019
+ * // applyOnFailure: true || false,
1020
+ * // },
1021
+ * // comment: {
1022
+ * // value: "STRING_VALUE",
1023
+ * // applyOnSuccess: true || false,
1024
+ * // applyOnFailure: true || false,
1025
+ * // },
1026
+ * // variables: {},
1027
+ * // result: {},
1028
+ * // },
1029
+ * // ],
1030
+ * // },
1031
+ * // delegation: { // AgentDelegationCapability
1032
+ * // name: "STRING_VALUE",
1033
+ * // description: "STRING_VALUE",
1034
+ * // id: "STRING_VALUE", // required
1035
+ * // agentVersion: Number("int"),
1036
+ * // annotations: [
1037
+ * // {// Union: only one key present
1038
+ * // tag: {
1039
+ * // value: "STRING_VALUE",
1040
+ * // applyOnSuccess: true || false,
1041
+ * // applyOnFailure: true || false,
1042
+ * // },
1043
+ * // comment: {
1044
+ * // value: "STRING_VALUE",
1045
+ * // applyOnSuccess: true || false,
1046
+ * // applyOnFailure: true || false,
1047
+ * // },
1048
+ * // variables: {},
1049
+ * // result: {},
1050
+ * // },
1051
+ * // ],
1052
+ * // },
1053
+ * // transfer: { // AgentTransferCapability
1054
+ * // name: "STRING_VALUE",
1055
+ * // description: "STRING_VALUE",
1056
+ * // variant: "predefined" || "dynamic" || "directory",
1057
+ * // context: "STRING_VALUE",
1058
+ * // extension: "STRING_VALUE",
1059
+ * // pipeline: { // AgentTransferPipeline
1060
+ * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
1061
+ * // instructions: "STRING_VALUE",
1062
+ * // },
1063
+ * // annotations: "<AgentToolAnnotationsList>",
1064
+ * // },
1065
+ * // suggestions: { // AgentSuggestionsCapability
1066
+ * // name: "STRING_VALUE",
1067
+ * // annotations: "<AgentToolAnnotationsList>",
1068
+ * // },
1069
+ * // hangup: { // AgentHangupCapability
1070
+ * // name: "STRING_VALUE",
1071
+ * // description: "STRING_VALUE",
1072
+ * // pipeline: { // AgentHangupPipeline
1073
+ * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
1074
+ * // instructions: "STRING_VALUE",
1075
+ * // },
1076
+ * // annotations: "<AgentToolAnnotationsList>",
1077
+ * // },
1078
+ * // wait: { // AgentWaitCapability
1079
+ * // name: "STRING_VALUE",
1080
+ * // description: "STRING_VALUE",
1081
+ * // message: "STRING_VALUE",
1082
+ * // annotations: "<AgentToolAnnotationsList>",
1083
+ * // },
1084
+ * // },
1085
+ * // ],
593
1086
  * // },
594
- * // ],
595
- * // startMessage: "STRING_VALUE",
596
- * // pipeline: { // AgentToolPipeline
597
- * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
598
- * // instructions: "STRING_VALUE",
599
- * // },
600
- * // approval: { // AgentToolApproval
601
- * // prompt: "STRING_VALUE",
602
- * // },
603
- * // annotations: [ // AgentToolAnnotationsList
604
- * // { // AgentToolAnnotation Union: only one key present
605
- * // tag: { // AgentToolTagAnnotation
606
- * // value: "STRING_VALUE",
607
- * // applyOnSuccess: true || false,
608
- * // applyOnFailure: true || false,
1087
+ * // message: { // AgentWorkflowMessageHandler
1088
+ * // content: { // AgentWorkflowMessageContent Union: only one key present
1089
+ * // text: "STRING_VALUE",
1090
+ * // generate: { // AgentWorkflowMessageGeneration
1091
+ * // instructions: "STRING_VALUE", // required
1092
+ * // },
609
1093
  * // },
610
- * // comment: { // AgentToolCommentAnnotation
611
- * // value: "STRING_VALUE",
612
- * // applyOnSuccess: true || false,
613
- * // applyOnFailure: true || false,
1094
+ * // channels: { // AgentWorkflowMessageChannelsSettings
1095
+ * // voice: { // AgentWorkflowMessageVoiceSettings
1096
+ * // interruptions: {
1097
+ * // enabled: true || false, // required
1098
+ * // minWords: Number("int"),
1099
+ * // },
1100
+ * // },
1101
+ * // chat: { // AgentWorkflowMessageChatSettings
1102
+ * // suggestions: [ // AgentWorkflowMessageButtonsList
1103
+ * // { // AgentWorkflowMessageButton
1104
+ * // text: "STRING_VALUE", // required
1105
+ * // handler: { // AgentWorkflowMessageButtonHandler Union: only one key present
1106
+ * // reply: { // AgentWorkflowMessageButtonReplyHandler
1107
+ * // text: "STRING_VALUE",
1108
+ * // },
1109
+ * // link: { // AgentWorkflowMessageButtonLinkHandler
1110
+ * // url: "STRING_VALUE", // required
1111
+ * // },
1112
+ * // },
1113
+ * // variant: "contained" || "outlined",
1114
+ * // },
1115
+ * // ],
1116
+ * // },
614
1117
  * // },
615
- * // variables: {},
616
- * // result: {},
617
1118
  * // },
618
- * // ],
619
- * // },
620
- * // connector: { // AgentConnectorCapability
621
- * // id: "STRING_VALUE", // required
622
- * // startMessage: "STRING_VALUE",
623
- * // pipeline: {
624
- * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
625
- * // instructions: "STRING_VALUE",
626
- * // },
627
- * // approval: {
628
- * // prompt: "STRING_VALUE",
629
- * // },
630
- * // annotations: [
631
- * // {// Union: only one key present
632
- * // tag: {
633
- * // value: "STRING_VALUE",
634
- * // applyOnSuccess: true || false,
635
- * // applyOnFailure: true || false,
636
- * // },
637
- * // comment: {
638
- * // value: "STRING_VALUE",
639
- * // applyOnSuccess: true || false,
640
- * // applyOnFailure: true || false,
1119
+ * // action: { // AgentWorkflowActionHandler
1120
+ * // capability: { // AgentWorkflowAction Union: only one key present
1121
+ * // tool: {
1122
+ * // id: "STRING_VALUE", // required
1123
+ * // toolVersion: Number("int"),
1124
+ * // description: "STRING_VALUE",
1125
+ * // fields: [
1126
+ * // {
1127
+ * // path: "STRING_VALUE", // required
1128
+ * // handler: {// Union: only one key present
1129
+ * // guided: {
1130
+ * // description: "STRING_VALUE", // required
1131
+ * // },
1132
+ * // predefined: {
1133
+ * // value: "DOCUMENT_VALUE", // required
1134
+ * // },
1135
+ * // },
1136
+ * // },
1137
+ * // ],
1138
+ * // startMessage: "STRING_VALUE",
1139
+ * // pipeline: {
1140
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
1141
+ * // instructions: "STRING_VALUE",
1142
+ * // },
1143
+ * // approval: {
1144
+ * // prompt: "STRING_VALUE",
1145
+ * // },
1146
+ * // annotations: "<AgentToolAnnotationsList>",
1147
+ * // },
1148
+ * // connector: {
1149
+ * // id: "STRING_VALUE", // required
1150
+ * // startMessage: "STRING_VALUE",
1151
+ * // pipeline: {
1152
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
1153
+ * // instructions: "STRING_VALUE",
1154
+ * // },
1155
+ * // approval: {
1156
+ * // prompt: "STRING_VALUE",
1157
+ * // },
1158
+ * // annotations: "<AgentToolAnnotationsList>",
1159
+ * // },
1160
+ * // agent: {
1161
+ * // agentId: "STRING_VALUE", // required
1162
+ * // agentVersion: Number("int"),
1163
+ * // access: {
1164
+ * // visibility: "explicit" || "organization",
1165
+ * // grants: [
1166
+ * // {// Union: only one key present
1167
+ * // userId: "STRING_VALUE",
1168
+ * // groupId: "STRING_VALUE",
1169
+ * // },
1170
+ * // ],
1171
+ * // },
1172
+ * // variables: [
1173
+ * // {
1174
+ * // name: "STRING_VALUE", // required
1175
+ * // handler: {// Union: only one key present
1176
+ * // auto: {},
1177
+ * // guided: {
1178
+ * // description: "STRING_VALUE", // required
1179
+ * // },
1180
+ * // predefined: {
1181
+ * // value: "STRING_VALUE", // required
1182
+ * // },
1183
+ * // },
1184
+ * // },
1185
+ * // ],
1186
+ * // },
1187
+ * // handover: {
1188
+ * // name: "STRING_VALUE",
1189
+ * // description: "STRING_VALUE",
1190
+ * // variant: "agent" || "service",
1191
+ * // agent: "STRING_VALUE",
1192
+ * // agentVersion: Number("int"),
1193
+ * // service: "STRING_VALUE",
1194
+ * // silent: true || false,
1195
+ * // pipeline: {
1196
+ * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
1197
+ * // instructions: "STRING_VALUE",
1198
+ * // },
1199
+ * // annotations: "<AgentToolAnnotationsList>",
1200
+ * // },
1201
+ * // delegation: {
1202
+ * // name: "STRING_VALUE",
1203
+ * // description: "STRING_VALUE",
1204
+ * // id: "STRING_VALUE", // required
1205
+ * // agentVersion: Number("int"),
1206
+ * // annotations: "<AgentToolAnnotationsList>",
1207
+ * // },
1208
+ * // transfer: {
1209
+ * // name: "STRING_VALUE",
1210
+ * // description: "STRING_VALUE",
1211
+ * // variant: "predefined" || "dynamic" || "directory",
1212
+ * // context: "STRING_VALUE",
1213
+ * // extension: "STRING_VALUE",
1214
+ * // pipeline: {
1215
+ * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
1216
+ * // instructions: "STRING_VALUE",
1217
+ * // },
1218
+ * // annotations: "<AgentToolAnnotationsList>",
1219
+ * // },
1220
+ * // hangup: {
1221
+ * // name: "STRING_VALUE",
1222
+ * // description: "STRING_VALUE",
1223
+ * // pipeline: {
1224
+ * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
1225
+ * // instructions: "STRING_VALUE",
1226
+ * // },
1227
+ * // annotations: "<AgentToolAnnotationsList>",
1228
+ * // },
1229
+ * // wait: {
1230
+ * // name: "STRING_VALUE",
1231
+ * // description: "STRING_VALUE",
1232
+ * // message: "STRING_VALUE",
1233
+ * // annotations: "<AgentToolAnnotationsList>",
1234
+ * // },
641
1235
  * // },
642
- * // variables: {},
643
- * // result: {},
1236
+ * // forceToolCall: true || false,
1237
+ * // output: "STRING_VALUE",
644
1238
  * // },
645
- * // ],
646
- * // },
647
- * // kb: { // AgentKnowledgeBase
648
- * // knowledgeBaseId: "STRING_VALUE",
649
- * // instructions: "STRING_VALUE",
650
- * // annotations: [
651
- * // {// Union: only one key present
652
- * // tag: {
653
- * // value: "STRING_VALUE",
654
- * // applyOnSuccess: true || false,
655
- * // applyOnFailure: true || false,
656
- * // },
657
- * // comment: {
658
- * // value: "STRING_VALUE",
659
- * // applyOnSuccess: true || false,
660
- * // applyOnFailure: true || false,
661
- * // },
662
- * // variables: {},
663
- * // result: {},
1239
+ * // variables: { // AgentWorkflowVariablesHandler
1240
+ * // assignments: [ // AgentWorkflowAssignmentsList // required
1241
+ * // { // AgentWorkflowAssignment
1242
+ * // name: "STRING_VALUE", // required
1243
+ * // value: "STRING_VALUE",
1244
+ * // expression: "DOCUMENT_VALUE",
1245
+ * // },
1246
+ * // ],
664
1247
  * // },
665
- * // ],
666
- * // },
667
- * // sandbox: { // AgentSandboxCapability Union: only one key present
668
- * // vercel: { // AgentVercelSandboxOptions
669
- * // vcpus: Number("int"),
670
- * // network: "allow-all" || "deny-all" || "allowlist",
671
- * // allowedDomains: [ // DomainNameList
672
- * // "STRING_VALUE",
673
- * // ],
674
- * // },
675
- * // snapshot: { // AgentSnapshotSandboxOptions
676
- * // snapshotId: "STRING_VALUE", // required
677
- * // network: "allow-all" || "deny-all" || "allowlist",
678
- * // allowedDomains: [
679
- * // "STRING_VALUE",
680
- * // ],
681
- * // size: "min" || "small" || "large" || "max",
682
- * // },
683
- * // },
684
- * // webSearch: { // AgentWebSearchCapability
685
- * // contextSize: "low" || "medium" || "high",
686
- * // allowedDomains: [
687
- * // "STRING_VALUE",
688
- * // ],
689
- * // userLocation: { // WebSearchUserLocation
690
- * // country: "STRING_VALUE",
691
- * // region: "STRING_VALUE",
692
- * // city: "STRING_VALUE",
693
- * // timezone: "STRING_VALUE",
694
- * // },
695
- * // },
696
- * // webFetch: { // AgentWebFetchCapability
697
- * // allowedDomains: [
698
- * // "STRING_VALUE",
699
- * // ],
700
- * // },
701
- * // agent: { // AgentCallCapability
702
- * // agentId: "STRING_VALUE", // required
703
- * // agentVersion: Number("int"),
704
- * // access: {
705
- * // visibility: "explicit" || "organization",
706
- * // grants: [
707
- * // {// Union: only one key present
708
- * // userId: "STRING_VALUE",
709
- * // groupId: "STRING_VALUE",
710
- * // },
711
- * // ],
1248
+ * // workflow: { // AgentWorkflowInvokeHandler
1249
+ * // workflow: "STRING_VALUE", // required
1250
+ * // output: "STRING_VALUE",
1251
+ * // },
1252
+ * // result: { // AgentWorkflowResultHandler
1253
+ * // value: "STRING_VALUE",
1254
+ * // },
1255
+ * // end: {},
712
1256
  * // },
713
- * // variables: [ // AgentToolVariablesList
714
- * // { // AgentToolVariable
715
- * // name: "STRING_VALUE", // required
716
- * // handler: { // AgentToolVariableHandler Union: only one key present
717
- * // auto: {},
718
- * // guided: { // AgentToolVariableGuidedHandler
719
- * // description: "STRING_VALUE", // required
1257
+ * // transitions: [ // AgentWorkflowTransitionsList
1258
+ * // { // AgentWorkflowTransition
1259
+ * // target: "STRING_VALUE", // required
1260
+ * // condition: { // AgentWorkflowCondition Union: only one key present
1261
+ * // always: {},
1262
+ * // prompt: { // AgentWorkflowPromptCondition
1263
+ * // instructions: "STRING_VALUE", // required
1264
+ * // },
1265
+ * // expression: { // AgentWorkflowExpressionCondition
1266
+ * // conditions: "DOCUMENT_VALUE", // required
720
1267
  * // },
721
- * // predefined: { // AgentToolVariablePredefinedHandler
722
- * // value: "STRING_VALUE", // required
1268
+ * // result: { // AgentWorkflowResultCondition
1269
+ * // result: "STRING_VALUE", // required
723
1270
  * // },
1271
+ * // failure: { // AgentWorkflowFailureCondition
1272
+ * // kinds: [ // AgentWorkflowFailureKindsList
1273
+ * // "timeout" || "denied" || "unauthorized" || "not_found" || "invalid_input" || "rate_limited" || "unavailable" || "error",
1274
+ * // ],
1275
+ * // },
1276
+ * // fallback: {},
724
1277
  * // },
725
1278
  * // },
726
1279
  * // ],
727
- * // },
728
- * // handover: { // AgentHandoverCapability
729
- * // name: "STRING_VALUE",
730
- * // description: "STRING_VALUE",
731
- * // variant: "agent" || "service",
732
- * // agent: "STRING_VALUE",
733
- * // agentVersion: Number("int"),
734
- * // service: "STRING_VALUE",
735
- * // silent: true || false,
736
- * // pipeline: { // AgentHandoverPipeline
737
- * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
738
- * // instructions: "STRING_VALUE",
1280
+ * // position: { // AgentWorkflowStepPosition
1281
+ * // x: Number("int"), // required
1282
+ * // y: Number("int"), // required
739
1283
  * // },
740
- * // annotations: [
741
- * // {// Union: only one key present
742
- * // tag: {
743
- * // value: "STRING_VALUE",
744
- * // applyOnSuccess: true || false,
745
- * // applyOnFailure: true || false,
746
- * // },
747
- * // comment: {
748
- * // value: "STRING_VALUE",
749
- * // applyOnSuccess: true || false,
750
- * // applyOnFailure: true || false,
751
- * // },
752
- * // variables: {},
753
- * // result: {},
754
- * // },
755
- * // ],
756
1284
  * // },
757
- * // delegation: { // AgentDelegationCapability
758
- * // name: "STRING_VALUE",
759
- * // description: "STRING_VALUE",
760
- * // id: "STRING_VALUE", // required
761
- * // agentVersion: Number("int"),
762
- * // annotations: [
763
- * // {// Union: only one key present
764
- * // tag: {
765
- * // value: "STRING_VALUE",
766
- * // applyOnSuccess: true || false,
767
- * // applyOnFailure: true || false,
1285
+ * // ],
1286
+ * // nested: [ // AgentWorkflowNestedList
1287
+ * // { // AgentWorkflowNested
1288
+ * // entry: "STRING_VALUE", // required
1289
+ * // steps: [ // required
1290
+ * // {
1291
+ * // id: "STRING_VALUE", // required
1292
+ * // label: "STRING_VALUE", // required
1293
+ * // summary: "STRING_VALUE",
1294
+ * // stage: "STRING_VALUE",
1295
+ * // handler: {// Union: only one key present
1296
+ * // conversation: {
1297
+ * // goal: "STRING_VALUE", // required
1298
+ * // entry: "auto" || "speak_first" || "listen_first",
1299
+ * // channels: {
1300
+ * // voice: {
1301
+ * // interruptions: "<VoiceInterruptionSettings>",
1302
+ * // },
1303
+ * // },
1304
+ * // capabilities: [
1305
+ * // {// Union: only one key present
1306
+ * // tool: "<AgentTool>",
1307
+ * // connector: "<AgentConnectorCapability>",
1308
+ * // kb: {
1309
+ * // knowledgeBaseId: "STRING_VALUE",
1310
+ * // instructions: "STRING_VALUE",
1311
+ * // annotations: "<AgentToolAnnotationsList>",
1312
+ * // },
1313
+ * // sandbox: {// Union: only one key present
1314
+ * // vercel: {
1315
+ * // vcpus: Number("int"),
1316
+ * // network: "allow-all" || "deny-all" || "allowlist",
1317
+ * // allowedDomains: "<DomainNameList>",
1318
+ * // },
1319
+ * // snapshot: {
1320
+ * // snapshotId: "STRING_VALUE", // required
1321
+ * // network: "allow-all" || "deny-all" || "allowlist",
1322
+ * // allowedDomains: "<DomainNameList>",
1323
+ * // size: "min" || "small" || "large" || "max",
1324
+ * // },
1325
+ * // },
1326
+ * // webSearch: {
1327
+ * // contextSize: "low" || "medium" || "high",
1328
+ * // allowedDomains: "<DomainNameList>",
1329
+ * // userLocation: {
1330
+ * // country: "STRING_VALUE",
1331
+ * // region: "STRING_VALUE",
1332
+ * // city: "STRING_VALUE",
1333
+ * // timezone: "STRING_VALUE",
1334
+ * // },
1335
+ * // },
1336
+ * // webFetch: {
1337
+ * // allowedDomains: "<DomainNameList>",
1338
+ * // },
1339
+ * // agent: "<AgentCallCapability>",
1340
+ * // handover: "<AgentHandoverCapability>",
1341
+ * // delegation: "<AgentDelegationCapability>",
1342
+ * // transfer: "<AgentTransferCapability>",
1343
+ * // suggestions: {
1344
+ * // name: "STRING_VALUE",
1345
+ * // annotations: "<AgentToolAnnotationsList>",
1346
+ * // },
1347
+ * // hangup: "<AgentHangupCapability>",
1348
+ * // wait: "<AgentWaitCapability>",
1349
+ * // },
1350
+ * // ],
1351
+ * // },
1352
+ * // message: {
1353
+ * // content: {// Union: only one key present
1354
+ * // text: "STRING_VALUE",
1355
+ * // generate: {
1356
+ * // instructions: "STRING_VALUE", // required
1357
+ * // },
1358
+ * // },
1359
+ * // channels: {
1360
+ * // voice: {
1361
+ * // interruptions: "<VoiceInterruptionSettings>",
1362
+ * // },
1363
+ * // chat: {
1364
+ * // suggestions: [
1365
+ * // {
1366
+ * // text: "STRING_VALUE", // required
1367
+ * // handler: {// Union: only one key present
1368
+ * // reply: {
1369
+ * // text: "STRING_VALUE",
1370
+ * // },
1371
+ * // link: {
1372
+ * // url: "STRING_VALUE", // required
1373
+ * // },
1374
+ * // },
1375
+ * // variant: "contained" || "outlined",
1376
+ * // },
1377
+ * // ],
1378
+ * // },
1379
+ * // },
1380
+ * // },
1381
+ * // action: {
1382
+ * // capability: {// Union: only one key present
1383
+ * // tool: "<AgentTool>",
1384
+ * // connector: "<AgentConnectorCapability>",
1385
+ * // agent: "<AgentCallCapability>",
1386
+ * // handover: "<AgentHandoverCapability>",
1387
+ * // delegation: "<AgentDelegationCapability>",
1388
+ * // transfer: "<AgentTransferCapability>",
1389
+ * // hangup: "<AgentHangupCapability>",
1390
+ * // wait: "<AgentWaitCapability>",
1391
+ * // },
1392
+ * // forceToolCall: true || false,
1393
+ * // output: "STRING_VALUE",
1394
+ * // },
1395
+ * // variables: {
1396
+ * // assignments: [ // required
1397
+ * // {
1398
+ * // name: "STRING_VALUE", // required
1399
+ * // value: "STRING_VALUE",
1400
+ * // expression: "DOCUMENT_VALUE",
1401
+ * // },
1402
+ * // ],
1403
+ * // },
1404
+ * // workflow: {
1405
+ * // workflow: "STRING_VALUE", // required
1406
+ * // output: "STRING_VALUE",
1407
+ * // },
1408
+ * // result: {
1409
+ * // value: "STRING_VALUE",
1410
+ * // },
1411
+ * // end: {},
768
1412
  * // },
769
- * // comment: {
770
- * // value: "STRING_VALUE",
771
- * // applyOnSuccess: true || false,
772
- * // applyOnFailure: true || false,
1413
+ * // transitions: [
1414
+ * // {
1415
+ * // target: "STRING_VALUE", // required
1416
+ * // condition: {// Union: only one key present
1417
+ * // always: {},
1418
+ * // prompt: {
1419
+ * // instructions: "STRING_VALUE", // required
1420
+ * // },
1421
+ * // expression: {
1422
+ * // conditions: "DOCUMENT_VALUE", // required
1423
+ * // },
1424
+ * // result: {
1425
+ * // result: "STRING_VALUE", // required
1426
+ * // },
1427
+ * // failure: {
1428
+ * // kinds: [
1429
+ * // "timeout" || "denied" || "unauthorized" || "not_found" || "invalid_input" || "rate_limited" || "unavailable" || "error",
1430
+ * // ],
1431
+ * // },
1432
+ * // fallback: {},
1433
+ * // },
1434
+ * // },
1435
+ * // ],
1436
+ * // position: {
1437
+ * // x: Number("int"), // required
1438
+ * // y: Number("int"), // required
773
1439
  * // },
774
- * // variables: {},
775
- * // result: {},
776
1440
  * // },
777
1441
  * // ],
778
- * // },
779
- * // transfer: { // AgentTransferCapability
780
- * // name: "STRING_VALUE",
781
- * // description: "STRING_VALUE",
782
- * // variant: "predefined" || "dynamic" || "directory",
783
- * // context: "STRING_VALUE",
784
- * // extension: "STRING_VALUE",
785
- * // pipeline: { // AgentTransferPipeline
786
- * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
787
- * // instructions: "STRING_VALUE",
788
- * // },
789
- * // annotations: "<AgentToolAnnotationsList>",
790
- * // },
791
- * // suggestions: { // AgentSuggestionsCapability
792
- * // name: "STRING_VALUE",
793
- * // annotations: "<AgentToolAnnotationsList>",
794
- * // },
795
- * // hangup: { // AgentHangupCapability
796
- * // name: "STRING_VALUE",
797
- * // description: "STRING_VALUE",
798
- * // pipeline: { // AgentHangupPipeline
799
- * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
800
- * // instructions: "STRING_VALUE",
801
- * // },
802
- * // annotations: "<AgentToolAnnotationsList>",
803
- * // },
804
- * // wait: { // AgentWaitCapability
805
- * // name: "STRING_VALUE",
1442
+ * // id: "STRING_VALUE", // required
1443
+ * // name: "STRING_VALUE", // required
806
1444
  * // description: "STRING_VALUE",
807
- * // message: "STRING_VALUE",
808
- * // annotations: "<AgentToolAnnotationsList>",
809
1445
  * // },
1446
+ * // ],
1447
+ * // settings: { // AgentWorkflowSettings
1448
+ * // maxTransitions: Number("int"),
1449
+ * // variables: "<AgentWorkflowAssignmentsList>",
1450
+ * // layout: "flow" || "compact" || "stages",
1451
+ * // },
1452
+ * // },
1453
+ * // model: "STRING_VALUE",
1454
+ * // timeZone: "STRING_VALUE",
1455
+ * // artifacts: true || false,
1456
+ * // skills: [ // AgentSkillsList
1457
+ * // { // AgentSkillReference
1458
+ * // id: "STRING_VALUE", // required
1459
+ * // skillVersion: Number("int"),
1460
+ * // access: "<AgentAccess>",
810
1461
  * // },
811
1462
  * // ],
1463
+ * // capabilities: "<AgentCapabilitiesList>",
812
1464
  * // variables: [ // AgentVariablesList
813
1465
  * // { // AgentVariable
814
1466
  * // name: "STRING_VALUE", // required
@@ -826,7 +1478,9 @@ declare const CreateAgentCommand_base: {
826
1478
  * // sqs: { // AgentSqsEngine
827
1479
  * // url: "STRING_VALUE", // required
828
1480
  * // key: "STRING_VALUE", // required
829
- * // secret: "<SecretRef>", // required
1481
+ * // secret: { // SecretRef
1482
+ * // id: "STRING_VALUE", // required
1483
+ * // },
830
1484
  * // },
831
1485
  * // },
832
1486
  * // settings: { // AgentSettings