/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface Purchase { anonymousId: string; event: string; messageId: string; originalTimestamp: string; properties?: { checkoutVersion: string; merchant?: { id: string; country: string; name: string; }; metadata?: { code?: string; }; order?: { createdAt?: string; itemsTotalAmount: number; orderId: string; payment?: { data?: { customer?: { email?: string; }; fromCard?: { cardBrand?: string; }; merchant?: { id?: string; storeCode?: string; }; methodType?: string; processor?: string; }; }; shippingAmount?: number; storeCode?: string; subTotal: number; taxAmount?: number; totalAmount: number; transactionId: string; updatedAt?: string; }; user?: { email?: string; id: string; isGuest: boolean; }; }; }