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 _0x6da3=['/reset','isAuthenticated','reset','/pull','/restart','restart','/migrations','migrations','exports','express','Router','../../components/auth/service','get','index','canUpdate'];(function(_0xa1cfa8,_0x252403){var _0x158a5f=function(_0x14c809){while(--_0x14c809){_0xa1cfa8['push'](_0xa1cfa8['shift']());}};_0x158a5f(++_0x252403);}(_0x6da3,0xf9));var _0x36da=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x6da3[_0x4565bf];return _0x5610ba;};'use strict';var express=require(_0x36da('0x0'));var router=express[_0x36da('0x1')]();var auth=require(_0x36da('0x2'));var controller=require('./version.controller');router[_0x36da('0x3')]('/',controller[_0x36da('0x4')]);router[_0x36da('0x3')]('/fetch',auth['isAuthenticated'](),auth[_0x36da('0x5')](),controller['fetch']);router[_0x36da('0x3')](_0x36da('0x6'),auth[_0x36da('0x7')](),auth[_0x36da('0x5')](),controller[_0x36da('0x8')]);router[_0x36da('0x3')](_0x36da('0x9'),auth[_0x36da('0x7')](),auth[_0x36da('0x5')](),controller['pull']);router[_0x36da('0x3')](_0x36da('0xa'),auth[_0x36da('0x7')](),controller[_0x36da('0xb')]);router[_0x36da('0x3')](_0x36da('0xc'),controller[_0x36da('0xd')]);module[_0x36da('0xe')]=router;