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 _0x449e=['update','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./cmHopperHistory.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create','put'];(function(_0x687ddc,_0x2092fa){var _0x441991=function(_0x49c6a6){while(--_0x49c6a6){_0x687ddc['push'](_0x687ddc['shift']());}};_0x441991(++_0x2092fa);}(_0x449e,0xca));var _0xe449=function(_0x2ae0af,_0x2ba5f2){_0x2ae0af=_0x2ae0af-0x0;var _0xbd8402=_0x449e[_0x2ae0af];return _0xbd8402;};'use strict';var multer=require(_0xe449('0x0'));var util=require(_0xe449('0x1'));var path=require(_0xe449('0x2'));var timeout=require(_0xe449('0x3'));var express=require(_0xe449('0x4'));var router=express['Router']();var fs_extra=require(_0xe449('0x5'));var auth=require(_0xe449('0x6'));var interaction=require(_0xe449('0x7'));var config=require('../../config/environment');var controller=require(_0xe449('0x8'));router[_0xe449('0x9')]('/',auth[_0xe449('0xa')](),controller[_0xe449('0xb')]);router[_0xe449('0x9')](_0xe449('0xc'),auth[_0xe449('0xa')](),controller[_0xe449('0xd')]);router[_0xe449('0x9')](_0xe449('0xe'),auth['isAuthenticated'](),controller[_0xe449('0xf')]);router['post']('/',auth[_0xe449('0xa')](),controller[_0xe449('0x10')]);router[_0xe449('0x11')](_0xe449('0xe'),auth['isAuthenticated'](),controller[_0xe449('0x12')]);module[_0xe449('0x13')]=router;