Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / campaign / index.js
index 2126a45..e8c4a9d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x45eb=['./campaign.controller','get','isAuthenticated','index','show','/:id/hoppers','getHopperHistories','/:id/hopper_finals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','getBlackLists','post','/:id/clone','addLists','/:id','update','delete','destroy','removeLists','/:id/blacklists','removeBlackLists','exports','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service'];(function(_0x2acc97,_0x3095b5){var _0x24dc67=function(_0x590b0c){while(--_0x590b0c){_0x2acc97['push'](_0x2acc97['shift']());}};_0x24dc67(++_0x3095b5);}(_0x45eb,0x90));var _0xb45e=function(_0x1ee191,_0x2b8c91){_0x1ee191=_0x1ee191-0x0;var _0x5288bc=_0x45eb[_0x1ee191];return _0x5288bc;};'use strict';var multer=require(_0xb45e('0x0'));var util=require('util');var path=require(_0xb45e('0x1'));var timeout=require(_0xb45e('0x2'));var express=require(_0xb45e('0x3'));var router=express['Router']();var auth=require(_0xb45e('0x4'));var interaction=require(_0xb45e('0x5'));var config=require('../../config/environment');var controller=require(_0xb45e('0x6'));router[_0xb45e('0x7')]('/',auth[_0xb45e('0x8')](),controller[_0xb45e('0x9')]);router[_0xb45e('0x7')]('/:id',auth[_0xb45e('0x8')](),controller[_0xb45e('0xa')]);router['get'](_0xb45e('0xb'),auth[_0xb45e('0x8')](),controller['getHoppers']);router[_0xb45e('0x7')]('/:id/hopper_histories',auth[_0xb45e('0x8')](),controller[_0xb45e('0xc')]);router[_0xb45e('0x7')](_0xb45e('0xd'),auth[_0xb45e('0x8')](),controller['getHopperFinals']);router['get'](_0xb45e('0xe'),auth[_0xb45e('0x8')](),controller[_0xb45e('0xf')]);router['get'](_0xb45e('0x10'),auth['isAuthenticated'](),controller[_0xb45e('0x11')]);router[_0xb45e('0x7')]('/:id/blacklists',auth[_0xb45e('0x8')](),controller[_0xb45e('0x12')]);router['post']('/',auth[_0xb45e('0x8')](),controller['create']);router[_0xb45e('0x13')](_0xb45e('0x14'),auth[_0xb45e('0x8')](),controller['clone']);router['post']('/:id/lists',auth[_0xb45e('0x8')](),controller[_0xb45e('0x15')]);router[_0xb45e('0x13')]('/:id/blacklists',auth[_0xb45e('0x8')](),controller['addBlackLists']);router['put'](_0xb45e('0x16'),auth['isAuthenticated'](),controller[_0xb45e('0x17')]);router[_0xb45e('0x18')](_0xb45e('0x16'),auth['isAuthenticated'](),controller[_0xb45e('0x19')]);router[_0xb45e('0x18')](_0xb45e('0x10'),auth['isAuthenticated'](),controller[_0xb45e('0x1a')]);router[_0xb45e('0x18')](_0xb45e('0x1b'),auth[_0xb45e('0x8')](),controller[_0xb45e('0x1c')]);module[_0xb45e('0x1d')]=router;
\ No newline at end of file
+var _0x9ad2=['/:id/lists','addLists','update','delete','destroy','removeLists','removeBlackLists','multer','util','path','connect-timeout','express','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated','show','/:id/hoppers','getHoppers','getHopperHistories','/:id/hopper_finals','getHopperFinals','getLists','/:id/blacklists','post','create'];(function(_0x2c7618,_0x26be9c){var _0x5ce3f0=function(_0x1837b3){while(--_0x1837b3){_0x2c7618['push'](_0x2c7618['shift']());}};_0x5ce3f0(++_0x26be9c);}(_0x9ad2,0x1c7));var _0x29ad=function(_0x48b37d,_0x5507b6){_0x48b37d=_0x48b37d-0x0;var _0x3c3e76=_0x9ad2[_0x48b37d];return _0x3c3e76;};'use strict';var multer=require(_0x29ad('0x0'));var util=require(_0x29ad('0x1'));var path=require(_0x29ad('0x2'));var timeout=require(_0x29ad('0x3'));var express=require(_0x29ad('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x29ad('0x5'));var config=require(_0x29ad('0x6'));var controller=require('./campaign.controller');router[_0x29ad('0x7')]('/',auth['isAuthenticated'](),controller[_0x29ad('0x8')]);router['get'](_0x29ad('0x9'),auth[_0x29ad('0xa')](),controller[_0x29ad('0xb')]);router[_0x29ad('0x7')](_0x29ad('0xc'),auth[_0x29ad('0xa')](),controller[_0x29ad('0xd')]);router[_0x29ad('0x7')]('/:id/hopper_histories',auth[_0x29ad('0xa')](),controller[_0x29ad('0xe')]);router[_0x29ad('0x7')](_0x29ad('0xf'),auth[_0x29ad('0xa')](),controller[_0x29ad('0x10')]);router[_0x29ad('0x7')]('/:id/hopper_black',auth[_0x29ad('0xa')](),controller['getHopperBlacks']);router[_0x29ad('0x7')]('/:id/lists',auth[_0x29ad('0xa')](),controller[_0x29ad('0x11')]);router[_0x29ad('0x7')](_0x29ad('0x12'),auth[_0x29ad('0xa')](),controller['getBlackLists']);router[_0x29ad('0x13')]('/',auth[_0x29ad('0xa')](),controller[_0x29ad('0x14')]);router[_0x29ad('0x13')]('/:id/clone',auth[_0x29ad('0xa')](),controller['clone']);router[_0x29ad('0x13')](_0x29ad('0x15'),auth[_0x29ad('0xa')](),controller[_0x29ad('0x16')]);router['post'](_0x29ad('0x12'),auth['isAuthenticated'](),controller['addBlackLists']);router['put'](_0x29ad('0x9'),auth[_0x29ad('0xa')](),controller[_0x29ad('0x17')]);router[_0x29ad('0x18')]('/:id',auth[_0x29ad('0xa')](),controller[_0x29ad('0x19')]);router[_0x29ad('0x18')](_0x29ad('0x15'),auth[_0x29ad('0xa')](),controller[_0x29ad('0x1a')]);router[_0x29ad('0x18')]('/:id/blacklists',auth['isAuthenticated'](),controller[_0x29ad('0x1b')]);module['exports']=router;
\ No newline at end of file