import{b5 as a}from"./index-2e57ee69.js";class o{static async filters(){return await a.get("/job-opportunities/offers/filters")}static async list(t){return await a.post("/job-opportunities/offers/list",t)}static async create(t){return await a.post("/job-opportunities/offers/create",t)}static async find(t,e){return await a.get(`/job-opportunities/offers/find?${t}=${e}`)}static async update(t,e){return await a.put(`/job-opportunities/offers/update/${t}`,e)}static async delete(t){return await a.delete(`/job-opportunities/offers/delete/${t}`)}static async changeState(t,e){return await a.put("/job-opportunities/offers/change-state",{new_status:e,id:t})}static async checkApplicant(t){return await a.get(`/job-opportunities/applicants/check-offer/${t}`)}static async uploadCV(t){return await a.postImage("/job-opportunities/applicants/upload-cv",{file:t},{headers:{"Content-Type":"multipart/form-data"}})}static async applyToOffer(t){return await a.post("/job-opportunities/applicants/apply-offer",t)}static async publicfilters(){return await a.get("/job-opportunities/public/offers/filters")}static async publicList(t){return await a.post("/job-opportunities/public/offers/list",t)}static async publicDetail(t){return await a.get(`/job-opportunities/public/offers/slug/${t}`)}}export{o as J};
