54b254010adbd702e5d84cac2b0046d8de36570d
[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 _0x14e5=['express','Router','./system.controller','get','isAuthenticated','index','/process/:pid/kill','killProcess','exports'];(function(_0x181d79,_0x55ee14){var _0x11d713=function(_0x3fb369){while(--_0x3fb369){_0x181d79['push'](_0x181d79['shift']());}};_0x11d713(++_0x55ee14);}(_0x14e5,0x15f));var _0x514e=function(_0x4667b2,_0x135b67){_0x4667b2=_0x4667b2-0x0;var _0x1070f2=_0x14e5[_0x4667b2];return _0x1070f2;};'use strict';var express=require(_0x514e('0x0'));var router=express[_0x514e('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x514e('0x2'));router[_0x514e('0x3')]('/',auth[_0x514e('0x4')](),controller[_0x514e('0x5')]);router[_0x514e('0x3')](_0x514e('0x6'),auth[_0x514e('0x4')](),controller[_0x514e('0x7')]);module[_0x514e('0x8')]=router;