Skip to content

Commit 731909a

Browse files
committed
Release 1.4.1
1 parent ee85522 commit 731909a

22 files changed

+79
-20
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "vapi_server_sdk"
33

44
[tool.poetry]
55
name = "vapi_server_sdk"
6-
version = "1.3.0"
6+
version = "1.4.1"
77
description = ""
88
readme = "README.md"
99
authors = []

src/vapi/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ def __init__(
2020

2121
def get_headers(self) -> typing.Dict[str, str]:
2222
headers: typing.Dict[str, str] = {
23-
"User-Agent": "vapi_server_sdk/1.3.0",
23+
"User-Agent": "vapi_server_sdk/1.4.1",
2424
"X-Fern-Language": "Python",
2525
"X-Fern-SDK-Name": "vapi_server_sdk",
26-
"X-Fern-SDK-Version": "1.3.0",
26+
"X-Fern-SDK-Version": "1.4.1",
2727
}
2828
headers["Authorization"] = f"Bearer {self._get_token()}"
2929
return headers

src/vapi/types/byo_phone_number.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from .byo_phone_number_fallback_destination import ByoPhoneNumberFallbackDestination
77
from ..core.serialization import FieldMetadata
88
import pydantic
9+
from .phone_number_hook_call_ringing import PhoneNumberHookCallRinging
910
import datetime as dt
1011
from .byo_phone_number_status import ByoPhoneNumberStatus
1112
from .server import Server
@@ -25,7 +26,7 @@ class ByoPhoneNumber(UncheckedBaseModel):
2526
If this is not set and above conditions are met, the inbound call is hung up with an error message.
2627
"""
2728

28-
hooks: typing.Optional[typing.List[typing.Optional[typing.Any]]] = pydantic.Field(default=None)
29+
hooks: typing.Optional[typing.List[PhoneNumberHookCallRinging]] = pydantic.Field(default=None)
2930
"""
3031
This is the hooks that will be used for incoming calls to this phone number.
3132
"""

src/vapi/types/create_byo_phone_number_dto.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from .create_byo_phone_number_dto_fallback_destination import CreateByoPhoneNumberDtoFallbackDestination
77
from ..core.serialization import FieldMetadata
88
import pydantic
9+
from .phone_number_hook_call_ringing import PhoneNumberHookCallRinging
910
from .server import Server
1011
from ..core.pydantic_utilities import IS_PYDANTIC_V2
1112

@@ -23,7 +24,7 @@ class CreateByoPhoneNumberDto(UncheckedBaseModel):
2324
If this is not set and above conditions are met, the inbound call is hung up with an error message.
2425
"""
2526

26-
hooks: typing.Optional[typing.List[typing.Optional[typing.Any]]] = pydantic.Field(default=None)
27+
hooks: typing.Optional[typing.List[PhoneNumberHookCallRinging]] = pydantic.Field(default=None)
2728
"""
2829
This is the hooks that will be used for incoming calls to this phone number.
2930
"""

src/vapi/types/create_telnyx_phone_number_dto.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from .create_telnyx_phone_number_dto_fallback_destination import CreateTelnyxPhoneNumberDtoFallbackDestination
77
from ..core.serialization import FieldMetadata
88
import pydantic
9+
from .phone_number_hook_call_ringing import PhoneNumberHookCallRinging
910
from .server import Server
1011
from ..core.pydantic_utilities import IS_PYDANTIC_V2
1112

@@ -23,7 +24,7 @@ class CreateTelnyxPhoneNumberDto(UncheckedBaseModel):
2324
If this is not set and above conditions are met, the inbound call is hung up with an error message.
2425
"""
2526

26-
hooks: typing.Optional[typing.List[typing.Optional[typing.Any]]] = pydantic.Field(default=None)
27+
hooks: typing.Optional[typing.List[PhoneNumberHookCallRinging]] = pydantic.Field(default=None)
2728
"""
2829
This is the hooks that will be used for incoming calls to this phone number.
2930
"""

src/vapi/types/create_twilio_phone_number_dto.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from .create_twilio_phone_number_dto_fallback_destination import CreateTwilioPhoneNumberDtoFallbackDestination
77
from ..core.serialization import FieldMetadata
88
import pydantic
9+
from .phone_number_hook_call_ringing import PhoneNumberHookCallRinging
910
from .server import Server
1011
from ..core.pydantic_utilities import IS_PYDANTIC_V2
1112

@@ -23,7 +24,7 @@ class CreateTwilioPhoneNumberDto(UncheckedBaseModel):
2324
If this is not set and above conditions are met, the inbound call is hung up with an error message.
2425
"""
2526

26-
hooks: typing.Optional[typing.List[typing.Optional[typing.Any]]] = pydantic.Field(default=None)
27+
hooks: typing.Optional[typing.List[PhoneNumberHookCallRinging]] = pydantic.Field(default=None)
2728
"""
2829
This is the hooks that will be used for incoming calls to this phone number.
2930
"""

src/vapi/types/create_vapi_phone_number_dto.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from .create_vapi_phone_number_dto_fallback_destination import CreateVapiPhoneNumberDtoFallbackDestination
77
from ..core.serialization import FieldMetadata
88
import pydantic
9+
from .phone_number_hook_call_ringing import PhoneNumberHookCallRinging
910
from .sip_authentication import SipAuthentication
1011
from .server import Server
1112
from ..core.pydantic_utilities import IS_PYDANTIC_V2
@@ -24,7 +25,7 @@ class CreateVapiPhoneNumberDto(UncheckedBaseModel):
2425
If this is not set and above conditions are met, the inbound call is hung up with an error message.
2526
"""
2627

27-
hooks: typing.Optional[typing.List[typing.Optional[typing.Any]]] = pydantic.Field(default=None)
28+
hooks: typing.Optional[typing.List[PhoneNumberHookCallRinging]] = pydantic.Field(default=None)
2829
"""
2930
This is the hooks that will be used for incoming calls to this phone number.
3031
"""

src/vapi/types/create_vonage_phone_number_dto.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from .create_vonage_phone_number_dto_fallback_destination import CreateVonagePhoneNumberDtoFallbackDestination
77
from ..core.serialization import FieldMetadata
88
import pydantic
9+
from .phone_number_hook_call_ringing import PhoneNumberHookCallRinging
910
from .server import Server
1011
from ..core.pydantic_utilities import IS_PYDANTIC_V2
1112

@@ -23,7 +24,7 @@ class CreateVonagePhoneNumberDto(UncheckedBaseModel):
2324
If this is not set and above conditions are met, the inbound call is hung up with an error message.
2425
"""
2526

26-
hooks: typing.Optional[typing.List[typing.Optional[typing.Any]]] = pydantic.Field(default=None)
27+
hooks: typing.Optional[typing.List[PhoneNumberHookCallRinging]] = pydantic.Field(default=None)
2728
"""
2829
This is the hooks that will be used for incoming calls to this phone number.
2930
"""

src/vapi/types/import_twilio_phone_number_dto.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from .import_twilio_phone_number_dto_fallback_destination import ImportTwilioPhoneNumberDtoFallbackDestination
77
from ..core.serialization import FieldMetadata
88
import pydantic
9+
from .phone_number_hook_call_ringing import PhoneNumberHookCallRinging
910
from .server import Server
1011
from ..core.pydantic_utilities import IS_PYDANTIC_V2
1112

@@ -23,7 +24,7 @@ class ImportTwilioPhoneNumberDto(UncheckedBaseModel):
2324
If this is not set and above conditions are met, the inbound call is hung up with an error message.
2425
"""
2526

26-
hooks: typing.Optional[typing.List[typing.Optional[typing.Any]]] = pydantic.Field(default=None)
27+
hooks: typing.Optional[typing.List[PhoneNumberHookCallRinging]] = pydantic.Field(default=None)
2728
"""
2829
This is the hooks that will be used for incoming calls to this phone number.
2930
"""

src/vapi/types/import_vonage_phone_number_dto.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from .import_vonage_phone_number_dto_fallback_destination import ImportVonagePhoneNumberDtoFallbackDestination
77
from ..core.serialization import FieldMetadata
88
import pydantic
9+
from .phone_number_hook_call_ringing import PhoneNumberHookCallRinging
910
from .server import Server
1011
from ..core.pydantic_utilities import IS_PYDANTIC_V2
1112

@@ -23,7 +24,7 @@ class ImportVonagePhoneNumberDto(UncheckedBaseModel):
2324
If this is not set and above conditions are met, the inbound call is hung up with an error message.
2425
"""
2526

26-
hooks: typing.Optional[typing.List[typing.Optional[typing.Any]]] = pydantic.Field(default=None)
27+
hooks: typing.Optional[typing.List[PhoneNumberHookCallRinging]] = pydantic.Field(default=None)
2728
"""
2829
This is the hooks that will be used for incoming calls to this phone number.
2930
"""

0 commit comments

Comments
 (0)