File manager - Edit - /home/autoph/public_html/projects/ahg-hr/assets/RoleService.4313b93a.js
Back
import{a as s}from"./index.e8902503.js";const a="https://staging-ahg-hr-api.autohub.ph/api/v1/settings/roles",n={fetchRecords(t={}){return s.get(`${a}`,{params:t})},fetchRecord(t){return s.get(`${a}/${t}`)},async create(t){return s.post(`${a}`,t)},async update(t,e){return s.put(`${a}/${t}`,e)},async remove(t){return s.delete(`${a}/${t}`)},async savePermission(t){const e="https://staging-ahg-hr-api.autohub.ph/api/v1/settings/save-role-permissions";return s.put(`${e}`,t)},async fetchRolePermission(t){const e="https://staging-ahg-hr-api.autohub.ph/api/v1/settings/role-permissions";return s.get(`${e}/${t}`)},async fetchCompanyAccess(t){const e="https://staging-ahg-hr-api.autohub.ph/api/v1/settings/all-role-company-access";return s.get(`${e}`,{params:{role_ids:t}})}};export{n as R};
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings