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 _0xffae=['update','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','/describe','describe','/:id','show','post','create','put'];(function(_0x1c7c28,_0x5d7633){var _0x1fa3ea=function(_0x16c600){while(--_0x16c600){_0x1c7c28['push'](_0x1c7c28['shift']());}};_0x1fa3ea(++_0x5d7633);}(_0xffae,0x73));var _0xeffa=function(_0x539472,_0x399b1a){_0x539472=_0x539472-0x0;var _0xfc77a9=_0xffae[_0x539472];return _0xfc77a9;};'use strict';var multer=require(_0xeffa('0x0'));var util=require(_0xeffa('0x1'));var path=require(_0xeffa('0x2'));var timeout=require(_0xeffa('0x3'));var express=require(_0xeffa('0x4'));var router=express[_0xeffa('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xeffa('0x6'));var config=require(_0xeffa('0x7'));var controller=require(_0xeffa('0x8'));router[_0xeffa('0x9')]('/',auth[_0xeffa('0xa')](),controller['index']);router[_0xeffa('0x9')](_0xeffa('0xb'),auth[_0xeffa('0xa')](),controller[_0xeffa('0xc')]);router[_0xeffa('0x9')](_0xeffa('0xd'),auth['isAuthenticated'](),controller[_0xeffa('0xe')]);router[_0xeffa('0xf')]('/',auth[_0xeffa('0xa')](),controller[_0xeffa('0x10')]);router[_0xeffa('0x11')](_0xeffa('0xd'),auth[_0xeffa('0xa')](),controller[_0xeffa('0x12')]);module['exports']=router;