import{t as e}from"./client-hbcFGf8j.js";import{t}from"./endpoints-Bdye5CiX.js";var n={async list(n){let{data:r}=await e.get(t.DISKS,{params:n});return r},async get(n){let{data:r}=await e.get(`${t.DISKS}/${n}`);return r},async create(n){let{data:r}=await e.post(t.DISKS,n);return r},async update(n,r){let{data:i}=await e.put(`${t.DISKS}/${n}`,r);return i},async delete(n){let{data:r}=await e.delete(`${t.DISKS}/${n}`);return r},async getDrivers(){let{data:n}=await e.get(t.DISK_DRIVERS);return n},async getDiskPurposes(){let{data:n}=await e.get(t.DISK_PURPOSES);return n},async updateDiskPurposes(n){let{data:r}=await e.put(t.DISK_PURPOSES,n);return r}};export{n as t};