|
11541 | 11541 | "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 | 11542 | "example": false |
11543 | 11543 | }, |
| 11544 | + "pciEnabled": { |
| 11545 | + "type": "boolean", |
| 11546 | + "description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)", |
| 11547 | + "example": false |
| 11548 | + }, |
11544 | 11549 | "clientMessages": { |
11545 | 11550 | "type": "array", |
11546 | 11551 | "enum": [ |
|
12111 | 12116 | "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 | 12117 | "example": false |
12113 | 12118 | }, |
| 12119 | + "pciEnabled": { |
| 12120 | + "type": "boolean", |
| 12121 | + "description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)", |
| 12122 | + "example": false |
| 12123 | + }, |
12114 | 12124 | "clientMessages": { |
12115 | 12125 | "type": "array", |
12116 | 12126 | "enum": [ |
|
13727 | 13737 | "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 | 13738 | "example": false |
13729 | 13739 | }, |
| 13740 | + "pciEnabled": { |
| 13741 | + "type": "boolean", |
| 13742 | + "description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)", |
| 13743 | + "example": false |
| 13744 | + }, |
13730 | 13745 | "clientMessages": { |
13731 | 13746 | "type": "array", |
13732 | 13747 | "enum": [ |
|
14321 | 14336 | "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 | 14337 | "example": false |
14323 | 14338 | }, |
| 14339 | + "pciEnabled": { |
| 14340 | + "type": "boolean", |
| 14341 | + "description": "This field indicates that this assistant is dealing with the card holder data (and needs PCI compliance)", |
| 14342 | + "example": false |
| 14343 | + }, |
14324 | 14344 | "clientMessages": { |
14325 | 14345 | "type": "array", |
14326 | 14346 | "enum": [ |
|
19299 | 19319 | "name" |
19300 | 19320 | ] |
19301 | 19321 | }, |
| 19322 | + "Hook": { |
| 19323 | + "type": "object", |
| 19324 | + "properties": { |
| 19325 | + "on": { |
| 19326 | + "type": "string", |
| 19327 | + "enum": [ |
| 19328 | + "task.start", |
| 19329 | + "task.output.confirmation", |
| 19330 | + "task.delayed" |
| 19331 | + ], |
| 19332 | + "maxLength": 80 |
| 19333 | + }, |
| 19334 | + "do": { |
| 19335 | + "type": "array", |
| 19336 | + "items": { |
| 19337 | + "$ref": "#/components/schemas/Say" |
| 19338 | + } |
| 19339 | + } |
| 19340 | + }, |
| 19341 | + "required": [ |
| 19342 | + "on", |
| 19343 | + "do" |
| 19344 | + ] |
| 19345 | + }, |
19302 | 19346 | "Gather": { |
19303 | 19347 | "type": "object", |
19304 | 19348 | "properties": { |
|
19319 | 19363 | "type": "boolean", |
19320 | 19364 | "description": "This is whether or not the workflow should read back the gathered data to the user, and ask about its correctness." |
19321 | 19365 | }, |
| 19366 | + "hooks": { |
| 19367 | + "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.", |
| 19368 | + "type": "array", |
| 19369 | + "items": { |
| 19370 | + "$ref": "#/components/schemas/Hook" |
| 19371 | + } |
| 19372 | + }, |
19322 | 19373 | "maxRetries": { |
19323 | 19374 | "type": "number", |
19324 | 19375 | "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 | 19435 | "background" |
19385 | 19436 | ] |
19386 | 19437 | }, |
| 19438 | + "hooks": { |
| 19439 | + "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.", |
| 19440 | + "type": "array", |
| 19441 | + "items": { |
| 19442 | + "$ref": "#/components/schemas/Hook" |
| 19443 | + } |
| 19444 | + }, |
19387 | 19445 | "startTaskMessage": { |
19388 | 19446 | "type": "string" |
19389 | 19447 | }, |
|
0 commit comments