Built motion from commit (unavailable).|2.5.10
[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 _0xed32=['isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','restart','/migrations','exports','Router','../../components/auth/service','get','index','/fetch'];(function(_0x562cd8,_0x19e34d){var _0x16ee9e=function(_0x10637f){while(--_0x10637f){_0x562cd8['push'](_0x562cd8['shift']());}};_0x16ee9e(++_0x19e34d);}(_0xed32,0xeb));var _0x2ed3=function(_0x1caf6a,_0x26a5bf){_0x1caf6a=_0x1caf6a-0x0;var _0x1bf493=_0xed32[_0x1caf6a];return _0x1bf493;};'use strict';var express=require('express');var router=express[_0x2ed3('0x0')]();var auth=require(_0x2ed3('0x1'));var controller=require('./version.controller');router[_0x2ed3('0x2')]('/',controller[_0x2ed3('0x3')]);router['get'](_0x2ed3('0x4'),auth[_0x2ed3('0x5')](),auth[_0x2ed3('0x6')](),controller[_0x2ed3('0x7')]);router[_0x2ed3('0x2')](_0x2ed3('0x8'),auth[_0x2ed3('0x5')](),auth[_0x2ed3('0x6')](),controller[_0x2ed3('0x9')]);router[_0x2ed3('0x2')](_0x2ed3('0xa'),auth[_0x2ed3('0x5')](),auth[_0x2ed3('0x6')](),controller[_0x2ed3('0xb')]);router[_0x2ed3('0x2')](_0x2ed3('0xc'),auth[_0x2ed3('0x5')](),controller[_0x2ed3('0xd')]);router[_0x2ed3('0x2')](_0x2ed3('0xe'),controller['migrations']);module[_0x2ed3('0xf')]=router;