feat:新增ai分析,新增储值账户,优化通知规则
This commit is contained in:
11
src/types/transaction.d.ts
vendored
11
src/types/transaction.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
export interface Transaction {
|
||||
export interface Transaction {
|
||||
id: string;
|
||||
amount: number;
|
||||
merchant: string;
|
||||
@@ -6,11 +6,18 @@ export interface Transaction {
|
||||
date: string;
|
||||
note?: string;
|
||||
syncStatus: 'pending' | 'synced' | 'error';
|
||||
entryType?: 'expense' | 'income' | 'transfer';
|
||||
fundSourceType?: 'cash' | 'bank' | 'credit' | 'stored_value' | 'merchant' | 'income_source' | 'external' | 'unknown';
|
||||
fundSourceName?: string;
|
||||
fundTargetType?: 'cash' | 'bank' | 'credit' | 'stored_value' | 'merchant' | 'income_source' | 'external' | 'unknown';
|
||||
fundTargetName?: string;
|
||||
impactExpense?: boolean;
|
||||
impactIncome?: boolean;
|
||||
aiCategory?: string;
|
||||
aiTags?: string[];
|
||||
aiConfidence?: number;
|
||||
aiReason?: string;
|
||||
aiStatus?: 'idle' | 'applied' | 'suggested' | 'failed';
|
||||
aiStatus?: 'idle' | 'running' | 'applied' | 'suggested' | 'failed';
|
||||
aiModel?: string;
|
||||
aiNormalizedMerchant?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user