@mft/moneyhub-api-client
Version:
Node.JS client for the Moneyhub API
20 lines • 535 B
TypeScript
interface SyncAccount {
providerId: string;
accountId: string;
}
declare type SyncStatus = "ok" | "error";
export interface ConnectionSync {
id: string;
connectionId: string;
action: "auto-update" | "client-update";
method: "ADD" | "UPDATE";
fetchStatus: "success" | "error" | "partial" | "mfa-required" | "credentials-error";
createdAt: string;
fetchedAt: string;
accounts: SyncAccount[];
}
export interface SyncResponse {
status: SyncStatus;
}
export {};
//# sourceMappingURL=sync.d.ts.map