@namiml/web-sdk
Version:
Nami Web SDK makes subscriptions & in-app purchases easy, with powerful built-in paywalls and A/B testing
19 lines (18 loc) • 466 B
TypeScript
/**
* This data class represents a customer's subscription journey state
*/
export type CustomerJourneyState = {
former_subscriber: boolean;
in_grace_period: boolean;
in_trial_period: boolean;
in_intro_offer_period: boolean;
is_cancelled: boolean;
in_pause: boolean;
in_account_hold: boolean;
};
/**
* This data class represents a device's profile
*/
export type DeviceProfile = {
customer_journey_state: CustomerJourneyState;
};