import{j as r}from"./router.1aba945d.js";import"./jwt-decode.esm.ea959866.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[e]="61b3039d-0d82-445d-8c3f-16d97c15b2b2",d._sentryDebugIdIdentifier="sentry-dbid-61b3039d-0d82-445d-8c3f-16d97c15b2b2")}catch{}})();class a{async list(e){return r.get(`organizations/${e}/folders`)}async create(e){return r.post(`organizations/${e.organizationId}/folders`,{name:e.name,memberIds:e.memberIds})}async delete(e,n){return r.delete(`organizations/${e}/folders/${n}`)}async update(e,n){return r.patch(`organizations/${e}/folders/${n.id}/`,{name:n.name,memberIds:n.memberIds})}}export{a as F};
//# sourceMappingURL=folder.4eade779.js.map
