Built motion from commit (unavailable).|2.5.0
[motion2.git] / server / api / campaign / index.js
index 627d542..df5f6da 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb3e6=['path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','isAuthenticated','index','show','get','/:id/hoppers','/:id/hopper_histories','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/lists','/:id/blacklists','getBlackLists','post','create','clone','addLists','/:id','destroy','delete','removeLists','removeBlackLists','exports','util'];(function(_0x557d94,_0x101666){var _0x246b21=function(_0x39b582){while(--_0x39b582){_0x557d94['push'](_0x557d94['shift']());}};_0x246b21(++_0x101666);}(_0xb3e6,0x73));var _0x6b3e=function(_0xa148b7,_0x2f3eb2){_0xa148b7=_0xa148b7-0x0;var _0x51efd3=_0xb3e6[_0xa148b7];return _0x51efd3;};'use strict';var multer=require('multer');var util=require(_0x6b3e('0x0'));var path=require(_0x6b3e('0x1'));var timeout=require(_0x6b3e('0x2'));var express=require(_0x6b3e('0x3'));var router=express[_0x6b3e('0x4')]();var auth=require(_0x6b3e('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x6b3e('0x6'));var controller=require('./campaign.controller');router['get']('/',auth[_0x6b3e('0x7')](),controller[_0x6b3e('0x8')]);router['get']('/:id',auth[_0x6b3e('0x7')](),controller[_0x6b3e('0x9')]);router[_0x6b3e('0xa')](_0x6b3e('0xb'),auth[_0x6b3e('0x7')](),controller['getHoppers']);router[_0x6b3e('0xa')](_0x6b3e('0xc'),auth[_0x6b3e('0x7')](),controller['getHopperHistories']);router['get']('/:id/hopper_finals',auth[_0x6b3e('0x7')](),controller[_0x6b3e('0xd')]);router[_0x6b3e('0xa')](_0x6b3e('0xe'),auth[_0x6b3e('0x7')](),controller[_0x6b3e('0xf')]);router[_0x6b3e('0xa')](_0x6b3e('0x10'),auth['isAuthenticated'](),controller['getLists']);router[_0x6b3e('0xa')](_0x6b3e('0x11'),auth[_0x6b3e('0x7')](),controller[_0x6b3e('0x12')]);router[_0x6b3e('0x13')]('/',auth[_0x6b3e('0x7')](),controller[_0x6b3e('0x14')]);router[_0x6b3e('0x13')]('/:id/clone',auth[_0x6b3e('0x7')](),controller[_0x6b3e('0x15')]);router[_0x6b3e('0x13')](_0x6b3e('0x10'),auth[_0x6b3e('0x7')](),controller[_0x6b3e('0x16')]);router[_0x6b3e('0x13')](_0x6b3e('0x11'),auth['isAuthenticated'](),controller['addBlackLists']);router['put'](_0x6b3e('0x17'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x6b3e('0x17'),auth['isAuthenticated'](),controller[_0x6b3e('0x18')]);router[_0x6b3e('0x19')](_0x6b3e('0x10'),auth[_0x6b3e('0x7')](),controller[_0x6b3e('0x1a')]);router[_0x6b3e('0x19')](_0x6b3e('0x11'),auth[_0x6b3e('0x7')](),controller[_0x6b3e('0x1b')]);module[_0x6b3e('0x1c')]=router;
\ No newline at end of file
+var _0x8db5=['getHopperHistories','/:id/hopper_finals','getHopperFinals','getHopperBlacks','/:id/blacklists','post','/:id/clone','clone','/:id/lists','addBlackLists','put','update','delete','destroy','removeBlackLists','multer','util','../../components/auth/service','../../components/interaction/service','../../config/environment','./campaign.controller','get','isAuthenticated','index','/:id','show','getHoppers'];(function(_0x4a29a9,_0x58cd04){var _0x386570=function(_0x1d2d09){while(--_0x1d2d09){_0x4a29a9['push'](_0x4a29a9['shift']());}};_0x386570(++_0x58cd04);}(_0x8db5,0x1bf));var _0x58db=function(_0x11a5a2,_0x1411fb){_0x11a5a2=_0x11a5a2-0x0;var _0xaf1ed0=_0x8db5[_0x11a5a2];return _0xaf1ed0;};'use strict';var multer=require(_0x58db('0x0'));var util=require(_0x58db('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x58db('0x2'));var interaction=require(_0x58db('0x3'));var config=require(_0x58db('0x4'));var controller=require(_0x58db('0x5'));router[_0x58db('0x6')]('/',auth[_0x58db('0x7')](),controller[_0x58db('0x8')]);router['get'](_0x58db('0x9'),auth['isAuthenticated'](),controller[_0x58db('0xa')]);router[_0x58db('0x6')]('/:id/hoppers',auth[_0x58db('0x7')](),controller[_0x58db('0xb')]);router['get']('/:id/hopper_histories',auth[_0x58db('0x7')](),controller[_0x58db('0xc')]);router[_0x58db('0x6')](_0x58db('0xd'),auth[_0x58db('0x7')](),controller[_0x58db('0xe')]);router[_0x58db('0x6')]('/:id/hopper_black',auth['isAuthenticated'](),controller[_0x58db('0xf')]);router['get']('/:id/lists',auth[_0x58db('0x7')](),controller['getLists']);router[_0x58db('0x6')](_0x58db('0x10'),auth['isAuthenticated'](),controller['getBlackLists']);router['post']('/',auth[_0x58db('0x7')](),controller['create']);router[_0x58db('0x11')](_0x58db('0x12'),auth[_0x58db('0x7')](),controller[_0x58db('0x13')]);router[_0x58db('0x11')](_0x58db('0x14'),auth['isAuthenticated'](),controller['addLists']);router['post']('/:id/blacklists',auth['isAuthenticated'](),controller[_0x58db('0x15')]);router[_0x58db('0x16')](_0x58db('0x9'),auth['isAuthenticated'](),controller[_0x58db('0x17')]);router[_0x58db('0x18')](_0x58db('0x9'),auth[_0x58db('0x7')](),controller[_0x58db('0x19')]);router['delete']('/:id/lists',auth[_0x58db('0x7')](),controller['removeLists']);router[_0x58db('0x18')]('/:id/blacklists',auth['isAuthenticated'](),controller[_0x58db('0x1a')]);module['exports']=router;
\ No newline at end of file