UNPKG

@bondsoftware/bondmx-sdk

Version:
25 lines 764 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = (apiHandler) => { const basePath = `/group`; return { post(formData) { return apiHandler.post(basePath, formData); }, patch(uuid, formData) { return apiHandler.patch(`${basePath}/${uuid}`, formData); }, get(uuid) { // tslint:disable-next-line:no-console console.log(`api.group.get(${uuid})`); return apiHandler.get(`${basePath}/${uuid}`); }, delete(uuid) { return apiHandler.delete(`${basePath}/${uuid}`); }, list() { return apiHandler.get(basePath); }, }; }; //# sourceMappingURL=group.js.map