import{k as a}from"./router.ed823a0a.js";import"./jwt-decode.esm.fbcfeaec.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="c34d5288-6144-4800-9b05-ef01510c30b0",r._sentryDebugIdIdentifier="sentry-dbid-c34d5288-6144-4800-9b05-ef01510c30b0")}catch{}})();class o{async list(e){return a.get(`organizations/${e}/folders`)}async create(e){return a.post(`organizations/${e.organizationId}/folders`,{name:e.name,memberIds:e.memberIds})}async checkNameAvailability(e,n){return a.post(`organizations/${e}/folders/name-available`,{folderName:n})}async delete(e,n){return a.delete(`organizations/${e}/folders/${n}`)}async update(e,n){return a.patch(`organizations/${e}/folders/${n.id}/`,{name:n.name,memberIds:n.memberIds})}}export{o as F};
//# sourceMappingURL=folder.10e2b976.js.map
