Built motion from commit fade34fd.|2.5.41
[motion2.git] / server / api / campaign / index.js
index 1dc7dba..7770e09 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x38e2=['get','isAuthenticated','index','/:id','show','/:id/hoppers','getHoppers','getHopperHistories','getHopperFinals','/:id/hopper_black','getLists','/:id/blacklists','post','/:id/clone','/:id/lists','addLists','addBlackLists','update','delete','destroy','removeLists','removeBlackLists','exports','util','path','Router','fs-extra','../../config/environment','./campaign.controller'];(function(_0x3527eb,_0x2a1ddc){var _0x449056=function(_0x3d5b6e){while(--_0x3d5b6e){_0x3527eb['push'](_0x3527eb['shift']());}};_0x449056(++_0x2a1ddc);}(_0x38e2,0xff));var _0x238e=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0x38e2[_0x57b54c];return _0x59cc19;};'use strict';var multer=require('multer');var util=require(_0x238e('0x0'));var path=require(_0x238e('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x238e('0x2')]();var fs_extra=require(_0x238e('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x238e('0x4'));var controller=require(_0x238e('0x5'));router[_0x238e('0x6')]('/',auth[_0x238e('0x7')](),controller[_0x238e('0x8')]);router['get'](_0x238e('0x9'),auth[_0x238e('0x7')](),controller[_0x238e('0xa')]);router['get'](_0x238e('0xb'),auth['isAuthenticated'](),controller[_0x238e('0xc')]);router['get']('/:id/hopper_histories',auth[_0x238e('0x7')](),controller[_0x238e('0xd')]);router[_0x238e('0x6')]('/:id/hopper_finals',auth[_0x238e('0x7')](),controller[_0x238e('0xe')]);router[_0x238e('0x6')](_0x238e('0xf'),auth[_0x238e('0x7')](),controller['getHopperBlacks']);router[_0x238e('0x6')]('/:id/lists',auth[_0x238e('0x7')](),controller[_0x238e('0x10')]);router[_0x238e('0x6')](_0x238e('0x11'),auth[_0x238e('0x7')](),controller['getBlackLists']);router[_0x238e('0x12')]('/',auth[_0x238e('0x7')](),controller['create']);router['post'](_0x238e('0x13'),auth[_0x238e('0x7')](),controller['clone']);router[_0x238e('0x12')](_0x238e('0x14'),auth[_0x238e('0x7')](),controller[_0x238e('0x15')]);router[_0x238e('0x12')](_0x238e('0x11'),auth[_0x238e('0x7')](),controller[_0x238e('0x16')]);router['put'](_0x238e('0x9'),auth[_0x238e('0x7')](),controller[_0x238e('0x17')]);router[_0x238e('0x18')](_0x238e('0x9'),auth[_0x238e('0x7')](),controller[_0x238e('0x19')]);router[_0x238e('0x18')]('/:id/lists',auth['isAuthenticated'](),controller[_0x238e('0x1a')]);router[_0x238e('0x18')](_0x238e('0x11'),auth['isAuthenticated'](),controller[_0x238e('0x1b')]);module[_0x238e('0x1c')]=router;
\ No newline at end of file
+var _0x90be=['getHoppers','/:id/hopper_histories','getHopperHistories','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','/:id/blacklists','getBlackLists','post','/:id/clone','clone','addLists','addBlackLists','delete','/:id','destroy','removeLists','removeBlackLists','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./campaign.controller','get','isAuthenticated','show'];(function(_0x13d07a,_0x41efc3){var _0x5ee0ee=function(_0x4ca94a){while(--_0x4ca94a){_0x13d07a['push'](_0x13d07a['shift']());}};_0x5ee0ee(++_0x41efc3);}(_0x90be,0x15f));var _0xe90b=function(_0x425411,_0x1bbff3){_0x425411=_0x425411-0x0;var _0x3ec2ca=_0x90be[_0x425411];return _0x3ec2ca;};'use strict';var multer=require(_0xe90b('0x0'));var util=require(_0xe90b('0x1'));var path=require(_0xe90b('0x2'));var timeout=require(_0xe90b('0x3'));var express=require(_0xe90b('0x4'));var router=express['Router']();var fs_extra=require(_0xe90b('0x5'));var auth=require(_0xe90b('0x6'));var interaction=require(_0xe90b('0x7'));var config=require('../../config/environment');var controller=require(_0xe90b('0x8'));router[_0xe90b('0x9')]('/',auth[_0xe90b('0xa')](),controller['index']);router[_0xe90b('0x9')]('/:id',auth[_0xe90b('0xa')](),controller[_0xe90b('0xb')]);router[_0xe90b('0x9')]('/:id/hoppers',auth['isAuthenticated'](),controller[_0xe90b('0xc')]);router[_0xe90b('0x9')](_0xe90b('0xd'),auth['isAuthenticated'](),controller[_0xe90b('0xe')]);router[_0xe90b('0x9')]('/:id/hopper_finals',auth['isAuthenticated'](),controller[_0xe90b('0xf')]);router['get'](_0xe90b('0x10'),auth[_0xe90b('0xa')](),controller[_0xe90b('0x11')]);router[_0xe90b('0x9')](_0xe90b('0x12'),auth[_0xe90b('0xa')](),controller[_0xe90b('0x13')]);router[_0xe90b('0x9')](_0xe90b('0x14'),auth[_0xe90b('0xa')](),controller[_0xe90b('0x15')]);router[_0xe90b('0x16')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0xe90b('0x17'),auth[_0xe90b('0xa')](),controller[_0xe90b('0x18')]);router['post']('/:id/lists',auth[_0xe90b('0xa')](),controller[_0xe90b('0x19')]);router[_0xe90b('0x16')](_0xe90b('0x14'),auth[_0xe90b('0xa')](),controller[_0xe90b('0x1a')]);router['put']('/:id',auth[_0xe90b('0xa')](),controller['update']);router[_0xe90b('0x1b')](_0xe90b('0x1c'),auth[_0xe90b('0xa')](),controller[_0xe90b('0x1d')]);router[_0xe90b('0x1b')]('/:id/lists',auth[_0xe90b('0xa')](),controller[_0xe90b('0x1e')]);router[_0xe90b('0x1b')](_0xe90b('0x14'),auth[_0xe90b('0xa')](),controller[_0xe90b('0x1f')]);module[_0xe90b('0x20')]=router;
\ No newline at end of file