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