import{t as e}from"./client-hbcFGf8j.js";import{t}from"./endpoints-Bdye5CiX.js";var n={async refreshCsrfCookie(){await e.get(t.CSRF_COOKIE)},async login(n){await e.get(t.CSRF_COOKIE);let{data:r}=await e.post(t.LOGIN,n);return r},async logout(){await e.post(t.LOGOUT)},async forgotPassword(n){let{data:r}=await e.post(t.FORGOT_PASSWORD,n);return r},async resetPassword(n){let{data:r}=await e.post(t.RESET_PASSWORD,n);return r},async check(){let{data:n}=await e.get(t.AUTH_CHECK);return n},async getInvitationDetails(n){let{data:r}=await e.get(`${t.INVITATION_DETAILS}/${n}/details`);return r},async registerWithInvitation(n){let{data:r}=await e.post(t.REGISTER_WITH_INVITATION,n);return r}};export{n as t};