Skip to content

Commit cfa7fd9

Browse files
committed
[Librarian] Regenerated @ 556cffc21d7318f27d71e40146d324df61aba54f 0d6654ebfab8c5a41c8454374cbb1c93d806bfae
1 parent 423a783 commit cfa7fd9

File tree

30 files changed

+1989
-61
lines changed

30 files changed

+1989
-61
lines changed

CHANGES.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@ twilio-python Changelog
33

44
Here you can see the full list of changes between each twilio-python release.
55

6+
[2025-09-18] Version 9.8.1
7+
--------------------------
8+
**Api**
9+
- Add `date_created` property to media resource and date_created filtering parameters for read action
10+
- Updated the Recordings Resource `channels` property to clarify channels = # of channels in the recording resource and how to specify the # of channels in recording download
11+
12+
**Intelligence**
13+
- Add encryption_credential_sid field in transcripts and services in v2
14+
15+
**Trusthub**
16+
- Remove beta feature flag for all TH APIs
17+
- Remove beta feature flag for ComplianceInquiries API to support OneConsole traffic
18+
19+
**Twiml**
20+
- Add new noun `<AiSession>`
21+
22+
623
[2025-09-04] Version 9.8.0
724
--------------------------
825
**Api**

twilio/rest/__init__.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
from twilio.rest.verify import Verify
5151
from twilio.rest.video import Video
5252
from twilio.rest.voice import Voice
53-
from twilio.rest.voice import Voice
5453
from twilio.rest.wireless import Wireless
5554
from twilio.rest.api.v2010.account.address import AddressList
5655
from twilio.rest.api.v2010.account.application import ApplicationList
@@ -163,7 +162,6 @@ def __init__(
163162
self._verify: Optional["Verify"] = None
164163
self._video: Optional["Video"] = None
165164
self._voice: Optional["Voice"] = None
166-
self._voice: Optional["Voice"] = None
167165
self._wireless: Optional["Wireless"] = None
168166

169167
@property
@@ -634,19 +632,6 @@ def voice(self) -> "Voice":
634632
self._voice = Voice(self)
635633
return self._voice
636634

637-
@property
638-
def voice(self) -> "Voice":
639-
"""
640-
Access the Voice Twilio Domain
641-
642-
:returns: Voice Twilio Domain
643-
"""
644-
if self._voice is None:
645-
from twilio.rest.voice import Voice
646-
647-
self._voice = Voice(self)
648-
return self._voice
649-
650635
@property
651636
def wireless(self) -> "Wireless":
652637
"""

twilio/rest/api/v2010/account/available_phone_number_country/local.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def stream(
152152
The results are returned as a generator, so this operation is memory efficient.
153153
154154
:param int area_code: The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
155-
:param str contains: The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters.
155+
:param str contains: Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
156156
:param bool sms_enabled: Whether the phone numbers can receive text messages. Can be: `true` or `false`.
157157
:param bool mms_enabled: Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
158158
:param bool voice_enabled: Whether the phone numbers can receive calls. Can be: `true` or `false`.
@@ -233,7 +233,7 @@ async def stream_async(
233233
The results are returned as a generator, so this operation is memory efficient.
234234
235235
:param int area_code: The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
236-
:param str contains: The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters.
236+
:param str contains: Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
237237
:param bool sms_enabled: Whether the phone numbers can receive text messages. Can be: `true` or `false`.
238238
:param bool mms_enabled: Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
239239
:param bool voice_enabled: Whether the phone numbers can receive calls. Can be: `true` or `false`.
@@ -313,7 +313,7 @@ def list(
313313
memory before returning.
314314
315315
:param int area_code: The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
316-
:param str contains: The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters.
316+
:param str contains: Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
317317
:param bool sms_enabled: Whether the phone numbers can receive text messages. Can be: `true` or `false`.
318318
:param bool mms_enabled: Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
319319
:param bool voice_enabled: Whether the phone numbers can receive calls. Can be: `true` or `false`.
@@ -393,7 +393,7 @@ async def list_async(
393393
memory before returning.
394394
395395
:param int area_code: The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
396-
:param str contains: The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters.
396+
:param str contains: Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
397397
:param bool sms_enabled: Whether the phone numbers can receive text messages. Can be: `true` or `false`.
398398
:param bool mms_enabled: Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
399399
:param bool voice_enabled: Whether the phone numbers can receive calls. Can be: `true` or `false`.
@@ -474,7 +474,7 @@ def page(
474474
Request is executed immediately
475475
476476
:param area_code: The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
477-
:param contains: The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters.
477+
:param contains: Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
478478
:param sms_enabled: Whether the phone numbers can receive text messages. Can be: `true` or `false`.
479479
:param mms_enabled: Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
480480
:param voice_enabled: Whether the phone numbers can receive calls. Can be: `true` or `false`.
@@ -567,7 +567,7 @@ async def page_async(
567567
Request is executed immediately
568568
569569
:param area_code: The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
570-
:param contains: The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters.
570+
:param contains: Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
571571
:param sms_enabled: Whether the phone numbers can receive text messages. Can be: `true` or `false`.
572572
:param mms_enabled: Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
573573
:param voice_enabled: Whether the phone numbers can receive calls. Can be: `true` or `false`.

0 commit comments

Comments
 (0)