Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / campaign / index.js
index ff2fc4d..1b1f9e8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x45b0=['getBlackLists','post','create','/:id/clone','clone','addLists','addBlackLists','removeLists','delete','exports','multer','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','./campaign.controller','get','isAuthenticated','/:id','show','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/hopper_black','/:id/lists','getLists','/:id/blacklists'];(function(_0x499762,_0x3f3f22){var _0xe96e89=function(_0x101d66){while(--_0x101d66){_0x499762['push'](_0x499762['shift']());}};_0xe96e89(++_0x3f3f22);}(_0x45b0,0x10a));var _0x045b=function(_0xc30a46,_0x434a56){_0xc30a46=_0xc30a46-0x0;var _0x309b91=_0x45b0[_0xc30a46];return _0x309b91;};'use strict';var multer=require(_0x045b('0x0'));var util=require(_0x045b('0x1'));var path=require(_0x045b('0x2'));var timeout=require('connect-timeout');var express=require(_0x045b('0x3'));var router=express['Router']();var fs_extra=require(_0x045b('0x4'));var auth=require(_0x045b('0x5'));var interaction=require(_0x045b('0x6'));var config=require('../../config/environment');var controller=require(_0x045b('0x7'));router[_0x045b('0x8')]('/',auth[_0x045b('0x9')](),controller['index']);router[_0x045b('0x8')](_0x045b('0xa'),auth[_0x045b('0x9')](),controller[_0x045b('0xb')]);router['get'](_0x045b('0xc'),auth['isAuthenticated'](),controller[_0x045b('0xd')]);router[_0x045b('0x8')](_0x045b('0xe'),auth['isAuthenticated'](),controller[_0x045b('0xf')]);router[_0x045b('0x8')](_0x045b('0x10'),auth[_0x045b('0x9')](),controller[_0x045b('0x11')]);router[_0x045b('0x8')](_0x045b('0x12'),auth['isAuthenticated'](),controller['getHopperBlacks']);router[_0x045b('0x8')](_0x045b('0x13'),auth[_0x045b('0x9')](),controller[_0x045b('0x14')]);router[_0x045b('0x8')](_0x045b('0x15'),auth[_0x045b('0x9')](),controller[_0x045b('0x16')]);router[_0x045b('0x17')]('/',auth[_0x045b('0x9')](),controller[_0x045b('0x18')]);router[_0x045b('0x17')](_0x045b('0x19'),auth[_0x045b('0x9')](),controller[_0x045b('0x1a')]);router['post'](_0x045b('0x13'),auth['isAuthenticated'](),controller[_0x045b('0x1b')]);router[_0x045b('0x17')](_0x045b('0x15'),auth[_0x045b('0x9')](),controller[_0x045b('0x1c')]);router['put'](_0x045b('0xa'),auth[_0x045b('0x9')](),controller['update']);router['delete'](_0x045b('0xa'),auth[_0x045b('0x9')](),controller['destroy']);router['delete']('/:id/lists',auth[_0x045b('0x9')](),controller[_0x045b('0x1d')]);router[_0x045b('0x1e')](_0x045b('0x15'),auth['isAuthenticated'](),controller['removeBlackLists']);module[_0x045b('0x1f')]=router;
\ No newline at end of file
+var _0xab3e=['create','/:id/clone','clone','addBlackLists','put','update','delete','destroy','removeLists','removeBlackLists','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','show','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','/:id/blacklists','getBlackLists','post'];(function(_0x199572,_0x33e667){var _0x13cfa3=function(_0x53c075){while(--_0x53c075){_0x199572['push'](_0x199572['shift']());}};_0x13cfa3(++_0x33e667);}(_0xab3e,0xe3));var _0xeab3=function(_0x4cd3a1,_0x40c0b2){_0x4cd3a1=_0x4cd3a1-0x0;var _0x246436=_0xab3e[_0x4cd3a1];return _0x246436;};'use strict';var multer=require('multer');var util=require(_0xeab3('0x0'));var path=require(_0xeab3('0x1'));var timeout=require(_0xeab3('0x2'));var express=require(_0xeab3('0x3'));var router=express[_0xeab3('0x4')]();var fs_extra=require(_0xeab3('0x5'));var auth=require(_0xeab3('0x6'));var interaction=require(_0xeab3('0x7'));var config=require(_0xeab3('0x8'));var controller=require('./campaign.controller');router['get']('/',auth[_0xeab3('0x9')](),controller[_0xeab3('0xa')]);router[_0xeab3('0xb')]('/:id',auth[_0xeab3('0x9')](),controller[_0xeab3('0xc')]);router[_0xeab3('0xb')](_0xeab3('0xd'),auth['isAuthenticated'](),controller[_0xeab3('0xe')]);router[_0xeab3('0xb')](_0xeab3('0xf'),auth[_0xeab3('0x9')](),controller[_0xeab3('0x10')]);router['get'](_0xeab3('0x11'),auth[_0xeab3('0x9')](),controller['getHopperFinals']);router[_0xeab3('0xb')](_0xeab3('0x12'),auth[_0xeab3('0x9')](),controller[_0xeab3('0x13')]);router[_0xeab3('0xb')](_0xeab3('0x14'),auth[_0xeab3('0x9')](),controller[_0xeab3('0x15')]);router[_0xeab3('0xb')](_0xeab3('0x16'),auth['isAuthenticated'](),controller[_0xeab3('0x17')]);router[_0xeab3('0x18')]('/',auth[_0xeab3('0x9')](),controller[_0xeab3('0x19')]);router['post'](_0xeab3('0x1a'),auth['isAuthenticated'](),controller[_0xeab3('0x1b')]);router[_0xeab3('0x18')](_0xeab3('0x14'),auth[_0xeab3('0x9')](),controller['addLists']);router[_0xeab3('0x18')](_0xeab3('0x16'),auth[_0xeab3('0x9')](),controller[_0xeab3('0x1c')]);router[_0xeab3('0x1d')]('/:id',auth[_0xeab3('0x9')](),controller[_0xeab3('0x1e')]);router[_0xeab3('0x1f')]('/:id',auth['isAuthenticated'](),controller[_0xeab3('0x20')]);router[_0xeab3('0x1f')](_0xeab3('0x14'),auth['isAuthenticated'](),controller[_0xeab3('0x21')]);router['delete'](_0xeab3('0x16'),auth['isAuthenticated'](),controller[_0xeab3('0x22')]);module[_0xeab3('0x23')]=router;
\ No newline at end of file