import{g2 as n}from"./index-DdWwwZXu.js";import{a as r}from"./vendor-utils-BveVE6Uf.js";const m=()=>({addParaClinicReport:async a=>(await r.post("ParaClinicReport/AddParaClinicReport",a)).data,editParaClinicReport:async a=>(await r.put(`ParaClinicReport/UpdateParaClinicReport/${a.id}`,a)).data,deleteParaClinicReport:async a=>(await r.delete(`ParaClinicReport/DeleteParaClinicReport/${a}`)).data,getParaClinicReport:async a=>(await r.get("ParaClinicReport/GetParaClinicReports",{params:a})).data,getPatientsWaitingForReport:async a=>(await r.get("ParaClinicReport/GetPatientsWaitingForReport",{params:a,paramsSerializer:{indexes:null}})).data,sendParaClinicReportSms:async a=>(await r.post(`ParaClinicReport/SendParaClinicReportSms/${a}`)).data,removeFromWaitingForReport:async a=>(await r.post("ParaClinicReport/RemoveFromWaitingForReport",a)).data,downloadParaClinicReportAsync:async(a,e,t)=>{await n(`ParaClinicReport/Download/${a}`,{includeHeader:e,signerDoctorId:t},`report-${a}`)}});export{m as P};
