Built motion from commit 55091a5c.|2.6.30
[motion2.git] / server / api / campaign / index.js
index 5d9efc2..fadfdaa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbc2f=['getLists','getBlackLists','post','/:id/clone','clone','addLists','/:id/blacklists','update','destroy','delete','removeLists','removeBlackLists','exports','util','path','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./campaign.controller','get','isAuthenticated','index','/:id','show','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','getHopperFinals','/:id/hopper_black','/:id/lists'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0xbc2f,0x157));var _0xfbc2=function(_0x3f7d27,_0x3d2bad){_0x3f7d27=_0x3f7d27-0x0;var _0x489a8c=_0xbc2f[_0x3f7d27];return _0x489a8c;};'use strict';var multer=require('multer');var util=require(_0xfbc2('0x0'));var path=require(_0xfbc2('0x1'));var timeout=require('connect-timeout');var express=require(_0xfbc2('0x2'));var router=express[_0xfbc2('0x3')]();var fs_extra=require(_0xfbc2('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xfbc2('0x5'));var config=require(_0xfbc2('0x6'));var controller=require(_0xfbc2('0x7'));router[_0xfbc2('0x8')]('/',auth[_0xfbc2('0x9')](),controller[_0xfbc2('0xa')]);router[_0xfbc2('0x8')](_0xfbc2('0xb'),auth[_0xfbc2('0x9')](),controller[_0xfbc2('0xc')]);router[_0xfbc2('0x8')](_0xfbc2('0xd'),auth[_0xfbc2('0x9')](),controller[_0xfbc2('0xe')]);router[_0xfbc2('0x8')](_0xfbc2('0xf'),auth[_0xfbc2('0x9')](),controller[_0xfbc2('0x10')]);router[_0xfbc2('0x8')]('/:id/hopper_finals',auth[_0xfbc2('0x9')](),controller[_0xfbc2('0x11')]);router['get'](_0xfbc2('0x12'),auth[_0xfbc2('0x9')](),controller['getHopperBlacks']);router[_0xfbc2('0x8')](_0xfbc2('0x13'),auth[_0xfbc2('0x9')](),controller[_0xfbc2('0x14')]);router[_0xfbc2('0x8')]('/:id/blacklists',auth[_0xfbc2('0x9')](),controller[_0xfbc2('0x15')]);router[_0xfbc2('0x16')]('/',auth[_0xfbc2('0x9')](),controller['create']);router['post'](_0xfbc2('0x17'),auth[_0xfbc2('0x9')](),controller[_0xfbc2('0x18')]);router[_0xfbc2('0x16')](_0xfbc2('0x13'),auth[_0xfbc2('0x9')](),controller[_0xfbc2('0x19')]);router[_0xfbc2('0x16')](_0xfbc2('0x1a'),auth['isAuthenticated'](),controller['addBlackLists']);router['put'](_0xfbc2('0xb'),auth[_0xfbc2('0x9')](),controller[_0xfbc2('0x1b')]);router['delete']('/:id',auth[_0xfbc2('0x9')](),controller[_0xfbc2('0x1c')]);router[_0xfbc2('0x1d')](_0xfbc2('0x13'),auth[_0xfbc2('0x9')](),controller[_0xfbc2('0x1e')]);router[_0xfbc2('0x1d')](_0xfbc2('0x1a'),auth[_0xfbc2('0x9')](),controller[_0xfbc2('0x1f')]);module[_0xfbc2('0x20')]=router;
\ No newline at end of file
+var _0x02bc=['/:id/clone','clone','addLists','put','delete','destroy','removeLists','removeBlackLists','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/hoppers','getHoppers','/:id/hopper_finals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','/:id/blacklists','getBlackLists','post'];(function(_0x44bcb0,_0x235aa9){var _0xfaf881=function(_0x25d81d){while(--_0x25d81d){_0x44bcb0['push'](_0x44bcb0['shift']());}};_0xfaf881(++_0x235aa9);}(_0x02bc,0x1d7));var _0xc02b=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0x02bc[_0x3947c9];return _0x2e7871;};'use strict';var multer=require(_0xc02b('0x0'));var util=require(_0xc02b('0x1'));var path=require(_0xc02b('0x2'));var timeout=require('connect-timeout');var express=require(_0xc02b('0x3'));var router=express[_0xc02b('0x4')]();var fs_extra=require(_0xc02b('0x5'));var auth=require(_0xc02b('0x6'));var interaction=require(_0xc02b('0x7'));var config=require(_0xc02b('0x8'));var controller=require('./campaign.controller');router[_0xc02b('0x9')]('/',auth[_0xc02b('0xa')](),controller[_0xc02b('0xb')]);router[_0xc02b('0x9')](_0xc02b('0xc'),auth[_0xc02b('0xa')](),controller[_0xc02b('0xd')]);router['get'](_0xc02b('0xe'),auth['isAuthenticated'](),controller[_0xc02b('0xf')]);router['get']('/:id/hopper_histories',auth[_0xc02b('0xa')](),controller['getHopperHistories']);router[_0xc02b('0x9')](_0xc02b('0x10'),auth[_0xc02b('0xa')](),controller['getHopperFinals']);router[_0xc02b('0x9')](_0xc02b('0x11'),auth['isAuthenticated'](),controller[_0xc02b('0x12')]);router[_0xc02b('0x9')](_0xc02b('0x13'),auth[_0xc02b('0xa')](),controller[_0xc02b('0x14')]);router[_0xc02b('0x9')](_0xc02b('0x15'),auth[_0xc02b('0xa')](),controller[_0xc02b('0x16')]);router[_0xc02b('0x17')]('/',auth[_0xc02b('0xa')](),controller['create']);router[_0xc02b('0x17')](_0xc02b('0x18'),auth['isAuthenticated'](),controller[_0xc02b('0x19')]);router[_0xc02b('0x17')]('/:id/lists',auth['isAuthenticated'](),controller[_0xc02b('0x1a')]);router['post'](_0xc02b('0x15'),auth[_0xc02b('0xa')](),controller['addBlackLists']);router[_0xc02b('0x1b')](_0xc02b('0xc'),auth['isAuthenticated'](),controller['update']);router[_0xc02b('0x1c')](_0xc02b('0xc'),auth[_0xc02b('0xa')](),controller[_0xc02b('0x1d')]);router[_0xc02b('0x1c')]('/:id/lists',auth[_0xc02b('0xa')](),controller[_0xc02b('0x1e')]);router[_0xc02b('0x1c')](_0xc02b('0x15'),auth[_0xc02b('0xa')](),controller[_0xc02b('0x1f')]);module[_0xc02b('0x20')]=router;
\ No newline at end of file