1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x6829=['express','Router','../../components/interaction/service','isAuthenticated','index','/describe','describe','get','/:id','show','post','create','put','update','exports','multer','util','path','connect-timeout'];(function(_0x1a96cf,_0x126437){var _0x1ffd8c=function(_0x2f09bf){while(--_0x2f09bf){_0x1a96cf['push'](_0x1a96cf['shift']());}};_0x1ffd8c(++_0x126437);}(_0x6829,0xf3));var _0x9682=function(_0x376b45,_0x5964fb){_0x376b45=_0x376b45-0x0;var _0x2341b3=_0x6829[_0x376b45];return _0x2341b3;};'use strict';var multer=require(_0x9682('0x0'));var util=require(_0x9682('0x1'));var path=require(_0x9682('0x2'));var timeout=require(_0x9682('0x3'));var express=require(_0x9682('0x4'));var router=express[_0x9682('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x9682('0x6'));var config=require('../../config/environment');var controller=require('./cmHopperHistory.controller');router['get']('/',auth[_0x9682('0x7')](),controller[_0x9682('0x8')]);router['get'](_0x9682('0x9'),auth['isAuthenticated'](),controller[_0x9682('0xa')]);router[_0x9682('0xb')](_0x9682('0xc'),auth['isAuthenticated'](),controller[_0x9682('0xd')]);router[_0x9682('0xe')]('/',auth[_0x9682('0x7')](),controller[_0x9682('0xf')]);router[_0x9682('0x10')](_0x9682('0xc'),auth[_0x9682('0x7')](),controller[_0x9682('0x11')]);module[_0x9682('0x12')]=router;