import{g2 as r}from"./index-DdWwwZXu.js";import{a as e}from"./vendor-utils-BveVE6Uf.js";const d=()=>({updateSalarySetting:async t=>(await e.post("DoctorSalary/UpdateSalarySetting",t)).data,getSalarySetting:async t=>(await e.get("DoctorSalary/GetSalarySetting",{params:t})).data,getSalary:async t=>(await e.get("DoctorSalary/GetSalary",{params:t})).data,updateDoctorShareOfAssistantServicesSettingAsync:async t=>(await e.post("DoctorSalary/UpdateDoctorShareOfAssistantServicesSetting",t)).data,getDoctorShareOfAssistantServicesSettingAsync:async t=>(await e.get("DoctorSalary/GetDoctorShareOfAssistantServicesSetting",{params:t})).data,getDoctorShareOfAssistantServicesReportAsync:async t=>(await e.get("DoctorSalary/GetDoctorShareOfAssistantServices",{params:t})).data,getDoctorSalaryReceiptAsync:async t=>(await e.get(`DoctorSalary/Receipt/${t.doctorId}/year/${t.year}/month/${t.month}`)).data,copySalarySettingAsync:async t=>{const a=await e.post("DoctorSalary/CopySalarySetting",t);return a==null?void 0:a.data},getDoctorSalarySummaryAsync:async t=>{const a=await e.get("DoctorSalary/SalarySummary",{params:t,paramsSerializer:{indexes:null}});return a==null?void 0:a.data},changeReceptionShareAmountAsync:async t=>{const a=await e.post("DoctorSalary/ChangeReceptionShareAmount",t);return a==null?void 0:a.data},exportToExcelDoctorSalarySummaryAsync:async t=>{await r("DoctorSalary/SalarySummaryExportToExcel",t)}});export{d as D};
