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
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.190.0"
".": "4.191.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1410
configured_endpoints: 1411
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [4.191.0](https://github.com/team-telnyx/telnyx-python/compare/v4.190.0...v4.191.0) (2026-10-29)


### Features

* promote from staging 9e1bf76 ([2c5554e](https://github.com/team-telnyx/telnyx-python/commit/2c5554e446e670b63bc7735635a9b926dd4e6ef3))

## [4.190.0](https://github.com/team-telnyx/telnyx-python/compare/v4.189.0...v4.190.0) (2026-10-28)


Expand Down
38 changes: 24 additions & 14 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,9 @@ from telnyx.types.ai import (
TelnyxAvatarSettings,
ToolNode,
ToolNodeReq,
TranscriptionChallenger,
TranscriptionEndpointingPlan,
TranscriptionFallbackModel,
TranscriptionSettings,
TranscriptionSettingsConfig,
TransferTool,
Expand Down Expand Up @@ -1525,7 +1527,11 @@ Methods:
Types:

```python
from telnyx.types.ai.memory.namespaces import NamespaceSettingsResponse
from telnyx.types.ai.memory.namespaces import (
NamespaceSettings,
NamespaceSettingsResponse,
SummarySettings,
)
```

Methods:
Expand Down Expand Up @@ -3702,6 +3708,8 @@ Types:
from telnyx.types.phone_numbers import (
NumbersPhoneNumbersJob,
PhoneNumbersJob,
PhoneNumbersJobPendingOperation,
PhoneNumbersJobSuccessfulOperation,
JobRetrieveResponse,
JobDeleteBatchResponse,
JobUpdateBatchResponse,
Expand Down Expand Up @@ -5089,11 +5097,13 @@ Types:
```python
from telnyx.types import (
TelephonyCredential,
TokenMaterial,
TelephonyCredentialCreateResponse,
TelephonyCredentialRetrieveResponse,
TelephonyCredentialUpdateResponse,
TelephonyCredentialDeleteResponse,
TelephonyCredentialCreateTokenResponse,
TelephonyCredentialRetrieveTokenMaterialResponse,
)
```

Expand All @@ -5105,6 +5115,7 @@ Methods:
- <code title="get /telephony_credentials">client.telephony_credentials.<a href="./src/telnyx/resources/telephony_credentials.py">list</a>(\*\*<a href="src/telnyx/types/telephony_credential_list_params.py">params</a>) -> <a href="./src/telnyx/types/telephony_credential.py">SyncDefaultFlatPagination[TelephonyCredential]</a></code>
- <code title="delete /telephony_credentials/{id}">client.telephony_credentials.<a href="./src/telnyx/resources/telephony_credentials.py">delete</a>(id) -> <a href="./src/telnyx/types/telephony_credential_delete_response.py">TelephonyCredentialDeleteResponse</a></code>
- <code title="post /telephony_credentials/{id}/token">client.telephony_credentials.<a href="./src/telnyx/resources/telephony_credentials.py">create_token</a>(id) -> str</code>
- <code title="get /telephony_credentials/{id}/token_material">client.telephony_credentials.<a href="./src/telnyx/resources/telephony_credentials.py">retrieve_token_material</a>(id) -> <a href="./src/telnyx/types/telephony_credential_retrieve_token_material_response.py">TelephonyCredentialRetrieveTokenMaterialResponse</a></code>

# Texml

Expand Down Expand Up @@ -6042,15 +6053,9 @@ Methods:

### PhoneNumbers

Types:

```python
from telnyx.types.whatsapp.business_accounts import PhoneNumberListResponse
```

Methods:

- <code title="get /v2/whatsapp/business_accounts/{id}/phone_numbers">client.whatsapp.business_accounts.phone_numbers.<a href="./src/telnyx/resources/whatsapp/business_accounts/phone_numbers.py">list</a>(id, \*\*<a href="src/telnyx/types/whatsapp/business_accounts/phone_number_list_params.py">params</a>) -> <a href="./src/telnyx/types/whatsapp/business_accounts/phone_number_list_response.py">SyncDefaultFlatPagination[PhoneNumberListResponse]</a></code>
- <code title="get /v2/whatsapp/business_accounts/{id}/phone_numbers">client.whatsapp.business_accounts.phone_numbers.<a href="./src/telnyx/resources/whatsapp/business_accounts/phone_numbers.py">list</a>(id, \*\*<a href="src/telnyx/types/whatsapp/business_accounts/phone_number_list_params.py">params</a>) -> <a href="./src/telnyx/types/whatsapp/whatsapp_phone_response.py">SyncDefaultFlatPagination[WhatsappPhoneResponse]</a></code>
- <code title="post /v2/whatsapp/business_accounts/{id}/phone_numbers">client.whatsapp.business_accounts.phone_numbers.<a href="./src/telnyx/resources/whatsapp/business_accounts/phone_numbers.py">initialize_verification</a>(id, \*\*<a href="src/telnyx/types/whatsapp/business_accounts/phone_number_initialize_verification_params.py">params</a>) -> None</code>

### Settings
Expand Down Expand Up @@ -6096,7 +6101,7 @@ Types:

```python
from telnyx.types.whatsapp import (
PhoneNumberListResponse,
WhatsappPhoneResponse,
PhoneNumberGetResponse,
PhoneNumberRetrieveConversationWindowResponse,
PhoneNumberRetrievePhoneNumberResponse,
Expand All @@ -6105,7 +6110,7 @@ from telnyx.types.whatsapp import (

Methods:

- <code title="get /v2/whatsapp/phone_numbers">client.whatsapp.phone_numbers.<a href="./src/telnyx/resources/whatsapp/phone_numbers/phone_numbers.py">list</a>(\*\*<a href="src/telnyx/types/whatsapp/phone_number_list_params.py">params</a>) -> <a href="./src/telnyx/types/whatsapp/phone_number_list_response.py">SyncDefaultFlatPagination[PhoneNumberListResponse]</a></code>
- <code title="get /v2/whatsapp/phone_numbers">client.whatsapp.phone_numbers.<a href="./src/telnyx/resources/whatsapp/phone_numbers/phone_numbers.py">list</a>(\*\*<a href="src/telnyx/types/whatsapp/phone_number_list_params.py">params</a>) -> <a href="./src/telnyx/types/whatsapp/whatsapp_phone_response.py">SyncDefaultFlatPagination[WhatsappPhoneResponse]</a></code>
- <code title="delete /v2/whatsapp/phone_numbers/{phone_number}">client.whatsapp.phone_numbers.<a href="./src/telnyx/resources/whatsapp/phone_numbers/phone_numbers.py">delete</a>(phone_number) -> None</code>
- <code title="get /whatsapp/phone_numbers">client.whatsapp.phone_numbers.<a href="./src/telnyx/resources/whatsapp/phone_numbers/phone_numbers.py">get</a>(\*\*<a href="src/telnyx/types/whatsapp/phone_number_get_params.py">params</a>) -> <a href="./src/telnyx/types/whatsapp/phone_number_get_response.py">PhoneNumberGetResponse</a></code>
- <code title="post /v2/whatsapp/phone_numbers/{phone_number}/resend_verification">client.whatsapp.phone_numbers.<a href="./src/telnyx/resources/whatsapp/phone_numbers/phone_numbers.py">resend_verification</a>(phone_number, \*\*<a href="src/telnyx/types/whatsapp/phone_number_resend_verification_params.py">params</a>) -> None</code>
Expand Down Expand Up @@ -6227,17 +6232,17 @@ Types:

```python
from telnyx.types.whatsapp import (
WhatsappHostedSignup,
HostedSignupCreateResponse,
HostedSignupRetrieveResponse,
HostedSignupListResponse,
)
```

Methods:

- <code title="post /whatsapp/hosted_signups">client.whatsapp.hosted_signups.<a href="./src/telnyx/resources/whatsapp/hosted_signups.py">create</a>(\*\*<a href="src/telnyx/types/whatsapp/hosted_signup_create_params.py">params</a>) -> <a href="./src/telnyx/types/whatsapp/hosted_signup_create_response.py">HostedSignupCreateResponse</a></code>
- <code title="get /whatsapp/hosted_signups/{id}">client.whatsapp.hosted_signups.<a href="./src/telnyx/resources/whatsapp/hosted_signups.py">retrieve</a>(id) -> <a href="./src/telnyx/types/whatsapp/hosted_signup_retrieve_response.py">HostedSignupRetrieveResponse</a></code>
- <code title="get /whatsapp/hosted_signups">client.whatsapp.hosted_signups.<a href="./src/telnyx/resources/whatsapp/hosted_signups.py">list</a>(\*\*<a href="src/telnyx/types/whatsapp/hosted_signup_list_params.py">params</a>) -> <a href="./src/telnyx/types/whatsapp/hosted_signup_list_response.py">SyncDefaultFlatPagination[HostedSignupListResponse]</a></code>
- <code title="get /whatsapp/hosted_signups">client.whatsapp.hosted_signups.<a href="./src/telnyx/resources/whatsapp/hosted_signups.py">list</a>(\*\*<a href="src/telnyx/types/whatsapp/hosted_signup_list_params.py">params</a>) -> <a href="./src/telnyx/types/whatsapp/whatsapp_hosted_signup.py">SyncDefaultFlatPagination[WhatsappHostedSignup]</a></code>

# WhatsappMessageTemplates

Expand Down Expand Up @@ -6458,6 +6463,7 @@ Types:

```python
from telnyx.types.enterprises.reputation import (
ExternalVerification,
ExternalVerificationStatus,
ExternalVerificationWrapped,
)
Expand All @@ -6480,7 +6486,10 @@ Methods:
Types:

```python
from telnyx.types.enterprises import EnterpriseEmailVerificationStatusWrapped
from telnyx.types.enterprises import (
EnterpriseEmailVerificationStatus,
EnterpriseEmailVerificationStatusWrapped,
)
```

Methods:
Expand Down Expand Up @@ -7058,6 +7067,7 @@ from telnyx.types import (
EmailTemplateCommon,
EmailTemplateResponse,
UpdateEmailTemplateRequest,
VariableSchemaEntry,
EmailTemplateRenderResponse,
)
```
Expand Down Expand Up @@ -7305,7 +7315,7 @@ Methods:
Types:

```python
from telnyx.types.compute.funcs import FuncLogExportConfigResponse
from telnyx.types.compute.funcs import FuncLogExportConfig, FuncLogExportConfigResponse
```

Methods:
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.190.0"
version = "4.191.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.190.0" # x-release-please-version
__version__ = "4.191.0" # x-release-please-version
5 changes: 3 additions & 2 deletions src/telnyx/resources/browser_sessions/browser_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from __future__ import annotations

from typing import Dict
from typing_extensions import Literal

import httpx
Expand Down Expand Up @@ -68,7 +69,7 @@ def create(
policy: browser_session_create_params.Policy,
idempotency_key: str | Omit = omit,
limits: browser_session_create_params.Limits | Omit = omit,
metadata: object | Omit = omit,
metadata: Dict[str, object] | 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 @@ -289,7 +290,7 @@ async def create(
policy: browser_session_create_params.Policy,
idempotency_key: str | Omit = omit,
limits: browser_session_create_params.Limits | Omit = omit,
metadata: object | Omit = omit,
metadata: Dict[str, object] | 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
13 changes: 7 additions & 6 deletions src/telnyx/resources/email_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from .._base_client import AsyncPaginator, make_request_options
from ..types.email_template import EmailTemplate
from ..types.email_template_response import EmailTemplateResponse
from ..types.variable_schema_entry_param import VariableSchemaEntryParam
from ..types.email_template_render_response import EmailTemplateRenderResponse

__all__ = ["EmailTemplatesResource", "AsyncEmailTemplatesResource"]
Expand Down Expand Up @@ -64,7 +65,7 @@ def create(
strict_variables: bool | Omit = omit,
subject: Optional[str] | Omit = omit,
text_body: Optional[str] | Omit = omit,
variable_schema: Optional[Dict[str, email_template_create_params.VariableSchema]] | Omit = omit,
variable_schema: Optional[Dict[str, VariableSchemaEntryParam]] | Omit = omit,
variables: Optional[SequenceNotStr[str]] | Omit = omit,
variables_mode: Literal["automatic", "explicit"] | Omit = omit,
idempotency_key: str | Omit = omit,
Expand Down Expand Up @@ -198,7 +199,7 @@ def update(
strict_variables: bool | Omit = omit,
subject: Optional[str] | Omit = omit,
text_body: Optional[str] | Omit = omit,
variable_schema: Optional[Dict[str, email_template_update_params.VariableSchema]] | Omit = omit,
variable_schema: Optional[Dict[str, VariableSchemaEntryParam]] | Omit = omit,
variables: Optional[SequenceNotStr[str]] | Omit = omit,
variables_mode: Literal["automatic", "explicit"] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -441,7 +442,7 @@ def replace(
strict_variables: bool | Omit = omit,
subject: Optional[str] | Omit = omit,
text_body: Optional[str] | Omit = omit,
variable_schema: Optional[Dict[str, email_template_replace_params.VariableSchema]] | Omit = omit,
variable_schema: Optional[Dict[str, VariableSchemaEntryParam]] | Omit = omit,
variables: Optional[SequenceNotStr[str]] | Omit = omit,
variables_mode: Literal["automatic", "explicit"] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -545,7 +546,7 @@ async def create(
strict_variables: bool | Omit = omit,
subject: Optional[str] | Omit = omit,
text_body: Optional[str] | Omit = omit,
variable_schema: Optional[Dict[str, email_template_create_params.VariableSchema]] | Omit = omit,
variable_schema: Optional[Dict[str, VariableSchemaEntryParam]] | Omit = omit,
variables: Optional[SequenceNotStr[str]] | Omit = omit,
variables_mode: Literal["automatic", "explicit"] | Omit = omit,
idempotency_key: str | Omit = omit,
Expand Down Expand Up @@ -679,7 +680,7 @@ async def update(
strict_variables: bool | Omit = omit,
subject: Optional[str] | Omit = omit,
text_body: Optional[str] | Omit = omit,
variable_schema: Optional[Dict[str, email_template_update_params.VariableSchema]] | Omit = omit,
variable_schema: Optional[Dict[str, VariableSchemaEntryParam]] | Omit = omit,
variables: Optional[SequenceNotStr[str]] | Omit = omit,
variables_mode: Literal["automatic", "explicit"] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -922,7 +923,7 @@ async def replace(
strict_variables: bool | Omit = omit,
subject: Optional[str] | Omit = omit,
text_body: Optional[str] | Omit = omit,
variable_schema: Optional[Dict[str, email_template_replace_params.VariableSchema]] | Omit = omit,
variable_schema: Optional[Dict[str, VariableSchemaEntryParam]] | Omit = omit,
variables: Optional[SequenceNotStr[str]] | Omit = omit,
variables_mode: Literal["automatic", "explicit"] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down
12 changes: 8 additions & 4 deletions src/telnyx/resources/portouts/portouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,10 @@ def list(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SyncDefaultFlatPagination[PortoutDetails]:
"""
Returns the portout requests according to filters
"""Returns the portout requests according to filters.
Carrier Port Out API
available. Please contact porting@telnyx.com.
Args:
filter:
Expand Down Expand Up @@ -369,8 +371,10 @@ def list(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AsyncPaginator[PortoutDetails, AsyncDefaultFlatPagination[PortoutDetails]]:
"""
Returns the portout requests according to filters
"""Returns the portout requests according to filters.
Carrier Port Out API
available. Please contact porting@telnyx.com.
Args:
filter:
Expand Down
Loading
Loading