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 _0x5334=['post','create','update','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./cmHopperHistory.controller','get','/:id','isAuthenticated','show'];(function(_0x5b7218,_0x51cb1f){var _0x424010=function(_0x430cb9){while(--_0x430cb9){_0x5b7218['push'](_0x5b7218['shift']());}};_0x424010(++_0x51cb1f);}(_0x5334,0x84));var _0x4533=function(_0x10b793,_0x48a66d){_0x10b793=_0x10b793-0x0;var _0x1c50d1=_0x5334[_0x10b793];return _0x1c50d1;};'use strict';var multer=require(_0x4533('0x0'));var util=require(_0x4533('0x1'));var path=require(_0x4533('0x2'));var timeout=require(_0x4533('0x3'));var express=require(_0x4533('0x4'));var router=express['Router']();var auth=require(_0x4533('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x4533('0x6'));var controller=require(_0x4533('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x4533('0x8')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x4533('0x8')](_0x4533('0x9'),auth[_0x4533('0xa')](),controller[_0x4533('0xb')]);router[_0x4533('0xc')]('/',auth[_0x4533('0xa')](),controller[_0x4533('0xd')]);router['put'](_0x4533('0x9'),auth[_0x4533('0xa')](),controller[_0x4533('0xe')]);module[_0x4533('0xf')]=router;