Built motion from commit e1760111.|2.6.18
[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 _0x4bd2=['/process/:pid/kill','killProcess','exports','Router','../../components/auth/service','./system.controller','index','get'];(function(_0xa1ae5c,_0x44beef){var _0x4573c1=function(_0x2580ec){while(--_0x2580ec){_0xa1ae5c['push'](_0xa1ae5c['shift']());}};_0x4573c1(++_0x44beef);}(_0x4bd2,0x163));var _0x24bd=function(_0x4f92ef,_0x547934){_0x4f92ef=_0x4f92ef-0x0;var _0x16ab50=_0x4bd2[_0x4f92ef];return _0x16ab50;};'use strict';var express=require('express');var router=express[_0x24bd('0x0')]();var auth=require(_0x24bd('0x1'));var controller=require(_0x24bd('0x2'));router['get']('/',auth['isAuthenticated'](),controller[_0x24bd('0x3')]);router[_0x24bd('0x4')](_0x24bd('0x5'),auth['isAuthenticated'](),controller[_0x24bd('0x6')]);module[_0x24bd('0x7')]=router;