Skip to content

Commit 17cbe04

Browse files
committed
[Librarian] Regenerated @ 125dc871b4170bce0faca169f8a588f6ff356a88 0c222649d98edbac6858ea253f9b77fc22386e47
1 parent fb163f4 commit 17cbe04

File tree

9 files changed

+512
-58
lines changed

9 files changed

+512
-58
lines changed

CHANGES.md

+15
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@ twilio-python Changelog
33

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

6+
[2025-02-20] Version 9.4.6
7+
--------------------------
8+
**Library - Chore**
9+
- [PR #842](https://github.com/twilio/twilio-python/pull/842): issue 841. Thanks to [@manisha1997](https://github.com/manisha1997)!
10+
11+
**Flex**
12+
- Adding Digital Transfers APIs under v1/Interactions
13+
14+
**Numbers**
15+
- Convert webhook_type to ienum type in v1/Porting/Configuration/Webhook/{webhook_type}
16+
17+
**Trusthub**
18+
- Changing TrustHub SupportingDocument status enum from lowercase to uppercase since kyc-orch returns status capitalized and rest proxy requires strict casing
19+
20+
621
[2025-02-11] Version 9.4.5
722
--------------------------
823
**Api**

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def create(
287287
:param speech_model: Recognition model used by the transcription engine, among those supported by the provider
288288
:param hints: A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
289289
:param enable_automatic_punctuation: The provider will add punctuation to recognition result
290-
:param intelligence_service: The SID of the [Voice Intelligence Service](https://www.twilio.com/docs/voice/intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators .
290+
:param intelligence_service: The SID or unique name of the [Voice Intelligence Service](https://www.twilio.com/docs/voice/intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators .
291291
292292
:returns: The created TranscriptionInstance
293293
"""
@@ -362,7 +362,7 @@ async def create_async(
362362
:param speech_model: Recognition model used by the transcription engine, among those supported by the provider
363363
:param hints: A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
364364
:param enable_automatic_punctuation: The provider will add punctuation to recognition result
365-
:param intelligence_service: The SID of the [Voice Intelligence Service](https://www.twilio.com/docs/voice/intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators .
365+
:param intelligence_service: The SID or unique name of the [Voice Intelligence Service](https://www.twilio.com/docs/voice/intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators .
366366
367367
:returns: The created TranscriptionInstance
368368
"""

twilio/rest/flex_api/v1/interaction/interaction_channel/__init__.py

+24
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
from twilio.rest.flex_api.v1.interaction.interaction_channel.interaction_channel_participant import (
2626
InteractionChannelParticipantList,
2727
)
28+
from twilio.rest.flex_api.v1.interaction.interaction_channel.interaction_transfer import (
29+
InteractionTransferList,
30+
)
2831

2932

3033
class InteractionChannelInstance(InstanceResource):
@@ -171,6 +174,13 @@ def participants(self) -> InteractionChannelParticipantList:
171174
"""
172175
return self._proxy.participants
173176

177+
@property
178+
def transfers(self) -> InteractionTransferList:
179+
"""
180+
Access the transfers
181+
"""
182+
return self._proxy.transfers
183+
174184
def __repr__(self) -> str:
175185
"""
176186
Provide a friendly representation
@@ -204,6 +214,7 @@ def __init__(self, version: Version, interaction_sid: str, sid: str):
204214

205215
self._invites: Optional[InteractionChannelInviteList] = None
206216
self._participants: Optional[InteractionChannelParticipantList] = None
217+
self._transfers: Optional[InteractionTransferList] = None
207218

208219
def fetch(self) -> InteractionChannelInstance:
209220
"""
@@ -349,6 +360,19 @@ def participants(self) -> InteractionChannelParticipantList:
349360
)
350361
return self._participants
351362

363+
@property
364+
def transfers(self) -> InteractionTransferList:
365+
"""
366+
Access the transfers
367+
"""
368+
if self._transfers is None:
369+
self._transfers = InteractionTransferList(
370+
self._version,
371+
self._solution["interaction_sid"],
372+
self._solution["sid"],
373+
)
374+
return self._transfers
375+
352376
def __repr__(self) -> str:
353377
"""
354378
Provide a friendly representation

0 commit comments

Comments
 (0)