Built motion from commit 994c64e1.|2.6.1
[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 _0x4f1a=['/fetch','isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','restart','exports','express','Router','../../components/auth/service','./version.controller','index','get'];(function(_0x2ceaea,_0x5b2fd7){var _0xf86912=function(_0x5300a4){while(--_0x5300a4){_0x2ceaea['push'](_0x2ceaea['shift']());}};_0xf86912(++_0x5b2fd7);}(_0x4f1a,0xb5));var _0xa4f1=function(_0x259d17,_0x220710){_0x259d17=_0x259d17-0x0;var _0x407535=_0x4f1a[_0x259d17];return _0x407535;};'use strict';var express=require(_0xa4f1('0x0'));var router=express[_0xa4f1('0x1')]();var auth=require(_0xa4f1('0x2'));var controller=require(_0xa4f1('0x3'));router['get']('/',controller[_0xa4f1('0x4')]);router[_0xa4f1('0x5')](_0xa4f1('0x6'),auth[_0xa4f1('0x7')](),auth[_0xa4f1('0x8')](),controller[_0xa4f1('0x9')]);router[_0xa4f1('0x5')](_0xa4f1('0xa'),auth['isAuthenticated'](),auth['canUpdate'](),controller[_0xa4f1('0xb')]);router[_0xa4f1('0x5')](_0xa4f1('0xc'),auth[_0xa4f1('0x7')](),auth['canUpdate'](),controller[_0xa4f1('0xd')]);router[_0xa4f1('0x5')](_0xa4f1('0xe'),auth[_0xa4f1('0x7')](),controller[_0xa4f1('0xf')]);router[_0xa4f1('0x5')]('/migrations',controller['migrations']);module[_0xa4f1('0x10')]=router;