add insights & explore page

This commit is contained in:
MaysWind
2025-12-18 00:49:14 +08:00
parent 861e4c036b
commit e9b4392163
43 changed files with 3579 additions and 43 deletions
+26
View File
@@ -597,6 +597,11 @@ export interface TransactionListInMonthByPageRequest {
readonly keyword: string;
}
export interface TransactionAllListRequest {
readonly startTime: number;
readonly endTime: number;
}
export interface TransactionReconciliationStatementRequest {
readonly accountId: string;
readonly startTime: number;
@@ -948,6 +953,27 @@ export interface TransactionAssetTrendsAnalysisDataAmount extends Record<string,
readonly totalAmount: number;
}
export interface TransactionInsightDataItem extends TransactionInfoResponse {
readonly id: string;
readonly time: number;
readonly utcOffset: number;
readonly type: number;
readonly primaryCategory: TransactionCategoryInfoResponse;
readonly primaryCategoryName: string;
readonly secondaryCategory: TransactionCategoryInfoResponse;
readonly secondaryCategoryName: string;
readonly sourceAccount: AccountInfoResponse;
readonly sourceAccountName: string;
readonly destinationAccount?: AccountInfoResponse;
readonly destinationAccountName?: string;
readonly sourceAmount: number;
readonly destinationAmount: number;
readonly hideAmount: boolean;
readonly tags: TransactionTagInfoResponse[];
readonly comment: string;
readonly geoLocation?: TransactionGeoLocationResponse;
}
export type TransactionAmountsResponse = PartialRecord<TransactionAmountsRequestType, TransactionAmountsResponseItem>;
export interface TransactionAmountsResponseItem {