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