Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / version / 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 _0xe604=['canUpdate','fetch','/reset','reset','/pull','pull','/restart','restart','/migrations','exports','express','Router','../../components/auth/service','./version.controller','get','index','/fetch','isAuthenticated'];(function(_0x18d081,_0x47e92e){var _0x1dbeb4=function(_0x15c2c5){while(--_0x15c2c5){_0x18d081['push'](_0x18d081['shift']());}};_0x1dbeb4(++_0x47e92e);}(_0xe604,0x106));var _0x4e60=function(_0x45ae48,_0x585e9c){_0x45ae48=_0x45ae48-0x0;var _0x39b5b0=_0xe604[_0x45ae48];return _0x39b5b0;};'use strict';var express=require(_0x4e60('0x0'));var router=express[_0x4e60('0x1')]();var auth=require(_0x4e60('0x2'));var controller=require(_0x4e60('0x3'));router[_0x4e60('0x4')]('/',controller[_0x4e60('0x5')]);router[_0x4e60('0x4')](_0x4e60('0x6'),auth[_0x4e60('0x7')](),auth[_0x4e60('0x8')](),controller[_0x4e60('0x9')]);router[_0x4e60('0x4')](_0x4e60('0xa'),auth[_0x4e60('0x7')](),auth[_0x4e60('0x8')](),controller[_0x4e60('0xb')]);router['get'](_0x4e60('0xc'),auth['isAuthenticated'](),auth[_0x4e60('0x8')](),controller[_0x4e60('0xd')]);router[_0x4e60('0x4')](_0x4e60('0xe'),auth[_0x4e60('0x7')](),controller[_0x4e60('0xf')]);router[_0x4e60('0x4')](_0x4e60('0x10'),controller['migrations']);module[_0x4e60('0x11')]=router;