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 _0x1436=['reset','/pull','/restart','restart','exports','../../components/auth/service','get','/fetch','isAuthenticated','canUpdate','fetch','/reset'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x1436,0x1e5));var _0x6143=function(_0x42cae2,_0x284ef8){_0x42cae2=_0x42cae2-0x0;var _0x5f256f=_0x1436[_0x42cae2];return _0x5f256f;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0x6143('0x0'));var controller=require('./version.controller');router[_0x6143('0x1')]('/',controller['index']);router[_0x6143('0x1')](_0x6143('0x2'),auth[_0x6143('0x3')](),auth[_0x6143('0x4')](),controller[_0x6143('0x5')]);router[_0x6143('0x1')](_0x6143('0x6'),auth['isAuthenticated'](),auth[_0x6143('0x4')](),controller[_0x6143('0x7')]);router[_0x6143('0x1')](_0x6143('0x8'),auth['isAuthenticated'](),auth['canUpdate'](),controller['pull']);router[_0x6143('0x1')](_0x6143('0x9'),auth[_0x6143('0x3')](),controller[_0x6143('0xa')]);router[_0x6143('0x1')]('/migrations',controller['migrations']);module[_0x6143('0xb')]=router;