import{h as n}from"./router.e5052323.js";import"./jwt-decode.esm.bcf2db26.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="4799d627-fe24-4103-9a38-4e86322f6423",t._sentryDebugIdIdentifier="sentry-dbid-4799d627-fe24-4103-9a38-4e86322f6423")}catch{}})();class i{async create(e){return n.post(`organizations/${e.organizationId}/members`,{email:e.email,teams:e.teams})}async delete(e){return n.delete(`organizations/${e.organizationId}/members/${e.authorId}`)}async list(e){return n.get(`organizations/${e}/members`)}async get(e,r){return n.get(`organizations/${e}/members/${r}`)}async update(e,r,a){return n.patch(`organizations/${e}/members/${r}`,a)}}export{i as M};
//# sourceMappingURL=member.39a2b810.js.map
