@lilianaa/nordigen-node
Version:
Nordigen official API client for Node.js
15 lines (13 loc) • 736 B
TypeScript
import { AccountApiParams, AccountGetTransactionsParams, RetrieveAccountTransactionsResponse } from '../types/account.js';
import { RetrieveAccountBalancesData, RetrieveAccountDetailsData, RetrieveAccountMetadataData } from '../generated.js';
export declare class AccountApi {
private readonly endpoint;
private readonly client;
private readonly accountId;
constructor({ client, accountId }: AccountApiParams);
private get;
getMetadata(): Promise<RetrieveAccountMetadataData>;
getDetails(): Promise<RetrieveAccountDetailsData>;
getBalances(): Promise<RetrieveAccountBalancesData>;
getTransactions({ dateFrom, dateTo }?: AccountGetTransactionsParams): Promise<RetrieveAccountTransactionsResponse>;
}