UNPKG

@namiml/web-sdk

Version:

Nami Web SDK makes subscriptions & in-app purchases easy, with powerful built-in paywalls and A/B testing

28 lines (27 loc) 697 B
import { CampaignRuleConversionEventType, FormFactor } from "../campaign"; /** * @type NamiCampaign * Represents the campaign in Nami. */ export interface NamiCampaign { rule: string; name: string; segment: string; paywall: string; type: string | NamiCampaignRuleType; value?: string | null; form_factors: FormFactor[]; external_segment: string | null; conversion_event_type?: CampaignRuleConversionEventType | null; conversion_event_url?: string | null; } /** * @enum NamiCampaignRuleType * Types of Nami campaigns */ export declare enum NamiCampaignRuleType { DEFAULT = "default", LABEL = "label", UNKNOWN = "unknown", URL = "url" }