add outbound synthesizer
This commit is contained in:
parent
d7f41bfe17
commit
0a1de6c3ee
1 changed files with 7 additions and 1 deletions
|
|
@ -1,15 +1,21 @@
|
|||
from typing import Optional
|
||||
from vocode.models.model import BaseModel
|
||||
from vocode.models.agent import AgentConfig
|
||||
from vocode.models.synthesizer import SynthesizerConfig
|
||||
|
||||
|
||||
class CallEntity(BaseModel):
|
||||
phone_number: str
|
||||
|
||||
|
||||
class CreateInboundCall(BaseModel):
|
||||
agent_config: AgentConfig
|
||||
twilio_sid: str
|
||||
|
||||
|
||||
class CreateOutboundCall(BaseModel):
|
||||
recipient: CallEntity
|
||||
caller: CallEntity
|
||||
agent_config: AgentConfig
|
||||
agent_config: AgentConfig
|
||||
synthesizer_config: Optional[SynthesizerConfig] = None
|
||||
# TODO add IVR/etc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue