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 _0xbfd2=['exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./cmHopperHistory.controller','get','/describe','/:id','isAuthenticated','show','post','put'];(function(_0x129534,_0x560a44){var _0x430eb4=function(_0x3454ab){while(--_0x3454ab){_0x129534['push'](_0x129534['shift']());}};_0x430eb4(++_0x560a44);}(_0xbfd2,0x166));var _0x2bfd=function(_0xa02f30,_0x3eb907){_0xa02f30=_0xa02f30-0x0;var _0x36f284=_0xbfd2[_0xa02f30];return _0x36f284;};'use strict';var multer=require('multer');var util=require(_0x2bfd('0x0'));var path=require(_0x2bfd('0x1'));var timeout=require(_0x2bfd('0x2'));var express=require(_0x2bfd('0x3'));var router=express[_0x2bfd('0x4')]();var fs_extra=require(_0x2bfd('0x5'));var auth=require(_0x2bfd('0x6'));var interaction=require(_0x2bfd('0x7'));var config=require('../../config/environment');var controller=require(_0x2bfd('0x8'));router[_0x2bfd('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x2bfd('0x9')](_0x2bfd('0xa'),auth['isAuthenticated'](),controller['describe']);router['get'](_0x2bfd('0xb'),auth[_0x2bfd('0xc')](),controller[_0x2bfd('0xd')]);router[_0x2bfd('0xe')]('/',auth[_0x2bfd('0xc')](),controller['create']);router[_0x2bfd('0xf')]('/:id',auth['isAuthenticated'](),controller['update']);module[_0x2bfd('0x10')]=router;