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

25 lines (22 loc) 950 B
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"; }; /** 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]; export type { TNumericId as T, WidgetName as W, TId as a, TApiKey as b, TUrl as c };