@mft/moneyhub-api-client
Version:
Node.JS client for the Moneyhub API
26 lines • 808 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = ({ config, request }) => {
const { caasResourceServerUrl } = config;
return {
caasGetCategories: (options) => {
return request(`${caasResourceServerUrl}/categories`, {
method: "GET",
cc: {
scope: "caas:categories:read",
},
options,
});
},
caasGetCategoryGroups: (options) => {
return request(`${caasResourceServerUrl}/category-groups`, {
method: "GET",
cc: {
scope: "caas:categories:read",
},
options,
});
},
};
};
//# sourceMappingURL=categories.js.map