Built motion from commit e6806ed6.|2.6.0
[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 _0x4ad5=['/fetch','isAuthenticated','canUpdate','/reset','reset','/pull','/restart','restart','exports','express','Router','../../components/auth/service','get','index'];(function(_0x45fd79,_0x7a0890){var _0x44ea04=function(_0xc77372){while(--_0xc77372){_0x45fd79['push'](_0x45fd79['shift']());}};_0x44ea04(++_0x7a0890);}(_0x4ad5,0x87));var _0x54ad=function(_0x33079d,_0x508a77){_0x33079d=_0x33079d-0x0;var _0x246ef0=_0x4ad5[_0x33079d];return _0x246ef0;};'use strict';var express=require(_0x54ad('0x0'));var router=express[_0x54ad('0x1')]();var auth=require(_0x54ad('0x2'));var controller=require('./version.controller');router[_0x54ad('0x3')]('/',controller[_0x54ad('0x4')]);router[_0x54ad('0x3')](_0x54ad('0x5'),auth[_0x54ad('0x6')](),auth[_0x54ad('0x7')](),controller['fetch']);router[_0x54ad('0x3')](_0x54ad('0x8'),auth['isAuthenticated'](),auth[_0x54ad('0x7')](),controller[_0x54ad('0x9')]);router['get'](_0x54ad('0xa'),auth['isAuthenticated'](),auth[_0x54ad('0x7')](),controller['pull']);router['get'](_0x54ad('0xb'),auth[_0x54ad('0x6')](),controller[_0x54ad('0xc')]);router[_0x54ad('0x3')]('/migrations',controller['migrations']);module[_0x54ad('0xd')]=router;