Skip to content

Commit

Permalink
[Librarian] Regenerated @ 125dc871b4170bce0faca169f8a588f6ff356a88 0c…
Browse files Browse the repository at this point in the history
…222649d98edbac6858ea253f9b77fc22386e47
  • Loading branch information
twilio-dx committed Feb 20, 2025
1 parent fb163f4 commit 17cbe04
Show file tree
Hide file tree
Showing 9 changed files with 512 additions and 58 deletions.
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@ twilio-python Changelog

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

[2025-02-20] Version 9.4.6
--------------------------
**Library - Chore**
- [PR #842](https://github.com/twilio/twilio-python/pull/842): issue 841. Thanks to [@manisha1997](https://github.com/manisha1997)!

**Flex**
- Adding Digital Transfers APIs under v1/Interactions

**Numbers**
- Convert webhook_type to ienum type in v1/Porting/Configuration/Webhook/{webhook_type}

**Trusthub**
- Changing TrustHub SupportingDocument status enum from lowercase to uppercase since kyc-orch returns status capitalized and rest proxy requires strict casing


[2025-02-11] Version 9.4.5
--------------------------
**Api**
Expand Down
4 changes: 2 additions & 2 deletions twilio/rest/api/v2010/account/call/transcription.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def create(
:param speech_model: Recognition model used by the transcription engine, among those supported by the provider
:param hints: A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
:param enable_automatic_punctuation: The provider will add punctuation to recognition result
: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 .
: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 .
:returns: The created TranscriptionInstance
"""
Expand Down Expand Up @@ -362,7 +362,7 @@ async def create_async(
:param speech_model: Recognition model used by the transcription engine, among those supported by the provider
:param hints: A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
:param enable_automatic_punctuation: The provider will add punctuation to recognition result
: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 .
: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 .
:returns: The created TranscriptionInstance
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
from twilio.rest.flex_api.v1.interaction.interaction_channel.interaction_channel_participant import (
InteractionChannelParticipantList,
)
from twilio.rest.flex_api.v1.interaction.interaction_channel.interaction_transfer import (
InteractionTransferList,
)


class InteractionChannelInstance(InstanceResource):
Expand Down Expand Up @@ -171,6 +174,13 @@ def participants(self) -> InteractionChannelParticipantList:
"""
return self._proxy.participants

@property
def transfers(self) -> InteractionTransferList:
"""
Access the transfers
"""
return self._proxy.transfers

def __repr__(self) -> str:
"""
Provide a friendly representation
Expand Down Expand Up @@ -204,6 +214,7 @@ def __init__(self, version: Version, interaction_sid: str, sid: str):

self._invites: Optional[InteractionChannelInviteList] = None
self._participants: Optional[InteractionChannelParticipantList] = None
self._transfers: Optional[InteractionTransferList] = None

def fetch(self) -> InteractionChannelInstance:
"""
Expand Down Expand Up @@ -349,6 +360,19 @@ def participants(self) -> InteractionChannelParticipantList:
)
return self._participants

@property
def transfers(self) -> InteractionTransferList:
"""
Access the transfers
"""
if self._transfers is None:
self._transfers = InteractionTransferList(
self._version,
self._solution["interaction_sid"],
self._solution["sid"],
)
return self._transfers

def __repr__(self) -> str:
"""
Provide a friendly representation
Expand Down
Loading

0 comments on commit 17cbe04

Please sign in to comment.