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

    Interface InteractionClassificationUpdatedEvent

    Emitted when the classification type or result for an interaction is updated.

    Fired after a successful Interaction.setClassificationType or Interaction.setClassificationResult call. The payload contains the updated classification fields; absent fields were not changed in this update.

    interaction.subscribe(InteractionEventType.INTERACTION_CLASSIFICATION_UPDATED, (event) => {
    const { classificationType, classificationResult } = event.payload;
    console.log("Classification type:", classificationType?.name,
    "Result:", classificationResult?.name);
    });
    interface InteractionClassificationUpdatedEvent {
        type: INTERACTION_CLASSIFICATION_UPDATED;
        payload: InteractionClassificationUpdatedPayload;
        occurredAt: Date;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The event type identifier.

    The event payload containing event-specific data.

    occurredAt: Date

    The timestamp when the event occurred.