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 _0x5294=['/reset','reset','/restart','/migrations','migrations','Router','../../components/auth/service','./version.controller','get','index','/fetch','isAuthenticated','canUpdate'];(function(_0x4bf4f6,_0x483211){var _0xe6b945=function(_0x18bc43){while(--_0x18bc43){_0x4bf4f6['push'](_0x4bf4f6['shift']());}};_0xe6b945(++_0x483211);}(_0x5294,0x130));var _0x4529=function(_0x2a6809,_0x44edde){_0x2a6809=_0x2a6809-0x0;var _0x11c371=_0x5294[_0x2a6809];return _0x11c371;};'use strict';var express=require('express');var router=express[_0x4529('0x0')]();var auth=require(_0x4529('0x1'));var controller=require(_0x4529('0x2'));router[_0x4529('0x3')]('/',controller[_0x4529('0x4')]);router['get'](_0x4529('0x5'),auth[_0x4529('0x6')](),auth[_0x4529('0x7')](),controller['fetch']);router['get'](_0x4529('0x8'),auth[_0x4529('0x6')](),auth[_0x4529('0x7')](),controller[_0x4529('0x9')]);router['get']('/pull',auth[_0x4529('0x6')](),auth[_0x4529('0x7')](),controller['pull']);router[_0x4529('0x3')](_0x4529('0xa'),auth[_0x4529('0x6')](),controller['restart']);router[_0x4529('0x3')](_0x4529('0xb'),controller[_0x4529('0xc')]);module['exports']=router;