Built motion from commit (unavailable).|2.5.14
[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 _0x2c58=['canUpdate','fetch','/reset','isAuthenticated','reset','/pull','/restart','restart','/migrations','migrations','exports','Router','../../components/auth/service','./version.controller','index','get'];(function(_0x2a2d7a,_0x3638fa){var _0x122240=function(_0x484c0f){while(--_0x484c0f){_0x2a2d7a['push'](_0x2a2d7a['shift']());}};_0x122240(++_0x3638fa);}(_0x2c58,0x1ab));var _0x82c5=function(_0x587831,_0x125cf8){_0x587831=_0x587831-0x0;var _0x4aee37=_0x2c58[_0x587831];return _0x4aee37;};'use strict';var express=require('express');var router=express[_0x82c5('0x0')]();var auth=require(_0x82c5('0x1'));var controller=require(_0x82c5('0x2'));router['get']('/',controller[_0x82c5('0x3')]);router[_0x82c5('0x4')]('/fetch',auth['isAuthenticated'](),auth[_0x82c5('0x5')](),controller[_0x82c5('0x6')]);router[_0x82c5('0x4')](_0x82c5('0x7'),auth[_0x82c5('0x8')](),auth[_0x82c5('0x5')](),controller[_0x82c5('0x9')]);router[_0x82c5('0x4')](_0x82c5('0xa'),auth['isAuthenticated'](),auth[_0x82c5('0x5')](),controller['pull']);router[_0x82c5('0x4')](_0x82c5('0xb'),auth[_0x82c5('0x8')](),controller[_0x82c5('0xc')]);router[_0x82c5('0x4')](_0x82c5('0xd'),controller[_0x82c5('0xe')]);module[_0x82c5('0xf')]=router;