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