1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x4a54=['fetch','/reset','/pull','pull','/restart','restart','/migrations','migrations','exports','express','Router','../../components/auth/service','./version.controller','get','index','/fetch','isAuthenticated','canUpdate'];(function(_0x2d74dd,_0x17d8e2){var _0xf4b7a0=function(_0x16b8b1){while(--_0x16b8b1){_0x2d74dd['push'](_0x2d74dd['shift']());}};_0xf4b7a0(++_0x17d8e2);}(_0x4a54,0x99));var _0x44a5=function(_0x1f79eb,_0x25a58d){_0x1f79eb=_0x1f79eb-0x0;var _0x56b681=_0x4a54[_0x1f79eb];return _0x56b681;};'use strict';var express=require(_0x44a5('0x0'));var router=express[_0x44a5('0x1')]();var auth=require(_0x44a5('0x2'));var controller=require(_0x44a5('0x3'));router[_0x44a5('0x4')]('/',controller[_0x44a5('0x5')]);router[_0x44a5('0x4')](_0x44a5('0x6'),auth[_0x44a5('0x7')](),auth[_0x44a5('0x8')](),controller[_0x44a5('0x9')]);router[_0x44a5('0x4')](_0x44a5('0xa'),auth[_0x44a5('0x7')](),auth[_0x44a5('0x8')](),controller['reset']);router[_0x44a5('0x4')](_0x44a5('0xb'),auth[_0x44a5('0x7')](),auth['canUpdate'](),controller[_0x44a5('0xc')]);router[_0x44a5('0x4')](_0x44a5('0xd'),auth['isAuthenticated'](),controller[_0x44a5('0xe')]);router[_0x44a5('0x4')](_0x44a5('0xf'),controller[_0x44a5('0x10')]);module[_0x44a5('0x11')]=router;