Built motion from commit 00bf23f6.|2.6.16
[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 _0xe883=['post','create','update','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./cmHopperHistory.controller','get','isAuthenticated','index','describe','/:id','show'];(function(_0x11b68e,_0x3ed50f){var _0x563ee0=function(_0x193ef9){while(--_0x193ef9){_0x11b68e['push'](_0x11b68e['shift']());}};_0x563ee0(++_0x3ed50f);}(_0xe883,0x10e));var _0x3e88=function(_0x12fc8d,_0x19ee33){_0x12fc8d=_0x12fc8d-0x0;var _0x3f9d04=_0xe883[_0x12fc8d];return _0x3f9d04;};'use strict';var multer=require(_0x3e88('0x0'));var util=require(_0x3e88('0x1'));var path=require('path');var timeout=require(_0x3e88('0x2'));var express=require(_0x3e88('0x3'));var router=express[_0x3e88('0x4')]();var fs_extra=require(_0x3e88('0x5'));var auth=require(_0x3e88('0x6'));var interaction=require(_0x3e88('0x7'));var config=require('../../config/environment');var controller=require(_0x3e88('0x8'));router[_0x3e88('0x9')]('/',auth[_0x3e88('0xa')](),controller[_0x3e88('0xb')]);router[_0x3e88('0x9')]('/describe',auth[_0x3e88('0xa')](),controller[_0x3e88('0xc')]);router[_0x3e88('0x9')](_0x3e88('0xd'),auth['isAuthenticated'](),controller[_0x3e88('0xe')]);router[_0x3e88('0xf')]('/',auth[_0x3e88('0xa')](),controller[_0x3e88('0x10')]);router['put'](_0x3e88('0xd'),auth[_0x3e88('0xa')](),controller[_0x3e88('0x11')]);module[_0x3e88('0x12')]=router;