UNPKG

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.

7 lines (6 loc) 342 B
import { Analysis, Resume } from '../models'; import IInsightsOptions from './IInsightsOptions'; export default interface IInsightsClient { getAnalysis: (userId: number | string, insightsOptions?: IInsightsOptions) => Promise<Analysis[]>; getResume: (userId: number | string, insightsOptions?: IInsightsOptions) => Promise<Resume>; }