Skip to content

Commit da67df0

Browse files
committed
oaiFix: Updated api definitions
1 parent 5a45fb3 commit da67df0

36 files changed

+188
-87
lines changed

CHANGES.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
---------------------------
2+
**Frontline**
3+
- Added `is_available` to User's resource
4+
5+
**Messaging**
6+
- Added GET vetting API
7+
8+
**Verify**
9+
- Add `WHATSAPP` to the attempts API.
10+
- Allow to update `config.notification_platform` from `none` to `apn` or `fcm` and viceversa for Verify Push
11+
- Add `none` as a valid `config.notification_platform` value for Verify Push
12+
13+
**Twiml**
14+
- Add supported SSML children to `<emphasis>`, `<lang>`, `<p>`, `<prosody>`, `<s>`, and `<w>`.
15+
16+
117
## [5.32.0](https://github.com/twilio/twilio-cli-core/compare/5.31.1...5.32.0) (2021-11-04)
218

319

src/services/twilio-api/twilio_accounts_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
},
187187
"termsOfService": "https://www.twilio.com/legal/tos",
188188
"title": "Twilio - Accounts",
189-
"version": "1.23.0"
189+
"version": "1.23.1"
190190
},
191191
"openapi": "3.0.1",
192192
"paths": {

src/services/twilio-api/twilio_api_v2010.json

+36-36
Large diffs are not rendered by default.

src/services/twilio-api/twilio_autopilot_v1.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@
952952
},
953953
"termsOfService": "https://www.twilio.com/legal/tos",
954954
"title": "Twilio - Autopilot",
955-
"version": "1.23.0"
955+
"version": "1.23.1"
956956
},
957957
"openapi": "3.0.1",
958958
"paths": {
@@ -1514,7 +1514,7 @@
15141514
}
15151515
},
15161516
{
1517-
"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)",
1517+
"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`",
15181518
"in": "query",
15191519
"name": "Language",
15201520
"schema": {
@@ -2285,7 +2285,7 @@
22852285
}
22862286
},
22872287
{
2288-
"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).",
2288+
"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`.",
22892289
"in": "query",
22902290
"name": "Language",
22912291
"schema": {
@@ -2410,7 +2410,7 @@
24102410
"schema": {
24112411
"properties": {
24122412
"Language": {
2413-
"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).",
2413+
"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`.",
24142414
"type": "string"
24152415
},
24162416
"ModelBuild": {
@@ -3509,7 +3509,7 @@
35093509
}
35103510
},
35113511
{
3512-
"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).",
3512+
"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`.",
35133513
"in": "query",
35143514
"name": "Language",
35153515
"schema": {
@@ -4449,4 +4449,4 @@
44494449
"name": "Preview"
44504450
}
44514451
]
4452-
}
4452+
}

src/services/twilio-api/twilio_bulkexports_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
},
247247
"termsOfService": "https://www.twilio.com/legal/tos",
248248
"title": "Twilio - Bulkexports",
249-
"version": "1.23.0"
249+
"version": "1.23.1"
250250
},
251251
"openapi": "3.0.1",
252252
"paths": {

src/services/twilio-api/twilio_chat_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@
764764
},
765765
"termsOfService": "https://www.twilio.com/legal/tos",
766766
"title": "Twilio - Chat",
767-
"version": "1.23.0"
767+
"version": "1.23.1"
768768
},
769769
"openapi": "3.0.1",
770770
"paths": {

src/services/twilio-api/twilio_chat_v2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@
10611061
},
10621062
"termsOfService": "https://www.twilio.com/legal/tos",
10631063
"title": "Twilio - Chat",
1064-
"version": "1.23.0"
1064+
"version": "1.23.1"
10651065
},
10661066
"openapi": "3.0.1",
10671067
"paths": {

src/services/twilio-api/twilio_conversations_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2036,7 +2036,7 @@
20362036
},
20372037
"termsOfService": "https://www.twilio.com/legal/tos",
20382038
"title": "Twilio - Conversations",
2039-
"version": "1.23.0"
2039+
"version": "1.23.1"
20402040
},
20412041
"openapi": "3.0.1",
20422042
"paths": {

src/services/twilio-api/twilio_events_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
},
310310
"termsOfService": "https://www.twilio.com/legal/tos",
311311
"title": "Twilio - Events",
312-
"version": "1.23.0"
312+
"version": "1.23.1"
313313
},
314314
"openapi": "3.0.1",
315315
"paths": {

src/services/twilio-api/twilio_fax_v1.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
},
203203
"termsOfService": "https://www.twilio.com/legal/tos",
204204
"title": "Twilio - Fax",
205-
"version": "1.23.0"
205+
"version": "1.23.1"
206206
},
207207
"openapi": "3.0.1",
208208
"paths": {
@@ -330,12 +330,12 @@
330330
"type": "string"
331331
},
332332
"MediaUrl": {
333-
"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.",
333+
"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.",
334334
"format": "uri",
335335
"type": "string"
336336
},
337337
"Quality": {
338-
"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.",
338+
"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`.",
339339
"enum": [
340340
"standard",
341341
"fine",
@@ -782,4 +782,4 @@
782782
"name": "Beta"
783783
}
784784
]
785-
}
785+
}

