// This file was auto-generated by Fern from our API Definition.

import type * as Vapi from "../index.js";

export interface ClientMessageModelOutput {
    /** This is the phone number that the message is associated with. */
    phoneNumber?: Vapi.ClientMessageModelOutputPhoneNumber | undefined;
    /** This is the type of the message. "model-output" is sent as the model outputs tokens. */
    type: Vapi.ClientMessageModelOutputType;
    /**
     * This is the unique identifier for the current LLM turn. All tokens from the same
     * LLM response share the same turnId. Use this to group tokens and discard on interruption.
     */
    turnId?: string | undefined;
    /** This is the timestamp of the message. */
    timestamp?: number | undefined;
    /** This is the call that the message is associated with. */
    call?: Vapi.Call | undefined;
    /** This is the customer that the message is associated with. */
    customer?: Vapi.CreateCustomerDto | undefined;
    /** This is the assistant that the message is associated with. */
    assistant?: Vapi.CreateAssistantDto | undefined;
    /** This is the output of the model. It can be a token or tool call. */
    output: Record<string, unknown>;
}
