Skip to content

Commit

Permalink
[Librarian] Regenerated @ 38fb28edc02f73b8635b45a5612c5ae33eab39fe
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Aug 24, 2023
1 parent 6673090 commit 8fdee58
Show file tree
Hide file tree
Showing 89 changed files with 942 additions and 181 deletions.
17 changes: 17 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
twilio-oai changelog
====================
[2023-08-24] Version 1.48.0
---------------------------
**Api**
- Add new property `RiskCheck` for SMS pumping protection feature only (public beta to be available soon): Include this parameter with a value of `disable` to skip any kind of risk check on the respective message request

**Flex**
- Changing `sid<UO>` path param to `sid<UT>` in interaction channel participant update endpoint **(breaking change)**

**Messaging**
- Add Channel Sender api
- Fixing country code docs and removing Zipwhip references

**Numbers**
- Request status changed in numbers/v2/BulkHostedNumberOrders **(breaking change)**
- Add bulk hosting orders API under version `/v2


[2023-08-10] Version 1.47.0
---------------------------
**Insights**
Expand Down
2 changes: 1 addition & 1 deletion spec/json/twilio_accounts_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down
26 changes: 19 additions & 7 deletions spec/json/twilio_api_v2010.json
Original file line number Diff line number Diff line change
Expand Up @@ -3846,12 +3846,12 @@
"type": "string",
"format": "phone-number",
"nullable": true,
"description": "The sender's phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/wireless/tutorials/communications-guides/how-to-send-and-receive-text-messages), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses) (e.g., `whatsapp:+15554449999`). For incoming messages, this is the number or channel address of the sender. For outgoing messages, this value is a Twilio phone number, alphanumeric sender ID, short code, or channel address from which the message is sent."
"description": "The sender's phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). For incoming messages, this is the number or channel address of the sender. For outgoing messages, this value is a Twilio phone number, alphanumeric sender ID, short code, or channel address from which the message is sent."
},
"to": {
"type": "string",
"nullable": true,
"description": "The recipient's phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format) or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses) (e.g. `whatsapp:+15552229999`)"
"description": "The recipient's phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format) or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g. `whatsapp:+15552229999`)"
},
"date_updated": {
"type": "string",
Expand Down Expand Up @@ -3899,7 +3899,7 @@
"maxLength": 34,
"pattern": "^MG[0-9a-fA-F]{32}$",
"nullable": true,
"description": "The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) associated with the Message resource. The value is `null` if a Messaging Service was not used."
"description": "The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) associated with the Message resource. The value is `null` if a Messaging Service was not used."
},
"sid": {
"type": "string",
Expand Down Expand Up @@ -4004,6 +4004,13 @@
"fixed"
]
},
"message_enum_risk_check": {
"type": "string",
"enum": [
"enable",
"disable"
]
},
"api.v2010.account.message.message_feedback": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -9639,7 +9646,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down Expand Up @@ -20272,12 +20279,12 @@
"To": {
"type": "string",
"format": "phone-number",
"description": "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/sms/channels#channel-addresses), e.g. `whatsapp:+15552229999`."
"description": "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`."
},
"StatusCallback": {
"type": "string",
"format": "uri",
"description": "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/services/api). "
"description": "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). "
},
"ApplicationSid": {
"type": "string",
Expand Down Expand Up @@ -20349,10 +20356,15 @@
"type": "string",
"description": "For [Content Editor/API](https://www.twilio.com/docs/content) only: Key-value pairs of [Template variables](https://www.twilio.com/docs/content/using-variables-with-content-api) and their substitution values. `content_sid` parameter must also be provided. If values are not defined in the `content_variables` parameter, the [Template's default placeholder values](https://www.twilio.com/docs/content/content-api-resources#create-templates) are used."
},
"RiskCheck": {
"type": "string",
"$ref": "#/components/schemas/message_enum_risk_check",
"description": "For SMS pumping protection feature only (public beta to be available soon): Include this parameter with a value of `disable` to skip any kind of risk check on the respective message request."
},
"From": {
"type": "string",
"format": "phone-number",
"description": "The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/wireless/tutorials/communications-guides/how-to-send-and-receive-text-messages), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belong to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool."
"description": "The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belong to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool."
},
"MessagingServiceSid": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion spec/json/twilio_autopilot_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion spec/json/twilio_bulkexports_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion spec/json/twilio_chat_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion spec/json/twilio_chat_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion spec/json/twilio_chat_v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion spec/json/twilio_content_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down
32 changes: 16 additions & 16 deletions spec/json/twilio_conversations_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1468,12 +1468,12 @@
"identity": {
"type": "string",
"nullable": true,
"description": "A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters."
"description": "A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters."
},
"attributes": {
"type": "string",
"nullable": true,
"description": "An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned."
"description": "An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned."
},
"messaging_binding": {
"nullable": true,
Expand All @@ -1491,13 +1491,13 @@
"type": "string",
"format": "date-time",
"nullable": true,
"description": "The date that this resource was created."
"description": "The date on which this resource was created."
},
"date_updated": {
"type": "string",
"format": "date-time",
"nullable": true,
"description": "The date that this resource was last updated."
"description": "The date on which this resource was last updated."
},
"url": {
"type": "string",
Expand Down Expand Up @@ -2353,7 +2353,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down Expand Up @@ -7754,33 +7754,33 @@
"properties": {
"Identity": {
"type": "string",
"description": "A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters."
"description": "A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters."
},
"MessagingBinding.Address": {
"type": "string",
"description": "The address of the participant's device, e.g. a phone or WhatsApp number. Together with the Proxy address, this determines a participant uniquely. This field (with proxy_address) is only null when the participant is interacting from an SDK endpoint (see the 'identity' field)."
"description": "The address of the participant's device, e.g. a phone or WhatsApp number. Together with the Proxy address, this determines a participant uniquely. This field (with `proxy_address`) is only null when the participant is interacting from an SDK endpoint (see the `identity` field)."
},
"MessagingBinding.ProxyAddress": {
"type": "string",
"description": "The address of the Twilio phone number (or WhatsApp number) that the participant is in contact with. This field, together with participant address, is only null when the participant is interacting from an SDK endpoint (see the 'identity' field)."
"description": "The address of the Twilio phone number (or WhatsApp number) that the participant is in contact with. This field, together with participant address, is only null when the participant is interacting from an SDK endpoint (see the `identity` field)."
},
"DateCreated": {
"type": "string",
"format": "date-time",
"description": "The date that this resource was created."
"description": "The date on which this resource was created."
},
"DateUpdated": {
"type": "string",
"format": "date-time",
"description": "The date that this resource was last updated."
"description": "The date on which this resource was last updated."
},
"Attributes": {
"type": "string",
"description": "An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned."
"description": "An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned."
},
"MessagingBinding.ProjectedAddress": {
"type": "string",
"description": "The address of the Twilio phone number that is used in Group MMS. Communication mask for the Conversation participant with Identity."
"description": "The address of the Twilio phone number that is used in Group MMS."
},
"RoleSid": {
"type": "string",
Expand Down Expand Up @@ -8006,20 +8006,20 @@
"DateCreated": {
"type": "string",
"format": "date-time",
"description": "The date that this resource was created."
"description": "The date on which this resource was created."
},
"DateUpdated": {
"type": "string",
"format": "date-time",
"description": "The date that this resource was last updated."
"description": "The date on which this resource was last updated."
},
"Identity": {
"type": "string",
"description": "A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters."
"description": "A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters."
},
"Attributes": {
"type": "string",
"description": "An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned."
"description": "An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned."
},
"RoleSid": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion spec/json/twilio_events_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down
4 changes: 2 additions & 2 deletions spec/json/twilio_flex_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down Expand Up @@ -5096,7 +5096,7 @@
"type": "string",
"minLength": 34,
"maxLength": 34,
"pattern": "^UO[0-9a-fA-F]{32}$"
"pattern": "^UT[0-9a-fA-F]{32}$"
},
"required": true
}
Expand Down
2 changes: 1 addition & 1 deletion spec/json/twilio_flex_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion spec/json/twilio_frontline_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.47.0"
"version": "1.48.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down
Loading

0 comments on commit 8fdee58

Please sign in to comment.