Skip to content

Commit 59bbaac

Browse files
committed
oaiFeat: Updated api definitions
1 parent 4cc65ae commit 59bbaac

36 files changed

+215
-36
lines changed

CHANGES.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
---------------------------
2+
**Library - Feature**
3+
- [PR #51](https://github.com/twilio/twilio-oai/pull/51): add GitHub release step during deploy. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
4+
5+
**Api**
6+
- Make fixed time scheduling parameters public **(breaking change)**
7+
8+
**Messaging**
9+
- Add update brand registration API
10+
11+
**Numbers**
12+
- Add API endpoint for List Bundle Copies resource
13+
14+
**Video**
15+
- Enable external storage for all customers
16+
17+
118
## [5.33.0](https://github.com/twilio/twilio-cli-core/compare/5.32.2...5.33.0) (2021-12-16)
219

320

src/services/twilio-api/twilio_accounts_v1.json

+2-2
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.24.0"
189+
"version": "1.25.0"
190190
},
191191
"openapi": "3.0.1",
192192
"paths": {
@@ -867,4 +867,4 @@
867867
"name": "GA"
868868
}
869869
]
870-
}
870+
}

src/services/twilio-api/twilio_api_v2010.json

+20-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.24.0"
9000+
"version": "1.25.0"
90019001
},
90029002
"openapi": "3.0.1",
90039003
"paths": {
@@ -20072,10 +20072,22 @@
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+
"ScheduleType": {
20076+
"description": "Indicates your intent to schedule a message. Pass the value `fixed` to schedule a message at a fixed time.",
20077+
"enum": [
20078+
"fixed"
20079+
],
20080+
"type": "string"
20081+
},
2007520082
"SendAsMms": {
2007620083
"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.",
2007720084
"type": "boolean"
2007820085
},
20086+
"SendAt": {
20087+
"description": "The time that Twilio will send the message. Must be in ISO 8601 format.",
20088+
"format": "date-time",
20089+
"type": "string"
20090+
},
2007920091
"SmartEncoded": {
2008020092
"description": "Whether to detect Unicode characters that have a similar GSM-7 character and replace them. Can be: `true` or `false`.",
2008120093
"type": "boolean"
@@ -20632,6 +20644,13 @@
2063220644
"Body": {
2063320645
"description": "The text of the message you want to send. Can be up to 1,600 characters long.",
2063420646
"type": "string"
20647+
},
20648+
"Status": {
20649+
"description": "When set as `canceled`, allows a message cancelation request if a message has not yet been sent.",
20650+
"enum": [
20651+
"canceled"
20652+
],
20653+
"type": "string"
2063520654
}
2063620655
},
2063720656
"title": "UpdateMessageRequest",

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.24.0"
955+
"version": "1.25.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.24.0"
249+
"version": "1.25.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.24.0"
767+
"version": "1.25.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.24.0"
1064+
"version": "1.25.0"
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
@@ -2092,7 +2092,7 @@
20922092
},
20932093
"termsOfService": "https://www.twilio.com/legal/tos",
20942094
"title": "Twilio - Conversations",
2095-
"version": "1.24.0"
2095+
"version": "1.25.0"
20962096
},
20972097
"openapi": "3.0.1",
20982098
"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.24.0"
312+
"version": "1.25.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.24.0"
205+
"version": "1.25.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.24.0"
502+
"version": "1.25.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.24.0"
73+
"version": "1.25.0"
7474
},
7575
"openapi": "3.0.1",
7676
"paths": {

src/services/twilio-api/twilio_insights_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@
785785
},
786786
"termsOfService": "https://www.twilio.com/legal/tos",
787787
"title": "Twilio - Insights",
788-
"version": "1.24.0"
788+
"version": "1.25.0"
789789
},
790790
"openapi": "3.0.1",
791791
"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.24.0"
659+
"version": "1.25.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.24.0"
914+
"version": "1.25.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.24.0"
66+
"version": "1.25.0"
6767
},
6868
"openapi": "3.0.1",
6969
"paths": {

src/services/twilio-api/twilio_media_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
},
239239
"termsOfService": "https://www.twilio.com/legal/tos",
240240
"title": "Twilio - Media",
241-
"version": "1.24.0"
241+
"version": "1.25.0"
242242
},
243243
"openapi": "3.0.1",
244244
"paths": {

src/services/twilio-api/twilio_messaging_v1.json

+39-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.24.0"
760+
"version": "1.25.0"
761761
},
762762
"openapi": "3.0.1",
763763
"paths": {
@@ -2959,6 +2959,44 @@
29592959
"Beta"
29602960
]
29612961
},
2962+
"post": {
2963+
"description": "",
2964+
"operationId": "UpdateBrandRegistrations",
2965+
"parameters": [
2966+
{
2967+
"description": "The SID of the Brand Registration resource to update.",
2968+
"in": "path",
2969+
"name": "Sid",
2970+
"required": true,
2971+
"schema": {
2972+
"maxLength": 34,
2973+
"minLength": 34,
2974+
"pattern": "^BN[0-9a-fA-F]{32}$",
2975+
"type": "string"
2976+
}
2977+
}
2978+
],
2979+
"responses": {
2980+
"202": {
2981+
"content": {
2982+
"application/json": {
2983+
"schema": {
2984+
"$ref": "#/components/schemas/messaging.v1.brand_registrations"
2985+
}
2986+
}
2987+
},
2988+
"description": "Accepted"
2989+
}
2990+
},
2991+
"security": [
2992+
{
2993+
"accountSid_authToken": []
2994+
}
2995+
],
2996+
"x-maturity": [
2997+
"Beta"
2998+
]
2999+
},
29623000
"servers": [
29633001
{
29643002
"url": "https://messaging.twilio.com"

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

src/services/twilio-api/twilio_numbers_v2.json

+88-1
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@
630630
},
631631
"termsOfService": "https://www.twilio.com/legal/tos",
632632
"title": "Twilio - Numbers",
633-
"version": "1.24.0"
633+
"version": "1.25.0"
634634
},
635635
"openapi": "3.0.1",
636636
"paths": {
@@ -854,6 +854,93 @@
854854
},
855855
"/v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies": {
856856
"description": "TODO: Resource-level docs",
857+
"get": {
858+
"description": "Retrieve a list of all Bundles Copies for a Bundle.",
859+
"operationId": "ListBundleCopy",
860+
"parameters": [
861+
{
862+
"description": "The unique string that we created to identify the Bundle resource.",
863+
"in": "path",
864+
"name": "BundleSid",
865+
"required": true,
866+
"schema": {
867+
"maxLength": 34,
868+
"minLength": 34,
869+
"pattern": "^BU[0-9a-fA-F]{32}$",
870+
"type": "string"
871+
}
872+
},
873+
{
874+
"description": "How many resources to return in each list page. The default is 50, and the maximum is 1000.",
875+
"in": "query",
876+
"name": "PageSize",
877+
"schema": {
878+
"maximum": 1000,
879+
"minimum": 1,
880+
"type": "integer"
881+
}
882+
}
883+
],
884+
"responses": {
885+
"200": {
886+
"content": {
887+
"application/json": {
888+
"schema": {
889+
"properties": {
890+
"meta": {
891+
"properties": {
892+
"first_page_url": {
893+
"format": "uri",
894+
"type": "string"
895+
},
896+
"key": {
897+
"type": "string"
898+
},
899+
"next_page_url": {
900+
"format": "uri",
901+
"type": "string"
902+
},
903+
"page": {
904+
"type": "integer"
905+
},
906+
"page_size": {
907+
"type": "integer"
908+
},
909+
"previous_page_url": {
910+
"format": "uri",
911+
"type": "string"
912+
},
913+
"url": {
914+
"format": "uri",
915+
"type": "string"
916+
}
917+
},
918+
"type": "object"
919+
},
920+
"results": {
921+
"items": {
922+
"$ref": "#/components/schemas/numbers.v2.regulatory_compliance.bundle.bundle_copy"
923+
},
924+
"type": "array"
925+
}
926+
},
927+
"title": "ListBundleCopyResponse",
928+
"type": "object"
929+
}
930+
}
931+
},
932+
"description": "OK"
933+
}
934+
},
935+
"security": [
936+
{
937+
"accountSid_authToken": []
938+
}
939+
],
940+
"x-maturity": [
941+
"Beta"
942+
]
943+
},
857944
"post": {
858945
"description": "Creates a new copy of a Bundle. It will internally create copies of all the bundle items (identities and documents) of the original bundle",
859946
"operationId": "CreateBundleCopy",

src/services/twilio-api/twilio_pricing_v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@
395395
},
396396
"termsOfService": "https://www.twilio.com/legal/tos",
397397
"title": "Twilio - Pricing",
398-
"version": "1.24.0"
398+
"version": "1.25.0"
399399
},
400400
"openapi": "3.0.1",
401401
"paths": {

0 commit comments

Comments
 (0)