Skip to content

Commit a61a26a

Browse files
committed
oaiFix: Updated api definitions
1 parent f666826 commit a61a26a

15 files changed

+2880
-301
lines changed

CHANGES.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
--------------------------
2+
**Api**
3+
- Add `date_created` property to media resource and date_created filtering parameters for read action
4+
- Updated the Recordings Resource `channels` property to clarify channels = # of channels in the recording resource and how to specify the # of channels in recording download
5+
6+
**Intelligence**
7+
- Add encryption_credential_sid field in transcripts and services in v2
8+
9+
**Trusthub**
10+
- Remove beta feature flag for all TH APIs
11+
- Remove beta feature flag for ComplianceInquiries API to support OneConsole traffic
12+
13+
**Twiml**
14+
- Add new noun `<AiSession>`
15+
16+
117
## [8.2.0](https://github.com/twilio/twilio-cli-core/compare/8.1.1...8.2.0) (2025-09-04)
218

319
--------------------------

package-lock.json

Lines changed: 107 additions & 95 deletions
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

Lines changed: 16 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4673,7 +4673,7 @@
46734673
"channels": {
46744674
"type": "integer",
46754675
"nullable": true,
4676-
"description": "The number of channels in the final recording file. Can be: `1` or `2`. Default: `1`."
4676+
"description": "The number of channels in the recording resource. For information on specifying the number of channels in the downloaded recording file, check out [Fetch a Recording\u2019s media file](https://www.twilio.com/docs/voice/api/recording#download-dual-channel-media-file)."
46774677
},
46784678
"source": {
46794679
"$ref": "#/components/schemas/recording_enum_source"
@@ -10547,7 +10547,7 @@
1054710547
{
1054810548
"name": "Contains",
1054910549
"in": "query",
10550-
"description": "The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters.",
10550+
"description": "Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.",
1055110551
"schema": {
1055210552
"type": "string"
1055310553
}
@@ -10903,7 +10903,7 @@
1090310903
{
1090410904
"name": "Contains",
1090510905
"in": "query",
10906-
"description": "The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.",
10906+
"description": "Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.",
1090710907
"schema": {
1090810908
"type": "string"
1090910909
}
@@ -11259,7 +11259,7 @@
1125911259
{
1126011260
"name": "Contains",
1126111261
"in": "query",
11262-
"description": "The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.",
11262+
"description": "Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.",
1126311263
"schema": {
1126411264
"type": "string"
1126511265
}
@@ -11615,7 +11615,7 @@
1161511615
{
1161611616
"name": "Contains",
1161711617
"in": "query",
11618-
"description": "The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.",
11618+
"description": "Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.",
1161911619
"schema": {
1162011620
"type": "string"
1162111621
}
@@ -11971,7 +11971,7 @@
1197111971
{
1197211972
"name": "Contains",
1197311973
"in": "query",
11974-
"description": "The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.",
11974+
"description": "Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.",
1197511975
"schema": {
1197611976
"type": "string"
1197711977
}
@@ -12327,7 +12327,7 @@
1232712327
{
1232812328
"name": "Contains",
1232912329
"in": "query",
12330-
"description": "The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.",
12330+
"description": "Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.",
1233112331
"schema": {
1233212332
"type": "string"
1233312333
}
@@ -12683,7 +12683,7 @@
1268312683
{
1268412684
"name": "Contains",
1268512685
"in": "query",
12686-
"description": "The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.",
12686+
"description": "Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.",
1268712687
"schema": {
1268812688
"type": "string"
1268912689
}
@@ -23507,14 +23507,6 @@
2350723507
"schema": {
2350823508
"type": "string",
2350923509
"format": "date-time"
23510-
},
23511-
"examples": {
23512-
"readFull": {
23513-
"value": "2008-01-02"
23514-
},
23515-
"readEmpty": {
23516-
"value": "2008-01-02"
23517-
}
2351823510
}
2351923511
},
2352023512
{
@@ -23526,11 +23518,8 @@
2352623518
"format": "date-time"
2352723519
},
2352823520
"examples": {
23529-
"readFull": {
23530-
"value": "2008-01-01"
23531-
},
23532-
"readEmpty": {
23533-
"value": "2008-01-01"
23521+
"readEmptyDatecreatedLess": {
23522+
"value": "2008-01-02"
2353423523
}
2353523524
}
2353623525
},
@@ -23544,10 +23533,7 @@
2354423533
},
2354523534
"examples": {
2354623535
"readFull": {
23547-
"value": "2008-01-03"
23548-
},
23549-
"readEmpty": {
23550-
"value": "2008-01-03"
23536+
"value": "2008-01-02"
2355123537
}
2355223538
}
2355323539
},
@@ -23630,7 +23616,7 @@
2363023616
"readFull": {
2363123617
"value": {
2363223618
"end": 0,
23633-
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/SMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Media.json?PageSize=50&Page=0",
23619+
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/SMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Media.json?DateCreated%3E=2008-01-02&PageSize=50&Page=0",
2363423620
"media_list": [
2363523621
{
2363623622
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -23647,20 +23633,20 @@
2364723633
"page_size": 50,
2364823634
"previous_page_uri": null,
2364923635
"start": 0,
23650-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/SMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Media.json?PageSize=50&Page=0"
23636+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/SMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Media.json?DateCreated%3E=2008-01-02&PageSize=50&Page=0"
2365123637
}
2365223638
},
23653-
"readEmpty": {
23639+
"readEmptyDatecreatedLess": {
2365423640
"value": {
2365523641
"end": 0,
23656-
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/SMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Media.json?PageSize=50&Page=0",
23642+
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/SMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Media.json?DateCreated%3C=2008-01-02&PageSize=50&Page=0",
2365723643
"media_list": [],
2365823644
"next_page_uri": null,
2365923645
"page": 0,
2366023646
"page_size": 50,
2366123647
"previous_page_uri": null,
2366223648
"start": 0,
23663-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/SMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Media.json?PageSize=50&Page=0"
23649+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/SMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Media.json?DateCreated%3C=2008-01-02&PageSize=50&Page=0"
2366423650
}
2366523651
}
2366623652
}

src/services/twilio-api/twilio_content_v1.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,43 @@
548548
"timeSlots"
549549
]
550550
},
551+
"whatsappFlows": {
552+
"type": "object",
553+
"description": "whatsapp/flows templates allow you to send multiple messages in a set order with text or select options",
554+
"nullable": true,
555+
"additionalProperties": false,
556+
"properties": {
557+
"body": {
558+
"type": "string"
559+
},
560+
"button_text": {
561+
"type": "string"
562+
},
563+
"subtitle": {
564+
"type": "string"
565+
},
566+
"media_url": {
567+
"type": "string"
568+
},
569+
"flow_id": {
570+
"type": "string"
571+
},
572+
"flow_token": {
573+
"type": "string"
574+
},
575+
"flow_first_page_id": {
576+
"type": "string"
577+
},
578+
"is_flow_first_page_endpoint": {
579+
"type": "boolean"
580+
}
581+
},
582+
"required": [
583+
"body",
584+
"button_text",
585+
"flow_id"
586+
]
587+
},
551588
"twilioFlows": {
552589
"type": "object",
553590
"description": "twilio/flows templates allow you to send multiple messages in a set order with text or select options",
@@ -723,6 +760,9 @@
723760
},
724761
"whatsapp/authentication": {
725762
"$ref": "#/components/schemas/whatsappAuthentication"
763+
},
764+
"whatsapp/flows": {
765+
"$ref": "#/components/schemas/whatsappFlows"
726766
}
727767
}
728768
},
@@ -1016,7 +1056,8 @@
10161056
"pathType": "list"
10171057
},
10181058
"post": {
1019-
"description": "",
1059+
"description": "Create a ContentApprovalRequest for a content item",
1060+
"summary": "Create Content Approval Request",
10201061
"tags": [
10211062
"Contentv1ApprovalCreate"
10221063
],
@@ -1131,6 +1172,7 @@
11311172
},
11321173
"get": {
11331174
"description": "Fetch a Content resource's approval status by its unique Content Sid",
1175+
"summary": "Fetch Approval Status",
11341176
"tags": [
11351177
"Contentv1ApprovalFetch"
11361178
],
@@ -1259,6 +1301,7 @@
12591301
},
12601302
"get": {
12611303
"description": "Fetch a Content resource by its unique Content Sid",
1304+
"summary": "Fetch Content",
12621305
"tags": [
12631306
"Contentv1Content"
12641307
],
@@ -1363,6 +1406,7 @@
13631406
},
13641407
"delete": {
13651408
"description": "Deletes a Content resource",
1409+
"summary": "Delete Content",
13661410
"tags": [
13671411
"Contentv1Content"
13681412
],
@@ -1430,6 +1474,7 @@
14301474
},
14311475
"post": {
14321476
"description": "Create a Content resource",
1477+
"summary": "Create Content",
14331478
"requestBody": {
14341479
"required": true,
14351480
"content": {
@@ -1530,6 +1575,7 @@
15301575
},
15311576
"get": {
15321577
"description": "Retrieve a list of Contents belonging to the account used to make the request",
1578+
"summary": "List Contents",
15331579
"tags": [
15341580
"Contentv1Content"
15351581
],
@@ -1792,6 +1838,7 @@
17921838
},
17931839
"get": {
17941840
"description": "Retrieve a list of Contents with approval statuses belonging to the account used to make the request",
1841+
"summary": "List Content Approvals",
17951842
"tags": [
17961843
"Contentv1ContentAndApprovals"
17971844
],
@@ -2063,6 +2110,7 @@
20632110
},
20642111
"get": {
20652112
"description": "Retrieve a list of Legacy Contents belonging to the account used to make the request",
2113+
"summary": "List Legacy Contents",
20662114
"tags": [
20672115
"Contentv1LegacyContent"
20682116
],

src/services/twilio-api/twilio_flex_v1.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,8 @@
14821482
"active",
14831483
"failed",
14841484
"closed",
1485-
"inactive"
1485+
"inactive",
1486+
"pause"
14861487
],
14871488
"description": "The status of this channel."
14881489
},
@@ -1497,7 +1498,8 @@
14971498
"type": "string",
14981499
"enum": [
14991500
"transcription",
1500-
"studio"
1501+
"studio",
1502+
"copilot"
15011503
]
15021504
},
15031505
"interaction_channel_app_enum_status": {
@@ -13878,6 +13880,9 @@
1387813880
{
1387913881
"name": "FlexV1FlexFlow"
1388013882
},
13883+
{
13884+
"name": "FlexV1FlexNotificationConfiguration"
13885+
},
1388113886
{
1388213887
"name": "FlexV1FlexTeam"
1388313888
},

0 commit comments

Comments
 (0)