@avaya/infinity-agent-sdk - v1.0.0
    Preparing search index...

    Interface SdkEventBase<T>

    Base interface for all events dispatched by the Agent SDK.

    interface SdkEventBase<T = unknown> {
        occurredAt: Date;
        type: string;
        payload: T;
    }

    Type Parameters

    • T = unknown

      The type of the event payload

    Hierarchy (View Summary)

    Index

    Properties

    occurredAt: Date

    The timestamp when the event occurred.

    type: string

    The event type identifier.

    payload: T

    The event payload containing event-specific data.