UNPKG

@railzai/railz-visualizations

Version:
12 lines (11 loc) 731 B
import { RVFilterBankReconciliation, RVFormattedScoreResponse, RVFormattedTransactionResponse, RVReportRequest, RVReportRequestParameter, RVReportSummaryApiResponse, RVTaxBenchmarking } from '../types'; /** * RequestService to make API Calls to Accounting Data as a Service™ **/ declare class RequestService { getUrl: () => string; getReportData({ path, filter, }: RVReportRequestParameter): Promise<RVReportSummaryApiResponse | RVFormattedTransactionResponse | RVFormattedScoreResponse | RVFilterBankReconciliation | RVTaxBenchmarking>; getRequest({ url, }: RVReportRequest): Promise<RVReportSummaryApiResponse | RVFormattedTransactionResponse>; } export declare const RequestServiceInstance: RequestService; export {};