Skip to content

Commit cfda60c

Browse files
committed
[Librarian] Regenerated @ 3e6ad1f24c7f9fc3d3bf3465cc2bdd014b1f6311
1 parent 07b3ba7 commit cfda60c

File tree

286 files changed

+518
-14788
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

286 files changed

+518
-14788
lines changed

CHANGES.md

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

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

6+
[2024-01-14] Version 8.11.1
7+
---------------------------
8+
**Library - Chore**
9+
- [PR #749](https://github.com/twilio/twilio-python/pull/749): removing webhook test. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
10+
11+
**Push**
12+
- Migrated to new Push API V4 with Resilient Notification Delivery.
13+
14+
615
[2023-12-14] Version 8.11.0
716
---------------------------
817
**Library - Chore**

twilio/rest/__init__.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
if TYPE_CHECKING:
1616
from twilio.rest.accounts import Accounts
1717
from twilio.rest.api import Api
18-
from twilio.rest.autopilot import Autopilot
1918
from twilio.rest.bulkexports import Bulkexports
2019
from twilio.rest.chat import Chat
2120
from twilio.rest.content import Content
@@ -123,7 +122,6 @@ def __init__(
123122
# Domains
124123
self._accounts: Optional["Accounts"] = None
125124
self._api: Optional["Api"] = None
126-
self._autopilot: Optional["Autopilot"] = None
127125
self._bulkexports: Optional["Bulkexports"] = None
128126
self._chat: Optional["Chat"] = None
129127
self._content: Optional["Content"] = None
@@ -183,19 +181,6 @@ def api(self) -> "Api":
183181
self._api = Api(self)
184182
return self._api
185183

186-
@property
187-
def autopilot(self) -> "Autopilot":
188-
"""
189-
Access the Autopilot Twilio Domain
190-
191-
:returns: Autopilot Twilio Domain
192-
"""
193-
if self._autopilot is None:
194-
from twilio.rest.autopilot import Autopilot
195-
196-
self._autopilot = Autopilot(self)
197-
return self._autopilot
198-
199184
@property
200185
def bulkexports(self) -> "Bulkexports":
201186
"""

twilio/rest/accounts/v1/credential/aws.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ def create(
321321
322322
:returns: The created AwsInstance
323323
"""
324+
324325
data = values.of(
325326
{
326327
"Credentials": credentials,
@@ -352,6 +353,7 @@ async def create_async(
352353
353354
:returns: The created AwsInstance
354355
"""
356+
355357
data = values.of(
356358
{
357359
"Credentials": credentials,

twilio/rest/accounts/v1/credential/public_key.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ def create(
325325
326326
:returns: The created PublicKeyInstance
327327
"""
328+
328329
data = values.of(
329330
{
330331
"PublicKey": public_key,
@@ -356,6 +357,7 @@ async def create_async(
356357
357358
:returns: The created PublicKeyInstance
358359
"""
360+
359361
data = values.of(
360362
{
361363
"PublicKey": public_key,

twilio/rest/accounts/v1/safelist.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def create(self, phone_number: str) -> SafelistInstance:
6464
6565
:returns: The created SafelistInstance
6666
"""
67+
6768
data = values.of(
6869
{
6970
"PhoneNumber": phone_number,
@@ -86,6 +87,7 @@ async def create_async(self, phone_number: str) -> SafelistInstance:
8687
8788
:returns: The created SafelistInstance
8889
"""
90+
8991
data = values.of(
9092
{
9193
"PhoneNumber": phone_number,

twilio/rest/api/v2010/account/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,7 @@ def create(
821821
822822
:returns: The created AccountInstance
823823
"""
824+
824825
data = values.of(
825826
{
826827
"FriendlyName": friendly_name,
@@ -845,6 +846,7 @@ async def create_async(
845846
846847
:returns: The created AccountInstance
847848
"""
849+
848850
data = values.of(
849851
{
850852
"FriendlyName": friendly_name,

twilio/rest/api/v2010/account/address/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ def create(
513513
514514
:returns: The created AddressInstance
515515
"""
516+
516517
data = values.of(
517518
{
518519
"CustomerName": customer_name,
@@ -567,6 +568,7 @@ async def create_async(
567568
568569
:returns: The created AddressInstance
569570
"""
571+
570572
data = values.of(
571573
{
572574
"CustomerName": customer_name,

twilio/rest/api/v2010/account/application.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,7 @@ def create(
602602
603603
:returns: The created ApplicationInstance
604604
"""
605+
605606
data = values.of(
606607
{
607608
"ApiVersion": api_version,
@@ -674,6 +675,7 @@ async def create_async(
674675
675676
:returns: The created ApplicationInstance
676677
"""
678+
677679
data = values.of(
678680
{
679681
"ApiVersion": api_version,

twilio/rest/api/v2010/account/call/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,7 @@ def create(
785785
786786
:returns: The created CallInstance
787787
"""
788+
788789
data = values.of(
789790
{
790791
"To": to,
@@ -918,6 +919,7 @@ async def create_async(
918919
919920
:returns: The created CallInstance
920921
"""
922+
921923
data = values.of(
922924
{
923925
"To": to,

twilio/rest/api/v2010/account/call/feedback_summary.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(
7070
payload.get("end_date")
7171
)
7272
self.include_subaccounts: Optional[bool] = payload.get("include_subaccounts")
73-
self.issues: Optional[List[object]] = payload.get("issues")
73+
self.issues: Optional[List[Dict[str, object]]] = payload.get("issues")
7474
self.quality_score_average: Optional[float] = deserialize.decimal(
7575
payload.get("quality_score_average")
7676
)
@@ -286,6 +286,7 @@ def create(
286286
287287
:returns: The created FeedbackSummaryInstance
288288
"""
289+
289290
data = values.of(
290291
{
291292
"StartDate": serialize.iso8601_date(start_date),
@@ -325,6 +326,7 @@ async def create_async(
325326
326327
:returns: The created FeedbackSummaryInstance
327328
"""
329+
328330
data = values.of(
329331
{
330332
"StartDate": serialize.iso8601_date(start_date),

0 commit comments

Comments
 (0)