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