src/services/twilio-api/twilio_flex_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@
488488
},
489489
"termsOfService": "https://www.twilio.com/legal/tos",
490490
"title": "Twilio - Flex",
491-
"version": "1.23.0"
491+
"version": "1.23.1"
492492
},
493493
"openapi": "3.0.1",
494494
"paths": {

src/services/twilio-api/twilio_frontline_v1.json

+11-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
"nullable": true,
1919
"type": "string"
2020
},
21+
"is_available": {
22+
"description": "Whether the User is available for new conversations",
23+
"nullable": true,
24+
"type": "boolean"
25+
},
2126
"sid": {
2227
"description": "The unique string that identifies the resource",
2328
"maxLength": 34,
@@ -65,7 +70,7 @@
6570
},
6671
"termsOfService": "https://www.twilio.com/legal/tos",
6772
"title": "Twilio - Frontline",
68-
"version": "1.23.0"
73+
"version": "1.23.1"
6974
},
7075
"openapi": "3.0.1",
7176
"paths": {
@@ -133,8 +138,12 @@
133138
"description": "The string that you assigned to describe the User.",
134139
"type": "string"
135140
},
141+
"IsAvailable": {
142+
"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).",
143+
"type": "boolean"
144+
},
136145
"State": {
137-
"description": "Current state of this user. Can be either `active` or `deactivated` and defaults to `active`",
146+
"description": "Current state of this user. Can be either `active` or `deactivated`.",
138147
"enum": [
139148
"active",
140149
"deactivated"

src/services/twilio-api/twilio_insights_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@
760760
},
761761
"termsOfService": "https://www.twilio.com/legal/tos",
762762
"title": "Twilio - Insights",
763-
"version": "1.23.0"
763+
"version": "1.23.1"
764764
},
765765
"openapi": "3.0.1",
766766
"paths": {

src/services/twilio-api/twilio_ip_messaging_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@
656656
},
657657
"termsOfService": "https://www.twilio.com/legal/tos",
658658
"title": "Twilio - Ip_messaging",
659-
"version": "1.23.0"
659+
"version": "1.23.1"
660660
},
661661
"openapi": "3.0.1",
662662
"paths": {

src/services/twilio-api/twilio_ip_messaging_v2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@
911911
},
912912
"termsOfService": "https://www.twilio.com/legal/tos",
913913
"title": "Twilio - Ip_messaging",
914-
"version": "1.23.0"
914+
"version": "1.23.1"
915915
},
916916
"openapi": "3.0.1",
917917
"paths": {

src/services/twilio-api/twilio_lookups_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
},
6464
"termsOfService": "https://www.twilio.com/legal/tos",
6565
"title": "Twilio - Lookups",
66-
"version": "1.23.0"
66+
"version": "1.23.1"
6767
},
6868
"openapi": "3.0.1",
6969
"paths": {

src/services/twilio-api/twilio_media_v1.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,12 @@
233233
},
234234
"termsOfService": "https://www.twilio.com/legal/tos",
235235
"title": "Twilio - Media",
236-
"version": "1.23.0"
236+
"version": "1.23.1"
237237
},
238238
"openapi": "3.0.1",
239239
"paths": {
240240
"/v1/MediaProcessors": {
241-
"description": "TODO: Resource-level docs",
241+
"description": "A MediaProcessor resource provides the ability to capture content from a web application with a Twilio Media Extension to create a livestream.",
242242
"get": {
243243
"description": "Returns a list of MediaProcessors.",
244244
"operationId": "ListMediaProcessor",
@@ -424,7 +424,7 @@
424424
}
425425
},
426426
"/v1/MediaProcessors/{Sid}": {
427-
"description": "TODO: Resource-level docs",
427+
"description": "A MediaProcessor resource provides the ability to capture content from a web application with a Twilio Media Extension to create a livestream.",
428428
"get": {
429429
"description": "Returns a single MediaProcessor resource identified by a SID.",
430430
"operationId": "FetchMediaProcessor",
@@ -539,7 +539,7 @@
539539
}
540540
},
541541
"/v1/PlayerStreamers": {
542-
"description": "TODO: Resource-level docs",
542+
"description": "A PlayerStreamer resource provides the ability to send a livestream to a JavaScript, iOS, or Android Player SDK.",
543543
"get": {
544544
"description": "Returns a list of PlayerStreamers.",
545545
"operationId": "ListPlayerStreamer",
@@ -712,7 +712,7 @@
712712
}
713713
},
714714
"/v1/PlayerStreamers/{Sid}": {
715-
"description": "TODO: Resource-level docs",
715+
"description": "A PlayerStreamer resource provides the ability to send a livestream to a JavaScript, iOS, or Android Player SDK.",
716716
"get": {
717717
"description": "Returns a single PlayerStreamer resource identified by a SID.",
718718
"operationId": "FetchPlayerStreamer",
@@ -825,7 +825,7 @@
825825
}
826826
},
827827
"/v1/PlayerStreamers/{Sid}/PlaybackGrant": {
828-
"description": "TODO: Resource-level docs",
828+
"description": "A PlaybackGrant resource allows developers to generate a grant to initialize the Twilio Live Player SDK and connect to a livestream.",
829829
"get": {
830830
"description": "**This method is not enabled.** Returns a single PlaybackGrant resource identified by a SID.",
831831
"operationId": "FetchPlayerStreamerPlaybackGrant",

src/services/twilio-api/twilio_messaging_v1.json

+71-1
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@
757757
},
758758
"termsOfService": "https://www.twilio.com/legal/tos",
759759
"title": "Twilio - Messaging",
760-
"version": "1.23.0"
760+
"version": "1.23.1"
761761
},
762762
"openapi": "3.0.1",
763763
"paths": {
@@ -2849,6 +2849,76 @@
28492849
"pathType": "list"
28502850
}
28512851
},
2852+
"/v1/a2p/BrandRegistrations/{BrandSid}/Vettings/{BrandVettingSid}": {
2853+
"description": "A Messaging Service resource to add and get Brand Vettings.",
2854+
"get": {
2855+
"description": "",
2856+
"operationId": "FetchBrandVetting",
2857+
"parameters": [
2858+
{
2859+
"description": "The SID of the Brand Registration resource of the vettings to read .",
2860+
"in": "path",
2861+
"name": "BrandSid",
2862+
"required": true,
2863+
"schema": {
2864+
"maxLength": 34,
2865+
"minLength": 34,
2866+
"pattern": "^BN[0-9a-fA-F]{32}$",
2867+
"type": "string"
2868+
}
2869+
},
2870+
{
2871+
"description": "The Twilio SID of the third-party vetting record.",
2872+
"in": "path",
2873+
"name": "BrandVettingSid",
2874+
"required": true,
2875+
"schema": {
2876+
"maxLength": 34,
2877+
"minLength": 34,
2878+
"pattern": "^VT[0-9a-fA-F]{32}$",
2879+
"type": "string"
2880+
}
2881+
}
2882+
],
2883+
"responses": {
2884+
"200": {
2885+
"content": {
2886+
"application/json": {
2887+
"schema": {
2888+
"$ref": "#/components/schemas/messaging.v1.brand_registrations.brand_vetting"
2889+
}
2890+
}
2891+
},
2892+
"description": "OK"
2893+
}
2894+
},
2895+
"security": [
2896+
{
2897+
"accountSid_authToken": []
2898+
}
2899+
],
2900+
"x-maturity": [
2901+
"Beta"
2902+
]
2903+
},
2904+
"servers": [
2905+
{
2906+
"url": "https://messaging.twilio.com"
2907+
}
2908+
],
2909+
"x-twilio": {
2910+
"defaultOutputProperties": [
2911+
"account_sid",
2912+
"brand_sid",
2913+
"brand_vetting_sid",
2914+
"date_created",
2915+
"date_updated",
2916+
"vetting_status",
2917+
"vetting_class"
2918+
],
2919+
"pathType": "instance"
2920+
}
2921+
},
28522922
"/v1/a2p/BrandRegistrations/{Sid}": {
28532923
"description": "A Messaging Service resource to add and fetch Brand Registrations.",
28542924
"get": {

src/services/twilio-api/twilio_monitor_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
},
342342
"termsOfService": "https://www.twilio.com/legal/tos",
343343
"title": "Twilio - Monitor",
344-
"version": "1.23.0"
344+
"version": "1.23.1"
345345
},
346346
"openapi": "3.0.1",
347347
"paths": {

src/services/twilio-api/twilio_notify_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@
428428
},
429429
"termsOfService": "https://www.twilio.com/legal/tos",
430430
"title": "Twilio - Notify",
431-
"version": "1.23.0"
431+
"version": "1.23.1"
432432
},
433433
"openapi": "3.0.1",
434434
"paths": {

0 commit comments

Comments
 (0)