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 _0x8c9f=['./cmHopperFinal.controller','get','isAuthenticated','index','/describe','/:id','show','countContactsQueueCampaignHopperFinal','/campaign/countAttributes/:id','post','/voice/queue/moveContacts/:id','moveContactsQueueCampaignHopperFinal','/voice/campaign/moveContacts/:id','moveContactsIvrCampaignHopperFinal','/checkContactHopper','put','exports','multer','path','express','../../components/auth/service','../../components/interaction/service'];(function(_0x2814af,_0x58ddac){var _0x2a5cf6=function(_0x3a48d3){while(--_0x3a48d3){_0x2814af['push'](_0x2814af['shift']());}};_0x2a5cf6(++_0x58ddac);}(_0x8c9f,0x1c9));var _0xf8c9=function(_0x5e77a5,_0x3234a3){_0x5e77a5=_0x5e77a5-0x0;var _0x2f0f03=_0x8c9f[_0x5e77a5];return _0x2f0f03;};'use strict';var multer=require(_0xf8c9('0x0'));var util=require('util');var path=require(_0xf8c9('0x1'));var timeout=require('connect-timeout');var express=require(_0xf8c9('0x2'));var router=express['Router']();var auth=require(_0xf8c9('0x3'));var interaction=require(_0xf8c9('0x4'));var config=require('../../config/environment');var controller=require(_0xf8c9('0x5'));router[_0xf8c9('0x6')]('/',auth[_0xf8c9('0x7')](),controller[_0xf8c9('0x8')]);router[_0xf8c9('0x6')](_0xf8c9('0x9'),auth[_0xf8c9('0x7')](),controller['describe']);router[_0xf8c9('0x6')](_0xf8c9('0xa'),auth['isAuthenticated'](),controller[_0xf8c9('0xb')]);router['get']('/voice/queue/countAttributes/:id',auth[_0xf8c9('0x7')](),controller[_0xf8c9('0xc')]);router[_0xf8c9('0x6')](_0xf8c9('0xd'),auth['isAuthenticated'](),controller['countContactsIvrCampaignHopperFinal']);router[_0xf8c9('0xe')](_0xf8c9('0xf'),auth['isAuthenticated'](),controller[_0xf8c9('0x10')]);router['post'](_0xf8c9('0x11'),auth['isAuthenticated'](),controller[_0xf8c9('0x12')]);router[_0xf8c9('0xe')](_0xf8c9('0x13'),auth[_0xf8c9('0x7')](),controller['checkContactHopper']);router[_0xf8c9('0x14')]('/:id',auth[_0xf8c9('0x7')](),controller['update']);module[_0xf8c9('0x15')]=router;