@getdial/sdk - v0.21.0
    Preparing search index...

    Type Alias CallStatusChangedData

    type CallStatusChangedData = {
        callId: string;
        direction: "inbound" | "outbound";
        from: string;
        phoneNumberId: string;
        previousState: CallState | null;
        status: { label: string; state: CallState };
        terminationType: TerminationType | null;
        to: string;
    }
    Index
    callId: string
    direction: "inbound" | "outbound"
    from: string
    phoneNumberId: string
    previousState: CallState | null

    The state the call left; null on the call's first event.

    status: { label: string; state: CallState }

    The status the call just entered — mirrors the call record's derived status.

    terminationType: TerminationType | null

    Set only when status.state is "Terminated".

    to: string