Built motion from commit d69f4380.|2.6.29
[motion2.git] / server / api / campaign / index.js
index be146dd..197a2e9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa942=['removeBlackLists','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../config/environment','index','get','/:id','isAuthenticated','show','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','getHopperFinals','/:id/hopper_black','/:id/lists','getLists','/:id/blacklists','post','/:id/clone','clone','addLists','addBlackLists','put','update','delete','destroy','removeLists'];(function(_0x290354,_0x44e8a4){var _0x587db5=function(_0x5185fd){while(--_0x5185fd){_0x290354['push'](_0x290354['shift']());}};_0x587db5(++_0x44e8a4);}(_0xa942,0xc8));var _0x2a94=function(_0x31d9a6,_0x1b1bbd){_0x31d9a6=_0x31d9a6-0x0;var _0x376328=_0xa942[_0x31d9a6];return _0x376328;};'use strict';var multer=require(_0x2a94('0x0'));var util=require(_0x2a94('0x1'));var path=require(_0x2a94('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2a94('0x3')]();var fs_extra=require(_0x2a94('0x4'));var auth=require(_0x2a94('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x2a94('0x6'));var controller=require('./campaign.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x2a94('0x7')]);router[_0x2a94('0x8')](_0x2a94('0x9'),auth[_0x2a94('0xa')](),controller[_0x2a94('0xb')]);router[_0x2a94('0x8')](_0x2a94('0xc'),auth[_0x2a94('0xa')](),controller[_0x2a94('0xd')]);router[_0x2a94('0x8')](_0x2a94('0xe'),auth[_0x2a94('0xa')](),controller[_0x2a94('0xf')]);router['get']('/:id/hopper_finals',auth['isAuthenticated'](),controller[_0x2a94('0x10')]);router[_0x2a94('0x8')](_0x2a94('0x11'),auth[_0x2a94('0xa')](),controller['getHopperBlacks']);router[_0x2a94('0x8')](_0x2a94('0x12'),auth[_0x2a94('0xa')](),controller[_0x2a94('0x13')]);router['get'](_0x2a94('0x14'),auth[_0x2a94('0xa')](),controller['getBlackLists']);router['post']('/',auth[_0x2a94('0xa')](),controller['create']);router[_0x2a94('0x15')](_0x2a94('0x16'),auth['isAuthenticated'](),controller[_0x2a94('0x17')]);router[_0x2a94('0x15')]('/:id/lists',auth['isAuthenticated'](),controller[_0x2a94('0x18')]);router[_0x2a94('0x15')](_0x2a94('0x14'),auth[_0x2a94('0xa')](),controller[_0x2a94('0x19')]);router[_0x2a94('0x1a')]('/:id',auth[_0x2a94('0xa')](),controller[_0x2a94('0x1b')]);router[_0x2a94('0x1c')]('/:id',auth[_0x2a94('0xa')](),controller[_0x2a94('0x1d')]);router[_0x2a94('0x1c')](_0x2a94('0x12'),auth[_0x2a94('0xa')](),controller[_0x2a94('0x1e')]);router['delete'](_0x2a94('0x14'),auth[_0x2a94('0xa')](),controller[_0x2a94('0x1f')]);module[_0x2a94('0x20')]=router;
\ No newline at end of file
+var _0x0a0b=['/:id','show','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','/:id/blacklists','post','create','clone','addLists','addBlackLists','update','delete','destroy','removeLists','multer','util','path','Router','fs-extra','../../components/interaction/service','../../config/environment','./campaign.controller','get','isAuthenticated','index'];(function(_0x4ff09b,_0x53f67d){var _0x3f5c2e=function(_0x124592){while(--_0x124592){_0x4ff09b['push'](_0x4ff09b['shift']());}};_0x3f5c2e(++_0x53f67d);}(_0x0a0b,0x71));var _0xb0a0=function(_0x7025b0,_0x9533f1){_0x7025b0=_0x7025b0-0x0;var _0x6e444c=_0x0a0b[_0x7025b0];return _0x6e444c;};'use strict';var multer=require(_0xb0a0('0x0'));var util=require(_0xb0a0('0x1'));var path=require(_0xb0a0('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xb0a0('0x3')]();var fs_extra=require(_0xb0a0('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xb0a0('0x5'));var config=require(_0xb0a0('0x6'));var controller=require(_0xb0a0('0x7'));router[_0xb0a0('0x8')]('/',auth[_0xb0a0('0x9')](),controller[_0xb0a0('0xa')]);router[_0xb0a0('0x8')](_0xb0a0('0xb'),auth['isAuthenticated'](),controller[_0xb0a0('0xc')]);router[_0xb0a0('0x8')]('/:id/hoppers',auth[_0xb0a0('0x9')](),controller[_0xb0a0('0xd')]);router[_0xb0a0('0x8')](_0xb0a0('0xe'),auth[_0xb0a0('0x9')](),controller[_0xb0a0('0xf')]);router[_0xb0a0('0x8')](_0xb0a0('0x10'),auth[_0xb0a0('0x9')](),controller['getHopperFinals']);router[_0xb0a0('0x8')](_0xb0a0('0x11'),auth['isAuthenticated'](),controller[_0xb0a0('0x12')]);router[_0xb0a0('0x8')](_0xb0a0('0x13'),auth['isAuthenticated'](),controller[_0xb0a0('0x14')]);router[_0xb0a0('0x8')](_0xb0a0('0x15'),auth[_0xb0a0('0x9')](),controller['getBlackLists']);router[_0xb0a0('0x16')]('/',auth[_0xb0a0('0x9')](),controller[_0xb0a0('0x17')]);router[_0xb0a0('0x16')]('/:id/clone',auth[_0xb0a0('0x9')](),controller[_0xb0a0('0x18')]);router[_0xb0a0('0x16')](_0xb0a0('0x13'),auth[_0xb0a0('0x9')](),controller[_0xb0a0('0x19')]);router[_0xb0a0('0x16')]('/:id/blacklists',auth[_0xb0a0('0x9')](),controller[_0xb0a0('0x1a')]);router['put'](_0xb0a0('0xb'),auth[_0xb0a0('0x9')](),controller[_0xb0a0('0x1b')]);router[_0xb0a0('0x1c')](_0xb0a0('0xb'),auth['isAuthenticated'](),controller[_0xb0a0('0x1d')]);router['delete'](_0xb0a0('0x13'),auth[_0xb0a0('0x9')](),controller[_0xb0a0('0x1e')]);router[_0xb0a0('0x1c')](_0xb0a0('0x15'),auth[_0xb0a0('0x9')](),controller['removeBlackLists']);module['exports']=router;
\ No newline at end of file