@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
15 lines (12 loc) • 625 B
TypeScript
import { p as paths } from './openapi-spec-Bk7E2QQP.esm.js';
type TPromoCodeRequest = paths["/productDetailsPage"]["post"]["requestBody"]["content"]["application/json"]["promos"];
type TPromoCodeAttribute = {
value: string;
url?: never;
} | {
url: string;
value?: never;
};
type TPromoCodeResponse = paths["/productDetailsPage"]["post"]["responses"]["200"]["content"]["application/json"]["promos"];
type TValidatedPromoResponse = NonNullable<TPromoCodeResponse>["validatedPromoCodes"];
export type { TPromoCodeRequest as T, TPromoCodeAttribute as a, TPromoCodeResponse as b, TValidatedPromoResponse as c };