import{p as t,a as n}from"./multiUserApiClient-CKPzIhIr.js";import{E as e}from"./endpoints-BUXROgJ9.js";class s{async loginAdmin(r){try{return await t.post(e.ADMIN.LOGIN,r)}catch(o){throw console.error("Error en loginAdmin:",o),o}}async logoutAdmin(){try{return await n.post(e.ADMIN.LOGOUT)}catch(r){throw console.error("Error en logoutAdmin:",r),r}}async loginTeacher(r){try{return await t.post(e.TEACHER.LOGIN,r)}catch(o){throw console.error("Error en loginTeacher:",o),o}}async logoutTeacher(){try{return await n.post(e.TEACHER.LOGOUT)}catch(r){throw console.error("Error en logoutTeacher:",r),r}}async loginStudent(r){try{return await t.post(e.STUDENT.LOGIN,r)}catch(o){throw console.error("Error en loginStudent:",o),o}}async logoutStudent(){try{return await n.post(e.STUDENT.LOGOUT)}catch(r){throw console.error("Error en logoutStudent:",r),r}}}const i=new s;export{i as a};
