Built motion from commit da617fac.|2.6.6
[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 _0x6310=['get','/fetch','isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','/migrations','exports','express','Router','../../components/auth/service','./version.controller','index'];(function(_0x5d5821,_0x59c0df){var _0x4d5408=function(_0x30cecb){while(--_0x30cecb){_0x5d5821['push'](_0x5d5821['shift']());}};_0x4d5408(++_0x59c0df);}(_0x6310,0x14f));var _0x0631=function(_0x13b8f3,_0x442821){_0x13b8f3=_0x13b8f3-0x0;var _0x1a6d06=_0x6310[_0x13b8f3];return _0x1a6d06;};'use strict';var express=require(_0x0631('0x0'));var router=express[_0x0631('0x1')]();var auth=require(_0x0631('0x2'));var controller=require(_0x0631('0x3'));router['get']('/',controller[_0x0631('0x4')]);router[_0x0631('0x5')](_0x0631('0x6'),auth[_0x0631('0x7')](),auth[_0x0631('0x8')](),controller[_0x0631('0x9')]);router['get'](_0x0631('0xa'),auth['isAuthenticated'](),auth[_0x0631('0x8')](),controller[_0x0631('0xb')]);router['get'](_0x0631('0xc'),auth[_0x0631('0x7')](),auth[_0x0631('0x8')](),controller[_0x0631('0xd')]);router[_0x0631('0x5')](_0x0631('0xe'),auth[_0x0631('0x7')](),controller['restart']);router[_0x0631('0x5')](_0x0631('0xf'),controller['migrations']);module[_0x0631('0x10')]=router;