Skip to content

Commit 39ad9a5

Browse files
committed
[Librarian] Regenerated @ 3fba30a1b1e7c6460438ce1ca58c8ea68ad7b236 61d888152c68c1d07f711f67b7faf94bb9526469
1 parent f408b89 commit 39ad9a5

26 files changed

+530
-40
lines changed

CHANGES.md

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

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

6+
[2025-08-18] Version 9.7.1
7+
--------------------------
8+
**Accounts**
9+
- Update beta feature flag for consent and contact bulk upsert APIs
10+
11+
**Api**
12+
- Add multiple missing usage categories to usage records and usage triggers api
13+
- Add `channels-whatsapp-template-marketing` and `channels-whatsapp-template-utility` to usage categories
14+
15+
**Conversations**
16+
- Fix `state` spelling for `initializing` enum value
17+
- Update `state` to include `intializing` for ServiceConversationWithParticipants and ConversationWithParticipants
18+
19+
**Flex**
20+
- Adding new optional parameter `identity` to `web_channels` API in version `v2`
21+
22+
**Trusthub**
23+
- Add required Permissions to the ComplianceInquiries API
24+
25+
**Verify**
26+
- Add passkeys support to Verify API creating and updating services.
27+
- Update `ienum` type for Factor creation
28+
- Add passkeys as challenge and factor type
29+
30+
631
[2025-07-24] Version 9.7.0
732
--------------------------
833
**Library - Fix**

