support custom script to process delimiter-separated values (data) file / data

This commit is contained in:
MaysWind
2025-09-15 00:21:13 +08:00
parent 538d2b8205
commit c75fdfea1c
20 changed files with 1007 additions and 13 deletions
+18
View File
@@ -103,6 +103,24 @@ export class ImportTransaction implements ImportTransactionResponse {
}
}
export interface ImportTransactionRequest {
readonly transactions: ImportTransactionRequestItem[];
}
export interface ImportTransactionRequestItem {
readonly time: string;
readonly utcOffset: string;
readonly type: string;
readonly categoryName?: string;
readonly sourceAccountName?: string;
readonly destinationAccountName?: string;
readonly sourceAmount: string;
readonly destinationAmount?: string;
readonly geoLocation?: string;
readonly tagNames?: string;
readonly comment?: string;
}
export interface ImportTransactionResponse {
readonly type: number;
readonly categoryId: string;