Built motion from commit (unavailable).|2.4.17
[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 _0xdf8a=['../../components/auth/service','./version.controller','get','index','isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','restart','/migrations','migrations'];(function(_0x3e3bee,_0x4f91fe){var _0x3ae14c=function(_0x3861a0){while(--_0x3861a0){_0x3e3bee['push'](_0x3e3bee['shift']());}};_0x3ae14c(++_0x4f91fe);}(_0xdf8a,0xe1));var _0xadf8=function(_0x4fdcc0,_0x560a01){_0x4fdcc0=_0x4fdcc0-0x0;var _0xc0ce94=_0xdf8a[_0x4fdcc0];return _0xc0ce94;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0xadf8('0x0'));var controller=require(_0xadf8('0x1'));router[_0xadf8('0x2')]('/',controller[_0xadf8('0x3')]);router[_0xadf8('0x2')]('/fetch',auth[_0xadf8('0x4')](),auth[_0xadf8('0x5')](),controller[_0xadf8('0x6')]);router[_0xadf8('0x2')](_0xadf8('0x7'),auth[_0xadf8('0x4')](),auth[_0xadf8('0x5')](),controller[_0xadf8('0x8')]);router[_0xadf8('0x2')](_0xadf8('0x9'),auth[_0xadf8('0x4')](),auth[_0xadf8('0x5')](),controller[_0xadf8('0xa')]);router[_0xadf8('0x2')](_0xadf8('0xb'),auth[_0xadf8('0x4')](),controller[_0xadf8('0xc')]);router[_0xadf8('0x2')](_0xadf8('0xd'),controller[_0xadf8('0xe')]);module['exports']=router;