Skip to content

Commit

Permalink
[Librarian] Regenerated @ b8a450aff168b5449d658833256ca2354e3ecbbc df…
Browse files Browse the repository at this point in the history
…505752cdef00170b029d7b720bbc359933bf82
  • Loading branch information
twilio-dx committed Jun 6, 2024
1 parent 6760ac2 commit f20b62e
Show file tree
Hide file tree
Showing 17 changed files with 3,159 additions and 11 deletions.
12 changes: 12 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ twilio-python Changelog

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

[2024-06-06] Version 9.1.1
--------------------------
**Api**
- Mark MaxPrice as obsolete

**Lookups**
- Update examples for `phone_number_quality_score`

**Messaging**
- List tollfree verifications on parent account and all sub-accounts


[2024-05-24] Version 9.1.0
--------------------------
**Library - Chore**
Expand Down
15 changes: 15 additions & 0 deletions twilio/rest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from twilio.rest.intelligence import Intelligence
from twilio.rest.ip_messaging import IpMessaging
from twilio.rest.lookups import Lookups
from twilio.rest.marketplace import Marketplace
from twilio.rest.messaging import Messaging
from twilio.rest.microvisor import Microvisor
from twilio.rest.monitor import Monitor
Expand Down Expand Up @@ -134,6 +135,7 @@ def __init__(
self._intelligence: Optional["Intelligence"] = None
self._ip_messaging: Optional["IpMessaging"] = None
self._lookups: Optional["Lookups"] = None
self._marketplace: Optional["Marketplace"] = None
self._messaging: Optional["Messaging"] = None
self._microvisor: Optional["Microvisor"] = None
self._monitor: Optional["Monitor"] = None
Expand Down Expand Up @@ -325,6 +327,19 @@ def lookups(self) -> "Lookups":
self._lookups = Lookups(self)
return self._lookups

@property
def marketplace(self) -> "Marketplace":
"""
Access the Marketplace Twilio Domain
:returns: Marketplace Twilio Domain
"""
if self._marketplace is None:
from twilio.rest.marketplace import Marketplace

self._marketplace = Marketplace(self)
return self._marketplace

@property
def messaging(self) -> "Messaging":
"""
Expand Down
8 changes: 4 additions & 4 deletions twilio/rest/api/v2010/account/message/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,10 +509,10 @@ def create(
: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`.
: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).
: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.
:param max_price: [DEPRECATED] This parameter will no longer have any effect as of 2024-06-03.
:param max_price: [OBSOLETE] This parameter will no longer have any effect as of 2024-06-03.
: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`.
:param attempt: Total number of attempts made (including this request) to send the message regardless of the provider used
: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)
: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)
:param force_delivery: Reserved
:param content_retention:
:param address_retention:
Expand Down Expand Up @@ -607,10 +607,10 @@ async def create_async(
: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`.
: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).
: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.
:param max_price: [DEPRECATED] This parameter will no longer have any effect as of 2024-06-03.
:param max_price: [OBSOLETE] This parameter will no longer have any effect as of 2024-06-03.
: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`.
:param attempt: Total number of attempts made (including this request) to send the message regardless of the provider used
: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)
: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)
:param force_delivery: Reserved
:param content_retention:
:param address_retention:
Expand Down
2 changes: 1 addition & 1 deletion twilio/rest/content/v1/legacy_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class LegacyContentInstance(InstanceResource):
:ivar friendly_name: A string name used to describe the Content resource. Not visible to the end recipient.
:ivar language: Two-letter (ISO 639-1) language code (e.g., en) identifying the language the Content resource is in.
:ivar variables: Defines the default placeholder values for variables included in the Content resource. e.g. {\"1\": \"Customer_Name\"}.
:ivar types: The [Content types](https://www.twilio.com/docs/content-api/content-types-overview) (e.g. twilio/text) for this Content resource.
:ivar types: The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
: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
:ivar legacy_body: The string body field of the legacy content template associated with this Content resource
:ivar url: The URL of the resource, relative to `https://content.twilio.com`.
Expand Down
Loading

0 comments on commit f20b62e

Please sign in to comment.