Skip to content

Commit 53bce90

Browse files
committed
oaiFix: Updated api definitions
1 parent 4bbcc66 commit 53bce90

9 files changed

+793
-436
lines changed

CHANGES.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
--------------------------
2+
**Numbers**
3+
- Change beta feature flag to use v2/BulkHostedNumberOrders
4+
5+
6+
--------------------------
7+
**Library - Chore**
8+
- [PR #126](https://github.com/twilio/twilio-oai/pull/126): release twilio-oai. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
9+
10+
111
### [7.26.7](https://github.com/twilio/twilio-cli-core/compare/7.26.6...7.26.7) (2024-12-05)
212

313
--------------------------

package-lock.json

+566-360
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/services/twilio-api/twilio_api_v2010.json

+59-38
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,9 @@
421421
"$ref": "#/components/schemas/authorized_connect_app_enum_permission"
422422
},
423423
"nullable": true,
424-
"description": "The set of permissions that you authorized for the Connect App. Can be: `get-all` or `post-all`."
424+
"description": "The set of permissions that you authorized for the Connect App. Can be: `get-all` or `post-all`.",
425+
"x-field-extra-annotation": "@JacksonXmlProperty(localName=\"Permission\") @JacksonXmlElementWrapper(localName=\"Permissions\")",
426+
"x-getter-extra-annotation": "@JacksonXmlProperty(localName=\"Permission\") @JacksonXmlElementWrapper(localName=\"Permissions\")"
425427
},
426428
"uri": {
427429
"type": "string",
@@ -2027,7 +2029,9 @@
20272029
"$ref": "#/components/schemas/connect_app_enum_permission"
20282030
},
20292031
"nullable": true,
2030-
"description": "The set of permissions that your ConnectApp requests."
2032+
"description": "The set of permissions that your ConnectApp requests.",
2033+
"x-field-extra-annotation": "@JacksonXmlProperty(localName=\"Permission\") @JacksonXmlElementWrapper(localName=\"Permissions\")",
2034+
"x-getter-extra-annotation": "@JacksonXmlProperty(localName=\"Permission\") @JacksonXmlElementWrapper(localName=\"Permissions\")"
20312035
},
20322036
"sid": {
20332037
"type": "string",
@@ -6008,7 +6012,9 @@
60086012
}
60096013
},
60106014
"nullable": true,
6011-
"description": "An array representing the ephemeral credentials and the STUN and TURN server URIs."
6015+
"description": "An array representing the ephemeral credentials and the STUN and TURN server URIs.",
6016+
"x-field-extra-annotation": "@JacksonXmlProperty(localName=\"IceServer\") @JacksonXmlElementWrapper(localName=\"IceServers\")",
6017+
"x-getter-extra-annotation": "@JacksonXmlProperty(localName=\"IceServer\") @JacksonXmlElementWrapper(localName=\"IceServers\")"
60126018
},
60136019
"password": {
60146020
"type": "string",
@@ -12641,7 +12647,7 @@
1264112647
"page_size": 50,
1264212648
"previous_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps.json?Page=1&PageSize=50",
1264312649
"start": 0,
12644-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps.json"
12650+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps.json?Page=0&PageSize=50"
1264512651
}
1264612652
},
1264712653
"readEmpty": {
@@ -12654,7 +12660,7 @@
1265412660
"page_size": 50,
1265512661
"previous_page_uri": null,
1265612662
"start": 0,
12657-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps.json"
12663+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps.json?Page=0&PageSize=50"
1265812664
}
1265912665
}
1266012666
}
@@ -17657,7 +17663,7 @@
1765717663
"get": {
1765817664
"description": "",
1765917665
"tags": [
17660-
"Api20100401Notification"
17666+
"Api20100401CallNotification"
1766117667
],
1766217668
"parameters": [
1766317669
{
@@ -17796,7 +17802,7 @@
1779617802
"get": {
1779717803
"description": "",
1779817804
"tags": [
17799-
"Api20100401Notification"
17805+
"Api20100401CallNotification"
1780017806
],
1780117807
"parameters": [
1780217808
{
@@ -17973,10 +17979,10 @@
1797317979
"page_size": 50,
1797417980
"previous_page_uri": null,
1797517981
"end": 0,
17976-
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?PageSize=1&Page=0",
17982+
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?MessageDate=2008-01-02&Log=1&PageSize=50&Page=0",
1797717983
"next_page_uri": null,
1797817984
"start": 0,
17979-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json"
17985+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?MessageDate=2008-01-02&Log=1&PageSize=50&Page=0"
1798017986
}
1798117987
},
1798217988
"readEmpty": {
@@ -17986,10 +17992,10 @@
1798617992
"page_size": 50,
1798717993
"previous_page_uri": null,
1798817994
"end": 0,
17989-
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?PageSize=1&Page=0",
17995+
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?MessageDate=2008-01-02&Log=1&PageSize=50&Page=0",
1799017996
"next_page_uri": null,
1799117997
"start": 0,
17992-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json"
17998+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?MessageDate=2008-01-02&Log=1&PageSize=50&Page=0"
1799317999
}
1799418000
}
1799518001
}
@@ -21041,12 +21047,12 @@
2104121047
],
2104221048
"end": 0,
2104321049
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps.json?Page=0&PageSize=50",
21044-
"next_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps.json?Page=2&PageSize=50",
21050+
"next_page_uri": null,
2104521051
"page": 0,
2104621052
"page_size": 50,
21047-
"previous_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps.json?Page=1&PageSize=50",
21053+
"previous_page_uri": null,
2104821054
"start": 0,
21049-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps.json"
21055+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps.json?Page=0&PageSize=50"
2105021056
}
2105121057
},
2105221058
"readEmpty": {
@@ -21059,7 +21065,7 @@
2105921065
"page_size": 50,
2106021066
"previous_page_uri": null,
2106121067
"start": 0,
21062-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps.json"
21068+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps.json?Page=0&PageSize=50"
2106321069
}
2106421070
}
2106521071
}
@@ -23435,7 +23441,7 @@
2343523441
"get": {
2343623442
"description": "",
2343723443
"tags": [
23438-
"Api20100401Local"
23444+
"Api20100401IncomingPhoneNumberLocal"
2343923445
],
2344023446
"parameters": [
2344123447
{
@@ -23707,7 +23713,7 @@
2370723713
"post": {
2370823714
"description": "",
2370923715
"tags": [
23710-
"Api20100401Local"
23716+
"Api20100401IncomingPhoneNumberLocal"
2371123717
],
2371223718
"parameters": [
2371323719
{
@@ -24032,7 +24038,7 @@
2403224038
"get": {
2403324039
"description": "",
2403424040
"tags": [
24035-
"Api20100401Mobile"
24041+
"Api20100401IncomingPhoneNumberMobile"
2403624042
],
2403724043
"parameters": [
2403824044
{
@@ -24304,7 +24310,7 @@
2430424310
"post": {
2430524311
"description": "",
2430624312
"tags": [
24307-
"Api20100401Mobile"
24313+
"Api20100401IncomingPhoneNumberMobile"
2430824314
],
2430924315
"parameters": [
2431024316
{
@@ -24629,7 +24635,7 @@
2462924635
"get": {
2463024636
"description": "",
2463124637
"tags": [
24632-
"Api20100401TollFree"
24638+
"Api20100401IncomingPhoneNumberTollFree"
2463324639
],
2463424640
"parameters": [
2463524641
{
@@ -24901,7 +24907,7 @@
2490124907
"post": {
2490224908
"description": "",
2490324909
"tags": [
24904-
"Api20100401TollFree"
24910+
"Api20100401IncomingPhoneNumberTollFree"
2490524911
],
2490624912
"parameters": [
2490724913
{
@@ -28583,7 +28589,7 @@
2858328589
"message_date": "Mon, 13 Sep 2010 20:02:00 +0000",
2858428590
"message_text": "EmailNotification=false&LogLevel=ERROR&sourceComponent=12000&Msg=&httpResponse=500&ErrorCode=11200&url=http%3A%2F%2Fvoiceforms4000.appspot.com%2Ftwiml",
2858528591
"more_info": "http://www.twilio.com/docs/errors/11200",
28586-
"request_method": "get",
28592+
"request_method": "GET",
2858728593
"request_url": "https://voiceforms4000.appspot.com/twiml/9436/question/0",
2858828594
"request_variables": "AccountSid=ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&CallStatus=in-progress&ToZip=94937&ToCity=INVERNESS&ToState=CA&Called=%2B14156694923&To=%2B14156694923&ToCountry=US&CalledZip=94937&Direction=inbound&ApiVersion=2010-04-01&Caller=%2B17378742833&CalledCity=INVERNESS&CalledCountry=US&CallSid=CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&CalledState=CA&From=%2B17378742833",
2858928595
"response_body": "Response body from your webhook URL as a string.",
@@ -28806,7 +28812,7 @@
2880628812
"readFull": {
2880728813
"value": {
2880828814
"end": 0,
28809-
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?PageSize=1&Page=0",
28815+
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?MessageDate=2008-01-02&Log=1&PageSize=50&Page=0",
2881028816
"previous_page_uri": null,
2881128817
"next_page_uri": null,
2881228818
"notifications": [
@@ -28828,22 +28834,22 @@
2882828834
}
2882928835
],
2883028836
"page": 0,
28831-
"page_size": 1,
28837+
"page_size": 50,
2883228838
"start": 0,
28833-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?PageSize=1&Page=0"
28839+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?MessageDate=2008-01-02&Log=1&PageSize=50&Page=0"
2883428840
}
2883528841
},
2883628842
"readEmpty": {
2883728843
"value": {
2883828844
"end": 0,
28839-
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?PageSize=1&Page=0",
28845+
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?MessageDate=2008-01-02&Log=1&PageSize=50&Page=0",
2884028846
"next_page_uri": null,
2884128847
"notifications": [],
2884228848
"page": 0,
28843-
"page_size": 1,
28849+
"page_size": 50,
2884428850
"previous_page_uri": null,
2884528851
"start": 0,
28846-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?PageSize=1&Page=0"
28852+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json?MessageDate=2008-01-02&Log=1&PageSize=50&Page=0"
2884728853
}
2884828854
}
2884928855
}
@@ -29420,7 +29426,7 @@
2942029426
}
2942129427
],
2942229428
"responses": {
29423-
"201": {
29429+
"200": {
2942429430
"content": {
2942529431
"application/json": {
2942629432
"schema": {
@@ -29475,7 +29481,7 @@
2947529481
}
2947629482
}
2947729483
},
29478-
"description": "Created"
29484+
"description": "OK"
2947929485
}
2948029486
},
2948129487
"security": [
@@ -32446,7 +32452,7 @@
3244632452
},
3244732453
"IntelligenceService": {
3244832454
"type": "string",
32449-
"description": "The SID or the unique name of the [IntelligentService](https://www.twilio.com/docs/voice/intelligence/api/service-resource) to process the transcription."
32455+
"description": "The SID or the unique name of the [Voice Intelligence Service](https://www.twilio.com/docs/voice/intelligence/api/service-resource) to process the transcription."
3245032456
}
3245132457
}
3245232458
},
@@ -40902,7 +40908,7 @@
4090240908
"get": {
4090340909
"description": "Read multiple IpAddress resources.",
4090440910
"tags": [
40905-
"Api20100401IpAddress"
40911+
"Api20100401SipIpAddress"
4090640912
],
4090740913
"parameters": [
4090840914
{
@@ -41094,7 +41100,7 @@
4109441100
"post": {
4109541101
"description": "Create a new IpAddress resource.",
4109641102
"tags": [
41097-
"Api20100401IpAddress"
41103+
"Api20100401SipIpAddress"
4109841104
],
4109941105
"parameters": [
4110041106
{
@@ -41249,7 +41255,7 @@
4124941255
"get": {
4125041256
"description": "Read one IpAddress resource.",
4125141257
"tags": [
41252-
"Api20100401IpAddress"
41258+
"Api20100401SipIpAddress"
4125341259
],
4125441260
"parameters": [
4125541261
{
@@ -41362,7 +41368,7 @@
4136241368
"post": {
4136341369
"description": "Update an IpAddress resource.",
4136441370
"tags": [
41365-
"Api20100401IpAddress"
41371+
"Api20100401SipIpAddress"
4136641372
],
4136741373
"parameters": [
4136841374
{
@@ -41508,7 +41514,7 @@
4150841514
"delete": {
4150941515
"description": "Delete an IpAddress resource.",
4151041516
"tags": [
41511-
"Api20100401IpAddress"
41517+
"Api20100401SipIpAddress"
4151241518
],
4151341519
"parameters": [
4151441520
{
@@ -41608,7 +41614,7 @@
4160841614
}
4160941615
],
4161041616
"responses": {
41611-
"201": {
41617+
"200": {
4161241618
"content": {
4161341619
"application/json": {
4161441620
"schema": {
@@ -41676,7 +41682,7 @@
4167641682
}
4167741683
}
4167841684
},
41679-
"description": "Created"
41685+
"description": "OK"
4168041686
}
4168141687
},
4168241688
"security": [
@@ -47862,6 +47868,9 @@
4786247868
{
4786347869
"name": "Api20100401Call"
4786447870
},
47871+
{
47872+
"name": "Api20100401CallNotification"
47873+
},
4786547874
{
4786647875
"name": "Api20100401CallTranscription"
4786747876
},
@@ -47904,6 +47913,15 @@
4790447913
{
4790547914
"name": "Api20100401IncomingPhoneNumber"
4790647915
},
47916+
{
47917+
"name": "Api20100401IncomingPhoneNumberLocal"
47918+
},
47919+
{
47920+
"name": "Api20100401IncomingPhoneNumberMobile"
47921+
},
47922+
{
47923+
"name": "Api20100401IncomingPhoneNumberTollFree"
47924+
},
4790747925
{
4790847926
"name": "Api20100401IpAccessControlList"
4790947927
},
@@ -47988,6 +48006,9 @@
4798848006
{
4798948007
"name": "Api20100401Sip"
4799048008
},
48009+
{
48010+
"name": "Api20100401SipIpAddress"
48011+
},
4799148012
{
4799248013
"name": "Api20100401Siprec"
4799348014
},

0 commit comments

Comments
 (0)