UNPKG

@mft/moneyhub-api-client

Version:
23 lines 892 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = ({ config, request }) => { const { resourceServerUrl } = config; return { getStandardFinancialStatements: async ({ userId, params = {} }, options) => request(`${resourceServerUrl}/standard-financial-statements`, { searchParams: params, cc: { scope: "standard_financial_statement:read", sub: userId, }, options, }), getStandardFinancialStatement: async ({ userId, reportId }, options) => request(`${resourceServerUrl}/standard-financial-statements/${reportId}`, { cc: { scope: "standard_financial_statement:read", sub: userId, }, options, }), }; }; //# sourceMappingURL=standard-financial-statements.js.map