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 _0x5693=['exports','express','Router','../../components/auth/service','get','index','isAuthenticated','canUpdate','/reset','reset','/pull','pull','/restart','restart','/migrations'];(function(_0x14f02b,_0x3a279f){var _0x61f42e=function(_0x155f11){while(--_0x155f11){_0x14f02b['push'](_0x14f02b['shift']());}};_0x61f42e(++_0x3a279f);}(_0x5693,0x1d2));var _0x3569=function(_0x5f06c0,_0x2637c4){_0x5f06c0=_0x5f06c0-0x0;var _0x323312=_0x5693[_0x5f06c0];return _0x323312;};'use strict';var express=require(_0x3569('0x0'));var router=express[_0x3569('0x1')]();var auth=require(_0x3569('0x2'));var controller=require('./version.controller');router[_0x3569('0x3')]('/',controller[_0x3569('0x4')]);router[_0x3569('0x3')]('/fetch',auth[_0x3569('0x5')](),auth[_0x3569('0x6')](),controller['fetch']);router[_0x3569('0x3')](_0x3569('0x7'),auth['isAuthenticated'](),auth[_0x3569('0x6')](),controller[_0x3569('0x8')]);router[_0x3569('0x3')](_0x3569('0x9'),auth[_0x3569('0x5')](),auth[_0x3569('0x6')](),controller[_0x3569('0xa')]);router[_0x3569('0x3')](_0x3569('0xb'),auth[_0x3569('0x5')](),controller[_0x3569('0xc')]);router[_0x3569('0x3')](_0x3569('0xd'),controller['migrations']);module[_0x3569('0xe')]=router;