Built motion from commit 980b26c3.|2.6.29
[motion2.git] / server / api / campaign / index.js
index f0f1379..9a65bb3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9c83=['util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','isAuthenticated','index','get','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/hopper_black','/:id/lists','getLists','/:id/blacklists','getBlackLists','post','create','/:id/clone','addLists','addBlackLists','put','/:id','update','destroy','removeBlackLists','multer'];(function(_0x3a6efd,_0x2a5102){var _0x487b9a=function(_0x104f89){while(--_0x104f89){_0x3a6efd['push'](_0x3a6efd['shift']());}};_0x487b9a(++_0x2a5102);}(_0x9c83,0x1ef));var _0x39c8=function(_0x7418dd,_0x829bad){_0x7418dd=_0x7418dd-0x0;var _0x506746=_0x9c83[_0x7418dd];return _0x506746;};'use strict';var multer=require(_0x39c8('0x0'));var util=require(_0x39c8('0x1'));var path=require('path');var timeout=require(_0x39c8('0x2'));var express=require(_0x39c8('0x3'));var router=express[_0x39c8('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x39c8('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x39c8('0x6'));var controller=require('./campaign.controller');router['get']('/',auth[_0x39c8('0x7')](),controller[_0x39c8('0x8')]);router[_0x39c8('0x9')]('/:id',auth[_0x39c8('0x7')](),controller['show']);router[_0x39c8('0x9')](_0x39c8('0xa'),auth[_0x39c8('0x7')](),controller[_0x39c8('0xb')]);router[_0x39c8('0x9')](_0x39c8('0xc'),auth[_0x39c8('0x7')](),controller[_0x39c8('0xd')]);router[_0x39c8('0x9')](_0x39c8('0xe'),auth[_0x39c8('0x7')](),controller[_0x39c8('0xf')]);router[_0x39c8('0x9')](_0x39c8('0x10'),auth['isAuthenticated'](),controller['getHopperBlacks']);router['get'](_0x39c8('0x11'),auth[_0x39c8('0x7')](),controller[_0x39c8('0x12')]);router[_0x39c8('0x9')](_0x39c8('0x13'),auth[_0x39c8('0x7')](),controller[_0x39c8('0x14')]);router[_0x39c8('0x15')]('/',auth['isAuthenticated'](),controller[_0x39c8('0x16')]);router[_0x39c8('0x15')](_0x39c8('0x17'),auth[_0x39c8('0x7')](),controller['clone']);router[_0x39c8('0x15')]('/:id/lists',auth[_0x39c8('0x7')](),controller[_0x39c8('0x18')]);router[_0x39c8('0x15')]('/:id/blacklists',auth[_0x39c8('0x7')](),controller[_0x39c8('0x19')]);router[_0x39c8('0x1a')](_0x39c8('0x1b'),auth[_0x39c8('0x7')](),controller[_0x39c8('0x1c')]);router['delete']('/:id',auth[_0x39c8('0x7')](),controller[_0x39c8('0x1d')]);router['delete']('/:id/lists',auth[_0x39c8('0x7')](),controller['removeLists']);router['delete'](_0x39c8('0x13'),auth['isAuthenticated'](),controller[_0x39c8('0x1e')]);module['exports']=router;
\ No newline at end of file
+var _0x90a8=['/:id/hopper_finals','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','getBlackLists','post','create','clone','addLists','addBlackLists','put','delete','destroy','removeLists','/:id/blacklists','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./campaign.controller','get','isAuthenticated','index','/:id','show','/:id/hoppers','getHoppers'];(function(_0x2f7983,_0x14999b){var _0x1edebe=function(_0x39f2ce){while(--_0x39f2ce){_0x2f7983['push'](_0x2f7983['shift']());}};_0x1edebe(++_0x14999b);}(_0x90a8,0x11a));var _0x890a=function(_0x2193d6,_0x32e9c3){_0x2193d6=_0x2193d6-0x0;var _0x310b27=_0x90a8[_0x2193d6];return _0x310b27;};'use strict';var multer=require('multer');var util=require(_0x890a('0x0'));var path=require(_0x890a('0x1'));var timeout=require('connect-timeout');var express=require(_0x890a('0x2'));var router=express[_0x890a('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x890a('0x4'));var interaction=require(_0x890a('0x5'));var config=require(_0x890a('0x6'));var controller=require(_0x890a('0x7'));router[_0x890a('0x8')]('/',auth[_0x890a('0x9')](),controller[_0x890a('0xa')]);router[_0x890a('0x8')](_0x890a('0xb'),auth['isAuthenticated'](),controller[_0x890a('0xc')]);router[_0x890a('0x8')](_0x890a('0xd'),auth[_0x890a('0x9')](),controller[_0x890a('0xe')]);router[_0x890a('0x8')]('/:id/hopper_histories',auth['isAuthenticated'](),controller['getHopperHistories']);router[_0x890a('0x8')](_0x890a('0xf'),auth['isAuthenticated'](),controller[_0x890a('0x10')]);router[_0x890a('0x8')](_0x890a('0x11'),auth[_0x890a('0x9')](),controller[_0x890a('0x12')]);router['get'](_0x890a('0x13'),auth['isAuthenticated'](),controller[_0x890a('0x14')]);router[_0x890a('0x8')]('/:id/blacklists',auth['isAuthenticated'](),controller[_0x890a('0x15')]);router[_0x890a('0x16')]('/',auth[_0x890a('0x9')](),controller[_0x890a('0x17')]);router[_0x890a('0x16')]('/:id/clone',auth[_0x890a('0x9')](),controller[_0x890a('0x18')]);router[_0x890a('0x16')](_0x890a('0x13'),auth[_0x890a('0x9')](),controller[_0x890a('0x19')]);router['post']('/:id/blacklists',auth['isAuthenticated'](),controller[_0x890a('0x1a')]);router[_0x890a('0x1b')](_0x890a('0xb'),auth[_0x890a('0x9')](),controller['update']);router[_0x890a('0x1c')]('/:id',auth['isAuthenticated'](),controller[_0x890a('0x1d')]);router['delete'](_0x890a('0x13'),auth[_0x890a('0x9')](),controller[_0x890a('0x1e')]);router[_0x890a('0x1c')](_0x890a('0x1f'),auth[_0x890a('0x9')](),controller['removeBlackLists']);module[_0x890a('0x20')]=router;
\ No newline at end of file