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