Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / api / campaign / index.js
index 7ede027..528da1b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9b0e=['post','create','/:id/clone','clone','addBlackLists','put','/:id','update','delete','removeLists','removeBlackLists','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','index','get','show','/:id/hoppers','getHoppers','/:id/hopper_histories','isAuthenticated','/:id/hopper_finals','/:id/hopper_black','getHopperBlacks','/:id/lists','/:id/blacklists'];(function(_0x1f516b,_0x3d2f12){var _0x1b30b0=function(_0x11bfbd){while(--_0x11bfbd){_0x1f516b['push'](_0x1f516b['shift']());}};_0x1b30b0(++_0x3d2f12);}(_0x9b0e,0x12c));var _0xe9b0=function(_0x2f06ac,_0x43a07a){_0x2f06ac=_0x2f06ac-0x0;var _0x253bd3=_0x9b0e[_0x2f06ac];return _0x253bd3;};'use strict';var multer=require(_0xe9b0('0x0'));var util=require(_0xe9b0('0x1'));var path=require('path');var timeout=require(_0xe9b0('0x2'));var express=require(_0xe9b0('0x3'));var router=express[_0xe9b0('0x4')]();var auth=require(_0xe9b0('0x5'));var interaction=require(_0xe9b0('0x6'));var config=require(_0xe9b0('0x7'));var controller=require('./campaign.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xe9b0('0x8')]);router[_0xe9b0('0x9')]('/:id',auth['isAuthenticated'](),controller[_0xe9b0('0xa')]);router[_0xe9b0('0x9')](_0xe9b0('0xb'),auth['isAuthenticated'](),controller[_0xe9b0('0xc')]);router[_0xe9b0('0x9')](_0xe9b0('0xd'),auth[_0xe9b0('0xe')](),controller['getHopperHistories']);router[_0xe9b0('0x9')](_0xe9b0('0xf'),auth[_0xe9b0('0xe')](),controller['getHopperFinals']);router[_0xe9b0('0x9')](_0xe9b0('0x10'),auth['isAuthenticated'](),controller[_0xe9b0('0x11')]);router[_0xe9b0('0x9')](_0xe9b0('0x12'),auth[_0xe9b0('0xe')](),controller['getLists']);router[_0xe9b0('0x9')](_0xe9b0('0x13'),auth[_0xe9b0('0xe')](),controller['getBlackLists']);router[_0xe9b0('0x14')]('/',auth['isAuthenticated'](),controller[_0xe9b0('0x15')]);router['post'](_0xe9b0('0x16'),auth[_0xe9b0('0xe')](),controller[_0xe9b0('0x17')]);router[_0xe9b0('0x14')](_0xe9b0('0x12'),auth[_0xe9b0('0xe')](),controller['addLists']);router[_0xe9b0('0x14')](_0xe9b0('0x13'),auth[_0xe9b0('0xe')](),controller[_0xe9b0('0x18')]);router[_0xe9b0('0x19')](_0xe9b0('0x1a'),auth['isAuthenticated'](),controller[_0xe9b0('0x1b')]);router[_0xe9b0('0x1c')](_0xe9b0('0x1a'),auth[_0xe9b0('0xe')](),controller['destroy']);router[_0xe9b0('0x1c')](_0xe9b0('0x12'),auth[_0xe9b0('0xe')](),controller[_0xe9b0('0x1d')]);router[_0xe9b0('0x1c')](_0xe9b0('0x13'),auth[_0xe9b0('0xe')](),controller[_0xe9b0('0x1e')]);module[_0xe9b0('0x1f')]=router;
\ No newline at end of file
+var _0x1b3d=['getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','getBlackLists','post','create','/:id/clone','clone','addLists','/:id/blacklists','addBlackLists','put','update','delete','/:id','destroy','removeLists','removeBlackLists','exports','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./campaign.controller','get','isAuthenticated','index','show'];(function(_0x1e7b16,_0x4607a1){var _0x37fadc=function(_0x1fc9ce){while(--_0x1fc9ce){_0x1e7b16['push'](_0x1e7b16['shift']());}};_0x37fadc(++_0x4607a1);}(_0x1b3d,0x139));var _0xd1b3=function(_0x3018cb,_0x5cece4){_0x3018cb=_0x3018cb-0x0;var _0x91249=_0x1b3d[_0x3018cb];return _0x91249;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xd1b3('0x0'));var timeout=require(_0xd1b3('0x1'));var express=require(_0xd1b3('0x2'));var router=express[_0xd1b3('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xd1b3('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xd1b3('0x5'));var controller=require(_0xd1b3('0x6'));router[_0xd1b3('0x7')]('/',auth[_0xd1b3('0x8')](),controller[_0xd1b3('0x9')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xd1b3('0xa')]);router['get']('/:id/hoppers',auth[_0xd1b3('0x8')](),controller[_0xd1b3('0xb')]);router[_0xd1b3('0x7')](_0xd1b3('0xc'),auth[_0xd1b3('0x8')](),controller[_0xd1b3('0xd')]);router['get'](_0xd1b3('0xe'),auth['isAuthenticated'](),controller[_0xd1b3('0xf')]);router['get'](_0xd1b3('0x10'),auth[_0xd1b3('0x8')](),controller[_0xd1b3('0x11')]);router[_0xd1b3('0x7')](_0xd1b3('0x12'),auth[_0xd1b3('0x8')](),controller[_0xd1b3('0x13')]);router[_0xd1b3('0x7')]('/:id/blacklists',auth['isAuthenticated'](),controller[_0xd1b3('0x14')]);router[_0xd1b3('0x15')]('/',auth[_0xd1b3('0x8')](),controller[_0xd1b3('0x16')]);router['post'](_0xd1b3('0x17'),auth[_0xd1b3('0x8')](),controller[_0xd1b3('0x18')]);router[_0xd1b3('0x15')]('/:id/lists',auth[_0xd1b3('0x8')](),controller[_0xd1b3('0x19')]);router[_0xd1b3('0x15')](_0xd1b3('0x1a'),auth[_0xd1b3('0x8')](),controller[_0xd1b3('0x1b')]);router[_0xd1b3('0x1c')]('/:id',auth[_0xd1b3('0x8')](),controller[_0xd1b3('0x1d')]);router[_0xd1b3('0x1e')](_0xd1b3('0x1f'),auth[_0xd1b3('0x8')](),controller[_0xd1b3('0x20')]);router[_0xd1b3('0x1e')]('/:id/lists',auth[_0xd1b3('0x8')](),controller[_0xd1b3('0x21')]);router[_0xd1b3('0x1e')](_0xd1b3('0x1a'),auth[_0xd1b3('0x8')](),controller[_0xd1b3('0x22')]);module[_0xd1b3('0x23')]=router;
\ No newline at end of file