|
4296 | 4296 | ], |
4297 | 4297 | "description": "This message is triggered when the tool call starts.\n\nThis message is never triggered for async tools.\n\nIf this message is not provided, one of the default filler messages \"Hold on a sec\", \"One moment\", \"Just a sec\", \"Give me a moment\" or \"This'll just take a sec\" will be used." |
4298 | 4298 | }, |
| 4299 | + "blocking": { |
| 4300 | + "type": "boolean", |
| 4301 | + "description": "This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false.\n\n@default false", |
| 4302 | + "example": false, |
| 4303 | + "default": false |
| 4304 | + }, |
4299 | 4305 | "content": { |
4300 | 4306 | "type": "string", |
4301 | 4307 | "description": "This is the content that the assistant says when this message is triggered.", |
|
11541 | 11547 | "description": "When this is enabled, no logs, recordings, or transcriptions will be stored. At the end of the call, you will still receive an end-of-call-report message to store on your server. Defaults to false.", |
11542 | 11548 | "example": false |
11543 | 11549 | }, |
| 11550 | + "pciEnabled": { |
| 11551 | + "type": "boolean", |
| 11552 | + "description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)", |
| 11553 | + "example": false |
| 11554 | + }, |
11544 | 11555 | "clientMessages": { |
11545 | 11556 | "type": "array", |
11546 | 11557 | "enum": [ |
|
12111 | 12122 | "description": "When this is enabled, no logs, recordings, or transcriptions will be stored. At the end of the call, you will still receive an end-of-call-report message to store on your server. Defaults to false.", |
12112 | 12123 | "example": false |
12113 | 12124 | }, |
| 12125 | + "pciEnabled": { |
| 12126 | + "type": "boolean", |
| 12127 | + "description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)", |
| 12128 | + "example": false |
| 12129 | + }, |
12114 | 12130 | "clientMessages": { |
12115 | 12131 | "type": "array", |
12116 | 12132 | "enum": [ |
|
13727 | 13743 | "description": "When this is enabled, no logs, recordings, or transcriptions will be stored. At the end of the call, you will still receive an end-of-call-report message to store on your server. Defaults to false.", |
13728 | 13744 | "example": false |
13729 | 13745 | }, |
| 13746 | + "pciEnabled": { |
| 13747 | + "type": "boolean", |
| 13748 | + "description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)", |
| 13749 | + "example": false |
| 13750 | + }, |
13730 | 13751 | "clientMessages": { |
13731 | 13752 | "type": "array", |
13732 | 13753 | "enum": [ |
|
14321 | 14342 | "description": "When this is enabled, no logs, recordings, or transcriptions will be stored. At the end of the call, you will still receive an end-of-call-report message to store on your server. Defaults to false.", |
14322 | 14343 | "example": false |
14323 | 14344 | }, |
| 14345 | + "pciEnabled": { |
| 14346 | + "type": "boolean", |
| 14347 | + "description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)", |
| 14348 | + "example": false |
| 14349 | + }, |
14324 | 14350 | "clientMessages": { |
14325 | 14351 | "type": "array", |
14326 | 14352 | "enum": [ |
|
19299 | 19325 | "name" |
19300 | 19326 | ] |
19301 | 19327 | }, |
| 19328 | + "Hook": { |
| 19329 | + "type": "object", |
| 19330 | + "properties": { |
| 19331 | + "on": { |
| 19332 | + "type": "string", |
| 19333 | + "enum": [ |
| 19334 | + "task.start", |
| 19335 | + "task.output.confirmation", |
| 19336 | + "task.delayed" |
| 19337 | + ], |
| 19338 | + "maxLength": 80 |
| 19339 | + }, |
| 19340 | + "do": { |
| 19341 | + "type": "array", |
| 19342 | + "items": { |
| 19343 | + "$ref": "#/components/schemas/Say" |
| 19344 | + } |
| 19345 | + } |
| 19346 | + }, |
| 19347 | + "required": [ |
| 19348 | + "on", |
| 19349 | + "do" |
| 19350 | + ] |
| 19351 | + }, |
19302 | 19352 | "Gather": { |
19303 | 19353 | "type": "object", |
19304 | 19354 | "properties": { |
|
19319 | 19369 | "type": "boolean", |
19320 | 19370 | "description": "This is whether or not the workflow should read back the gathered data to the user, and ask about its correctness." |
19321 | 19371 | }, |
| 19372 | + "hooks": { |
| 19373 | + "description": "This is a list of hooks for a task.\nEach hook is a list of tasks to run on a trigger (such as on start, on failure, etc).\nOnly Say is supported for now.", |
| 19374 | + "type": "array", |
| 19375 | + "items": { |
| 19376 | + "$ref": "#/components/schemas/Hook" |
| 19377 | + } |
| 19378 | + }, |
19322 | 19379 | "maxRetries": { |
19323 | 19380 | "type": "number", |
19324 | 19381 | "description": "This is the number of times we should try to gather the information from the user before we failover to the fail path. An example of this would be a user refusing to give their phone number for privacy reasons, and then going down a different path on account of this" |
|
19384 | 19441 | "background" |
19385 | 19442 | ] |
19386 | 19443 | }, |
| 19444 | + "hooks": { |
| 19445 | + "description": "This is a list of hooks for a task.\nEach hook is a list of tasks to run on a trigger (such as on start, on failure, etc).\nOnly Say is supported for now.", |
| 19446 | + "type": "array", |
| 19447 | + "items": { |
| 19448 | + "$ref": "#/components/schemas/Hook" |
| 19449 | + } |
| 19450 | + }, |
19387 | 19451 | "startTaskMessage": { |
19388 | 19452 | "type": "string" |
19389 | 19453 | }, |
|
0 commit comments