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