Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitd120aff

Browse files
committed
[Librarian] Regenerated @ 6b85410bb6ecf3aa579d1fa442c7bb74c62cf6f0 ae4a12dded508a988aeaca39721be27984e9aeeb
1 parentffc0aa1 commitd120aff

File tree

5 files changed

+600
-4
lines changed

5 files changed

+600
-4
lines changed

‎CHANGES.md

Lines 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

Lines 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 thenewaddress. 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 thenewaddress. 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 thenewaddress. 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 thenewaddress. 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

Lines 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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
fromtwilio.base.pageimportPage
2323
fromtwilio.rest.messaging.v1.service.alpha_senderimportAlphaSenderList
2424
fromtwilio.rest.messaging.v1.service.channel_senderimportChannelSenderList
25+
fromtwilio.rest.messaging.v1.service.destination_alpha_senderimport (
26+
DestinationAlphaSenderList,
27+
)
2528
fromtwilio.rest.messaging.v1.service.phone_numberimportPhoneNumberList
2629
fromtwilio.rest.messaging.v1.service.short_codeimportShortCodeList
2730
fromtwilio.rest.messaging.v1.service.us_app_to_personimportUsAppToPersonList
@@ -302,6 +305,13 @@ def channel_senders(self) -> ChannelSenderList:
302305
"""
303306
returnself._proxy.channel_senders
304307

308+
@property
309+
defdestination_alpha_senders(self)->DestinationAlphaSenderList:
310+
"""
311+
Access the destination_alpha_senders
312+
"""
313+
returnself._proxy.destination_alpha_senders
314+
305315
@property
306316
defphone_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
returnself._channel_senders
622633

634+
@property
635+
defdestination_alpha_senders(self)->DestinationAlphaSenderList:
636+
"""
637+
Access the destination_alpha_senders
638+
"""
639+
ifself._destination_alpha_sendersisNone:
640+
self._destination_alpha_senders=DestinationAlphaSenderList(
641+
self._version,
642+
self._solution["sid"],
643+
)
644+
returnself._destination_alpha_senders
645+
623646
@property
624647
defphone_numbers(self)->PhoneNumberList:
625648
"""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp