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