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 _0x842f=['./version.controller','get','index','/fetch','canUpdate','/reset','isAuthenticated','reset','/pull','pull','/restart','restart','/migrations','migrations','exports','express','Router','../../components/auth/service'];(function(_0x5c18a1,_0x5e7f44){var _0x2efb23=function(_0x3f8cb2){while(--_0x3f8cb2){_0x5c18a1['push'](_0x5c18a1['shift']());}};_0x2efb23(++_0x5e7f44);}(_0x842f,0x10b));var _0xf842=function(_0x20edcb,_0x4d49a8){_0x20edcb=_0x20edcb-0x0;var _0x1ced78=_0x842f[_0x20edcb];return _0x1ced78;};'use strict';var express=require(_0xf842('0x0'));var router=express[_0xf842('0x1')]();var auth=require(_0xf842('0x2'));var controller=require(_0xf842('0x3'));router[_0xf842('0x4')]('/',controller[_0xf842('0x5')]);router[_0xf842('0x4')](_0xf842('0x6'),auth['isAuthenticated'](),auth[_0xf842('0x7')](),controller['fetch']);router[_0xf842('0x4')](_0xf842('0x8'),auth[_0xf842('0x9')](),auth[_0xf842('0x7')](),controller[_0xf842('0xa')]);router[_0xf842('0x4')](_0xf842('0xb'),auth[_0xf842('0x9')](),auth[_0xf842('0x7')](),controller[_0xf842('0xc')]);router['get'](_0xf842('0xd'),auth[_0xf842('0x9')](),controller[_0xf842('0xe')]);router[_0xf842('0x4')](_0xf842('0xf'),controller[_0xf842('0x10')]);module[_0xf842('0x11')]=router;