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.131.0"
".": "4.132.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 1039
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx/telnyx-ffde1e24535b84cba3dac4fdf2ef6df0fe07639f3429f606c5256c870fe5e062.yml
openapi_spec_hash: 9d4326316d01d0bd0b1b4fcaa849b80c
config_hash: bc071de39b424ea1ecf205d551ac87cc
configured_endpoints: 1041
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx/telnyx-a5fcd0749eaf183022565d79a8386faaf94fda529abc2d18bc8806de15f920a4.yml
openapi_spec_hash: ba27a057456ddf456a415ef046d806da
config_hash: d117d1cbee49ad6ca09249c2f027a5bf
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 4.132.0 (2026-05-14)

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

### Features

* Document Conversation Relay ([5cb134d](https://github.com/team-telnyx/telnyx-python/commit/5cb134d1b06a6440f8c128297b93bdadcbfccac8))
* Fix Conversation Relay expected webhook ([277b46d](https://github.com/team-telnyx/telnyx-python/commit/277b46d020b58b756c7c773079dac0fa08febef3))

## 4.131.0 (2026-05-13)

Full Changelog: [v4.130.0...v4.131.0](https://github.com/team-telnyx/telnyx-python/compare/v4.130.0...v4.131.0)
Expand Down
49 changes: 14 additions & 35 deletions api.md

Large diffs are not rendered by default.

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.131.0"
version = "4.132.0"
description = "The official Python library for the telnyx API"
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.131.0" # x-release-please-version
__version__ = "4.132.0" # x-release-please-version
27 changes: 12 additions & 15 deletions src/telnyx/resources/ai/assistants/assistants.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,9 @@
from ....types.ai.telephony_settings_param import TelephonySettingsParam
from ....types.ai.assistant_delete_response import AssistantDeleteResponse
from ....types.ai.fallback_config_req_param import FallbackConfigReqParam
from ....types.ai.assistant_mcp_server_param import AssistantMcpServerParam
from ....types.ai.assistant_integration_param import AssistantIntegrationParam
from ....types.ai.assistant_send_sms_response import AssistantSendSMSResponse
from ....types.ai.transcription_settings_param import TranscriptionSettingsParam
from ....types.ai.post_conversation_settings_req_param import PostConversationSettingsReqParam
from ....types.ai.inference_embedding_interruption_settings_param import InferenceEmbeddingInterruptionSettingsParam

__all__ = ["AssistantsResource", "AsyncAssistantsResource"]

Expand Down Expand Up @@ -165,10 +162,10 @@ def create(
fallback_config: FallbackConfigReqParam | Omit = omit,
greeting: str | Omit = omit,
insight_settings: InsightSettingsParam | Omit = omit,
integrations: Iterable[AssistantIntegrationParam] | Omit = omit,
interruption_settings: InferenceEmbeddingInterruptionSettingsParam | Omit = omit,
integrations: Iterable[assistant_create_params.Integration] | Omit = omit,
interruption_settings: assistant_create_params.InterruptionSettings | Omit = omit,
llm_api_key_ref: str | Omit = omit,
mcp_servers: Iterable[AssistantMcpServerParam] | Omit = omit,
mcp_servers: Iterable[assistant_create_params.McpServer] | Omit = omit,
messaging_settings: MessagingSettingsParam | Omit = omit,
model: str | Omit = omit,
observability_settings: ObservabilityReqParam | Omit = omit,
Expand Down Expand Up @@ -376,10 +373,10 @@ def update(
greeting: str | Omit = omit,
insight_settings: InsightSettingsParam | Omit = omit,
instructions: str | Omit = omit,
integrations: Iterable[AssistantIntegrationParam] | Omit = omit,
interruption_settings: InferenceEmbeddingInterruptionSettingsParam | Omit = omit,
integrations: Iterable[assistant_update_params.Integration] | Omit = omit,
interruption_settings: assistant_update_params.InterruptionSettings | Omit = omit,
llm_api_key_ref: str | Omit = omit,
mcp_servers: Iterable[AssistantMcpServerParam] | Omit = omit,
mcp_servers: Iterable[assistant_update_params.McpServer] | Omit = omit,
messaging_settings: MessagingSettingsParam | Omit = omit,
model: str | Omit = omit,
name: str | Omit = omit,
Expand Down Expand Up @@ -890,10 +887,10 @@ async def create(
fallback_config: FallbackConfigReqParam | Omit = omit,
greeting: str | Omit = omit,
insight_settings: InsightSettingsParam | Omit = omit,
integrations: Iterable[AssistantIntegrationParam] | Omit = omit,
interruption_settings: InferenceEmbeddingInterruptionSettingsParam | Omit = omit,
integrations: Iterable[assistant_create_params.Integration] | Omit = omit,
interruption_settings: assistant_create_params.InterruptionSettings | Omit = omit,
llm_api_key_ref: str | Omit = omit,
mcp_servers: Iterable[AssistantMcpServerParam] | Omit = omit,
mcp_servers: Iterable[assistant_create_params.McpServer] | Omit = omit,
messaging_settings: MessagingSettingsParam | Omit = omit,
model: str | Omit = omit,
observability_settings: ObservabilityReqParam | Omit = omit,
Expand Down Expand Up @@ -1101,10 +1098,10 @@ async def update(
greeting: str | Omit = omit,
insight_settings: InsightSettingsParam | Omit = omit,
instructions: str | Omit = omit,
integrations: Iterable[AssistantIntegrationParam] | Omit = omit,
interruption_settings: InferenceEmbeddingInterruptionSettingsParam | Omit = omit,
integrations: Iterable[assistant_update_params.Integration] | Omit = omit,
interruption_settings: assistant_update_params.InterruptionSettings | Omit = omit,
llm_api_key_ref: str | Omit = omit,
mcp_servers: Iterable[AssistantMcpServerParam] | Omit = omit,
mcp_servers: Iterable[assistant_update_params.McpServer] | Omit = omit,
messaging_settings: MessagingSettingsParam | Omit = omit,
model: str | Omit = omit,
name: str | Omit = omit,
Expand Down
9 changes: 4 additions & 5 deletions src/telnyx/resources/ai/assistants/canary_deploys.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
)
from ...._base_client import make_request_options
from ....types.ai.assistants import canary_deploy_create_params, canary_deploy_update_params
from ....types.ai.assistants.rule_input_param import RuleInputParam
from ....types.ai.assistants.canary_deploy_response import CanaryDeployResponse

__all__ = ["CanaryDeploysResource", "AsyncCanaryDeploysResource"]
Expand Down Expand Up @@ -50,7 +49,7 @@ def create(
self,
assistant_id: str,
*,
rules: Iterable[RuleInputParam] | Omit = omit,
rules: Iterable[canary_deploy_create_params.Rule] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -124,7 +123,7 @@ def update(
self,
assistant_id: str,
*,
rules: Iterable[RuleInputParam] | Omit = omit,
rules: Iterable[canary_deploy_update_params.Rule] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -222,7 +221,7 @@ async def create(
self,
assistant_id: str,
*,
rules: Iterable[RuleInputParam] | Omit = omit,
rules: Iterable[canary_deploy_create_params.Rule] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -296,7 +295,7 @@ async def update(
self,
assistant_id: str,
*,
rules: Iterable[RuleInputParam] | Omit = omit,
rules: Iterable[canary_deploy_update_params.Rule] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down
15 changes: 6 additions & 9 deletions src/telnyx/resources/ai/assistants/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,8 @@
from ....types.ai.messaging_settings_param import MessagingSettingsParam
from ....types.ai.telephony_settings_param import TelephonySettingsParam
from ....types.ai.fallback_config_req_param import FallbackConfigReqParam
from ....types.ai.assistant_mcp_server_param import AssistantMcpServerParam
from ....types.ai.assistant_integration_param import AssistantIntegrationParam
from ....types.ai.transcription_settings_param import TranscriptionSettingsParam
from ....types.ai.post_conversation_settings_req_param import PostConversationSettingsReqParam
from ....types.ai.inference_embedding_interruption_settings_param import InferenceEmbeddingInterruptionSettingsParam

__all__ = ["VersionsResource", "AsyncVersionsResource"]

Expand Down Expand Up @@ -122,10 +119,10 @@ def update(
greeting: str | Omit = omit,
insight_settings: InsightSettingsParam | Omit = omit,
instructions: str | Omit = omit,
integrations: Iterable[AssistantIntegrationParam] | Omit = omit,
interruption_settings: InferenceEmbeddingInterruptionSettingsParam | Omit = omit,
integrations: Iterable[version_update_params.Integration] | Omit = omit,
interruption_settings: version_update_params.InterruptionSettings | Omit = omit,
llm_api_key_ref: str | Omit = omit,
mcp_servers: Iterable[AssistantMcpServerParam] | Omit = omit,
mcp_servers: Iterable[version_update_params.McpServer] | Omit = omit,
messaging_settings: MessagingSettingsParam | Omit = omit,
model: str | Omit = omit,
name: str | Omit = omit,
Expand Down Expand Up @@ -483,10 +480,10 @@ async def update(
greeting: str | Omit = omit,
insight_settings: InsightSettingsParam | Omit = omit,
instructions: str | Omit = omit,
integrations: Iterable[AssistantIntegrationParam] | Omit = omit,
interruption_settings: InferenceEmbeddingInterruptionSettingsParam | Omit = omit,
integrations: Iterable[version_update_params.Integration] | Omit = omit,
interruption_settings: version_update_params.InterruptionSettings | Omit = omit,
llm_api_key_ref: str | Omit = omit,
mcp_servers: Iterable[AssistantMcpServerParam] | Omit = omit,
mcp_servers: Iterable[version_update_params.McpServer] | Omit = omit,
messaging_settings: MessagingSettingsParam | Omit = omit,
model: str | Omit = omit,
name: str | Omit = omit,
Expand Down
Loading
Loading