2025-11-25 17:12:09 +08:00
|
|
|
export interface Transaction {
|
|
|
|
|
id: string;
|
|
|
|
|
amount: number;
|
|
|
|
|
merchant: string;
|
|
|
|
|
category: string;
|
|
|
|
|
date: string;
|
|
|
|
|
note?: string;
|
|
|
|
|
syncStatus: 'pending' | 'synced' | 'error';
|
2026-03-12 10:59:44 +08:00
|
|
|
aiCategory?: string;
|
|
|
|
|
aiTags?: string[];
|
|
|
|
|
aiConfidence?: number;
|
|
|
|
|
aiReason?: string;
|
|
|
|
|
aiStatus?: 'idle' | 'applied' | 'suggested' | 'failed';
|
|
|
|
|
aiModel?: string;
|
|
|
|
|
aiNormalizedMerchant?: string;
|
2025-11-25 17:12:09 +08:00
|
|
|
}
|