8000 [Librarian] Regenerated @ b8a450aff168b5449d658833256ca2354e3ecbbc df… · CodeAiModels/twilio-python@f20b62e · GitHub
[go: up one dir, main page]

Skip to content

Commit f20b62e

Browse files
committed
[Librarian] Regenerated @ b8a450aff168b5449d658833256ca2354e3ecbbc df505752cdef00170b029d7b720bbc359933bf82
1 parent 6760ac2 commit f20b62e

File tree

17 files changed

+3159
-11
lines changed

17 files changed

+3159
-11
lines changed

CHANGES.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ twilio-python Changelog
33

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

6+
[2024-06-06] Version 9.1.1
7+
--------------------------
8+
**Api**
9+
- Mark MaxPrice as obsolete
10+
11+
**Lookups**
12+
- Update examples for `phone_number_quality_score`
13+
14+
**Messaging**
15+
- List tollfree verifications on parent account and all sub-accounts
16+
17+
618
[2024-05-24] Version 9.1.0
719
--------------------------
820
**Library - Chore**

twilio/rest/__init__.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
from twilio.rest.intelligence import Intelligence
2828
from twilio.rest.ip_messaging import IpMessaging
2929
from twilio.rest.lookups import Lookups
30+
from twilio.rest.marketplace import Marketplace
3031
from twilio.rest.messaging import Messaging
3132
from twilio.rest.microvisor import Microvisor
3233
from twilio.rest.monitor import Monitor
@@ -134,6 +135,7 @@ def __init__(
134135
self._intelligence: Optional["Intelligence"] = None
135136
self._ip_messaging: Optional["IpMessaging"] = None
136137
self._lookups: Optional["Lookups"] = None
138+
self._marketplace: Optional["Marketplace"] = None
137139
self._messaging: Optional["Messaging"] = None
138140
self._microvisor: Optional["Microvisor"] = None
139141
self._monitor: Optional["Monitor"] = None
@@ -325,6 +327,19 @@ def lookups(self) -> "Lookups":
325327
self._lookups = Lookups(self)
326328
return self._lookups
327329

330+
@property
331+
def marketplace(self) -> "Marketplace":
332+
"""
333+
Access the Marketplace Twilio Domain
334+
335+
:returns: Marketplace Twilio Domain
336+
"""
337+
if self._marketplace is None:
338+
from twilio.rest.marketplace import Marketplace
339+
340+
self._marketplace = Marketplace(self)
341+
return self._marketplace
342+
328343
@property
329344
def messaging(self) -> "Messaging":
330345
"""

twilio/rest/api/v2010/account/message/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -509,10 +509,10 @@ def create(
509509
:param to: The recipient's phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (for SMS/MMS) or [channel address](https://www.twilio.com/docs/messaging/channels), e.g. `whatsapp:+15552229999`.
510510
:param status_callback: The URL of the endpoint to which Twilio sends [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url). URL must contain a valid hostname and underscores are not allowed. If you include this parameter with the `messaging_service_sid`, Twilio uses this URL instead of the Status Callback URL of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource).
511511
:param application_sid: The SID of the associated [TwiML Application](https://www.twilio.com/docs/usage/api/applications). [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url) are sent to the TwiML App's `message_status_callback` URL. Note that the `status_callback` parameter of a request takes priority over the `application_sid` parameter; if both are included `application_sid` is ignored.
512-
:param max_price: [DEPRECATED] This parameter will no longer have any effect as of 2024-06-03.
512+
:param max_price: [OBSOLETE] This parameter will no longer have any effect as of 2024-06-03.
513513
:param provide_feedback: Boolean indicating whether or not you intend to provide delivery confirmation feedback to Twilio (used in conjunction with the [Message Feedback subresource](https://www.twilio.com/docs/sms/api/message-feedback-resource)). Default value is `false`.
514514
:param attempt: Total number of attempts made (including this request) to send the message regardless of the provider used
515-
:param validity_period: The maximum length in seconds that the Message can remain in Twilio's outgoing message queue. If a queued Message exceeds the `validity_period`, the Message is not sent. Accepted values are integers from `1` to `14400`. Default value is `14400`. A `validity_period` greater than `5` is recommended. [Learn more about the validity period](https://www.twilio.com/blog/take-more-control-of-outbound-messages-using-validity-period-html)
515+
:param validity_period: The maximum length in seconds that the Message can remain in Twilio's outgoing message queue. If a queued Message exceeds the `validity_period`, the Message is not sent. Accepted values are integers from `1` to `36000`. Default value is `36000`. A `validity_period` greater than `5` is recommended. [Learn more about the validity period](https://www.twilio.com/blog/take-more-control-of-outbound-messages-using-validity-period-html)
516516
:param force_delivery: Reserved
517517
:param content_retention:
518518
:param address_retention:
@@ -607,10 +607,10 @@ async def create_async(
607607
:param to: The recipient's phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (for SMS/MMS) or [channel address](https://www.twilio.com/docs/messaging/channels), e.g. `whatsapp:+15552229999`.
608608
:param status_callback: The URL of the endpoint to which Twilio sends [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url). URL must contain a valid hostname and underscores are not allowed. If you include this parameter with the `messaging_service_sid`, Twilio uses this URL instead of the Status Callback URL of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource).
609609
:param application_sid: The SID of the associated [TwiML Application](https://www.twilio.com/docs/usage/api/applications). [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url) are sent to the TwiML App's `message_status_callback` URL. Note that the `status_callback` parameter of a request takes priority over the `application_sid` parameter; if both are included `application_sid` is ignored.
610-
:param max_price: [DEPRECATED] This parameter will no longer have any effect as of 2024-06-03.
610+
:param max_price: [OBSOLETE] This parameter will no longer have any effect as of 2024-06-03.
611611
:param provide_feedback: Boolean indicating whether or not you intend to provide delivery confirmation feedback to Twilio (used in conjunction with the [Message Feedback subresource](https://www.twilio.com/docs/sms/api/message-feedback-resource)). Default value is `false`.
612612
:param attempt: Total number of attempts made (including this request) to send the message regardless of the provider used
613-
:param validity_period: The maximum length in seconds that the Message can remain in Twilio's outgoing message queue. If a queued Message exceeds the `validity_per A042 iod`, the Message is not sent. Accepted values are integers from `1` to `14400`. Default value is `14400`. A `validity_period` greater than `5` is recommended. [Learn more about the validity period](https://www.twilio.com/blog/take-more-control-of-outbound-messages-using-validity-period-html)
613+
:param validity_period: The maximum length in seconds that the Message can remain in Twilio's outgoing message queue. If a queued Message exceeds the `validity_period`, the Message is not sent. Accepted values are integers from `1` to `36000`. Default value is `36000`. A `validity_period` greater than `5` is recommended. [Learn more about the validity period](https://www.twilio.com/blog/take-more-control-of-outbound-messages-using-validity-period-html)
614614
:param force_delivery: Reserved
615615
:param content_retention:
616616
:param address_retention:

twilio/rest/content/v1/legacy_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class LegacyContentInstance(InstanceResource):
3131
:ivar friendly_name: A string name used to describe the Content resource. Not visible to the end recipient.
3232
:ivar language: Two-letter (ISO 639-1) language code (e.g., en) identifying the language the Content resource is in.
3333
:ivar variables: Defines the default placeholder values for variables included in the Content resource. e.g. {\"1\": \"Customer_Name\"}.
34-
:ivar types: The [Content types](https://www.twilio.com/docs/content-api/content-types-overview) (e.g. twilio/text) for this Content resource.
34+
:ivar types: The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
3535
:ivar legacy_template_name: The string name of the legacy content template associated with this Content resource, unique across all template names for its account. Only lowercase letters, numbers and underscores are allowed
3636
:ivar legacy_body: The string body field of the legacy content template associated with this Content resource
3737
:ivar url: The URL of the resource, relative to `https://content.twilio.com`.

0 commit comments

Comments
 (0)
0