const i={PUBLIC:{CHECK_CYCLE:"/register/check-cycle",CHECK_STUDENT:"/register/check-student",REGISTER_STUDENT:"/register/student"},ADMIN:{LOGIN:"/admin/login",LOGOUT:"/admin/logout",PERMISSIONS:{BASE:"/admin/permissions",GROUP:"/admin/permissions/groups",TOGGLE_STATUS:"/admin/permissions/:id/toggle-status"},ROLES:{BASE:"/admin/roles",TOGGLE_STATUS:"/admin/roles/:id/toggle-status",ASSIGN_PERMISSIONS:"/admin/roles/:id/permissions",REMOVE_PERMISSIONS:"/admin/roles/:id/remove-permissions",SYNC_PERMISSIONS:"/admin/roles/:id/sync-permissions"},USERS:{BASE:"/admin/users",TOGGLE_STATUS:"/admin/users/:id/toggle-status",RESET_PASSWORD:"/admin/users/:id/reset-password",CHANGE_PASSWORD:"/admin/users/:id/change-password",SYNC_ROLES:"/admin/users/:id/sync-roles"},STUDENTS:{BASE:"/admin/students",TOGGLE_STATUS:"/admin/students/:id/toggle-status",TOGGLE_VALIDATION:"/admin/students/:id/toggle-validation",RESET_PASSWORD:"/admin/students/:id/reset-password"},CYCLES:{BASE:"/admin/cycles",TOGGLE_ENROLLMENT:"/admin/cycles/:id/toggle-enrollment",TOGGLE_ACTIVE:"/admin/cycles/:id/toggle-active",ENROLLMENTS:{INDEX:"/admin/cycles/:cycle_id/enrollments",SHOW:"/admin/cycles/:cycle_id/enrollments/:id"}},COUNTRIES:{BASE:"/admin/countries"},DEPARTMENTS:{BASE:"/admin/departments"},PROVINCES:{BASE:"/admin/provinces"},DISTRICTS:{BASE:"/admin/districts"},CAREERS:{BASE:"/admin/careers"},SCHOOLS:{BASE:"/admin/schools"},DISCOUNTS_TYPES:{BASE:"/admin/discount-types"}},TEACHER:{LOGIN:"/teacher/login",LOGOUT:"/teacher/logout"},STUDENT:{LOGIN:"/student/login",LOGOUT:"/student/logout",ENROLLMENT:{REGISTER_PERSONAL_DATA:"/student/enrollment/personal-data",REGISTER_ADDITIONAL_DATA:"/student/enrollment/additional-data",REGISTER_FAMILY_DATA:"/student/enrollment/family-data",REGISTER_SCHOOL_DATA:"/student/enrollment/school-data",REGISTER_CAREER_DATA:"/student/enrollment/career-data",REGISTER_UPLOAD_DOCUMENT:"/student/enrollment/upload-document",REGISTER_SWORN_DECLARATION:"/student/enrollment/sworn-declaration",REGISTER_PAYMENT:"/student/enrollment/payment",REGISTER_PAYMENT_TYPE:"/student/enrollment/discount-type",DELETE_PAYMENT:"/student/enrollment/payment",FINISH_REGISTRATION:"/student/enrollment/finish"}},SHARED:{DISTRICTS:"/districts",DISTRICT_BY_ID:"/districts/:district_id",SCHOOLS:"/schools",SCHOOL_BY_ID:"/schools/:school_id",CAREERS:"/careers",CAREERS_BY_ID:"/careers/:career_id",SHOW_FILE:"/files/get-url",STUDENT_ENROLLMENT_DETAIL:"/student-enrollment/:student_id/detail",DISCOUNTS_TYPES:"/discount-types"}},d=(E,t={})=>{let e=E;Object.keys(t).forEach(n=>{e=e.replace(`:${n}`,t[n])});const s=e.match(/:\w+/g);if(s)throw console.error(`Missing parameters in URL: ${s.join(", ")}`),new Error(`Missing URL parameters: ${s.join(", ")}`);return e};export{i as E,d as b};
