Built motion from commit f3da74b7.|2.5.36
[motion2.git] / server / api / campaign / index.js
index 4202c59..69ee163 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdc7f=['update','destroy','delete','/:id/lists','exports','multer','util','connect-timeout','express','Router','fs-extra','../../config/environment','./campaign.controller','get','index','/:id','/:id/hoppers','isAuthenticated','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/hopper_black','getHopperBlacks','getLists','getBlackLists','create','post','clone','addLists','/:id/blacklists','addBlackLists','put'];(function(_0x5b4d3f,_0xbee345){var _0xfd4781=function(_0x2ba3be){while(--_0x2ba3be){_0x5b4d3f['push'](_0x5b4d3f['shift']());}};_0xfd4781(++_0xbee345);}(_0xdc7f,0x191));var _0xfdc7=function(_0x33ca22,_0xbcc94){_0x33ca22=_0x33ca22-0x0;var _0x1790c3=_0xdc7f[_0x33ca22];return _0x1790c3;};'use strict';var multer=require(_0xfdc7('0x0'));var util=require(_0xfdc7('0x1'));var path=require('path');var timeout=require(_0xfdc7('0x2'));var express=require(_0xfdc7('0x3'));var router=express[_0xfdc7('0x4')]();var fs_extra=require(_0xfdc7('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xfdc7('0x6'));var controller=require(_0xfdc7('0x7'));router[_0xfdc7('0x8')]('/',auth['isAuthenticated'](),controller[_0xfdc7('0x9')]);router[_0xfdc7('0x8')](_0xfdc7('0xa'),auth['isAuthenticated'](),controller['show']);router['get'](_0xfdc7('0xb'),auth[_0xfdc7('0xc')](),controller['getHoppers']);router['get'](_0xfdc7('0xd'),auth['isAuthenticated'](),controller[_0xfdc7('0xe')]);router['get'](_0xfdc7('0xf'),auth[_0xfdc7('0xc')](),controller[_0xfdc7('0x10')]);router[_0xfdc7('0x8')](_0xfdc7('0x11'),auth[_0xfdc7('0xc')](),controller[_0xfdc7('0x12')]);router[_0xfdc7('0x8')]('/:id/lists',auth[_0xfdc7('0xc')](),controller[_0xfdc7('0x13')]);router[_0xfdc7('0x8')]('/:id/blacklists',auth[_0xfdc7('0xc')](),controller[_0xfdc7('0x14')]);router['post']('/',auth[_0xfdc7('0xc')](),controller[_0xfdc7('0x15')]);router[_0xfdc7('0x16')]('/:id/clone',auth[_0xfdc7('0xc')](),controller[_0xfdc7('0x17')]);router[_0xfdc7('0x16')]('/:id/lists',auth[_0xfdc7('0xc')](),controller[_0xfdc7('0x18')]);router[_0xfdc7('0x16')](_0xfdc7('0x19'),auth[_0xfdc7('0xc')](),controller[_0xfdc7('0x1a')]);router[_0xfdc7('0x1b')](_0xfdc7('0xa'),auth[_0xfdc7('0xc')](),controller[_0xfdc7('0x1c')]);router['delete']('/:id',auth[_0xfdc7('0xc')](),controller[_0xfdc7('0x1d')]);router[_0xfdc7('0x1e')](_0xfdc7('0x1f'),auth[_0xfdc7('0xc')](),controller['removeLists']);router[_0xfdc7('0x1e')]('/:id/blacklists',auth[_0xfdc7('0xc')](),controller['removeBlackLists']);module[_0xfdc7('0x20')]=router;
\ No newline at end of file
+var _0xad9b=['/:id/lists','getLists','getBlackLists','post','create','clone','/:id/blacklists','addBlackLists','put','update','delete','destroy','removeBlackLists','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./campaign.controller','isAuthenticated','/:id','show','/:id/hoppers','get','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','/:id/hopper_black','getHopperBlacks'];(function(_0x2338fa,_0x80579a){var _0x42df9b=function(_0x13fe56){while(--_0x13fe56){_0x2338fa['push'](_0x2338fa['shift']());}};_0x42df9b(++_0x80579a);}(_0xad9b,0x10e));var _0xbad9=function(_0xfc9121,_0x38e193){_0xfc9121=_0xfc9121-0x0;var _0x4e9f47=_0xad9b[_0xfc9121];return _0x4e9f47;};'use strict';var multer=require(_0xbad9('0x0'));var util=require('util');var path=require(_0xbad9('0x1'));var timeout=require(_0xbad9('0x2'));var express=require(_0xbad9('0x3'));var router=express[_0xbad9('0x4')]();var fs_extra=require(_0xbad9('0x5'));var auth=require(_0xbad9('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xbad9('0x7'));router['get']('/',auth[_0xbad9('0x8')](),controller['index']);router['get'](_0xbad9('0x9'),auth[_0xbad9('0x8')](),controller[_0xbad9('0xa')]);router['get'](_0xbad9('0xb'),auth[_0xbad9('0x8')](),controller['getHoppers']);router[_0xbad9('0xc')](_0xbad9('0xd'),auth[_0xbad9('0x8')](),controller[_0xbad9('0xe')]);router[_0xbad9('0xc')](_0xbad9('0xf'),auth[_0xbad9('0x8')](),controller['getHopperFinals']);router[_0xbad9('0xc')](_0xbad9('0x10'),auth[_0xbad9('0x8')](),controller[_0xbad9('0x11')]);router[_0xbad9('0xc')](_0xbad9('0x12'),auth[_0xbad9('0x8')](),controller[_0xbad9('0x13')]);router[_0xbad9('0xc')]('/:id/blacklists',auth[_0xbad9('0x8')](),controller[_0xbad9('0x14')]);router[_0xbad9('0x15')]('/',auth[_0xbad9('0x8')](),controller[_0xbad9('0x16')]);router[_0xbad9('0x15')]('/:id/clone',auth[_0xbad9('0x8')](),controller[_0xbad9('0x17')]);router[_0xbad9('0x15')](_0xbad9('0x12'),auth['isAuthenticated'](),controller['addLists']);router[_0xbad9('0x15')](_0xbad9('0x18'),auth[_0xbad9('0x8')](),controller[_0xbad9('0x19')]);router[_0xbad9('0x1a')](_0xbad9('0x9'),auth[_0xbad9('0x8')](),controller[_0xbad9('0x1b')]);router[_0xbad9('0x1c')](_0xbad9('0x9'),auth[_0xbad9('0x8')](),controller[_0xbad9('0x1d')]);router[_0xbad9('0x1c')](_0xbad9('0x12'),auth[_0xbad9('0x8')](),controller['removeLists']);router['delete'](_0xbad9('0x18'),auth['isAuthenticated'](),controller[_0xbad9('0x1e')]);module[_0xbad9('0x1f')]=router;
\ No newline at end of file