From 29e1c4d6e25d0a822300c080226d435b36dce9df Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 28 May 2026 22:39:43 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/retell/resources/phone_number.py | 12 ++++++++---- src/retell/types/phone_number_create_params.py | 3 ++- src/retell/types/phone_number_response.py | 3 ++- src/retell/types/phone_number_update_params.py | 3 ++- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.stats.yml b/.stats.yml index af1a94f5..0e1d31ea 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 78 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/retell/retell-333e5bbb4a130497aa1d6aa11ecc36526bf9a519ac72ec8c8e11b30bae0f37e2.yml -openapi_spec_hash: 82a6ba7edd83f02038df58abfa4a30bf +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/retell/retell-0c277eae3916e8ab192e9b37743695569c71e0a3f0ebae607030d79db73a65ea.yml +openapi_spec_hash: 18ce2ce5e3ecffc21a95f1bc21c1c82c config_hash: c623d861855875b89ec85b087daf7f22 diff --git a/src/retell/resources/phone_number.py b/src/retell/resources/phone_number.py index 5248e04a..d2022c46 100644 --- a/src/retell/resources/phone_number.py +++ b/src/retell/resources/phone_number.py @@ -90,7 +90,8 @@ def create( left empty, will default to "US". fallback_number: Enterprise only. Phone number to transfer inbound calls to when organization is - in outage mode. Can be either a Retell phone number or an external number. + in outage mode or when an inbound call cannot get a concurrency slot before the + fallback timeout. Can be either a Retell phone number or an external number. Cannot be the same as this phone number, and cannot be a number that already has its own fallback configured (prevents nested forwarding). @@ -226,7 +227,8 @@ def update( number. fallback_number: Enterprise only. Phone number to transfer inbound calls to when organization is - in outage mode. Can be either a Retell phone number or an external number. Set + in outage mode or when an inbound call cannot get a concurrency slot before the + fallback timeout. Can be either a Retell phone number or an external number. Set to null to remove. Cannot be the same as this phone number, and cannot be a number that already has its own fallback configured (prevents nested forwarding). @@ -543,7 +545,8 @@ async def create( left empty, will default to "US". fallback_number: Enterprise only. Phone number to transfer inbound calls to when organization is - in outage mode. Can be either a Retell phone number or an external number. + in outage mode or when an inbound call cannot get a concurrency slot before the + fallback timeout. Can be either a Retell phone number or an external number. Cannot be the same as this phone number, and cannot be a number that already has its own fallback configured (prevents nested forwarding). @@ -679,7 +682,8 @@ async def update( number. fallback_number: Enterprise only. Phone number to transfer inbound calls to when organization is - in outage mode. Can be either a Retell phone number or an external number. Set + in outage mode or when an inbound call cannot get a concurrency slot before the + fallback timeout. Can be either a Retell phone number or an external number. Set to null to remove. Cannot be the same as this phone number, and cannot be a number that already has its own fallback configured (prevents nested forwarding). diff --git a/src/retell/types/phone_number_create_params.py b/src/retell/types/phone_number_create_params.py index 1d90ec08..3beaa387 100644 --- a/src/retell/types/phone_number_create_params.py +++ b/src/retell/types/phone_number_create_params.py @@ -38,7 +38,8 @@ class PhoneNumberCreateParams(TypedDict, total=False): fallback_number: Optional[str] """Enterprise only. - Phone number to transfer inbound calls to when organization is in outage mode. + Phone number to transfer inbound calls to when organization is in outage mode or + when an inbound call cannot get a concurrency slot before the fallback timeout. Can be either a Retell phone number or an external number. Cannot be the same as this phone number, and cannot be a number that already has its own fallback configured (prevents nested forwarding). diff --git a/src/retell/types/phone_number_response.py b/src/retell/types/phone_number_response.py index 046f7d41..a2cd41dd 100644 --- a/src/retell/types/phone_number_response.py +++ b/src/retell/types/phone_number_response.py @@ -158,7 +158,8 @@ class PhoneNumberResponse(BaseModel): fallback_number: Optional[str] = None """Enterprise only. - Phone number to transfer inbound calls to when organization is in outage mode. + Phone number to transfer inbound calls to when organization is in outage mode or + when an inbound call cannot get a concurrency slot before the fallback timeout. Can be either a Retell phone number or an external number. Cannot be the same as this phone number, and cannot be a number that already has its own fallback configured (prevents nested forwarding). diff --git a/src/retell/types/phone_number_update_params.py b/src/retell/types/phone_number_update_params.py index 8c862fe5..2d1ac0d5 100644 --- a/src/retell/types/phone_number_update_params.py +++ b/src/retell/types/phone_number_update_params.py @@ -38,7 +38,8 @@ class PhoneNumberUpdateParams(TypedDict, total=False): fallback_number: Optional[str] """Enterprise only. - Phone number to transfer inbound calls to when organization is in outage mode. + Phone number to transfer inbound calls to when organization is in outage mode or + when an inbound call cannot get a concurrency slot before the fallback timeout. Can be either a Retell phone number or an external number. Set to null to remove. Cannot be the same as this phone number, and cannot be a number that already has its own fallback configured (prevents nested forwarding). From 3f93172e93cf73e6e0602ecd26233647c6907f6d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 28 May 2026 22:40:06 +0000 Subject: [PATCH 2/2] release: 5.43.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/retell/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 69ec944d..e30834d7 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.42.0" + ".": "5.43.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 7532d114..e37f60a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 5.43.0 (2026-05-28) + +Full Changelog: [v5.42.0...v5.43.0](https://github.com/RetellAI/retell-python-sdk/compare/v5.42.0...v5.43.0) + +### Features + +* **api:** api update ([29e1c4d](https://github.com/RetellAI/retell-python-sdk/commit/29e1c4d6e25d0a822300c080226d435b36dce9df)) + ## 5.42.0 (2026-05-28) Full Changelog: [v5.41.0...v5.42.0](https://github.com/RetellAI/retell-python-sdk/compare/v5.41.0...v5.42.0) diff --git a/pyproject.toml b/pyproject.toml index a02b6636..0e3f0751 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "retell-sdk" -version = "5.42.0" +version = "5.43.0" description = "The official Python library for the retell API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/retell/_version.py b/src/retell/_version.py index 07c0adaa..a74ec2af 100644 --- a/src/retell/_version.py +++ b/src/retell/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "retell" -__version__ = "5.42.0" # x-release-please-version +__version__ = "5.43.0" # x-release-please-version