From f7c65d7abf7908a99d5404d622c6f5cf2becb751 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 29 Oct 2025 00:28:01 +0000 Subject: [PATCH] Update API specifications with fern api update --- fern/apis/api/openapi.json | 125 ++++++++++++++++++++++++++++++++----- 1 file changed, 109 insertions(+), 16 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 18f274fe..7cb93551 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -24670,7 +24670,8 @@ "transfer-update", "user-interrupted", "voice-input", - "workflow.node.started" + "workflow.node.started", + "assistant.started" ], "example": [ "conversation-update", @@ -24684,9 +24685,10 @@ "tool-calls", "user-interrupted", "voice-input", - "workflow.node.started" + "workflow.node.started", + "assistant.started" ], - "description": "These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started. You can check the shape of the messages in ClientMessage schema.", + "description": "These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started,assistant.started. You can check the shape of the messages in ClientMessage schema.", "items": { "type": "string", "enum": [ @@ -24706,7 +24708,8 @@ "transfer-update", "user-interrupted", "voice-input", - "workflow.node.started" + "workflow.node.started", + "assistant.started" ] } }, @@ -25477,7 +25480,8 @@ "transfer-update", "user-interrupted", "voice-input", - "workflow.node.started" + "workflow.node.started", + "assistant.started" ], "example": [ "conversation-update", @@ -25491,9 +25495,10 @@ "tool-calls", "user-interrupted", "voice-input", - "workflow.node.started" + "workflow.node.started", + "assistant.started" ], - "description": "These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started. You can check the shape of the messages in ClientMessage schema.", + "description": "These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started,assistant.started. You can check the shape of the messages in ClientMessage schema.", "items": { "type": "string", "enum": [ @@ -25513,7 +25518,8 @@ "transfer-update", "user-interrupted", "voice-input", - "workflow.node.started" + "workflow.node.started", + "assistant.started" ] } }, @@ -26374,7 +26380,8 @@ "transfer-update", "user-interrupted", "voice-input", - "workflow.node.started" + "workflow.node.started", + "assistant.started" ], "example": [ "conversation-update", @@ -26388,9 +26395,10 @@ "tool-calls", "user-interrupted", "voice-input", - "workflow.node.started" + "workflow.node.started", + "assistant.started" ], - "description": "These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started. You can check the shape of the messages in ClientMessage schema.", + "description": "These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started,assistant.started. You can check the shape of the messages in ClientMessage schema.", "items": { "type": "string", "enum": [ @@ -26410,7 +26418,8 @@ "transfer-update", "user-interrupted", "voice-input", - "workflow.node.started" + "workflow.node.started", + "assistant.started" ] } }, @@ -27181,7 +27190,8 @@ "transfer-update", "user-interrupted", "voice-input", - "workflow.node.started" + "workflow.node.started", + "assistant.started" ], "example": [ "conversation-update", @@ -27195,9 +27205,10 @@ "tool-calls", "user-interrupted", "voice-input", - "workflow.node.started" + "workflow.node.started", + "assistant.started" ], - "description": "These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started. You can check the shape of the messages in ClientMessage schema.", + "description": "These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started,assistant.started. You can check the shape of the messages in ClientMessage schema.", "items": { "type": "string", "enum": [ @@ -27217,7 +27228,8 @@ "transfer-update", "user-interrupted", "voice-input", - "workflow.node.started" + "workflow.node.started", + "assistant.started" ] } }, @@ -48133,6 +48145,83 @@ "node" ] }, + "ClientMessageAssistantStarted": { + "type": "object", + "properties": { + "phoneNumber": { + "description": "This is the phone number that the message is associated with.", + "oneOf": [ + { + "$ref": "#/components/schemas/CreateByoPhoneNumberDTO", + "title": "ByoPhoneNumber" + }, + { + "$ref": "#/components/schemas/CreateTwilioPhoneNumberDTO", + "title": "TwilioPhoneNumber" + }, + { + "$ref": "#/components/schemas/CreateVonagePhoneNumberDTO", + "title": "VonagePhoneNumber" + }, + { + "$ref": "#/components/schemas/CreateVapiPhoneNumberDTO", + "title": "VapiPhoneNumber" + }, + { + "$ref": "#/components/schemas/CreateTelnyxPhoneNumberDTO", + "title": "TelnyxPhoneNumber" + } + ] + }, + "type": { + "type": "string", + "description": "This is the type of the message. \"assistant.started\" is sent when the assistant is started.", + "enum": [ + "assistant.started" + ] + }, + "timestamp": { + "type": "number", + "description": "This is the timestamp of the message." + }, + "call": { + "description": "This is the call that the message is associated with.", + "allOf": [ + { + "$ref": "#/components/schemas/Call" + } + ] + }, + "customer": { + "description": "This is the customer that the message is associated with.", + "allOf": [ + { + "$ref": "#/components/schemas/CreateCustomerDTO" + } + ] + }, + "assistant": { + "description": "This is the assistant that the message is associated with.", + "allOf": [ + { + "$ref": "#/components/schemas/CreateAssistantDTO" + } + ] + }, + "newAssistant": { + "description": "This is the assistant that was updated.", + "allOf": [ + { + "$ref": "#/components/schemas/CreateAssistantDTO" + } + ] + } + }, + "required": [ + "type", + "newAssistant" + ] + }, "ClientMessageConversationUpdate": { "type": "object", "properties": { @@ -49687,6 +49776,10 @@ "$ref": "#/components/schemas/ClientMessageWorkflowNodeStarted", "title": "WorkflowNodeStarted" }, + { + "$ref": "#/components/schemas/ClientMessageAssistantStarted", + "title": "AssistantStarted" + }, { "$ref": "#/components/schemas/ClientMessageConversationUpdate", "title": "ConversationUpdate"