@mft/moneyhub-api-client
Version:
Node.JS client for the Moneyhub API
18 lines • 608 B
TypeScript
import { ApiResponse, ExtraOptions } from "../../request";
import { SpendingAnalysis } from "../../schema/spending-analysis";
declare type Date = {
name: string;
from: string;
to: string;
};
export interface SpendingAnalysisRequests {
getSpendingAnalysis: ({ userId, dates, accountIds, categoryIds, projectIds, }: {
userId?: string;
dates: Date[];
accountIds?: string[];
categoryIds?: string[];
projectIds?: string[];
}, options?: ExtraOptions) => Promise<ApiResponse<SpendingAnalysis>>;
}
export {};
//# sourceMappingURL=spending-analysis.d.ts.map