Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "4.49.0"
".": "4.50.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 946
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-902a5f08430969510f0127e6985bb631c0c928b80d14b6f75ec8b71bd7c397b5.yml
openapi_spec_hash: 515f3d122ed486daa3f9a90a252908c8
config_hash: 6f6c7ba66f40d55677e28da77c03ea96
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-619f2e4cc820442ae564e2345323abd65d5049b428c5780cf9f14c56002a2ba3.yml
openapi_spec_hash: 29de78582d8561745ff8f5f6c2474f1e
config_hash: 535b049bef73708a7530337b14fd0b84
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 4.50.0 (2026-02-26)

Full Changelog: [v4.49.0...v4.50.0](https://github.com/team-telnyx/telnyx-python/compare/v4.49.0...v4.50.0)

### Features

* Add text-to-speech WebSocket streaming OpenAPI spec ([7c4e709](https://github.com/team-telnyx/telnyx-python/commit/7c4e7096921ae6e07ede51b783711bbdcd9c088a))

## 4.49.0 (2026-02-25)

Full Changelog: [v4.48.0...v4.49.0](https://github.com/team-telnyx/telnyx-python/compare/v4.48.0...v4.49.0)
Expand Down
11 changes: 8 additions & 3 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3544,15 +3544,20 @@ Methods:
Types:

```python
from telnyx.types import Queue, QueueCreateResponse, QueueRetrieveResponse, QueueUpdateResponse
from telnyx.types import (
QueueCreateResponse,
QueueRetrieveResponse,
QueueUpdateResponse,
QueueListResponse,
)
```

Methods:

- <code title="post /queues">client.queues.<a href="./src/telnyx/resources/queues/queues.py">create</a>(\*\*<a href="src/telnyx/types/queue_create_params.py">params</a>) -> <a href="./src/telnyx/types/queue_create_response.py">QueueCreateResponse</a></code>
- <code title="get /queues/{queue_name}">client.queues.<a href="./src/telnyx/resources/queues/queues.py">retrieve</a>(queue_name) -> <a href="./src/telnyx/types/queue_retrieve_response.py">QueueRetrieveResponse</a></code>
- <code title="post /queues/{queue_name}">client.queues.<a href="./src/telnyx/resources/queues/queues.py">update</a>(queue_name, \*\*<a href="src/telnyx/types/queue_update_params.py">params</a>) -> <a href="./src/telnyx/types/queue_update_response.py">QueueUpdateResponse</a></code>
- <code title="get /queues">client.queues.<a href="./src/telnyx/resources/queues/queues.py">list</a>(\*\*<a href="src/telnyx/types/queue_list_params.py">params</a>) -> <a href="./src/telnyx/types/queue.py">SyncDefaultFlatPagination[Queue]</a></code>
- <code title="get /queues">client.queues.<a href="./src/telnyx/resources/queues/queues.py">list</a>(\*\*<a href="src/telnyx/types/queue_list_params.py">params</a>) -> <a href="./src/telnyx/types/queue_list_response.py">SyncDefaultFlatPagination[QueueListResponse]</a></code>
- <code title="delete /queues/{queue_name}">client.queues.<a href="./src/telnyx/resources/queues/queues.py">delete</a>(queue_name) -> None</code>

## Calls
Expand Down Expand Up @@ -4464,8 +4469,8 @@ from telnyx.types import TextToSpeechListVoicesResponse

Methods:

- <code title="post /text-to-speech/speech">client.text_to_speech.<a href="./src/telnyx/resources/text_to_speech.py">generate_speech</a>(\*\*<a href="src/telnyx/types/text_to_speech_generate_speech_params.py">params</a>) -> BinaryAPIResponse</code>
- <code title="get /text-to-speech/voices">client.text_to_speech.<a href="./src/telnyx/resources/text_to_speech.py">list_voices</a>(\*\*<a href="src/telnyx/types/text_to_speech_list_voices_params.py">params</a>) -> <a href="./src/telnyx/types/text_to_speech_list_voices_response.py">TextToSpeechListVoicesResponse</a></code>
- <code title="get /text-to-speech/speech">client.text_to_speech.<a href="./src/telnyx/resources/text_to_speech.py">stream</a>(\*\*<a href="src/telnyx/types/text_to_speech_stream_params.py">params</a>) -> None</code>

# UsageReports

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "telnyx"
version = "4.49.0"
version = "4.50.0"
description = "Telnyx API SDK for global Voice, SMS, MMS, WhatsApp, Fax, Wireless IoT, SIP Trunking, and Call Control."
dynamic = ["readme"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/telnyx/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "telnyx"
__version__ = "4.49.0" # x-release-please-version
__version__ = "4.50.0" # x-release-please-version
14 changes: 7 additions & 7 deletions src/telnyx/resources/queues/queues.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
async_to_streamed_response_wrapper,
)
from ...pagination import SyncDefaultFlatPagination, AsyncDefaultFlatPagination
from ...types.queue import Queue
from ..._base_client import AsyncPaginator, make_request_options
from ...types.queue_list_response import QueueListResponse
from ...types.queue_create_response import QueueCreateResponse
from ...types.queue_update_response import QueueUpdateResponse
from ...types.queue_retrieve_response import QueueRetrieveResponse
Expand Down Expand Up @@ -182,7 +182,7 @@ def list(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SyncDefaultFlatPagination[Queue]:
) -> SyncDefaultFlatPagination[QueueListResponse]:
"""
List all queues for the authenticated user.

Expand All @@ -201,7 +201,7 @@ def list(
"""
return self._get_api_list(
"/queues",
page=SyncDefaultFlatPagination[Queue],
page=SyncDefaultFlatPagination[QueueListResponse],
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
Expand All @@ -215,7 +215,7 @@ def list(
queue_list_params.QueueListParams,
),
),
model=Queue,
model=QueueListResponse,
)

def delete(
Expand Down Expand Up @@ -402,7 +402,7 @@ def list(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AsyncPaginator[Queue, AsyncDefaultFlatPagination[Queue]]:
) -> AsyncPaginator[QueueListResponse, AsyncDefaultFlatPagination[QueueListResponse]]:
"""
List all queues for the authenticated user.

Expand All @@ -421,7 +421,7 @@ def list(
"""
return self._get_api_list(
"/queues",
page=AsyncDefaultFlatPagination[Queue],
page=AsyncDefaultFlatPagination[QueueListResponse],
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
Expand All @@ -435,7 +435,7 @@ def list(
queue_list_params.QueueListParams,
),
),
model=Queue,
model=QueueListResponse,
)

async def delete(
Expand Down
Loading