From 7161c382c9800ceff883475d17bdf5a1548620a1 Mon Sep 17 00:00:00 2001 From: twilio-dx Date: Mon, 6 Sep 2021 08:00:37 +0000 Subject: [PATCH] fix: Updated api definitions --- CHANGES.md | 24 ++ package.json | 18 +- .../twilio-api/twilio_accounts_v1.json | 2 +- src/services/twilio-api/twilio_api_v2010.json | 44 +- .../twilio-api/twilio_autopilot_v1.json | 2 +- .../twilio-api/twilio_bulkexports_v1.json | 2 +- src/services/twilio-api/twilio_chat_v1.json | 2 +- src/services/twilio-api/twilio_chat_v2.json | 2 +- .../twilio-api/twilio_conversations_v1.json | 26 +- src/services/twilio-api/twilio_events_v1.json | 2 +- src/services/twilio-api/twilio_fax_v1.json | 2 +- src/services/twilio-api/twilio_flex_v1.json | 2 +- .../twilio-api/twilio_frontline_v1.json | 2 +- .../twilio-api/twilio_insights_v1.json | 11 +- .../twilio-api/twilio_ip_messaging_v1.json | 2 +- .../twilio-api/twilio_ip_messaging_v2.json | 2 +- .../twilio-api/twilio_lookups_v1.json | 2 +- .../twilio-api/twilio_messaging_v1.json | 13 +- .../twilio-api/twilio_monitor_v1.json | 2 +- src/services/twilio-api/twilio_notify_v1.json | 2 +- .../twilio-api/twilio_numbers_v2.json | 2 +- .../twilio-api/twilio_pricing_v1.json | 2 +- .../twilio-api/twilio_pricing_v2.json | 380 +++++++++++++++++- src/services/twilio-api/twilio_proxy_v1.json | 2 +- .../twilio-api/twilio_serverless_v1.json | 2 +- src/services/twilio-api/twilio_studio_v1.json | 2 +- src/services/twilio-api/twilio_studio_v2.json | 2 +- .../twilio-api/twilio_supersim_v1.json | 2 +- src/services/twilio-api/twilio_sync_v1.json | 2 +- .../twilio-api/twilio_taskrouter_v1.json | 2 +- .../twilio-api/twilio_trunking_v1.json | 2 +- .../twilio-api/twilio_trusthub_v1.json | 2 +- src/services/twilio-api/twilio_verify_v2.json | 21 +- src/services/twilio-api/twilio_video_v1.json | 2 +- src/services/twilio-api/twilio_voice_v1.json | 2 +- .../twilio-api/twilio_wireless_v1.json | 2 +- 36 files changed, 546 insertions(+), 47 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index d511180f..0f5c6dad 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,27 @@ +--------------------------- +**Api** +- Add Programmabled Voice SIP Refer call transfers (`calls-transfers`) to usage records +- Add Flex Voice Usage category (`flex-usage`) to usage records + +**Conversations** +- Add `Order` query parameter to Message resource read operation + +**Insights** +- Added `partial` to enum processing_state_request +- Added abnormal session filter in Call Summaries + +**Messaging** +- Add brand_registration_sid as an optional query param for us_app_to_person_usecase api + +**Pricing** +- add trunking_numbers resource (v2) +- add trunking_country resource (v2) + +**Verify** +- Changed to private beta the `TemplateSid` optional parameter on Verification creation. +- Added the optional parameter `Order` to the list Challenges endpoint to define the list order. + + twilio-cli-core changelog ===================== diff --git a/package.json b/package.json index 939f4a7d..3b707792 100644 --- a/package.json +++ b/package.json @@ -71,12 +71,18 @@ } ], "plugins": [ - ["@semantic-release/commit-analyzer", { - "preset": "angular", - "releaseRules": [ - {"type": "chore", "release": "patch"} - ] - }], + [ + "@semantic-release/commit-analyzer", + { + "preset": "angular", + "releaseRules": [ + { + "type": "chore", + "release": "patch" + } + ] + } + ], "@semantic-release/release-notes-generator", [ "@semantic-release/changelog", diff --git a/src/services/twilio-api/twilio_accounts_v1.json b/src/services/twilio-api/twilio_accounts_v1.json index c29d06f0..665f6e25 100644 --- a/src/services/twilio-api/twilio_accounts_v1.json +++ b/src/services/twilio-api/twilio_accounts_v1.json @@ -186,7 +186,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Accounts", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_api_v2010.json b/src/services/twilio-api/twilio_api_v2010.json index 7bbafec0..4b35b558 100644 --- a/src/services/twilio-api/twilio_api_v2010.json +++ b/src/services/twilio-api/twilio_api_v2010.json @@ -5576,6 +5576,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -5585,6 +5586,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -5902,6 +5904,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -5911,6 +5914,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -6228,6 +6232,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -6237,6 +6242,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -6554,6 +6560,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -6563,6 +6570,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -6880,6 +6888,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -6889,6 +6898,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -7206,6 +7216,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -7215,6 +7226,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -7532,6 +7544,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -7541,6 +7554,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -7858,6 +7872,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -7867,6 +7882,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -8184,6 +8200,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -8193,6 +8210,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -8592,6 +8610,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -8601,6 +8620,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -8876,7 +8896,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Api", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { @@ -26296,6 +26316,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -26305,6 +26326,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -26673,6 +26695,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -26682,6 +26705,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -27050,6 +27074,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -27059,6 +27084,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -27427,6 +27453,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -27436,6 +27463,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -27804,6 +27832,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -27813,6 +27842,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -28181,6 +28211,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -28190,6 +28221,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -28558,6 +28590,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -28567,6 +28600,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -28935,6 +28969,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -28944,6 +28979,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -29312,6 +29348,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -29321,6 +29358,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -29716,6 +29754,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -29725,6 +29764,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", @@ -30096,6 +30136,7 @@ "calls-sip", "calls-sip-inbound", "calls-sip-outbound", + "calls-transfers", "carrier-lookups", "conversations", "conversations-api-requests", @@ -30105,6 +30146,7 @@ "conversations-participant-events", "conversations-participants", "cps", + "flex-usage", "fraud-lookups", "group-rooms", "group-rooms-data-track", diff --git a/src/services/twilio-api/twilio_autopilot_v1.json b/src/services/twilio-api/twilio_autopilot_v1.json index c637d63e..623884a9 100644 --- a/src/services/twilio-api/twilio_autopilot_v1.json +++ b/src/services/twilio-api/twilio_autopilot_v1.json @@ -952,7 +952,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Autopilot", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_bulkexports_v1.json b/src/services/twilio-api/twilio_bulkexports_v1.json index 43e526b8..9a2fdbd5 100644 --- a/src/services/twilio-api/twilio_bulkexports_v1.json +++ b/src/services/twilio-api/twilio_bulkexports_v1.json @@ -246,7 +246,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Bulkexports", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_chat_v1.json b/src/services/twilio-api/twilio_chat_v1.json index 8a9be0d2..26f91c8b 100644 --- a/src/services/twilio-api/twilio_chat_v1.json +++ b/src/services/twilio-api/twilio_chat_v1.json @@ -764,7 +764,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Chat", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_chat_v2.json b/src/services/twilio-api/twilio_chat_v2.json index 3444ba6c..109c0134 100644 --- a/src/services/twilio-api/twilio_chat_v2.json +++ b/src/services/twilio-api/twilio_chat_v2.json @@ -1061,7 +1061,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Chat", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_conversations_v1.json b/src/services/twilio-api/twilio_conversations_v1.json index 6864a3b2..39f3c817 100644 --- a/src/services/twilio-api/twilio_conversations_v1.json +++ b/src/services/twilio-api/twilio_conversations_v1.json @@ -2036,7 +2036,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Conversations", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { @@ -2445,6 +2445,18 @@ "type": "string" } }, + { + "description": "The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default.", + "in": "query", + "name": "Order", + "schema": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, { "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000.", "in": "query", @@ -5643,6 +5655,18 @@ "type": "string" } }, + { + "description": "The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default.", + "in": "query", + "name": "Order", + "schema": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, { "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000.", "in": "query", diff --git a/src/services/twilio-api/twilio_events_v1.json b/src/services/twilio-api/twilio_events_v1.json index 29e60739..9269ebbb 100644 --- a/src/services/twilio-api/twilio_events_v1.json +++ b/src/services/twilio-api/twilio_events_v1.json @@ -308,7 +308,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Events", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_fax_v1.json b/src/services/twilio-api/twilio_fax_v1.json index 98f9cbc6..e1feb728 100644 --- a/src/services/twilio-api/twilio_fax_v1.json +++ b/src/services/twilio-api/twilio_fax_v1.json @@ -202,7 +202,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Fax", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_flex_v1.json b/src/services/twilio-api/twilio_flex_v1.json index 808bcd2f..26f37e53 100644 --- a/src/services/twilio-api/twilio_flex_v1.json +++ b/src/services/twilio-api/twilio_flex_v1.json @@ -483,7 +483,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Flex", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_frontline_v1.json b/src/services/twilio-api/twilio_frontline_v1.json index f86b027c..7b341485 100644 --- a/src/services/twilio-api/twilio_frontline_v1.json +++ b/src/services/twilio-api/twilio_frontline_v1.json @@ -65,7 +65,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Frontline", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_insights_v1.json b/src/services/twilio-api/twilio_insights_v1.json index bf33a50f..76271685 100644 --- a/src/services/twilio-api/twilio_insights_v1.json +++ b/src/services/twilio-api/twilio_insights_v1.json @@ -760,7 +760,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Insights", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { @@ -1276,6 +1276,7 @@ "enum": [ "completed", "started", + "partial", "all" ], "type": "string" @@ -1304,6 +1305,14 @@ "type": "string" } }, + { + "description": "", + "in": "query", + "name": "AbnormalSession", + "schema": { + "type": "boolean" + } + }, { "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000.", "in": "query", diff --git a/src/services/twilio-api/twilio_ip_messaging_v1.json b/src/services/twilio-api/twilio_ip_messaging_v1.json index c8b07148..88bce94f 100644 --- a/src/services/twilio-api/twilio_ip_messaging_v1.json +++ b/src/services/twilio-api/twilio_ip_messaging_v1.json @@ -656,7 +656,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Ip_messaging", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_ip_messaging_v2.json b/src/services/twilio-api/twilio_ip_messaging_v2.json index b17a1342..7645cc00 100644 --- a/src/services/twilio-api/twilio_ip_messaging_v2.json +++ b/src/services/twilio-api/twilio_ip_messaging_v2.json @@ -911,7 +911,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Ip_messaging", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_lookups_v1.json b/src/services/twilio-api/twilio_lookups_v1.json index f665a1cd..3496815b 100644 --- a/src/services/twilio-api/twilio_lookups_v1.json +++ b/src/services/twilio-api/twilio_lookups_v1.json @@ -63,7 +63,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Lookups", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_messaging_v1.json b/src/services/twilio-api/twilio_messaging_v1.json index 1b2379ce..4eb601c7 100644 --- a/src/services/twilio-api/twilio_messaging_v1.json +++ b/src/services/twilio-api/twilio_messaging_v1.json @@ -620,7 +620,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Messaging", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { @@ -1199,6 +1199,17 @@ "pattern": "^MG[0-9a-fA-F]{32}$", "type": "string" } + }, + { + "description": "The unique string to identify the A2P brand.", + "in": "query", + "name": "BrandRegistrationSid", + "schema": { + "maxLength": 34, + "minLength": 34, + "pattern": "^BN[0-9a-fA-F]{32}$", + "type": "string" + } } ], "responses": { diff --git a/src/services/twilio-api/twilio_monitor_v1.json b/src/services/twilio-api/twilio_monitor_v1.json index 7d0b2221..f93c6a0d 100644 --- a/src/services/twilio-api/twilio_monitor_v1.json +++ b/src/services/twilio-api/twilio_monitor_v1.json @@ -341,7 +341,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Monitor", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_notify_v1.json b/src/services/twilio-api/twilio_notify_v1.json index be052fe9..a1b591be 100644 --- a/src/services/twilio-api/twilio_notify_v1.json +++ b/src/services/twilio-api/twilio_notify_v1.json @@ -428,7 +428,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Notify", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_numbers_v2.json b/src/services/twilio-api/twilio_numbers_v2.json index 9cc9ba9b..1727578a 100644 --- a/src/services/twilio-api/twilio_numbers_v2.json +++ b/src/services/twilio-api/twilio_numbers_v2.json @@ -478,7 +478,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Numbers", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_pricing_v1.json b/src/services/twilio-api/twilio_pricing_v1.json index 2e2b8af3..b7b4604b 100644 --- a/src/services/twilio-api/twilio_pricing_v1.json +++ b/src/services/twilio-api/twilio_pricing_v1.json @@ -395,7 +395,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Pricing", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_pricing_v2.json b/src/services/twilio-api/twilio_pricing_v2.json index f9c69590..dbe35709 100644 --- a/src/services/twilio-api/twilio_pricing_v2.json +++ b/src/services/twilio-api/twilio_pricing_v2.json @@ -1,6 +1,185 @@ { "components": { "schemas": { + "pricing.v2.trunking_country": { + "properties": { + "country": { + "description": "The name of the country", + "nullable": true, + "type": "string" + }, + "iso_country": { + "description": "The ISO country code", + "nullable": true, + "type": "string" + }, + "url": { + "description": "The absolute URL of the resource", + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "pricing.v2.trunking_country-instance": { + "properties": { + "country": { + "description": "The name of the country", + "nullable": true, + "type": "string" + }, + "iso_country": { + "description": "The ISO country code", + "nullable": true, + "type": "string" + }, + "originating_call_prices": { + "description": "The list of OriginatingCallPrice records", + "items": { + "properties": { + "base_price": { + "type": "number" + }, + "current_price": { + "type": "number" + }, + "number_type": { + "type": "string" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "price_unit": { + "description": "The currency in which prices are measured, in ISO 4127 format (e.g. usd, eur, jpy)", + "nullable": true, + "type": "string" + }, + "terminating_prefix_prices": { + "description": "The list of TerminatingPrefixPrice records", + "items": { + "properties": { + "base_price": { + "type": "number" + }, + "current_price": { + "type": "number" + }, + "destination_prefixes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "friendly_name": { + "type": "string" + }, + "origination_prefixes": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "url": { + "description": "The absolute URL of the resource", + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "pricing.v2.trunking_number": { + "properties": { + "country": { + "description": "The name of the country", + "nullable": true, + "type": "string" + }, + "destination_number": { + "description": "The destination phone number, in E.164 format", + "nullable": true, + "type": "string" + }, + "iso_country": { + "description": "The ISO country code", + "nullable": true, + "type": "string" + }, + "originating_call_price": { + "description": "The OriginatingCallPrice record", + "nullable": true, + "properties": { + "base_price": { + "type": "number" + }, + "current_price": { + "type": "number" + }, + "number_type": { + "type": "string" + } + }, + "type": "object" + }, + "origination_number": { + "description": "The origination phone number, in E.164 format", + "nullable": true, + "type": "string" + }, + "price_unit": { + "description": "The currency in which prices are measured, in ISO 4127 format (e.g. usd, eur, jpy)", + "nullable": true, + "type": "string" + }, + "terminating_prefix_prices": { + "items": { + "properties": { + "base_price": { + "type": "number" + }, + "current_price": { + "type": "number" + }, + "destination_prefixes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "friendly_name": { + "type": "string" + }, + "origination_prefixes": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "url": { + "description": "The absolute URL of the resource", + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, "pricing.v2.voice": { "properties": { "links": { @@ -214,10 +393,209 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Pricing", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { + "/v2/Trunking/Countries": { + "description": "Trunking pricing by country", + "get": { + "description": "", + "operationId": "ListTrunkingCountry", + "parameters": [ + { + "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000.", + "in": "query", + "name": "PageSize", + "schema": { + "maximum": 1000, + "minimum": 1, + "type": "integer" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "countries": { + "items": { + "$ref": "#/components/schemas/pricing.v2.trunking_country" + }, + "type": "array" + }, + "meta": { + "properties": { + "first_page_url": { + "format": "uri", + "type": "string" + }, + "key": { + "type": "string" + }, + "next_page_url": { + "format": "uri", + "type": "string" + }, + "page": { + "type": "integer" + }, + "page_size": { + "type": "integer" + }, + "previous_page_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + } + }, + "title": "ListTrunkingCountryResponse", + "type": "object" + } + } + }, + "description": "OK" + } + }, + "security": [ + { + "accountSid_authToken": [] + } + ], + "x-maturity": [ + "GA" + ] + }, + "servers": [ + { + "url": "https://pricing.twilio.com" + } + ], + "x-twilio": { + "defaultOutputProperties": [ + "country", + "price_unit" + ], + "pathType": "list" + } + }, + "/v2/Trunking/Countries/{IsoCountry}": { + "description": "Trunking pricing by country", + "get": { + "description": "Fetch a specific Country.", + "operationId": "FetchTrunkingCountry", + "parameters": [ + { + "description": "The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the origin-based voice pricing information to fetch.", + "in": "path", + "name": "IsoCountry", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pricing.v2.trunking_country-instance" + } + } + }, + "description": "OK" + } + }, + "security": [ + { + "accountSid_authToken": [] + } + ], + "x-maturity": [ + "GA" + ] + }, + "servers": [ + { + "url": "https://pricing.twilio.com" + } + ], + "x-twilio": { + "defaultOutputProperties": [ + "country", + "price_unit" + ], + "pathType": "instance" + } + }, + "/v2/Trunking/Numbers/{DestinationNumber}": { + "description": "Trunking pricing for a specific phone number", + "get": { + "description": "Fetch pricing information for a specific destination and, optionally, origination phone number.", + "operationId": "FetchTrunkingNumber", + "parameters": [ + { + "description": "The destination phone number, in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, for which to fetch the origin-based voice pricing information. E.164 format consists of a + followed by the country code and subscriber number.", + "in": "path", + "name": "DestinationNumber", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The origination phone number, in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, for which to fetch the origin-based voice pricing information. E.164 format consists of a + followed by the country code and subscriber number.", + "in": "query", + "name": "OriginationNumber", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pricing.v2.trunking_number" + } + } + }, + "description": "OK" + } + }, + "security": [ + { + "accountSid_authToken": [] + } + ], + "x-maturity": [ + "GA" + ] + }, + "servers": [ + { + "url": "https://pricing.twilio.com" + } + ], + "x-twilio": { + "defaultOutputProperties": [ + "country", + "inbound_call_price", + "price_unit" + ], + "pathType": "instance" + } + }, "/v2/Voice/Countries": { "description": "Voice pricing by country", "get": { diff --git a/src/services/twilio-api/twilio_proxy_v1.json b/src/services/twilio-api/twilio_proxy_v1.json index a8b11abd..55ea763e 100644 --- a/src/services/twilio-api/twilio_proxy_v1.json +++ b/src/services/twilio-api/twilio_proxy_v1.json @@ -864,7 +864,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Proxy", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_serverless_v1.json b/src/services/twilio-api/twilio_serverless_v1.json index 63ea01d8..0d3a4d66 100644 --- a/src/services/twilio-api/twilio_serverless_v1.json +++ b/src/services/twilio-api/twilio_serverless_v1.json @@ -818,7 +818,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Serverless", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_studio_v1.json b/src/services/twilio-api/twilio_studio_v1.json index d9cec695..4ac639f3 100644 --- a/src/services/twilio-api/twilio_studio_v1.json +++ b/src/services/twilio-api/twilio_studio_v1.json @@ -579,7 +579,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Studio", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_studio_v2.json b/src/services/twilio-api/twilio_studio_v2.json index 0aab2466..aa7d16c8 100644 --- a/src/services/twilio-api/twilio_studio_v2.json +++ b/src/services/twilio-api/twilio_studio_v2.json @@ -478,7 +478,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Studio", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_supersim_v1.json b/src/services/twilio-api/twilio_supersim_v1.json index 197e04c2..cee69e79 100644 --- a/src/services/twilio-api/twilio_supersim_v1.json +++ b/src/services/twilio-api/twilio_supersim_v1.json @@ -613,7 +613,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Supersim", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_sync_v1.json b/src/services/twilio-api/twilio_sync_v1.json index 802278d5..e260638e 100644 --- a/src/services/twilio-api/twilio_sync_v1.json +++ b/src/services/twilio-api/twilio_sync_v1.json @@ -728,7 +728,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Sync", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_taskrouter_v1.json b/src/services/twilio-api/twilio_taskrouter_v1.json index 34c73103..d29d4b3f 100644 --- a/src/services/twilio-api/twilio_taskrouter_v1.json +++ b/src/services/twilio-api/twilio_taskrouter_v1.json @@ -1993,7 +1993,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Taskrouter", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_trunking_v1.json b/src/services/twilio-api/twilio_trunking_v1.json index b3a5fac4..6202474a 100644 --- a/src/services/twilio-api/twilio_trunking_v1.json +++ b/src/services/twilio-api/twilio_trunking_v1.json @@ -540,7 +540,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Trunking", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_trusthub_v1.json b/src/services/twilio-api/twilio_trusthub_v1.json index 9ebac67e..2605ebb0 100644 --- a/src/services/twilio-api/twilio_trusthub_v1.json +++ b/src/services/twilio-api/twilio_trusthub_v1.json @@ -757,7 +757,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Trusthub", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_verify_v2.json b/src/services/twilio-api/twilio_verify_v2.json index 8ba8f069..5d3e2cb8 100644 --- a/src/services/twilio-api/twilio_verify_v2.json +++ b/src/services/twilio-api/twilio_verify_v2.json @@ -1103,7 +1103,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Verify", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { @@ -1928,6 +1928,18 @@ "type": "string" } }, + { + "description": "The desired sort order of the Challenges list. One of `asc` or `desc` for ascending and descending respectively. Defaults to `asc`.", + "in": "query", + "name": "Order", + "schema": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, { "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000.", "in": "query", @@ -4097,13 +4109,6 @@ "description": "The digits to send after a phone call is answered, for example, to dial an extension. For more information, see the Programmable Voice documentation of [sendDigits](https://www.twilio.com/docs/voice/twiml/number#attributes-sendDigits).", "type": "string" }, - "TemplateSid": { - "description": "The SID of the custom template to be used.", - "maxLength": 34, - "minLength": 34, - "pattern": "^HJ[0-9a-fA-F]{32}$", - "type": "string" - }, "To": { "description": "The phone number or [email](https://www.twilio.com/docs/verify/email) to verify. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).", "type": "string" diff --git a/src/services/twilio-api/twilio_video_v1.json b/src/services/twilio-api/twilio_video_v1.json index 3fa2688a..165495b9 100644 --- a/src/services/twilio-api/twilio_video_v1.json +++ b/src/services/twilio-api/twilio_video_v1.json @@ -1052,7 +1052,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Video", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_voice_v1.json b/src/services/twilio-api/twilio_voice_v1.json index 4a18f543..5ef0ff0d 100644 --- a/src/services/twilio-api/twilio_voice_v1.json +++ b/src/services/twilio-api/twilio_voice_v1.json @@ -520,7 +520,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Voice", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": { diff --git a/src/services/twilio-api/twilio_wireless_v1.json b/src/services/twilio-api/twilio_wireless_v1.json index bf6981ec..91a33b85 100644 --- a/src/services/twilio-api/twilio_wireless_v1.json +++ b/src/services/twilio-api/twilio_wireless_v1.json @@ -562,7 +562,7 @@ }, "termsOfService": "https://www.twilio.com/legal/tos", "title": "Twilio - Wireless", - "version": "5.28.0" + "version": "1.20.1" }, "openapi": "3.0.1", "paths": {