Skip to content

Commit

Permalink
[Librarian] Regenerated @ 93a2de5505384cb61be7440d3563d93d5cf980df 51…
Browse files Browse the repository at this point in the history
…46479cf5e06841f2d634d763cfd8acec49eb7e
  • Loading branch information
twilio-dx committed Jun 27, 2024
1 parent 6c7d08a commit 4fe254c
Show file tree
Hide file tree
Showing 11 changed files with 1,899 additions and 61 deletions.
18 changes: 18 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@ twilio-python Changelog

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

[2024-06-27] Version 9.2.2
--------------------------
**Api**
- Add `transcription` resource

**Flex**
- Changed mount name for flex_team v2 api

**Intelligence**
- Add `X-Rate-Limit-Limit`, `X-Rate-Limit-Remaining`, and `X-Rate-Limit-Config` as Response Headers to Operator resources

**Numbers**
- Added include_constraints query parameter to the Regulations API

**Twiml**
- Add support for `<Transcription>` noun


[2024-06-21] Version 9.2.1
--------------------------
**Api**
Expand Down
15 changes: 15 additions & 0 deletions twilio/rest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from twilio.rest.events import Events
from twilio.rest.flex_api import FlexApi
from twilio.rest.frontline_api import FrontlineApi
from twilio.rest.preview_iam import PreviewIam
from twilio.rest.insights import Insights
from twilio.rest.intelligence import Intelligence
from twilio.rest.ip_messaging import IpMessaging
Expand Down Expand Up @@ -131,6 +132,7 @@ def __init__(
self._events: Optional["Events"] = None
self._flex_api: Optional["FlexApi"] = None
self._frontline_api: Optional["FrontlineApi"] = None
self._preview_iam: Optional["PreviewIam"] = None
self._insights: Optional["Insights"] = None
self._intelligence: Optional["Intelligence"] = None
self._ip_messaging: Optional["IpMessaging"] = None
Expand Down Expand Up @@ -275,6 +277,19 @@ def frontline_api(self) -> "FrontlineApi":
self._frontline_api = FrontlineApi(self)
return self._frontline_api

@property
def preview_iam(self) -> "PreviewIam":
"""
Access the PreviewIam Twilio Domain
:returns: PreviewIam Twilio Domain
"""
if self._preview_iam is None:
from twilio.rest.preview_iam import PreviewIam

self._preview_iam = PreviewIam(self)
return self._preview_iam

@property
def insights(self) -> "Insights":
"""
Expand Down
22 changes: 22 additions & 0 deletions twilio/rest/api/v2010/account/call/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from twilio.rest.api.v2010.account.call.recording import RecordingList
from twilio.rest.api.v2010.account.call.siprec import SiprecList
from twilio.rest.api.v2010.account.call.stream import StreamList
from twilio.rest.api.v2010.account.call.transcription import TranscriptionList
from twilio.rest.api.v2010.account.call.user_defined_message import (
UserDefinedMessageList,
)
Expand Down Expand Up @@ -303,6 +304,13 @@ def streams(self) -> StreamList:
"""
return self._proxy.streams

@property
def transcriptions(self) -> TranscriptionList:
"""
Access the transcriptions
"""
return self._proxy.transcriptions

@property
def user_defined_messages(self) -> UserDefinedMessageList:
"""
Expand Down Expand Up @@ -352,6 +360,7 @@ def __init__(self, version: Version, account_sid: str, sid: str):
self._recordings: Optional[RecordingList] = None
self._siprec: Optional[SiprecList] = None
self._streams: Optional[StreamList] = None
self._transcriptions: Optional[TranscriptionList] = None
self._user_defined_messages: Optional[UserDefinedMessageList] = None
self._user_defined_message_subscriptions: Optional[
UserDefinedMessageSubscriptionList
Expand Down Expand Up @@ -607,6 +616,19 @@ def streams(self) -> StreamList:
)
return self._streams

@property
def transcriptions(self) -> TranscriptionList:
"""
Access the transcriptions
"""
if self._transcriptions is None:
self._transcriptions = TranscriptionList(
self._version,
self._solution["account_sid"],
self._solution["sid"],
)
return self._transcriptions

@property
def user_defined_messages(self) -> UserDefinedMessageList:
"""
Expand Down
Loading

0 comments on commit 4fe254c

Please sign in to comment.