import{n as e}from"./index-y6crcKNt.js";var t=(t=!0)=>e({url:`/api/site/config/global`,method:`get`,config:{showDefaultMsg:t}}),n=t=>e({url:`/api/site/config/storage`,method:`post`,data:t}),r=t=>e({url:`/api/site/config/userRootPath/${t}`,method:`get`,config:{showDefaultMsg:!1}}),i=t=>e({url:`/api/storage/list`,method:`get`,data:t}),a=t=>e({url:`/api/storage/files`,method:`post`,data:t,config:{showDefaultMsg:!1}}),o=t=>e({url:`/api/path-link/batch/generate`,method:`post`,data:t}),s=t=>e({url:`/api/short-link/batch/generate`,method:`post`,data:t}),c=t=>e({url:`/api/short-link/custom-key/validate`,method:`post`,data:t,config:{showDefaultMsg:!1}}),l=t=>e({url:`/api/storage/search/tasks`,method:`post`,data:t,config:{showDefaultMsg:!1}}),u=(t,n)=>e({url:`/api/storage/search/tasks/${t}`,method:`get`,data:{resultOffset:n},config:{showDefaultMsg:!1}}),d=(t,n)=>e({url:`/api/storage/search/tasks/${t}`,method:`delete`,data:{resultOffset:n},config:{showDefaultMsg:!1}});export{u as a,t as c,c as d,l as i,n as l,s as n,i as o,d as r,a as s,o as t,r as u};