Built motion from commit (unavailable).|2.4.8
[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 _0x66d6=['/restart','/migrations','migrations','exports','express','Router','../../components/auth/service','./version.controller','get','index','/fetch','isAuthenticated','canUpdate','fetch','/reset','pull'];(function(_0xff9148,_0x40d1d2){var _0xd973cb=function(_0x1bd308){while(--_0x1bd308){_0xff9148['push'](_0xff9148['shift']());}};_0xd973cb(++_0x40d1d2);}(_0x66d6,0x1e4));var _0x666d=function(_0x3962b6,_0x40f112){_0x3962b6=_0x3962b6-0x0;var _0xbe12e4=_0x66d6[_0x3962b6];return _0xbe12e4;};'use strict';var express=require(_0x666d('0x0'));var router=express[_0x666d('0x1')]();var auth=require(_0x666d('0x2'));var controller=require(_0x666d('0x3'));router[_0x666d('0x4')]('/',controller[_0x666d('0x5')]);router[_0x666d('0x4')](_0x666d('0x6'),auth[_0x666d('0x7')](),auth[_0x666d('0x8')](),controller[_0x666d('0x9')]);router[_0x666d('0x4')](_0x666d('0xa'),auth[_0x666d('0x7')](),auth['canUpdate'](),controller['reset']);router[_0x666d('0x4')]('/pull',auth[_0x666d('0x7')](),auth[_0x666d('0x8')](),controller[_0x666d('0xb')]);router['get'](_0x666d('0xc'),auth[_0x666d('0x7')](),controller['restart']);router['get'](_0x666d('0xd'),controller[_0x666d('0xe')]);module[_0x666d('0xf')]=router;