From b3acc6b492481b1a7e582bfe06e64f3f3c42ef6a Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 5 Mar 2024 02:32:15 +0000 Subject: [PATCH] SDK regeneration --- pyproject.toml | 2 +- src/elevenlabs/core/client_wrapper.py | 2 +- src/elevenlabs/speech_to_speech/client.py | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5ff6062..b4e9d06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "elevenlabs" -version = "0.0.37" +version = "0.0.38" description = "" readme = "README.md" authors = [] diff --git a/src/elevenlabs/core/client_wrapper.py b/src/elevenlabs/core/client_wrapper.py index 3cae865..19794f8 100644 --- a/src/elevenlabs/core/client_wrapper.py +++ b/src/elevenlabs/core/client_wrapper.py @@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { "X-Fern-Language": "Python", "X-Fern-SDK-Name": "elevenlabs", - "X-Fern-SDK-Version": "0.0.37", + "X-Fern-SDK-Version": "0.0.38", } if self._api_key is not None: headers["xi-api-key"] = self._api_key diff --git a/src/elevenlabs/speech_to_speech/client.py b/src/elevenlabs/speech_to_speech/client.py index 593572b..aae2b24 100644 --- a/src/elevenlabs/speech_to_speech/client.py +++ b/src/elevenlabs/speech_to_speech/client.py @@ -26,7 +26,7 @@ class SpeechToSpeechClient: def __init__(self, *, client_wrapper: SyncClientWrapper): self._client_wrapper = client_wrapper - def speech_to_speech( + def convert( self, voice_id: str, *, @@ -107,7 +107,7 @@ def speech_to_speech( raise ApiError(status_code=_response.status_code, body=_response.text) raise ApiError(status_code=_response.status_code, body=_response_json) - def speech_to_speech_streaming( + def convert_as_stream( self, voice_id: str, *, @@ -192,7 +192,7 @@ class AsyncSpeechToSpeechClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): self._client_wrapper = client_wrapper - async def speech_to_speech( + async def convert( self, voice_id: str, *, @@ -273,7 +273,7 @@ async def speech_to_speech( raise ApiError(status_code=_response.status_code, body=_response.text) raise ApiError(status_code=_response.status_code, body=_response_json) - async def speech_to_speech_streaming( + async def convert_as_stream( self, voice_id: str, *,