mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 15:07:33 +08:00
support custom script to process delimiter-separated values (data) file / data
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user