import{C as r}from"./router-Dlrr4bcq.js";import"./jwt-decode.esm-qFrVYqMT.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]="b2b1af8c-4ba4-42fa-beaf-48b258637a16",n._sentryDebugIdIdentifier="sentry-dbid-b2b1af8c-4ba4-42fa-beaf-48b258637a16")}catch{}})();class o{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{o as F};
//# sourceMappingURL=folder-D1uSSOKA.js.map
