8e9c52ff28de60024bfb53c9b618dfbdfafa40c3
[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 _0xf322=['isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','restart','/migrations','migrations','exports','express','Router','../../components/auth/service','./version.controller','get','index','/fetch'];(function(_0x25f424,_0x41a8a8){var _0xfad9a2=function(_0x479d49){while(--_0x479d49){_0x25f424['push'](_0x25f424['shift']());}};_0xfad9a2(++_0x41a8a8);}(_0xf322,0x175));var _0x2f32=function(_0x4f7a28,_0x4fbe24){_0x4f7a28=_0x4f7a28-0x0;var _0x4574bb=_0xf322[_0x4f7a28];return _0x4574bb;};'use strict';var express=require(_0x2f32('0x0'));var router=express[_0x2f32('0x1')]();var auth=require(_0x2f32('0x2'));var controller=require(_0x2f32('0x3'));router[_0x2f32('0x4')]('/',controller[_0x2f32('0x5')]);router[_0x2f32('0x4')](_0x2f32('0x6'),auth[_0x2f32('0x7')](),auth[_0x2f32('0x8')](),controller[_0x2f32('0x9')]);router[_0x2f32('0x4')](_0x2f32('0xa'),auth['isAuthenticated'](),auth[_0x2f32('0x8')](),controller[_0x2f32('0xb')]);router['get'](_0x2f32('0xc'),auth[_0x2f32('0x7')](),auth['canUpdate'](),controller[_0x2f32('0xd')]);router[_0x2f32('0x4')](_0x2f32('0xe'),auth[_0x2f32('0x7')](),controller[_0x2f32('0xf')]);router['get'](_0x2f32('0x10'),controller[_0x2f32('0x11')]);module[_0x2f32('0x12')]=router;