nubank.ts
Version:
Nubank api module for node.js
17 lines (16 loc) • 447 B
TypeScript
import { AxiosInstance } from 'axios';
interface IUrlList {
[key: string]: string;
}
export default class Discovery {
client: AxiosInstance;
proxyListUrl: IUrlList;
proxyListAppUrl: IUrlList;
DISCOVERY_URL: string;
DISCOVERY_APP_URL: string;
constructor(client: AxiosInstance);
getUrl(name: string, target?: IUrlList): string;
getAppUrl(name: string): string;
updateProxyUrls(): Promise<void>;
}
export {};