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

    Interface InteractionCustomerInfoUpdatedEvent

    Emitted when the customer's contact information for an interaction is updated.

    Fired after a successful Customer.setName, Customer.setPhone, Customer.setEmail, or Customer.setLanguageCode call. The payload's customer field contains the complete updated customer snapshot — every field carries its current value regardless of which one changed. languageCode is included only when the server has a value set for it (omitted otherwise).

    interaction.subscribe(InteractionEventType.INTERACTION_CUSTOMER_INFO_UPDATED, (event) => {
    const { customer } = event.payload;
    console.log("Customer updated - name:", customer.name, "phone:", customer.phone, "lang:", customer.languageCode);
    });
    interface InteractionCustomerInfoUpdatedEvent {
        type: INTERACTION_CUSTOMER_INFO_UPDATED;
        payload: InteractionCustomerInfoUpdatedPayload;
        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.