Skip to content

Commit

Permalink
oaiFix: Updated api definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Oct 17, 2024
1 parent eb69532 commit f30542a
Show file tree
Hide file tree
Showing 5 changed files with 345 additions and 75 deletions.
8 changes: 8 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
--------------------------
**Api**
- Add response key `country` to fetch AvailablePhoneNumber resource by specific country.

**Messaging**
- Make library and doc public for requestManagedCert Endpoint


### [7.26.3](https://github.com/twilio/twilio-cli-core/compare/7.26.2...7.26.3) (2024-10-03)

--------------------------
Expand Down
97 changes: 49 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 41 additions & 11 deletions src/services/twilio-api/twilio_api_v2010.json
Original file line number Diff line number Diff line change
Expand Up @@ -2301,10 +2301,14 @@
"format": "phone-number-capabilities",
"properties": {
"mms": {
"type": "boolean"
"type": "boolean",
"x-field-extra-annotation": "@JacksonXmlProperty(localName=\"MMS\")",
"x-getter-extra-annotation": "@JacksonXmlProperty(localName=\"MMS\")"
},
"sms": {
"type": "boolean"
"type": "boolean",
"x-field-extra-annotation": "@JacksonXmlProperty(localName=\"SMS\")",
"x-getter-extra-annotation": "@JacksonXmlProperty(localName=\"SMS\")"
},
"voice": {
"type": "boolean"
Expand Down Expand Up @@ -2738,10 +2742,14 @@
"format": "phone-number-capabilities",
"properties": {
"mms": {
"type": "boolean"
"type": "boolean",
"x-field-extra-annotation": "@JacksonXmlProperty(localName=\"MMS\")",
"x-getter-extra-annotation": "@JacksonXmlProperty(localName=\"MMS\")"
},
"sms": {
"type": "boolean"
"type": "boolean",
"x-field-extra-annotation": "@JacksonXmlProperty(localName=\"SMS\")",
"x-getter-extra-annotation": "@JacksonXmlProperty(localName=\"SMS\")"
},
"voice": {
"type": "boolean"
Expand Down Expand Up @@ -3030,10 +3038,14 @@
"format": "phone-number-capabilities",
"properties": {
"mms": {
"type": "boolean"
"type": "boolean",
"x-field-extra-annotation": "@JacksonXmlProperty(localName=\"MMS\")",
"x-getter-extra-annotation": "@JacksonXmlProperty(localName=\"MMS\")"
},
"sms": {
"type": "boolean"
"type": "boolean",
"x-field-extra-annotation": "@JacksonXmlProperty(localName=\"SMS\")",
"x-getter-extra-annotation": "@JacksonXmlProperty(localName=\"SMS\")"
},
"voice": {
"type": "boolean"
Expand Down Expand Up @@ -3322,10 +3334,14 @@
"format": "phone-number-capabilities",
"properties": {
"mms": {
"type": "boolean"
"type": "boolean",
"x-field-extra-annotation": "@JacksonXmlProperty(localName=\"MMS\")",
"x-getter-extra-annotation": "@JacksonXmlProperty(localName=\"MMS\")"
},
"sms": {
"type": "boolean"
"type": "boolean",
"x-field-extra-annotation": "@JacksonXmlProperty(localName=\"SMS\")",
"x-getter-extra-annotation": "@JacksonXmlProperty(localName=\"SMS\")"
},
"voice": {
"type": "boolean"
Expand Down Expand Up @@ -12840,12 +12856,23 @@
"country": "Denmark",
"country_code": "DK",
"subresource_uris": {
"local": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/DK/Local.json"
"local": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/DK/Local.json",
"toll_free": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/DK/TollFree.json"
},
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/DK.json"
},
{
"beta": false,
"country": "Australia",
"country_code": "AU",
"subresource_uris": {
"local": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/AU/Local.json",
"mobile": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/AU/Mobile.json",
"toll_free": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/AU/TollFree.json"
},
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/AU.json"
}
],
"end": 1,
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers.json"
}
},
Expand Down Expand Up @@ -13012,7 +13039,7 @@
"examples": {
"fetch": {
"value": {
"beta": null,
"beta": false,
"country": "United States",
"country_code": "US",
"subresource_uris": {
Expand Down Expand Up @@ -47960,6 +47987,9 @@
{
"name": "Api20100401Trigger"
},
{
"name": "Api20100401TypeParameterized"
},
{
"name": "Api20100401UserDefinedMessage"
},
Expand Down
Loading

0 comments on commit f30542a

Please sign in to comment.