@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
16 lines (14 loc) • 439 B
TypeScript
/**
* Full URL string (https://abc.com/path), without trailing slash
*/
type TUrl = string;
type LANGUAGES = "en" | "fr" | "de" | "es" | "it" | "pl" | "ja";
/**
* Basic info needed to call the Beam API.
* Endpoints may also require parameters such as chainId, storeId, and order/cart details.
*/
type BeamBaseAPIConfig = {
apiKey: string;
baseUrl?: TUrl;
};
export type { BeamBaseAPIConfig as B, LANGUAGES as L, TUrl as T };