UNPKG

@paydock/client-sdk

Version:

Paydock client sdk

29 lines 819 B
import type { Container } from '../components/container'; export declare enum PageType { CART = "cart", PRODUCT = "product" } export interface IAfterpayOnSiteMessagingConfig { mpid: string; placement_id: string; page_type: PageType; amount?: string; currency: string; consumer_locale?: string; item_skus?: string; item_categories?: string; is_eligible?: boolean; } export interface IAfterpayOnSiteMessagingService { load(container: Container): void; } export declare const AFTERPAY_ON_SITE_MESSAGING_EVENTS: { ON_SUCCESS: string; ON_ERROR: string; }; export declare enum ErrorCodes { UNAVAILABLE = "unavailable", SCRIPT_ERROR = "script_error", VALIDATION_ERROR = "validation_error" } //# sourceMappingURL=afterpay-on-site-messaging.interfaces.d.ts.map