import{x as t}from"./index-BaNRFt4f.js";const i={departments(){return t.get("/departments")},provinces(e){return t.get("/provinces",{params:e?{department_id:e}:{}})},districts(e){return t.get("/districts",{params:e?{province_id:e}:{}})},createDepartment(e){return t.post("/departments",e)},updateDepartment(e,r){return t.put(`/departments/${e}`,r)},deleteDepartment(e){return t.delete(`/departments/${e}`)},createProvince(e){return t.post("/provinces",e)},updateProvince(e,r){return t.put(`/provinces/${e}`,r)},deleteProvince(e){return t.delete(`/provinces/${e}`)},createDistrict(e){return t.post("/districts",e)},updateDistrict(e,r){return t.put(`/districts/${e}`,r)},deleteDistrict(e){return t.delete(`/districts/${e}`)}};export{i as u};
