import{E as t}from"./index-DPtT_PqD.js";const o={async all(){const{data:a}=await t.get("/notifications");return a.data},async create(a){const{data:i}=await t.post("/notifications",a);return i.data},async markRead(a){const{data:i}=await t.patch(`/notifications/${a.id}/read`);return i.data},async markAllRead(){await t.post("/notifications/read-all")}};export{o as n};
