import{getTranslationStatus as e,translateDictionaries as t}from"../controllers/translation.controller.mjs";const n=`/api/translate`,r=()=>`${process.env.BACKEND_URL}${n}`,i=()=>({translateDictionaries:{urlModel:`/dictionaries`,url:`${r()}/dictionaries`,method:`POST`},getTranslationStatus:{urlModel:`/status`,url:`${r()}/status`,method:`GET`}}),a=async n=>{n.post(i().translateDictionaries.urlModel,t),n.get(i().getTranslationStatus.urlModel,e)};export{i as getTranslationsRoutes,n as translateRoute,a as translationRouter};
//# sourceMappingURL=translate.routes.mjs.map