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 _0xc41b=['util','path','connect-timeout','Router','fs-extra','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','countContactsQueueCampaignHopperFinal','countContactsIvrCampaignHopperFinal','post','/voice/queue/moveContacts/:id','moveContactsQueueCampaignHopperFinal','/voice/campaign/moveContacts/:id','moveContactsIvrCampaignHopperFinal','/checkContactHopper','put','exports'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xc41b,0x9a));var _0xbc41=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0xc41b[_0x59ee6f];return _0x4c0979;};'use strict';var multer=require('multer');var util=require(_0xbc41('0x0'));var path=require(_0xbc41('0x1'));var timeout=require(_0xbc41('0x2'));var express=require('express');var router=express[_0xbc41('0x3')]();var fs_extra=require(_0xbc41('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xbc41('0x5'));var controller=require('./cmHopperFinal.controller');router['get']('/',auth[_0xbc41('0x6')](),controller[_0xbc41('0x7')]);router[_0xbc41('0x8')](_0xbc41('0x9'),auth[_0xbc41('0x6')](),controller[_0xbc41('0xa')]);router[_0xbc41('0x8')](_0xbc41('0xb'),auth['isAuthenticated'](),controller['show']);router[_0xbc41('0x8')]('/voice/queue/countAttributes/:id',auth[_0xbc41('0x6')](),controller[_0xbc41('0xc')]);router[_0xbc41('0x8')]('/campaign/countAttributes/:id',auth[_0xbc41('0x6')](),controller[_0xbc41('0xd')]);router[_0xbc41('0xe')](_0xbc41('0xf'),auth['isAuthenticated'](),controller[_0xbc41('0x10')]);router[_0xbc41('0xe')](_0xbc41('0x11'),auth['isAuthenticated'](),controller[_0xbc41('0x12')]);router[_0xbc41('0xe')](_0xbc41('0x13'),auth['isAuthenticated'](),controller['checkContactHopper']);router[_0xbc41('0x14')]('/:id',auth[_0xbc41('0x6')](),controller['update']);module[_0xbc41('0x15')]=router;