@flashcoffee/fcbraze
Version:
flashcoffee braze sdk
29 lines (28 loc) • 651 B
TypeScript
import { EBrazeGender } from './enums';
export interface IBrazeUserEvent {
external_id: string;
name: string;
time: string;
properties?: Record<string, any>;
}
export interface IBrazeUserPurchase {
id?: string;
external_id: string;
app_id?: string;
product_id: string;
currency: string;
price: number;
quantity: number;
time: string;
properties?: Record<string, any>;
}
export interface IBrazeUserAttributes {
external_id: string;
first_name?: string;
last_name?: string;
email?: string;
email_verified?: boolean;
dob?: Date;
gender?: EBrazeGender;
phone?: string;
}