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 Nov 18, 2021
1 parent 5a45fb3 commit da67df0
Show file tree
Hide file tree
Showing 36 changed files with 188 additions and 87 deletions.
16 changes: 16 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
---------------------------
**Frontline**
- Added `is_available` to User's resource

**Messaging**
- Added GET vetting API

**Verify**
- Add `WHATSAPP` to the attempts API.
- Allow to update `config.notification_platform` from `none` to `apn` or `fcm` and viceversa for Verify Push
- Add `none` as a valid `config.notification_platform` value for Verify Push

**Twiml**
- Add supported SSML children to `<emphasis>`, `<lang>`, `<p>`, `<prosody>`, `<s>`, and `<w>`.


## [5.32.0](https://github.com/twilio/twilio-cli-core/compare/5.31.1...5.32.0) (2021-11-04)


Expand Down
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_accounts_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Accounts",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
72 changes: 36 additions & 36 deletions src/services/twilio-api/twilio_api_v2010.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/services/twilio-api/twilio_autopilot_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Autopilot",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down Expand Up @@ -1514,7 +1514,7 @@
}
},
{
"description": "The tag that specifies the language of the value. Currently supported tags: `en-US`, as per [ISO language-country](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html)",
"description": "The [ISO language-country](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html) tag that specifies the language of the value. Currently supported tags: `en-US`",
"in": "query",
"name": "Language",
"schema": {
Expand Down Expand Up @@ -2285,7 +2285,7 @@
}
},
{
"description": "The string that specifies the language used by the Query resources read. For example:`en-US` as per [ISO language-country](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html).",
"description": "The [ISO language-country](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html) string that specifies the language used by the Query resources to read. For example: `en-US`.",
"in": "query",
"name": "Language",
"schema": {
Expand Down Expand Up @@ -2410,7 +2410,7 @@
"schema": {
"properties": {
"Language": {
"description": "The string that specifies the language used for the new query. For example: `en-US`, as per [ISO language-country](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html).",
"description": "The [ISO language-country](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html) string that specifies the language used for the new query. For example: `en-US`.",
"type": "string"
},
"ModelBuild": {
Expand Down Expand Up @@ -3509,7 +3509,7 @@
}
},
{
"description": "The string that specifies the language used for the sample. For example: `en-US`, as per [ISO language-country](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html).",
"description": "The [ISO language-country](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html) string that specifies the language used for the sample. For example: `en-US`.",
"in": "query",
"name": "Language",
"schema": {
Expand Down Expand Up @@ -4449,4 +4449,4 @@
"name": "Preview"
}
]
}
}
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_bulkexports_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Bulkexports",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_chat_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Chat",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_chat_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Chat",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_conversations_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2036,7 +2036,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Conversations",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_events_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Events",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
8 changes: 4 additions & 4 deletions src/services/twilio-api/twilio_fax_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Fax",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down Expand Up @@ -330,12 +330,12 @@
"type": "string"
},
"MediaUrl": {
"description": "The URL of the PDF that contains the fax. For information on how to ensure the request for your media comes from Twilio, see our [security](https://www.twilio.com/docs/usage/security) page.",
"description": "The URL of the PDF that contains the fax. See our [security](https://www.twilio.com/docs/usage/security) page for information on how to ensure the request for your media comes from Twilio.",
"format": "uri",
"type": "string"
},
"Quality": {
"description": "Can be: `standard`, `fine`, or `superfine` and defaults to `fine`. The [Fax Quality value](https://www.twilio.com/docs/fax/api/fax-resource#fax-quality-values) that describes the fax quality.",
"description": "The [Fax Quality value](https://www.twilio.com/docs/fax/api/fax-resource#fax-quality-values) that describes the fax quality. Can be: `standard`, `fine`, or `superfine` and defaults to `fine`.",
"enum": [
"standard",
"fine",
Expand Down Expand Up @@ -782,4 +782,4 @@
"name": "Beta"
}
]
}
}
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_flex_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Flex",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
13 changes: 11 additions & 2 deletions src/services/twilio-api/twilio_frontline_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
"nullable": true,
"type": "string"
},
"is_available": {
"description": "Whether the User is available for new conversations",
"nullable": true,
"type": "boolean"
},
"sid": {
"description": "The unique string that identifies the resource",
"maxLength": 34,
Expand Down Expand Up @@ -65,7 +70,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Frontline",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down Expand Up @@ -133,8 +138,12 @@
"description": "The string that you assigned to describe the User.",
"type": "string"
},
"IsAvailable": {
"description": "Whether the User is available for new conversations. Set to `false` to prevent User from receiving new inbound conversations if you are using [Pool Routing](https://www.twilio.com/docs/frontline/handle-incoming-conversations#3-pool-routing).",
"type": "boolean"
},
"State": {
"description": "Current state of this user. Can be either `active` or `deactivated` and defaults to `active`",
"description": "Current state of this user. Can be either `active` or `deactivated`.",
"enum": [
"active",
"deactivated"
Expand Down
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_insights_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Insights",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_ip_messaging_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Ip_messaging",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_ip_messaging_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Ip_messaging",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_lookups_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Lookups",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
12 changes: 6 additions & 6 deletions src/services/twilio-api/twilio_media_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,12 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Media",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
"/v1/MediaProcessors": {
"description": "TODO: Resource-level docs",
"description": "A MediaProcessor resource provides the ability to capture content from a web application with a Twilio Media Extension to create a livestream.",
"get": {
"description": "Returns a list of MediaProcessors.",
"operationId": "ListMediaProcessor",
Expand Down Expand Up @@ -424,7 +424,7 @@
}
},
"/v1/MediaProcessors/{Sid}": {
"description": "TODO: Resource-level docs",
"description": "A MediaProcessor resource provides the ability to capture content from a web application with a Twilio Media Extension to create a livestream.",
"get": {
"description": "Returns a single MediaProcessor resource identified by a SID.",
"operationId": "FetchMediaProcessor",
Expand Down Expand Up @@ -539,7 +539,7 @@
}
},
"/v1/PlayerStreamers": {
"description": "TODO: Resource-level docs",
"description": "A PlayerStreamer resource provides the ability to send a livestream to a JavaScript, iOS, or Android Player SDK.",
"get": {
"description": "Returns a list of PlayerStreamers.",
"operationId": "ListPlayerStreamer",
Expand Down Expand Up @@ -712,7 +712,7 @@
}
},
"/v1/PlayerStreamers/{Sid}": {
"description": "TODO: Resource-level docs",
"description": "A PlayerStreamer resource provides the ability to send a livestream to a JavaScript, iOS, or Android Player SDK.",
"get": {
"description": "Returns a single PlayerStreamer resource identified by a SID.",
"operationId": "FetchPlayerStreamer",
Expand Down Expand Up @@ -825,7 +825,7 @@
}
},
"/v1/PlayerStreamers/{Sid}/PlaybackGrant": {
"description": "TODO: Resource-level docs",
"description": "A PlaybackGrant resource allows developers to generate a grant to initialize the Twilio Live Player SDK and connect to a livestream.",
"get": {
"description": "**This method is not enabled.** Returns a single PlaybackGrant resource identified by a SID.",
"operationId": "FetchPlayerStreamerPlaybackGrant",
Expand Down
72 changes: 71 additions & 1 deletion src/services/twilio-api/twilio_messaging_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Messaging",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down Expand Up @@ -2849,6 +2849,76 @@
"pathType": "list"
}
},
"/v1/a2p/BrandRegistrations/{BrandSid}/Vettings/{BrandVettingSid}": {
"description": "A Messaging Service resource to add and get Brand Vettings.",
"get": {
"description": "",
"operationId": "FetchBrandVetting",
"parameters": [
{
"description": "The SID of the Brand Registration resource of the vettings to read .",
"in": "path",
"name": "BrandSid",
"required": true,
"schema": {
"maxLength": 34,
"minLength": 34,
"pattern": "^BN[0-9a-fA-F]{32}$",
"type": "string"
}
},
{
"description": "The Twilio SID of the third-party vetting record.",
"in": "path",
"name": "BrandVettingSid",
"required": true,
"schema": {
"maxLength": 34,
"minLength": 34,
"pattern": "^VT[0-9a-fA-F]{32}$",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/messaging.v1.brand_registrations.brand_vetting"
}
}
},
"description": "OK"
}
},
"security": [
{
"accountSid_authToken": []
}
],
"x-maturity": [
"Beta"
]
},
"servers": [
{
"url": "https://messaging.twilio.com"
}
],
"x-twilio": {
"defaultOutputProperties": [
"account_sid",
"brand_sid",
"brand_vetting_sid",
"date_created",
"date_updated",
"vetting_status",
"vetting_class"
],
"pathType": "instance"
}
},
"/v1/a2p/BrandRegistrations/{Sid}": {
"description": "A Messaging Service resource to add and fetch Brand Registrations.",
"get": {
Expand Down
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_monitor_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Monitor",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion src/services/twilio-api/twilio_notify_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Notify",
"version": "1.23.0"
"version": "1.23.1"
},
"openapi": "3.0.1",
"paths": {
Expand Down
Loading

0 comments on commit da67df0

Please sign in to comment.