@adcp/client API Reference - v3.11.2
    Preparing search index...

    Interface SITerminateSessionRequest

    Request to terminate an SI session

    interface SITerminateSessionRequest {
        session_id: string;
        reason:
            | "handoff_transaction"
            | "handoff_complete"
            | "user_exit"
            | "session_timeout"
            | "host_terminated";
        termination_context?: {
            summary?: string;
            transaction_intent?: { action?: "purchase"
            | "subscribe"; product?: {} };
            cause?: string;
        };
        ext?: ExtensionObject;
    }
    Index

    Properties

    session_id: string

    Session identifier to terminate

    reason:
        | "handoff_transaction"
        | "handoff_complete"
        | "user_exit"
        | "session_timeout"
        | "host_terminated"

    Reason for termination

    termination_context?: {
        summary?: string;
        transaction_intent?: { action?: "purchase" | "subscribe"; product?: {} };
        cause?: string;
    }

    Context for the termination

    Type Declaration

    • Optionalsummary?: string

      Summary of the conversation

    • Optionaltransaction_intent?: { action?: "purchase" | "subscribe"; product?: {} }

      For handoff_transaction - what user wants to buy

      • Optionalaction?: "purchase" | "subscribe"
      • Optionalproduct?: {}

        Product/service details

    • Optionalcause?: string

      For host_terminated - why host ended session

    ext?: ExtensionObject