@mft/moneyhub-api-client
Version:
Node.JS client for the Moneyhub API
18 lines • 596 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = ({ config, request }) => {
const { caasResourceServerUrl } = config;
return {
caasGetCounterparties: ({ limit, offset }, options) => {
return request(`${caasResourceServerUrl}/counterparties`, {
method: "GET",
cc: {
scope: "caas:transactions:read",
},
searchParams: { limit, offset },
options,
});
},
};
};
//# sourceMappingURL=counterparties.js.map