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 _0x41ca=['isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','/migrations','migrations','express','Router','./version.controller','get','index','/fetch'];(function(_0x558f84,_0x3c4dfd){var _0x225d3f=function(_0x4b8aba){while(--_0x4b8aba){_0x558f84['push'](_0x558f84['shift']());}};_0x225d3f(++_0x3c4dfd);}(_0x41ca,0xba));var _0xa41c=function(_0x249c94,_0xc350a5){_0x249c94=_0x249c94-0x0;var _0x44587c=_0x41ca[_0x249c94];return _0x44587c;};'use strict';var express=require(_0xa41c('0x0'));var router=express[_0xa41c('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xa41c('0x2'));router[_0xa41c('0x3')]('/',controller[_0xa41c('0x4')]);router[_0xa41c('0x3')](_0xa41c('0x5'),auth[_0xa41c('0x6')](),auth[_0xa41c('0x7')](),controller[_0xa41c('0x8')]);router['get'](_0xa41c('0x9'),auth['isAuthenticated'](),auth[_0xa41c('0x7')](),controller[_0xa41c('0xa')]);router['get'](_0xa41c('0xb'),auth[_0xa41c('0x6')](),auth[_0xa41c('0x7')](),controller[_0xa41c('0xc')]);router['get'](_0xa41c('0xd'),auth[_0xa41c('0x6')](),controller['restart']);router['get'](_0xa41c('0xe'),controller[_0xa41c('0xf')]);module['exports']=router;