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.
9 lines (8 loc) • 437 B
TypeScript
import { IInsightsClient, IInsightsOptions } from '../interfaces';
import { Analysis, Resume } from '../models';
import Client from './Client';
export default class InsightsClient extends Client implements IInsightsClient {
private _path;
getAnalysis(userId: number | string, insightsOptions?: IInsightsOptions): Promise<Analysis[]>;
getResume(userId: number | string, insightsOptions?: IInsightsOptions): Promise<Resume>;
}