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