import{c as n}from"./index-DiwDH9aE.js";import{p as s,a as t}from"./multiUserApiClient-CKPzIhIr.js";import{E as o}from"./endpoints-BUXROgJ9.js";/**
 * @license lucide-react v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const a=[["path",{d:"M16 10h2",key:"8sgtl7"}],["path",{d:"M16 14h2",key:"epxaof"}],["path",{d:"M6.17 15a3 3 0 0 1 5.66 0",key:"n6f512"}],["circle",{cx:"9",cy:"11",r:"2",key:"yxgjnd"}],["rect",{x:"2",y:"5",width:"20",height:"14",rx:"2",key:"qneu4z"}]],N=n("id-card",a);/**
 * @license lucide-react v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const c=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],h=n("lock",c);class E{async checkCycle(){try{return await s.get(o.PUBLIC.CHECK_CYCLE)}catch(e){throw console.error("Error en checkCycle:",e),e}}async checkStudent(e){try{return await s.post(o.PUBLIC.CHECK_STUDENT,e)}catch(r){throw console.error("Error en checkStudent:",r),r}}async registerStudent(e){try{return await s.post(o.PUBLIC.REGISTER_STUDENT,e)}catch(r){throw console.error("Error en registerStudent:",r),r}}async registerPersonalData(e){try{return await t.post(o.STUDENT.ENROLLMENT.REGISTER_PERSONAL_DATA,e)}catch(r){throw console.error("Error en updatePersonalInfo:",r),r}}async registerAdditionalData(e){try{return await t.post(o.STUDENT.ENROLLMENT.REGISTER_ADDITIONAL_DATA,e)}catch(r){throw console.error("Error en updateAdditionalInfo:",r),r}}async registerFamilyData(e){try{return await t.post(o.STUDENT.ENROLLMENT.REGISTER_FAMILY_DATA,e)}catch(r){throw console.error("Error en updateAdditionalInfo:",r),r}}async registerSchoolData(e){try{return await t.post(o.STUDENT.ENROLLMENT.REGISTER_SCHOOL_DATA,e)}catch(r){throw console.error("Error en updateAdditionalInfo:",r),r}}async registerCareerData(e){try{return await t.post(o.STUDENT.ENROLLMENT.REGISTER_CAREER_DATA,e)}catch(r){throw console.error("Error en updateAdditionalInfo:",r),r}}async registerFileData(e){try{return await t.post(o.STUDENT.ENROLLMENT.REGISTER_UPLOAD_DOCUMENT,e)}catch(r){throw console.error("Error en registerFileData:",r),r}}async registerPaymentType(e){try{return await t.post(o.STUDENT.ENROLLMENT.REGISTER_PAYMENT_TYPE,e)}catch(r){throw console.error("Error en registerPaymentType:",r),r}}async registerPaymentData(e){try{return await t.post(o.STUDENT.ENROLLMENT.REGISTER_PAYMENT,e)}catch(r){throw console.error("Error en registerPaymentData:",r),r}}async registerSwornDeclaration(e){try{return await t.post(o.STUDENT.ENROLLMENT.REGISTER_SWORN_DECLARATION,e)}catch(r){throw console.error("Error en registerSwornDeclaration:",r),r}}async deletePayment(e){try{return await t.delete(`${o.STUDENT.ENROLLMENT.DELETE_PAYMENT}/${e}`)}catch(r){throw console.error("Error en deletePayment:",r),r}}async finishRegistration(){try{return await t.post(o.STUDENT.ENROLLMENT.FINISH_REGISTRATION)}catch(e){throw console.error("Error en finishRegistration:",e),e}}}const R=new E;export{N as I,h as L,R as r};
