Built motion from commit d69f4380.|2.6.29
[motion2.git] / server / api / campaign / index.js
index 197a2e9..a66a036 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0a0b=['/:id','show','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','/:id/blacklists','post','create','clone','addLists','addBlackLists','update','delete','destroy','removeLists','multer','util','path','Router','fs-extra','../../components/interaction/service','../../config/environment','./campaign.controller','get','isAuthenticated','index'];(function(_0x4ff09b,_0x53f67d){var _0x3f5c2e=function(_0x124592){while(--_0x124592){_0x4ff09b['push'](_0x4ff09b['shift']());}};_0x3f5c2e(++_0x53f67d);}(_0x0a0b,0x71));var _0xb0a0=function(_0x7025b0,_0x9533f1){_0x7025b0=_0x7025b0-0x0;var _0x6e444c=_0x0a0b[_0x7025b0];return _0x6e444c;};'use strict';var multer=require(_0xb0a0('0x0'));var util=require(_0xb0a0('0x1'));var path=require(_0xb0a0('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xb0a0('0x3')]();var fs_extra=require(_0xb0a0('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xb0a0('0x5'));var config=require(_0xb0a0('0x6'));var controller=require(_0xb0a0('0x7'));router[_0xb0a0('0x8')]('/',auth[_0xb0a0('0x9')](),controller[_0xb0a0('0xa')]);router[_0xb0a0('0x8')](_0xb0a0('0xb'),auth['isAuthenticated'](),controller[_0xb0a0('0xc')]);router[_0xb0a0('0x8')]('/:id/hoppers',auth[_0xb0a0('0x9')](),controller[_0xb0a0('0xd')]);router[_0xb0a0('0x8')](_0xb0a0('0xe'),auth[_0xb0a0('0x9')](),controller[_0xb0a0('0xf')]);router[_0xb0a0('0x8')](_0xb0a0('0x10'),auth[_0xb0a0('0x9')](),controller['getHopperFinals']);router[_0xb0a0('0x8')](_0xb0a0('0x11'),auth['isAuthenticated'](),controller[_0xb0a0('0x12')]);router[_0xb0a0('0x8')](_0xb0a0('0x13'),auth['isAuthenticated'](),controller[_0xb0a0('0x14')]);router[_0xb0a0('0x8')](_0xb0a0('0x15'),auth[_0xb0a0('0x9')](),controller['getBlackLists']);router[_0xb0a0('0x16')]('/',auth[_0xb0a0('0x9')](),controller[_0xb0a0('0x17')]);router[_0xb0a0('0x16')]('/:id/clone',auth[_0xb0a0('0x9')](),controller[_0xb0a0('0x18')]);router[_0xb0a0('0x16')](_0xb0a0('0x13'),auth[_0xb0a0('0x9')](),controller[_0xb0a0('0x19')]);router[_0xb0a0('0x16')]('/:id/blacklists',auth[_0xb0a0('0x9')](),controller[_0xb0a0('0x1a')]);router['put'](_0xb0a0('0xb'),auth[_0xb0a0('0x9')](),controller[_0xb0a0('0x1b')]);router[_0xb0a0('0x1c')](_0xb0a0('0xb'),auth['isAuthenticated'](),controller[_0xb0a0('0x1d')]);router['delete'](_0xb0a0('0x13'),auth[_0xb0a0('0x9')](),controller[_0xb0a0('0x1e')]);router[_0xb0a0('0x1c')](_0xb0a0('0x15'),auth[_0xb0a0('0x9')](),controller['removeBlackLists']);module['exports']=router;
\ No newline at end of file
+var _0x5010=['addLists','/:id/blacklists','addBlackLists','/:id','update','delete','destroy','removeBlackLists','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','index','isAuthenticated','show','get','/:id/hoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_black','getHopperBlacks','/:id/lists','getBlackLists','post','create','/:id/clone','clone'];(function(_0x1f1ad0,_0x330eaf){var _0x352af5=function(_0x23a97f){while(--_0x23a97f){_0x1f1ad0['push'](_0x1f1ad0['shift']());}};_0x352af5(++_0x330eaf);}(_0x5010,0x1c9));var _0x0501=function(_0x14435f,_0x45ea68){_0x14435f=_0x14435f-0x0;var _0x348321=_0x5010[_0x14435f];return _0x348321;};'use strict';var multer=require(_0x0501('0x0'));var util=require(_0x0501('0x1'));var path=require(_0x0501('0x2'));var timeout=require(_0x0501('0x3'));var express=require(_0x0501('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x0501('0x5'));var interaction=require(_0x0501('0x6'));var config=require(_0x0501('0x7'));var controller=require('./campaign.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x0501('0x8')]);router['get']('/:id',auth[_0x0501('0x9')](),controller[_0x0501('0xa')]);router[_0x0501('0xb')](_0x0501('0xc'),auth[_0x0501('0x9')](),controller['getHoppers']);router[_0x0501('0xb')](_0x0501('0xd'),auth[_0x0501('0x9')](),controller[_0x0501('0xe')]);router[_0x0501('0xb')]('/:id/hopper_finals',auth['isAuthenticated'](),controller['getHopperFinals']);router[_0x0501('0xb')](_0x0501('0xf'),auth[_0x0501('0x9')](),controller[_0x0501('0x10')]);router[_0x0501('0xb')](_0x0501('0x11'),auth[_0x0501('0x9')](),controller['getLists']);router[_0x0501('0xb')]('/:id/blacklists',auth[_0x0501('0x9')](),controller[_0x0501('0x12')]);router[_0x0501('0x13')]('/',auth[_0x0501('0x9')](),controller[_0x0501('0x14')]);router[_0x0501('0x13')](_0x0501('0x15'),auth[_0x0501('0x9')](),controller[_0x0501('0x16')]);router[_0x0501('0x13')](_0x0501('0x11'),auth['isAuthenticated'](),controller[_0x0501('0x17')]);router[_0x0501('0x13')](_0x0501('0x18'),auth[_0x0501('0x9')](),controller[_0x0501('0x19')]);router['put'](_0x0501('0x1a'),auth[_0x0501('0x9')](),controller[_0x0501('0x1b')]);router[_0x0501('0x1c')](_0x0501('0x1a'),auth[_0x0501('0x9')](),controller[_0x0501('0x1d')]);router[_0x0501('0x1c')](_0x0501('0x11'),auth[_0x0501('0x9')](),controller['removeLists']);router['delete']('/:id/blacklists',auth['isAuthenticated'](),controller[_0x0501('0x1e')]);module[_0x0501('0x1f')]=router;
\ No newline at end of file