X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintZohoField%2Findex.js;h=ddb97d08d5e73591373bd1a1c42ec6a0ca27162e;hb=676e0a00dac18511f03a9406d0d87e461770e967;hp=c9b33e52e184007650c26f5369efa0173be6be67;hpb=07b7b3200d171aa6bbc6fe2ed92b6ea789d6486c;p=motion2.git diff --git a/server/api/intZohoField/index.js b/server/api/intZohoField/index.js index c9b33e5..ddb97d0 100644 --- a/server/api/intZohoField/index.js +++ b/server/api/intZohoField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x39c5=['update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoField.controller','get','isAuthenticated','index','create','put','/:id'];(function(_0x3a07d4,_0xa80b88){var _0x2c352=function(_0x27926b){while(--_0x27926b){_0x3a07d4['push'](_0x3a07d4['shift']());}};_0x2c352(++_0xa80b88);}(_0x39c5,0x143));var _0x539c=function(_0x24619a,_0xad4697){_0x24619a=_0x24619a-0x0;var _0x7a91a9=_0x39c5[_0x24619a];return _0x7a91a9;};'use strict';var multer=require(_0x539c('0x0'));var util=require(_0x539c('0x1'));var path=require(_0x539c('0x2'));var timeout=require(_0x539c('0x3'));var express=require(_0x539c('0x4'));var router=express[_0x539c('0x5')]();var fs_extra=require(_0x539c('0x6'));var auth=require(_0x539c('0x7'));var interaction=require(_0x539c('0x8'));var config=require(_0x539c('0x9'));var controller=require(_0x539c('0xa'));router[_0x539c('0xb')]('/',auth[_0x539c('0xc')](),controller[_0x539c('0xd')]);router[_0x539c('0xb')]('/:id',auth[_0x539c('0xc')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller[_0x539c('0xe')]);router[_0x539c('0xf')](_0x539c('0x10'),auth[_0x539c('0xc')](),controller[_0x539c('0x11')]);router[_0x539c('0x12')](_0x539c('0x10'),auth[_0x539c('0xc')](),controller['destroy']);module[_0x539c('0x13')]=router; \ No newline at end of file +var _0xbe16=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intZohoField.controller','get','isAuthenticated','show','post','put','/:id','delete','destroy','multer','util'];(function(_0x8c3237,_0x4ace5b){var _0x6e32ab=function(_0x58c8de){while(--_0x58c8de){_0x8c3237['push'](_0x8c3237['shift']());}};_0x6e32ab(++_0x4ace5b);}(_0xbe16,0xb2));var _0x6be1=function(_0x19b3f9,_0xade753){_0x19b3f9=_0x19b3f9-0x0;var _0x18c3f6=_0xbe16[_0x19b3f9];return _0x18c3f6;};'use strict';var multer=require(_0x6be1('0x0'));var util=require(_0x6be1('0x1'));var path=require(_0x6be1('0x2'));var timeout=require(_0x6be1('0x3'));var express=require(_0x6be1('0x4'));var router=express[_0x6be1('0x5')]();var fs_extra=require(_0x6be1('0x6'));var auth=require(_0x6be1('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x6be1('0x8'));var controller=require(_0x6be1('0x9'));router[_0x6be1('0xa')]('/',auth[_0x6be1('0xb')](),controller['index']);router[_0x6be1('0xa')]('/:id',auth[_0x6be1('0xb')](),controller[_0x6be1('0xc')]);router[_0x6be1('0xd')]('/',auth[_0x6be1('0xb')](),controller['create']);router[_0x6be1('0xe')](_0x6be1('0xf'),auth[_0x6be1('0xb')](),controller['update']);router[_0x6be1('0x10')](_0x6be1('0xf'),auth[_0x6be1('0xb')](),controller[_0x6be1('0x11')]);module['exports']=router; \ No newline at end of file