Skip to content

Commit

Permalink
feat(Voice): rename model
Browse files Browse the repository at this point in the history
  • Loading branch information
650elx committed Mar 13, 2024
1 parent 6afa46f commit 324ddfb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sinch/domains/voice/models/svaml/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class AnsweringMachineDetection(TypedDict):
enabled: bool


class CallHeaders(TypedDict):
class CallHeader(TypedDict):
key: str
value: str

Expand Down Expand Up @@ -54,7 +54,7 @@ def as_dict(self):
class ConnectMxpAction(SinchRequestBaseModel):
name: str = "connectMxp"
destination: Optional[Destination] = None
call_headers: Optional[List[CallHeaders]] = None
call_headers: Optional[List[CallHeader]] = None

def as_dict(self):
payload = super().as_dict()
Expand Down Expand Up @@ -90,7 +90,7 @@ class ConnectSipAction(SinchRequestBaseModel):
cli: Optional[str] = None
transport: Optional[str] = None
suppress_callbacks: Optional[bool] = None
call_headers: Optional[List[CallHeaders]] = None
call_headers: Optional[List[CallHeader]] = None
moh: Optional[str] = None

def as_dict(self):
Expand Down

0 comments on commit 324ddfb

Please sign in to comment.