From 29997e9f9be497c33b15ea83750b2cad4227ef0f Mon Sep 17 00:00:00 2001 From: 650elx Date: Thu, 14 Mar 2024 11:33:30 +0100 Subject: [PATCH] feat(Voice): DTO adapted to the facade changes --- sinch/domains/voice/models/callouts/requests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sinch/domains/voice/models/callouts/requests.py b/sinch/domains/voice/models/callouts/requests.py index 855a9271..2efe21be 100644 --- a/sinch/domains/voice/models/callouts/requests.py +++ b/sinch/domains/voice/models/callouts/requests.py @@ -1,4 +1,5 @@ from dataclasses import dataclass +from typing import Literal from sinch.core.models.base_model import SinchRequestBaseModel from sinch.domains.voice.models import Destination, ConferenceDTMFOptions @@ -34,7 +35,7 @@ class ConferenceVoiceCalloutRequest(SinchRequestBaseModel): greeting: str mohClass: str custom: str - domain: str + domain: Literal["pstn", "mxp"] @dataclass