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 _0x3aab=['post','create','update','exports','multer','util','express','../../components/auth/service','../../components/interaction/service','./cmHopperHistory.controller','isAuthenticated','get','/describe','describe','/:id','show'];(function(_0x385c76,_0xb97335){var _0x5c8367=function(_0xdfcd3){while(--_0xdfcd3){_0x385c76['push'](_0x385c76['shift']());}};_0x5c8367(++_0xb97335);}(_0x3aab,0x64));var _0xb3aa=function(_0x2dc7d1,_0x523544){_0x2dc7d1=_0x2dc7d1-0x0;var _0x2b231b=_0x3aab[_0x2dc7d1];return _0x2b231b;};'use strict';var multer=require(_0xb3aa('0x0'));var util=require(_0xb3aa('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb3aa('0x2'));var router=express['Router']();var auth=require(_0xb3aa('0x3'));var interaction=require(_0xb3aa('0x4'));var config=require('../../config/environment');var controller=require(_0xb3aa('0x5'));router['get']('/',auth[_0xb3aa('0x6')](),controller['index']);router[_0xb3aa('0x7')](_0xb3aa('0x8'),auth[_0xb3aa('0x6')](),controller[_0xb3aa('0x9')]);router[_0xb3aa('0x7')](_0xb3aa('0xa'),auth[_0xb3aa('0x6')](),controller[_0xb3aa('0xb')]);router[_0xb3aa('0xc')]('/',auth['isAuthenticated'](),controller[_0xb3aa('0xd')]);router['put']('/:id',auth[_0xb3aa('0x6')](),controller[_0xb3aa('0xe')]);module[_0xb3aa('0xf')]=router;