Built motion from commit 25580385.|2.6.2
[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 _0x2f4f=['express','Router','../../components/auth/service','isAuthenticated','index','get','/process/:pid/kill','killProcess','exports'];(function(_0x21aec3,_0x5c97e9){var _0x288bbc=function(_0x2283fe){while(--_0x2283fe){_0x21aec3['push'](_0x21aec3['shift']());}};_0x288bbc(++_0x5c97e9);}(_0x2f4f,0x132));var _0xf2f4=function(_0x386b6b,_0x489623){_0x386b6b=_0x386b6b-0x0;var _0x39969e=_0x2f4f[_0x386b6b];return _0x39969e;};'use strict';var express=require(_0xf2f4('0x0'));var router=express[_0xf2f4('0x1')]();var auth=require(_0xf2f4('0x2'));var controller=require('./system.controller');router['get']('/',auth[_0xf2f4('0x3')](),controller[_0xf2f4('0x4')]);router[_0xf2f4('0x5')](_0xf2f4('0x6'),auth[_0xf2f4('0x3')](),controller[_0xf2f4('0x7')]);module[_0xf2f4('0x8')]=router;