|
24670 | 24670 | "transfer-update", |
24671 | 24671 | "user-interrupted", |
24672 | 24672 | "voice-input", |
24673 | | - "workflow.node.started" |
| 24673 | + "workflow.node.started", |
| 24674 | + "assistant.started" |
24674 | 24675 | ], |
24675 | 24676 | "example": [ |
24676 | 24677 | "conversation-update", |
|
24684 | 24685 | "tool-calls", |
24685 | 24686 | "user-interrupted", |
24686 | 24687 | "voice-input", |
24687 | | - "workflow.node.started" |
| 24688 | + "workflow.node.started", |
| 24689 | + "assistant.started" |
24688 | 24690 | ], |
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.", |
24690 | 24692 | "items": { |
24691 | 24693 | "type": "string", |
24692 | 24694 | "enum": [ |
|
24706 | 24708 | "transfer-update", |
24707 | 24709 | "user-interrupted", |
24708 | 24710 | "voice-input", |
24709 | | - "workflow.node.started" |
| 24711 | + "workflow.node.started", |
| 24712 | + "assistant.started" |
24710 | 24713 | ] |
24711 | 24714 | } |
24712 | 24715 | }, |
|
25477 | 25480 | "transfer-update", |
25478 | 25481 | "user-interrupted", |
25479 | 25482 | "voice-input", |
25480 | | - "workflow.node.started" |
| 25483 | + "workflow.node.started", |
| 25484 | + "assistant.started" |
25481 | 25485 | ], |
25482 | 25486 | "example": [ |
25483 | 25487 | "conversation-update", |
|
25491 | 25495 | "tool-calls", |
25492 | 25496 | "user-interrupted", |
25493 | 25497 | "voice-input", |
25494 | | - "workflow.node.started" |
| 25498 | + "workflow.node.started", |
| 25499 | + "assistant.started" |
25495 | 25500 | ], |
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.", |
25497 | 25502 | "items": { |
25498 | 25503 | "type": "string", |
25499 | 25504 | "enum": [ |
|
25513 | 25518 | "transfer-update", |
25514 | 25519 | "user-interrupted", |
25515 | 25520 | "voice-input", |
25516 | | - "workflow.node.started" |
| 25521 | + "workflow.node.started", |
| 25522 | + "assistant.started" |
25517 | 25523 | ] |
25518 | 25524 | } |
25519 | 25525 | }, |
|
26374 | 26380 | "transfer-update", |
26375 | 26381 | "user-interrupted", |
26376 | 26382 | "voice-input", |
26377 | | - "workflow.node.started" |
| 26383 | + "workflow.node.started", |
| 26384 | + "assistant.started" |
26378 | 26385 | ], |
26379 | 26386 | "example": [ |
26380 | 26387 | "conversation-update", |
|
26388 | 26395 | "tool-calls", |
26389 | 26396 | "user-interrupted", |
26390 | 26397 | "voice-input", |
26391 | | - "workflow.node.started" |
| 26398 | + "workflow.node.started", |
| 26399 | + "assistant.started" |
26392 | 26400 | ], |
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.", |
26394 | 26402 | "items": { |
26395 | 26403 | "type": "string", |
26396 | 26404 | "enum": [ |
|
26410 | 26418 | "transfer-update", |
26411 | 26419 | "user-interrupted", |
26412 | 26420 | "voice-input", |
26413 | | - "workflow.node.started" |
| 26421 | + "workflow.node.started", |
| 26422 | + "assistant.started" |
26414 | 26423 | ] |
26415 | 26424 | } |
26416 | 26425 | }, |
|
27181 | 27190 | "transfer-update", |
27182 | 27191 | "user-interrupted", |
27183 | 27192 | "voice-input", |
27184 | | - "workflow.node.started" |
| 27193 | + "workflow.node.started", |
| 27194 | + "assistant.started" |
27185 | 27195 | ], |
27186 | 27196 | "example": [ |
27187 | 27197 | "conversation-update", |
|
27195 | 27205 | "tool-calls", |
27196 | 27206 | "user-interrupted", |
27197 | 27207 | "voice-input", |
27198 | | - "workflow.node.started" |
| 27208 | + "workflow.node.started", |
| 27209 | + "assistant.started" |
27199 | 27210 | ], |
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.", |
27201 | 27212 | "items": { |
27202 | 27213 | "type": "string", |
27203 | 27214 | "enum": [ |
|
27217 | 27228 | "transfer-update", |
27218 | 27229 | "user-interrupted", |
27219 | 27230 | "voice-input", |
27220 | | - "workflow.node.started" |
| 27231 | + "workflow.node.started", |
| 27232 | + "assistant.started" |
27221 | 27233 | ] |
27222 | 27234 | } |
27223 | 27235 | }, |
|
48133 | 48145 | "node" |
48134 | 48146 | ] |
48135 | 48147 | }, |
| 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 | + }, |
48136 | 48225 | "ClientMessageConversationUpdate": { |
48137 | 48226 | "type": "object", |
48138 | 48227 | "properties": { |
|
49687 | 49776 | "$ref": "#/components/schemas/ClientMessageWorkflowNodeStarted", |
49688 | 49777 | "title": "WorkflowNodeStarted" |
49689 | 49778 | }, |
| 49779 | + { |
| 49780 | + "$ref": "#/components/schemas/ClientMessageAssistantStarted", |
| 49781 | + "title": "AssistantStarted" |
| 49782 | + }, |
49690 | 49783 | { |
49691 | 49784 | "$ref": "#/components/schemas/ClientMessageConversationUpdate", |
49692 | 49785 | "title": "ConversationUpdate" |
|
0 commit comments