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

29 lines (26 loc) 1.09 kB
declare const WIDGET_NAMES: { readonly select_nonprofit: "select-nonprofit"; readonly redeem_transaction: "redeem-transaction"; readonly impact_overview: "impact-overview"; readonly community_impact: "community-impact"; readonly cumulative_impact: "cumulative-impact"; readonly product_details_page: "product-details-page"; readonly subscription_management: "subscription-management"; readonly subscription_impact: "subscription-impact"; readonly select_subscription_nonprofit: "select-subscription-nonprofit"; readonly social_share: "social-share"; }; declare const HELPER_NAMES: { cart_update: string; }; /** Number ID */ type TNumericId = number; /** String ID */ type TId = string; /** Beam API key format (prefix.uuid) */ type TApiKey = string; /** Full URL without trailing slash */ type TUrl = string; type WidgetName = (typeof WIDGET_NAMES)[keyof typeof WIDGET_NAMES]; type HelperName = (typeof HELPER_NAMES)[keyof typeof HELPER_NAMES]; export type { HelperName as H, TNumericId as T, WidgetName as W, TId as a, TApiKey as b, TUrl as c };