Built motion from commit (unavailable).|2.3.98
[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 _0x3359=['restart','/migrations','migrations','exports','express','../../components/auth/service','./version.controller','get','index','/fetch','isAuthenticated','canUpdate','fetch','/reset','/pull','pull','/restart'];(function(_0x64f21b,_0x1dd36d){var _0x4ae386=function(_0x1432cc){while(--_0x1432cc){_0x64f21b['push'](_0x64f21b['shift']());}};_0x4ae386(++_0x1dd36d);}(_0x3359,0x114));var _0x9335=function(_0x106a87,_0x26f517){_0x106a87=_0x106a87-0x0;var _0x4add42=_0x3359[_0x106a87];return _0x4add42;};'use strict';var express=require(_0x9335('0x0'));var router=express['Router']();var auth=require(_0x9335('0x1'));var controller=require(_0x9335('0x2'));router[_0x9335('0x3')]('/',controller[_0x9335('0x4')]);router[_0x9335('0x3')](_0x9335('0x5'),auth[_0x9335('0x6')](),auth[_0x9335('0x7')](),controller[_0x9335('0x8')]);router['get'](_0x9335('0x9'),auth[_0x9335('0x6')](),auth['canUpdate'](),controller['reset']);router[_0x9335('0x3')](_0x9335('0xa'),auth[_0x9335('0x6')](),auth[_0x9335('0x7')](),controller[_0x9335('0xb')]);router['get'](_0x9335('0xc'),auth[_0x9335('0x6')](),controller[_0x9335('0xd')]);router['get'](_0x9335('0xe'),controller[_0x9335('0xf')]);module[_0x9335('0x10')]=router;