@mft/moneyhub-api-client
Version:
Node.JS client for the Moneyhub API
31 lines • 1.01 kB
TypeScript
import type { Amount } from "./balance";
declare type RegularTransactionType = "payment" | "income";
declare type Frequency = "weekly" | "fortnightly" | "monthly" | "quarterly" | "yearly";
export interface RegularTransaction {
seriesId: string;
accountId: string;
type: RegularTransactionType;
description?: string;
cleanedDescription: string;
counterpartyId?: string;
frequency: Frequency;
numTxMatchedInSeries: number;
gapLengthInFreqUnits?: number;
dateAnomaliesCount?: number;
numReturnedTxs?: number;
lastDate: string;
predictedDate: string;
predictedDateEarliest?: string;
predictedDateLatest?: string;
predictedTxLateOrNotDetected?: boolean;
predictedAmount: Amount;
predictedAmountLower?: Amount;
predictedAmountUpper?: Amount;
predictedCategoryId?: string;
transactions: string[];
}
export interface RegularTransactionSearchParams {
accountId?: string;
}
export {};
//# sourceMappingURL=regular-transaction.d.ts.map