X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fcampaign%2Findex.js;h=6775a69100775688a3b0e1bbca4461a8eb5b0f53;hb=d95c7680dfcaf10be192f8d0dd361fe585df15b7;hp=5d3cc6c99a3fe43d9be52b1cad44c623acea10c4;hpb=3a60439f3b647e2a7df8ce941316640492032b43;p=motion2.git diff --git a/server/api/campaign/index.js b/server/api/campaign/index.js index 5d3cc6c..6775a69 100644 --- a/server/api/campaign/index.js +++ b/server/api/campaign/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xab0a=['update','delete','destroy','removeLists','removeBlackLists','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./campaign.controller','get','isAuthenticated','index','/:id','show','/:id/hoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/lists','/:id/blacklists','getBlackLists','post','create','/:id/clone','addLists','addBlackLists','put'];(function(_0x17ef24,_0x1179c6){var _0x3a98c9=function(_0x32f8bf){while(--_0x32f8bf){_0x17ef24['push'](_0x17ef24['shift']());}};_0x3a98c9(++_0x1179c6);}(_0xab0a,0x1f0));var _0xaab0=function(_0x38c5fc,_0x5f2b5a){_0x38c5fc=_0x38c5fc-0x0;var _0x4facce=_0xab0a[_0x38c5fc];return _0x4facce;};'use strict';var multer=require(_0xaab0('0x0'));var util=require(_0xaab0('0x1'));var path=require(_0xaab0('0x2'));var timeout=require(_0xaab0('0x3'));var express=require(_0xaab0('0x4'));var router=express[_0xaab0('0x5')]();var fs_extra=require(_0xaab0('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xaab0('0x7'));var config=require(_0xaab0('0x8'));var controller=require(_0xaab0('0x9'));router[_0xaab0('0xa')]('/',auth[_0xaab0('0xb')](),controller[_0xaab0('0xc')]);router[_0xaab0('0xa')](_0xaab0('0xd'),auth[_0xaab0('0xb')](),controller[_0xaab0('0xe')]);router[_0xaab0('0xa')](_0xaab0('0xf'),auth[_0xaab0('0xb')](),controller['getHoppers']);router[_0xaab0('0xa')](_0xaab0('0x10'),auth[_0xaab0('0xb')](),controller[_0xaab0('0x11')]);router['get'](_0xaab0('0x12'),auth['isAuthenticated'](),controller[_0xaab0('0x13')]);router['get']('/:id/hopper_black',auth[_0xaab0('0xb')](),controller['getHopperBlacks']);router[_0xaab0('0xa')](_0xaab0('0x14'),auth[_0xaab0('0xb')](),controller['getLists']);router['get'](_0xaab0('0x15'),auth[_0xaab0('0xb')](),controller[_0xaab0('0x16')]);router[_0xaab0('0x17')]('/',auth['isAuthenticated'](),controller[_0xaab0('0x18')]);router['post'](_0xaab0('0x19'),auth[_0xaab0('0xb')](),controller['clone']);router[_0xaab0('0x17')]('/:id/lists',auth['isAuthenticated'](),controller[_0xaab0('0x1a')]);router['post']('/:id/blacklists',auth[_0xaab0('0xb')](),controller[_0xaab0('0x1b')]);router[_0xaab0('0x1c')](_0xaab0('0xd'),auth[_0xaab0('0xb')](),controller[_0xaab0('0x1d')]);router[_0xaab0('0x1e')](_0xaab0('0xd'),auth[_0xaab0('0xb')](),controller[_0xaab0('0x1f')]);router[_0xaab0('0x1e')]('/:id/lists',auth[_0xaab0('0xb')](),controller[_0xaab0('0x20')]);router[_0xaab0('0x1e')](_0xaab0('0x15'),auth['isAuthenticated'](),controller[_0xaab0('0x21')]);module[_0xaab0('0x22')]=router; \ No newline at end of file +var _0x9969=['/:id','show','getHoppers','/:id/hopper_histories','isAuthenticated','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/hopper_black','getLists','/:id/blacklists','getBlackLists','post','create','/:id/clone','clone','/:id/lists','addLists','addBlackLists','update','delete','removeLists','removeBlackLists','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./campaign.controller','get','index'];(function(_0x11cfed,_0x81349){var _0x1cbc6d=function(_0x18f638){while(--_0x18f638){_0x11cfed['push'](_0x11cfed['shift']());}};_0x1cbc6d(++_0x81349);}(_0x9969,0x130));var _0x9996=function(_0xb74243,_0xfda9ae){_0xb74243=_0xb74243-0x0;var _0x1a3869=_0x9969[_0xb74243];return _0x1a3869;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x9996('0x0'));var timeout=require(_0x9996('0x1'));var express=require(_0x9996('0x2'));var router=express[_0x9996('0x3')]();var fs_extra=require(_0x9996('0x4'));var auth=require(_0x9996('0x5'));var interaction=require(_0x9996('0x6'));var config=require(_0x9996('0x7'));var controller=require(_0x9996('0x8'));router[_0x9996('0x9')]('/',auth['isAuthenticated'](),controller[_0x9996('0xa')]);router[_0x9996('0x9')](_0x9996('0xb'),auth['isAuthenticated'](),controller[_0x9996('0xc')]);router[_0x9996('0x9')]('/:id/hoppers',auth['isAuthenticated'](),controller[_0x9996('0xd')]);router[_0x9996('0x9')](_0x9996('0xe'),auth[_0x9996('0xf')](),controller[_0x9996('0x10')]);router[_0x9996('0x9')](_0x9996('0x11'),auth[_0x9996('0xf')](),controller[_0x9996('0x12')]);router[_0x9996('0x9')](_0x9996('0x13'),auth[_0x9996('0xf')](),controller['getHopperBlacks']);router[_0x9996('0x9')]('/:id/lists',auth[_0x9996('0xf')](),controller[_0x9996('0x14')]);router['get'](_0x9996('0x15'),auth['isAuthenticated'](),controller[_0x9996('0x16')]);router[_0x9996('0x17')]('/',auth[_0x9996('0xf')](),controller[_0x9996('0x18')]);router[_0x9996('0x17')](_0x9996('0x19'),auth['isAuthenticated'](),controller[_0x9996('0x1a')]);router[_0x9996('0x17')](_0x9996('0x1b'),auth['isAuthenticated'](),controller[_0x9996('0x1c')]);router[_0x9996('0x17')]('/:id/blacklists',auth[_0x9996('0xf')](),controller[_0x9996('0x1d')]);router['put']('/:id',auth[_0x9996('0xf')](),controller[_0x9996('0x1e')]);router[_0x9996('0x1f')]('/:id',auth[_0x9996('0xf')](),controller['destroy']);router[_0x9996('0x1f')](_0x9996('0x1b'),auth['isAuthenticated'](),controller[_0x9996('0x20')]);router[_0x9996('0x1f')](_0x9996('0x15'),auth[_0x9996('0xf')](),controller[_0x9996('0x21')]);module[_0x9996('0x22')]=router; \ No newline at end of file