UNPKG

@beamimpact/web-sdk

Version:

The Beam SDK enables brands to connect with their customers over shared values, not transactional discounts, to build stronger loyalty. Our integration achieves this by allowing customers to (a) choose a nonprofit where the brand will donate part of their

19 lines (16 loc) 568 B
import { p as paths } from './openapi-spec-Bk7E2QQP.esm.js'; type TCartApi = paths["/chain/findEligibleNonprofitsForCart"]["post"]["requestBody"]["content"]["application/json"]["cart"]; type TCart = TCartApi & { content: { items: Record<string, any>[]; discounts?: Record<string, any>[] | undefined | null; }; }; type TBeamCartLocalStorage = { cartId: string; beamCartId?: string; subtotal: number; itemCount: number; currencyCode: string; } & TCart; export type { TCart as T, TCartApi as a, TBeamCartLocalStorage as b };