Skip to content

Commit 368bf67

Browse files
release: 4.97.0 (#251)
* feat: Add ai_calls endpoint documentation to OpenAPI spec * feat(api): Merge pull request #39 from stainless-sdks/revert-a988c49-stainless-changes revert: restore stainless.yml SDK generation fixes * feat: Add oneOf constraint for Url/Texml mutual exclusivity in InitiateCallRequest * feat: CW-3815 fix PATCH /wirelss_blocklists/{id} endpoint * feat(client): support sending raw data over websockets * release: 4.97.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent a521822 commit 368bf67

30 files changed

Lines changed: 3615 additions & 992 deletions

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "4.96.0"
2+
".": "4.97.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1022
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-89a9050aa64756582ce8923c6abfaa5eae030e794b53d10bab86b15fa30b02bf.yml
3-
openapi_spec_hash: da75df9cb0618f9a3d6eb8a2f77b0752
4-
config_hash: 6d9dae7db10d5a23624637b34428fcfd
1+
configured_endpoints: 1023
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-8989c3dc1ae934bddbb5d6a208c606b1f6b5ce0c7cb67d343fde24648276f8f0.yml
3+
openapi_spec_hash: 7f04183a470c02aac6570dcf31131ecd
4+
config_hash: 2aa4ddd6f1fcd8eea4ae48a529727bc8

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 4.97.0 (2026-04-08)
4+
5+
Full Changelog: [v4.96.0...v4.97.0](https://github.com/team-telnyx/telnyx-python/compare/v4.96.0...v4.97.0)
6+
7+
### Features
8+
9+
* Add ai_calls endpoint documentation to OpenAPI spec ([586c445](https://github.com/team-telnyx/telnyx-python/commit/586c44557cec717765f9aff0e7f67b4f81a2d50a))
10+
* Add oneOf constraint for Url/Texml mutual exclusivity in InitiateCallRequest ([a444d3a](https://github.com/team-telnyx/telnyx-python/commit/a444d3a66987f8d6625e3dbce7ab69625e21e7ae))
11+
* **api:** Merge pull request [#39](https://github.com/team-telnyx/telnyx-python/issues/39) from stainless-sdks/revert-a988c49-stainless-changes ([75ee85b](https://github.com/team-telnyx/telnyx-python/commit/75ee85b1f03acee3d5a759ab13503c8ac5da729b))
12+
* **client:** support sending raw data over websockets ([f475022](https://github.com/team-telnyx/telnyx-python/commit/f4750222c54658dfa0e2a43bc54758e7128f6275))
13+
* CW-3815 fix PATCH /wirelss_blocklists/{id} endpoint ([5b7eb9f](https://github.com/team-telnyx/telnyx-python/commit/5b7eb9f2335152f2ba68a4a06c578e95761b6c41))
14+
15+
16+
### Reverts
17+
18+
* restore stainless.yml SDK generation fixes ([75ee85b](https://github.com/team-telnyx/telnyx-python/commit/75ee85b1f03acee3d5a759ab13503c8ac5da729b))
19+
320
## 4.96.0 (2026-04-07)
421

522
Full Changelog: [v4.95.0...v4.96.0](https://github.com/team-telnyx/telnyx-python/compare/v4.95.0...v4.96.0)

api.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4364,11 +4364,12 @@ Methods:
43644364
Types:
43654365

43664366
```python
4367-
from telnyx.types import TexmlSecretsResponse
4367+
from telnyx.types import TexmlInitiateAICallResponse, TexmlSecretsResponse
43684368
```
43694369

43704370
Methods:
43714371

4372+
- <code title="post /texml/ai_calls/{connection_id}">client.texml.<a href="./src/telnyx/resources/texml/texml.py">initiate_ai_call</a>(connection_id, \*\*<a href="src/telnyx/types/texml_initiate_ai_call_params.py">params</a>) -> <a href="./src/telnyx/types/texml_initiate_ai_call_response.py">TexmlInitiateAICallResponse</a></code>
43724373
- <code title="post /texml/secrets">client.texml.<a href="./src/telnyx/resources/texml/texml.py">secrets</a>(\*\*<a href="src/telnyx/types/texml_secrets_params.py">params</a>) -> <a href="./src/telnyx/types/texml_secrets_response.py">TexmlSecretsResponse</a></code>
43734374

43744375
## Accounts
@@ -4882,7 +4883,7 @@ Methods:
48824883

48834884
- <code title="post /wireless_blocklists">client.wireless_blocklists.<a href="./src/telnyx/resources/wireless_blocklists.py">create</a>(\*\*<a href="src/telnyx/types/wireless_blocklist_create_params.py">params</a>) -> <a href="./src/telnyx/types/wireless_blocklist_create_response.py">WirelessBlocklistCreateResponse</a></code>
48844885
- <code title="get /wireless_blocklists/{id}">client.wireless_blocklists.<a href="./src/telnyx/resources/wireless_blocklists.py">retrieve</a>(id) -> <a href="./src/telnyx/types/wireless_blocklist_retrieve_response.py">WirelessBlocklistRetrieveResponse</a></code>
4885-
- <code title="patch /wireless_blocklists">client.wireless_blocklists.<a href="./src/telnyx/resources/wireless_blocklists.py">update</a>(\*\*<a href="src/telnyx/types/wireless_blocklist_update_params.py">params</a>) -> <a href="./src/telnyx/types/wireless_blocklist_update_response.py">WirelessBlocklistUpdateResponse</a></code>
4886+
- <code title="patch /wireless_blocklists/{id}">client.wireless_blocklists.<a href="./src/telnyx/resources/wireless_blocklists.py">update</a>(id, \*\*<a href="src/telnyx/types/wireless_blocklist_update_params.py">params</a>) -> <a href="./src/telnyx/types/wireless_blocklist_update_response.py">WirelessBlocklistUpdateResponse</a></code>
48864887
- <code title="get /wireless_blocklists">client.wireless_blocklists.<a href="./src/telnyx/resources/wireless_blocklists.py">list</a>(\*\*<a href="src/telnyx/types/wireless_blocklist_list_params.py">params</a>) -> <a href="./src/telnyx/types/wireless_blocklist.py">SyncDefaultFlatPagination[WirelessBlocklist]</a></code>
48874888
- <code title="delete /wireless_blocklists/{id}">client.wireless_blocklists.<a href="./src/telnyx/resources/wireless_blocklists.py">delete</a>(id) -> <a href="./src/telnyx/types/wireless_blocklist_delete_response.py">WirelessBlocklistDeleteResponse</a></code>
48884889

@@ -5521,33 +5522,33 @@ Types:
55215522
```python
55225523
from telnyx.types.enterprises import (
55235524
EnterpriseReputationPublic,
5524-
ReputationCreateResponse,
5525-
ReputationListResponse,
5525+
ReputationRetrieveResponse,
5526+
ReputationEnableResponse,
55265527
ReputationUpdateFrequencyResponse,
55275528
)
55285529
```
55295530

55305531
Methods:
55315532

5532-
- <code title="post /enterprises/{enterprise_id}/reputation">client.enterprises.reputation.<a href="./src/telnyx/resources/enterprises/reputation/reputation.py">create</a>(enterprise_id, \*\*<a href="src/telnyx/types/enterprises/reputation_create_params.py">params</a>) -> <a href="./src/telnyx/types/enterprises/reputation_create_response.py">ReputationCreateResponse</a></code>
5533-
- <code title="get /enterprises/{enterprise_id}/reputation">client.enterprises.reputation.<a href="./src/telnyx/resources/enterprises/reputation/reputation.py">list</a>(enterprise_id) -> <a href="./src/telnyx/types/enterprises/reputation_list_response.py">ReputationListResponse</a></code>
5534-
- <code title="delete /enterprises/{enterprise_id}/reputation">client.enterprises.reputation.<a href="./src/telnyx/resources/enterprises/reputation/reputation.py">delete_all</a>(enterprise_id) -> None</code>
5533+
- <code title="get /enterprises/{enterprise_id}/reputation">client.enterprises.reputation.<a href="./src/telnyx/resources/enterprises/reputation/reputation.py">retrieve</a>(enterprise_id) -> <a href="./src/telnyx/types/enterprises/reputation_retrieve_response.py">ReputationRetrieveResponse</a></code>
5534+
- <code title="delete /enterprises/{enterprise_id}/reputation">client.enterprises.reputation.<a href="./src/telnyx/resources/enterprises/reputation/reputation.py">disable</a>(enterprise_id) -> None</code>
5535+
- <code title="post /enterprises/{enterprise_id}/reputation">client.enterprises.reputation.<a href="./src/telnyx/resources/enterprises/reputation/reputation.py">enable</a>(enterprise_id, \*\*<a href="src/telnyx/types/enterprises/reputation_enable_params.py">params</a>) -> <a href="./src/telnyx/types/enterprises/reputation_enable_response.py">ReputationEnableResponse</a></code>
55355536
- <code title="patch /enterprises/{enterprise_id}/reputation/frequency">client.enterprises.reputation.<a href="./src/telnyx/resources/enterprises/reputation/reputation.py">update_frequency</a>(enterprise_id, \*\*<a href="src/telnyx/types/enterprises/reputation_update_frequency_params.py">params</a>) -> <a href="./src/telnyx/types/enterprises/reputation_update_frequency_response.py">ReputationUpdateFrequencyResponse</a></code>
55365537

55375538
### Numbers
55385539

55395540
Types:
55405541

55415542
```python
5542-
from telnyx.types.enterprises.reputation import NumberCreateResponse, NumberRetrieveResponse
5543+
from telnyx.types.enterprises.reputation import NumberRetrieveResponse, NumberAssociateResponse
55435544
```
55445545

55455546
Methods:
55465547

5547-
- <code title="post /enterprises/{enterprise_id}/reputation/numbers">client.enterprises.reputation.numbers.<a href="./src/telnyx/resources/enterprises/reputation/numbers.py">create</a>(enterprise_id, \*\*<a href="src/telnyx/types/enterprises/reputation/number_create_params.py">params</a>) -> <a href="./src/telnyx/types/enterprises/reputation/number_create_response.py">NumberCreateResponse</a></code>
55485548
- <code title="get /enterprises/{enterprise_id}/reputation/numbers/{phone_number}">client.enterprises.reputation.numbers.<a href="./src/telnyx/resources/enterprises/reputation/numbers.py">retrieve</a>(phone_number, \*, enterprise_id, \*\*<a href="src/telnyx/types/enterprises/reputation/number_retrieve_params.py">params</a>) -> <a href="./src/telnyx/types/enterprises/reputation/number_retrieve_response.py">NumberRetrieveResponse</a></code>
55495549
- <code title="get /enterprises/{enterprise_id}/reputation/numbers">client.enterprises.reputation.numbers.<a href="./src/telnyx/resources/enterprises/reputation/numbers.py">list</a>(enterprise_id, \*\*<a href="src/telnyx/types/enterprises/reputation/number_list_params.py">params</a>) -> <a href="./src/telnyx/types/shared/reputation_phone_number_with_reputation_data.py">SyncDefaultFlatPagination[ReputationPhoneNumberWithReputationData]</a></code>
5550-
- <code title="delete /enterprises/{enterprise_id}/reputation/numbers/{phone_number}">client.enterprises.reputation.numbers.<a href="./src/telnyx/resources/enterprises/reputation/numbers.py">delete</a>(phone_number, \*, enterprise_id) -> None</code>
5550+
- <code title="post /enterprises/{enterprise_id}/reputation/numbers">client.enterprises.reputation.numbers.<a href="./src/telnyx/resources/enterprises/reputation/numbers.py">associate</a>(enterprise_id, \*\*<a href="src/telnyx/types/enterprises/reputation/number_associate_params.py">params</a>) -> <a href="./src/telnyx/types/enterprises/reputation/number_associate_response.py">NumberAssociateResponse</a></code>
5551+
- <code title="delete /enterprises/{enterprise_id}/reputation/numbers/{phone_number}">client.enterprises.reputation.numbers.<a href="./src/telnyx/resources/enterprises/reputation/numbers.py">disassociate</a>(phone_number, \*, enterprise_id) -> None</code>
55515552

55525553
# Reputation
55535554

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "telnyx"
3-
version = "4.96.0"
3+
version = "4.97.0"
44
description = "The official Python library for the telnyx API"
55
dynamic = ["readme"]
66
license = "MIT"

src/telnyx/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "telnyx"
4-
__version__ = "4.96.0" # x-release-please-version
4+
__version__ = "4.97.0" # x-release-please-version

0 commit comments

Comments
 (0)