Thankly SDK for JavaScript
    Preparing search index...

    Interface EngagementWidget

    One capability widget in an engagement decision's assembled result.

    interface EngagementWidget {
        capabilityId?: string;
        data?: Record<string, unknown>;
        status?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index
    capabilityId?: string

    The session id of this widget (the decision widget's equals the decision_id).

    data?: Record<string, unknown>

    The capability's output (e.g. the decision envelope, a product grid).

    status?: string

    Lifecycle state of this enrichment widget.