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