0fc022b84a02b81631d3af28861324d192dd14dd
[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 _0x1fce=['express','Router','../../components/auth/service','./system.controller','get','isAuthenticated','/process/:pid/kill','killProcess','exports'];(function(_0x216d45,_0x4989fe){var _0xbaac0b=function(_0x308a41){while(--_0x308a41){_0x216d45['push'](_0x216d45['shift']());}};_0xbaac0b(++_0x4989fe);}(_0x1fce,0x10e));var _0xe1fc=function(_0x4a3898,_0x4c9853){_0x4a3898=_0x4a3898-0x0;var _0x25ceb0=_0x1fce[_0x4a3898];return _0x25ceb0;};'use strict';var express=require(_0xe1fc('0x0'));var router=express[_0xe1fc('0x1')]();var auth=require(_0xe1fc('0x2'));var controller=require(_0xe1fc('0x3'));router[_0xe1fc('0x4')]('/',auth[_0xe1fc('0x5')](),controller['index']);router[_0xe1fc('0x4')](_0xe1fc('0x6'),auth[_0xe1fc('0x5')](),controller[_0xe1fc('0x7')]);module[_0xe1fc('0x8')]=router;