Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / campaign / index.js
index 898096b..328becf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1beb=['post','/:id/clone','clone','/:id/lists','addLists','addBlackLists','put','/:id','update','delete','destroy','removeBlackLists','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./campaign.controller','get','isAuthenticated','index','show','getHoppers','getHopperFinals','/:id/hopper_black','getHopperBlacks','getLists','/:id/blacklists','getBlackLists'];(function(_0x137bb8,_0x506eb7){var _0x24e6ec=function(_0x332c60){while(--_0x332c60){_0x137bb8['push'](_0x137bb8['shift']());}};_0x24e6ec(++_0x506eb7);}(_0x1beb,0x136));var _0xb1be=function(_0xea25be,_0x54130f){_0xea25be=_0xea25be-0x0;var _0x2676b1=_0x1beb[_0xea25be];return _0x2676b1;};'use strict';var multer=require(_0xb1be('0x0'));var util=require('util');var path=require(_0xb1be('0x1'));var timeout=require(_0xb1be('0x2'));var express=require(_0xb1be('0x3'));var router=express[_0xb1be('0x4')]();var fs_extra=require(_0xb1be('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xb1be('0x6'));var config=require(_0xb1be('0x7'));var controller=require(_0xb1be('0x8'));router[_0xb1be('0x9')]('/',auth[_0xb1be('0xa')](),controller[_0xb1be('0xb')]);router[_0xb1be('0x9')]('/:id',auth[_0xb1be('0xa')](),controller[_0xb1be('0xc')]);router[_0xb1be('0x9')]('/:id/hoppers',auth[_0xb1be('0xa')](),controller[_0xb1be('0xd')]);router['get']('/:id/hopper_histories',auth[_0xb1be('0xa')](),controller['getHopperHistories']);router[_0xb1be('0x9')]('/:id/hopper_finals',auth[_0xb1be('0xa')](),controller[_0xb1be('0xe')]);router[_0xb1be('0x9')](_0xb1be('0xf'),auth[_0xb1be('0xa')](),controller[_0xb1be('0x10')]);router['get']('/:id/lists',auth[_0xb1be('0xa')](),controller[_0xb1be('0x11')]);router['get'](_0xb1be('0x12'),auth[_0xb1be('0xa')](),controller[_0xb1be('0x13')]);router[_0xb1be('0x14')]('/',auth[_0xb1be('0xa')](),controller['create']);router[_0xb1be('0x14')](_0xb1be('0x15'),auth[_0xb1be('0xa')](),controller[_0xb1be('0x16')]);router[_0xb1be('0x14')](_0xb1be('0x17'),auth['isAuthenticated'](),controller[_0xb1be('0x18')]);router[_0xb1be('0x14')]('/:id/blacklists',auth[_0xb1be('0xa')](),controller[_0xb1be('0x19')]);router[_0xb1be('0x1a')](_0xb1be('0x1b'),auth[_0xb1be('0xa')](),controller[_0xb1be('0x1c')]);router[_0xb1be('0x1d')](_0xb1be('0x1b'),auth['isAuthenticated'](),controller[_0xb1be('0x1e')]);router[_0xb1be('0x1d')](_0xb1be('0x17'),auth[_0xb1be('0xa')](),controller['removeLists']);router['delete']('/:id/blacklists',auth[_0xb1be('0xa')](),controller[_0xb1be('0x1f')]);module[_0xb1be('0x20')]=router;
\ No newline at end of file
+var _0x2568=['update','delete','destroy','removeLists','path','connect-timeout','express','Router','../../components/auth/service','get','isAuthenticated','index','/:id','show','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/hopper_black','/:id/lists','getLists','/:id/blacklists','getBlackLists','post','create','/:id/clone','addLists','addBlackLists','put'];(function(_0x5dcf1b,_0x7e6b4d){var _0x7c83=function(_0x2b011a){while(--_0x2b011a){_0x5dcf1b['push'](_0x5dcf1b['shift']());}};_0x7c83(++_0x7e6b4d);}(_0x2568,0x1a8));var _0x8256=function(_0x40d3fc,_0x56b986){_0x40d3fc=_0x40d3fc-0x0;var _0x5ccd67=_0x2568[_0x40d3fc];return _0x5ccd67;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x8256('0x0'));var timeout=require(_0x8256('0x1'));var express=require(_0x8256('0x2'));var router=express[_0x8256('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x8256('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./campaign.controller');router[_0x8256('0x5')]('/',auth[_0x8256('0x6')](),controller[_0x8256('0x7')]);router[_0x8256('0x5')](_0x8256('0x8'),auth[_0x8256('0x6')](),controller[_0x8256('0x9')]);router[_0x8256('0x5')]('/:id/hoppers',auth[_0x8256('0x6')](),controller[_0x8256('0xa')]);router[_0x8256('0x5')](_0x8256('0xb'),auth[_0x8256('0x6')](),controller[_0x8256('0xc')]);router[_0x8256('0x5')](_0x8256('0xd'),auth[_0x8256('0x6')](),controller[_0x8256('0xe')]);router['get'](_0x8256('0xf'),auth['isAuthenticated'](),controller['getHopperBlacks']);router[_0x8256('0x5')](_0x8256('0x10'),auth[_0x8256('0x6')](),controller[_0x8256('0x11')]);router[_0x8256('0x5')](_0x8256('0x12'),auth[_0x8256('0x6')](),controller[_0x8256('0x13')]);router[_0x8256('0x14')]('/',auth['isAuthenticated'](),controller[_0x8256('0x15')]);router[_0x8256('0x14')](_0x8256('0x16'),auth['isAuthenticated'](),controller['clone']);router[_0x8256('0x14')](_0x8256('0x10'),auth[_0x8256('0x6')](),controller[_0x8256('0x17')]);router[_0x8256('0x14')](_0x8256('0x12'),auth[_0x8256('0x6')](),controller[_0x8256('0x18')]);router[_0x8256('0x19')](_0x8256('0x8'),auth[_0x8256('0x6')](),controller[_0x8256('0x1a')]);router[_0x8256('0x1b')](_0x8256('0x8'),auth['isAuthenticated'](),controller[_0x8256('0x1c')]);router[_0x8256('0x1b')](_0x8256('0x10'),auth['isAuthenticated'](),controller[_0x8256('0x1d')]);router[_0x8256('0x1b')](_0x8256('0x12'),auth[_0x8256('0x6')](),controller['removeBlackLists']);module['exports']=router;
\ No newline at end of file