Built motion from commit 1fa89557.|2.6.10
[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 _0x0b5e=['./system.controller','get','isAuthenticated','index','/process/:pid/kill','killProcess','exports','express','Router'];(function(_0x59d692,_0x637365){var _0x13316a=function(_0xc2dea8){while(--_0xc2dea8){_0x59d692['push'](_0x59d692['shift']());}};_0x13316a(++_0x637365);}(_0x0b5e,0x178));var _0xe0b5=function(_0xe20fdf,_0x4790a3){_0xe20fdf=_0xe20fdf-0x0;var _0x5eab04=_0x0b5e[_0xe20fdf];return _0x5eab04;};'use strict';var express=require(_0xe0b5('0x0'));var router=express[_0xe0b5('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xe0b5('0x2'));router[_0xe0b5('0x3')]('/',auth[_0xe0b5('0x4')](),controller[_0xe0b5('0x5')]);router['get'](_0xe0b5('0x6'),auth[_0xe0b5('0x4')](),controller[_0xe0b5('0x7')]);module[_0xe0b5('0x8')]=router;