/**
 * Generated by orval v8.19.0 🍺
 * Do not edit manually.
 * Webitel API
 * OpenAPI spec version: 24.04.0
 */
import type { WebitelChatChat } from './webitelChatChat';
import type { WebitelChatDialogContext } from './webitelChatDialogContext';
import type { WebitelChatMessage } from './webitelChatMessage';
import type { WebitelChatPeer } from './webitelChatPeer';
/**
 * Chat Dialog. Conversation info.
 */
export interface WebitelChatDialog {
    closed?: string;
    closedCause?: string;
    /** Context. Variables. Environment. */
    context?: WebitelChatDialogContext;
    /** Timestamp of the latest activity. */
    date?: string;
    /** [D]omain[C]omponent primary ID. */
    dc?: string;
    /**
     * [FROM]: Originator.
     * Leg[A]. Contact / User.
     */
    from?: WebitelChatPeer;
    /** The Conversation thread unique ID. */
    id?: string;
    /**
     * [TO]: Participants.
     * Leg[A+]. Schema / Agent.
     */
    members?: WebitelChatChat[];
    /** The latest (top) message. */
    message?: WebitelChatMessage;
    queue?: WebitelChatPeer;
    /** Timestamp when dialog started. */
    started?: string;
    /** Title of the dialog. */
    title?: string;
    /** [VIA] Text gateway [FROM] originated thru ... */
    via?: WebitelChatPeer;
}
