Built motion from commit e02f907f.|2.6.14
[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 _0x57b8=['/process/:pid/kill','killProcess','Router','../../components/auth/service','./system.controller','get','isAuthenticated','index'];(function(_0x1c9451,_0x333b74){var _0x1fe6e5=function(_0x14bffb){while(--_0x14bffb){_0x1c9451['push'](_0x1c9451['shift']());}};_0x1fe6e5(++_0x333b74);}(_0x57b8,0x182));var _0x857b=function(_0x439866,_0x131ee3){_0x439866=_0x439866-0x0;var _0x202859=_0x57b8[_0x439866];return _0x202859;};'use strict';var express=require('express');var router=express[_0x857b('0x0')]();var auth=require(_0x857b('0x1'));var controller=require(_0x857b('0x2'));router[_0x857b('0x3')]('/',auth[_0x857b('0x4')](),controller[_0x857b('0x5')]);router[_0x857b('0x3')](_0x857b('0x6'),auth[_0x857b('0x4')](),controller[_0x857b('0x7')]);module['exports']=router;