@wildix/wilma-agents-client 1.0.24 → 1.0.27

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