Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d120aff

Browse filesBrowse files
committed
[Librarian] Regenerated @ 6b85410bb6ecf3aa579d1fa442c7bb74c62cf6f0 ae4a12dded508a988aeaca39721be27984e9aeeb
1 parent ffc0aa1 commit d120aff
Copy full SHA for d120aff

File tree

5 files changed

+600
-4
lines changed
Filter options

5 files changed

+600
-4
lines changed

‎CHANGES.md

Copy file name to clipboardExpand all lines: CHANGES.md
+15Lines changed: 15 additions & 0 deletions
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-11] Version 9.4.5
7+
--------------------------
8+
**Api**
9+
- Change downstream url and change media type for file `base/api/v2010/validation_request.json`.
10+
11+
**Intelligence**
12+
- Add json_results for Generative JSON operator results
13+
14+
**Messaging**
15+
- Add DestinationAlphaSender API to support Country-Specific Alpha Senders
16+
17+
**Video**
18+
- Change codec type from enum to case-insensitive enum in recording and room_recording apis
19+
20+
621
[2025-01-28] Version 9.4.4
722
--------------------------
823
**Library - Fix**

‎twilio/rest/api/v2010/account/address/__init__.py

Copy file name to clipboardExpand all lines: twilio/rest/api/v2010/account/address/__init__.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def update(
148148
"""
149149
Update the AddressInstance
150150
151-
:param friendly_name: A descriptive string that you create to describe the address. It can be up to 64 characters long.
151+
:param friendly_name: A descriptive string that you create to describe the new address. It can be up to 64 characters long for Regulatory Compliance addresses and 32 characters long for Emergency addresses.
152152
:param customer_name: The name to associate with the address.
153153
:param street: The number and street address of the address.
154154
:param city: The city of the address.
@@ -187,7 +187,7 @@ async def update_async(
187187
"""
188188
Asynchronous coroutine to update the AddressInstance
189189
190-
:param friendly_name: A descriptive string that you create to describe the address. It can be up to 64 characters long.
190+
:param friendly_name: A descriptive string that you create to describe the new address. It can be up to 64 characters long for Regulatory Compliance addresses and 32 characters long for Emergency addresses.
191191
:param customer_name: The name to associate with the address.
192192
:param street: The number and street address of the address.
193193
:param city: The city of the address.
@@ -336,7 +336,7 @@ def update(
336336
"""
337337
Update the AddressInstance
338338
339-
:param friendly_name: A descriptive string that you create to describe the address. It can be up to 64 characters long.
339+
:param friendly_name: A descriptive string that you create to describe the new address. It can be up to 64 characters long for Regulatory Compliance addresses and 32 characters long for Emergency addresses.
340340
:param customer_name: The name to associate with the address.
341341
:param street: The number and street address of the address.
342342
:param city: The city of the address.
@@ -394,7 +394,7 @@ async def update_async(
394394
"""
395395
Asynchronous coroutine to update the AddressInstance
396396
397-
:param friendly_name: A descriptive string that you create to describe the address. It can be up to 64 characters long.
397+
:param friendly_name: A descriptive string that you create to describe the new address. It can be up to 64 characters long for Regulatory Compliance addresses and 32 characters long for Emergency addresses.
398398
:param customer_name: The name to associate with the address.
399399
:param street: The number and street address of the address.
400400
:param city: The city of the address.

‎twilio/rest/intelligence/v2/transcript/operator_result.py

Copy file name to clipboardExpand all lines: twilio/rest/intelligence/v2/transcript/operator_result.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class OperatorType(object):
2929
EXTRACT = "extract"
3030
EXTRACT_NORMALIZE = "extract_normalize"
3131
PII_EXTRACT = "pii_extract"
32+
TEXT_GENERATION = "text_generation"
33+
JSON = "json"
3234

3335
"""
3436
:ivar operator_type:
@@ -44,6 +46,7 @@ class OperatorType(object):
4446
:ivar label_probabilities: The labels probabilities. This might be available on conversation classify model outputs.
4547
:ivar extract_results: List of text extraction results. This might be available on classify-extract model outputs.
4648
:ivar text_generation_results: Output of a text generation operator for example Conversation Sumamary.
49+
:ivar json_results:
4750
:ivar transcript_sid: A 34 character string that uniquely identifies this Transcript.
4851
:ivar url: The URL of this resource.
4952
"""
@@ -84,6 +87,7 @@ def __init__(
8487
self.text_generation_results: Optional[Dict[str, object]] = payload.get(
8588
"text_generation_results"
8689
)
90+
self.json_results: Optional[Dict[str, object]] = payload.get("json_results")
8791
self.transcript_sid: Optional[str] = payload.get("transcript_sid")
8892
self.url: Optional[str] = payload.get("url")
8993

‎twilio/rest/messaging/v1/service/__init__.py

Copy file name to clipboardExpand all lines: twilio/rest/messaging/v1/service/__init__.py
+23Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
from twilio.base.page import Page
2323
from twilio.rest.messaging.v1.service.alpha_sender import AlphaSenderList
2424
from twilio.rest.messaging.v1.service.channel_sender import ChannelSenderList
25+
from twilio.rest.messaging.v1.service.destination_alpha_sender import (
26+
DestinationAlphaSenderList,
27+
)
2528
from twilio.rest.messaging.v1.service.phone_number import PhoneNumberList
2629
from twilio.rest.messaging.v1.service.short_code import ShortCodeList
2730
from twilio.rest.messaging.v1.service.us_app_to_person import UsAppToPersonList
@@ -302,6 +305,13 @@ def channel_senders(self) -> ChannelSenderList:
302305
"""
303306
return self._proxy.channel_senders
304307

308+
@property
309+
def destination_alpha_senders(self) -> DestinationAlphaSenderList:
310+
"""
311+
Access the destination_alpha_senders
312+
"""
313+
return self._proxy.destination_alpha_senders
314+
305315
@property
306316
def phone_numbers(self) -> PhoneNumberList:
307317
"""
@@ -359,6 +369,7 @@ def __init__(self, version: Version, sid: str):
359369

360370
self._alpha_senders: Optional[AlphaSenderList] = None
361371
self._channel_senders: Optional[ChannelSenderList] = None
372+
self._destination_alpha_senders: Optional[DestinationAlphaSenderList] = None
362373
self._phone_numbers: Optional[PhoneNumberList] = None
363374
self._short_codes: Optional[ShortCodeList] = None
364375
self._us_app_to_person: Optional[UsAppToPersonList] = None
@@ -620,6 +631,18 @@ def channel_senders(self) -> ChannelSenderList:
620631
)
621632
return self._channel_senders
622633

634+
@property
635+
def destination_alpha_senders(self) -> DestinationAlphaSenderList:
636+
"""
637+
Access the destination_alpha_senders
638+
"""
639+
if self._destination_alpha_senders is None:
640+
self._destination_alpha_senders = DestinationAlphaSenderList(
641+
self._version,
642+
self._solution["sid"],
643+
)
644+
return self._destination_alpha_senders
645+
623646
@property
624647
def phone_numbers(self) -> PhoneNumberList:
625648
"""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.