File manager - Edit - /home/autoph/public_html/projects/ahg-connect/assets/RoleService.a9c47278.js
Back
import{M as s}from"./index.c8fd93d6.js";const r="https://staging-ahg-hr-api.autohub.ph/api/v1/settings/roles",n={fetchRecords(t={}){return s.get(`${r}`,{params:t})},fetchRecord(t){return s.get(`${r}/${t}`)},async create(t){return s.post(`${r}`,t)},async update(t,e){return s.put(`${r}/${t}`,e)},async remove(t){return s.delete(`${r}/${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