Built motion from commit (unavailable).|2.5.4
[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 _0xa3ec=['/reset','reset','/pull','pull','/restart','restart','/migrations','migrations','exports','express','Router','../../components/auth/service','./version.controller','index','get','isAuthenticated','canUpdate','fetch'];(function(_0x544f04,_0x3ad158){var _0x2f200e=function(_0x5c980c){while(--_0x5c980c){_0x544f04['push'](_0x544f04['shift']());}};_0x2f200e(++_0x3ad158);}(_0xa3ec,0x195));var _0xca3e=function(_0x27c1e3,_0x413cf3){_0x27c1e3=_0x27c1e3-0x0;var _0x2ad841=_0xa3ec[_0x27c1e3];return _0x2ad841;};'use strict';var express=require(_0xca3e('0x0'));var router=express[_0xca3e('0x1')]();var auth=require(_0xca3e('0x2'));var controller=require(_0xca3e('0x3'));router['get']('/',controller[_0xca3e('0x4')]);router[_0xca3e('0x5')]('/fetch',auth[_0xca3e('0x6')](),auth[_0xca3e('0x7')](),controller[_0xca3e('0x8')]);router[_0xca3e('0x5')](_0xca3e('0x9'),auth[_0xca3e('0x6')](),auth[_0xca3e('0x7')](),controller[_0xca3e('0xa')]);router['get'](_0xca3e('0xb'),auth['isAuthenticated'](),auth[_0xca3e('0x7')](),controller[_0xca3e('0xc')]);router[_0xca3e('0x5')](_0xca3e('0xd'),auth[_0xca3e('0x6')](),controller[_0xca3e('0xe')]);router[_0xca3e('0x5')](_0xca3e('0xf'),controller[_0xca3e('0x10')]);module[_0xca3e('0x11')]=router;