UNPKG

@flashcoffee/fcbraze

Version:
23 lines (22 loc) 723 B
import { IBrazeUserAttributes, IBrazeUserEvent, IBrazeUserPurchase } from './interfaces'; export interface IBrazeUserTrackPayload { attributes?: IBrazeUserAttributes[]; events?: IBrazeUserEvent[]; purchases?: IBrazeUserPurchase[]; } export interface IBrazeTriggerCampaignPayload { campaign_id: string; trigger_properties?: Record<string, any>; broadcast?: boolean; recipients?: Record<string, any>[]; } export interface IBrazeTriggerCanvasPayload { canvas_id: string; canvas_entry_properties?: Record<string, any>; broadcast?: boolean; recipients?: Record<string, any>[]; } export interface IBrazeExportUserPayload { external_ids: string[]; fields_to_export: string[]; }