@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
16 lines (15 loc) • 470 B
JavaScript
import { constants } from '@zohodesk/js-api-creator';
export default {
'smsAuthInitConf.get':{
url:'api/web/helpCenter/:helpCenterId/smsAuthInitConf',
method:constants.get
},
'smsAuthentication.post':{
url:'api/web/helpCenter/:helpCenterId/smsAuthentication/init',
method:constants.post
},
'userAuthInitConf.get':{
url:'api/web/helpCenter/:helpCenterId/userAuthInitConfig',
method:constants.get
}
}