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 _0x0800=['Router','../../components/auth/service','index','get','/fetch','isAuthenticated','canUpdate','fetch','reset','pull','/restart','restart','/migrations','migrations','exports','express'];(function(_0x4f9a54,_0x231f5e){var _0x3cc680=function(_0x3d249c){while(--_0x3d249c){_0x4f9a54['push'](_0x4f9a54['shift']());}};_0x3cc680(++_0x231f5e);}(_0x0800,0x1af));var _0x0080=function(_0x348896,_0x1f7e6e){_0x348896=_0x348896-0x0;var _0x16453f=_0x0800[_0x348896];return _0x16453f;};'use strict';var express=require(_0x0080('0x0'));var router=express[_0x0080('0x1')]();var auth=require(_0x0080('0x2'));var controller=require('./version.controller');router['get']('/',controller[_0x0080('0x3')]);router[_0x0080('0x4')](_0x0080('0x5'),auth[_0x0080('0x6')](),auth[_0x0080('0x7')](),controller[_0x0080('0x8')]);router[_0x0080('0x4')]('/reset',auth[_0x0080('0x6')](),auth[_0x0080('0x7')](),controller[_0x0080('0x9')]);router[_0x0080('0x4')]('/pull',auth['isAuthenticated'](),auth[_0x0080('0x7')](),controller[_0x0080('0xa')]);router[_0x0080('0x4')](_0x0080('0xb'),auth[_0x0080('0x6')](),controller[_0x0080('0xc')]);router[_0x0080('0x4')](_0x0080('0xd'),controller[_0x0080('0xe')]);module[_0x0080('0xf')]=router;