Skip to content

Commit e9b8516

Browse files
committed
Allow voicemail detection to be disabled with 'off' option
1 parent 37300c0 commit e9b8516

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

api.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11118,12 +11118,14 @@ export interface CreateAssistantDTO {
1111811118
* These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].
1111911119
* This uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached.
1112011120
* You can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not.
11121+
* Set to 'off' to completely disable voicemail detection.
1112111122
*/
1112211123
voicemailDetection?:
1112311124
| GoogleVoicemailDetectionPlan
1112411125
| OpenAIVoicemailDetectionPlan
1112511126
| TwilioVoicemailDetectionPlan
11126-
| VapiVoicemailDetectionPlan;
11127+
| VapiVoicemailDetectionPlan
11128+
| 'off';
1112711129
/**
1112811130
* These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started. You can check the shape of the messages in ClientMessage schema.
1112911131
* @example ["conversation-update","function-call","hang","model-output","speech-update","status-update","transfer-update","transcript","tool-calls","user-interrupted","voice-input","workflow.node.started"]
@@ -11543,12 +11545,14 @@ export interface AssistantOverrides {
1154311545
* These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].
1154411546
* This uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached.
1154511547
* You can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not.
11548+
* Set to 'off' to completely disable voicemail detection.
1154611549
*/
1154711550
voicemailDetection?:
1154811551
| GoogleVoicemailDetectionPlan
1154911552
| OpenAIVoicemailDetectionPlan
1155011553
| TwilioVoicemailDetectionPlan
11551-
| VapiVoicemailDetectionPlan;
11554+
| VapiVoicemailDetectionPlan
11555+
| 'off';
1155211556
/**
1155311557
* These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started. You can check the shape of the messages in ClientMessage schema.
1155411558
* @example ["conversation-update","function-call","hang","model-output","speech-update","status-update","transfer-update","transcript","tool-calls","user-interrupted","voice-input","workflow.node.started"]
@@ -14419,12 +14423,14 @@ export interface Assistant {
1441914423
* These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].
1442014424
* This uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached.
1442114425
* You can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not.
14426+
* Set to 'off' to completely disable voicemail detection.
1442214427
*/
1442314428
voicemailDetection?:
1442414429
| GoogleVoicemailDetectionPlan
1442514430
| OpenAIVoicemailDetectionPlan
1442614431
| TwilioVoicemailDetectionPlan
14427-
| VapiVoicemailDetectionPlan;
14432+
| VapiVoicemailDetectionPlan
14433+
| 'off';
1442814434
/**
1442914435
* These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started. You can check the shape of the messages in ClientMessage schema.
1443014436
* @example ["conversation-update","function-call","hang","model-output","speech-update","status-update","transfer-update","transcript","tool-calls","user-interrupted","voice-input","workflow.node.started"]
@@ -14869,12 +14875,14 @@ export interface UpdateAssistantDTO {
1486914875
* These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].
1487014876
* This uses Twilio's built-in detection while the VoicemailTool relies on the model to detect if a voicemail was reached.
1487114877
* You can use neither of them, one of them, or both of them. By default, Twilio built-in detection is enabled while VoicemailTool is not.
14878+
* Set to 'off' to completely disable voicemail detection.
1487214879
*/
1487314880
voicemailDetection?:
1487414881
| GoogleVoicemailDetectionPlan
1487514882
| OpenAIVoicemailDetectionPlan
1487614883
| TwilioVoicemailDetectionPlan
14877-
| VapiVoicemailDetectionPlan;
14884+
| VapiVoicemailDetectionPlan
14885+
| 'off';
1487814886
/**
1487914887
* These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started. You can check the shape of the messages in ClientMessage schema.
1488014888
* @example ["conversation-update","function-call","hang","model-output","speech-update","status-update","transfer-update","transcript","tool-calls","user-interrupted","voice-input","workflow.node.started"]

0 commit comments

Comments
 (0)