@mft/moneyhub-api-client
Version:
Node.JS client for the Moneyhub API
17 lines • 594 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = ({ config, request }) => {
const { identityServiceUrl } = config;
return {
getConsentHistory: async (params, options) => request(`${identityServiceUrl}/consent-history`, {
method: "GET",
searchParams: params,
cc: {
scope: "consent_history:read",
sub: params === null || params === void 0 ? void 0 : params.userId,
},
options,
}),
};
};
//# sourceMappingURL=consent-history.js.map