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

    Interface AssistantProposalSummary

    interface AssistantProposalSummary {
        claimTerms: string | null;
        customerMessage: string | null;
        lines: AssistantProposalLine[];
        orderNumber: string;
        photosAccepted?: boolean;
        returnShipping?:
            | {
                autoLabel: boolean;
                currency: string
                | null;
                feeIncVat: number | null;
                method: "label" | "pickup" | "none";
            }
            | null;
        returnType: "return"
        | "claim";
    }
    Index
    claimTerms: string | null

    Claim terms the shopper must accept before confirming (pass termsAccepted: true). Null when none are required.

    customerMessage: string | null

    The shop's own note to show with the card.

    orderNumber: string
    photosAccepted?: boolean

    Photos the shopper sent in this conversation follow the case when it is approved. The card has no upload of its own: count the photos on the shopper's messages. Missing on older servers.

    returnShipping?:
        | {
            autoLabel: boolean;
            currency: string
            | null;
            feeIncVat: number | null;
            method: "label" | "pickup" | "none";
        }
        | null

    How the goods go back and what it costs: label = a return label for a service point, pickup = the carrier collects (the shop books it), none = no shipping back. feeIncVat is deducted from the refund (null = free; claims are always free).

    returnType: "return" | "claim"