X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FsquareReport%2Findex.js;h=0cfdc0fa00abdb6a5ed03a45c0e83c0021417fa6;hb=884fcf970b507196a3b60584a74b23a84d7eaf24;hp=fe8fcc4d0cf024e96a7ce7b71c388e8c22e1f9a5;hpb=032eef5eb1c414450ccc959e49effc8ff508851b;p=motion2.git diff --git a/server/api/squareReport/index.js b/server/api/squareReport/index.js index fe8fcc4..0cfdc0f 100644 --- a/server/api/squareReport/index.js +++ b/server/api/squareReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9975=['destroy','util','express','Router','../../components/interaction/service','get','isAuthenticated','/:id','show','post','create','put','update','delete'];(function(_0x33cdf2,_0xc28dac){var _0x3d05de=function(_0x37b977){while(--_0x37b977){_0x33cdf2['push'](_0x33cdf2['shift']());}};_0x3d05de(++_0xc28dac);}(_0x9975,0x16d));var _0x5997=function(_0xc1cf9d,_0xc32847){_0xc1cf9d=_0xc1cf9d-0x0;var _0x34c92a=_0x9975[_0xc1cf9d];return _0x34c92a;};'use strict';var multer=require('multer');var util=require(_0x5997('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5997('0x1'));var router=express[_0x5997('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x5997('0x3'));var config=require('../../config/environment');var controller=require('./squareReport.controller');router[_0x5997('0x4')]('/',auth['isAuthenticated'](),controller['index']);router[_0x5997('0x4')]('/describe',auth[_0x5997('0x5')](),controller['describe']);router[_0x5997('0x4')](_0x5997('0x6'),auth[_0x5997('0x5')](),controller[_0x5997('0x7')]);router[_0x5997('0x8')]('/',auth['isAuthenticated'](),controller[_0x5997('0x9')]);router[_0x5997('0xa')](_0x5997('0x6'),auth[_0x5997('0x5')](),controller[_0x5997('0xb')]);router[_0x5997('0xc')](_0x5997('0x6'),auth[_0x5997('0x5')](),controller[_0x5997('0xd')]);module['exports']=router; \ No newline at end of file +var _0x97cf=['delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./squareReport.controller','get','isAuthenticated','index','describe','/:id','show','post','create','update'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x97cf,0x16a));var _0xf97c=function(_0x4f302f,_0x3a670e){_0x4f302f=_0x4f302f-0x0;var _0x1c95e9=_0x97cf[_0x4f302f];return _0x1c95e9;};'use strict';var multer=require(_0xf97c('0x0'));var util=require(_0xf97c('0x1'));var path=require(_0xf97c('0x2'));var timeout=require(_0xf97c('0x3'));var express=require(_0xf97c('0x4'));var router=express[_0xf97c('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xf97c('0x6'));var config=require(_0xf97c('0x7'));var controller=require(_0xf97c('0x8'));router[_0xf97c('0x9')]('/',auth[_0xf97c('0xa')](),controller[_0xf97c('0xb')]);router['get']('/describe',auth[_0xf97c('0xa')](),controller[_0xf97c('0xc')]);router['get'](_0xf97c('0xd'),auth['isAuthenticated'](),controller[_0xf97c('0xe')]);router[_0xf97c('0xf')]('/',auth[_0xf97c('0xa')](),controller[_0xf97c('0x10')]);router['put'](_0xf97c('0xd'),auth[_0xf97c('0xa')](),controller[_0xf97c('0x11')]);router[_0xf97c('0x12')]('/:id',auth['isAuthenticated'](),controller[_0xf97c('0x13')]);module['exports']=router; \ No newline at end of file