Built motion from commit db94841.|2.5.3
[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 _0xd334=['/fetch','isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','restart','migrations','exports','express','Router','../../components/auth/service','./version.controller','index','get'];(function(_0x5138bd,_0x1af6c8){var _0x18d698=function(_0x2d6d0a){while(--_0x2d6d0a){_0x5138bd['push'](_0x5138bd['shift']());}};_0x18d698(++_0x1af6c8);}(_0xd334,0xf6));var _0x4d33=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0xd334[_0x3bf83f];return _0x22c4a9;};'use strict';var express=require(_0x4d33('0x0'));var router=express[_0x4d33('0x1')]();var auth=require(_0x4d33('0x2'));var controller=require(_0x4d33('0x3'));router['get']('/',controller[_0x4d33('0x4')]);router[_0x4d33('0x5')](_0x4d33('0x6'),auth[_0x4d33('0x7')](),auth[_0x4d33('0x8')](),controller[_0x4d33('0x9')]);router[_0x4d33('0x5')](_0x4d33('0xa'),auth[_0x4d33('0x7')](),auth[_0x4d33('0x8')](),controller[_0x4d33('0xb')]);router[_0x4d33('0x5')](_0x4d33('0xc'),auth[_0x4d33('0x7')](),auth[_0x4d33('0x8')](),controller[_0x4d33('0xd')]);router[_0x4d33('0x5')](_0x4d33('0xe'),auth['isAuthenticated'](),controller[_0x4d33('0xf')]);router['get']('/migrations',controller[_0x4d33('0x10')]);module[_0x4d33('0x11')]=router;