Skip to content

Commit f9b4ce1

Browse files
committed
[Librarian] Regenerated @ d122b05026327019e18cb5763c557a68138cc2c8 0e8634d10afc0145e18ccb8d90598b642b67ad87
1 parent ee0714c commit f9b4ce1

File tree

24 files changed

+2343
-278
lines changed

24 files changed

+2343
-278
lines changed

CHANGES.md

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

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

6+
[2025-07-03] Version 9.6.4
7+
--------------------------
8+
**Library - Chore**
9+
- [PR #865](https://github.com/twilio/twilio-python/pull/865): Remove references to microvisor. Thanks to [@akhani18](https://github.com/akhani18)!
10+
- [PR #872](https://github.com/twilio/twilio-python/pull/872): support Python 3.13. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
11+
- [PR #870](https://github.com/twilio/twilio-python/pull/870): remove knowledge domain. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
12+
13+
**Bulkexports**
14+
- Changed the type of 'details' field to be a list of objects instead of a single object
15+
16+
**Conversations**
17+
- Updates to `method` casing for ConfgurationAddress, ConversationScopedWebhook, and ServiceConversationScopedWebhook for RestProxy compatibility
18+
19+
**Proxy**
20+
- remove shortcodes resource as its no longer used
21+
22+
**Serverless**
23+
- Change log field level from type `ienum` to `string` in Logs api
24+
25+
**Taskrouter**
26+
- Remove `URL-encoded` from attributes param definition in tasks
27+
28+
**Trunking**
29+
- Added `symmetric_rtp_enabled` property on Trunks.
30+
31+
**Twiml**
32+
- Add support for `<WhatsApp>` noun under `<Dial>` verb
33+
34+
635
[2025-06-12] Version 9.6.3
736
--------------------------
837
**Library - Chore**

twilio/rest/bulkexports/v1/export/export_custom_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __init__(self, version: Version, payload: Dict[str, Any], resource_type: str
4747
self.webhook_method: Optional[str] = payload.get("webhook_method")
4848
self.email: Optional[str] = payload.get("email")
4949
self.job_sid: Optional[str] = payload.get("job_sid")
50-
self.details: Optional[Dict[str, object]] = payload.get("details")
50+
self.details: Optional[List[Dict[str, object]]] = payload.get("details")
5151
self.job_queue_position: Optional[str] = payload.get("job_queue_position")
5252
self.estimated_completion_time: Optional[str] = payload.get(
5353
"estimated_completion_time"

twilio/rest/bulkexports/v1/export/job.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Do not edit the class manually.
1313
"""
1414

15-
from typing import Any, Dict, Optional
15+
from typing import Any, Dict, List, Optional
1616
from twilio.base import values
1717
from twilio.base.instance_context import InstanceContext
1818
from twilio.base.instance_resource import InstanceResource
@@ -43,7 +43,7 @@ def __init__(
4343

4444
self.resource_type: Optional[str] = payload.get("resource_type")
4545
self.friendly_name: Optional[str] = payload.get("friendly_name")
46-
self.details: Optional[Dict[str, object]] = payload.get("details")
46+
self.details: Optional[List[Dict[str, object]]] = payload.get("details")
4747
self.start_day: Optional[str] = payload.get("start_day")
4848
self.end_day: Optional[str] = payload.get("end_day")
4949
self.job_sid: Optional[str] = payload.get("job_sid")

twilio/rest/conversations/v1/address_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class AutoCreationType(object):
3030
DEFAULT = "default"
3131

3232
class Method(object):
33-
GET = "GET"
34-
POST = "POST"
33+
GET = "get"
34+
POST = "post"
3535

3636
class Type(object):
3737
SMS = "sms"

twilio/rest/conversations/v1/conversation/webhook.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
class WebhookInstance(InstanceResource):
2626

2727
class Method(object):
28-
GET = "GET"
29-
POST = "POST"
28+
GET = "get"
29+
POST = "post"
3030

3131
class Target(object):
3232
WEBHOOK = "webhook"

twilio/rest/conversations/v1/service/conversation/webhook.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
class WebhookInstance(InstanceResource):
2626

2727
class Method(object):
28-
GET = "GET"
29-
POST = "POST"
28+
GET = "get"
29+
POST = "post"
3030

3131
class Target(object):
3232
WEBHOOK = "webhook"

twilio/rest/lookups/v2/__init__.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
from typing import Optional
1616
from twilio.base.version import Version
1717
from twilio.base.domain import Domain
18+
from twilio.rest.lookups.v2.bucket import BucketList
19+
from twilio.rest.lookups.v2.lookup_override import LookupOverrideList
1820
from twilio.rest.lookups.v2.phone_number import PhoneNumberList
21+
from twilio.rest.lookups.v2.query import QueryList
22+
from twilio.rest.lookups.v2.rate_limit import RateLimitList
1923

2024

2125
class V2(Version):
@@ -27,14 +31,42 @@ def __init__(self, domain: Domain):
2731
:param domain: The Twilio.lookups domain
2832
"""
2933
super().__init__(domain, "v2")
34+
self._bucket: Optional[BucketList] = None
35+
self._lookup_overrides: Optional[LookupOverrideList] = None
3036
self._phone_numbers: Optional[PhoneNumberList] = None
37+
self._query: Optional[QueryList] = None
38+
self._rate_limits: Optional[RateLimitList] = None
39+
40+
@property
41+
def bucket(self) -> BucketList:
42+
if self._bucket is None:
43+
self._bucket = BucketList(self)
44+
return self._bucket
45+
46+
@property
47+
def lookup_overrides(self) -> LookupOverrideList:
48+
if self._lookup_overrides is None:
49+
self._lookup_overrides = LookupOverrideList(self)
50+
return self._lookup_overrides
3151

3252
@property
3353
def phone_numbers(self) -> PhoneNumberList:
3454
if self._phone_numbers is None:
3555
self._phone_numbers = PhoneNumberList(self)
3656
return self._phone_numbers
3757

58+
@property
59+
def query(self) -> QueryList:
60+
if self._query is None:
61+
self._query = QueryList(self)
62+
return self._query
63+
64+
@property
65+
def rate_limits(self) -> RateLimitList:
66+
if self._rate_limits is None:
67+
self._rate_limits = RateLimitList(self)
68+
return self._rate_limits
69+
3870
def __repr__(self) -> str:
3971
"""
4072
Provide a friendly representation

0 commit comments

Comments
 (0)