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 _0xff05=['describe','show','post','put','update','exports','multer','util','path','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated'];(function(_0x550d12,_0x5384bd){var _0x12103d=function(_0x2a9834){while(--_0x2a9834){_0x550d12['push'](_0x550d12['shift']());}};_0x12103d(++_0x5384bd);}(_0xff05,0x126));var _0x5ff0=function(_0x1da1a6,_0x372496){_0x1da1a6=_0x1da1a6-0x0;var _0x550ae3=_0xff05[_0x1da1a6];return _0x550ae3;};'use strict';var multer=require(_0x5ff0('0x0'));var util=require(_0x5ff0('0x1'));var path=require(_0x5ff0('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0x5ff0('0x3'));var auth=require(_0x5ff0('0x4'));var interaction=require(_0x5ff0('0x5'));var config=require(_0x5ff0('0x6'));var controller=require(_0x5ff0('0x7'));router[_0x5ff0('0x8')]('/',auth[_0x5ff0('0x9')](),controller['index']);router['get']('/describe',auth[_0x5ff0('0x9')](),controller[_0x5ff0('0xa')]);router[_0x5ff0('0x8')]('/:id',auth[_0x5ff0('0x9')](),controller[_0x5ff0('0xb')]);router[_0x5ff0('0xc')]('/',auth[_0x5ff0('0x9')](),controller['create']);router[_0x5ff0('0xd')]('/:id',auth[_0x5ff0('0x9')](),controller[_0x5ff0('0xe')]);module[_0x5ff0('0xf')]=router;