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 _0x95e2=['pull','/restart','/migrations','migrations','exports','Router','../../components/auth/service','get','index','/fetch','isAuthenticated','canUpdate','fetch','/reset','reset','/pull'];(function(_0x5f309e,_0x66e31){var _0x487b5e=function(_0x44f203){while(--_0x44f203){_0x5f309e['push'](_0x5f309e['shift']());}};_0x487b5e(++_0x66e31);}(_0x95e2,0xc5));var _0x295e=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x95e2[_0x321bb2];return _0x9c12ed;};'use strict';var express=require('express');var router=express[_0x295e('0x0')]();var auth=require(_0x295e('0x1'));var controller=require('./version.controller');router[_0x295e('0x2')]('/',controller[_0x295e('0x3')]);router['get'](_0x295e('0x4'),auth[_0x295e('0x5')](),auth[_0x295e('0x6')](),controller[_0x295e('0x7')]);router['get'](_0x295e('0x8'),auth[_0x295e('0x5')](),auth[_0x295e('0x6')](),controller[_0x295e('0x9')]);router[_0x295e('0x2')](_0x295e('0xa'),auth[_0x295e('0x5')](),auth[_0x295e('0x6')](),controller[_0x295e('0xb')]);router['get'](_0x295e('0xc'),auth[_0x295e('0x5')](),controller['restart']);router[_0x295e('0x2')](_0x295e('0xd'),controller[_0x295e('0xe')]);module[_0x295e('0xf')]=router;