twilio/rest/__init__.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
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
5354
from twilio.rest.wireless import Wireless
5455
from twilio.rest.api.v2010.account.address import AddressList
5556
from twilio.rest.api.v2010.account.application import ApplicationList
@@ -162,6 +163,7 @@ def __init__(
162163
self._verify: Optional["Verify"] = None
163164
self._video: Optional["Video"] = None
164165
self._voice: Optional["Voice"] = None
166+
self._voice: Optional["Voice"] = None
165167
self._wireless: Optional["Wireless"] = None
166168

167169
@property
@@ -632,6 +634,19 @@ def voice(self) -> "Voice":
632634
self._voice = Voice(self)
633635
return self._voice
634636

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+
635650
@property
636651
def wireless(self) -> "Wireless":
637652
"""

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,13 @@ class Category(object):
126126
)
127127
CHANNELS_WHATSAPP_INBOUND = "channels-whatsapp-inbound"
128128
CHANNELS_WHATSAPP_OUTBOUND = "channels-whatsapp-outbound"
129+
CHANNELS_WHATSAPP_SERVICE = "channels-whatsapp-service"
130+
CHANNELS_WHATSAPP_TEMPLATE_AUTHENTICATION = (
131+
"channels-whatsapp-template-authentication"
132+
)
133+
CHANNELS_WHATSAPP_TEMPLATE_MARKETING = "channels-whatsapp-template-marketing"
134+
CHANNELS_WHATSAPP_TEMPLATE_SERVICE = "channels-whatsapp-template-service"
135+
CHANNELS_WHATSAPP_TEMPLATE_UTILITY = "channels-whatsapp-template-utility"
129136
CHAT_VIRTUAL_AGENT = "chat-virtual-agent"
130137
CONVERSATION_RELAY = "conversation-relay"
131138
CONVERSATIONS = "conversations"
@@ -499,6 +506,9 @@ class Category(object):
499506
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = (
500507
"verify-whatsapp-conversations-business-initiated"
501508
)
509+
VERIFY_WHATSAPP_TEMPLATE_BUSINESS_INITIATED = (
510+
"verify-whatsapp-template-business-initiated"
511+
)
502512
VIDEO_RECORDINGS = "video-recordings"
503513
VIDEO_ROOMS_TURN_MEGABYTES = "video-rooms-turn-megabytes"
504514
VIRTUAL_AGENT = "virtual-agent"

twilio/rest/api/v2010/account/usage/record/all_time.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ class Category(object):
118118
)
119119
CHANNELS_WHATSAPP_INBOUND = "channels-whatsapp-inbound"
120120
CHANNELS_WHATSAPP_OUTBOUND = "channels-whatsapp-outbound"
121+
CHANNELS_WHATSAPP_SERVICE = "channels-whatsapp-service"
122+
CHANNELS_WHATSAPP_TEMPLATE_AUTHENTICATION = (
123+
"channels-whatsapp-template-authentication"
124+
)
125+
CHANNELS_WHATSAPP_TEMPLATE_MARKETING = "channels-whatsapp-template-marketing"
126+
CHANNELS_WHATSAPP_TEMPLATE_SERVICE = "channels-whatsapp-template-service"
127+
CHANNELS_WHATSAPP_TEMPLATE_UTILITY = "channels-whatsapp-template-utility"
121128
CHAT_VIRTUAL_AGENT = "chat-virtual-agent"
122129
CONVERSATION_RELAY = "conversation-relay"
123130
CONVERSATIONS = "conversations"
@@ -491,6 +498,9 @@ class Category(object):
491498
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = (
492499
"verify-whatsapp-conversations-business-initiated"
493500
)
501+
VERIFY_WHATSAPP_TEMPLATE_BUSINESS_INITIATED = (
502+
"verify-whatsapp-template-business-initiated"
503+
)
494504
VIDEO_RECORDINGS = "video-recordings"
495505
VIDEO_ROOMS_TURN_MEGABYTES = "video-rooms-turn-megabytes"
496506
VIRTUAL_AGENT = "virtual-agent"

twilio/rest/api/v2010/account/usage/record/daily.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ class Category(object):
118118
)
119119
CHANNELS_WHATSAPP_INBOUND = "channels-whatsapp-inbound"
120120
CHANNELS_WHATSAPP_OUTBOUND = "channels-whatsapp-outbound"
121+
CHANNELS_WHATSAPP_SERVICE = "channels-whatsapp-service"
122+
CHANNELS_WHATSAPP_TEMPLATE_AUTHENTICATION = (
123+
"channels-whatsapp-template-authentication"
124+
)
125+
CHANNELS_WHATSAPP_TEMPLATE_MARKETING = "channels-whatsapp-template-marketing"
126+
CHANNELS_WHATSAPP_TEMPLATE_SERVICE = "channels-whatsapp-template-service"
127+
CHANNELS_WHATSAPP_TEMPLATE_UTILITY = "channels-whatsapp-template-utility"
121128
CHAT_VIRTUAL_AGENT = "chat-virtual-agent"
122129
CONVERSATION_RELAY = "conversation-relay"
123130
CONVERSATIONS = "conversations"
@@ -491,6 +498,9 @@ class Category(object):
491498
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = (
492499
"verify-whatsapp-conversations-business-initiated"
493500
)
501+
VERIFY_WHATSAPP_TEMPLATE_BUSINESS_INITIATED = (
502+
"verify-whatsapp-template-business-initiated"
503+
)
494504
VIDEO_RECORDINGS = "video-recordings"
495505
VIDEO_ROOMS_TURN_MEGABYTES = "video-rooms-turn-megabytes"
496506
VIRTUAL_AGENT = "virtual-agent"

twilio/rest/api/v2010/account/usage/record/last_month.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ class Category(object):
118118
)
119119
CHANNELS_WHATSAPP_INBOUND = "channels-whatsapp-inbound"
120120
CHANNELS_WHATSAPP_OUTBOUND = "channels-whatsapp-outbound"
121+
CHANNELS_WHATSAPP_SERVICE = "channels-whatsapp-service"
122+
CHANNELS_WHATSAPP_TEMPLATE_AUTHENTICATION = (
123+
"channels-whatsapp-template-authentication"
124+
)
125+
CHANNELS_WHATSAPP_TEMPLATE_MARKETING = "channels-whatsapp-template-marketing"
126+
CHANNELS_WHATSAPP_TEMPLATE_SERVICE = "channels-whatsapp-template-service"
127+
CHANNELS_WHATSAPP_TEMPLATE_UTILITY = "channels-whatsapp-template-utility"
121128
CHAT_VIRTUAL_AGENT = "chat-virtual-agent"
122129
CONVERSATION_RELAY = "conversation-relay"
123130
CONVERSATIONS = "conversations"
@@ -491,6 +498,9 @@ class Category(object):
491498
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = (
492499
"verify-whatsapp-conversations-business-initiated"
493500
)
501+
VERIFY_WHATSAPP_TEMPLATE_BUSINESS_INITIATED = (
502+
"verify-whatsapp-template-business-initiated"
503+
)
494504
VIDEO_RECORDINGS = "video-recordings"
495505
VIDEO_ROOMS_TURN_MEGABYTES = "video-rooms-turn-megabytes"
496506
VIRTUAL_AGENT = "virtual-agent"

twilio/rest/api/v2010/account/usage/record/monthly.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ class Category(object):
118118
)
119119
CHANNELS_WHATSAPP_INBOUND = "channels-whatsapp-inbound"
120120
CHANNELS_WHATSAPP_OUTBOUND = "channels-whatsapp-outbound"
121+
CHANNELS_WHATSAPP_SERVICE = "channels-whatsapp-service"
122+
CHANNELS_WHATSAPP_TEMPLATE_AUTHENTICATION = (
123+
"channels-whatsapp-template-authentication"
124+
)
125+
CHANNELS_WHATSAPP_TEMPLATE_MARKETING = "channels-whatsapp-template-marketing"
126+
CHANNELS_WHATSAPP_TEMPLATE_SERVICE = "channels-whatsapp-template-service"
127+
CHANNELS_WHATSAPP_TEMPLATE_UTILITY = "channels-whatsapp-template-utility"
121128
CHAT_VIRTUAL_AGENT = "chat-virtual-agent"
122129
CONVERSATION_RELAY = "conversation-relay"
123130
CONVERSATIONS = "conversations"
@@ -491,6 +498,9 @@ class Category(object):
491498
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = (
492499
"verify-whatsapp-conversations-business-initiated"
493500
)
501+
VERIFY_WHATSAPP_TEMPLATE_BUSINESS_INITIATED = (
502+
"verify-whatsapp-template-business-initiated"
503+
)
494504
VIDEO_RECORDINGS = "video-recordings"
495505
VIDEO_ROOMS_TURN_MEGABYTES = "video-rooms-turn-megabytes"
496506
VIRTUAL_AGENT = "virtual-agent"

twilio/rest/api/v2010/account/usage/record/this_month.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ class Category(object):
118118
)
119119
CHANNELS_WHATSAPP_INBOUND = "channels-whatsapp-inbound"
120120
CHANNELS_WHATSAPP_OUTBOUND = "channels-whatsapp-outbound"
121+
CHANNELS_WHATSAPP_SERVICE = "channels-whatsapp-service"
122+
CHANNELS_WHATSAPP_TEMPLATE_AUTHENTICATION = (
123+
"channels-whatsapp-template-authentication"
124+
)
125+
CHANNELS_WHATSAPP_TEMPLATE_MARKETING = "channels-whatsapp-template-marketing"
126+
CHANNELS_WHATSAPP_TEMPLATE_SERVICE = "channels-whatsapp-template-service"
127+
CHANNELS_WHATSAPP_TEMPLATE_UTILITY = "channels-whatsapp-template-utility"
121128
CHAT_VIRTUAL_AGENT = "chat-virtual-agent"
122129
CONVERSATION_RELAY = "conversation-relay"
123130
CONVERSATIONS = "conversations"
@@ -491,6 +498,9 @@ class Category(object):
491498
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = (
492499
"verify-whatsapp-conversations-business-initiated"
493500
)
501+
VERIFY_WHATSAPP_TEMPLATE_BUSINESS_INITIATED = (
502+
"verify-whatsapp-template-business-initiated"
503+
)
494504
VIDEO_RECORDINGS = "video-recordings"
495505
VIDEO_ROOMS_TURN_MEGABYTES = "video-rooms-turn-megabytes"
496506
VIRTUAL_AGENT = "virtual-agent"

twilio/rest/api/v2010/account/usage/record/today.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ class Category(object):
118118
)
119119
CHANNELS_WHATSAPP_INBOUND = "channels-whatsapp-inbound"
120120
CHANNELS_WHATSAPP_OUTBOUND = "channels-whatsapp-outbound"
121+
CHANNELS_WHATSAPP_SERVICE = "channels-whatsapp-service"
122+
CHANNELS_WHATSAPP_TEMPLATE_AUTHENTICATION = (
123+
"channels-whatsapp-template-authentication"
124+
)
125+
CHANNELS_WHATSAPP_TEMPLATE_MARKETING = "channels-whatsapp-template-marketing"
126+
CHANNELS_WHATSAPP_TEMPLATE_SERVICE = "channels-whatsapp-template-service"
127+
CHANNELS_WHATSAPP_TEMPLATE_UTILITY = "channels-whatsapp-template-utility"
121128
CHAT_VIRTUAL_AGENT = "chat-virtual-agent"
122129
CONVERSATION_RELAY = "conversation-relay"
123130
CONVERSATIONS = "conversations"
@@ -491,6 +498,9 @@ class Category(object):
491498
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = (
492499
"verify-whatsapp-conversations-business-initiated"
493500
)
501+
VERIFY_WHATSAPP_TEMPLATE_BUSINESS_INITIATED = (
502+
"verify-whatsapp-template-business-initiated"
503+
)
494504
VIDEO_RECORDINGS = "video-recordings"
495505
VIDEO_ROOMS_TURN_MEGABYTES = "video-rooms-turn-megabytes"
496506
VIRTUAL_AGENT = "virtual-agent"

twilio/rest/api/v2010/account/usage/record/yearly.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ class Category(object):
118118
)
119119
CHANNELS_WHATSAPP_INBOUND = "channels-whatsapp-inbound"
120120
CHANNELS_WHATSAPP_OUTBOUND = "channels-whatsapp-outbound"
121+
CHANNELS_WHATSAPP_SERVICE = "channels-whatsapp-service"
122+
CHANNELS_WHATSAPP_TEMPLATE_AUTHENTICATION = (
123+
"channels-whatsapp-template-authentication"
124+
)
125+
CHANNELS_WHATSAPP_TEMPLATE_MARKETING = "channels-whatsapp-template-marketing"
126+
CHANNELS_WHATSAPP_TEMPLATE_SERVICE = "channels-whatsapp-template-service"
127+
CHANNELS_WHATSAPP_TEMPLATE_UTILITY = "channels-whatsapp-template-utility"
121128
CHAT_VIRTUAL_AGENT = "chat-virtual-agent"
122129
CONVERSATION_RELAY = "conversation-relay"
123130
CONVERSATIONS = "conversations"
@@ -491,6 +498,9 @@ class Category(object):
491498
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = (
492499
"verify-whatsapp-conversations-business-initiated"
493500
)
501+
VERIFY_WHATSAPP_TEMPLATE_BUSINESS_INITIATED = (
502+
"verify-whatsapp-template-business-initiated"
503+
)
494504
VIDEO_RECORDINGS = "video-recordings"
495505
VIDEO_ROOMS_TURN_MEGABYTES = "video-rooms-turn-megabytes"
496506
VIRTUAL_AGENT = "virtual-agent"

0 commit comments

Comments
 (0)