@wildix/wilma-agents-client 1.0.1 → 1.0.2

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 (72) hide show
  1. package/dist-cjs/WilmaAgents.js +12 -20
  2. package/dist-cjs/commands/{DeleteGuardrailCommand.js → CreateAgentDeploymentCommand.js} +6 -6
  3. package/dist-cjs/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +6 -6
  4. package/dist-cjs/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +6 -6
  5. package/dist-cjs/commands/{DeleteAgentAliasCommand.js → ListAgentDeploymentsCommand.js} +6 -6
  6. package/dist-cjs/commands/RestoreAgentVersionToDraftCommand.js +20 -0
  7. package/dist-cjs/commands/UpdateAgentDeploymentCommand.js +20 -0
  8. package/dist-cjs/commands/index.js +6 -10
  9. package/dist-cjs/models/enums.js +36 -81
  10. package/dist-cjs/models/errors.js +51 -36
  11. package/dist-cjs/schemas/schemas_0.js +358 -539
  12. package/dist-es/WilmaAgents.js +12 -20
  13. package/dist-es/commands/{DeleteAgentAliasCommand.js → CreateAgentDeploymentCommand.js} +5 -5
  14. package/dist-es/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +5 -5
  15. package/dist-es/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +5 -5
  16. package/dist-es/commands/{DeleteGuardrailCommand.js → ListAgentDeploymentsCommand.js} +5 -5
  17. package/dist-es/commands/RestoreAgentVersionToDraftCommand.js +16 -0
  18. package/dist-es/commands/UpdateAgentDeploymentCommand.js +16 -0
  19. package/dist-es/commands/index.js +6 -10
  20. package/dist-es/models/enums.js +35 -80
  21. package/dist-es/models/errors.js +42 -28
  22. package/dist-es/schemas/schemas_0.js +356 -536
  23. package/dist-types/WilmaAgents.d.ts +42 -71
  24. package/dist-types/WilmaAgentsClient.d.ts +16 -19
  25. package/dist-types/commands/CompareAgentVersionsCommand.d.ts +5 -5
  26. package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +1 -3
  27. package/dist-types/commands/CreateAgentCommand.d.ts +451 -324
  28. package/dist-types/commands/CreateAgentDeploymentCommand.d.ts +116 -0
  29. package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +1 -3
  30. package/dist-types/commands/DeleteAgentCommand.d.ts +5 -4
  31. package/dist-types/commands/DeleteAgentDeploymentCommand.d.ts +83 -0
  32. package/dist-types/commands/GetAgentCommand.d.ts +237 -170
  33. package/dist-types/commands/GetAgentDeploymentCommand.d.ts +106 -0
  34. package/dist-types/commands/GetAgentVersionCommand.d.ts +219 -158
  35. package/dist-types/commands/ListAgentApiKeysCommand.d.ts +1 -3
  36. package/dist-types/commands/ListAgentDeploymentsCommand.d.ts +105 -0
  37. package/dist-types/commands/ListAgentVersionsCommand.d.ts +8 -7
  38. package/dist-types/commands/ListAgentsCommand.d.ts +241 -174
  39. package/dist-types/commands/ListAgentsNamesCommand.d.ts +6 -8
  40. package/dist-types/commands/PublishAgentVersionCommand.d.ts +221 -159
  41. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +460 -0
  42. package/dist-types/commands/UpdateAgentCommand.d.ts +451 -324
  43. package/dist-types/commands/UpdateAgentDeploymentCommand.d.ts +120 -0
  44. package/dist-types/commands/index.d.ts +6 -10
  45. package/dist-types/index.d.ts +8 -7
  46. package/dist-types/models/enums.d.ts +126 -161
  47. package/dist-types/models/errors.d.ts +35 -22
  48. package/dist-types/models/models_0.d.ts +695 -741
  49. package/dist-types/schemas/schemas_0.d.ts +41 -61
  50. package/package.json +2 -2
  51. package/dist-cjs/commands/GetGuardrailCommand.js +0 -20
  52. package/dist-cjs/commands/ListAgentAliasesCommand.js +0 -20
  53. package/dist-cjs/commands/ListAuditRecordsCommand.js +0 -20
  54. package/dist-cjs/commands/ListGuardrailsCommand.js +0 -20
  55. package/dist-cjs/commands/PutAgentAliasCommand.js +0 -20
  56. package/dist-cjs/commands/UpdateGuardrailCommand.js +0 -20
  57. package/dist-es/commands/GetGuardrailCommand.js +0 -16
  58. package/dist-es/commands/ListAgentAliasesCommand.js +0 -16
  59. package/dist-es/commands/ListAuditRecordsCommand.js +0 -16
  60. package/dist-es/commands/ListGuardrailsCommand.js +0 -16
  61. package/dist-es/commands/PutAgentAliasCommand.js +0 -16
  62. package/dist-es/commands/UpdateGuardrailCommand.js +0 -16
  63. package/dist-types/commands/CreateGuardrailCommand.d.ts +0 -172
  64. package/dist-types/commands/DeleteAgentAliasCommand.d.ts +0 -82
  65. package/dist-types/commands/DeleteGuardrailCommand.d.ts +0 -80
  66. package/dist-types/commands/ExecuteAgentCommand.d.ts +0 -112
  67. package/dist-types/commands/GetGuardrailCommand.d.ts +0 -135
  68. package/dist-types/commands/ListAgentAliasesCommand.d.ts +0 -99
  69. package/dist-types/commands/ListAuditRecordsCommand.d.ts +0 -109
  70. package/dist-types/commands/ListGuardrailsCommand.d.ts +0 -137
  71. package/dist-types/commands/PutAgentAliasCommand.d.ts +0 -107
  72. package/dist-types/commands/UpdateGuardrailCommand.d.ts +0 -175
