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