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 _0xfa25=['exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/describe','describe','/:id','show','/voice/queue/countAttributes/:id','countContactsQueueCampaignHopperFinal','countContactsIvrCampaignHopperFinal','/voice/queue/moveContacts/:id','moveContactsQueueCampaignHopperFinal','post','/voice/campaign/moveContacts/:id','moveContactsIvrCampaignHopperFinal','/checkContactHopper','checkContactHopper','put'];(function(_0x1d0582,_0x566c25){var _0x1e70da=function(_0x1c701c){while(--_0x1c701c){_0x1d0582['push'](_0x1d0582['shift']());}};_0x1e70da(++_0x566c25);}(_0xfa25,0xd1));var _0x5fa2=function(_0x248902,_0x5bb080){_0x248902=_0x248902-0x0;var _0x3d0260=_0xfa25[_0x248902];return _0x3d0260;};'use strict';var multer=require('multer');var util=require(_0x5fa2('0x0'));var path=require(_0x5fa2('0x1'));var timeout=require(_0x5fa2('0x2'));var express=require(_0x5fa2('0x3'));var router=express[_0x5fa2('0x4')]();var fs_extra=require(_0x5fa2('0x5'));var auth=require(_0x5fa2('0x6'));var interaction=require(_0x5fa2('0x7'));var config=require('../../config/environment');var controller=require('./cmHopperFinal.controller');router[_0x5fa2('0x8')]('/',auth[_0x5fa2('0x9')](),controller['index']);router['get'](_0x5fa2('0xa'),auth['isAuthenticated'](),controller[_0x5fa2('0xb')]);router[_0x5fa2('0x8')](_0x5fa2('0xc'),auth['isAuthenticated'](),controller[_0x5fa2('0xd')]);router[_0x5fa2('0x8')](_0x5fa2('0xe'),auth['isAuthenticated'](),controller[_0x5fa2('0xf')]);router['get']('/campaign/countAttributes/:id',auth[_0x5fa2('0x9')](),controller[_0x5fa2('0x10')]);router['post'](_0x5fa2('0x11'),auth[_0x5fa2('0x9')](),controller[_0x5fa2('0x12')]);router[_0x5fa2('0x13')](_0x5fa2('0x14'),auth[_0x5fa2('0x9')](),controller[_0x5fa2('0x15')]);router[_0x5fa2('0x13')](_0x5fa2('0x16'),auth[_0x5fa2('0x9')](),controller[_0x5fa2('0x17')]);router[_0x5fa2('0x18')](_0x5fa2('0xc'),auth[_0x5fa2('0x9')](),controller['update']);module[_0x5fa2('0x19')]=router;