From 1e8e397de6ca2e7ac3a8340a28bf66e80283c603 Mon Sep 17 00:00:00 2001 From: Twilio Date: Tue, 18 Jun 2024 15:16:08 +0000 Subject: [PATCH] [Librarian] Regenerated @ 84b4cd4c23a96109c715a2512bbe8238fae5c394 --- CHANGES.md | 27 +++++++++ spec/json/twilio_api_v2010.json | 4 +- spec/json/twilio_events_v1.json | 95 +++++++++++++++++++++++++++++++ spec/json/twilio_lookups_v1.json | 8 --- spec/json/twilio_numbers_v1.json | 45 +++++++++------ spec/json/twilio_proxy_v1.json | 4 +- spec/json/twilio_trusthub_v1.json | 7 ++- spec/yaml/twilio_api_v2010.yaml | 9 +-- spec/yaml/twilio_events_v1.yaml | 80 ++++++++++++++++++++++++++ spec/yaml/twilio_lookups_v1.yaml | 8 --- spec/yaml/twilio_numbers_v1.yaml | 40 ++++++++----- spec/yaml/twilio_proxy_v1.yaml | 4 +- spec/yaml/twilio_trusthub_v1.yaml | 4 ++ 13 files changed, 278 insertions(+), 57 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 1fcc58fe..fa4b8a60 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,32 @@ twilio-oai changelog ==================== +[2024-06-18] Version 2.0.0 +-------------------------- +**Note:** This release contains breaking changes, check our [upgrade guide](./UPGRADE.md#2024-06-18-156x-to-2xx) for detailed migration notes. + +**Library - Feature** +- [PR #111](https://github.com/twilio/twilio-oai/pull/111): Merge branch '2.0.0-rc' into main. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)! **(breaking change)** +- [PR #110](https://github.com/twilio/twilio-oai/pull/110): Merge branch '2.0.0-rc' into main. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)! **(breaking change)** + +**Events** +- Add `status` and `documentation_url` to Event Types + +**Lookups** +- Removed unused `fraud` lookups in V1 only to facilitate rest proxy migration + +**Numbers** +- Add date_created field to the Get Port In Request API +- Rename the `status_last_time_updated_timestamp` field to `last_updated` in the Get Port In Phone Number API **(breaking change)** +- Add Rejection reason and rejection reason code to the Get Port In Phone Number API +- Remove the carrier information from the Portability API + +**Proxy** +- Change property `type` from enum to ienum + +**Trusthub** +- Add skipMessagingUseCase field in compliance_tollfree_inquiry. + + [2024-06-06] Version 1.56.1 --------------------------- **Api** diff --git a/spec/json/twilio_api_v2010.json b/spec/json/twilio_api_v2010.json index 53780ef1..45991ab1 100644 --- a/spec/json/twilio_api_v2010.json +++ b/spec/json/twilio_api_v2010.json @@ -1226,7 +1226,7 @@ "price": { "type": "string", "nullable": true, - "description": "The charge for this call, in the currency associated with the account. Populated after the call is completed. May not be immediately available." + "description": "The charge for this call, in the currency associated with the account. Populated after the call is completed. May not be immediately available. The price associated with a call only reflects the charge for connectivity. Charges for other call-related features such as Answering Machine Detection, Text-To-Speech, and SIP REFER are not included in this value." }, "price_unit": { "type": "string", @@ -4639,7 +4639,7 @@ "channels": { "type": "integer", "nullable": true, - "description": "The number of channels in the final recording file. Can be: `1` or `2`. You can split a call with two legs into two separate recording channels if you record using [TwiML Dial](https://www.twilio.com/docs/voice/twiml/dial#record) or the [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls#manage-your-outbound-call)." + "description": "The number of channels in the final recording file. Can be: `1` or `2`." }, "source": { "type": "string", diff --git a/spec/json/twilio_events_v1.json b/spec/json/twilio_events_v1.json index 30f5998c..899fec76 100644 --- a/spec/json/twilio_events_v1.json +++ b/spec/json/twilio_events_v1.json @@ -37,6 +37,16 @@ "nullable": true, "description": "A human readable description for this Event Type." }, + "status": { + "type": "string", + "nullable": true, + "description": "A string that describes how this Event Type can be used. For example: `available`, `deprecated`, `restricted`, `discontinued`. When the status is `available`, the Event Type can be used normally." + }, + "documentation_url": { + "type": "string", + "nullable": true, + "description": "The URL to the documentation or to the most relevant Twilio Changelog entry of this Event Type." + }, "url": { "type": "string", "format": "uri", @@ -459,6 +469,8 @@ "type": "com.twilio.messaging.message.delivered", "schema_id": "Messaging.MessageStatus", "public": true, + "status": "available", + "documentation_url": null, "description": "Messaging- delivered message", "url": "https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered", "links": { @@ -471,6 +483,51 @@ "type": "com.twilio.messaging.message.failed", "schema_id": "Messaging.MessageStatus", "public": true, + "status": "deprecated", + "documentation_url": "https://www.twilio.com/docs/voice/voice-insights/event-streams", + "description": "Messaging- failed message", + "url": "https://events.twilio.com/v1/Types/com.twilio.messaging.message.failed", + "links": { + "schema": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions" + } + } + ], + "meta": { + "page": 0, + "page_size": 20, + "first_page_url": "https://events.twilio.com/v1/Types?PageSize=20&Page=0", + "previous_page_url": null, + "url": "https://events.twilio.com/v1/Types?PageSize=20&Page=0", + "next_page_url": null, + "key": "types" + } + } + }, + "readResultsRollbackStatusAndDocsFields": { + "value": { + "types": [ + { + "date_created": "2020-08-13T13:28:20Z", + "date_updated": "2020-08-13T13:28:20Z", + "type": "com.twilio.messaging.message.delivered", + "schema_id": "Messaging.MessageStatus", + "public": true, + "status": "available", + "documentation_url": null, + "description": "Messaging- delivered message", + "url": "https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered", + "links": { + "schema": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions" + } + }, + { + "date_created": "2020-08-13T13:28:19Z", + "date_updated": "2020-08-13T13:28:19Z", + "type": "com.twilio.messaging.message.failed", + "schema_id": "Messaging.MessageStatus", + "public": true, + "status": "available", + "documentation_url": null, "description": "Messaging- failed message", "url": "https://events.twilio.com/v1/Types/com.twilio.messaging.message.failed", "links": { @@ -498,6 +555,8 @@ "type": "com.twilio.messaging.message.delivered", "schema_id": "Messaging.MessageStatus", "public": true, + "status": "available", + "documentation_url": null, "description": "Messaging- delivered message", "url": "https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered", "links": { @@ -510,6 +569,8 @@ "type": "com.twilio.messaging.message.failed", "schema_id": "Messaging.MessageStatus", "public": true, + "status": "deprecated", + "documentation_url": "https://www.twilio.com/docs/voice/voice-insights/event-streams", "description": "Messaging- failed message", "url": "https://events.twilio.com/v1/Types/com.twilio.messaging.message.failed", "links": { @@ -618,6 +679,22 @@ "$ref": "#/components/schemas/events.v1.event_type" }, "examples": { + "fetchNoDocs": { + "value": { + "date_created": "2020-08-13T13:28:20Z", + "date_updated": "2020-08-13T13:28:20Z", + "type": "com.twilio.messaging.message.delivered", + "schema_id": "Messaging.MessageStatus", + "status": "available", + "documentation_url": null, + "public": true, + "description": "Messaging- delivered message", + "url": "https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered", + "links": { + "schema": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions" + } + } + }, "fetch": { "value": { "date_created": "2020-08-13T13:28:20Z", @@ -625,6 +702,24 @@ "type": "com.twilio.messaging.message.delivered", "schema_id": "Messaging.MessageStatus", "public": true, + "status": "available", + "documentation_url": "https://www.twilio.com/docs/voice/voice-insights/event-streams", + "description": "Messaging- delivered message", + "url": "https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered", + "links": { + "schema": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions" + } + } + }, + "fetchRollbackStatusAndDocsFields": { + "value": { + "date_created": "2020-08-13T13:28:20Z", + "date_updated": "2020-08-13T13:28:20Z", + "type": "com.twilio.messaging.message.delivered", + "schema_id": "Messaging.MessageStatus", + "public": true, + "status": "available", + "documentation_url": null, "description": "Messaging- delivered message", "url": "https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered", "links": { diff --git a/spec/json/twilio_lookups_v1.json b/spec/json/twilio_lookups_v1.json index 7b044b2a..c6d8b5c8 100644 --- a/spec/json/twilio_lookups_v1.json +++ b/spec/json/twilio_lookups_v1.json @@ -282,7 +282,6 @@ "value": { "caller_name": null, "carrier": null, - "fraud": null, "add_ons": null, "country_code": "US", "national_format": "(510) 867-5310", @@ -303,7 +302,6 @@ "country_code": "US", "national_format": "(510) 867-5310", "phone_number": "+15108675310", - "fraud": null, "add_ons": null, "url": "https://lookups.twilio.com/v1/PhoneNumbers/+15108675310" } @@ -321,7 +319,6 @@ "country_code": "GB", "national_format": "020 7765 1182", "phone_number": "+4402077651182", - "fraud": null, "add_ons": null, "url": "https://lookups.twilio.com/v1/PhoneNumbers/+4402077651182" } @@ -334,7 +331,6 @@ "error_code": null }, "carrier": null, - "fraud": null, "country_code": "US", "national_format": "(510) 867-5310", "phone_number": "+15108675310", @@ -356,7 +352,6 @@ "name": "verizon", "type": "mobile" }, - "fraud": null, "country_code": "US", "national_format": "(510) 867-5310", "phone_number": "+15108675310", @@ -380,7 +375,6 @@ "phone_number": "+12127363100", "national_format": "(212) 736-3100", "carrier": null, - "fraud": null, "add_ons": { "status": "successful", "message": null, @@ -447,7 +441,6 @@ "type": "mobile", "error_code": null }, - "fraud": null, "add_ons": { "status": "successful", "message": null, @@ -482,7 +475,6 @@ "type": "landline", "error_code": null }, - "fraud": null, "add_ons": { "status": "successful", "message": null, diff --git a/spec/json/twilio_numbers_v1.json b/spec/json/twilio_numbers_v1.json index 41a8c252..c01a433f 100644 --- a/spec/json/twilio_numbers_v1.json +++ b/spec/json/twilio_numbers_v1.json @@ -231,6 +231,11 @@ }, "nullable": true, "description": "The list of documents SID referencing a utility bills" + }, + "date_created": { + "type": "string", + "format": "date", + "nullable": true } } }, @@ -288,7 +293,7 @@ "nullable": true, "description": "The phone number is missing required fields." }, - "status_last_time_updated_timestamp": { + "last_updated": { "type": "string", "format": "date-time", "nullable": true, @@ -311,7 +316,7 @@ "description": "The reason why the phone number is not portable." }, "not_portability_reason_code": { - "type": "string", + "type": "integer", "nullable": true, "description": "The code of the reason why the phone number is not portable." }, @@ -319,6 +324,21 @@ "type": "string", "nullable": true, "description": "The status of the phone number in the port in request." + }, + "port_out_pin": { + "type": "integer", + "nullable": true, + "description": "The pin required for the losing carrier to port out the phone number." + }, + "rejection_reason": { + "type": "string", + "nullable": true, + "description": "The rejection reason returned by the vendor." + }, + "rejection_reason_code": { + "type": "integer", + "nullable": true, + "description": "The rejection reason code returned by the vendor." } } }, @@ -371,16 +391,6 @@ "nullable": true, "description": "Country the phone number belongs to." }, - "messaging_carrier": { - "type": "string", - "nullable": true, - "description": "Current messaging carrier of the phone number" - }, - "voice_carrier": { - "type": "string", - "nullable": true, - "description": "Current voice carrier of the phone number" - }, "url": { "type": "string", "format": "uri", @@ -940,6 +950,7 @@ "target_port_in_time_range_start": "10:00:00+01:00", "target_port_in_time_range_end": "20:00:00+01:00", "port_in_request_status": "pending", + "date_created": "2023-09-10", "losing_carrier_information": { "customer_type": "Business/Individual", "customer_name": "Customer name for carrier", @@ -1119,6 +1130,7 @@ "target_port_in_time_range_start": "10:00:00+01:00", "target_port_in_time_range_end": "20:00:00+01:00", "port_in_request_status": "pending", + "date_created": "2023-09-10", "losing_carrier_information": { "customer_type": "Business/Individual", "customer_name": "Customer name for carrier", @@ -1307,13 +1319,16 @@ "date_created": "2024-04-10T06:52:21Z", "country": "US", "missing_required_fields": false, - "status_last_time_updated_timestamp": "2024-03-12T06:52:21Z", + "last_updated": "2024-03-12T06:52:21Z", "phone_number": "+15024953384", "portable": true, "not_portability_reason": "ALREADY_IN_TWILIO_DIFFERENT_OWNER", - "not_portability_reason_code": "22132", + "not_portability_reason_code": 22132, "port_in_phone_number_status": "in_review", "phone_number_sid": "PUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "port_out_pin": 1234, + "rejection_reason": null, + "rejection_reason_code": null, "url": "https://numbers.twilio.com/v1/Porting/PortIn/KWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PhoneNumber/PUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } } @@ -1430,8 +1445,6 @@ "not_portable_reason_code": 22133, "number_type": "TOLL-FREE", "country": "US", - "messaging_carrier": "Verizon", - "voice_carrier": "Verizon", "url": "https://numbers.twilio.com/v1/Porting/Portability/PhoneNumber/+18001234567" } } diff --git a/spec/json/twilio_proxy_v1.json b/spec/json/twilio_proxy_v1.json index 1a1571fb..33ca738a 100644 --- a/spec/json/twilio_proxy_v1.json +++ b/spec/json/twilio_proxy_v1.json @@ -1322,7 +1322,7 @@ } ], "responses": { - "201": { + "200": { "content": { "application/json": { "schema": { @@ -1392,7 +1392,7 @@ } } }, - "description": "Created" + "description": "OK" } }, "security": [ diff --git a/spec/json/twilio_trusthub_v1.json b/spec/json/twilio_trusthub_v1.json index e1b27c22..f8e2ad5c 100644 --- a/spec/json/twilio_trusthub_v1.json +++ b/spec/json/twilio_trusthub_v1.json @@ -1844,6 +1844,10 @@ "ThemeSetId": { "type": "string", "description": "Theme id for styling the inquiry form." + }, + "SkipMessagingUseCase": { + "type": "boolean", + "description": "Skip the messaging use case screen of the inquiry form." } }, "required": [ @@ -1887,7 +1891,8 @@ "OptInType": "VERBAL", "MessageVolume": "10", "AdditionalInformation": "see our privacy policy here www.johnscoffeeshop.com/privacypolicy", - "ThemeSetId": "theme_set_id" + "ThemeSetId": "theme_set_id", + "SkipMessagingUseCase": true } } } diff --git a/spec/yaml/twilio_api_v2010.yaml b/spec/yaml/twilio_api_v2010.yaml index 9e4eb15e..35043851 100644 --- a/spec/yaml/twilio_api_v2010.yaml +++ b/spec/yaml/twilio_api_v2010.yaml @@ -1165,7 +1165,10 @@ components: nullable: true description: The charge for this call, in the currency associated with the account. Populated after the call is completed. May not be immediately - available. + available. The price associated with a call only reflects the charge for + connectivity. Charges for other call-related features such as Answering + Machine Detection, Text-To-Speech, and SIP REFER are not included in this + value. price_unit: type: string format: currency @@ -4372,9 +4375,7 @@ components: type: integer nullable: true description: 'The number of channels in the final recording file. Can be: - `1` or `2`. You can split a call with two legs into two separate recording - channels if you record using [TwiML Dial](https://www.twilio.com/docs/voice/twiml/dial#record) - or the [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls#manage-your-outbound-call).' + `1` or `2`.' source: type: string $ref: '#/components/schemas/recording_enum_source' diff --git a/spec/yaml/twilio_events_v1.yaml b/spec/yaml/twilio_events_v1.yaml index c0d8caf0..f78f0234 100644 --- a/spec/yaml/twilio_events_v1.yaml +++ b/spec/yaml/twilio_events_v1.yaml @@ -32,6 +32,17 @@ components: type: string nullable: true description: A human readable description for this Event Type. + status: + type: string + nullable: true + description: 'A string that describes how this Event Type can be used. For + example: `available`, `deprecated`, `restricted`, `discontinued`. When + the status is `available`, the Event Type can be used normally.' + documentation_url: + type: string + nullable: true + description: The URL to the documentation or to the most relevant Twilio + Changelog entry of this Event Type. url: type: string format: uri @@ -369,6 +380,8 @@ paths: type: com.twilio.messaging.message.delivered schema_id: Messaging.MessageStatus public: true + status: available + documentation_url: null description: Messaging- delivered message url: https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered links: @@ -378,6 +391,41 @@ paths: type: com.twilio.messaging.message.failed schema_id: Messaging.MessageStatus public: true + status: deprecated + documentation_url: https://www.twilio.com/docs/voice/voice-insights/event-streams + description: Messaging- failed message + url: https://events.twilio.com/v1/Types/com.twilio.messaging.message.failed + links: + schema: https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions + meta: + page: 0 + page_size: 20 + first_page_url: https://events.twilio.com/v1/Types?PageSize=20&Page=0 + previous_page_url: null + url: https://events.twilio.com/v1/Types?PageSize=20&Page=0 + next_page_url: null + key: types + readResultsRollbackStatusAndDocsFields: + value: + types: + - date_created: '2020-08-13T13:28:20Z' + date_updated: '2020-08-13T13:28:20Z' + type: com.twilio.messaging.message.delivered + schema_id: Messaging.MessageStatus + public: true + status: available + documentation_url: null + description: Messaging- delivered message + url: https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered + links: + schema: https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions + - date_created: '2020-08-13T13:28:19Z' + date_updated: '2020-08-13T13:28:19Z' + type: com.twilio.messaging.message.failed + schema_id: Messaging.MessageStatus + public: true + status: available + documentation_url: null description: Messaging- failed message url: https://events.twilio.com/v1/Types/com.twilio.messaging.message.failed links: @@ -398,6 +446,8 @@ paths: type: com.twilio.messaging.message.delivered schema_id: Messaging.MessageStatus public: true + status: available + documentation_url: null description: Messaging- delivered message url: https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered links: @@ -407,6 +457,8 @@ paths: type: com.twilio.messaging.message.failed schema_id: Messaging.MessageStatus public: true + status: deprecated + documentation_url: https://www.twilio.com/docs/voice/voice-insights/event-streams description: Messaging- failed message url: https://events.twilio.com/v1/Types/com.twilio.messaging.message.failed links: @@ -477,6 +529,19 @@ paths: schema: $ref: '#/components/schemas/events.v1.event_type' examples: + fetchNoDocs: + value: + date_created: '2020-08-13T13:28:20Z' + date_updated: '2020-08-13T13:28:20Z' + type: com.twilio.messaging.message.delivered + schema_id: Messaging.MessageStatus + status: available + documentation_url: null + public: true + description: Messaging- delivered message + url: https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered + links: + schema: https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions fetch: value: date_created: '2020-08-13T13:28:20Z' @@ -484,6 +549,21 @@ paths: type: com.twilio.messaging.message.delivered schema_id: Messaging.MessageStatus public: true + status: available + documentation_url: https://www.twilio.com/docs/voice/voice-insights/event-streams + description: Messaging- delivered message + url: https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered + links: + schema: https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions + fetchRollbackStatusAndDocsFields: + value: + date_created: '2020-08-13T13:28:20Z' + date_updated: '2020-08-13T13:28:20Z' + type: com.twilio.messaging.message.delivered + schema_id: Messaging.MessageStatus + public: true + status: available + documentation_url: null description: Messaging- delivered message url: https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered links: diff --git a/spec/yaml/twilio_lookups_v1.yaml b/spec/yaml/twilio_lookups_v1.yaml index c0678545..d086c5d0 100644 --- a/spec/yaml/twilio_lookups_v1.yaml +++ b/spec/yaml/twilio_lookups_v1.yaml @@ -211,7 +211,6 @@ paths: value: caller_name: null carrier: null - fraud: null add_ons: null country_code: US national_format: (510) 867-5310 @@ -229,7 +228,6 @@ paths: country_code: US national_format: (510) 867-5310 phone_number: '+15108675310' - fraud: null add_ons: null url: https://lookups.twilio.com/v1/PhoneNumbers/+15108675310 fetchCarrierInternational: @@ -244,7 +242,6 @@ paths: country_code: GB national_format: 020 7765 1182 phone_number: '+4402077651182' - fraud: null add_ons: null url: https://lookups.twilio.com/v1/PhoneNumbers/+4402077651182 fetchCallerName: @@ -254,7 +251,6 @@ paths: caller_type: CONSUMER error_code: null carrier: null - fraud: null country_code: US national_format: (510) 867-5310 phone_number: '+15108675310' @@ -272,7 +268,6 @@ paths: mobile_network_code: '456' name: verizon type: mobile - fraud: null country_code: US national_format: (510) 867-5310 phone_number: '+15108675310' @@ -292,7 +287,6 @@ paths: phone_number: '+12127363100' national_format: (212) 736-3100 carrier: null - fraud: null add_ons: status: successful message: null @@ -348,7 +342,6 @@ paths: name: Ytel/Blitz type: mobile error_code: null - fraud: null add_ons: status: successful message: null @@ -376,7 +369,6 @@ paths: name: Level 3 Communications, LLC type: landline error_code: null - fraud: null add_ons: status: successful message: null diff --git a/spec/yaml/twilio_numbers_v1.yaml b/spec/yaml/twilio_numbers_v1.yaml index b7cd2047..e4f2f298 100644 --- a/spec/yaml/twilio_numbers_v1.yaml +++ b/spec/yaml/twilio_numbers_v1.yaml @@ -216,6 +216,10 @@ components: type: string nullable: true description: The list of documents SID referencing a utility bills + date_created: + type: string + format: date + nullable: true numbers.v1.porting_port_in_phone_number: type: object properties: @@ -264,7 +268,7 @@ components: type: boolean nullable: true description: The phone number is missing required fields. - status_last_time_updated_timestamp: + last_updated: type: string format: date-time nullable: true @@ -283,13 +287,26 @@ components: nullable: true description: The reason why the phone number is not portable. not_portability_reason_code: - type: string + type: integer nullable: true description: The code of the reason why the phone number is not portable. port_in_phone_number_status: type: string nullable: true description: The status of the phone number in the port in request. + port_out_pin: + type: integer + nullable: true + description: The pin required for the losing carrier to port out the phone + number. + rejection_reason: + type: string + nullable: true + description: The rejection reason returned by the vendor. + rejection_reason_code: + type: integer + nullable: true + description: The rejection reason code returned by the vendor. numbers.v1.porting_portability: type: object properties: @@ -337,14 +354,6 @@ components: format: iso-country-code nullable: true description: Country the phone number belongs to. - messaging_carrier: - type: string - nullable: true - description: Current messaging carrier of the phone number - voice_carrier: - type: string - nullable: true - description: Current voice carrier of the phone number url: type: string format: uri @@ -761,6 +770,7 @@ paths: target_port_in_time_range_start: 10:00:00+01:00 target_port_in_time_range_end: 20:00:00+01:00 port_in_request_status: pending + date_created: '2023-09-10' losing_carrier_information: customer_type: Business/Individual customer_name: Customer name for carrier @@ -886,6 +896,7 @@ paths: target_port_in_time_range_start: 10:00:00+01:00 target_port_in_time_range_end: 20:00:00+01:00 port_in_request_status: pending + date_created: '2023-09-10' losing_carrier_information: customer_type: Business/Individual customer_name: Customer name for carrier @@ -1021,13 +1032,16 @@ paths: date_created: '2024-04-10T06:52:21Z' country: US missing_required_fields: false - status_last_time_updated_timestamp: '2024-03-12T06:52:21Z' + last_updated: '2024-03-12T06:52:21Z' phone_number: '+15024953384' portable: true not_portability_reason: ALREADY_IN_TWILIO_DIFFERENT_OWNER - not_portability_reason_code: '22132' + not_portability_reason_code: 22132 port_in_phone_number_status: in_review phone_number_sid: PUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + port_out_pin: 1234 + rejection_reason: null + rejection_reason_code: null url: https://numbers.twilio.com/v1/Porting/PortIn/KWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PhoneNumber/PUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa headers: Access-Control-Allow-Origin: @@ -1108,8 +1122,6 @@ paths: not_portable_reason_code: 22133 number_type: TOLL-FREE country: US - messaging_carrier: Verizon - voice_carrier: Verizon url: https://numbers.twilio.com/v1/Porting/Portability/PhoneNumber/+18001234567 headers: Access-Control-Allow-Origin: diff --git a/spec/yaml/twilio_proxy_v1.yaml b/spec/yaml/twilio_proxy_v1.yaml index a9fc0515..2ae8d0d1 100644 --- a/spec/yaml/twilio_proxy_v1.yaml +++ b/spec/yaml/twilio_proxy_v1.yaml @@ -1151,7 +1151,7 @@ paths: pattern: ^KP[0-9a-fA-F]{32}$ required: true responses: - '201': + '200': content: application/json: schema: @@ -1204,7 +1204,7 @@ paths: schema: type: string example: X-Custom-Header1, X-Custom-Header2 - description: Created + description: OK security: - accountSid_authToken: [] operationId: CreateMessageInteraction diff --git a/spec/yaml/twilio_trusthub_v1.yaml b/spec/yaml/twilio_trusthub_v1.yaml index e0445c24..d7151fd1 100644 --- a/spec/yaml/twilio_trusthub_v1.yaml +++ b/spec/yaml/twilio_trusthub_v1.yaml @@ -1508,6 +1508,9 @@ paths: ThemeSetId: type: string description: Theme id for styling the inquiry form. + SkipMessagingUseCase: + type: boolean + description: Skip the messaging use case screen of the inquiry form. required: - TollfreePhoneNumber - NotificationEmail @@ -1545,6 +1548,7 @@ paths: MessageVolume: '10' AdditionalInformation: see our privacy policy here www.johnscoffeeshop.com/privacypolicy ThemeSetId: theme_set_id + SkipMessagingUseCase: true /v1/CustomerProfiles: servers: - url: https://trusthub.twilio.com