Skip to content

Commit 10881bd

Browse files
committed
oaiFeat: Updated api definitions
1 parent fab52aa commit 10881bd

36 files changed

+138
-54
lines changed

CHANGES.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
---------------------------
2+
**Api**
3+
- Add `uri` to `stream` resource
4+
- Add A2P Registration Fee category (`a2p-registration-fee`) to usage records
5+
6+
**Verify**
7+
- Remove outdated documentation commentary to contact sales. Product is already in public beta.
8+
9+
10+
---------------------------
11+
**Api**
12+
- Detected a bug and removed optional boolean include_soft_deleted parameter to retrieve soft deleted recordings. **(breaking change)**
13+
- Add optional boolean include_soft_deleted parameter to retrieve soft deleted recordings.
14+
15+
**Numbers**
16+
- Unrevert valid_until and sort filter params added to List Bundles resource
17+
- Revert valid_until and sort filter params added to List Bundles resource
18+
- Update sorting params added to List Bundles resource in the previous release
19+
20+
**Preview**
21+
- Moved `web_channels` from preview to beta under `flex-api` **(breaking change)**
22+
23+
**Taskrouter**
24+
- Add `ETag` as Response Header to List of Task, Reservation & Worker
25+
26+
**Verify**
27+
- Add optional `metadata` to factors.
28+
29+
**Twiml**
30+
- Add new Polly Neural voices
31+
32+
133
## [6.1.0](https://github.com/twilio/twilio-cli-core/compare/6.0.1...6.1.0) (2022-02-10)
234

335

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

src/services/twilio-api/twilio_api_v2010.json

