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

    Plain-data snapshot of the customer involved in an interaction. Used as both the constructor input for the Customer class and the payload shape for InteractionCustomerInfoUpdatedPayload.

    interface CustomerDetails {
        name: string;
        phone: string;
        email: string;
        languageCode?: string;
    }
    Index

    Properties

    name: string

    The customer's display name.

    phone: string

    The customer's phone number.

    email: string

    The customer's email address.

    languageCode?: string

    The customer's preferred language code (e.g. "en-US", "fr-CA").

    Sourced from the top-level customerLanguageCode field on the interaction. The SDK does not validate the value — the server is the authority for accepted formats (typically BCP-47). undefined when the server has no language code stored.