import{x as t}from"./index-BaNRFt4f.js";const d={list(e,a){return t.get("/candidates",{params:{type:e,...a}})},create(e){return t.post("/candidates",e,{headers:{"Content-Type":"multipart/form-data"}})},update(e,a){return a.append("_method","PUT"),t.post(`/candidates/${e}`,a,{headers:{"Content-Type":"multipart/form-data"}})},delete(e){return t.delete(`/candidates/${e}`)},exportExcel(e){return t.get("/candidates/export",{params:{type:e},responseType:"blob"})}};export{d as c};
