import{h as r}from"./router.e5052323.js";import"./jwt-decode.esm.bcf2db26.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="4a3a273f-d24c-49be-9162-e463e7db0370",n._sentryDebugIdIdentifier="sentry-dbid-4a3a273f-d24c-49be-9162-e463e7db0370")}catch{}})();class d{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 checkNameAvailability(e,a){return r.post(`organizations/${e}/folders/name-available`,{folderName:a})}async delete(e,a){return r.delete(`organizations/${e}/folders/${a}`)}async update(e,a){return r.patch(`organizations/${e}/folders/${a.id}/`,{name:a.name,memberIds:a.memberIds})}}export{d as F};
//# sourceMappingURL=folder.777c3209.js.map
