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 _0xa09a=['/:id/hopper_finals','getHopperFinals','/:id/hopper_black','/:id/lists','getLists','getBlackLists','post','create','/:id/clone','clone','addLists','/:id/blacklists','addBlackLists','put','update','delete','destroy','removeLists','removeBlackLists','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./campaign.controller','isAuthenticated','index','/:id','show','get','/:id/hoppers','/:id/hopper_histories','getHopperHistories'];(function(_0x2f8125,_0x260435){var _0x332dfb=function(_0x12a258){while(--_0x12a258){_0x2f8125['push'](_0x2f8125['shift']());}};_0x332dfb(++_0x260435);}(_0xa09a,0x1e7));var _0xaa09=function(_0x14f8e9,_0x2a4db6){_0x14f8e9=_0x14f8e9-0x0;var _0x53ac0e=_0xa09a[_0x14f8e9];return _0x53ac0e;};'use strict';var multer=require(_0xaa09('0x0'));var util=require(_0xaa09('0x1'));var path=require(_0xaa09('0x2'));var timeout=require(_0xaa09('0x3'));var express=require(_0xaa09('0x4'));var router=express[_0xaa09('0x5')]();var auth=require(_0xaa09('0x6'));var interaction=require(_0xaa09('0x7'));var config=require('../../config/environment');var controller=require(_0xaa09('0x8'));router['get']('/',auth[_0xaa09('0x9')](),controller[_0xaa09('0xa')]);router['get'](_0xaa09('0xb'),auth[_0xaa09('0x9')](),controller[_0xaa09('0xc')]);router[_0xaa09('0xd')](_0xaa09('0xe'),auth[_0xaa09('0x9')](),controller['getHoppers']);router['get'](_0xaa09('0xf'),auth[_0xaa09('0x9')](),controller[_0xaa09('0x10')]);router['get'](_0xaa09('0x11'),auth[_0xaa09('0x9')](),controller[_0xaa09('0x12')]);router['get'](_0xaa09('0x13'),auth[_0xaa09('0x9')](),controller['getHopperBlacks']);router[_0xaa09('0xd')](_0xaa09('0x14'),auth['isAuthenticated'](),controller[_0xaa09('0x15')]);router[_0xaa09('0xd')]('/:id/blacklists',auth[_0xaa09('0x9')](),controller[_0xaa09('0x16')]);router[_0xaa09('0x17')]('/',auth[_0xaa09('0x9')](),controller[_0xaa09('0x18')]);router['post'](_0xaa09('0x19'),auth['isAuthenticated'](),controller[_0xaa09('0x1a')]);router[_0xaa09('0x17')](_0xaa09('0x14'),auth[_0xaa09('0x9')](),controller[_0xaa09('0x1b')]);router['post'](_0xaa09('0x1c'),auth[_0xaa09('0x9')](),controller[_0xaa09('0x1d')]);router[_0xaa09('0x1e')](_0xaa09('0xb'),auth[_0xaa09('0x9')](),controller[_0xaa09('0x1f')]);router[_0xaa09('0x20')](_0xaa09('0xb'),auth['isAuthenticated'](),controller[_0xaa09('0x21')]);router[_0xaa09('0x20')](_0xaa09('0x14'),auth[_0xaa09('0x9')](),controller[_0xaa09('0x22')]);router[_0xaa09('0x20')](_0xaa09('0x1c'),auth[_0xaa09('0x9')](),controller[_0xaa09('0x23')]);module['exports']=router;