import{g2 as s}from"./index-DdWwwZXu.js";import{a as e}from"./vendor-utils-BveVE6Uf.js";const p=()=>({updateSalarySetting:async a=>(await e.post("AssistantSalary/UpdateSalarySetting",a)).data,getSalarySetting:async a=>(await e.get("AssistantSalary/GetSalarySetting",{params:a})).data,getSalary:async a=>(await e.get("AssistantSalary/GetSalary",{params:a})).data,getSalarySummary:async a=>(await e.get("AssistantSalary/SalarySummary",{params:a,paramsSerializer:{indexes:null}})).data,getSalaryReceipt:async a=>(await e.get(`AssistantSalary/Receipt/${a.assistantId}/year/${a.year}/month/${a.month}`)).data,exportToExcelAssistantSalarySummaryAsync:async a=>{await s("AssistantSalary/SalarySummaryExportToExcel",a)}}),g=()=>({updateSecretarySalarySettingAsync:async t=>(await e.post("SecretarySalary/Setting",t)).data,getSecretarySalarySettingAsync:async t=>(await e.get("SecretarySalary/Setting",{params:t})).data,getSecretarySalaryReceiptAsync:async t=>(await e.get(`SecretarySalary/Receipt/secretary/${t.secretaryId}/year/${t.year}/month/${t.month}`)).data,getSecretarySalarySummaryAsync:async t=>(await e.get("SecretarySalary/SalarySummary",{params:t,paramsSerializer:{indexes:null}})).data,exportToExcelSecretarySalarySummaryAsync:async t=>{await s("SecretarySalary/SalarySummaryExportToExcel",t)}});export{p as A,g as S};
