open-banking-pfm-sdk
Version:
The Open Banking PFM SDK uses Client classes and with **Promises** to get responses from the Open Banking PFM API in an easier way and structured as data models.
14 lines (13 loc) • 702 B
TypeScript
import { IAccountsClient, IBanksClient, IBudgetsClient, ICategoriesClient, IConsentsClient, ICreditsClient, IInsightsClient, ITransactionsClient, IUsersClient } from './interfaces';
export type ClientDictionary = {
accountsClient: IAccountsClient;
banksClient: IBanksClient;
budgetsClient: IBudgetsClient;
categoriesClient: ICategoriesClient;
insightsClient: IInsightsClient;
transactionsClient: ITransactionsClient;
usersClient: IUsersClient;
consentsClient: IConsentsClient;
creditsClient: ICreditsClient;
};
export type BankStatus = 'CONSENT_REQUESTED' | 'CONSENT_GRANTED' | 'CONSENT_DELETED' | 'AGGREGATION_STARTED' | 'AGGREGATION_COMPLETED' | 'PROCESS_FAILED';