import{k as t}from"./index.db1e0641.js";const n=e=>t.get("/file/download",{params:e,responseType:"blob"}),d=e=>t.post("/file/upload",e),p=async(e,o)=>{const s=await n({fileId:e}),a=URL.createObjectURL(s);return o?s:a},c=e=>e!=null&&e.length?e.map(o=>({fileId:o.response.id,fileName:o.response.originalFileName})):[];export{p as d,c as f,d as u};
