Skip to content

Commit 2b9059f

Browse files
github-actions[bot]github-actions
andauthored
Update API specifications with fern api update (#772)
Co-authored-by: github-actions <[email protected]>
1 parent f0d579e commit 2b9059f

File tree

1 file changed

+109
-16
lines changed

1 file changed

+109
-16
lines changed

fern/apis/api/openapi.json

Lines changed: 109 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24670,7 +24670,8 @@
2467024670
"transfer-update",
2467124671
"user-interrupted",
2467224672
"voice-input",
24673-
"workflow.node.started"
24673+
"workflow.node.started",
24674+
"assistant.started"
2467424675
],
2467524676
"example": [
2467624677
"conversation-update",
@@ -24684,9 +24685,10 @@
2468424685
"tool-calls",
2468524686
"user-interrupted",
2468624687
"voice-input",
24687-
"workflow.node.started"
24688+
"workflow.node.started",
24689+
"assistant.started"
2468824690
],
24689-
"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.",
24691+
"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.",
2469024692
"items": {
2469124693
"type": "string",
2469224694
"enum": [
@@ -24706,7 +24708,8 @@
2470624708
"transfer-update",
2470724709
"user-interrupted",
2470824710
"voice-input",
24709-
"workflow.node.started"
24711+
"workflow.node.started",
24712+
"assistant.started"
2471024713
]
2471124714
}
2471224715
},
@@ -25477,7 +25480,8 @@
2547725480
"transfer-update",
2547825481
"user-interrupted",
2547925482
"voice-input",
25480-
"workflow.node.started"
25483+
"workflow.node.started",
25484+
"assistant.started"
2548125485
],
2548225486
"example": [
2548325487
"conversation-update",
@@ -25491,9 +25495,10 @@
2549125495
"tool-calls",
2549225496
"user-interrupted",
2549325497
"voice-input",
25494-
"workflow.node.started"
25498+
"workflow.node.started",
25499+
"assistant.started"
2549525500
],
25496-
"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.",
25501+
"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.",
2549725502
"items": {
2549825503
"type": "string",
2549925504
"enum": [
@@ -25513,7 +25518,8 @@
2551325518
"transfer-update",
2551425519
"user-interrupted",
2551525520
"voice-input",
25516-
"workflow.node.started"
25521+
"workflow.node.started",
25522+
"assistant.started"
2551725523
]
2551825524
}
2551925525
},
@@ -26374,7 +26380,8 @@
2637426380
"transfer-update",
2637526381
"user-interrupted",
2637626382
"voice-input",
26377-
"workflow.node.started"
26383+
"workflow.node.started",
26384+
"assistant.started"
2637826385
],
2637926386
"example": [
2638026387
"conversation-update",
@@ -26388,9 +26395,10 @@
2638826395
"tool-calls",
2638926396
"user-interrupted",
2639026397
"voice-input",
26391-
"workflow.node.started"
26398+
"workflow.node.started",
26399+
"assistant.started"
2639226400
],
26393-
"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.",
26401+
"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.",
2639426402
"items": {
2639526403
"type": "string",
2639626404
"enum": [
@@ -26410,7 +26418,8 @@
2641026418
"transfer-update",
2641126419
"user-interrupted",
2641226420
"voice-input",
26413-
"workflow.node.started"
26421+
"workflow.node.started",
26422+
"assistant.started"
2641426423
]
2641526424
}
2641626425
},
@@ -27181,7 +27190,8 @@
2718127190
"transfer-update",
2718227191
"user-interrupted",
2718327192
"voice-input",
27184-
"workflow.node.started"
27193+
"workflow.node.started",
27194+
"assistant.started"
2718527195
],
2718627196
"example": [
2718727197
"conversation-update",
@@ -27195,9 +27205,10 @@
2719527205
"tool-calls",
2719627206
"user-interrupted",
2719727207
"voice-input",
27198-
"workflow.node.started"
27208+
"workflow.node.started",
27209+
"assistant.started"
2719927210
],
27200-
"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.",
27211+
"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.",
2720127212
"items": {
2720227213
"type": "string",
2720327214
"enum": [
@@ -27217,7 +27228,8 @@
2721727228
"transfer-update",
2721827229
"user-interrupted",
2721927230
"voice-input",
27220-
"workflow.node.started"
27231+
"workflow.node.started",
27232+
"assistant.started"
2722127233
]
2722227234
}
2722327235
},
@@ -48133,6 +48145,83 @@
4813348145
"node"
4813448146
]
4813548147
},
48148+
"ClientMessageAssistantStarted": {
48149+
"type": "object",
48150+
"properties": {
48151+
"phoneNumber": {
48152+
"description": "This is the phone number that the message is associated with.",
48153+
"oneOf": [
48154+
{
48155+
"$ref": "#/components/schemas/CreateByoPhoneNumberDTO",
48156+
"title": "ByoPhoneNumber"
48157+
},
48158+
{
48159+
"$ref": "#/components/schemas/CreateTwilioPhoneNumberDTO",
48160+
"title": "TwilioPhoneNumber"
48161+
},
48162+
{
48163+
"$ref": "#/components/schemas/CreateVonagePhoneNumberDTO",
48164+
"title": "VonagePhoneNumber"
48165+
},
48166+
{
48167+
"$ref": "#/components/schemas/CreateVapiPhoneNumberDTO",
48168+
"title": "VapiPhoneNumber"
48169+
},
48170+
{
48171+
"$ref": "#/components/schemas/CreateTelnyxPhoneNumberDTO",
48172+
"title": "TelnyxPhoneNumber"
48173+
}
48174+
]
48175+
},
48176+
"type": {
48177+
"type": "string",
48178+
"description": "This is the type of the message. \"assistant.started\" is sent when the assistant is started.",
48179+
"enum": [
48180+
"assistant.started"
48181+
]
48182+
},
48183+
"timestamp": {
48184+
"type": "number",
48185+
"description": "This is the timestamp of the message."
48186+
},
48187+
"call": {
48188+
"description": "This is the call that the message is associated with.",
48189+
"allOf": [
48190+
{
48191+
"$ref": "#/components/schemas/Call"
48192+
}
48193+
]
48194+
},
48195+
"customer": {
48196+
"description": "This is the customer that the message is associated with.",
48197+
"allOf": [
48198+
{
48199+
"$ref": "#/components/schemas/CreateCustomerDTO"
48200+
}
48201+
]
48202+
},
48203+
"assistant": {
48204+
"description": "This is the assistant that the message is associated with.",
48205+
"allOf": [
48206+
{
48207+
"$ref": "#/components/schemas/CreateAssistantDTO"
48208+
}
48209+
]
48210+
},
48211+
"newAssistant": {
48212+
"description": "This is the assistant that was updated.",
48213+
"allOf": [
48214+
{
48215+
"$ref": "#/components/schemas/CreateAssistantDTO"
48216+
}
48217+
]
48218+
}
48219+
},
48220+
"required": [
48221+
"type",
48222+
"newAssistant"
48223+
]
48224+
},
4813648225
"ClientMessageConversationUpdate": {
4813748226
"type": "object",
4813848227
"properties": {
@@ -49687,6 +49776,10 @@
4968749776
"$ref": "#/components/schemas/ClientMessageWorkflowNodeStarted",
4968849777
"title": "WorkflowNodeStarted"
4968949778
},
49779+
{
49780+
"$ref": "#/components/schemas/ClientMessageAssistantStarted",
49781+
"title": "AssistantStarted"
49782+
},
4969049783
{
4969149784
"$ref": "#/components/schemas/ClientMessageConversationUpdate",
4969249785
"title": "ConversationUpdate"

0 commit comments

Comments
 (0)