diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 25e9535f..ea3d667e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.35.0" + ".": "4.36.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index a49775ca..20f60d86 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 39 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/retell%2Ftoddlzt-aa47014eca391b07848fe3f18c1c5081b6f5c214d64f470a65fb48a7211ec7d4.yml -openapi_spec_hash: b330cedf40c1ff1e0dc865e5227b0aa2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/retell%2Ftoddlzt-56f2d45e8cd73d9affbc60ffb07513d0ac62f19631854d3f376d066969f71bad.yml +openapi_spec_hash: ab9dac6b50dd93a8ef459e6e68660bac config_hash: f4bc63f2350a2a4988750b41a0737f9d diff --git a/CHANGELOG.md b/CHANGELOG.md index d253d3a8..b2753ed7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 4.36.0 (2025-06-16) + +Full Changelog: [v4.35.0...v4.36.0](https://github.com/RetellAI/retell-python-sdk/compare/v4.35.0...v4.36.0) + +### Features + +* **api:** api update ([0be9c03](https://github.com/RetellAI/retell-python-sdk/commit/0be9c032db665b2f7b092e0aa505ed57f6ed5da8)) + ## 4.35.0 (2025-06-13) Full Changelog: [v4.34.0...v4.35.0](https://github.com/RetellAI/retell-python-sdk/compare/v4.34.0...v4.35.0) diff --git a/pyproject.toml b/pyproject.toml index 22517bab..29d7bd61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "retell-sdk" -version = "4.35.0" +version = "4.36.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 f199cb41..473a22f9 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__ = "4.35.0" # x-release-please-version +__version__ = "4.36.0" # x-release-please-version diff --git a/src/retell/resources/agent.py b/src/retell/resources/agent.py index dcc91dee..fa4f044c 100644 --- a/src/retell/resources/agent.py +++ b/src/retell/resources/agent.py @@ -67,7 +67,6 @@ def create( denoising_mode: Literal["noise-cancellation", "noise-and-background-speech-cancellation"] | NotGiven = NOT_GIVEN, enable_backchannel: bool | NotGiven = NOT_GIVEN, - enable_transcription_formatting: bool | NotGiven = NOT_GIVEN, end_call_after_silence_ms: int | NotGiven = NOT_GIVEN, fallback_voice_ids: Optional[List[str]] | NotGiven = NOT_GIVEN, interruption_sensitivity: float | NotGiven = NOT_GIVEN, @@ -224,10 +223,6 @@ def create( when enabled tends to show up more in longer user utterances. If not set, agent will not backchannel. - enable_transcription_formatting: If set to true, will format transcription to number, date, email, etc. If set to - false, will return transcripts in raw words. If not set, default value of true - will apply. This currently only applies to English. - end_call_after_silence_ms: If users stay silent for a period after agent speech, end the call. The minimum value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min). @@ -357,7 +352,6 @@ def create( "boosted_keywords": boosted_keywords, "denoising_mode": denoising_mode, "enable_backchannel": enable_backchannel, - "enable_transcription_formatting": enable_transcription_formatting, "end_call_after_silence_ms": end_call_after_silence_ms, "fallback_voice_ids": fallback_voice_ids, "interruption_sensitivity": interruption_sensitivity, @@ -453,7 +447,6 @@ def update( denoising_mode: Literal["noise-cancellation", "noise-and-background-speech-cancellation"] | NotGiven = NOT_GIVEN, enable_backchannel: bool | NotGiven = NOT_GIVEN, - enable_transcription_formatting: bool | NotGiven = NOT_GIVEN, end_call_after_silence_ms: int | NotGiven = NOT_GIVEN, fallback_voice_ids: Optional[List[str]] | NotGiven = NOT_GIVEN, interruption_sensitivity: float | NotGiven = NOT_GIVEN, @@ -607,10 +600,6 @@ def update( when enabled tends to show up more in longer user utterances. If not set, agent will not backchannel. - enable_transcription_formatting: If set to true, will format transcription to number, date, email, etc. If set to - false, will return transcripts in raw words. If not set, default value of true - will apply. This currently only applies to English. - end_call_after_silence_ms: If users stay silent for a period after agent speech, end the call. The minimum value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min). @@ -747,7 +736,6 @@ def update( "boosted_keywords": boosted_keywords, "denoising_mode": denoising_mode, "enable_backchannel": enable_backchannel, - "enable_transcription_formatting": enable_transcription_formatting, "end_call_after_silence_ms": end_call_after_silence_ms, "fallback_voice_ids": fallback_voice_ids, "interruption_sensitivity": interruption_sensitivity, @@ -916,7 +904,6 @@ async def create( denoising_mode: Literal["noise-cancellation", "noise-and-background-speech-cancellation"] | NotGiven = NOT_GIVEN, enable_backchannel: bool | NotGiven = NOT_GIVEN, - enable_transcription_formatting: bool | NotGiven = NOT_GIVEN, end_call_after_silence_ms: int | NotGiven = NOT_GIVEN, fallback_voice_ids: Optional[List[str]] | NotGiven = NOT_GIVEN, interruption_sensitivity: float | NotGiven = NOT_GIVEN, @@ -1073,10 +1060,6 @@ async def create( when enabled tends to show up more in longer user utterances. If not set, agent will not backchannel. - enable_transcription_formatting: If set to true, will format transcription to number, date, email, etc. If set to - false, will return transcripts in raw words. If not set, default value of true - will apply. This currently only applies to English. - end_call_after_silence_ms: If users stay silent for a period after agent speech, end the call. The minimum value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min). @@ -1206,7 +1189,6 @@ async def create( "boosted_keywords": boosted_keywords, "denoising_mode": denoising_mode, "enable_backchannel": enable_backchannel, - "enable_transcription_formatting": enable_transcription_formatting, "end_call_after_silence_ms": end_call_after_silence_ms, "fallback_voice_ids": fallback_voice_ids, "interruption_sensitivity": interruption_sensitivity, @@ -1302,7 +1284,6 @@ async def update( denoising_mode: Literal["noise-cancellation", "noise-and-background-speech-cancellation"] | NotGiven = NOT_GIVEN, enable_backchannel: bool | NotGiven = NOT_GIVEN, - enable_transcription_formatting: bool | NotGiven = NOT_GIVEN, end_call_after_silence_ms: int | NotGiven = NOT_GIVEN, fallback_voice_ids: Optional[List[str]] | NotGiven = NOT_GIVEN, interruption_sensitivity: float | NotGiven = NOT_GIVEN, @@ -1456,10 +1437,6 @@ async def update( when enabled tends to show up more in longer user utterances. If not set, agent will not backchannel. - enable_transcription_formatting: If set to true, will format transcription to number, date, email, etc. If set to - false, will return transcripts in raw words. If not set, default value of true - will apply. This currently only applies to English. - end_call_after_silence_ms: If users stay silent for a period after agent speech, end the call. The minimum value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min). @@ -1596,7 +1573,6 @@ async def update( "boosted_keywords": boosted_keywords, "denoising_mode": denoising_mode, "enable_backchannel": enable_backchannel, - "enable_transcription_formatting": enable_transcription_formatting, "end_call_after_silence_ms": end_call_after_silence_ms, "fallback_voice_ids": fallback_voice_ids, "interruption_sensitivity": interruption_sensitivity, diff --git a/src/retell/types/agent_create_params.py b/src/retell/types/agent_create_params.py index e28fa8c2..7b536200 100644 --- a/src/retell/types/agent_create_params.py +++ b/src/retell/types/agent_create_params.py @@ -130,13 +130,6 @@ class AgentCreateParams(TypedDict, total=False): will not backchannel. """ - enable_transcription_formatting: bool - """If set to true, will format transcription to number, date, email, etc. - - If set to false, will return transcripts in raw words. If not set, default value - of true will apply. This currently only applies to English. - """ - end_call_after_silence_ms: int """If users stay silent for a period after agent speech, end the call. diff --git a/src/retell/types/agent_response.py b/src/retell/types/agent_response.py index 1b9a0db8..c7f4080e 100644 --- a/src/retell/types/agent_response.py +++ b/src/retell/types/agent_response.py @@ -299,13 +299,6 @@ class AgentResponse(BaseModel): will not backchannel. """ - enable_transcription_formatting: Optional[bool] = None - """If set to true, will format transcription to number, date, email, etc. - - If set to false, will return transcripts in raw words. If not set, default value - of true will apply. This currently only applies to English. - """ - end_call_after_silence_ms: Optional[int] = None """If users stay silent for a period after agent speech, end the call. diff --git a/src/retell/types/agent_update_params.py b/src/retell/types/agent_update_params.py index be9cf480..2898ab1a 100644 --- a/src/retell/types/agent_update_params.py +++ b/src/retell/types/agent_update_params.py @@ -122,13 +122,6 @@ class AgentUpdateParams(TypedDict, total=False): will not backchannel. """ - enable_transcription_formatting: bool - """If set to true, will format transcription to number, date, email, etc. - - If set to false, will return transcripts in raw words. If not set, default value - of true will apply. This currently only applies to English. - """ - end_call_after_silence_ms: int """If users stay silent for a period after agent speech, end the call. diff --git a/tests/api_resources/test_agent.py b/tests/api_resources/test_agent.py index f2823319..896161a3 100644 --- a/tests/api_resources/test_agent.py +++ b/tests/api_resources/test_agent.py @@ -51,7 +51,6 @@ def test_method_create_with_all_params(self, client: Retell) -> None: boosted_keywords=["retell", "kroger"], denoising_mode="noise-cancellation", enable_backchannel=True, - enable_transcription_formatting=True, end_call_after_silence_ms=600000, fallback_voice_ids=["openai-Alloy", "deepgram-Angus"], interruption_sensitivity=1, @@ -202,7 +201,6 @@ def test_method_update_with_all_params(self, client: Retell) -> None: boosted_keywords=["retell", "kroger"], denoising_mode="noise-cancellation", enable_backchannel=True, - enable_transcription_formatting=True, end_call_after_silence_ms=600000, fallback_voice_ids=["openai-Alloy", "deepgram-Angus"], interruption_sensitivity=1, @@ -425,7 +423,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncRetell) -> boosted_keywords=["retell", "kroger"], denoising_mode="noise-cancellation", enable_backchannel=True, - enable_transcription_formatting=True, end_call_after_silence_ms=600000, fallback_voice_ids=["openai-Alloy", "deepgram-Angus"], interruption_sensitivity=1, @@ -576,7 +573,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncRetell) -> boosted_keywords=["retell", "kroger"], denoising_mode="noise-cancellation", enable_backchannel=True, - enable_transcription_formatting=True, end_call_after_silence_ms=600000, fallback_voice_ids=["openai-Alloy", "deepgram-Angus"], interruption_sensitivity=1,