Built motion from commit (unavailable).|2.5.29
[motion2.git] / server / api / system / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xcc81=['index','/process/:pid/kill','killProcess','exports','express','./system.controller','get','isAuthenticated'];(function(_0x26a1dc,_0x380fb3){var _0x529678=function(_0x2c8c14){while(--_0x2c8c14){_0x26a1dc['push'](_0x26a1dc['shift']());}};_0x529678(++_0x380fb3);}(_0xcc81,0x19c));var _0x1cc8=function(_0x437808,_0x5d54e4){_0x437808=_0x437808-0x0;var _0x3752ac=_0xcc81[_0x437808];return _0x3752ac;};'use strict';var express=require(_0x1cc8('0x0'));var router=express['Router']();var auth=require('../../components/auth/service');var controller=require(_0x1cc8('0x1'));router[_0x1cc8('0x2')]('/',auth[_0x1cc8('0x3')](),controller[_0x1cc8('0x4')]);router[_0x1cc8('0x2')](_0x1cc8('0x5'),auth['isAuthenticated'](),controller[_0x1cc8('0x6')]);module[_0x1cc8('0x7')]=router;