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 _0x60be=['pull','/restart','restart','/migrations','migrations','exports','express','Router','../../components/auth/service','index','/fetch','isAuthenticated','canUpdate','/reset','get'];(function(_0x1083f0,_0x190add){var _0x3e671f=function(_0x53d219){while(--_0x53d219){_0x1083f0['push'](_0x1083f0['shift']());}};_0x3e671f(++_0x190add);}(_0x60be,0x114));var _0xe60b=function(_0x16192a,_0x5ebefc){_0x16192a=_0x16192a-0x0;var _0x1274fd=_0x60be[_0x16192a];return _0x1274fd;};'use strict';var express=require(_0xe60b('0x0'));var router=express[_0xe60b('0x1')]();var auth=require(_0xe60b('0x2'));var controller=require('./version.controller');router['get']('/',controller[_0xe60b('0x3')]);router['get'](_0xe60b('0x4'),auth[_0xe60b('0x5')](),auth[_0xe60b('0x6')](),controller['fetch']);router['get'](_0xe60b('0x7'),auth[_0xe60b('0x5')](),auth[_0xe60b('0x6')](),controller['reset']);router[_0xe60b('0x8')]('/pull',auth['isAuthenticated'](),auth[_0xe60b('0x6')](),controller[_0xe60b('0x9')]);router['get'](_0xe60b('0xa'),auth[_0xe60b('0x5')](),controller[_0xe60b('0xb')]);router['get'](_0xe60b('0xc'),controller[_0xe60b('0xd')]);module[_0xe60b('0xe')]=router;