Skip to content

Commit

Permalink
oaiFix: Updated api definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Nov 15, 2024
1 parent 9d678b9 commit e071a2e
Show file tree
Hide file tree
Showing 12 changed files with 2,041 additions and 350 deletions.
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
--------------------------
**Api**
- Added `ivr-virtual-agent-custom-voices` and `ivr-virtual-agent-genai` to `usage_record` API.
- Add open-api file tag to realtime_transcriptions

**Taskrouter**
- Add `api-tag` property to workers reservation
- Add `api-tag` property to task reservation


### [7.26.5](https://github.com/twilio/twilio-cli-core/compare/7.26.4...7.26.5) (2024-10-24)


Expand Down
1,343 changes: 1,036 additions & 307 deletions package-lock.json

Large diffs are not rendered by default.

27 changes: 25 additions & 2 deletions src/services/twilio-api/twilio_api_v2010.json
Original file line number Diff line number Diff line change
Expand Up @@ -6266,6 +6266,8 @@
"group-rooms-participant-minutes",
"group-rooms-recorded-minutes",
"imp-v1-usage",
"ivr-virtual-agent-custom-voices",
"ivr-virtual-agent-genai",
"lookups",
"marketplace",
"marketplace-algorithmia-named-entity-recognition",
Expand Down Expand Up @@ -6608,6 +6610,8 @@
"group-rooms-participant-minutes",
"group-rooms-recorded-minutes",
"imp-v1-usage",
"ivr-virtual-agent-custom-voices",
"ivr-virtual-agent-genai",
"lookups",
"marketplace",
"marketplace-algorithmia-named-entity-recognition",
Expand Down Expand Up @@ -6950,6 +6954,8 @@
"group-rooms-participant-minutes",
"group-rooms-recorded-minutes",
"imp-v1-usage",
"ivr-virtual-agent-custom-voices",
"ivr-virtual-agent-genai",
"lookups",
"marketplace",
"marketplace-algorithmia-named-entity-recognition",
Expand Down Expand Up @@ -7292,6 +7298,8 @@
"group-rooms-participant-minutes",
"group-rooms-recorded-minutes",
"imp-v1-usage",
"ivr-virtual-agent-custom-voices",
"ivr-virtual-agent-genai",
"lookups",
"marketplace",
"marketplace-algorithmia-named-entity-recognition",
Expand Down Expand Up @@ -7634,6 +7642,8 @@
"group-rooms-participant-minutes",
"group-rooms-recorded-minutes",
"imp-v1-usage",
"ivr-virtual-agent-custom-voices",
"ivr-virtual-agent-genai",
"lookups",
"marketplace",
"marketplace-algorithmia-named-entity-recognition",
Expand Down Expand Up @@ -7976,6 +7986,8 @@
"group-rooms-participant-minutes",
"group-rooms-recorded-minutes",
"imp-v1-usage",
"ivr-virtual-agent-custom-voices",
"ivr-virtual-agent-genai",
"lookups",
"marketplace",
"marketplace-algorithmia-named-entity-recognition",
Expand Down Expand Up @@ -8318,6 +8330,8 @@
"group-rooms-participant-minutes",
"group-rooms-recorded-minutes",
"imp-v1-usage",
"ivr-virtual-agent-custom-voices",
"ivr-virtual-agent-genai",
"lookups",
"marketplace",
"marketplace-algorithmia-named-entity-recognition",
Expand Down Expand Up @@ -8660,6 +8674,8 @@
"group-rooms-participant-minutes",
"group-rooms-recorded-minutes",
"imp-v1-usage",
"ivr-virtual-agent-custom-voices",
"ivr-virtual-agent-genai",
"lookups",
"marketplace",
"marketplace-algorithmia-named-entity-recognition",
Expand Down Expand Up @@ -9002,6 +9018,8 @@
"group-rooms-participant-minutes",
"group-rooms-recorded-minutes",
"imp-v1-usage",
"ivr-virtual-agent-custom-voices",
"ivr-virtual-agent-genai",
"lookups",
"marketplace",
"marketplace-algorithmia-named-entity-recognition",
Expand Down Expand Up @@ -9365,6 +9383,8 @@
"group-rooms-participant-minutes",
"group-rooms-recorded-minutes",
"imp-v1-usage",
"ivr-virtual-agent-custom-voices",
"ivr-virtual-agent-genai",
"lookups",
"marketplace",
"marketplace-algorithmia-named-entity-recognition",
Expand Down Expand Up @@ -32252,7 +32272,7 @@
"post": {
"description": "Create a Transcription",
"tags": [
"Api20100401Transcription"
"Api20100401CallTranscription"
],
"parameters": [
{
Expand Down Expand Up @@ -32471,7 +32491,7 @@
"post": {
"description": "Stop a Transcription using either the SID of the Transcription resource or the `name` used when creating the resource",
"tags": [
"Api20100401Transcription"
"Api20100401CallTranscription"
],
"parameters": [
{
Expand Down Expand Up @@ -47837,6 +47857,9 @@
{
"name": "Api20100401Call"
},
{
"name": "Api20100401CallTranscription"
},
{
"name": "Api20100401Conference"
},
Expand Down
3 changes: 2 additions & 1 deletion src/services/twilio-api/twilio_content_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"URL",
"PHONE_NUMBER",
"COPY_CODE",
"VOICE_CALL"
"VOICE_CALL",
"VOICE_CALL_REQUEST"
]
},
"callToActionAction": {
Expand Down
12 changes: 6 additions & 6 deletions src/services/twilio-api/twilio_conversations_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
"type": "string",
"$ref": "#/components/schemas/conversation_enum_state",
"nullable": true,
"description": "Current state of this conversation. Can be either `active`, `inactive` or `closed` and defaults to `active`"
"description": "Current state of this conversation. Can be either `initializing`, `active`, `inactive` or `closed` and defaults to `active`"
},
"date_created": {
"type": "string",
Expand Down Expand Up @@ -827,7 +827,7 @@
"type": "string",
"$ref": "#/components/schemas/conversation_with_participants_enum_state",
"nullable": true,
"description": "Current state of this conversation. Can be either `active`, `inactive` or `closed` and defaults to `active`"
"description": "Current state of this conversation. Can be either `initializing`, `active`, `inactive` or `closed` and defaults to `active`"
},
"date_created": {
"type": "string",
Expand Down Expand Up @@ -1446,7 +1446,7 @@
"type": "string",
"$ref": "#/components/schemas/service_conversation_enum_state",
"nullable": true,
"description": "Current state of this conversation. Can be either `active`, `inactive` or `closed` and defaults to `active`"
"description": "Current state of this conversation. Can be either `initializing`, `active`, `inactive` or `closed` and defaults to `active`"
},
"date_created": {
"type": "string",
Expand Down Expand Up @@ -2004,7 +2004,7 @@
"type": "string",
"$ref": "#/components/schemas/service_conversation_with_participants_enum_state",
"nullable": true,
"description": "Current state of this conversation. Can be either `active`, `inactive` or `closed` and defaults to `active`"
"description": "Current state of this conversation. Can be either `initializing`, `active`, `inactive` or `closed` and defaults to `active`"
},
"date_created": {
"type": "string",
Expand Down Expand Up @@ -8247,7 +8247,7 @@
"items": {
"type": "string"
},
"description": "The participant to be added to the conversation in JSON format. The parameters are as in [Participant Resource](https://www.twilio.com/docs/conversations/api/conversation-participant-resource). The maximum number of participants that can be added in a single request is 10."
"description": "The participant to be added to the conversation in JSON format. The JSON object attributes are as parameters in [Participant Resource](https://www.twilio.com/docs/conversations/api/conversation-participant-resource). The maximum number of participants that can be added in a single request is 10."
}
}
},
Expand Down Expand Up @@ -15240,7 +15240,7 @@
"items": {
"type": "string"
},
"description": "The participant to be added to the conversation in JSON format. The parameters are as in [Participant Resource](https://www.twilio.com/docs/conversations/api/conversation-participant-resource). The maximum number of participants that can be added in a single request is 10."
"description": "The participant to be added to the conversation in JSON format. The JSON object attributes are as parameters in [Participant Resource](https://www.twilio.com/docs/conversations/api/conversation-participant-resource). The maximum number of participants that can be added in a single request is 10."
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions src/services/twilio-api/twilio_flex_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -12931,6 +12931,9 @@
{
"name": "FlexV1AiInsightsConversations"
},
{
"name": "FlexV1AiInsightsConversationsExportData"
},
{
"name": "FlexV1Assessments"
},
Expand Down
18 changes: 18 additions & 0 deletions src/services/twilio-api/twilio_iam_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@
}
},
"schemas": {
"accounts_enum_status": {
"type": "string",
"enum": [
"active",
"suspended",
"closed"
]
},
"accounts_enum_type": {
"type": "string",
"enum": [
"Trial",
"Full"
]
},
"iam.v1.get_keys": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -789,6 +804,9 @@
}
],
"tags": [
{
"name": "IamV1Account"
},
{
"name": "IamV1ApiKey"
},
Expand Down
17 changes: 12 additions & 5 deletions src/services/twilio-api/twilio_insights_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,8 @@
"high_jitter",
"high_latency",
"low_mos",
"detected_silence"
"detected_silence",
"no_concurrent_participants"
]
},
"conference_enum_processing_state": {
Expand Down Expand Up @@ -1258,7 +1259,8 @@
"enum": [
"VP8",
"H264",
"VP9"
"VP9",
"opus"
]
},
"video_participant_summary_enum_twilio_realm": {
Expand All @@ -1273,7 +1275,9 @@
"sg1",
"in1",
"de1",
"gll"
"gll",
"stage_us1",
"dev_us1"
]
},
"video_participant_summary_enum_edge_location": {
Expand Down Expand Up @@ -1491,7 +1495,8 @@
"enum": [
"VP8",
"H264",
"VP9"
"VP9",
"opus"
]
},
"video_room_summary_enum_twilio_realm": {
Expand All @@ -1506,7 +1511,9 @@
"sg1",
"in1",
"de1",
"gll"
"gll",
"stage_us1",
"dev_us1"
]
},
"video_room_summary_enum_processing_state": {
Expand Down
Loading

0 comments on commit e071a2e

Please sign in to comment.