From 7f9508915fa1f81d7e6d231cdf4d3998976d79e4 Mon Sep 17 00:00:00 2001 From: Twilio Date: Thu, 13 Jul 2023 08:02:46 -0700 Subject: [PATCH] [Librarian] Regenerated @ 5627c63bd23f159fdbe112bf727f87b79c3d4f74 --- CHANGES.md | 22 + spec/json/twilio_accounts_v1.json | 2 +- spec/json/twilio_api_v2010.json | 2 +- spec/json/twilio_autopilot_v1.json | 2 +- spec/json/twilio_bulkexports_v1.json | 2 +- spec/json/twilio_chat_v1.json | 2 +- spec/json/twilio_chat_v2.json | 2 +- spec/json/twilio_chat_v3.json | 2 +- spec/json/twilio_content_v1.json | 2 +- spec/json/twilio_conversations_v1.json | 14 +- spec/json/twilio_events_v1.json | 2 +- spec/json/twilio_flex_v1.json | 16 +- spec/json/twilio_flex_v2.json | 2 +- spec/json/twilio_frontline_v1.json | 2 +- spec/json/twilio_insights_v1.json | 2 +- spec/json/twilio_intelligence_v2.json | 2 +- spec/json/twilio_ip_messaging_v1.json | 2 +- spec/json/twilio_ip_messaging_v2.json | 2 +- spec/json/twilio_lookups_v1.json | 2 +- spec/json/twilio_lookups_v2.json | 2 +- spec/json/twilio_media_v1.json | 2 +- spec/json/twilio_messaging_v1.json | 707 ++++++++++++++++++++++++- spec/json/twilio_microvisor_v1.json | 6 +- spec/json/twilio_monitor_v1.json | 2 +- spec/json/twilio_notify_v1.json | 2 +- spec/json/twilio_numbers_v1.json | 2 +- spec/json/twilio_numbers_v2.json | 17 +- spec/json/twilio_oauth_v1.json | 2 +- spec/json/twilio_preview.json | 2 +- spec/json/twilio_pricing_v1.json | 2 +- spec/json/twilio_pricing_v2.json | 2 +- spec/json/twilio_proxy_v1.json | 2 +- spec/json/twilio_routes_v2.json | 2 +- spec/json/twilio_serverless_v1.json | 2 +- spec/json/twilio_studio_v1.json | 2 +- spec/json/twilio_studio_v2.json | 2 +- spec/json/twilio_supersim_v1.json | 2 +- spec/json/twilio_sync_v1.json | 2 +- spec/json/twilio_taskrouter_v1.json | 55 +- spec/json/twilio_trunking_v1.json | 2 +- spec/json/twilio_trusthub_v1.json | 2 +- spec/json/twilio_verify_v2.json | 14 +- spec/json/twilio_video_v1.json | 2 +- spec/json/twilio_voice_v1.json | 2 +- spec/json/twilio_wireless_v1.json | 2 +- spec/yaml/twilio_accounts_v1.yaml | 2 +- spec/yaml/twilio_api_v2010.yaml | 2 +- spec/yaml/twilio_autopilot_v1.yaml | 2 +- spec/yaml/twilio_bulkexports_v1.yaml | 2 +- spec/yaml/twilio_chat_v1.yaml | 2 +- spec/yaml/twilio_chat_v2.yaml | 2 +- spec/yaml/twilio_chat_v3.yaml | 2 +- spec/yaml/twilio_content_v1.yaml | 2 +- spec/yaml/twilio_conversations_v1.yaml | 10 +- spec/yaml/twilio_events_v1.yaml | 2 +- spec/yaml/twilio_flex_v1.yaml | 15 +- spec/yaml/twilio_flex_v2.yaml | 2 +- spec/yaml/twilio_frontline_v1.yaml | 2 +- spec/yaml/twilio_insights_v1.yaml | 2 +- spec/yaml/twilio_intelligence_v2.yaml | 2 +- spec/yaml/twilio_ip_messaging_v1.yaml | 2 +- spec/yaml/twilio_ip_messaging_v2.yaml | 2 +- spec/yaml/twilio_lookups_v1.yaml | 2 +- spec/yaml/twilio_lookups_v2.yaml | 2 +- spec/yaml/twilio_media_v1.yaml | 2 +- spec/yaml/twilio_messaging_v1.yaml | 579 +++++++++++++++++++- spec/yaml/twilio_microvisor_v1.yaml | 5 +- spec/yaml/twilio_monitor_v1.yaml | 2 +- spec/yaml/twilio_notify_v1.yaml | 2 +- spec/yaml/twilio_numbers_v1.yaml | 2 +- spec/yaml/twilio_numbers_v2.yaml | 15 +- spec/yaml/twilio_oauth_v1.yaml | 2 +- spec/yaml/twilio_preview.yaml | 2 +- spec/yaml/twilio_pricing_v1.yaml | 2 +- spec/yaml/twilio_pricing_v2.yaml | 2 +- spec/yaml/twilio_proxy_v1.yaml | 2 +- spec/yaml/twilio_routes_v2.yaml | 2 +- spec/yaml/twilio_serverless_v1.yaml | 2 +- spec/yaml/twilio_studio_v1.yaml | 2 +- spec/yaml/twilio_studio_v2.yaml | 2 +- spec/yaml/twilio_supersim_v1.yaml | 2 +- spec/yaml/twilio_sync_v1.yaml | 2 +- spec/yaml/twilio_taskrouter_v1.yaml | 53 +- spec/yaml/twilio_trunking_v1.yaml | 2 +- spec/yaml/twilio_trusthub_v1.yaml | 2 +- spec/yaml/twilio_verify_v2.yaml | 13 +- spec/yaml/twilio_video_v1.yaml | 2 +- spec/yaml/twilio_voice_v1.yaml | 2 +- spec/yaml/twilio_wireless_v1.yaml | 2 +- 89 files changed, 1586 insertions(+), 103 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 60be5b7b..f7c1368a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,27 @@ twilio-oai changelog ==================== +[2023-07-13] Version 1.46.0 +--------------------------- +**Flex** +- Adding `interaction_context_sid` as optional parameter in Interactions API + +**Messaging** +- Making visiblity public for tollfree_verification API + +**Numbers** +- Remove Sms capability property from HNO creation under version `/v2` of HNO API. **(breaking change)** +- Update required properties in LOA creation under version `/v2` of Authorization document API. **(breaking change)** + +**Taskrouter** +- Add api to fetch task queue statistics for multiple TaskQueues + +**Verify** +- Add `RiskCheck` optional parameter on Verification creation. + +**Twiml** +- Add Google Voices and languages + + [2023-06-28] Version 1.45.0 --------------------------- **Lookups** diff --git a/spec/json/twilio_accounts_v1.json b/spec/json/twilio_accounts_v1.json index adb90c47..8f18e788 100644 --- a/spec/json/twilio_accounts_v1.json +++ b/spec/json/twilio_accounts_v1.json @@ -186,7 +186,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_api_v2010.json b/spec/json/twilio_api_v2010.json index c473ecdd..fd05568e 100644 --- a/spec/json/twilio_api_v2010.json +++ b/spec/json/twilio_api_v2010.json @@ -9597,7 +9597,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_autopilot_v1.json b/spec/json/twilio_autopilot_v1.json index 3f61a333..b5c6bb9d 100644 --- a/spec/json/twilio_autopilot_v1.json +++ b/spec/json/twilio_autopilot_v1.json @@ -954,7 +954,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_bulkexports_v1.json b/spec/json/twilio_bulkexports_v1.json index 583b063c..606dd00c 100644 --- a/spec/json/twilio_bulkexports_v1.json +++ b/spec/json/twilio_bulkexports_v1.json @@ -271,7 +271,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_chat_v1.json b/spec/json/twilio_chat_v1.json index fd4557bf..8e667662 100644 --- a/spec/json/twilio_chat_v1.json +++ b/spec/json/twilio_chat_v1.json @@ -788,7 +788,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_chat_v2.json b/spec/json/twilio_chat_v2.json index 519dc25f..249969b0 100644 --- a/spec/json/twilio_chat_v2.json +++ b/spec/json/twilio_chat_v2.json @@ -1146,7 +1146,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_chat_v3.json b/spec/json/twilio_chat_v3.json index 8e2efce1..161464c8 100644 --- a/spec/json/twilio_chat_v3.json +++ b/spec/json/twilio_chat_v3.json @@ -127,7 +127,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_content_v1.json b/spec/json/twilio_content_v1.json index 34bb4555..938a147e 100644 --- a/spec/json/twilio_content_v1.json +++ b/spec/json/twilio_content_v1.json @@ -238,7 +238,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_conversations_v1.json b/spec/json/twilio_conversations_v1.json index 21725946..a38388df 100644 --- a/spec/json/twilio_conversations_v1.json +++ b/spec/json/twilio_conversations_v1.json @@ -2353,7 +2353,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { @@ -3390,7 +3390,8 @@ ], "pathType": "list", "dependentProperties": { - "delivery_receipt": "{conversation_sid: conversation_sid, message_sid: sid}" + "delivery_receipt": "{conversation_sid: conversation_sid, message_sid: sid}", + "conversations/v1/conversation_message_metadata": "{conversation_sid: conversation_sid, message_sid: sid}" }, "parent": "/Conversations/{Sid}" }, @@ -3619,7 +3620,8 @@ ], "pathType": "instance", "dependentProperties": { - "delivery_receipt": "{conversation_sid: conversation_sid, message_sid: sid}" + "delivery_receipt": "{conversation_sid: conversation_sid, message_sid: sid}", + "conversations/v1/conversation_message_metadata": "{conversation_sid: conversation_sid, message_sid: sid}" }, "parent": "/Conversations/{Sid}" }, @@ -6763,7 +6765,8 @@ ], "pathType": "list", "dependentProperties": { - "delivery_receipt": "{chat_service_sid: chat_service_sid, conversation_sid: conversation_sid, message_sid: sid}" + "delivery_receipt": "{chat_service_sid: chat_service_sid, conversation_sid: conversation_sid, message_sid: sid}", + "conversations/v1/service_conversation_message_metadata": "{chat_service_sid: chat_service_sid, conversation_sid: conversation_sid, message_sid: sid}" }, "parent": "/Services/{ChatServiceSid}/Conversations/{Sid}" }, @@ -7016,7 +7019,8 @@ ], "pathType": "instance", "dependentProperties": { - "delivery_receipt": "{chat_service_sid: chat_service_sid, conversation_sid: conversation_sid, message_sid: sid}" + "delivery_receipt": "{chat_service_sid: chat_service_sid, conversation_sid: conversation_sid, message_sid: sid}", + "conversations/v1/service_conversation_message_metadata": "{chat_service_sid: chat_service_sid, conversation_sid: conversation_sid, message_sid: sid}" }, "parent": "/Services/{ChatServiceSid}/Conversations/{Sid}" }, diff --git a/spec/json/twilio_events_v1.json b/spec/json/twilio_events_v1.json index a109df48..36a03523 100644 --- a/spec/json/twilio_events_v1.json +++ b/spec/json/twilio_events_v1.json @@ -320,7 +320,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_flex_v1.json b/spec/json/twilio_flex_v1.json index d7776f0b..b305c25e 100644 --- a/spec/json/twilio_flex_v1.json +++ b/spec/json/twilio_flex_v1.json @@ -987,6 +987,13 @@ "type": "object", "format": "uri-map", "nullable": true + }, + "interaction_context_sid": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^HQ[0-9a-fA-F]{32}$", + "nullable": true } } }, @@ -1254,7 +1261,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { @@ -4209,6 +4216,13 @@ }, "Routing": { "description": "The Interaction's routing logic." + }, + "InteractionContextSid": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^HQ[0-9a-fA-F]{32}$", + "description": "The Interaction context sid is used for adding a context lookup sid" } }, "required": [ diff --git a/spec/json/twilio_flex_v2.json b/spec/json/twilio_flex_v2.json index 46ca2d12..6657cb65 100644 --- a/spec/json/twilio_flex_v2.json +++ b/spec/json/twilio_flex_v2.json @@ -40,7 +40,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_frontline_v1.json b/spec/json/twilio_frontline_v1.json index 2ad0776f..f5dd5c5c 100644 --- a/spec/json/twilio_frontline_v1.json +++ b/spec/json/twilio_frontline_v1.json @@ -74,7 +74,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_insights_v1.json b/spec/json/twilio_insights_v1.json index c39270ba..5004eb5c 100644 --- a/spec/json/twilio_insights_v1.json +++ b/spec/json/twilio_insights_v1.json @@ -1502,7 +1502,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_intelligence_v2.json b/spec/json/twilio_intelligence_v2.json index e7dacbdc..7662a36f 100644 --- a/spec/json/twilio_intelligence_v2.json +++ b/spec/json/twilio_intelligence_v2.json @@ -403,7 +403,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_ip_messaging_v1.json b/spec/json/twilio_ip_messaging_v1.json index 5adeece4..2b2c76e0 100644 --- a/spec/json/twilio_ip_messaging_v1.json +++ b/spec/json/twilio_ip_messaging_v1.json @@ -680,7 +680,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_ip_messaging_v2.json b/spec/json/twilio_ip_messaging_v2.json index 1a86dd74..50bbeff4 100644 --- a/spec/json/twilio_ip_messaging_v2.json +++ b/spec/json/twilio_ip_messaging_v2.json @@ -989,7 +989,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_lookups_v1.json b/spec/json/twilio_lookups_v1.json index 66f55662..a1ffe9e2 100644 --- a/spec/json/twilio_lookups_v1.json +++ b/spec/json/twilio_lookups_v1.json @@ -69,7 +69,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_lookups_v2.json b/spec/json/twilio_lookups_v2.json index fbfae39b..4b9795e0 100644 --- a/spec/json/twilio_lookups_v2.json +++ b/spec/json/twilio_lookups_v2.json @@ -119,7 +119,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_media_v1.json b/spec/json/twilio_media_v1.json index de9a20d4..446090e2 100644 --- a/spec/json/twilio_media_v1.json +++ b/spec/json/twilio_media_v1.json @@ -415,7 +415,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_messaging_v1.json b/spec/json/twilio_messaging_v1.json index be646340..d89d108c 100644 --- a/spec/json/twilio_messaging_v1.json +++ b/spec/json/twilio_messaging_v1.json @@ -882,6 +882,235 @@ } } }, + "messaging.v1.tollfree_verification": { + "type": "object", + "properties": { + "sid": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^HH[0-9a-fA-F]{32}$", + "nullable": true, + "description": "The unique string to identify Tollfree Verification." + }, + "account_sid": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^AC[0-9a-fA-F]{32}$", + "nullable": true, + "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Tollfree Verification resource." + }, + "customer_profile_sid": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^BU[0-9a-fA-F]{32}$", + "nullable": true, + "description": "Customer's Profile Bundle BundleSid." + }, + "trust_product_sid": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^BU[0-9a-fA-F]{32}$", + "nullable": true, + "description": "Tollfree TrustProduct Bundle BundleSid." + }, + "date_created": { + "type": "string", + "format": "date-time", + "nullable": true, + "description": "The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format." + }, + "date_updated": { + "type": "string", + "format": "date-time", + "nullable": true, + "description": "The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format." + }, + "regulated_item_sid": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^RA[0-9a-fA-F]{32}$", + "nullable": true, + "description": "The SID of the Regulated Item." + }, + "business_name": { + "type": "string", + "nullable": true, + "description": "The name of the business or organization using the Tollfree number." + }, + "business_street_address": { + "type": "string", + "nullable": true, + "description": "The address of the business or organization using the Tollfree number." + }, + "business_street_address2": { + "type": "string", + "nullable": true, + "description": "The address of the business or organization using the Tollfree number." + }, + "business_city": { + "type": "string", + "nullable": true, + "description": "The city of the business or organization using the Tollfree number." + }, + "business_state_province_region": { + "type": "string", + "nullable": true, + "description": "The state/province/region of the business or organization using the Tollfree number." + }, + "business_postal_code": { + "type": "string", + "nullable": true, + "description": "The postal code of the business or organization using the Tollfree number." + }, + "business_country": { + "type": "string", + "nullable": true, + "description": "The country of the business or organization using the Tollfree number." + }, + "business_website": { + "type": "string", + "nullable": true, + "description": "The website of the business or organization using the Tollfree number." + }, + "business_contact_first_name": { + "type": "string", + "nullable": true, + "description": "The first name of the contact for the business or organization using the Tollfree number." + }, + "business_contact_last_name": { + "type": "string", + "nullable": true, + "description": "The last name of the contact for the business or organization using the Tollfree number." + }, + "business_contact_email": { + "type": "string", + "nullable": true, + "description": "The email address of the contact for the business or organization using the Tollfree number." + }, + "business_contact_phone": { + "type": "string", + "format": "phone-number", + "nullable": true, + "description": "The phone number of the contact for the business or organization using the Tollfree number." + }, + "notification_email": { + "type": "string", + "nullable": true, + "description": "The email address to receive the notification about the verification result. ." + }, + "use_case_categories": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true, + "description": "The category of the use case for the Tollfree Number. List as many are applicable.." + }, + "use_case_summary": { + "type": "string", + "nullable": true, + "description": "Use this to further explain how messaging is used by the business or organization." + }, + "production_message_sample": { + "type": "string", + "nullable": true, + "description": "An example of message content, i.e. a sample message." + }, + "opt_in_image_urls": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true, + "description": "Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL." + }, + "opt_in_type": { + "type": "string", + "$ref": "#/components/schemas/tollfree_verification_enum_opt_in_type", + "nullable": true, + "description": "Describe how a user opts-in to text messages." + }, + "message_volume": { + "type": "string", + "nullable": true, + "description": "Estimate monthly volume of messages from the Tollfree Number." + }, + "additional_information": { + "type": "string", + "nullable": true, + "description": "Additional information to be provided for verification." + }, + "tollfree_phone_number_sid": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^PN[0-9a-fA-F]{32}$", + "nullable": true, + "description": "The SID of the Phone Number associated with the Tollfree Verification." + }, + "status": { + "type": "string", + "$ref": "#/components/schemas/tollfree_verification_enum_status", + "nullable": true, + "description": "The compliance status of the Tollfree Verification record." + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true, + "description": "The absolute URL of the Tollfree Verification resource." + }, + "rejection_reason": { + "type": "string", + "nullable": true, + "description": "The rejection reason given when a Tollfree Verification has been rejected." + }, + "error_code": { + "type": "integer", + "nullable": true, + "description": "The error code given when a Tollfree Verification has been rejected." + }, + "edit_expiration": { + "type": "string", + "format": "date-time", + "nullable": true, + "description": "The date and time when the ability to edit a rejected verification expires." + }, + "resource_links": { + "nullable": true, + "description": "The URLs of the documents associated with the Tollfree Verification resource." + }, + "external_reference_id": { + "type": "string", + "nullable": true, + "description": "An optional external reference ID supplied by customer and echoed back on status retrieval." + } + } + }, + "tollfree_verification_enum_status": { + "type": "string", + "enum": [ + "PENDING_REVIEW", + "IN_REVIEW", + "TWILIO_APPROVED", + "TWILIO_REJECTED" + ] + }, + "tollfree_verification_enum_opt_in_type": { + "type": "string", + "enum": [ + "VERBAL", + "WEB_FORM", + "PAPER_FORM", + "VIA_TEXT", + "MOBILE_QR_CODE" + ] + }, "messaging.v1.service.us_app_to_person": { "type": "object", "properties": { @@ -1082,7 +1311,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { @@ -3653,6 +3882,482 @@ ] } }, + "/v1/Tollfree/Verifications/{Sid}": { + "servers": [ + { + "url": "https://messaging.twilio.com" + } + ], + "description": "A Messaging resource to add and fetch Tollfree Verifications.", + "x-twilio": { + "defaultOutputProperties": [ + "sid", + "date_created" + ], + "pathType": "instance", + "mountName": "tollfree_verifications" + }, + "get": { + "description": "", + "parameters": [ + { + "name": "Sid", + "in": "path", + "description": "The unique string to identify Tollfree Verification.", + "schema": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^HH[0-9a-fA-F]{32}$" + }, + "required": true + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/messaging.v1.tollfree_verification" + } + } + }, + "description": "OK" + } + }, + "security": [ + { + "accountSid_authToken": [] + } + ], + "operationId": "FetchTollfreeVerification", + "x-maturity": [ + "Beta" + ] + }, + "post": { + "description": "", + "parameters": [ + { + "name": "Sid", + "in": "path", + "description": "The unique string to identify Tollfree Verification.", + "schema": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^HH[0-9a-fA-F]{32}$" + }, + "required": true + } + ], + "responses": { + "202": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/messaging.v1.tollfree_verification" + } + } + }, + "description": "Accepted" + } + }, + "security": [ + { + "accountSid_authToken": [] + } + ], + "operationId": "UpdateTollfreeVerification", + "x-maturity": [ + "Beta" + ], + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "type": "object", + "title": "UpdateTollfreeVerificationRequest", + "properties": { + "BusinessName": { + "type": "string", + "description": "The name of the business or organization using the Tollfree number." + }, + "BusinessWebsite": { + "type": "string", + "description": "The website of the business or organization using the Tollfree number." + }, + "NotificationEmail": { + "type": "string", + "description": "The email address to receive the notification about the verification result. ." + }, + "UseCaseCategories": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The category of the use case for the Tollfree Number. List as many are applicable.." + }, + "UseCaseSummary": { + "type": "string", + "description": "Use this to further explain how messaging is used by the business or organization." + }, + "ProductionMessageSample": { + "type": "string", + "description": "An example of message content, i.e. a sample message." + }, + "OptInImageUrls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL." + }, + "OptInType": { + "type": "string", + "$ref": "#/components/schemas/tollfree_verification_enum_opt_in_type", + "description": "Describe how a user opts-in to text messages." + }, + "MessageVolume": { + "type": "string", + "description": "Estimate monthly volume of messages from the Tollfree Number." + }, + "BusinessStreetAddress": { + "type": "string", + "description": "The address of the business or organization using the Tollfree number." + }, + "BusinessStreetAddress2": { + "type": "string", + "description": "The address of the business or organization using the Tollfree number." + }, + "BusinessCity": { + "type": "string", + "description": "The city of the business or organization using the Tollfree number." + }, + "BusinessStateProvinceRegion": { + "type": "string", + "description": "The state/province/region of the business or organization using the Tollfree number." + }, + "BusinessPostalCode": { + "type": "string", + "description": "The postal code of the business or organization using the Tollfree number." + }, + "BusinessCountry": { + "type": "string", + "description": "The country of the business or organization using the Tollfree number." + }, + "AdditionalInformation": { + "type": "string", + "description": "Additional information to be provided for verification." + }, + "BusinessContactFirstName": { + "type": "string", + "description": "The first name of the contact for the business or organization using the Tollfree number." + }, + "BusinessContactLastName": { + "type": "string", + "description": "The last name of the contact for the business or organization using the Tollfree number." + }, + "BusinessContactEmail": { + "type": "string", + "description": "The email address of the contact for the business or organization using the Tollfree number." + }, + "BusinessContactPhone": { + "type": "string", + "format": "phone-number", + "description": "The phone number of the contact for the business or organization using the Tollfree number." + } + } + } + } + } + } + } + }, + "/v1/Tollfree/Verifications": { + "servers": [ + { + "url": "https://messaging.twilio.com" + } + ], + "description": "A Messaging resource to add and fetch Tollfree Verifications.", + "x-twilio": { + "defaultOutputProperties": [ + "sid", + "date_created" + ], + "pathType": "list", + "mountName": "tollfree_verifications" + }, + "get": { + "description": "", + "parameters": [ + { + "name": "TollfreePhoneNumberSid", + "in": "query", + "description": "The SID of the Phone Number associated with the Tollfree Verification.", + "schema": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^PN[0-9a-fA-F]{32}$" + } + }, + { + "name": "Status", + "in": "query", + "description": "The compliance status of the Tollfree Verification record.", + "schema": { + "type": "string", + "$ref": "#/components/schemas/tollfree_verification_enum_status" + } + }, + { + "name": "PageSize", + "in": "query", + "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000.", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 1000 + } + }, + { + "name": "Page", + "in": "query", + "description": "The page index. This value is simply for client state.", + "schema": { + "type": "integer", + "minimum": 0 + } + }, + { + "name": "PageToken", + "in": "query", + "description": "The page token. This is provided by the API.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "ListTollfreeVerificationResponse", + "properties": { + "verifications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/messaging.v1.tollfree_verification" + } + }, + "meta": { + "type": "object", + "properties": { + "first_page_url": { + "type": "string", + "format": "uri" + }, + "next_page_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "page": { + "type": "integer" + }, + "page_size": { + "type": "integer" + }, + "previous_page_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri" + }, + "key": { + "type": "string" + } + } + } + } + } + } + }, + "description": "OK" + } + }, + "security": [ + { + "accountSid_authToken": [] + } + ], + "operationId": "ListTollfreeVerification", + "x-maturity": [ + "Beta" + ] + }, + "post": { + "description": "", + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/messaging.v1.tollfree_verification" + } + } + }, + "description": "Created" + } + }, + "security": [ + { + "accountSid_authToken": [] + } + ], + "operationId": "CreateTollfreeVerification", + "x-maturity": [ + "Beta" + ], + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "type": "object", + "title": "CreateTollfreeVerificationRequest", + "properties": { + "BusinessName": { + "type": "string", + "description": "The name of the business or organization using the Tollfree number." + }, + "BusinessWebsite": { + "type": "string", + "description": "The website of the business or organization using the Tollfree number." + }, + "NotificationEmail": { + "type": "string", + "description": "The email address to receive the notification about the verification result. ." + }, + "UseCaseCategories": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The category of the use case for the Tollfree Number. List as many are applicable.." + }, + "UseCaseSummary": { + "type": "string", + "description": "Use this to further explain how messaging is used by the business or organization." + }, + "ProductionMessageSample": { + "type": "string", + "description": "An example of message content, i.e. a sample message." + }, + "OptInImageUrls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL." + }, + "OptInType": { + "type": "string", + "$ref": "#/components/schemas/tollfree_verification_enum_opt_in_type", + "description": "Describe how a user opts-in to text messages." + }, + "MessageVolume": { + "type": "string", + "description": "Estimate monthly volume of messages from the Tollfree Number." + }, + "TollfreePhoneNumberSid": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^PN[0-9a-fA-F]{32}$", + "description": "The SID of the Phone Number associated with the Tollfree Verification." + }, + "CustomerProfileSid": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^BU[0-9a-fA-F]{32}$", + "description": "Customer's Profile Bundle BundleSid." + }, + "BusinessStreetAddress": { + "type": "string", + "description": "The address of the business or organization using the Tollfree number." + }, + "BusinessStreetAddress2": { + "type": "string", + "description": "The address of the business or organization using the Tollfree number." + }, + "BusinessCity": { + "type": "string", + "description": "The city of the business or organization using the Tollfree number." + }, + "BusinessStateProvinceRegion": { + "type": "string", + "description": "The state/province/region of the business or organization using the Tollfree number." + }, + "BusinessPostalCode": { + "type": "string", + "description": "The postal code of the business or organization using the Tollfree number." + }, + "BusinessCountry": { + "type": "string", + "description": "The country of the business or organization using the Tollfree number." + }, + "AdditionalInformation": { + "type": "string", + "description": "Additional information to be provided for verification." + }, + "BusinessContactFirstName": { + "type": "string", + "description": "The first name of the contact for the business or organization using the Tollfree number." + }, + "BusinessContactLastName": { + "type": "string", + "description": "The last name of the contact for the business or organization using the Tollfree number." + }, + "BusinessContactEmail": { + "type": "string", + "description": "The email address of the contact for the business or organization using the Tollfree number." + }, + "BusinessContactPhone": { + "type": "string", + "format": "phone-number", + "description": "The phone number of the contact for the business or organization using the Tollfree number." + }, + "ExternalReferenceId": { + "type": "string", + "description": "An optional external reference ID supplied by customer and echoed back on status retrieval." + } + }, + "required": [ + "BusinessName", + "BusinessWebsite", + "NotificationEmail", + "UseCaseCategories", + "UseCaseSummary", + "ProductionMessageSample", + "OptInImageUrls", + "OptInType", + "MessageVolume", + "TollfreePhoneNumberSid" + ] + } + } + } + } + } + }, "/v1/Services/{MessagingServiceSid}/Compliance/Usa2p": { "servers": [ { diff --git a/spec/json/twilio_microvisor_v1.json b/spec/json/twilio_microvisor_v1.json index d3027144..75bde116 100644 --- a/spec/json/twilio_microvisor_v1.json +++ b/spec/json/twilio_microvisor_v1.json @@ -273,7 +273,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { @@ -1307,6 +1307,10 @@ "LoggingEnabled": { "type": "boolean", "description": "A Boolean flag specifying whether to enable application logging. Logs will be enabled or extended for 24 hours." + }, + "RestartApp": { + "type": "boolean", + "description": "Set to true to restart the App running on the Device." } } } diff --git a/spec/json/twilio_monitor_v1.json b/spec/json/twilio_monitor_v1.json index 73916bde..f646c829 100644 --- a/spec/json/twilio_monitor_v1.json +++ b/spec/json/twilio_monitor_v1.json @@ -341,7 +341,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_notify_v1.json b/spec/json/twilio_notify_v1.json index 4adc281e..47d48108 100644 --- a/spec/json/twilio_notify_v1.json +++ b/spec/json/twilio_notify_v1.json @@ -442,7 +442,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_numbers_v1.json b/spec/json/twilio_numbers_v1.json index bbd04ee9..11e017c9 100644 --- a/spec/json/twilio_numbers_v1.json +++ b/spec/json/twilio_numbers_v1.json @@ -234,7 +234,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_numbers_v2.json b/spec/json/twilio_numbers_v2.json index 246701b2..3e29d0c1 100644 --- a/spec/json/twilio_numbers_v2.json +++ b/spec/json/twilio_numbers_v2.json @@ -674,11 +674,6 @@ "nullable": true, "description": "The date this resource was created, given as [GMT RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format." }, - "sms_capability": { - "type": "boolean", - "nullable": true, - "description": "Whether the SMS capability will be hosted on our platform. Can be `true` of `false`." - }, "date_updated": { "type": "string", "format": "date-time", @@ -1069,7 +1064,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { @@ -1328,6 +1323,13 @@ "format": "phone-number", "description": "The contact phone number of the person authorized to sign the Authorization Document." }, + "HostedNumberOrderSids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of HostedNumberOrder sids that this AuthorizationDocument will authorize for hosting phone number capabilities on Twilio's platform." + }, "ContactTitle": { "type": "string", "description": "The title of the person authorized to sign the Authorization Document for this phone number." @@ -1343,7 +1345,8 @@ "required": [ "AddressSid", "Email", - "ContactPhoneNumber" + "ContactPhoneNumber", + "HostedNumberOrderSids" ] } } diff --git a/spec/json/twilio_oauth_v1.json b/spec/json/twilio_oauth_v1.json index ada91126..60a3c950 100644 --- a/spec/json/twilio_oauth_v1.json +++ b/spec/json/twilio_oauth_v1.json @@ -233,7 +233,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_preview.json b/spec/json/twilio_preview.json index 9e6605f3..d4713839 100644 --- a/spec/json/twilio_preview.json +++ b/spec/json/twilio_preview.json @@ -2619,7 +2619,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_pricing_v1.json b/spec/json/twilio_pricing_v1.json index 099369bb..68b98ad1 100644 --- a/spec/json/twilio_pricing_v1.json +++ b/spec/json/twilio_pricing_v1.json @@ -417,7 +417,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_pricing_v2.json b/spec/json/twilio_pricing_v2.json index 7231531b..92d6b049 100644 --- a/spec/json/twilio_pricing_v2.json +++ b/spec/json/twilio_pricing_v2.json @@ -416,7 +416,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_proxy_v1.json b/spec/json/twilio_proxy_v1.json index e370c33c..e722a12b 100644 --- a/spec/json/twilio_proxy_v1.json +++ b/spec/json/twilio_proxy_v1.json @@ -858,7 +858,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_routes_v2.json b/spec/json/twilio_routes_v2.json index 8f5f89a0..26731c40 100644 --- a/spec/json/twilio_routes_v2.json +++ b/spec/json/twilio_routes_v2.json @@ -176,7 +176,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_serverless_v1.json b/spec/json/twilio_serverless_v1.json index c6ea637f..69c3cfb3 100644 --- a/spec/json/twilio_serverless_v1.json +++ b/spec/json/twilio_serverless_v1.json @@ -849,7 +849,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_studio_v1.json b/spec/json/twilio_studio_v1.json index 74dde2a7..578acce6 100644 --- a/spec/json/twilio_studio_v1.json +++ b/spec/json/twilio_studio_v1.json @@ -588,7 +588,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_studio_v2.json b/spec/json/twilio_studio_v2.json index f798277b..33e230f7 100644 --- a/spec/json/twilio_studio_v2.json +++ b/spec/json/twilio_studio_v2.json @@ -488,7 +488,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_supersim_v1.json b/spec/json/twilio_supersim_v1.json index 4acf5a4a..031f607a 100644 --- a/spec/json/twilio_supersim_v1.json +++ b/spec/json/twilio_supersim_v1.json @@ -896,7 +896,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_sync_v1.json b/spec/json/twilio_sync_v1.json index 2dde742e..d64902f5 100644 --- a/spec/json/twilio_sync_v1.json +++ b/spec/json/twilio_sync_v1.json @@ -757,7 +757,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_taskrouter_v1.json b/spec/json/twilio_taskrouter_v1.json index fff701ed..0ec0e14b 100644 --- a/spec/json/twilio_taskrouter_v1.json +++ b/spec/json/twilio_taskrouter_v1.json @@ -492,6 +492,42 @@ "LIFO" ] }, + "taskrouter.v1.task_queue_bulk_real_time_statistics": { + "type": "object", + "properties": { + "account_sid": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^AC[0-9a-fA-F]{32}$", + "nullable": true, + "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the TaskQueue resource." + }, + "workspace_sid": { + "type": "string", + "minLength": 34, + "maxLength": 34, + "pattern": "^WS[0-9a-fA-F]{32}$", + "nullable": true, + "description": "The SID of the Workspace that contains the TaskQueue." + }, + "task_queue_data": { + "nullable": true, + "description": "The TaskQueue RealTime Statistics for each requested TaskQueue SID, represented as a map of TaskQueue SID to the TaskQueue result, each result contains the following attributes: task_queue_sid: The SID of the TaskQueue from which these statistics were calculated, total_available_workers: The total number of Workers available for Tasks in the TaskQueue, total_eligible_workers: The total number of Workers eligible for Tasks in the TaskQueue, independent of their Activity state, total_tasks: The total number of Tasks, longest_task_waiting_age: The age of the longest waiting Task, longest_task_waiting_sid: The SID of the longest waiting Task, tasks_by_status: The number of Tasks by their current status, tasks_by_priority: The number of Tasks by priority, activity_statistics: The number of current Workers by Activity." + }, + "task_queue_response_count": { + "type": "integer", + "nullable": true, + "description": "The number of TaskQueue statistics received in task_queue_data." + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true, + "description": "The absolute URL of the TaskQueue statistics resource." + } + } + }, "taskrouter.v1.workspace.task_queue.task_queue_cumulative_statistics": { "type": "object", "properties": { @@ -2037,7 +2073,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { @@ -4026,6 +4062,23 @@ } } }, + "/v1/Workspaces/{WorkspaceSid}/TaskQueues/RealTimeStatistics": { + "servers": [ + { + "url": "https://taskrouter.twilio.com" + } + ], + "description": "TODO: Resource-level docs", + "x-twilio": { + "defaultOutputProperties": [ + "account_sid", + "workspace_sid" + ], + "pathType": "list", + "mountName": "bulk_real_time_statistics", + "className": "task_queue_bulk_real_time_statistics" + } + }, "/v1/Workspaces/{WorkspaceSid}/TaskQueues/{TaskQueueSid}/CumulativeStatistics": { "servers": [ { diff --git a/spec/json/twilio_trunking_v1.json b/spec/json/twilio_trunking_v1.json index fce0062c..c94413d5 100644 --- a/spec/json/twilio_trunking_v1.json +++ b/spec/json/twilio_trunking_v1.json @@ -578,7 +578,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_trusthub_v1.json b/spec/json/twilio_trusthub_v1.json index 3252f07f..19096708 100644 --- a/spec/json/twilio_trusthub_v1.json +++ b/spec/json/twilio_trusthub_v1.json @@ -789,7 +789,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_verify_v2.json b/spec/json/twilio_verify_v2.json index a25ea280..ac5faabd 100644 --- a/spec/json/twilio_verify_v2.json +++ b/spec/json/twilio_verify_v2.json @@ -1028,6 +1028,13 @@ "approved" ] }, + "verification_enum_risk_check": { + "type": "string", + "enum": [ + "enable", + "disable" + ] + }, "verify.v2.verification_attempt": { "type": "object", "properties": { @@ -1448,7 +1455,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { @@ -4856,6 +4863,11 @@ "DeviceIp": { "type": "string", "description": "Strongly encouraged if using the auto channel. The IP address of the client's device. If provided, it has to be a valid IPv4 or IPv6 address." + }, + "RiskCheck": { + "type": "string", + "$ref": "#/components/schemas/verification_enum_risk_check", + "description": "Whether to enable Fraud Prevention measures for each verification number and block if found fradulent. Can be: `enable` or `disable`. The default is `enable`. SMS channel only." } }, "required": [ diff --git a/spec/json/twilio_video_v1.json b/spec/json/twilio_video_v1.json index 736cc569..aff91a9e 100644 --- a/spec/json/twilio_video_v1.json +++ b/spec/json/twilio_video_v1.json @@ -1318,7 +1318,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_voice_v1.json b/spec/json/twilio_voice_v1.json index 25a27242..79da63f7 100644 --- a/spec/json/twilio_voice_v1.json +++ b/spec/json/twilio_voice_v1.json @@ -553,7 +553,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/json/twilio_wireless_v1.json b/spec/json/twilio_wireless_v1.json index f13211aa..b90c5ff1 100644 --- a/spec/json/twilio_wireless_v1.json +++ b/spec/json/twilio_wireless_v1.json @@ -608,7 +608,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "1.45.0" + "version": "1.46.0" }, "openapi": "3.0.1", "paths": { diff --git a/spec/yaml/twilio_accounts_v1.yaml b/spec/yaml/twilio_accounts_v1.yaml index 956a82a2..40a8e1cf 100644 --- a/spec/yaml/twilio_accounts_v1.yaml +++ b/spec/yaml/twilio_accounts_v1.yaml @@ -163,7 +163,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/AuthTokens/Promote: diff --git a/spec/yaml/twilio_api_v2010.yaml b/spec/yaml/twilio_api_v2010.yaml index 942c6701..6b4bacef 100644 --- a/spec/yaml/twilio_api_v2010.yaml +++ b/spec/yaml/twilio_api_v2010.yaml @@ -9177,7 +9177,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /2010-04-01/Accounts.json: diff --git a/spec/yaml/twilio_autopilot_v1.yaml b/spec/yaml/twilio_autopilot_v1.yaml index 736667f5..5daae1db 100644 --- a/spec/yaml/twilio_autopilot_v1.yaml +++ b/spec/yaml/twilio_autopilot_v1.yaml @@ -884,7 +884,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Assistants/{Sid}: diff --git a/spec/yaml/twilio_bulkexports_v1.yaml b/spec/yaml/twilio_bulkexports_v1.yaml index b10370a2..a6da7593 100644 --- a/spec/yaml/twilio_bulkexports_v1.yaml +++ b/spec/yaml/twilio_bulkexports_v1.yaml @@ -246,7 +246,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Exports/{ResourceType}/Days/{Day}: diff --git a/spec/yaml/twilio_chat_v1.yaml b/spec/yaml/twilio_chat_v1.yaml index 395856d7..cd53c5fd 100644 --- a/spec/yaml/twilio_chat_v1.yaml +++ b/spec/yaml/twilio_chat_v1.yaml @@ -771,7 +771,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Services/{ServiceSid}/Channels/{Sid}: diff --git a/spec/yaml/twilio_chat_v2.yaml b/spec/yaml/twilio_chat_v2.yaml index 0bba6f56..d4059701 100644 --- a/spec/yaml/twilio_chat_v2.yaml +++ b/spec/yaml/twilio_chat_v2.yaml @@ -1112,7 +1112,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v2/Services/{ServiceSid}/Bindings: diff --git a/spec/yaml/twilio_chat_v3.yaml b/spec/yaml/twilio_chat_v3.yaml index 99718667..c4d20e42 100644 --- a/spec/yaml/twilio_chat_v3.yaml +++ b/spec/yaml/twilio_chat_v3.yaml @@ -109,7 +109,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v3/Services/{ServiceSid}/Channels/{Sid}: diff --git a/spec/yaml/twilio_content_v1.yaml b/spec/yaml/twilio_content_v1.yaml index 87a7938a..d776b316 100644 --- a/spec/yaml/twilio_content_v1.yaml +++ b/spec/yaml/twilio_content_v1.yaml @@ -222,7 +222,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Content/{Sid}/ApprovalRequests: diff --git a/spec/yaml/twilio_conversations_v1.yaml b/spec/yaml/twilio_conversations_v1.yaml index 2214b902..5df26b1b 100644 --- a/spec/yaml/twilio_conversations_v1.yaml +++ b/spec/yaml/twilio_conversations_v1.yaml @@ -2192,7 +2192,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Configuration: @@ -2956,6 +2956,8 @@ paths: pathType: list dependentProperties: delivery_receipt: '{conversation_sid: conversation_sid, message_sid: sid}' + conversations/v1/conversation_message_metadata: '{conversation_sid: conversation_sid, + message_sid: sid}' parent: /Conversations/{Sid} post: description: Add a new message to the conversation @@ -3124,6 +3126,8 @@ paths: pathType: instance dependentProperties: delivery_receipt: '{conversation_sid: conversation_sid, message_sid: sid}' + conversations/v1/conversation_message_metadata: '{conversation_sid: conversation_sid, + message_sid: sid}' parent: /Conversations/{Sid} post: description: Update an existing message in the conversation @@ -5384,6 +5388,8 @@ paths: dependentProperties: delivery_receipt: '{chat_service_sid: chat_service_sid, conversation_sid: conversation_sid, message_sid: sid}' + conversations/v1/service_conversation_message_metadata: '{chat_service_sid: + chat_service_sid, conversation_sid: conversation_sid, message_sid: sid}' parent: /Services/{ChatServiceSid}/Conversations/{Sid} post: description: Add a new message to the conversation in a specific service @@ -5574,6 +5580,8 @@ paths: dependentProperties: delivery_receipt: '{chat_service_sid: chat_service_sid, conversation_sid: conversation_sid, message_sid: sid}' + conversations/v1/service_conversation_message_metadata: '{chat_service_sid: + chat_service_sid, conversation_sid: conversation_sid, message_sid: sid}' parent: /Services/{ChatServiceSid}/Conversations/{Sid} post: description: Update an existing message in the conversation diff --git a/spec/yaml/twilio_events_v1.yaml b/spec/yaml/twilio_events_v1.yaml index 22e898d9..27d98853 100644 --- a/spec/yaml/twilio_events_v1.yaml +++ b/spec/yaml/twilio_events_v1.yaml @@ -267,7 +267,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Types: diff --git a/spec/yaml/twilio_flex_v1.yaml b/spec/yaml/twilio_flex_v1.yaml index 72f55d6c..a3d5a720 100644 --- a/spec/yaml/twilio_flex_v1.yaml +++ b/spec/yaml/twilio_flex_v1.yaml @@ -840,6 +840,12 @@ components: type: object format: uri-map nullable: true + interaction_context_sid: + type: string + minLength: 34 + maxLength: 34 + pattern: ^HQ[0-9a-fA-F]{32}$ + nullable: true flex.v1.interaction.interaction_channel: type: object properties: @@ -1069,7 +1075,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Channels: @@ -3105,6 +3111,13 @@ paths: description: The Interaction's channel. Routing: description: The Interaction's routing logic. + InteractionContextSid: + type: string + minLength: 34 + maxLength: 34 + pattern: ^HQ[0-9a-fA-F]{32}$ + description: The Interaction context sid is used for adding a context + lookup sid required: - Channel - Routing diff --git a/spec/yaml/twilio_flex_v2.yaml b/spec/yaml/twilio_flex_v2.yaml index d6856777..924bdd33 100644 --- a/spec/yaml/twilio_flex_v2.yaml +++ b/spec/yaml/twilio_flex_v2.yaml @@ -32,7 +32,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v2/WebChats: diff --git a/spec/yaml/twilio_frontline_v1.yaml b/spec/yaml/twilio_frontline_v1.yaml index 67f28e7a..80887865 100644 --- a/spec/yaml/twilio_frontline_v1.yaml +++ b/spec/yaml/twilio_frontline_v1.yaml @@ -60,7 +60,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Users/{Sid}: diff --git a/spec/yaml/twilio_insights_v1.yaml b/spec/yaml/twilio_insights_v1.yaml index af7b7d62..fa43ccb1 100644 --- a/spec/yaml/twilio_insights_v1.yaml +++ b/spec/yaml/twilio_insights_v1.yaml @@ -1322,7 +1322,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Voice/Settings: diff --git a/spec/yaml/twilio_intelligence_v2.yaml b/spec/yaml/twilio_intelligence_v2.yaml index 21b0a373..ddd85742 100644 --- a/spec/yaml/twilio_intelligence_v2.yaml +++ b/spec/yaml/twilio_intelligence_v2.yaml @@ -350,7 +350,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v2/Transcripts/{Sid}/Media: diff --git a/spec/yaml/twilio_ip_messaging_v1.yaml b/spec/yaml/twilio_ip_messaging_v1.yaml index 5e3a3bb4..cf586f2c 100644 --- a/spec/yaml/twilio_ip_messaging_v1.yaml +++ b/spec/yaml/twilio_ip_messaging_v1.yaml @@ -535,7 +535,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Services/{ServiceSid}/Channels/{Sid}: diff --git a/spec/yaml/twilio_ip_messaging_v2.yaml b/spec/yaml/twilio_ip_messaging_v2.yaml index 712ad989..00c09a81 100644 --- a/spec/yaml/twilio_ip_messaging_v2.yaml +++ b/spec/yaml/twilio_ip_messaging_v2.yaml @@ -776,7 +776,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v2/Services/{ServiceSid}/Bindings: diff --git a/spec/yaml/twilio_lookups_v1.yaml b/spec/yaml/twilio_lookups_v1.yaml index 29a7f58b..b4cda467 100644 --- a/spec/yaml/twilio_lookups_v1.yaml +++ b/spec/yaml/twilio_lookups_v1.yaml @@ -57,7 +57,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/PhoneNumbers/{PhoneNumber}: diff --git a/spec/yaml/twilio_lookups_v2.yaml b/spec/yaml/twilio_lookups_v2.yaml index b0dd6bdf..35c8e869 100644 --- a/spec/yaml/twilio_lookups_v2.yaml +++ b/spec/yaml/twilio_lookups_v2.yaml @@ -107,7 +107,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v2/PhoneNumbers/{PhoneNumber}: diff --git a/spec/yaml/twilio_media_v1.yaml b/spec/yaml/twilio_media_v1.yaml index 73291562..8a02dc94 100644 --- a/spec/yaml/twilio_media_v1.yaml +++ b/spec/yaml/twilio_media_v1.yaml @@ -383,7 +383,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/MediaProcessors: diff --git a/spec/yaml/twilio_messaging_v1.yaml b/spec/yaml/twilio_messaging_v1.yaml index ccb2af5a..80154b98 100644 --- a/spec/yaml/twilio_messaging_v1.yaml +++ b/spec/yaml/twilio_messaging_v1.yaml @@ -823,6 +823,216 @@ components: format: uri nullable: true description: The absolute URL of the ShortCode resource. + messaging.v1.tollfree_verification: + type: object + properties: + sid: + type: string + minLength: 34 + maxLength: 34 + pattern: ^HH[0-9a-fA-F]{32}$ + nullable: true + description: The unique string to identify Tollfree Verification. + account_sid: + type: string + minLength: 34 + maxLength: 34 + pattern: ^AC[0-9a-fA-F]{32}$ + nullable: true + description: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) + that created the Tollfree Verification resource. + customer_profile_sid: + type: string + minLength: 34 + maxLength: 34 + pattern: ^BU[0-9a-fA-F]{32}$ + nullable: true + description: Customer's Profile Bundle BundleSid. + trust_product_sid: + type: string + minLength: 34 + maxLength: 34 + pattern: ^BU[0-9a-fA-F]{32}$ + nullable: true + description: Tollfree TrustProduct Bundle BundleSid. + date_created: + type: string + format: date-time + nullable: true + description: The date and time in GMT when the resource was created specified + in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. + date_updated: + type: string + format: date-time + nullable: true + description: The date and time in GMT when the resource was last updated + specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. + regulated_item_sid: + type: string + minLength: 34 + maxLength: 34 + pattern: ^RA[0-9a-fA-F]{32}$ + nullable: true + description: The SID of the Regulated Item. + business_name: + type: string + nullable: true + description: The name of the business or organization using the Tollfree + number. + business_street_address: + type: string + nullable: true + description: The address of the business or organization using the Tollfree + number. + business_street_address2: + type: string + nullable: true + description: The address of the business or organization using the Tollfree + number. + business_city: + type: string + nullable: true + description: The city of the business or organization using the Tollfree + number. + business_state_province_region: + type: string + nullable: true + description: The state/province/region of the business or organization using + the Tollfree number. + business_postal_code: + type: string + nullable: true + description: The postal code of the business or organization using the Tollfree + number. + business_country: + type: string + nullable: true + description: The country of the business or organization using the Tollfree + number. + business_website: + type: string + nullable: true + description: The website of the business or organization using the Tollfree + number. + business_contact_first_name: + type: string + nullable: true + description: The first name of the contact for the business or organization + using the Tollfree number. + business_contact_last_name: + type: string + nullable: true + description: The last name of the contact for the business or organization + using the Tollfree number. + business_contact_email: + type: string + nullable: true + description: The email address of the contact for the business or organization + using the Tollfree number. + business_contact_phone: + type: string + format: phone-number + nullable: true + description: The phone number of the contact for the business or organization + using the Tollfree number. + notification_email: + type: string + nullable: true + description: The email address to receive the notification about the verification + result. . + use_case_categories: + type: array + items: + type: string + nullable: true + description: The category of the use case for the Tollfree Number. List + as many are applicable.. + use_case_summary: + type: string + nullable: true + description: Use this to further explain how messaging is used by the business + or organization. + production_message_sample: + type: string + nullable: true + description: An example of message content, i.e. a sample message. + opt_in_image_urls: + type: array + items: + type: string + nullable: true + description: Link to an image that shows the opt-in workflow. Multiple images + allowed and must be a publicly hosted URL. + opt_in_type: + type: string + $ref: '#/components/schemas/tollfree_verification_enum_opt_in_type' + nullable: true + description: Describe how a user opts-in to text messages. + message_volume: + type: string + nullable: true + description: Estimate monthly volume of messages from the Tollfree Number. + additional_information: + type: string + nullable: true + description: Additional information to be provided for verification. + tollfree_phone_number_sid: + type: string + minLength: 34 + maxLength: 34 + pattern: ^PN[0-9a-fA-F]{32}$ + nullable: true + description: The SID of the Phone Number associated with the Tollfree Verification. + status: + type: string + $ref: '#/components/schemas/tollfree_verification_enum_status' + nullable: true + description: The compliance status of the Tollfree Verification record. + url: + type: string + format: uri + nullable: true + description: The absolute URL of the Tollfree Verification resource. + rejection_reason: + type: string + nullable: true + description: The rejection reason given when a Tollfree Verification has + been rejected. + error_code: + type: integer + nullable: true + description: The error code given when a Tollfree Verification has been + rejected. + edit_expiration: + type: string + format: date-time + nullable: true + description: The date and time when the ability to edit a rejected verification + expires. + resource_links: + nullable: true + description: The URLs of the documents associated with the Tollfree Verification + resource. + external_reference_id: + type: string + nullable: true + description: An optional external reference ID supplied by customer and + echoed back on status retrieval. + tollfree_verification_enum_status: + type: string + enum: + - PENDING_REVIEW + - IN_REVIEW + - TWILIO_APPROVED + - TWILIO_REJECTED + tollfree_verification_enum_opt_in_type: + type: string + enum: + - VERBAL + - WEB_FORM + - PAPER_FORM + - VIA_TEXT + - MOBILE_QR_CODE messaging.v1.service.us_app_to_person: type: object properties: @@ -1032,7 +1242,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Services/{ServiceSid}/AlphaSenders: @@ -2863,6 +3073,373 @@ paths: operationId: FetchShortCode x-maturity: - Beta + /v1/Tollfree/Verifications/{Sid}: + servers: + - url: https://messaging.twilio.com + description: A Messaging resource to add and fetch Tollfree Verifications. + x-twilio: + defaultOutputProperties: + - sid + - date_created + pathType: instance + mountName: tollfree_verifications + get: + description: '' + parameters: + - name: Sid + in: path + description: The unique string to identify Tollfree Verification. + schema: + type: string + minLength: 34 + maxLength: 34 + pattern: ^HH[0-9a-fA-F]{32}$ + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/messaging.v1.tollfree_verification' + description: OK + security: + - accountSid_authToken: [] + operationId: FetchTollfreeVerification + x-maturity: + - Beta + post: + description: '' + parameters: + - name: Sid + in: path + description: The unique string to identify Tollfree Verification. + schema: + type: string + minLength: 34 + maxLength: 34 + pattern: ^HH[0-9a-fA-F]{32}$ + required: true + responses: + '202': + content: + application/json: + schema: + $ref: '#/components/schemas/messaging.v1.tollfree_verification' + description: Accepted + security: + - accountSid_authToken: [] + operationId: UpdateTollfreeVerification + x-maturity: + - Beta + requestBody: + content: + application/x-www-form-urlencoded: + schema: + type: object + title: UpdateTollfreeVerificationRequest + properties: + BusinessName: + type: string + description: The name of the business or organization using the + Tollfree number. + BusinessWebsite: + type: string + description: The website of the business or organization using the + Tollfree number. + NotificationEmail: + type: string + description: The email address to receive the notification about + the verification result. . + UseCaseCategories: + type: array + items: + type: string + description: The category of the use case for the Tollfree Number. + List as many are applicable.. + UseCaseSummary: + type: string + description: Use this to further explain how messaging is used by + the business or organization. + ProductionMessageSample: + type: string + description: An example of message content, i.e. a sample message. + OptInImageUrls: + type: array + items: + type: string + description: Link to an image that shows the opt-in workflow. Multiple + images allowed and must be a publicly hosted URL. + OptInType: + type: string + $ref: '#/components/schemas/tollfree_verification_enum_opt_in_type' + description: Describe how a user opts-in to text messages. + MessageVolume: + type: string + description: Estimate monthly volume of messages from the Tollfree + Number. + BusinessStreetAddress: + type: string + description: The address of the business or organization using the + Tollfree number. + BusinessStreetAddress2: + type: string + description: The address of the business or organization using the + Tollfree number. + BusinessCity: + type: string + description: The city of the business or organization using the + Tollfree number. + BusinessStateProvinceRegion: + type: string + description: The state/province/region of the business or organization + using the Tollfree number. + BusinessPostalCode: + type: string + description: The postal code of the business or organization using + the Tollfree number. + BusinessCountry: + type: string + description: The country of the business or organization using the + Tollfree number. + AdditionalInformation: + type: string + description: Additional information to be provided for verification. + BusinessContactFirstName: + type: string + description: The first name of the contact for the business or organization + using the Tollfree number. + BusinessContactLastName: + type: string + description: The last name of the contact for the business or organization + using the Tollfree number. + BusinessContactEmail: + type: string + description: The email address of the contact for the business or + organization using the Tollfree number. + BusinessContactPhone: + type: string + format: phone-number + description: The phone number of the contact for the business or + organization using the Tollfree number. + /v1/Tollfree/Verifications: + servers: + - url: https://messaging.twilio.com + description: A Messaging resource to add and fetch Tollfree Verifications. + x-twilio: + defaultOutputProperties: + - sid + - date_created + pathType: list + mountName: tollfree_verifications + get: + description: '' + parameters: + - name: TollfreePhoneNumberSid + in: query + description: The SID of the Phone Number associated with the Tollfree Verification. + schema: + type: string + minLength: 34 + maxLength: 34 + pattern: ^PN[0-9a-fA-F]{32}$ + - name: Status + in: query + description: The compliance status of the Tollfree Verification record. + schema: + type: string + $ref: '#/components/schemas/tollfree_verification_enum_status' + - name: PageSize + in: query + description: How many resources to return in each list page. The default is + 50, and the maximum is 1000. + schema: + type: integer + minimum: 1 + maximum: 1000 + - name: Page + in: query + description: The page index. This value is simply for client state. + schema: + type: integer + minimum: 0 + - name: PageToken + in: query + description: The page token. This is provided by the API. + schema: + type: string + responses: + '200': + content: + application/json: + schema: + type: object + title: ListTollfreeVerificationResponse + properties: + verifications: + type: array + items: + $ref: '#/components/schemas/messaging.v1.tollfree_verification' + meta: + type: object + properties: + first_page_url: + type: string + format: uri + next_page_url: + type: string + format: uri + nullable: true + page: + type: integer + page_size: + type: integer + previous_page_url: + type: string + format: uri + nullable: true + url: + type: string + format: uri + key: + type: string + description: OK + security: + - accountSid_authToken: [] + operationId: ListTollfreeVerification + x-maturity: + - Beta + post: + description: '' + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/messaging.v1.tollfree_verification' + description: Created + security: + - accountSid_authToken: [] + operationId: CreateTollfreeVerification + x-maturity: + - Beta + requestBody: + content: + application/x-www-form-urlencoded: + schema: + type: object + title: CreateTollfreeVerificationRequest + properties: + BusinessName: + type: string + description: The name of the business or organization using the + Tollfree number. + BusinessWebsite: + type: string + description: The website of the business or organization using the + Tollfree number. + NotificationEmail: + type: string + description: The email address to receive the notification about + the verification result. . + UseCaseCategories: + type: array + items: + type: string + description: The category of the use case for the Tollfree Number. + List as many are applicable.. + UseCaseSummary: + type: string + description: Use this to further explain how messaging is used by + the business or organization. + ProductionMessageSample: + type: string + description: An example of message content, i.e. a sample message. + OptInImageUrls: + type: array + items: + type: string + description: Link to an image that shows the opt-in workflow. Multiple + images allowed and must be a publicly hosted URL. + OptInType: + type: string + $ref: '#/components/schemas/tollfree_verification_enum_opt_in_type' + description: Describe how a user opts-in to text messages. + MessageVolume: + type: string + description: Estimate monthly volume of messages from the Tollfree + Number. + TollfreePhoneNumberSid: + type: string + minLength: 34 + maxLength: 34 + pattern: ^PN[0-9a-fA-F]{32}$ + description: The SID of the Phone Number associated with the Tollfree + Verification. + CustomerProfileSid: + type: string + minLength: 34 + maxLength: 34 + pattern: ^BU[0-9a-fA-F]{32}$ + description: Customer's Profile Bundle BundleSid. + BusinessStreetAddress: + type: string + description: The address of the business or organization using the + Tollfree number. + BusinessStreetAddress2: + type: string + description: The address of the business or organization using the + Tollfree number. + BusinessCity: + type: string + description: The city of the business or organization using the + Tollfree number. + BusinessStateProvinceRegion: + type: string + description: The state/province/region of the business or organization + using the Tollfree number. + BusinessPostalCode: + type: string + description: The postal code of the business or organization using + the Tollfree number. + BusinessCountry: + type: string + description: The country of the business or organization using the + Tollfree number. + AdditionalInformation: + type: string + description: Additional information to be provided for verification. + BusinessContactFirstName: + type: string + description: The first name of the contact for the business or organization + using the Tollfree number. + BusinessContactLastName: + type: string + description: The last name of the contact for the business or organization + using the Tollfree number. + BusinessContactEmail: + type: string + description: The email address of the contact for the business or + organization using the Tollfree number. + BusinessContactPhone: + type: string + format: phone-number + description: The phone number of the contact for the business or + organization using the Tollfree number. + ExternalReferenceId: + type: string + description: An optional external reference ID supplied by customer + and echoed back on status retrieval. + required: + - BusinessName + - BusinessWebsite + - NotificationEmail + - UseCaseCategories + - UseCaseSummary + - ProductionMessageSample + - OptInImageUrls + - OptInType + - MessageVolume + - TollfreePhoneNumberSid /v1/Services/{MessagingServiceSid}/Compliance/Usa2p: servers: - url: https://messaging.twilio.com diff --git a/spec/yaml/twilio_microvisor_v1.yaml b/spec/yaml/twilio_microvisor_v1.yaml index e75c4c7d..6e8925c0 100644 --- a/spec/yaml/twilio_microvisor_v1.yaml +++ b/spec/yaml/twilio_microvisor_v1.yaml @@ -229,7 +229,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Configs: @@ -894,6 +894,9 @@ paths: type: boolean description: A Boolean flag specifying whether to enable application logging. Logs will be enabled or extended for 24 hours. + RestartApp: + type: boolean + description: Set to true to restart the App running on the Device. /v1/Devices/{DeviceSid}/Configs: servers: - url: https://microvisor.twilio.com diff --git a/spec/yaml/twilio_monitor_v1.yaml b/spec/yaml/twilio_monitor_v1.yaml index a71ff08c..b34fd351 100644 --- a/spec/yaml/twilio_monitor_v1.yaml +++ b/spec/yaml/twilio_monitor_v1.yaml @@ -340,7 +340,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Alerts/{Sid}: diff --git a/spec/yaml/twilio_notify_v1.yaml b/spec/yaml/twilio_notify_v1.yaml index e83d740b..1b743269 100644 --- a/spec/yaml/twilio_notify_v1.yaml +++ b/spec/yaml/twilio_notify_v1.yaml @@ -462,7 +462,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Services/{ServiceSid}/Bindings/{Sid}: diff --git a/spec/yaml/twilio_numbers_v1.yaml b/spec/yaml/twilio_numbers_v1.yaml index 7a6a05c8..dd508d49 100644 --- a/spec/yaml/twilio_numbers_v1.yaml +++ b/spec/yaml/twilio_numbers_v1.yaml @@ -227,7 +227,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/HostedNumber/Eligibility/Bulk: diff --git a/spec/yaml/twilio_numbers_v2.yaml b/spec/yaml/twilio_numbers_v2.yaml index 98c82092..3922442a 100644 --- a/spec/yaml/twilio_numbers_v2.yaml +++ b/spec/yaml/twilio_numbers_v2.yaml @@ -608,11 +608,6 @@ components: nullable: true description: The date this resource was created, given as [GMT RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format. - sms_capability: - type: boolean - nullable: true - description: Whether the SMS capability will be hosted on our platform. - Can be `true` of `false`. date_updated: type: string format: date-time @@ -959,7 +954,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v2/HostedNumber/AuthorizationDocuments/{Sid}: @@ -1140,6 +1135,13 @@ paths: format: phone-number description: The contact phone number of the person authorized to sign the Authorization Document. + HostedNumberOrderSids: + type: array + items: + type: string + description: A list of HostedNumberOrder sids that this AuthorizationDocument + will authorize for hosting phone number capabilities on Twilio's + platform. ContactTitle: type: string description: The title of the person authorized to sign the Authorization @@ -1154,6 +1156,7 @@ paths: - AddressSid - Email - ContactPhoneNumber + - HostedNumberOrderSids /v2/RegulatoryCompliance/Bundles: servers: - url: https://numbers.twilio.com diff --git a/spec/yaml/twilio_oauth_v1.yaml b/spec/yaml/twilio_oauth_v1.yaml index 4b392e2d..78a9f76f 100644 --- a/spec/yaml/twilio_oauth_v1.yaml +++ b/spec/yaml/twilio_oauth_v1.yaml @@ -200,7 +200,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/certs: diff --git a/spec/yaml/twilio_preview.yaml b/spec/yaml/twilio_preview.yaml index 530a7552..2cce8038 100644 --- a/spec/yaml/twilio_preview.yaml +++ b/spec/yaml/twilio_preview.yaml @@ -2260,7 +2260,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /DeployedDevices/Fleets/{FleetSid}/Certificates/{Sid}: diff --git a/spec/yaml/twilio_pricing_v1.yaml b/spec/yaml/twilio_pricing_v1.yaml index fe7b7188..06b2ec51 100644 --- a/spec/yaml/twilio_pricing_v1.yaml +++ b/spec/yaml/twilio_pricing_v1.yaml @@ -327,7 +327,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Messaging: diff --git a/spec/yaml/twilio_pricing_v2.yaml b/spec/yaml/twilio_pricing_v2.yaml index 1424025a..e5ae0c79 100644 --- a/spec/yaml/twilio_pricing_v2.yaml +++ b/spec/yaml/twilio_pricing_v2.yaml @@ -330,7 +330,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v2/Trunking/Countries: diff --git a/spec/yaml/twilio_proxy_v1.yaml b/spec/yaml/twilio_proxy_v1.yaml index 8f5f4eb8..a47c6f03 100644 --- a/spec/yaml/twilio_proxy_v1.yaml +++ b/spec/yaml/twilio_proxy_v1.yaml @@ -811,7 +811,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Services/{ServiceSid}/Sessions/{SessionSid}/Interactions/{Sid}: diff --git a/spec/yaml/twilio_routes_v2.yaml b/spec/yaml/twilio_routes_v2.yaml index 93e347a6..60cfbe6c 100644 --- a/spec/yaml/twilio_routes_v2.yaml +++ b/spec/yaml/twilio_routes_v2.yaml @@ -148,7 +148,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v2/PhoneNumbers/{PhoneNumber}: diff --git a/spec/yaml/twilio_serverless_v1.yaml b/spec/yaml/twilio_serverless_v1.yaml index 3410a73d..7adab0c9 100644 --- a/spec/yaml/twilio_serverless_v1.yaml +++ b/spec/yaml/twilio_serverless_v1.yaml @@ -784,7 +784,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Services/{ServiceSid}/Assets: diff --git a/spec/yaml/twilio_studio_v1.yaml b/spec/yaml/twilio_studio_v1.yaml index 21bc138f..d8c9376f 100644 --- a/spec/yaml/twilio_studio_v1.yaml +++ b/spec/yaml/twilio_studio_v1.yaml @@ -531,7 +531,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Flows/{FlowSid}/Engagements: diff --git a/spec/yaml/twilio_studio_v2.yaml b/spec/yaml/twilio_studio_v2.yaml index a7e8e97e..8e541cc8 100644 --- a/spec/yaml/twilio_studio_v2.yaml +++ b/spec/yaml/twilio_studio_v2.yaml @@ -424,7 +424,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v2/Flows/{FlowSid}/Executions: diff --git a/spec/yaml/twilio_supersim_v1.yaml b/spec/yaml/twilio_supersim_v1.yaml index c60941ed..a131f697 100644 --- a/spec/yaml/twilio_supersim_v1.yaml +++ b/spec/yaml/twilio_supersim_v1.yaml @@ -858,7 +858,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Sims/{SimSid}/BillingPeriods: diff --git a/spec/yaml/twilio_sync_v1.yaml b/spec/yaml/twilio_sync_v1.yaml index d512bdfa..3c7233b3 100644 --- a/spec/yaml/twilio_sync_v1.yaml +++ b/spec/yaml/twilio_sync_v1.yaml @@ -720,7 +720,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Services/{ServiceSid}/Documents/{Sid}: diff --git a/spec/yaml/twilio_taskrouter_v1.yaml b/spec/yaml/twilio_taskrouter_v1.yaml index e8f9ebaf..c7e6422e 100644 --- a/spec/yaml/twilio_taskrouter_v1.yaml +++ b/spec/yaml/twilio_taskrouter_v1.yaml @@ -452,6 +452,46 @@ components: enum: - FIFO - LIFO + taskrouter.v1.task_queue_bulk_real_time_statistics: + type: object + properties: + account_sid: + type: string + minLength: 34 + maxLength: 34 + pattern: ^AC[0-9a-fA-F]{32}$ + nullable: true + description: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) + that created the TaskQueue resource. + workspace_sid: + type: string + minLength: 34 + maxLength: 34 + pattern: ^WS[0-9a-fA-F]{32}$ + nullable: true + description: The SID of the Workspace that contains the TaskQueue. + task_queue_data: + nullable: true + description: 'The TaskQueue RealTime Statistics for each requested TaskQueue + SID, represented as a map of TaskQueue SID to the TaskQueue result, each + result contains the following attributes: task_queue_sid: The SID of the + TaskQueue from which these statistics were calculated, total_available_workers: + The total number of Workers available for Tasks in the TaskQueue, total_eligible_workers: + The total number of Workers eligible for Tasks in the TaskQueue, independent + of their Activity state, total_tasks: The total number of Tasks, longest_task_waiting_age: + The age of the longest waiting Task, longest_task_waiting_sid: The SID + of the longest waiting Task, tasks_by_status: The number of Tasks by their + current status, tasks_by_priority: The number of Tasks by priority, activity_statistics: + The number of current Workers by Activity.' + task_queue_response_count: + type: integer + nullable: true + description: The number of TaskQueue statistics received in task_queue_data. + url: + type: string + format: uri + nullable: true + description: The absolute URL of the TaskQueue statistics resource. taskrouter.v1.workspace.task_queue.task_queue_cumulative_statistics: type: object properties: @@ -1841,7 +1881,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Workspaces/{WorkspaceSid}/Activities/{Sid}: @@ -3283,6 +3323,17 @@ paths: is assigned to them. required: - FriendlyName + /v1/Workspaces/{WorkspaceSid}/TaskQueues/RealTimeStatistics: + servers: + - url: https://taskrouter.twilio.com + description: 'TODO: Resource-level docs' + x-twilio: + defaultOutputProperties: + - account_sid + - workspace_sid + pathType: list + mountName: bulk_real_time_statistics + className: task_queue_bulk_real_time_statistics /v1/Workspaces/{WorkspaceSid}/TaskQueues/{TaskQueueSid}/CumulativeStatistics: servers: - url: https://taskrouter.twilio.com diff --git a/spec/yaml/twilio_trunking_v1.yaml b/spec/yaml/twilio_trunking_v1.yaml index 154b642e..6250d7f4 100644 --- a/spec/yaml/twilio_trunking_v1.yaml +++ b/spec/yaml/twilio_trunking_v1.yaml @@ -555,7 +555,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Trunks/{TrunkSid}/CredentialLists/{Sid}: diff --git a/spec/yaml/twilio_trusthub_v1.yaml b/spec/yaml/twilio_trusthub_v1.yaml index 323f22f0..ab9135ab 100644 --- a/spec/yaml/twilio_trusthub_v1.yaml +++ b/spec/yaml/twilio_trusthub_v1.yaml @@ -704,7 +704,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/CustomerProfiles: diff --git a/spec/yaml/twilio_verify_v2.yaml b/spec/yaml/twilio_verify_v2.yaml index 1fe0aa2c..eb25067d 100644 --- a/spec/yaml/twilio_verify_v2.yaml +++ b/spec/yaml/twilio_verify_v2.yaml @@ -951,6 +951,11 @@ components: enum: - canceled - approved + verification_enum_risk_check: + type: string + enum: + - enable + - disable verify.v2.verification_attempt: type: object properties: @@ -1331,7 +1336,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v2/Services/{ServiceSid}/AccessTokens: @@ -3925,6 +3930,12 @@ paths: description: Strongly encouraged if using the auto channel. The IP address of the client's device. If provided, it has to be a valid IPv4 or IPv6 address. + RiskCheck: + type: string + $ref: '#/components/schemas/verification_enum_risk_check' + description: 'Whether to enable Fraud Prevention measures for each + verification number and block if found fradulent. Can be: `enable` + or `disable`. The default is `enable`. SMS channel only.' required: - To - Channel diff --git a/spec/yaml/twilio_video_v1.yaml b/spec/yaml/twilio_video_v1.yaml index 7d23b85e..35ad1c10 100644 --- a/spec/yaml/twilio_video_v1.yaml +++ b/spec/yaml/twilio_video_v1.yaml @@ -1263,7 +1263,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Compositions/{Sid}: diff --git a/spec/yaml/twilio_voice_v1.yaml b/spec/yaml/twilio_voice_v1.yaml index de2763fb..67339689 100644 --- a/spec/yaml/twilio_voice_v1.yaml +++ b/spec/yaml/twilio_voice_v1.yaml @@ -513,7 +513,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/Archives/{Date}/Calls/{Sid}: diff --git a/spec/yaml/twilio_wireless_v1.yaml b/spec/yaml/twilio_wireless_v1.yaml index f34c9b6e..c0ec3bf1 100644 --- a/spec/yaml/twilio_wireless_v1.yaml +++ b/spec/yaml/twilio_wireless_v1.yaml @@ -576,7 +576,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 1.45.0 + version: 1.46.0 openapi: 3.0.1 paths: /v1/UsageRecords: