Skip to content

Commit

Permalink
[Librarian] Regenerated @ d97b0740a0c7cf86beebd56c6973927b07719cde
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Oct 17, 2024
1 parent d8616ef commit b8f4a75
Show file tree
Hide file tree
Showing 7 changed files with 527 additions and 59 deletions.
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
twilio-oai changelog
====================
[2024-10-17] Version 2.1.4
--------------------------
**Api**
- Add response key `country` to fetch AvailablePhoneNumber resource by specific country.

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


[2024-10-03] Version 2.1.3
--------------------------
**Messaging**
Expand Down
52 changes: 41 additions & 11 deletions spec/json/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
231 changes: 231 additions & 0 deletions spec/json/twilio_messaging_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,66 @@
}
}
},
"messaging.v1.request_managed_cert": {
"type": "object",
"properties": {
"domain_sid": {
"type": "string",
"minLength": 34,
"maxLength": 34,
"pattern": "^DN[0-9a-fA-F]{32}$",
"nullable": true,
"description": "The unique string that we created to identify the Domain resource."
},
"date_updated": {
"type": "string",
"format": "date-time",
"nullable": true,
"description": "Date that this Domain was last updated."
},
"date_created": {
"type": "string",
"format": "date-time",
"nullable": true,
"description": "Date that this Domain was registered to the Twilio platform to create a new Domain object."
},
"date_expires": {
"type": "string",
"format": "date-time",
"nullable": true,
"description": "Date that the private certificate associated with this domain expires. This is the expiration date of your existing cert."
},
"domain_name": {
"type": "string",
"format": "uri",
"nullable": true,
"description": "Full url path for this domain."
},
"certificate_sid": {
"type": "string",
"minLength": 34,
"maxLength": 34,
"pattern": "^CW[0-9a-fA-F]{32}$",
"nullable": true,
"description": "The unique string that we created to identify this Certificate resource."
},
"url": {
"type": "string",
"format": "uri",
"nullable": true
},
"managed": {
"type": "boolean",
"nullable": true,
"description": "A boolean flag indicating if the certificate is managed by Twilio."
},
"requesting": {
"type": "boolean",
"nullable": true,
"description": "A boolean flag indicating if a managed certificate needs to be fulfilled by Twilio."
}
}
},
"messaging.v1.service": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -5513,6 +5573,177 @@
"operationId": "FetchPhoneNumber"
}
},
"/v1/LinkShortening/Domains/{DomainSid}/RequestManagedCert": {
"servers": [
{
"url": "https://messaging.twilio.com"
}
],
"description": "",
"x-twilio": {
"defaultOutputProperties": [
"certificate_sid",
"domain_name",
"domain_sid",
"date_created",
"date_updated",
"url",
"managed",
"requesting"
],
"pathType": "instance"
},
"post": {
"description": "",
"tags": [
"MessagingV1RequestManagedCert"
],
"parameters": [
{
"name": "DomainSid",
"in": "path",
"description": "Unique string used to identify the domain that this certificate should be associated with.",
"schema": {
"type": "string",
"minLength": 34,
"maxLength": 34,
"pattern": "^DN[0-9a-fA-F]{32}$"
},
"required": true
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/messaging.v1.request_managed_cert"
},
"examples": {
"update": {
"value": {
"certificate_sid": "CWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"domain_name": "https://api.example.com",
"domain_sid": "DNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2021-02-06T18:02:04Z",
"date_updated": "2021-02-06T18:02:04Z",
"date_expires": "2021-02-06T18:02:04Z",
"url": "https://messaging.twilio.com/v1/LinkShortening/Domains/DNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RequestManagedCert",
"managed": true,
"requesting": true
}
}
}
}
},
"headers": {
"Access-Control-Allow-Origin": {
"description": "Specify the origin(s) allowed to access the resource",
"schema": {
"type": "string"
},
"example": "*"
},
"Access-Control-Allow-Methods": {
"description": "Specify the HTTP methods allowed when accessing the resource",
"schema": {
"type": "string"
},
"example": "POST, OPTIONS"
},
"Access-Control-Allow-Headers": {
"description": "Specify the headers allowed when accessing the resource",
"schema": {
"type": "string"
},
"example": "Content-Type, Authorization"
},
"Access-Control-Allow-Credentials": {
"description": "Indicates whether the browser should include credentials",
"schema": {
"type": "boolean"
}
},
"Access-Control-Expose-Headers": {
"description": "Headers exposed to the client",
"schema": {
"type": "string",
"example": "X-Custom-Header1, X-Custom-Header2"
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/messaging.v1.request_managed_cert"
},
"examples": {
"create": {
"value": {
"certificate_sid": "CWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"domain_name": "https://api.example.com",
"domain_sid": "DNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2021-02-06T18:02:04Z",
"date_updated": "2021-02-06T18:02:04Z",
"date_expires": null,
"url": "https://messaging.twilio.com/v1/LinkShortening/Domains/DNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RequestManagedCert",
"managed": true,
"requesting": true
}
}
}
}
},
"headers": {
"Access-Control-Allow-Origin": {
"description": "Specify the origin(s) allowed to access the resource",
"schema": {
"type": "string"
},
"example": "*"
},
"Access-Control-Allow-Methods": {
"description": "Specify the HTTP methods allowed when accessing the resource",
"schema": {
"type": "string"
},
"example": "POST, OPTIONS"
},
"Access-Control-Allow-Headers": {
"description": "Specify the headers allowed when accessing the resource",
"schema": {
"type": "string"
},
"example": "Content-Type, Authorization"
},
"Access-Control-Allow-Credentials": {
"description": "Indicates whether the browser should include credentials",
"schema": {
"type": "boolean"
}
},
"Access-Control-Expose-Headers": {
"description": "Headers exposed to the client",
"schema": {
"type": "string",
"example": "X-Custom-Header1, X-Custom-Header2"
}
}
},
"description": "Created"
}
},
"security": [
{
"accountSid_authToken": []
}
],
"operationId": "UpdateRequestManagedCert"
}
},
"/v1/Services": {
"servers": [
{
Expand Down
Loading

0 comments on commit b8f4a75

Please sign in to comment.