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 _0x1319=['exports','express','Router','../../components/auth/service','./version.controller','get','index','/fetch','isAuthenticated','canUpdate','/reset','reset','/pull','pull','/restart','restart','/migrations','migrations'];(function(_0x55e1d1,_0x3c9376){var _0x1165db=function(_0x5b0120){while(--_0x5b0120){_0x55e1d1['push'](_0x55e1d1['shift']());}};_0x1165db(++_0x3c9376);}(_0x1319,0xd9));var _0x9131=function(_0x1f675c,_0x10144e){_0x1f675c=_0x1f675c-0x0;var _0xf86fa4=_0x1319[_0x1f675c];return _0xf86fa4;};'use strict';var express=require(_0x9131('0x0'));var router=express[_0x9131('0x1')]();var auth=require(_0x9131('0x2'));var controller=require(_0x9131('0x3'));router[_0x9131('0x4')]('/',controller[_0x9131('0x5')]);router['get'](_0x9131('0x6'),auth[_0x9131('0x7')](),auth[_0x9131('0x8')](),controller['fetch']);router[_0x9131('0x4')](_0x9131('0x9'),auth[_0x9131('0x7')](),auth[_0x9131('0x8')](),controller[_0x9131('0xa')]);router[_0x9131('0x4')](_0x9131('0xb'),auth[_0x9131('0x7')](),auth[_0x9131('0x8')](),controller[_0x9131('0xc')]);router[_0x9131('0x4')](_0x9131('0xd'),auth[_0x9131('0x7')](),controller[_0x9131('0xe')]);router[_0x9131('0x4')](_0x9131('0xf'),controller[_0x9131('0x10')]);module[_0x9131('0x11')]=router;