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

    Interface InteractionCustomFieldsUpdatedEvent

    Emitted when the interaction's custom fields are updated - either by the local agent via Interaction.mergeCustomFields or by a server-side change (e.g. a CRM workflow injecting a case ID).

    interaction.subscribe(InteractionEventType.INTERACTION_CUSTOM_FIELDS_UPDATED, (event) => {
    console.log("Custom fields:", event.payload.customFields);
    });
    interface InteractionCustomFieldsUpdatedEvent {
        type: INTERACTION_CUSTOM_FIELDS_UPDATED;
        payload: InteractionCustomFieldsUpdatedPayload;
        occurredAt: Date;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The event type identifier.

    The payload containing the full merged custom fields snapshot.

    occurredAt: Date

    The timestamp when the event occurred.