Built motion from commit (unavailable).|2.5.30
[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 _0x76b1=['reset','/pull','isAuthenticated','pull','restart','exports','../../components/auth/service','./version.controller','get','index','/fetch','canUpdate','fetch'];(function(_0x1694f5,_0x49b7c3){var _0x5b4321=function(_0x58c183){while(--_0x58c183){_0x1694f5['push'](_0x1694f5['shift']());}};_0x5b4321(++_0x49b7c3);}(_0x76b1,0x1f4));var _0x176b=function(_0x12706d,_0x33e7f2){_0x12706d=_0x12706d-0x0;var _0x4542e4=_0x76b1[_0x12706d];return _0x4542e4;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0x176b('0x0'));var controller=require(_0x176b('0x1'));router[_0x176b('0x2')]('/',controller[_0x176b('0x3')]);router[_0x176b('0x2')](_0x176b('0x4'),auth['isAuthenticated'](),auth[_0x176b('0x5')](),controller[_0x176b('0x6')]);router['get']('/reset',auth['isAuthenticated'](),auth[_0x176b('0x5')](),controller[_0x176b('0x7')]);router[_0x176b('0x2')](_0x176b('0x8'),auth[_0x176b('0x9')](),auth[_0x176b('0x5')](),controller[_0x176b('0xa')]);router[_0x176b('0x2')]('/restart',auth['isAuthenticated'](),controller[_0x176b('0xb')]);router['get']('/migrations',controller['migrations']);module[_0x176b('0xc')]=router;