UNPKG

@mft/moneyhub-api-client

Version:
17 lines 594 B
"use strict"; 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