@mft/moneyhub-api-client
Version:
Node.JS client for the Moneyhub API
97 lines • 2.56 kB
TypeScript
import { Amount } from "./amount";
export declare enum StatementType {
AccountClosure = "AccountClosure",
AccountOpening = "AccountOpening",
Annual = "Annual",
Interim = "Interim",
RegularPeriodic = "RegularPeriodic"
}
export declare type StatementBenefit = {
type: string;
amount: Amount;
};
export declare enum StatementFeeFrequency {
ChargingPeriod = "ChargingPeriod",
PerTransactionAmount = "PerTransactionAmount",
PerTransactionPercentage = "PerTransactionPercentage",
Quarterly = "Quarterly",
StatementMonthly = "StatementMonthly",
Weekly = "Weekly"
}
export declare type StatementFee = {
description: string;
creditDebitIndicator: string;
type: string;
rate?: string;
rateType?: string;
frequency?: StatementFeeFrequency;
amount: Amount;
};
export declare enum StatementInterestRateType {
BOEBaseRate = "BOEBaseRate",
FixedRate = "FixedRate",
Gross = "Gross",
LoanProviderBaseRate = "LoanProviderBaseRate",
Net = "Net"
}
export declare enum StatementInterestFrequency {
Daily = "Daily",
HalfYearly = "HalfYearly",
Monthly = "Monthly",
PerStatementDate = "PerStatementDate",
Quarterly = "Quarterly",
Weekly = "Weekly",
Yearly = "Yearly"
}
export declare type StatementInterest = {
description: string;
creditDebitIndicator: string;
type: string;
rate?: string;
rateType?: StatementInterestRateType;
frequency?: StatementInterestFrequency;
amount: Amount;
};
export declare type StatementAmount = {
creditDebitIndicator: string;
type: string;
amount: Amount;
amountSubType?: string;
localAmount?: Amount;
localAmountSubType?: string;
};
export declare type StatementDate = {
date: string;
type: string;
};
export declare type StatementRate = {
rate: string;
type: string;
};
export declare type StatementValue = {
value: string;
type: string;
};
export declare type Statement = {
uid: string;
accountId?: string;
userId?: string;
providerStatementId?: string;
providerAccountId: string;
reference: string;
type: StatementType;
startDate: string;
endDate: string;
creationDate: string;
description: string;
benefits: StatementBenefit[];
fees: StatementFee[];
interest: StatementInterest[];
amounts: StatementAmount[];
dates: StatementDate[];
rates: StatementRate[];
values: StatementValue[];
totalValue: Amount;
currency: string;
};
//# sourceMappingURL=statement.d.ts.map