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 _0x8999=['index','/fetch','isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','restart','exports','express','Router','../../components/auth/service','./version.controller','get'];(function(_0x325501,_0x5242f6){var _0x2c1626=function(_0x4270b2){while(--_0x4270b2){_0x325501['push'](_0x325501['shift']());}};_0x2c1626(++_0x5242f6);}(_0x8999,0x11c));var _0x9899=function(_0x4013ce,_0x22df92){_0x4013ce=_0x4013ce-0x0;var _0x35740e=_0x8999[_0x4013ce];return _0x35740e;};'use strict';var express=require(_0x9899('0x0'));var router=express[_0x9899('0x1')]();var auth=require(_0x9899('0x2'));var controller=require(_0x9899('0x3'));router[_0x9899('0x4')]('/',controller[_0x9899('0x5')]);router[_0x9899('0x4')](_0x9899('0x6'),auth[_0x9899('0x7')](),auth[_0x9899('0x8')](),controller[_0x9899('0x9')]);router[_0x9899('0x4')](_0x9899('0xa'),auth['isAuthenticated'](),auth[_0x9899('0x8')](),controller[_0x9899('0xb')]);router[_0x9899('0x4')](_0x9899('0xc'),auth[_0x9899('0x7')](),auth[_0x9899('0x8')](),controller[_0x9899('0xd')]);router[_0x9899('0x4')](_0x9899('0xe'),auth['isAuthenticated'](),controller[_0x9899('0xf')]);router[_0x9899('0x4')]('/migrations',controller['migrations']);module[_0x9899('0x10')]=router;