@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
12 lines (9 loc) • 382 B
TypeScript
import { p as paths } from './openapi-spec-hjdK2L9Q.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;
};
};
export type { TCart as T, TCartApi as a };