Built motion from commit e1760111.|2.6.18
[motion2.git] / server / api / campaign / index.js
index 057e5c4..5dc08e8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfeff=['path','../../components/auth/service','../../components/interaction/service','../../config/environment','./campaign.controller','get','isAuthenticated','index','/:id','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','/:id/blacklists','getBlackLists','post','create','/:id/clone','addLists','addBlackLists','update','delete','destroy','removeLists','removeBlackLists','exports','multer','util'];(function(_0x49ba7e,_0x23b2e8){var _0x2d19d9=function(_0x4f2eae){while(--_0x4f2eae){_0x49ba7e['push'](_0x49ba7e['shift']());}};_0x2d19d9(++_0x23b2e8);}(_0xfeff,0xe5));var _0xffef=function(_0xd0b415,_0x149675){_0xd0b415=_0xd0b415-0x0;var _0x2bdf2c=_0xfeff[_0xd0b415];return _0x2bdf2c;};'use strict';var multer=require(_0xffef('0x0'));var util=require(_0xffef('0x1'));var path=require(_0xffef('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xffef('0x3'));var interaction=require(_0xffef('0x4'));var config=require(_0xffef('0x5'));var controller=require(_0xffef('0x6'));router[_0xffef('0x7')]('/',auth[_0xffef('0x8')](),controller[_0xffef('0x9')]);router['get'](_0xffef('0xa'),auth['isAuthenticated'](),controller['show']);router[_0xffef('0x7')](_0xffef('0xb'),auth['isAuthenticated'](),controller[_0xffef('0xc')]);router[_0xffef('0x7')](_0xffef('0xd'),auth['isAuthenticated'](),controller[_0xffef('0xe')]);router[_0xffef('0x7')](_0xffef('0xf'),auth[_0xffef('0x8')](),controller['getHopperFinals']);router['get'](_0xffef('0x10'),auth[_0xffef('0x8')](),controller[_0xffef('0x11')]);router['get'](_0xffef('0x12'),auth[_0xffef('0x8')](),controller[_0xffef('0x13')]);router['get'](_0xffef('0x14'),auth[_0xffef('0x8')](),controller[_0xffef('0x15')]);router[_0xffef('0x16')]('/',auth[_0xffef('0x8')](),controller[_0xffef('0x17')]);router[_0xffef('0x16')](_0xffef('0x18'),auth[_0xffef('0x8')](),controller['clone']);router[_0xffef('0x16')](_0xffef('0x12'),auth[_0xffef('0x8')](),controller[_0xffef('0x19')]);router['post'](_0xffef('0x14'),auth[_0xffef('0x8')](),controller[_0xffef('0x1a')]);router['put']('/:id',auth[_0xffef('0x8')](),controller[_0xffef('0x1b')]);router[_0xffef('0x1c')](_0xffef('0xa'),auth[_0xffef('0x8')](),controller[_0xffef('0x1d')]);router[_0xffef('0x1c')](_0xffef('0x12'),auth[_0xffef('0x8')](),controller[_0xffef('0x1e')]);router[_0xffef('0x1c')](_0xffef('0x14'),auth[_0xffef('0x8')](),controller[_0xffef('0x1f')]);module[_0xffef('0x20')]=router;
\ No newline at end of file
+var _0xafb4=['/:id/hoppers','getHoppers','getHopperHistories','/:id/hopper_finals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','getBlackLists','post','create','/:id/clone','addLists','/:id/blacklists','addBlackLists','/:id','update','destroy','delete','removeBlackLists','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./campaign.controller','index','isAuthenticated','get'];(function(_0x1be3b3,_0x4335ee){var _0x4f8b2d=function(_0x1d955f){while(--_0x1d955f){_0x1be3b3['push'](_0x1be3b3['shift']());}};_0x4f8b2d(++_0x4335ee);}(_0xafb4,0x78));var _0x4afb=function(_0x54073a,_0xd989bb){_0x54073a=_0x54073a-0x0;var _0x213f12=_0xafb4[_0x54073a];return _0x213f12;};'use strict';var multer=require(_0x4afb('0x0'));var util=require(_0x4afb('0x1'));var path=require('path');var timeout=require(_0x4afb('0x2'));var express=require(_0x4afb('0x3'));var router=express[_0x4afb('0x4')]();var fs_extra=require(_0x4afb('0x5'));var auth=require(_0x4afb('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x4afb('0x7'));var controller=require(_0x4afb('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x4afb('0x9')]);router['get']('/:id',auth[_0x4afb('0xa')](),controller['show']);router[_0x4afb('0xb')](_0x4afb('0xc'),auth['isAuthenticated'](),controller[_0x4afb('0xd')]);router['get']('/:id/hopper_histories',auth[_0x4afb('0xa')](),controller[_0x4afb('0xe')]);router['get'](_0x4afb('0xf'),auth[_0x4afb('0xa')](),controller['getHopperFinals']);router[_0x4afb('0xb')](_0x4afb('0x10'),auth[_0x4afb('0xa')](),controller[_0x4afb('0x11')]);router['get'](_0x4afb('0x12'),auth['isAuthenticated'](),controller[_0x4afb('0x13')]);router[_0x4afb('0xb')]('/:id/blacklists',auth[_0x4afb('0xa')](),controller[_0x4afb('0x14')]);router[_0x4afb('0x15')]('/',auth['isAuthenticated'](),controller[_0x4afb('0x16')]);router[_0x4afb('0x15')](_0x4afb('0x17'),auth['isAuthenticated'](),controller['clone']);router[_0x4afb('0x15')](_0x4afb('0x12'),auth[_0x4afb('0xa')](),controller[_0x4afb('0x18')]);router[_0x4afb('0x15')](_0x4afb('0x19'),auth[_0x4afb('0xa')](),controller[_0x4afb('0x1a')]);router['put'](_0x4afb('0x1b'),auth[_0x4afb('0xa')](),controller[_0x4afb('0x1c')]);router['delete'](_0x4afb('0x1b'),auth[_0x4afb('0xa')](),controller[_0x4afb('0x1d')]);router['delete']('/:id/lists',auth[_0x4afb('0xa')](),controller['removeLists']);router[_0x4afb('0x1e')]('/:id/blacklists',auth[_0x4afb('0xa')](),controller[_0x4afb('0x1f')]);module[_0x4afb('0x20')]=router;
\ No newline at end of file