Built motion from commit (unavailable).|2.5.26
[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 _0xc3d6=['/fetch','isAuthenticated','canUpdate','reset','/pull','pull','/restart','/migrations','exports','express','Router','../../components/auth/service','./version.controller','get','index'];(function(_0x24cac4,_0x563d50){var _0x84b4cb=function(_0x4a2d00){while(--_0x4a2d00){_0x24cac4['push'](_0x24cac4['shift']());}};_0x84b4cb(++_0x563d50);}(_0xc3d6,0x153));var _0x6c3d=function(_0x5ebbfe,_0x586ebf){_0x5ebbfe=_0x5ebbfe-0x0;var _0x279570=_0xc3d6[_0x5ebbfe];return _0x279570;};'use strict';var express=require(_0x6c3d('0x0'));var router=express[_0x6c3d('0x1')]();var auth=require(_0x6c3d('0x2'));var controller=require(_0x6c3d('0x3'));router[_0x6c3d('0x4')]('/',controller[_0x6c3d('0x5')]);router[_0x6c3d('0x4')](_0x6c3d('0x6'),auth[_0x6c3d('0x7')](),auth[_0x6c3d('0x8')](),controller['fetch']);router[_0x6c3d('0x4')]('/reset',auth[_0x6c3d('0x7')](),auth['canUpdate'](),controller[_0x6c3d('0x9')]);router[_0x6c3d('0x4')](_0x6c3d('0xa'),auth[_0x6c3d('0x7')](),auth[_0x6c3d('0x8')](),controller[_0x6c3d('0xb')]);router[_0x6c3d('0x4')](_0x6c3d('0xc'),auth[_0x6c3d('0x7')](),controller['restart']);router[_0x6c3d('0x4')](_0x6c3d('0xd'),controller['migrations']);module[_0x6c3d('0xe')]=router;