File manager - Edit - /home/autoph/public_html/projects/ahg-hr/assets/EmployeeService.a7f96e81.js
Back
import{a}from"./index.0409e1b2.js";const t="https://staging-ahg-hr-api.autohub.ph/api/v1/employees",r="https://staging-ahg-hr-api.autohub.ph/api/v1/employee-list",h="https://staging-ahg-hr-api.autohub.ph/api/v1/employee-image-upload",s="https://staging-ahg-hr-api.autohub.ph/api/v1/all-employees",o="https://staging-ahg-hr-api.autohub.ph/api/v1/all-employees-payroll",i="https://staging-ahg-hr-api.autohub.ph/api/v1/check-duplicated-email",n="https://staging-ahg-hr-api.autohub.ph/api/v1/check-duplicated-employee-id",g="https://staging-ahg-hr-api.autohub.ph/api/v1/employee-based-on-department",l="https://staging-ahg-hr-api.autohub.ph/api/v1/password-update",c={fetchRecords(e={}){return a.get(`${t}`,{params:e})},fetchRecord(e){return a.get(`${t}/${e}`)},fetchHigherHeadUnderRecords(e={}){return a.get(`${r}`,{params:e})},fetchHrManagerRecord(e){return a.get(`https://staging-ahg-hr-api.autohub.ph/api/v1/get-hr-manager/${e}`)},async create(e){return a.post(`${t}`,e)},async update(e,p){return a.put(`${t}/${e}`,p)},async uploadProfilePicture(e){return a.post(`${h}`,e)},fetchAllEmployeeRecords(e={}){return a.get(`${s}`,{params:e})},fetchAllEmployeePayrollAccessRecords(e={}){return a.get(`${o}`,{params:e})},checkDuplicatedEmail(e={}){return a.get(`${i}`,{params:e})},checkDuplicatedEmployeeId(e={}){return a.get(`${n}`,{params:e})},fetchEmployeeBaseOnDepartment(e={}){return a.get(`${g}`,{params:e})},processAttendance(e){return a.get("https://staging-ahg-hr-api.autohub.ph/api/v1/employee-process-attendance",{params:e})},fetchEmployeeCurrentSchedule(e={}){return a.get("https://staging-ahg-hr-api.autohub.ph/api/v1/employee-schedule-profile",{params:e})},passwordChecker(e={}){return a.get("https://staging-ahg-hr-api.autohub.ph/api/v1/password-checker",{params:e})},async updatePassword(e={}){return a.put(`${l}`,{params:e})}};export{c as E};
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings