import{g3 as s}from"./index-IP_FWtso.js";import{a as n}from"./vendor-utils-BveVE6Uf.js";const d=()=>({addBookLetInsuranceType:async e=>(e.title=s(e.title),(await n.post("BookLetInsuranceType/Add",e)).data),getBookLetInsuranceTypesAsync:async(e=void 0)=>(await n.get("BookLetInsuranceType/GetAll",{params:{name:e}})).data,getBookLetInsuranceTypeByIdAsync:async e=>(await n.get(`BookLetInsuranceType/Get/${e}`)).data,editBookLetInsuranceTypeAsync:async e=>(await n.put(`BookLetInsuranceType/Edit/${e.id}`,e)).data,deleteBookLetInsuranceTypeAsync:async e=>{await n.delete(`BookLetInsuranceType/Delete/${e}`)}});export{d as b};
