Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / campaign / index.js
index eb87513..183efdc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x731f=['update','delete','removeBlackLists','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','/:id','show','/:id/hoppers','isAuthenticated','getHoppers','/:id/hopper_histories','/:id/hopper_finals','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/lists','/:id/blacklists','getBlackLists','create','post','/:id/clone','clone','addBlackLists','put'];(function(_0x11e659,_0x3a258f){var _0x462223=function(_0x2f32cf){while(--_0x2f32cf){_0x11e659['push'](_0x11e659['shift']());}};_0x462223(++_0x3a258f);}(_0x731f,0xc3));var _0xf731=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x731f[_0x122ef9];return _0x42fba0;};'use strict';var multer=require(_0xf731('0x0'));var util=require(_0xf731('0x1'));var path=require(_0xf731('0x2'));var timeout=require(_0xf731('0x3'));var express=require(_0xf731('0x4'));var router=express[_0xf731('0x5')]();var fs_extra=require(_0xf731('0x6'));var auth=require(_0xf731('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xf731('0x8'));var controller=require('./campaign.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xf731('0x9')](_0xf731('0xa'),auth['isAuthenticated'](),controller[_0xf731('0xb')]);router[_0xf731('0x9')](_0xf731('0xc'),auth[_0xf731('0xd')](),controller[_0xf731('0xe')]);router[_0xf731('0x9')](_0xf731('0xf'),auth['isAuthenticated'](),controller['getHopperHistories']);router[_0xf731('0x9')](_0xf731('0x10'),auth[_0xf731('0xd')](),controller[_0xf731('0x11')]);router['get'](_0xf731('0x12'),auth[_0xf731('0xd')](),controller[_0xf731('0x13')]);router['get'](_0xf731('0x14'),auth[_0xf731('0xd')](),controller['getLists']);router[_0xf731('0x9')](_0xf731('0x15'),auth[_0xf731('0xd')](),controller[_0xf731('0x16')]);router['post']('/',auth[_0xf731('0xd')](),controller[_0xf731('0x17')]);router[_0xf731('0x18')](_0xf731('0x19'),auth[_0xf731('0xd')](),controller[_0xf731('0x1a')]);router[_0xf731('0x18')](_0xf731('0x14'),auth['isAuthenticated'](),controller['addLists']);router[_0xf731('0x18')](_0xf731('0x15'),auth[_0xf731('0xd')](),controller[_0xf731('0x1b')]);router[_0xf731('0x1c')]('/:id',auth['isAuthenticated'](),controller[_0xf731('0x1d')]);router[_0xf731('0x1e')]('/:id',auth[_0xf731('0xd')](),controller['destroy']);router[_0xf731('0x1e')](_0xf731('0x14'),auth[_0xf731('0xd')](),controller['removeLists']);router[_0xf731('0x1e')](_0xf731('0x15'),auth[_0xf731('0xd')](),controller[_0xf731('0x1f')]);module['exports']=router;
\ No newline at end of file
+var _0x93da=['/:id/clone','clone','addLists','addBlackLists','put','delete','destroy','removeLists','removeBlackLists','exports','multer','path','connect-timeout','express','Router','../../config/environment','./campaign.controller','get','isAuthenticated','index','/:id','show','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/lists','getLists','/:id/blacklists','getBlackLists','post','create'];(function(_0x52f773,_0x25eeb7){var _0x43fa26=function(_0x7d1470){while(--_0x7d1470){_0x52f773['push'](_0x52f773['shift']());}};_0x43fa26(++_0x25eeb7);}(_0x93da,0x92));var _0xa93d=function(_0x2a36e6,_0x250137){_0x2a36e6=_0x2a36e6-0x0;var _0x438728=_0x93da[_0x2a36e6];return _0x438728;};'use strict';var multer=require(_0xa93d('0x0'));var util=require('util');var path=require(_0xa93d('0x1'));var timeout=require(_0xa93d('0x2'));var express=require(_0xa93d('0x3'));var router=express[_0xa93d('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xa93d('0x5'));var controller=require(_0xa93d('0x6'));router[_0xa93d('0x7')]('/',auth[_0xa93d('0x8')](),controller[_0xa93d('0x9')]);router[_0xa93d('0x7')](_0xa93d('0xa'),auth[_0xa93d('0x8')](),controller[_0xa93d('0xb')]);router['get'](_0xa93d('0xc'),auth['isAuthenticated'](),controller[_0xa93d('0xd')]);router[_0xa93d('0x7')](_0xa93d('0xe'),auth['isAuthenticated'](),controller[_0xa93d('0xf')]);router[_0xa93d('0x7')](_0xa93d('0x10'),auth[_0xa93d('0x8')](),controller[_0xa93d('0x11')]);router['get']('/:id/hopper_black',auth[_0xa93d('0x8')](),controller['getHopperBlacks']);router[_0xa93d('0x7')](_0xa93d('0x12'),auth[_0xa93d('0x8')](),controller[_0xa93d('0x13')]);router[_0xa93d('0x7')](_0xa93d('0x14'),auth[_0xa93d('0x8')](),controller[_0xa93d('0x15')]);router[_0xa93d('0x16')]('/',auth[_0xa93d('0x8')](),controller[_0xa93d('0x17')]);router[_0xa93d('0x16')](_0xa93d('0x18'),auth[_0xa93d('0x8')](),controller[_0xa93d('0x19')]);router['post']('/:id/lists',auth[_0xa93d('0x8')](),controller[_0xa93d('0x1a')]);router[_0xa93d('0x16')](_0xa93d('0x14'),auth[_0xa93d('0x8')](),controller[_0xa93d('0x1b')]);router[_0xa93d('0x1c')](_0xa93d('0xa'),auth[_0xa93d('0x8')](),controller['update']);router[_0xa93d('0x1d')](_0xa93d('0xa'),auth['isAuthenticated'](),controller[_0xa93d('0x1e')]);router[_0xa93d('0x1d')](_0xa93d('0x12'),auth['isAuthenticated'](),controller[_0xa93d('0x1f')]);router[_0xa93d('0x1d')](_0xa93d('0x14'),auth[_0xa93d('0x8')](),controller[_0xa93d('0x20')]);module[_0xa93d('0x21')]=router;
\ No newline at end of file