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 _0x52a3=['connect-timeout','express','Router','fs-extra','../../config/environment','./cmHopperHistory.controller','isAuthenticated','index','get','/describe','/:id','post','create','put','update','multer','util','path'];(function(_0x368fb9,_0x1a9895){var _0x4892fb=function(_0x28d735){while(--_0x28d735){_0x368fb9['push'](_0x368fb9['shift']());}};_0x4892fb(++_0x1a9895);}(_0x52a3,0x10b));var _0x352a=function(_0x590b85,_0x246f7d){_0x590b85=_0x590b85-0x0;var _0x4c7996=_0x52a3[_0x590b85];return _0x4c7996;};'use strict';var multer=require(_0x352a('0x0'));var util=require(_0x352a('0x1'));var path=require(_0x352a('0x2'));var timeout=require(_0x352a('0x3'));var express=require(_0x352a('0x4'));var router=express[_0x352a('0x5')]();var fs_extra=require(_0x352a('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x352a('0x7'));var controller=require(_0x352a('0x8'));router['get']('/',auth[_0x352a('0x9')](),controller[_0x352a('0xa')]);router[_0x352a('0xb')](_0x352a('0xc'),auth[_0x352a('0x9')](),controller['describe']);router['get'](_0x352a('0xd'),auth[_0x352a('0x9')](),controller['show']);router[_0x352a('0xe')]('/',auth[_0x352a('0x9')](),controller[_0x352a('0xf')]);router[_0x352a('0x10')](_0x352a('0xd'),auth[_0x352a('0x9')](),controller[_0x352a('0x11')]);module['exports']=router;