Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
125 changes: 109 additions & 16 deletions fern/apis/api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -24670,7 +24670,8 @@
"transfer-update",
"user-interrupted",
"voice-input",
"workflow.node.started"
"workflow.node.started",
"assistant.started"
],
"example": [
"conversation-update",
Expand All @@ -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": [
Expand All @@ -24706,7 +24708,8 @@
"transfer-update",
"user-interrupted",
"voice-input",
"workflow.node.started"
"workflow.node.started",
"assistant.started"
]
}
},
Expand Down Expand Up @@ -25477,7 +25480,8 @@
"transfer-update",
"user-interrupted",
"voice-input",
"workflow.node.started"
"workflow.node.started",
"assistant.started"
],
"example": [
"conversation-update",
Expand All @@ -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": [
Expand All @@ -25513,7 +25518,8 @@
"transfer-update",
"user-interrupted",
"voice-input",
"workflow.node.started"
"workflow.node.started",
"assistant.started"
]
}
},
Expand Down Expand Up @@ -26374,7 +26380,8 @@
"transfer-update",
"user-interrupted",
"voice-input",
"workflow.node.started"
"workflow.node.started",
"assistant.started"
],
"example": [
"conversation-update",
Expand All @@ -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": [
Expand All @@ -26410,7 +26418,8 @@
"transfer-update",
"user-interrupted",
"voice-input",
"workflow.node.started"
"workflow.node.started",
"assistant.started"
]
}
},
Expand Down Expand Up @@ -27181,7 +27190,8 @@
"transfer-update",
"user-interrupted",
"voice-input",
"workflow.node.started"
"workflow.node.started",
"assistant.started"
],
"example": [
"conversation-update",
Expand All @@ -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": [
Expand All @@ -27217,7 +27228,8 @@
"transfer-update",
"user-interrupted",
"voice-input",
"workflow.node.started"
"workflow.node.started",
"assistant.started"
]
}
},
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -49687,6 +49776,10 @@
"$ref": "#/components/schemas/ClientMessageWorkflowNodeStarted",
"title": "WorkflowNodeStarted"
},
{
"$ref": "#/components/schemas/ClientMessageAssistantStarted",
"title": "AssistantStarted"
},
{
"$ref": "#/components/schemas/ClientMessageConversationUpdate",
"title": "ConversationUpdate"
Expand Down