Merge pull request #6 from vocodedev/kian/outbound-synthesizer

add outbound synthesizer
This commit is contained in:
Ajay Raj 2023-03-05 18:20:30 -08:00 • committed by GitHub
commit b7abb1deb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,21 @@
from typing import Optional
from vocode.models.model import BaseModel from vocode.models.model import BaseModel
from vocode.models.agent import AgentConfig from vocode.models.agent import AgentConfig
from vocode.models.synthesizer import SynthesizerConfig
class CallEntity(BaseModel): class CallEntity(BaseModel):
phone_number: str phone_number: str
class CreateInboundCall(BaseModel): class CreateInboundCall(BaseModel):
agent_config: AgentConfig agent_config: AgentConfig
twilio_sid: str twilio_sid: str
class CreateOutboundCall(BaseModel): class CreateOutboundCall(BaseModel):
recipient: CallEntity recipient: CallEntity
caller: CallEntity caller: CallEntity
agent_config: AgentConfig agent_config: AgentConfig
synthesizer_config: Optional[SynthesizerConfig] = None
# TODO add IVR/etc. # TODO add IVR/etc.