Built motion from commit 1efd3d96.|2.6.31
[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 _0xd5c4=['/process/:pid/kill','isAuthenticated','killProcess','exports','express','Router','../../components/auth/service','./system.controller','get'];(function(_0x3703c6,_0x5c5880){var _0x159865=function(_0x54d92a){while(--_0x54d92a){_0x3703c6['push'](_0x3703c6['shift']());}};_0x159865(++_0x5c5880);}(_0xd5c4,0x151));var _0x4d5c=function(_0x5c8b2a,_0x226b17){_0x5c8b2a=_0x5c8b2a-0x0;var _0x552f8d=_0xd5c4[_0x5c8b2a];return _0x552f8d;};'use strict';var express=require(_0x4d5c('0x0'));var router=express[_0x4d5c('0x1')]();var auth=require(_0x4d5c('0x2'));var controller=require(_0x4d5c('0x3'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x4d5c('0x4')](_0x4d5c('0x5'),auth[_0x4d5c('0x6')](),controller[_0x4d5c('0x7')]);module[_0x4d5c('0x8')]=router;