UNPKG

ynab-api-importer

Version:

Import bank transactions into YNAB

13 lines (12 loc) 421 B
import * as Rx from "rxjs"; import { API } from "ynab"; import { TBankMap } from "./banks"; export interface IAccount { /** Which bank settings to use */ bank: string; /** Account ID for your bank account */ id: string; /** YNAB account ID */ ynabID: string; } export declare const sync: (ynab: API) => (ynabBudgetID: string) => (banks: TBankMap) => (accounts: IAccount[]) => Rx.Observable<void>;