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