Built motion from commit (unavailable).|2.5.10
[motion2.git] / server / api / campaign / index.js
index 6e01f53..84dafac 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6b82=['update','delete','destroy','removeLists','removeBlackLists','exports','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./campaign.controller','get','isAuthenticated','/:id','show','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/lists','/:id/blacklists','getBlackLists','post','create','/:id/clone','clone'];(function(_0x25b137,_0x29bda1){var _0x347c13=function(_0x5cfc84){while(--_0x5cfc84){_0x25b137['push'](_0x25b137['shift']());}};_0x347c13(++_0x29bda1);}(_0x6b82,0x86));var _0x26b8=function(_0x5352d0,_0x41e8b4){_0x5352d0=_0x5352d0-0x0;var _0x352b00=_0x6b82[_0x5352d0];return _0x352b00;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x26b8('0x0'));var timeout=require('connect-timeout');var express=require(_0x26b8('0x1'));var router=express[_0x26b8('0x2')]();var auth=require(_0x26b8('0x3'));var interaction=require(_0x26b8('0x4'));var config=require(_0x26b8('0x5'));var controller=require(_0x26b8('0x6'));router[_0x26b8('0x7')]('/',auth[_0x26b8('0x8')](),controller['index']);router['get'](_0x26b8('0x9'),auth[_0x26b8('0x8')](),controller[_0x26b8('0xa')]);router[_0x26b8('0x7')](_0x26b8('0xb'),auth[_0x26b8('0x8')](),controller[_0x26b8('0xc')]);router[_0x26b8('0x7')](_0x26b8('0xd'),auth[_0x26b8('0x8')](),controller[_0x26b8('0xe')]);router[_0x26b8('0x7')](_0x26b8('0xf'),auth[_0x26b8('0x8')](),controller[_0x26b8('0x10')]);router[_0x26b8('0x7')](_0x26b8('0x11'),auth[_0x26b8('0x8')](),controller[_0x26b8('0x12')]);router[_0x26b8('0x7')](_0x26b8('0x13'),auth[_0x26b8('0x8')](),controller['getLists']);router['get'](_0x26b8('0x14'),auth[_0x26b8('0x8')](),controller[_0x26b8('0x15')]);router[_0x26b8('0x16')]('/',auth[_0x26b8('0x8')](),controller[_0x26b8('0x17')]);router[_0x26b8('0x16')](_0x26b8('0x18'),auth[_0x26b8('0x8')](),controller[_0x26b8('0x19')]);router['post'](_0x26b8('0x13'),auth[_0x26b8('0x8')](),controller['addLists']);router[_0x26b8('0x16')](_0x26b8('0x14'),auth['isAuthenticated'](),controller['addBlackLists']);router['put']('/:id',auth['isAuthenticated'](),controller[_0x26b8('0x1a')]);router[_0x26b8('0x1b')](_0x26b8('0x9'),auth[_0x26b8('0x8')](),controller[_0x26b8('0x1c')]);router[_0x26b8('0x1b')](_0x26b8('0x13'),auth['isAuthenticated'](),controller[_0x26b8('0x1d')]);router['delete'](_0x26b8('0x14'),auth[_0x26b8('0x8')](),controller[_0x26b8('0x1e')]);module[_0x26b8('0x1f')]=router;
\ No newline at end of file
+var _0xf278=['/:id','update','delete','destroy','removeLists','removeBlackLists','exports','path','connect-timeout','express','../../components/auth/service','../../config/environment','./campaign.controller','get','isAuthenticated','index','/:id/hopper_histories','getHopperHistories','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/lists','/:id/blacklists','getBlackLists','post','create','/:id/clone','put'];(function(_0x268924,_0x3a7e15){var _0xb1dd10=function(_0x3227bf){while(--_0x3227bf){_0x268924['push'](_0x268924['shift']());}};_0xb1dd10(++_0x3a7e15);}(_0xf278,0x13b));var _0x8f27=function(_0x151370,_0xdcac59){_0x151370=_0x151370-0x0;var _0x2993ac=_0xf278[_0x151370];return _0x2993ac;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x8f27('0x0'));var timeout=require(_0x8f27('0x1'));var express=require(_0x8f27('0x2'));var router=express['Router']();var auth=require(_0x8f27('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x8f27('0x4'));var controller=require(_0x8f27('0x5'));router[_0x8f27('0x6')]('/',auth[_0x8f27('0x7')](),controller[_0x8f27('0x8')]);router[_0x8f27('0x6')]('/:id',auth[_0x8f27('0x7')](),controller['show']);router[_0x8f27('0x6')]('/:id/hoppers',auth[_0x8f27('0x7')](),controller['getHoppers']);router[_0x8f27('0x6')](_0x8f27('0x9'),auth[_0x8f27('0x7')](),controller[_0x8f27('0xa')]);router[_0x8f27('0x6')]('/:id/hopper_finals',auth[_0x8f27('0x7')](),controller[_0x8f27('0xb')]);router[_0x8f27('0x6')](_0x8f27('0xc'),auth['isAuthenticated'](),controller[_0x8f27('0xd')]);router[_0x8f27('0x6')](_0x8f27('0xe'),auth[_0x8f27('0x7')](),controller['getLists']);router['get'](_0x8f27('0xf'),auth['isAuthenticated'](),controller[_0x8f27('0x10')]);router[_0x8f27('0x11')]('/',auth['isAuthenticated'](),controller[_0x8f27('0x12')]);router['post'](_0x8f27('0x13'),auth[_0x8f27('0x7')](),controller['clone']);router[_0x8f27('0x11')]('/:id/lists',auth[_0x8f27('0x7')](),controller['addLists']);router[_0x8f27('0x11')](_0x8f27('0xf'),auth['isAuthenticated'](),controller['addBlackLists']);router[_0x8f27('0x14')](_0x8f27('0x15'),auth[_0x8f27('0x7')](),controller[_0x8f27('0x16')]);router[_0x8f27('0x17')]('/:id',auth['isAuthenticated'](),controller[_0x8f27('0x18')]);router['delete'](_0x8f27('0xe'),auth['isAuthenticated'](),controller[_0x8f27('0x19')]);router[_0x8f27('0x17')]('/:id/blacklists',auth[_0x8f27('0x7')](),controller[_0x8f27('0x1a')]);module[_0x8f27('0x1b')]=router;
\ No newline at end of file