@zohodesk/haas-api-creator
Version:
This is used to call server side api call as js api call in client side - hc -api javascript es6
19 lines • 381 B
JavaScript
import { constants } from '@zohodesk/js-api-creator';
export default {
"agentPortal.list": {
url: "hcApps",
method: constants.get
},
"agentPortal.get": {
url: "hcApps/:id",
method: constants.get
},
"agentPortal.create": {
url: "hcApp",
method: constants.post
},
"agentPortal.update": {
url: "hcApps/:id",
method: constants.patch
}
};