@@ -24,9 +24,7 @@ export interface UpdateAgentCommandOutput extends UpdateAgentOutput, __MetadataB
24
24
  declare const UpdateAgentCommand_base: {
25
25
  new (input: UpdateAgentCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentCommandInput, UpdateAgentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: UpdateAgentCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentCommandInput, UpdateAgentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Updates the draft definition of an agent. Does not affect served traffic until the draft is published.
@@ -43,12 +41,80 @@ declare const UpdateAgentCommand_base: {
43
41
  * description: "STRING_VALUE",
44
42
  * category: "STRING_VALUE",
45
43
  * picture: "STRING_VALUE",
44
+ * channels: { // AgentChannels
45
+ * voice: { // VoiceChannelSettings
46
+ * greeting: "STRING_VALUE",
47
+ * interruptions: { // VoiceInterruptionSettings
48
+ * enabled: true || false, // required
49
+ * minWords: Number("int"),
50
+ * },
51
+ * silenceTimeout: { // VoiceSilenceTimeoutSettings
52
+ * seconds: Number("int"), // required
53
+ * action: { // VoiceTerminateAction Union: only one key present
54
+ * hangup: { // VoiceTerminateHangupAction
55
+ * message: "STRING_VALUE",
56
+ * },
57
+ * transfer: { // VoiceTransferTarget
58
+ * name: "STRING_VALUE", // required
59
+ * description: "STRING_VALUE",
60
+ * context: "STRING_VALUE", // required
61
+ * extension: "STRING_VALUE", // required
62
+ * },
63
+ * },
64
+ * },
65
+ * maxDuration: { // VoiceMaxDurationSettings
66
+ * seconds: Number("int"), // required
67
+ * action: {// Union: only one key present
68
+ * hangup: {
69
+ * message: "STRING_VALUE",
70
+ * },
71
+ * transfer: {
72
+ * name: "STRING_VALUE", // required
73
+ * description: "STRING_VALUE",
74
+ * context: "STRING_VALUE", // required
75
+ * extension: "STRING_VALUE", // required
76
+ * },
77
+ * },
78
+ * },
79
+ * endCall: { // VoiceEndCallSettings
80
+ * enabled: true || false, // required
81
+ * phrases: "STRING_VALUE",
82
+ * },
83
+ * callerMetadata: { // VoiceCallerMetadataSettings
84
+ * callerName: true || false,
85
+ * callerNumber: true || false,
86
+ * callerEmail: true || false,
87
+ * callerCompany: true || false,
88
+ * time: true || false,
89
+ * timeZone: "STRING_VALUE",
90
+ * },
91
+ * },
92
+ * chat: { // ChatChannelSettings
93
+ * discoverable: true || false,
94
+ * },
95
+ * assistant: { // AssistantChannelSettings
96
+ * default: true || false,
97
+ * },
98
+ * autonomous: {},
99
+ * },
46
100
  * engine: { // AgentEngine Union: only one key present
47
- * llm: { // AgentLlmEngine
101
+ * ai: { // AgentAiEngine
48
102
  * instructions: "STRING_VALUE", // required
49
103
  * model: "STRING_VALUE",
50
104
  * skills: [ // AgentSkillsList
51
- * "STRING_VALUE",
105
+ * { // AgentSkillReference
106
+ * id: "STRING_VALUE", // required
107
+ * skillVersion: "STRING_VALUE",
108
+ * access: { // AgentAccess
109
+ * visibility: "explicit" || "organization",
110
+ * grants: [ // AgentGrantPrincipalList
111
+ * { // AgentGrantPrincipal Union: only one key present
112
+ * userId: "STRING_VALUE",
113
+ * groupId: "STRING_VALUE",
114
+ * },
115
+ * ],
116
+ * },
117
+ * },
52
118
  * ],
53
119
  * capabilities: [ // AgentCapabilitiesList
54
120
  * { // AgentCapability Union: only one key present
@@ -63,50 +129,55 @@ declare const UpdateAgentCommand_base: {
63
129
  * description: "STRING_VALUE", // required
64
130
  * },
65
131
  * predefined: { // AgentToolVariablePredefinedHandler
66
- * description: "STRING_VALUE", // required
132
+ * value: "STRING_VALUE", // required
67
133
  * },
68
134
  * },
69
135
  * },
70
136
  * ],
71
- * },
72
- * function: { // AgentFunctionTool
73
- * name: "STRING_VALUE", // required
74
- * description: "STRING_VALUE",
75
- * parameters: "DOCUMENT_VALUE",
76
- * integration: { // FunctionIntegration Union: only one key present
77
- * webhook: { // FunctionWebhookIntegration
78
- * url: "STRING_VALUE", // required
79
- * method: "get" || "post" || "put" || "delete" || "patch",
80
- * async: true || false,
81
- * authorization: { // WebhookAuthorization Union: only one key present
82
- * bearer: { // WebhookAuthorizationBearer
83
- * token: "STRING_VALUE", // required
84
- * },
85
- * basic: { // WebhookAuthorizationBasic
86
- * username: "STRING_VALUE", // required
87
- * password: "STRING_VALUE", // required
88
- * },
89
- * oauth: { // WebhookAuthorizationOAuth
90
- * clientId: "STRING_VALUE", // required
91
- * clientSecret: "STRING_VALUE", // required
92
- * endpointUrl: "STRING_VALUE", // required
93
- * scope: "STRING_VALUE",
94
- * },
137
+ * startMessage: "STRING_VALUE",
138
+ * pipeline: { // AgentToolPipeline
139
+ * type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
140
+ * instructions: "STRING_VALUE",
141
+ * },
142
+ * approval: { // AgentToolApproval
143
+ * prompt: "STRING_VALUE",
144
+ * },
145
+ * annotations: [ // AgentToolAnnotationsList
146
+ * { // AgentToolAnnotation Union: only one key present
147
+ * tag: { // AgentToolTagAnnotation
148
+ * value: "STRING_VALUE",
149
+ * applyOnSuccess: true || false,
150
+ * applyOnFailure: true || false,
95
151
  * },
96
- * headers: [ // WebhookHeadersList
97
- * { // WebhookHeader
98
- * name: "STRING_VALUE", // required
99
- * value: "STRING_VALUE", // required
100
- * },
101
- * ],
102
- * timeout: Number("int"),
103
- * parameters: "DOCUMENT_VALUE",
152
+ * comment: { // AgentToolCommentAnnotation
153
+ * value: "STRING_VALUE",
154
+ * applyOnSuccess: true || false,
155
+ * applyOnFailure: true || false,
156
+ * },
157
+ * variables: {},
158
+ * result: {},
104
159
  * },
105
- * },
160
+ * ],
106
161
  * },
107
162
  * kb: { // AgentKnowledgeBase
108
163
  * knowledgeBaseId: "STRING_VALUE",
109
164
  * instructions: "STRING_VALUE",
165
+ * annotations: [
166
+ * {// Union: only one key present
167
+ * tag: {
168
+ * value: "STRING_VALUE",
169
+ * applyOnSuccess: true || false,
170
+ * applyOnFailure: true || false,
171
+ * },
172
+ * comment: {
173
+ * value: "STRING_VALUE",
174
+ * applyOnSuccess: true || false,
175
+ * applyOnFailure: true || false,
176
+ * },
177
+ * variables: {},
178
+ * result: {},
179
+ * },
180
+ * ],
110
181
  * },
111
182
  * sandbox: { // AgentSandboxCapability Union: only one key present
112
183
  * vercel: { // AgentVercelSandboxOptions
@@ -144,6 +215,17 @@ declare const UpdateAgentCommand_base: {
144
215
  * },
145
216
  * agent: { // AgentCallCapability
146
217
  * agentId: "STRING_VALUE", // required
218
+ * agentVersion: "STRING_VALUE",
219
+ * agentDeployment: "STRING_VALUE",
220
+ * access: {
221
+ * visibility: "explicit" || "organization",
222
+ * grants: [
223
+ * {// Union: only one key present
224
+ * userId: "STRING_VALUE",
225
+ * groupId: "STRING_VALUE",
226
+ * },
227
+ * ],
228
+ * },
147
229
  * variables: [
148
230
  * {
149
231
  * name: "STRING_VALUE", // required
@@ -153,55 +235,111 @@ declare const UpdateAgentCommand_base: {
153
235
  * description: "STRING_VALUE", // required
154
236
  * },
155
237
  * predefined: {
156
- * description: "STRING_VALUE", // required
238
+ * value: "STRING_VALUE", // required
157
239
  * },
158
240
  * },
159
241
  * },
160
242
  * ],
161
243
  * },
162
- * mcp: { // AgentMcpServerCapability
163
- * url: "STRING_VALUE", // required
164
- * authorization: {// Union: only one key present
165
- * bearer: {
166
- * token: "STRING_VALUE", // required
167
- * },
168
- * basic: {
169
- * username: "STRING_VALUE", // required
170
- * password: "STRING_VALUE", // required
171
- * },
172
- * oauth: {
173
- * clientId: "STRING_VALUE", // required
174
- * clientSecret: "STRING_VALUE", // required
175
- * endpointUrl: "STRING_VALUE", // required
176
- * scope: "STRING_VALUE",
177
- * },
244
+ * handover: { // AgentHandoverCapability
245
+ * name: "STRING_VALUE",
246
+ * description: "STRING_VALUE",
247
+ * variant: "agent" || "service",
248
+ * agent: "STRING_VALUE",
249
+ * agentVersion: "STRING_VALUE",
250
+ * agentDeployment: "STRING_VALUE",
251
+ * service: "STRING_VALUE",
252
+ * silent: true || false,
253
+ * pipeline: { // AgentHandoverPipeline
254
+ * type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
255
+ * instructions: "STRING_VALUE",
178
256
  * },
179
- * allowedTools: [ // FunctionNameList
180
- * "STRING_VALUE",
257
+ * annotations: [
258
+ * {// Union: only one key present
259
+ * tag: {
260
+ * value: "STRING_VALUE",
261
+ * applyOnSuccess: true || false,
262
+ * applyOnFailure: true || false,
263
+ * },
264
+ * comment: {
265
+ * value: "STRING_VALUE",
266
+ * applyOnSuccess: true || false,
267
+ * applyOnFailure: true || false,
268
+ * },
269
+ * variables: {},
270
+ * result: {},
271
+ * },
181
272
  * ],
182
273
  * },
183
- * handover: { // AgentHandoverCapability
184
- * instructions: "STRING_VALUE",
185
- * message: "STRING_VALUE",
186
- * },
187
274
  * delegation: { // AgentDelegationCapability
188
- * agents: [ // AgentIdList
189
- * "STRING_VALUE",
275
+ * name: "STRING_VALUE",
276
+ * description: "STRING_VALUE",
277
+ * id: "STRING_VALUE", // required
278
+ * agentVersion: "STRING_VALUE",
279
+ * agentDeployment: "STRING_VALUE",
280
+ * annotations: [
281
+ * {// Union: only one key present
282
+ * tag: {
283
+ * value: "STRING_VALUE",
284
+ * applyOnSuccess: true || false,
285
+ * applyOnFailure: true || false,
286
+ * },
287
+ * comment: {
288
+ * value: "STRING_VALUE",
289
+ * applyOnSuccess: true || false,
290
+ * applyOnFailure: true || false,
291
+ * },
292
+ * variables: {},
293
+ * result: {},
294
+ * },
190
295
  * ],
191
- * instructions: "STRING_VALUE",
192
296
  * },
193
297
  * transfer: { // AgentTransferCapability
194
- * targets: [ // VoiceTransferTargetsList // required
195
- * { // VoiceTransferTarget
196
- * name: "STRING_VALUE", // required
197
- * description: "STRING_VALUE",
198
- * context: "STRING_VALUE", // required
199
- * extension: "STRING_VALUE", // required
298
+ * name: "STRING_VALUE",
299
+ * description: "STRING_VALUE",
300
+ * variant: "predefined" || "dynamic" || "directory",
301
+ * context: "STRING_VALUE",
302
+ * extension: "STRING_VALUE",
303
+ * pipeline: { // AgentTransferPipeline
304
+ * type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
305
+ * instructions: "STRING_VALUE",
306
+ * },
307
+ * annotations: [
308
+ * {// Union: only one key present
309
+ * tag: {
310
+ * value: "STRING_VALUE",
311
+ * applyOnSuccess: true || false,
312
+ * applyOnFailure: true || false,
313
+ * },
314
+ * comment: {
315
+ * value: "STRING_VALUE",
316
+ * applyOnSuccess: true || false,
317
+ * applyOnFailure: true || false,
318
+ * },
319
+ * variables: {},
320
+ * result: {},
200
321
  * },
201
322
  * ],
202
- * instructions: "STRING_VALUE",
203
323
  * },
204
- * suggestions: {},
324
+ * suggestions: { // AgentSuggestionsCapability
325
+ * name: "STRING_VALUE",
326
+ * annotations: "<AgentToolAnnotationsList>",
327
+ * },
328
+ * hangup: { // AgentHangupCapability
329
+ * name: "STRING_VALUE",
330
+ * description: "STRING_VALUE",
331
+ * pipeline: { // AgentHangupPipeline
332
+ * type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
333
+ * instructions: "STRING_VALUE",
334
+ * },
335
+ * annotations: "<AgentToolAnnotationsList>",
336
+ * },
337
+ * wait: { // AgentWaitCapability
338
+ * name: "STRING_VALUE",
339
+ * description: "STRING_VALUE",
340
+ * message: "STRING_VALUE",
341
+ * annotations: "<AgentToolAnnotationsList>",
342
+ * },
205
343
  * },
206
344
  * ],
207
345
  * variables: [ // AgentVariablesList
@@ -224,93 +362,13 @@ declare const UpdateAgentCommand_base: {
224
362
  * secret: "STRING_VALUE", // required
225
363
  * },
226
364
  * },
227
- * channels: { // AgentChannels
228
- * assistant: { // AssistantChannelSettings
229
- * enabled: true || false, // required
230
- * default: true || false,
231
- * },
232
- * chat: { // ChatChannelSettings
233
- * enabled: true || false, // required
234
- * discoverable: true || false,
235
- * pbxGroupId: "STRING_VALUE",
236
- * welcomeMessage: "STRING_VALUE",
237
- * },
238
- * voice: { // VoiceChannelSettings
239
- * enabled: true || false, // required
240
- * language: "STRING_VALUE", // required
241
- * synthesis: { // VoiceSynthesisSettings
242
- * provider: "elevenlabs" || "google", // required
243
- * voiceId: "STRING_VALUE", // required
244
- * speed: Number("float"),
245
- * },
246
- * greeting: "STRING_VALUE",
247
- * interruptions: { // VoiceInterruptionSettings
248
- * enabled: true || false, // required
249
- * minWords: Number("int"),
250
- * },
251
- * silenceTimeout: { // VoiceSilenceTimeoutSettings
252
- * seconds: Number("int"), // required
253
- * action: { // VoiceTerminateAction Union: only one key present
254
- * hangup: { // VoiceTerminateHangupAction
255
- * message: "STRING_VALUE",
256
- * },
257
- * transfer: {
258
- * name: "STRING_VALUE", // required
259
- * description: "STRING_VALUE",
260
- * context: "STRING_VALUE", // required
261
- * extension: "STRING_VALUE", // required
262
- * },
263
- * },
264
- * },
265
- * maxDuration: { // VoiceMaxDurationSettings
266
- * seconds: Number("int"), // required
267
- * action: {// Union: only one key present
268
- * hangup: {
269
- * message: "STRING_VALUE",
270
- * },
271
- * transfer: {
272
- * name: "STRING_VALUE", // required
273
- * description: "STRING_VALUE",
274
- * context: "STRING_VALUE", // required
275
- * extension: "STRING_VALUE", // required
276
- * },
277
- * },
278
- * },
279
- * endCall: { // VoiceEndCallSettings
280
- * enabled: true || false, // required
281
- * phrases: "STRING_VALUE",
282
- * },
283
- * callerMetadata: { // VoiceCallerMetadataSettings
284
- * callerName: true || false,
285
- * callerNumber: true || false,
286
- * callerEmail: true || false,
287
- * callerCompany: true || false,
288
- * time: true || false,
289
- * timeZone: "STRING_VALUE",
290
- * },
291
- * },
292
- * api: { // ApiChannelSettings
293
- * enabled: true || false, // required
294
- * },
295
- * },
296
- * guardrails: [ // GuardrailIdList
297
- * "STRING_VALUE",
298
- * ],
299
- * access: { // AgentAccess
300
- * visibility: "explicit" || "organization",
301
- * grants: [ // AgentGrantList
302
- * { // AgentGrant
303
- * permission: "view" || "edit" || "use", // required
304
- * principal: { // AgentGrantPrincipal Union: only one key present
305
- * userId: "STRING_VALUE",
306
- * groupId: "STRING_VALUE",
307
- * },
308
- * },
309
- * ],
365
+ * settings: { // AgentSettings
366
+ * pbxGroupId: "STRING_VALUE",
310
367
  * },
368
+ * access: "<AgentAccess>",
311
369
  * company: "STRING_VALUE",
312
370
  * agentId: "STRING_VALUE", // required
313
- * revision: Number("int"),
371
+ * revision: Number("int"), // required
314
372
  * };
315
373
  * const command = new UpdateAgentCommand(input);
316
374
  * const response = await client.send(command);
@@ -320,12 +378,80 @@ declare const UpdateAgentCommand_base: {
320
378
  * // description: "STRING_VALUE",
321
379
  * // category: "STRING_VALUE",
322
380
  * // picture: "STRING_VALUE",
381
+ * // channels: { // AgentChannels
382
+ * // voice: { // VoiceChannelSettings
383
+ * // greeting: "STRING_VALUE",
384
+ * // interruptions: { // VoiceInterruptionSettings
385
+ * // enabled: true || false, // required
386
+ * // minWords: Number("int"),
387
+ * // },
388
+ * // silenceTimeout: { // VoiceSilenceTimeoutSettings
389
+ * // seconds: Number("int"), // required
390
+ * // action: { // VoiceTerminateAction Union: only one key present
391
+ * // hangup: { // VoiceTerminateHangupAction
392
+ * // message: "STRING_VALUE",
393
+ * // },
394
+ * // transfer: { // VoiceTransferTarget
395
+ * // name: "STRING_VALUE", // required
396
+ * // description: "STRING_VALUE",
397
+ * // context: "STRING_VALUE", // required
398
+ * // extension: "STRING_VALUE", // required
399
+ * // },
400
+ * // },
401
+ * // },
402
+ * // maxDuration: { // VoiceMaxDurationSettings
403
+ * // seconds: Number("int"), // required
404
+ * // action: {// Union: only one key present
405
+ * // hangup: {
406
+ * // message: "STRING_VALUE",
407
+ * // },
408
+ * // transfer: {
409
+ * // name: "STRING_VALUE", // required
410
+ * // description: "STRING_VALUE",
411
+ * // context: "STRING_VALUE", // required
412
+ * // extension: "STRING_VALUE", // required
413
+ * // },
414
+ * // },
415
+ * // },
416
+ * // endCall: { // VoiceEndCallSettings
417
+ * // enabled: true || false, // required
418
+ * // phrases: "STRING_VALUE",
419
+ * // },
420
+ * // callerMetadata: { // VoiceCallerMetadataSettings
421
+ * // callerName: true || false,
422
+ * // callerNumber: true || false,
423
+ * // callerEmail: true || false,
424
+ * // callerCompany: true || false,
425
+ * // time: true || false,
426
+ * // timeZone: "STRING_VALUE",
427
+ * // },
428
+ * // },
429
+ * // chat: { // ChatChannelSettings
430
+ * // discoverable: true || false,
431
+ * // },
432
+ * // assistant: { // AssistantChannelSettings
433
+ * // default: true || false,
434
+ * // },
435
+ * // autonomous: {},
436
+ * // },
323
437
  * // engine: { // AgentEngine Union: only one key present
324
- * // llm: { // AgentLlmEngine
438
+ * // ai: { // AgentAiEngine
325
439
  * // instructions: "STRING_VALUE", // required
326
440
  * // model: "STRING_VALUE",
327
441
  * // skills: [ // AgentSkillsList
328
- * // "STRING_VALUE",
442
+ * // { // AgentSkillReference
443
+ * // id: "STRING_VALUE", // required
444
+ * // skillVersion: "STRING_VALUE",
445
+ * // access: { // AgentAccess
446
+ * // visibility: "explicit" || "organization",
447
+ * // grants: [ // AgentGrantPrincipalList
448
+ * // { // AgentGrantPrincipal Union: only one key present
449
+ * // userId: "STRING_VALUE",
450
+ * // groupId: "STRING_VALUE",
451
+ * // },
452
+ * // ],
453
+ * // },
454
+ * // },
329
455
  * // ],
330
456
  * // capabilities: [ // AgentCapabilitiesList
331
457
  * // { // AgentCapability Union: only one key present
@@ -340,50 +466,55 @@ declare const UpdateAgentCommand_base: {
340
466
  * // description: "STRING_VALUE", // required
341
467
  * // },
342
468
  * // predefined: { // AgentToolVariablePredefinedHandler
343
- * // description: "STRING_VALUE", // required
469
+ * // value: "STRING_VALUE", // required
344
470
  * // },
345
471
  * // },
346
472
  * // },
347
473
  * // ],
348
- * // },
349
- * // function: { // AgentFunctionTool
350
- * // name: "STRING_VALUE", // required
351
- * // description: "STRING_VALUE",
352
- * // parameters: "DOCUMENT_VALUE",
353
- * // integration: { // FunctionIntegration Union: only one key present
354
- * // webhook: { // FunctionWebhookIntegration
355
- * // url: "STRING_VALUE", // required
356
- * // method: "get" || "post" || "put" || "delete" || "patch",
357
- * // async: true || false,
358
- * // authorization: { // WebhookAuthorization Union: only one key present
359
- * // bearer: { // WebhookAuthorizationBearer
360
- * // token: "STRING_VALUE", // required
361
- * // },
362
- * // basic: { // WebhookAuthorizationBasic
363
- * // username: "STRING_VALUE", // required
364
- * // password: "STRING_VALUE", // required
365
- * // },
366
- * // oauth: { // WebhookAuthorizationOAuth
367
- * // clientId: "STRING_VALUE", // required
368
- * // clientSecret: "STRING_VALUE", // required
369
- * // endpointUrl: "STRING_VALUE", // required
370
- * // scope: "STRING_VALUE",
371
- * // },
474
+ * // startMessage: "STRING_VALUE",
475
+ * // pipeline: { // AgentToolPipeline
476
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
477
+ * // instructions: "STRING_VALUE",
478
+ * // },
479
+ * // approval: { // AgentToolApproval
480
+ * // prompt: "STRING_VALUE",
481
+ * // },
482
+ * // annotations: [ // AgentToolAnnotationsList
483
+ * // { // AgentToolAnnotation Union: only one key present
484
+ * // tag: { // AgentToolTagAnnotation
485
+ * // value: "STRING_VALUE",
486
+ * // applyOnSuccess: true || false,
487
+ * // applyOnFailure: true || false,
372
488
  * // },
373
- * // headers: [ // WebhookHeadersList
374
- * // { // WebhookHeader
375
- * // name: "STRING_VALUE", // required
376
- * // value: "STRING_VALUE", // required
377
- * // },
378
- * // ],
379
- * // timeout: Number("int"),
380
- * // parameters: "DOCUMENT_VALUE",
489
+ * // comment: { // AgentToolCommentAnnotation
490
+ * // value: "STRING_VALUE",
491
+ * // applyOnSuccess: true || false,
492
+ * // applyOnFailure: true || false,
493
+ * // },
494
+ * // variables: {},
495
+ * // result: {},
381
496
  * // },
382
- * // },
497
+ * // ],
383
498
  * // },
384
499
  * // kb: { // AgentKnowledgeBase
385
500
  * // knowledgeBaseId: "STRING_VALUE",
386
501
  * // instructions: "STRING_VALUE",
502
+ * // annotations: [
503
+ * // {// Union: only one key present
504
+ * // tag: {
505
+ * // value: "STRING_VALUE",
506
+ * // applyOnSuccess: true || false,
507
+ * // applyOnFailure: true || false,
508
+ * // },
509
+ * // comment: {
510
+ * // value: "STRING_VALUE",
511
+ * // applyOnSuccess: true || false,
512
+ * // applyOnFailure: true || false,
513
+ * // },
514
+ * // variables: {},
515
+ * // result: {},
516
+ * // },
517
+ * // ],
387
518
  * // },
388
519
  * // sandbox: { // AgentSandboxCapability Union: only one key present
389
520
  * // vercel: { // AgentVercelSandboxOptions
@@ -421,6 +552,17 @@ declare const UpdateAgentCommand_base: {
421
552
  * // },
422
553
  * // agent: { // AgentCallCapability
423
554
  * // agentId: "STRING_VALUE", // required
555
+ * // agentVersion: "STRING_VALUE",
556
+ * // agentDeployment: "STRING_VALUE",
557
+ * // access: {
558
+ * // visibility: "explicit" || "organization",
559
+ * // grants: [
560
+ * // {// Union: only one key present
561
+ * // userId: "STRING_VALUE",
562
+ * // groupId: "STRING_VALUE",
563
+ * // },
564
+ * // ],
565
+ * // },
424
566
  * // variables: [
425
567
  * // {
426
568
  * // name: "STRING_VALUE", // required
@@ -430,55 +572,111 @@ declare const UpdateAgentCommand_base: {
430
572
  * // description: "STRING_VALUE", // required
431
573
  * // },
432
574
  * // predefined: {
433
- * // description: "STRING_VALUE", // required
575
+ * // value: "STRING_VALUE", // required
434
576
  * // },
435
577
  * // },
436
578
  * // },
437
579
  * // ],
438
580
  * // },
439
- * // mcp: { // AgentMcpServerCapability
440
- * // url: "STRING_VALUE", // required
441
- * // authorization: {// Union: only one key present
442
- * // bearer: {
443
- * // token: "STRING_VALUE", // required
444
- * // },
445
- * // basic: {
446
- * // username: "STRING_VALUE", // required
447
- * // password: "STRING_VALUE", // required
448
- * // },
449
- * // oauth: {
450
- * // clientId: "STRING_VALUE", // required
451
- * // clientSecret: "STRING_VALUE", // required
452
- * // endpointUrl: "STRING_VALUE", // required
453
- * // scope: "STRING_VALUE",
454
- * // },
581
+ * // handover: { // AgentHandoverCapability
582
+ * // name: "STRING_VALUE",
583
+ * // description: "STRING_VALUE",
584
+ * // variant: "agent" || "service",
585
+ * // agent: "STRING_VALUE",
586
+ * // agentVersion: "STRING_VALUE",
587
+ * // agentDeployment: "STRING_VALUE",
588
+ * // service: "STRING_VALUE",
589
+ * // silent: true || false,
590
+ * // pipeline: { // AgentHandoverPipeline
591
+ * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
592
+ * // instructions: "STRING_VALUE",
455
593
  * // },
456
- * // allowedTools: [ // FunctionNameList
457
- * // "STRING_VALUE",
594
+ * // annotations: [
595
+ * // {// Union: only one key present
596
+ * // tag: {
597
+ * // value: "STRING_VALUE",
598
+ * // applyOnSuccess: true || false,
599
+ * // applyOnFailure: true || false,
600
+ * // },
601
+ * // comment: {
602
+ * // value: "STRING_VALUE",
603
+ * // applyOnSuccess: true || false,
604
+ * // applyOnFailure: true || false,
605
+ * // },
606
+ * // variables: {},
607
+ * // result: {},
608
+ * // },
458
609
  * // ],
459
610
  * // },
460
- * // handover: { // AgentHandoverCapability
461
- * // instructions: "STRING_VALUE",
462
- * // message: "STRING_VALUE",
463
- * // },
464
611
  * // delegation: { // AgentDelegationCapability
465
- * // agents: [ // AgentIdList
466
- * // "STRING_VALUE",
612
+ * // name: "STRING_VALUE",
613
+ * // description: "STRING_VALUE",
614
+ * // id: "STRING_VALUE", // required
615
+ * // agentVersion: "STRING_VALUE",
616
+ * // agentDeployment: "STRING_VALUE",
617
+ * // annotations: [
618
+ * // {// Union: only one key present
619
+ * // tag: {
620
+ * // value: "STRING_VALUE",
621
+ * // applyOnSuccess: true || false,
622
+ * // applyOnFailure: true || false,
623
+ * // },
624
+ * // comment: {
625
+ * // value: "STRING_VALUE",
626
+ * // applyOnSuccess: true || false,
627
+ * // applyOnFailure: true || false,
628
+ * // },
629
+ * // variables: {},
630
+ * // result: {},
631
+ * // },
467
632
  * // ],
468
- * // instructions: "STRING_VALUE",
469
633
  * // },
470
634
  * // transfer: { // AgentTransferCapability
471
- * // targets: [ // VoiceTransferTargetsList // required
472
- * // { // VoiceTransferTarget
473
- * // name: "STRING_VALUE", // required
474
- * // description: "STRING_VALUE",
475
- * // context: "STRING_VALUE", // required
476
- * // extension: "STRING_VALUE", // required
635
+ * // name: "STRING_VALUE",
636
+ * // description: "STRING_VALUE",
637
+ * // variant: "predefined" || "dynamic" || "directory",
638
+ * // context: "STRING_VALUE",
639
+ * // extension: "STRING_VALUE",
640
+ * // pipeline: { // AgentTransferPipeline
641
+ * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
642
+ * // instructions: "STRING_VALUE",
643
+ * // },
644
+ * // annotations: [
645
+ * // {// Union: only one key present
646
+ * // tag: {
647
+ * // value: "STRING_VALUE",
648
+ * // applyOnSuccess: true || false,
649
+ * // applyOnFailure: true || false,
650
+ * // },
651
+ * // comment: {
652
+ * // value: "STRING_VALUE",
653
+ * // applyOnSuccess: true || false,
654
+ * // applyOnFailure: true || false,
655
+ * // },
656
+ * // variables: {},
657
+ * // result: {},
477
658
  * // },
478
659
  * // ],
479
- * // instructions: "STRING_VALUE",
480
660
  * // },
481
- * // suggestions: {},
661
+ * // suggestions: { // AgentSuggestionsCapability
662
+ * // name: "STRING_VALUE",
663
+ * // annotations: "<AgentToolAnnotationsList>",
664
+ * // },
665
+ * // hangup: { // AgentHangupCapability
666
+ * // name: "STRING_VALUE",
667
+ * // description: "STRING_VALUE",
668
+ * // pipeline: { // AgentHangupPipeline
669
+ * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
670
+ * // instructions: "STRING_VALUE",
671
+ * // },
672
+ * // annotations: "<AgentToolAnnotationsList>",
673
+ * // },
674
+ * // wait: { // AgentWaitCapability
675
+ * // name: "STRING_VALUE",
676
+ * // description: "STRING_VALUE",
677
+ * // message: "STRING_VALUE",
678
+ * // annotations: "<AgentToolAnnotationsList>",
679
+ * // },
482
680
  * // },
483
681
  * // ],
484
682
  * // variables: [ // AgentVariablesList
@@ -501,90 +699,10 @@ declare const UpdateAgentCommand_base: {
501
699
  * // secret: "STRING_VALUE", // required
502
700
  * // },
503
701
  * // },
504
- * // channels: { // AgentChannels
505
- * // assistant: { // AssistantChannelSettings
506
- * // enabled: true || false, // required
507
- * // default: true || false,
508
- * // },
509
- * // chat: { // ChatChannelSettings
510
- * // enabled: true || false, // required
511
- * // discoverable: true || false,
512
- * // pbxGroupId: "STRING_VALUE",
513
- * // welcomeMessage: "STRING_VALUE",
514
- * // },
515
- * // voice: { // VoiceChannelSettings
516
- * // enabled: true || false, // required
517
- * // language: "STRING_VALUE", // required
518
- * // synthesis: { // VoiceSynthesisSettings
519
- * // provider: "elevenlabs" || "google", // required
520
- * // voiceId: "STRING_VALUE", // required
521
- * // speed: Number("float"),
522
- * // },
523
- * // greeting: "STRING_VALUE",
524
- * // interruptions: { // VoiceInterruptionSettings
525
- * // enabled: true || false, // required
526
- * // minWords: Number("int"),
527
- * // },
528
- * // silenceTimeout: { // VoiceSilenceTimeoutSettings
529
- * // seconds: Number("int"), // required
530
- * // action: { // VoiceTerminateAction Union: only one key present
531
- * // hangup: { // VoiceTerminateHangupAction
532
- * // message: "STRING_VALUE",
533
- * // },
534
- * // transfer: {
535
- * // name: "STRING_VALUE", // required
536
- * // description: "STRING_VALUE",
537
- * // context: "STRING_VALUE", // required
538
- * // extension: "STRING_VALUE", // required
539
- * // },
540
- * // },
541
- * // },
542
- * // maxDuration: { // VoiceMaxDurationSettings
543
- * // seconds: Number("int"), // required
544
- * // action: {// Union: only one key present
545
- * // hangup: {
546
- * // message: "STRING_VALUE",
547
- * // },
548
- * // transfer: {
549
- * // name: "STRING_VALUE", // required
550
- * // description: "STRING_VALUE",
551
- * // context: "STRING_VALUE", // required
552
- * // extension: "STRING_VALUE", // required
553
- * // },
554
- * // },
555
- * // },
556
- * // endCall: { // VoiceEndCallSettings
557
- * // enabled: true || false, // required
558
- * // phrases: "STRING_VALUE",
559
- * // },
560
- * // callerMetadata: { // VoiceCallerMetadataSettings
561
- * // callerName: true || false,
562
- * // callerNumber: true || false,
563
- * // callerEmail: true || false,
564
- * // callerCompany: true || false,
565
- * // time: true || false,
566
- * // timeZone: "STRING_VALUE",
567
- * // },
568
- * // },
569
- * // api: { // ApiChannelSettings
570
- * // enabled: true || false, // required
571
- * // },
572
- * // },
573
- * // guardrails: [ // GuardrailIdList
574
- * // "STRING_VALUE",
575
- * // ],
576
- * // access: { // AgentAccess
577
- * // visibility: "explicit" || "organization",
578
- * // grants: [ // AgentGrantList
579
- * // { // AgentGrant
580
- * // permission: "view" || "edit" || "use", // required
581
- * // principal: { // AgentGrantPrincipal Union: only one key present
582
- * // userId: "STRING_VALUE",
583
- * // groupId: "STRING_VALUE",
584
- * // },
585
- * // },
586
- * // ],
702
+ * // settings: { // AgentSettings
703
+ * // pbxGroupId: "STRING_VALUE",
587
704
  * // },
705
+ * // access: "<AgentAccess>",
588
706
  * // createdAt: "STRING_VALUE", // required
589
707
  * // createdBy: { // Actor
590
708
  * // type: "user" || "api_key" || "service", // required
@@ -598,26 +716,35 @@ declare const UpdateAgentCommand_base: {
598
716
  * // name: "STRING_VALUE",
599
717
  * // },
600
718
  * // id: "STRING_VALUE", // required
601
- * // status: "draft" || "active" || "archived", // required
719
+ * // status: "draft" || "active", // required
602
720
  * // revision: Number("int"), // required
603
- * // latestVersion: Number("int"),
604
- * // aliases: [ // AgentAliasesList
605
- * // { // AgentAlias
606
- * // name: "STRING_VALUE", // required
607
- * // agentId: "STRING_VALUE", // required
608
- * // description: "STRING_VALUE",
609
- * // routing: [ // AgentAliasRoutesList // required
610
- * // { // AgentAliasRoute
611
- * // version: Number("int"), // required
612
- * // weight: Number("int"), // required
613
- * // },
614
- * // ],
615
- * // updatedAt: "STRING_VALUE", // required
721
+ * // latestVersion: "STRING_VALUE",
722
+ * // draftBaseVersion: "STRING_VALUE",
723
+ * // deployments: [ // AgentDeploymentsList
724
+ * // { // AgentDeployment
725
+ * // createdAt: "STRING_VALUE", // required
726
+ * // createdBy: {
727
+ * // type: "user" || "api_key" || "service", // required
728
+ * // id: "STRING_VALUE", // required
729
+ * // name: "STRING_VALUE",
730
+ * // },
731
+ * // updatedAt: "STRING_VALUE",
616
732
  * // updatedBy: {
617
733
  * // type: "user" || "api_key" || "service", // required
618
734
  * // id: "STRING_VALUE", // required
619
735
  * // name: "STRING_VALUE",
620
736
  * // },
737
+ * // agentId: "STRING_VALUE", // required
738
+ * // name: "STRING_VALUE", // required
739
+ * // description: "STRING_VALUE",
740
+ * // status: "active" || "paused", // required
741
+ * // routing: [ // AgentDeploymentRoutesList // required
742
+ * // { // AgentDeploymentRoute
743
+ * // version: "STRING_VALUE", // required
744
+ * // percentage: Number("int"), // required
745
+ * // },
746
+ * // ],
747
+ * // revision: Number("int"), // required
621
748
  * // },
622
749
  * // ],
623
750
  * // },