+34-1
Original file line numberDiff line numberDiff line change
@@ -2018,6 +2018,12 @@
20182018
],
20192019
"nullable": true,
20202020
"type": "string"
2021+
},
2022+
"uri": {
2023+
"description": "The URI of the resource, relative to `https://api.twilio.com`",
2024+
"format": "uri",
2025+
"nullable": true,
2026+
"type": "string"
20212027
}
20222028
},
20232029
"type": "object"
@@ -2067,6 +2073,12 @@
20672073
],
20682074
"nullable": true,
20692075
"type": "string"
2076+
},
2077+
"uri": {
2078+
"description": "The URI of the resource, relative to `https://api.twilio.com`",
2079+
"format": "uri",
2080+
"nullable": true,
2081+
"type": "string"
20702082
}
20712083
},
20722084
"type": "object"
@@ -5703,6 +5715,7 @@
57035715
"category": {
57045716
"description": "The category of usage",
57055717
"enum": [
5718+
"a2p-registration-fees",
57065719
"agent-conference",
57075720
"answering-machine-detection",
57085721
"authy-authentications",
@@ -6031,6 +6044,7 @@
60316044
"category": {
60326045
"description": "The category of usage",
60336046
"enum": [
6047+
"a2p-registration-fees",
60346048
"agent-conference",
60356049
"answering-machine-detection",
60366050
"authy-authentications",
@@ -6359,6 +6373,7 @@
63596373
"category": {
63606374
"description": "The category of usage",
63616375
"enum": [
6376+
"a2p-registration-fees",
63626377
"agent-conference",
63636378
"answering-machine-detection",
63646379
"authy-authentications",
@@ -6687,6 +6702,7 @@
66876702
"category": {
66886703
"description": "The category of usage",
66896704
"enum": [
6705+
"a2p-registration-fees",
66906706
"agent-conference",
66916707
"answering-machine-detection",
66926708
"authy-authentications",
@@ -7015,6 +7031,7 @@
70157031
"category": {
70167032
"description": "The category of usage",
70177033
"enum": [
7034+
"a2p-registration-fees",
70187035
"agent-conference",
70197036
"answering-machine-detection",
70207037
"authy-authentications",
@@ -7343,6 +7360,7 @@
73437360
"category": {
73447361
"description": "The category of usage",
73457362
"enum": [
7363+
"a2p-registration-fees",
73467364
"agent-conference",
73477365
"answering-machine-detection",
73487366
"authy-authentications",
@@ -7671,6 +7689,7 @@
76717689
"category": {
76727690
"description": "The category of usage",
76737691
"enum": [
7692+
"a2p-registration-fees",
76747693
"agent-conference",
76757694
"answering-machine-detection",
76767695
"authy-authentications",
@@ -7999,6 +8018,7 @@
79998018
"category": {
80008019
"description": "The category of usage",
80018020
"enum": [
8021+
"a2p-registration-fees",
80028022
"agent-conference",
80038023
"answering-machine-detection",
80048024
"authy-authentications",
@@ -8327,6 +8347,7 @@
83278347
"category": {
83288348
"description": "The category of usage",
83298349
"enum": [
8350+
"a2p-registration-fees",
83308351
"agent-conference",
83318352
"answering-machine-detection",
83328353
"authy-authentications",
@@ -8737,6 +8758,7 @@
87378758
"usage_category": {
87388759
"description": "The usage category the trigger watches",
87398760
"enum": [
8761+
"a2p-registration-fees",
87408762
"agent-conference",
87418763
"answering-machine-detection",
87428764
"authy-authentications",
@@ -9046,7 +9068,7 @@
90469068
},
90479069
"termsOfService": "https://www.twilio.com/legal/tos",
90489070
"title": "Twilio - Api",
9049-
"version": "1.26.0"
9071+
"version": "1.27.1"
90509072
},
90519073
"openapi": "3.0.1",
90529074
"paths": {
@@ -28465,6 +28487,7 @@
2846528487
"name": "Category",
2846628488
"schema": {
2846728489
"enum": [
28490+
"a2p-registration-fees",
2846828491
"agent-conference",
2846928492
"answering-machine-detection",
2847028493
"authy-authentications",
@@ -28844,6 +28867,7 @@
2884428867
"name": "Category",
2884528868
"schema": {
2884628869
"enum": [
28870+
"a2p-registration-fees",
2884728871
"agent-conference",
2884828872
"answering-machine-detection",
2884928873
"authy-authentications",
@@ -29223,6 +29247,7 @@
2922329247
"name": "Category",
2922429248
"schema": {
2922529249
"enum": [
29250+
"a2p-registration-fees",
2922629251
"agent-conference",
2922729252
"answering-machine-detection",
2922829253
"authy-authentications",
@@ -29602,6 +29627,7 @@
2960229627
"name": "Category",
2960329628
"schema": {
2960429629
"enum": [
29630+
"a2p-registration-fees",
2960529631
"agent-conference",
2960629632
"answering-machine-detection",
2960729633
"authy-authentications",
@@ -29981,6 +30007,7 @@
2998130007
"name": "Category",
2998230008
"schema": {
2998330009
"enum": [
30010+
"a2p-registration-fees",
2998430011
"agent-conference",
2998530012
"answering-machine-detection",
2998630013
"authy-authentications",
@@ -30360,6 +30387,7 @@
3036030387
"name": "Category",
3036130388
"schema": {
3036230389
"enum": [
30390+
"a2p-registration-fees",
3036330391
"agent-conference",
3036430392
"answering-machine-detection",
3036530393
"authy-authentications",
@@ -30739,6 +30767,7 @@
3073930767
"name": "Category",
3074030768
"schema": {
3074130769
"enum": [
30770+
"a2p-registration-fees",
3074230771
"agent-conference",
3074330772
"answering-machine-detection",
3074430773
"authy-authentications",
@@ -31118,6 +31147,7 @@
3111831147
"name": "Category",
3111931148
"schema": {
3112031149
"enum": [
31150+
"a2p-registration-fees",
3112131151
"agent-conference",
3112231152
"answering-machine-detection",
3112331153
"authy-authentications",
@@ -31497,6 +31527,7 @@
3149731527
"name": "Category",
3149831528
"schema": {
3149931529
"enum": [
31530+
"a2p-registration-fees",
3150031531
"agent-conference",
3150131532
"answering-machine-detection",
3150231533
"authy-authentications",
@@ -31903,6 +31934,7 @@
3190331934
"name": "UsageCategory",
3190431935
"schema": {
3190531936
"enum": [
31937+
"a2p-registration-fees",
3190631938
"agent-conference",
3190731939
"answering-machine-detection",
3190831940
"authy-authentications",
@@ -32285,6 +32317,7 @@
3228532317
"UsageCategory": {
3228632318
"description": "The usage category that the trigger should watch. Use one of the supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) for this value.",
3228732319
"enum": [
32320+
"a2p-registration-fees",
3228832321
"agent-conference",
3228932322
"answering-machine-detection",
3229032323
"authy-authentications",

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

src/services/twilio-api/twilio_conversations_v1.json

+16-11
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
"type": "string"
153153
},
154154
"type": {
155-
"description": "Type of Address, value can be `whatsapp` or `sms`.",
155+
"description": "Type of Address.",
156156
"nullable": true,
157157
"type": "string"
158158
},
@@ -2151,7 +2151,7 @@
21512151
},
21522152
"termsOfService": "https://www.twilio.com/legal/tos",
21532153
"title": "Twilio - Conversations",
2154-
"version": "1.26.0"
2154+
"version": "1.27.1"
21552155
},
21562156
"openapi": "3.0.1",
21572157
"paths": {
@@ -2354,7 +2354,7 @@
23542354
"type": "boolean"
23552355
},
23562356
"AutoCreation.StudioFlowSid": {
2357-
"description": "For type `studio`, the studio flow SID, where the webhook should be sent to.",
2357+
"description": "For type `studio`, the studio flow SID where the webhook should be sent to.",
23582358
"maxLength": 34,
23592359
"minLength": 34,
23602360
"pattern": "^FW[0-9a-fA-F]{32}$",
@@ -2365,7 +2365,7 @@
23652365
"type": "integer"
23662366
},
23672367
"AutoCreation.Type": {
2368-
"description": "Type of Auto Creation. Value can be one of `webhook`, `studio`, `default`.",
2368+
"description": "Type of Auto Creation. Value can be one of `webhook`, `studio` or `default`.",
23692369
"enum": [
23702370
"webhook",
23712371
"studio",
@@ -2374,7 +2374,7 @@
23742374
"type": "string"
23752375
},
23762376
"AutoCreation.WebhookFilters": {
2377-
"description": "The list of events, firing webhook event for this Conversation.",
2377+
"description": "The list of events, firing webhook event for this Conversation. Values can be any of the following: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onDeliveryUpdated`",
23782378
"items": {
23792379
"type": "string"
23802380
},
@@ -2401,7 +2401,8 @@
24012401
"enum": [
24022402
"sms",
24032403
"whatsapp",
2404-
"messenger"
2404+
"messenger",
2405+
"gbm"
24052406
],
24062407
"type": "string"
24072408
}
@@ -2445,7 +2446,9 @@
24452446
"x-twilio": {
24462447
"defaultOutputProperties": [
24472448
"sid",
2448-
"type"
2449+
"type",
2450+
"address",
2451+
"friendly_name"
24492452
],
24502453
"pathType": "list"
24512454
}
@@ -2546,7 +2549,7 @@
25462549
"type": "boolean"
25472550
},
25482551
"AutoCreation.StudioFlowSid": {
2549-
"description": "For type `studio`, the studio flow SID, where the webhook should be sent to.",
2552+
"description": "For type `studio`, the studio flow SID where the webhook should be sent to.",
25502553
"maxLength": 34,
25512554
"minLength": 34,
25522555
"pattern": "^FW[0-9a-fA-F]{32}$",
@@ -2557,7 +2560,7 @@
25572560
"type": "integer"
25582561
},
25592562
"AutoCreation.Type": {
2560-
"description": "Type of Auto Creation. Value can be one of `webhook`, `studio`, `default`.",
2563+
"description": "Type of Auto Creation. Value can be one of `webhook`, `studio` or `default`.",
25612564
"enum": [
25622565
"webhook",
25632566
"studio",
@@ -2566,7 +2569,7 @@
25662569
"type": "string"
25672570
},
25682571
"AutoCreation.WebhookFilters": {
2569-
"description": "The list of events, firing webhook event for this Conversation.",
2572+
"description": "The list of events, firing webhook event for this Conversation. Values can be any of the following: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onDeliveryUpdated`",
25702573
"items": {
25712574
"type": "string"
25722575
},
@@ -2624,7 +2627,9 @@
26242627
"x-twilio": {
26252628
"defaultOutputProperties": [
26262629
"sid",
2627-
"type"
2630+
"type",
2631+
"address",
2632+
"friendly_name"
26282633
],
26292634
"pathType": "instance"
26302635
}

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

0 commit comments

Comments
 (0)