@usethrottle/discounts
    Preparing search index...

    Type Alias DiscountAmounts

    DiscountAmounts: Partial<
        Record<ThrottleError, { minOrder?: number; value?: number }>,
    >

    Per-currency amounts in minor units, keyed by currency code: { EUR: { value: 900, minOrder: 4500 } }. A currency with no entry is not offered; amounts are never converted. Partial because CurrencyCode lists every ISO code as a literal: a plain Record would require all of them.