Skip to content
Open
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
40 changes: 0 additions & 40 deletions .github/workflows/release-pr-guard.yml

This file was deleted.

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.167.0"
".": "4.168.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1100
configured_endpoints: 1096
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [4.168.0](https://github.com/team-telnyx/telnyx-python/compare/v4.167.0...v4.168.0) (2026-07-07)


### Bug Fixes

* **release:** ghost guard also verifies the GitHub Release exists ([#393](https://github.com/team-telnyx/telnyx-python/issues/393)) ([81acd42](https://github.com/team-telnyx/telnyx-python/commit/81acd426b7b036b30144949f58ce672698624854))
* **release:** scan next's commits in release-pr (stop depending on master hotfixes) ([#390](https://github.com/team-telnyx/telnyx-python/issues/390)) ([73db53e](https://github.com/team-telnyx/telnyx-python/commit/73db53e071b2a1c0b014a1504882b33d6bd55b3d))

## 4.167.0 (2026-07-03)

Full Changelog: [v4.166.0...v4.167.0](https://github.com/team-telnyx/telnyx-python/compare/v4.166.0...v4.167.0)
Expand Down
11 changes: 1 addition & 10 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -569,17 +569,14 @@ Types:
from telnyx.types import (
ModelMetadata,
ModelsResponse,
AICreateResponseDeprecatedResponse,
AIRetrieveConversationHistoriesResponse,
AISummarizeResponse,
)
```

Methods:

- <code title="post /ai/responses">client.ai.<a href="./src/telnyx/resources/ai/ai.py">create_response_deprecated</a>(\*\*<a href="src/telnyx/types/ai_create_response_deprecated_params.py">params</a>) -> <a href="./src/telnyx/types/ai_create_response_deprecated_response.py">AICreateResponseDeprecatedResponse</a></code>
- <code title="get /ai/conversation_histories">client.ai.<a href="./src/telnyx/resources/ai/ai.py">retrieve_conversation_histories</a>(\*\*<a href="src/telnyx/types/ai_retrieve_conversation_histories_params.py">params</a>) -> <a href="./src/telnyx/types/ai_retrieve_conversation_histories_response.py">AIRetrieveConversationHistoriesResponse</a></code>
- <code title="get /ai/models">client.ai.<a href="./src/telnyx/resources/ai/ai.py">retrieve_models</a>() -> <a href="./src/telnyx/types/models_response.py">ModelsResponse</a></code>
- <code title="post /ai/summarize">client.ai.<a href="./src/telnyx/resources/ai/ai.py">summarize</a>(\*\*<a href="src/telnyx/types/ai_summarize_params.py">params</a>) -> <a href="./src/telnyx/types/ai_summarize_response.py">AISummarizeResponse</a></code>

## Assistants
Expand Down Expand Up @@ -830,13 +827,9 @@ Methods:
Types:

```python
from telnyx.types.ai import BucketIDs, ChatCompletionRequest, ChatCreateCompletionResponse
from telnyx.types.ai import BucketIDs, ChatCompletionRequest
```

Methods:

- <code title="post /ai/chat/completions">client.ai.chat.<a href="./src/telnyx/resources/ai/chat.py">create_completion</a>(\*\*<a href="src/telnyx/types/ai/chat_create_completion_params.py">params</a>) -> <a href="./src/telnyx/types/ai/chat_create_completion_response.py">ChatCreateCompletionResponse</a></code>

## Clusters

Types:
Expand Down Expand Up @@ -2491,7 +2484,6 @@ from telnyx.types import (
MessageSendLongCodeResponse,
MessageSendNumberPoolResponse,
MessageSendShortCodeResponse,
MessageSendWhatsappResponse,
MessageSendWithAlphanumericSenderResponse,
)
```
Expand All @@ -2507,7 +2499,6 @@ Methods:
- <code title="post /messages/long_code">client.messages.<a href="./src/telnyx/resources/messages/messages.py">send_long_code</a>(\*\*<a href="src/telnyx/types/message_send_long_code_params.py">params</a>) -> <a href="./src/telnyx/types/message_send_long_code_response.py">MessageSendLongCodeResponse</a></code>
- <code title="post /messages/number_pool">client.messages.<a href="./src/telnyx/resources/messages/messages.py">send_number_pool</a>(\*\*<a href="src/telnyx/types/message_send_number_pool_params.py">params</a>) -> <a href="./src/telnyx/types/message_send_number_pool_response.py">MessageSendNumberPoolResponse</a></code>
- <code title="post /messages/short_code">client.messages.<a href="./src/telnyx/resources/messages/messages.py">send_short_code</a>(\*\*<a href="src/telnyx/types/message_send_short_code_params.py">params</a>) -> <a href="./src/telnyx/types/message_send_short_code_response.py">MessageSendShortCodeResponse</a></code>
- <code title="post /messages/whatsapp">client.messages.<a href="./src/telnyx/resources/messages/messages.py">send_whatsapp</a>(\*\*<a href="src/telnyx/types/message_send_whatsapp_params.py">params</a>) -> <a href="./src/telnyx/types/message_send_whatsapp_response.py">MessageSendWhatsappResponse</a></code>
- <code title="post /messages/alphanumeric_sender_id">client.messages.<a href="./src/telnyx/resources/messages/messages.py">send_with_alphanumeric_sender</a>(\*\*<a href="src/telnyx/types/message_send_with_alphanumeric_sender_params.py">params</a>) -> <a href="./src/telnyx/types/message_send_with_alphanumeric_sender_response.py">MessageSendWithAlphanumericSenderResponse</a></code>

## Rcs
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.167.0"
version = "4.168.0"
description = "The official Python library for the telnyx API"
dynamic = ["readme"]
license = "MIT"
Expand Down
6 changes: 6 additions & 0 deletions src/telnyx/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,7 @@ def media(self) -> MediaResource:

@cached_property
def messages(self) -> MessagesResource:
"""Messages"""
from .resources.messages import MessagesResource

return MessagesResource(self)
Expand Down Expand Up @@ -2399,6 +2400,7 @@ def media(self) -> AsyncMediaResource:

@cached_property
def messages(self) -> AsyncMessagesResource:
"""Messages"""
from .resources.messages import AsyncMessagesResource

return AsyncMessagesResource(self)
Expand Down Expand Up @@ -3725,6 +3727,7 @@ def media(self) -> media.MediaResourceWithRawResponse:

@cached_property
def messages(self) -> messages.MessagesResourceWithRawResponse:
"""Messages"""
from .resources.messages import MessagesResourceWithRawResponse

return MessagesResourceWithRawResponse(self._client.messages)
Expand Down Expand Up @@ -4926,6 +4929,7 @@ def media(self) -> media.AsyncMediaResourceWithRawResponse:

@cached_property
def messages(self) -> messages.AsyncMessagesResourceWithRawResponse:
"""Messages"""
from .resources.messages import AsyncMessagesResourceWithRawResponse

return AsyncMessagesResourceWithRawResponse(self._client.messages)
Expand Down Expand Up @@ -6139,6 +6143,7 @@ def media(self) -> media.MediaResourceWithStreamingResponse:

@cached_property
def messages(self) -> messages.MessagesResourceWithStreamingResponse:
"""Messages"""
from .resources.messages import MessagesResourceWithStreamingResponse

return MessagesResourceWithStreamingResponse(self._client.messages)
Expand Down Expand Up @@ -7362,6 +7367,7 @@ def media(self) -> media.AsyncMediaResourceWithStreamingResponse:

@cached_property
def messages(self) -> messages.AsyncMessagesResourceWithStreamingResponse:
"""Messages"""
from .resources.messages import AsyncMessagesResourceWithStreamingResponse

return AsyncMessagesResourceWithStreamingResponse(self._client.messages)
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.167.0" # x-release-please-version
__version__ = "4.168.0" # x-release-please-version
14 changes: 0 additions & 14 deletions src/telnyx/resources/ai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@
AIResourceWithStreamingResponse,
AsyncAIResourceWithStreamingResponse,
)
from .chat import (
ChatResource,
AsyncChatResource,
ChatResourceWithRawResponse,
AsyncChatResourceWithRawResponse,
ChatResourceWithStreamingResponse,
AsyncChatResourceWithStreamingResponse,
)
from .audio import (
AudioResource,
AsyncAudioResource,
Expand Down Expand Up @@ -118,12 +110,6 @@
"AsyncAudioResourceWithRawResponse",
"AudioResourceWithStreamingResponse",
"AsyncAudioResourceWithStreamingResponse",
"ChatResource",
"AsyncChatResource",
"ChatResourceWithRawResponse",
"AsyncChatResourceWithRawResponse",
"ChatResourceWithStreamingResponse",
"AsyncChatResourceWithStreamingResponse",
"ClustersResource",
"AsyncClustersResource",
"ClustersResourceWithRawResponse",
Expand Down
Loading
Loading