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

    Interface InteractionCompletedEvent

    Emitted when an interaction is completed and fully closed.

    The interaction will not emit further events. The payload's resolutionStatus field indicates whether the customer's issue was resolved.

    interaction.subscribe(InteractionEventType.INTERACTION_COMPLETED, (event) => {
    console.log("Interaction completed:", event.payload.interactionId,
    "Resolution:", event.payload.resolutionStatus);
    });
    interface InteractionCompletedEvent {
        type: INTERACTION_COMPLETED;
        payload: InteractionCompletedPayload;
        occurredAt: Date;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The event type identifier.

    The payload containing completion details.

    occurredAt: Date

    The timestamp when the event occurred.