import { IAccountView } from './account-view'; import { ICard } from './card'; import { IInvoice } from './invoice'; export interface ITransaction { amount: number; account: IAccountView; card: ICard | null; collectionReference: string; invoice: IInvoice | null; metadata: { [key: string]: string | null; } | null; notifications: Array<{ metadata: { [key: string]: string | null; } | null; type: 'sms' | 'webhook'; }> | null; reference: string; status: 'created' | 'processed' | 'completed' | 'failed'; timestamp: number; }