Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / campaign / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xdceb=['isAuthenticated','/:id','show','getHoppers','/:id/hopper_histories','getHopperHistories','getHopperFinals','/:id/hopper_black','/:id/lists','getLists','/:id/blacklists','post','create','/:id/clone','addBlackLists','put','update','destroy','delete','removeBlackLists','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./campaign.controller','get'];(function(_0x52acf9,_0x325d20){var _0x11530c=function(_0x78af62){while(--_0x78af62){_0x52acf9['push'](_0x52acf9['shift']());}};_0x11530c(++_0x325d20);}(_0xdceb,0x1d5));var _0xbdce=function(_0x353fa3,_0x319079){_0x353fa3=_0x353fa3-0x0;var _0x4a5dc4=_0xdceb[_0x353fa3];return _0x4a5dc4;};'use strict';var multer=require(_0xbdce('0x0'));var util=require(_0xbdce('0x1'));var path=require(_0xbdce('0x2'));var timeout=require(_0xbdce('0x3'));var express=require(_0xbdce('0x4'));var router=express[_0xbdce('0x5')]();var fs_extra=require(_0xbdce('0x6'));var auth=require(_0xbdce('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xbdce('0x8'));var controller=require(_0xbdce('0x9'));router[_0xbdce('0xa')]('/',auth[_0xbdce('0xb')](),controller['index']);router['get'](_0xbdce('0xc'),auth[_0xbdce('0xb')](),controller[_0xbdce('0xd')]);router[_0xbdce('0xa')]('/:id/hoppers',auth[_0xbdce('0xb')](),controller[_0xbdce('0xe')]);router[_0xbdce('0xa')](_0xbdce('0xf'),auth[_0xbdce('0xb')](),controller[_0xbdce('0x10')]);router[_0xbdce('0xa')]('/:id/hopper_finals',auth[_0xbdce('0xb')](),controller[_0xbdce('0x11')]);router[_0xbdce('0xa')](_0xbdce('0x12'),auth[_0xbdce('0xb')](),controller['getHopperBlacks']);router['get'](_0xbdce('0x13'),auth[_0xbdce('0xb')](),controller[_0xbdce('0x14')]);router[_0xbdce('0xa')](_0xbdce('0x15'),auth[_0xbdce('0xb')](),controller['getBlackLists']);router[_0xbdce('0x16')]('/',auth[_0xbdce('0xb')](),controller[_0xbdce('0x17')]);router[_0xbdce('0x16')](_0xbdce('0x18'),auth[_0xbdce('0xb')](),controller['clone']);router[_0xbdce('0x16')](_0xbdce('0x13'),auth[_0xbdce('0xb')](),controller['addLists']);router[_0xbdce('0x16')](_0xbdce('0x15'),auth['isAuthenticated'](),controller[_0xbdce('0x19')]);router[_0xbdce('0x1a')](_0xbdce('0xc'),auth[_0xbdce('0xb')](),controller[_0xbdce('0x1b')]);router['delete'](_0xbdce('0xc'),auth[_0xbdce('0xb')](),controller[_0xbdce('0x1c')]);router[_0xbdce('0x1d')](_0xbdce('0x13'),auth[_0xbdce('0xb')](),controller['removeLists']);router['delete'](_0xbdce('0x15'),auth[_0xbdce('0xb')](),controller[_0xbdce('0x1e')]);module[_0xbdce('0x1f')]=router;