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