Built motion from commit 52c8a02d.|2.6.29
[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 _0x064c=['index','/fetch','isAuthenticated','canUpdate','fetch','get','/reset','reset','/pull','pull','/restart','/migrations','migrations','exports','express','Router','../../components/auth/service'];(function(_0x285824,_0x3da647){var _0x311d7e=function(_0x2f3de0){while(--_0x2f3de0){_0x285824['push'](_0x285824['shift']());}};_0x311d7e(++_0x3da647);}(_0x064c,0xeb));var _0xc064=function(_0x49ad79,_0x48ee93){_0x49ad79=_0x49ad79-0x0;var _0xa4e38a=_0x064c[_0x49ad79];return _0xa4e38a;};'use strict';var express=require(_0xc064('0x0'));var router=express[_0xc064('0x1')]();var auth=require(_0xc064('0x2'));var controller=require('./version.controller');router['get']('/',controller[_0xc064('0x3')]);router['get'](_0xc064('0x4'),auth[_0xc064('0x5')](),auth[_0xc064('0x6')](),controller[_0xc064('0x7')]);router[_0xc064('0x8')](_0xc064('0x9'),auth[_0xc064('0x5')](),auth[_0xc064('0x6')](),controller[_0xc064('0xa')]);router['get'](_0xc064('0xb'),auth[_0xc064('0x5')](),auth[_0xc064('0x6')](),controller[_0xc064('0xc')]);router['get'](_0xc064('0xd'),auth[_0xc064('0x5')](),controller['restart']);router[_0xc064('0x8')](_0xc064('0xe'),controller[_0xc064('0xf')]);module[_0xc064('0x10')]=router;