Built motion from commit (unavailable).|2.5.6
[motion2.git] / server / api / cmHopperHistory / 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 _0xe02e=['isAuthenticated','index','/describe','describe','/:id','show','post','create','update','exports','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get'];(function(_0x1376c3,_0x5175f8){var _0x51e029=function(_0xb7e690){while(--_0xb7e690){_0x1376c3['push'](_0x1376c3['shift']());}};_0x51e029(++_0x5175f8);}(_0xe02e,0x1f0));var _0xee02=function(_0x29b609,_0x19d388){_0x29b609=_0x29b609-0x0;var _0x54c952=_0xe02e[_0x29b609];return _0x54c952;};'use strict';var multer=require('multer');var util=require(_0xee02('0x0'));var path=require(_0xee02('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xee02('0x2')]();var auth=require(_0xee02('0x3'));var interaction=require(_0xee02('0x4'));var config=require(_0xee02('0x5'));var controller=require(_0xee02('0x6'));router[_0xee02('0x7')]('/',auth[_0xee02('0x8')](),controller[_0xee02('0x9')]);router['get'](_0xee02('0xa'),auth[_0xee02('0x8')](),controller[_0xee02('0xb')]);router[_0xee02('0x7')](_0xee02('0xc'),auth['isAuthenticated'](),controller[_0xee02('0xd')]);router[_0xee02('0xe')]('/',auth['isAuthenticated'](),controller[_0xee02('0xf')]);router['put'](_0xee02('0xc'),auth[_0xee02('0x8')](),controller[_0xee02('0x10')]);module[_0xee02('0x11')]=router;