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 _0x333d=['Router','../../components/auth/service','./version.controller','get','/fetch','canUpdate','fetch','/reset','isAuthenticated','reset','/pull','restart','/migrations','migrations','exports','express'];(function(_0x13e85b,_0x45e29d){var _0x1611ea=function(_0x195c52){while(--_0x195c52){_0x13e85b['push'](_0x13e85b['shift']());}};_0x1611ea(++_0x45e29d);}(_0x333d,0x19f));var _0xd333=function(_0x311374,_0x132c28){_0x311374=_0x311374-0x0;var _0x1bf041=_0x333d[_0x311374];return _0x1bf041;};'use strict';var express=require(_0xd333('0x0'));var router=express[_0xd333('0x1')]();var auth=require(_0xd333('0x2'));var controller=require(_0xd333('0x3'));router[_0xd333('0x4')]('/',controller['index']);router[_0xd333('0x4')](_0xd333('0x5'),auth['isAuthenticated'](),auth[_0xd333('0x6')](),controller[_0xd333('0x7')]);router[_0xd333('0x4')](_0xd333('0x8'),auth[_0xd333('0x9')](),auth[_0xd333('0x6')](),controller[_0xd333('0xa')]);router[_0xd333('0x4')](_0xd333('0xb'),auth['isAuthenticated'](),auth[_0xd333('0x6')](),controller['pull']);router[_0xd333('0x4')]('/restart',auth[_0xd333('0x9')](),controller[_0xd333('0xc')]);router[_0xd333('0x4')](_0xd333('0xd'),controller[_0xd333('0xe')]);module[_0xd333('0xf')]=router;