import{st as e}from"./index-Cz-yne81.js";var t=`/api/delivery/proofs`;const n={getAll:n=>e.get(t+`/`,{params:n}).then(e=>e.data),getById:n=>e.get(`${t}/${n}/`).then(e=>e.data),create:n=>e.post(t+`/`,n,{headers:{"Content-Type":`multipart/form-data`}}).then(e=>e.data),update:(n,r)=>e.patch(`${t}/${n}/`,r,{headers:{"Content-Type":`multipart/form-data`}}).then(e=>e.data),deleteFile:(n,r)=>e.delete(`${t}/${n}/files/${r}/`).then(e=>e.data),getStatusCount:async()=>(await e.get(`${t}/status-count/`)).data,generatePODNumber:()=>e.get(`${t}/generate-pod-number/`).then(e=>e.data)};export{n as t};