Skip to content

Commit 4a794e0

Browse files
🌿 ✨ [Scheduled] Update API Spec (#165)
* feat(api): add Gemini Flash 2.0 Multimodal Live API support * feat(openapi): Add new credential types and Azure blob storage * feat(openapi): update OpenAPI spec to support multiple providers for UpdatePhoneNumberDTO * feat(openapi): add new tool types and improve tool configuration * feat(openapi.json): added ClientInboundMessageEndCall object and EndCall action to the ClientInboundMessageTransfer properties. * fix(openapi): remove orgId from logsQuery and logsDelete parameters and update type description and enum * fix(openapi): update OpenAPI specification for knowledge base and workflows * fix(openapi.json): update region enum and add UpdateWorkflowDTO schema * fix(openapi): add ToolCall schema and update transcript enum --------- Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 7d2095b commit 4a794e0

File tree

1 file changed

+57
-48
lines changed

1 file changed

+57
-48
lines changed

fern/apis/api/openapi.json

Lines changed: 57 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -6869,6 +6869,10 @@
68696869
"$ref": "#/components/schemas/Gather",
68706870
"title": "Gather"
68716871
},
6872+
{
6873+
"$ref": "#/components/schemas/ToolCall",
6874+
"title": "ToolCall"
6875+
},
68726876
{
68736877
"$ref": "#/components/schemas/Hangup",
68746878
"title": "Hangup"
@@ -11412,6 +11416,7 @@
1141211416
"speech-update",
1141311417
"status-update",
1141411418
"transcript",
11419+
"transcript[transcriptType=\"final\"]",
1141511420
"tool-calls",
1141611421
"transfer-destination-request",
1141711422
"transfer-update",
@@ -11444,6 +11449,7 @@
1144411449
"speech-update",
1144511450
"status-update",
1144611451
"transcript",
11452+
"transcript[transcriptType=\"final\"]",
1144711453
"tool-calls",
1144811454
"transfer-destination-request",
1144911455
"transfer-update",
@@ -11980,6 +11986,7 @@
1198011986
"speech-update",
1198111987
"status-update",
1198211988
"transcript",
11989+
"transcript[transcriptType=\"final\"]",
1198311990
"tool-calls",
1198411991
"transfer-destination-request",
1198511992
"transfer-update",
@@ -12012,6 +12019,7 @@
1201212019
"speech-update",
1201312020
"status-update",
1201412021
"transcript",
12022+
"transcript[transcriptType=\"final\"]",
1201512023
"tool-calls",
1201612024
"transfer-destination-request",
1201712025
"transfer-update",
@@ -13594,6 +13602,7 @@
1359413602
"speech-update",
1359513603
"status-update",
1359613604
"transcript",
13605+
"transcript[transcriptType=\"final\"]",
1359713606
"tool-calls",
1359813607
"transfer-destination-request",
1359913608
"transfer-update",
@@ -13626,6 +13635,7 @@
1362613635
"speech-update",
1362713636
"status-update",
1362813637
"transcript",
13638+
"transcript[transcriptType=\"final\"]",
1362913639
"tool-calls",
1363013640
"transfer-destination-request",
1363113641
"transfer-update",
@@ -14186,6 +14196,7 @@
1418614196
"speech-update",
1418714197
"status-update",
1418814198
"transcript",
14199+
"transcript[transcriptType=\"final\"]",
1418914200
"tool-calls",
1419014201
"transfer-destination-request",
1419114202
"transfer-update",
@@ -14218,6 +14229,7 @@
1421814229
"speech-update",
1421914230
"status-update",
1422014231
"transcript",
14232+
"transcript[transcriptType=\"final\"]",
1422114233
"tool-calls",
1422214234
"transfer-destination-request",
1422314235
"transfer-update",
@@ -23333,6 +23345,39 @@
2333323345
"name"
2333423346
]
2333523347
},
23348+
"ToolCall": {
23349+
"type": "object",
23350+
"properties": {
23351+
"type": {
23352+
"type": "string",
23353+
"enum": [
23354+
"tool_call"
23355+
]
23356+
},
23357+
"tool": {
23358+
"description": "The core properties of the tool call.",
23359+
"allOf": [
23360+
{
23361+
"$ref": "#/components/schemas/CreateFunctionToolDTO"
23362+
}
23363+
]
23364+
},
23365+
"toolBody": {
23366+
"type": "object",
23367+
"description": "This defined the JSON body of your tool call. For example, if `body_schema`\nincluded \"my_field\": \"my_gather_statement.user_age\", then the json body sent to the server would have that particular value assign to it.\nRight now, only data from gather statements are supported."
23368+
},
23369+
"name": {
23370+
"type": "string",
23371+
"maxLength": 40
23372+
}
23373+
},
23374+
"required": [
23375+
"type",
23376+
"tool",
23377+
"toolBody",
23378+
"name"
23379+
]
23380+
},
2333623381
"CreateWorkflowDTO": {
2333723382
"type": "object",
2333823383
"properties": {
@@ -23354,6 +23399,10 @@
2335423399
"$ref": "#/components/schemas/Gather",
2335523400
"title": "Gather"
2335623401
},
23402+
{
23403+
"$ref": "#/components/schemas/ToolCall",
23404+
"title": "ToolCall"
23405+
},
2335723406
{
2335823407
"$ref": "#/components/schemas/Hangup",
2335923408
"title": "Hangup"
@@ -23398,6 +23447,10 @@
2339823447
"$ref": "#/components/schemas/Gather",
2339923448
"title": "Gather"
2340023449
},
23450+
{
23451+
"$ref": "#/components/schemas/ToolCall",
23452+
"title": "ToolCall"
23453+
},
2340123454
{
2340223455
"$ref": "#/components/schemas/Hangup",
2340323456
"title": "Hangup"
@@ -23567,7 +23620,8 @@
2356723620
"type": "string",
2356823621
"description": "This is the type of the message. \"transcript\" is sent as transcriber outputs partial or final transcript.",
2356923622
"enum": [
23570-
"transcript"
23623+
"transcript",
23624+
"transcript[transcriptType=\"final\"]"
2357123625
]
2357223626
},
2357323627
"role": {
@@ -23598,52 +23652,6 @@
2359823652
"transcript"
2359923653
]
2360023654
},
23601-
"ToolCallFunction": {
23602-
"type": "object",
23603-
"properties": {
23604-
"name": {
23605-
"type": "string",
23606-
"description": "This is the name of the function the model called."
23607-
},
23608-
"arguments": {
23609-
"type": "object",
23610-
"description": "These are the arguments that the function was called with."
23611-
}
23612-
},
23613-
"required": [
23614-
"name",
23615-
"arguments"
23616-
]
23617-
},
23618-
"ToolCall": {
23619-
"type": "object",
23620-
"properties": {
23621-
"type": {
23622-
"type": "string",
23623-
"description": "This is the type of tool the model called.",
23624-
"enum": [
23625-
"function"
23626-
]
23627-
},
23628-
"function": {
23629-
"description": "This is the function the model called.",
23630-
"allOf": [
23631-
{
23632-
"$ref": "#/components/schemas/ToolCallFunction"
23633-
}
23634-
]
23635-
},
23636-
"id": {
23637-
"type": "string",
23638-
"description": "This is the unique identifier for the tool call."
23639-
}
23640-
},
23641-
"required": [
23642-
"type",
23643-
"function",
23644-
"id"
23645-
]
23646-
},
2364723655
"ClientMessageToolCalls": {
2364823656
"type": "object",
2364923657
"properties": {
@@ -25546,7 +25554,8 @@
2554625554
"type": "string",
2554725555
"description": "This is the type of the message. \"transcript\" is sent as transcriber outputs partial or final transcript.",
2554825556
"enum": [
25549-
"transcript"
25557+
"transcript",
25558+
"transcript[transcriptType=\"final\"]"
2555025559
]
2555125560
},
2555225561
"timestamp": {

0 commit comments

Comments
 (0)