Built motion from commit a8c4dd89.|2.6.33
[motion2.git] / server / api / campaign / index.js
index 8ee8d76..b19d9f2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1dbd=['removeLists','removeBlackLists','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./campaign.controller','get','isAuthenticated','index','/:id','show','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','getHopperBlacks','/:id/lists','getLists','/:id/blacklists','post','create','/:id/clone','clone','addLists','addBlackLists','put','update','delete','destroy'];(function(_0x35a101,_0x3859e1){var _0x18e3b4=function(_0x27c92d){while(--_0x27c92d){_0x35a101['push'](_0x35a101['shift']());}};_0x18e3b4(++_0x3859e1);}(_0x1dbd,0x1d7));var _0xd1db=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x1dbd[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require(_0xd1db('0x0'));var path=require('path');var timeout=require(_0xd1db('0x1'));var express=require(_0xd1db('0x2'));var router=express[_0xd1db('0x3')]();var fs_extra=require(_0xd1db('0x4'));var auth=require(_0xd1db('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xd1db('0x6'));var controller=require(_0xd1db('0x7'));router[_0xd1db('0x8')]('/',auth[_0xd1db('0x9')](),controller[_0xd1db('0xa')]);router[_0xd1db('0x8')](_0xd1db('0xb'),auth[_0xd1db('0x9')](),controller[_0xd1db('0xc')]);router[_0xd1db('0x8')](_0xd1db('0xd'),auth['isAuthenticated'](),controller[_0xd1db('0xe')]);router[_0xd1db('0x8')](_0xd1db('0xf'),auth['isAuthenticated'](),controller[_0xd1db('0x10')]);router[_0xd1db('0x8')](_0xd1db('0x11'),auth[_0xd1db('0x9')](),controller[_0xd1db('0x12')]);router['get']('/:id/hopper_black',auth[_0xd1db('0x9')](),controller[_0xd1db('0x13')]);router[_0xd1db('0x8')](_0xd1db('0x14'),auth[_0xd1db('0x9')](),controller[_0xd1db('0x15')]);router[_0xd1db('0x8')](_0xd1db('0x16'),auth[_0xd1db('0x9')](),controller['getBlackLists']);router[_0xd1db('0x17')]('/',auth[_0xd1db('0x9')](),controller[_0xd1db('0x18')]);router[_0xd1db('0x17')](_0xd1db('0x19'),auth[_0xd1db('0x9')](),controller[_0xd1db('0x1a')]);router['post'](_0xd1db('0x14'),auth['isAuthenticated'](),controller[_0xd1db('0x1b')]);router['post']('/:id/blacklists',auth['isAuthenticated'](),controller[_0xd1db('0x1c')]);router[_0xd1db('0x1d')](_0xd1db('0xb'),auth[_0xd1db('0x9')](),controller[_0xd1db('0x1e')]);router[_0xd1db('0x1f')](_0xd1db('0xb'),auth[_0xd1db('0x9')](),controller[_0xd1db('0x20')]);router[_0xd1db('0x1f')]('/:id/lists',auth[_0xd1db('0x9')](),controller[_0xd1db('0x21')]);router['delete'](_0xd1db('0x16'),auth[_0xd1db('0x9')](),controller[_0xd1db('0x22')]);module[_0xd1db('0x23')]=router;
\ No newline at end of file
+var _0xff94=['addLists','put','update','destroy','delete','removeBlackLists','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./campaign.controller','get','isAuthenticated','/:id','/:id/hoppers','getHoppers','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','/:id/blacklists','getBlackLists','post','create','/:id/clone'];(function(_0x3e16c0,_0x4fcb17){var _0x2abad6=function(_0x50c82d){while(--_0x50c82d){_0x3e16c0['push'](_0x3e16c0['shift']());}};_0x2abad6(++_0x4fcb17);}(_0xff94,0x130));var _0x4ff9=function(_0xf1e5da,_0x3ecd47){_0xf1e5da=_0xf1e5da-0x0;var _0x331120=_0xff94[_0xf1e5da];return _0x331120;};'use strict';var multer=require(_0x4ff9('0x0'));var util=require(_0x4ff9('0x1'));var path=require(_0x4ff9('0x2'));var timeout=require(_0x4ff9('0x3'));var express=require(_0x4ff9('0x4'));var router=express[_0x4ff9('0x5')]();var fs_extra=require(_0x4ff9('0x6'));var auth=require(_0x4ff9('0x7'));var interaction=require(_0x4ff9('0x8'));var config=require(_0x4ff9('0x9'));var controller=require(_0x4ff9('0xa'));router[_0x4ff9('0xb')]('/',auth[_0x4ff9('0xc')](),controller['index']);router[_0x4ff9('0xb')](_0x4ff9('0xd'),auth[_0x4ff9('0xc')](),controller['show']);router[_0x4ff9('0xb')](_0x4ff9('0xe'),auth[_0x4ff9('0xc')](),controller[_0x4ff9('0xf')]);router[_0x4ff9('0xb')]('/:id/hopper_histories',auth[_0x4ff9('0xc')](),controller['getHopperHistories']);router[_0x4ff9('0xb')]('/:id/hopper_finals',auth[_0x4ff9('0xc')](),controller[_0x4ff9('0x10')]);router[_0x4ff9('0xb')](_0x4ff9('0x11'),auth[_0x4ff9('0xc')](),controller[_0x4ff9('0x12')]);router['get'](_0x4ff9('0x13'),auth[_0x4ff9('0xc')](),controller[_0x4ff9('0x14')]);router[_0x4ff9('0xb')](_0x4ff9('0x15'),auth[_0x4ff9('0xc')](),controller[_0x4ff9('0x16')]);router[_0x4ff9('0x17')]('/',auth[_0x4ff9('0xc')](),controller[_0x4ff9('0x18')]);router['post'](_0x4ff9('0x19'),auth[_0x4ff9('0xc')](),controller['clone']);router[_0x4ff9('0x17')](_0x4ff9('0x13'),auth[_0x4ff9('0xc')](),controller[_0x4ff9('0x1a')]);router['post'](_0x4ff9('0x15'),auth[_0x4ff9('0xc')](),controller['addBlackLists']);router[_0x4ff9('0x1b')](_0x4ff9('0xd'),auth[_0x4ff9('0xc')](),controller[_0x4ff9('0x1c')]);router['delete'](_0x4ff9('0xd'),auth[_0x4ff9('0xc')](),controller[_0x4ff9('0x1d')]);router[_0x4ff9('0x1e')](_0x4ff9('0x13'),auth[_0x4ff9('0xc')](),controller['removeLists']);router[_0x4ff9('0x1e')](_0x4ff9('0x15'),auth[_0x4ff9('0xc')](),controller[_0x4ff9('0x1f')]);module[_0x4ff9('0x20')]=router;
\ No newline at end of file