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

    Interface AssistantConfig

    interface AssistantConfig {
        access?: AssistantAccess;
        attachments?: { enabled: boolean };
        capabilities: AssistantCapabilities;
        enabled: boolean;
        greeting: string;
        name: string;
        suggestedQuestions?: string[];
    }
    Index

    Who may chat. Missing on older servers: treat as everyone.

    attachments?: { enabled: boolean }

    The shopper may attach photos (see AssistantResource.uploadAttachments).

    capabilities: AssistantCapabilities
    enabled: boolean

    Show the chat at all.

    greeting: string

    First message shown in an empty chat. Empty string = none.

    name: string

    The assistant's display name.

    suggestedQuestions?: string[]

    Questions to offer as one-tap chips in an empty chat, in the language passed to AssistantResource.getConfig (plus those set for all languages).