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 _0x25c5=['/restart','restart','/migrations','migrations','exports','express','Router','../../components/auth/service','get','index','/fetch','isAuthenticated','canUpdate','/reset','reset','/pull','pull'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x25c5,0x1f2));var _0x525c=function(_0x24a88e,_0x22a0b8){_0x24a88e=_0x24a88e-0x0;var _0x232cbb=_0x25c5[_0x24a88e];return _0x232cbb;};'use strict';var express=require(_0x525c('0x0'));var router=express[_0x525c('0x1')]();var auth=require(_0x525c('0x2'));var controller=require('./version.controller');router[_0x525c('0x3')]('/',controller[_0x525c('0x4')]);router['get'](_0x525c('0x5'),auth[_0x525c('0x6')](),auth[_0x525c('0x7')](),controller['fetch']);router[_0x525c('0x3')](_0x525c('0x8'),auth[_0x525c('0x6')](),auth[_0x525c('0x7')](),controller[_0x525c('0x9')]);router['get'](_0x525c('0xa'),auth[_0x525c('0x6')](),auth['canUpdate'](),controller[_0x525c('0xb')]);router[_0x525c('0x3')](_0x525c('0xc'),auth[_0x525c('0x6')](),controller[_0x525c('0xd')]);router[_0x525c('0x3')](_0x525c('0xe'),controller[_0x525c('0xf')]);module[_0x525c('0x10')]=router;