@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Interface AssistantAvailability

    Can the shopper get a person right now? From AssistantResource.availability.

    • live someone is available now. false = "leave a message, we reply by e-mail": the e-mail is then required (handover answers 400 EMAIL_REQUIRED without it)
    • routing offer an optional "Which store is it about?" choice from stores; pass the chosen id as businessUnitId to AssistantResource.requestHandover. Skipping it goes to central customer service.
    • offlineMessage the shop's own text for when nobody is available ("" = use your own)
    interface AssistantAvailability {
        handover: boolean;
        live: boolean;
        offlineMessage: string;
        routing: boolean;
        stores: AssistantAvailabilityStore[];
        ticket?: boolean;
    }
    Index
    handover: boolean
    live: boolean
    offlineMessage: string
    routing: boolean
    ticket?: boolean

    A handover becomes a case answered by e-mail (never live chat): the e-mail address is required.