Skip to content

Commit e26020d

Browse files
committed
oaiFeat: Updated api definitions
1 parent ea5c744 commit e26020d

36 files changed

+304
-41
lines changed

CHANGES.md

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
---------------------------
2+
**Api**
3+
- Add optional boolean send_as_mms parameter to the create action of Message resource **(breaking change)**
4+
- Change team ownership for `call` delete
5+
6+
**Conversations**
7+
- Change wording for `Service Webhook Configuration` resource fields
8+
9+
**Insights**
10+
- Added new APIs for updating and getting voice insights flags by accountSid.
11+
12+
**Media**
13+
- Add max_duration param to MediaProcessor
14+
15+
**Video**
16+
- Add `EmptyRoomTimeout` and `UnusedRoomTimeout` properties to a room; add corresponding parameters to room creation
17+
18+
**Voice**
19+
- Add endpoint to delete archived Calls
20+
21+
122
### [5.32.2](https://github.com/twilio/twilio-cli-core/compare/5.32.1...5.32.2) (2021-12-02)
223

324

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.2"
189+
"version": "1.24.0"
190190
},
191191
"openapi": "3.0.1",
192192
"paths": {

src/services/twilio-api/twilio_api_v2010.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -8997,7 +8997,7 @@
89978997
},
89988998
"termsOfService": "https://www.twilio.com/legal/tos",
89998999
"title": "Twilio - Api",
9000-
"version": "1.23.2"
9000+
"version": "1.24.0"
90019001
},
90029002
"openapi": "3.0.1",
90039003
"paths": {
@@ -20072,6 +20072,10 @@
2007220072
"description": "Whether to confirm delivery of the message. Set this value to `true` if you are sending messages that have a trackable user action and you intend to confirm delivery of the message using the [Message Feedback API](https://www.twilio.com/docs/sms/api/message-feedback-resource). This parameter is `false` by default.",
2007320073
"type": "boolean"
2007420074
},
20075+
"SendAsMms": {
20076+
"description": "If set to True, Twilio will deliver the message as a single MMS message, regardless of the presence of media. This is a Beta Feature.",
20077+
"type": "boolean"
20078+
},
2007520079
"SmartEncoded": {
2007620080
"description": "Whether to detect Unicode characters that have a similar GSM-7 character and replace them. Can be: `true` or `false`.",
2007720081
"type": "boolean"

src/services/twilio-api/twilio_autopilot_v1.json

+1-1
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.2"
955+
"version": "1.24.0"
956956
},
957957
"openapi": "3.0.1",
958958
"paths": {

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.2"
249+
"version": "1.24.0"
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.2"
767+
"version": "1.24.0"
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.2"
1064+
"version": "1.24.0"
10651065
},
10661066
"openapi": "3.0.1",
10671067
"paths": {

src/services/twilio-api/twilio_conversations_v1.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -996,14 +996,15 @@
996996
"type": "string"
997997
},
998998
"chat_service_sid": {
999+
"description": "The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to.",
9991000
"maxLength": 34,
10001001
"minLength": 34,
10011002
"nullable": true,
10021003
"pattern": "^IS[0-9a-fA-F]{32}$",
10031004
"type": "string"
10041005
},
10051006
"filters": {
1006-
"description": "The list of webhook event triggers that are enabled for this Service.",
1007+
"description": "The list of events that your configured webhook targets will receive. Events not configured here will not fire.",
10071008
"items": {
10081009
"type": "string"
10091010
},
@@ -2091,7 +2092,7 @@
20912092
},
20922093
"termsOfService": "https://www.twilio.com/legal/tos",
20932094
"title": "Twilio - Conversations",
2094-
"version": "1.23.2"
2095+
"version": "1.24.0"
20952096
},
20962097
"openapi": "3.0.1",
20972098
"paths": {
@@ -5542,7 +5543,7 @@
55425543
"schema": {
55435544
"properties": {
55445545
"Filters": {
5545-
"description": "The list of webhook event triggers that are enabled for this Service. Possible values are `onParticipantAdd`, `onParticipantAdded`, `onDeliveryUpdated`, `onConversationUpdated`, `onConversationRemove`, `onParticipantRemove`, `onConversationUpdate`, `onMessageAdd`, `onMessageRemoved`, `onParticipantUpdated`, `onConversationAdded`, `onMessageAdded`, `onConversationAdd`, `onConversationRemoved`, `onParticipantUpdate`, `onMessageRemove`, `onMessageUpdated`, `onParticipantRemoved`, `onMessageUpdate` or `onConversationStateUpdated`.",
5546+
"description": "The list of events that your configured webhook targets will receive. Events not configured here will not fire. Possible values are `onParticipantAdd`, `onParticipantAdded`, `onDeliveryUpdated`, `onConversationUpdated`, `onConversationRemove`, `onParticipantRemove`, `onConversationUpdate`, `onMessageAdd`, `onMessageRemoved`, `onParticipantUpdated`, `onConversationAdded`, `onMessageAdded`, `onConversationAdd`, `onConversationRemoved`, `onParticipantUpdate`, `onMessageRemove`, `onMessageUpdated`, `onParticipantRemoved`, `onMessageUpdate` or `onConversationStateUpdated`.",
55465547
"items": {
55475548
"type": "string"
55485549
},

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.2"
312+
"version": "1.24.0"
313313
},
314314
"openapi": "3.0.1",
315315
"paths": {

src/services/twilio-api/twilio_fax_v1.json

+1-1
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.2"
205+
"version": "1.24.0"
206206
},
207207
"openapi": "3.0.1",
208208
"paths": {

src/services/twilio-api/twilio_flex_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@
499499
},
500500
"termsOfService": "https://www.twilio.com/legal/tos",
501501
"title": "Twilio - Flex",
502-
"version": "1.23.2"
502+
"version": "1.24.0"
503503
},
504504
"openapi": "3.0.1",
505505
"paths": {

src/services/twilio-api/twilio_frontline_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
},
7171
"termsOfService": "https://www.twilio.com/legal/tos",
7272
"title": "Twilio - Frontline",
73-
"version": "1.23.2"
73+
"version": "1.24.0"
7474
},
7575
"openapi": "3.0.1",
7676
"paths": {

src/services/twilio-api/twilio_insights_v1.json

+129-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
{
22
"components": {
33
"schemas": {
4+
"insights.v1.account_settings": {
5+
"properties": {
6+
"account_sid": {
7+
"maxLength": 34,
8+
"minLength": 34,
9+
"nullable": true,
10+
"pattern": "^AC[0-9a-fA-F]{32}$",
11+
"type": "string"
12+
},
13+
"advanced_features": {
14+
"nullable": true,
15+
"type": "boolean"
16+
},
17+
"url": {
18+
"format": "uri",
19+
"nullable": true,
20+
"type": "string"
21+
},
22+
"voice_trace": {
23+
"nullable": true,
24+
"type": "boolean"
25+
}
26+
},
27+
"type": "object"
28+
},
429
"insights.v1.call": {
530
"properties": {
631
"links": {
@@ -760,7 +785,7 @@
760785
},
761786
"termsOfService": "https://www.twilio.com/legal/tos",
762787
"title": "Twilio - Insights",
763-
"version": "1.23.2"
788+
"version": "1.24.0"
764789
},
765790
"openapi": "3.0.1",
766791
"paths": {
@@ -1119,6 +1144,109 @@
11191144
"pathType": "instance"
11201145
}
11211146
},
1147+
"/v1/Voice/Settings": {
1148+
"description": "TODO: Resource-level docs",
1149+
"get": {
1150+
"description": "",
1151+
"operationId": "FetchAccountSettings",
1152+
"parameters": [
1153+
{
1154+
"description": "",
1155+
"in": "query",
1156+
"name": "SubaccountSid",
1157+
"schema": {
1158+
"maxLength": 34,
1159+
"minLength": 34,
1160+
"pattern": "^AC[0-9a-fA-F]{32}$",
1161+
"type": "string"
1162+
}
1163+
}
1164+
],
1165+
"responses": {
1166+
"200": {
1167+
"content": {
1168+
"application/json": {
1169+
"schema": {
1170+
"$ref": "#/components/schemas/insights.v1.account_settings"
1171+
}
1172+
}
1173+
},
1174+
"description": "OK"
1175+
}
1176+
},
1177+
"security": [
1178+
{
1179+
"accountSid_authToken": []
1180+
}
1181+
],
1182+
"x-maturity": [
1183+
"GA"
1184+
]
1185+
},
1186+
"post": {
1187+
"description": "",
1188+
"operationId": "UpdateAccountSettings",
1189+
"requestBody": {
1190+
"content": {
1191+
"application/x-www-form-urlencoded": {
1192+
"schema": {
1193+
"properties": {
1194+
"AdvancedFeatures": {
1195+
"description": "",
1196+
"type": "boolean"
1197+
},
1198+
"SubaccountSid": {
1199+
"description": "",
1200+
"maxLength": 34,
1201+
"minLength": 34,
1202+
"pattern": "^AC[0-9a-fA-F]{32}$",
1203+
"type": "string"
1204+
},
1205+
"VoiceTrace": {
1206+
"description": "",
1207+
"type": "boolean"
1208+
}
1209+
},
1210+
"title": "UpdateAccountSettingsRequest",
1211+
"type": "object"
1212+
}
1213+
}
1214+
}
1215+
},
1216+
"responses": {
1217+
"200": {
1218+
"content": {
1219+
"application/json": {
1220+
"schema": {
1221+
"$ref": "#/components/schemas/insights.v1.account_settings"
1222+
}
1223+
}
1224+
},
1225+
"description": "OK"
1226+
}
1227+
},
1228+
"security": [
1229+
{
1230+
"accountSid_authToken": []
1231+
}
1232+
],
1233+
"x-maturity": [
1234+
"GA"
1235+
]
1236+
},
1237+
"servers": [
1238+
{
1239+
"url": "https://insights.twilio.com"
1240+
}
1241+
],
1242+
"x-twilio": {
1243+
"defaultOutputProperties": [
1244+
"advanced_features",
1245+
"voice_trace"
1246+
],
1247+
"pathType": "instance"
1248+
}
1249+
},
11221250
"/v1/Voice/Summaries": {
11231251
"description": "TODO: Resource-level docs",
11241252
"get": {

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.2"
659+
"version": "1.24.0"
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.2"
914+
"version": "1.24.0"
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.2"
66+
"version": "1.24.0"
6767
},
6868
"openapi": "3.0.1",
6969
"paths": {

src/services/twilio-api/twilio_media_v1.json

+10-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@
3838
"nullable": true,
3939
"type": "string"
4040
},
41+
"max_duration": {
42+
"description": "Maximum MediaProcessor duration in minutes",
43+
"nullable": true,
44+
"type": "integer"
45+
},
4146
"sid": {
4247
"description": "The unique string that identifies the resource",
4348
"maxLength": 34,
@@ -233,7 +238,7 @@
233238
},
234239
"termsOfService": "https://www.twilio.com/legal/tos",
235240
"title": "Twilio - Media",
236-
"version": "1.23.2"
241+
"version": "1.24.0"
237242
},
238243
"openapi": "3.0.1",
239244
"paths": {
@@ -359,6 +364,10 @@
359364
"description": "User-defined environment variables for the Media Extension, represented as a JSON dictionary of key/value strings. See the documentation for the specific [Media Extension](/docs/live/api/media-extensions-overview) you are using for more information about whether you need to provide this.",
360365
"type": "object"
361366
},
367+
"MaxDuration": {
368+
"description": "The maximum time, in seconds, that the MediaProcessor can run before automatically ends. The default value is 300 seconds, and the maximum value is 90000 seconds. Once this maximum duration is reached, Twilio will end the MediaProcessor, regardless of whether media is still streaming.",
369+
"type": "integer"
370+
},
362371
"StatusCallback": {
363372
"description": "The URL to which Twilio will send asynchronous webhook requests for every MediaProcessor event. See [Status Callbacks](/docs/live/status-callbacks) for details.",
364373
"format": "uri",

src/services/twilio-api/twilio_messaging_v1.json

+1-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.2"
760+
"version": "1.24.0"
761761
},
762762
"openapi": "3.0.1",
763763
"paths": {

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.2"
344+
"version": "1.24.0"
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.2"
431+
"version": "1.24.0"
432432
},
433433
"openapi": "3.0.1",
434434
"paths": {

0 commit comments

Comments
 (0)