Built motion from commit (unavailable).|2.0.80
[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 _0xb9bf=['express','Router','../../components/auth/service','./version.controller','/fetch','isAuthenticated','canUpdate','get','/reset','reset','/pull','pull','/restart','/migrations','migrations','exports'];(function(_0x2965ad,_0x5cef45){var _0x8d987a=function(_0x5d795e){while(--_0x5d795e){_0x2965ad['push'](_0x2965ad['shift']());}};_0x8d987a(++_0x5cef45);}(_0xb9bf,0x1f0));var _0xfb9b=function(_0x5d2803,_0xf375bd){_0x5d2803=_0x5d2803-0x0;var _0xdcad2c=_0xb9bf[_0x5d2803];return _0xdcad2c;};'use strict';var express=require(_0xfb9b('0x0'));var router=express[_0xfb9b('0x1')]();var auth=require(_0xfb9b('0x2'));var controller=require(_0xfb9b('0x3'));router['get']('/',controller['index']);router['get'](_0xfb9b('0x4'),auth[_0xfb9b('0x5')](),auth[_0xfb9b('0x6')](),controller['fetch']);router[_0xfb9b('0x7')](_0xfb9b('0x8'),auth[_0xfb9b('0x5')](),auth[_0xfb9b('0x6')](),controller[_0xfb9b('0x9')]);router[_0xfb9b('0x7')](_0xfb9b('0xa'),auth[_0xfb9b('0x5')](),auth[_0xfb9b('0x6')](),controller[_0xfb9b('0xb')]);router[_0xfb9b('0x7')](_0xfb9b('0xc'),auth[_0xfb9b('0x5')](),controller['restart']);router[_0xfb9b('0x7')](_0xfb9b('0xd'),controller[_0xfb9b('0xe')]);module[_0xfb9b('0xf')]=router;