File manager - Edit - /home/autoph/public_html/projects/ahg-hr/assets/AttendancePostingService.7d1ca5a4.js
Back
import{a as e}from"./index.28ae41da.js";const a="https://staging-ahg-hr-api.autohub.ph/api/v1/attendance-postings",p={fetchRecords(t={}){return e.get(`${a}`,{params:t})},fetchProcessedRecords(t={}){return e.get("https://staging-ahg-hr-api.autohub.ph/api/v1/processed-records",{params:t})},fetchRecord(t,r){return e.get(`${a}/${t}`,{params:r})},fetchTimelogRecords(t){return e.get("https://staging-ahg-hr-api.autohub.ph/api/v1/attendance-posting-timelog-records",{params:t})},async create(t){return e.post(`${a}`,t)},async update(t,r){return e.put(`${a}/${t}`,r)},async remove(t){return e.delete(`${a}/${t}`)},async updateTimelog(t){return e.put("https://staging-ahg-hr-api.autohub.ph/api/v1/edit-timelog",t)},async postRecord(t){return e.post(`${a}/post`,t)},async unpostRecord(t){return e.post(`${a}/unpost`,t)}};export{p as A};
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.09 |
proxy
|
phpinfo
|
Settings