d0fa0bc2d3beb058866449683c004b59b8009ea4
[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 _0x0f97=['./system.controller','get','index','/process/:pid/kill','killProcess','exports','express','../../components/auth/service'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x0f97,0x66));var _0x70f9=function(_0x425c5b,_0x5a23a5){_0x425c5b=_0x425c5b-0x0;var _0x3ec47a=_0x0f97[_0x425c5b];return _0x3ec47a;};'use strict';var express=require(_0x70f9('0x0'));var router=express['Router']();var auth=require(_0x70f9('0x1'));var controller=require(_0x70f9('0x2'));router[_0x70f9('0x3')]('/',auth['isAuthenticated'](),controller[_0x70f9('0x4')]);router[_0x70f9('0x3')](_0x70f9('0x5'),auth['isAuthenticated'](),controller[_0x70f9('0x6')]);module[_0x70f9('0x7')]=router;