b77e217804f305e22af26b5c2475faa135665139
[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 _0x552c=['isAuthenticated','index','/process/:pid/kill','killProcess','express','Router','./system.controller','get'];(function(_0x4c0d67,_0xfc97a){var _0x5463b3=function(_0x1a266a){while(--_0x1a266a){_0x4c0d67['push'](_0x4c0d67['shift']());}};_0x5463b3(++_0xfc97a);}(_0x552c,0x1ec));var _0xc552=function(_0x45e604,_0x58a542){_0x45e604=_0x45e604-0x0;var _0x4948f8=_0x552c[_0x45e604];return _0x4948f8;};'use strict';var express=require(_0xc552('0x0'));var router=express[_0xc552('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xc552('0x2'));router[_0xc552('0x3')]('/',auth[_0xc552('0x4')](),controller[_0xc552('0x5')]);router[_0xc552('0x3')](_0xc552('0x6'),auth[_0xc552('0x4')](),controller[_0xc552('0x7')]);module['exports']=router;