X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintSugarcrmAccount%2Findex.js;h=3fbee262814c56f2fac2f45609de01b3df3ed12e;hb=884fcf970b507196a3b60584a74b23a84d7eaf24;hp=85b3950982313209cf4007bc12fa00ff167ab9a8;hpb=5ce610d3f4c768865e05185aa062c8402f6dcea4;p=motion2.git diff --git a/server/api/intSugarcrmAccount/index.js b/server/api/intSugarcrmAccount/index.js index 85b3950..3fbee26 100644 --- a/server/api/intSugarcrmAccount/index.js +++ b/server/api/intSugarcrmAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x12d8=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','/:id/configurations','getConfigurations','/:id/fields','create','post','addConfiguration','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x458a82,_0x458dd9){var _0x3c6546=function(_0x4dd297){while(--_0x4dd297){_0x458a82['push'](_0x458a82['shift']());}};_0x3c6546(++_0x458dd9);}(_0x12d8,0x73));var _0x812d=function(_0x44f334,_0x2bc5e1){_0x44f334=_0x44f334-0x0;var _0x4d951e=_0x12d8[_0x44f334];return _0x4d951e;};'use strict';var multer=require(_0x812d('0x0'));var util=require(_0x812d('0x1'));var path=require(_0x812d('0x2'));var timeout=require(_0x812d('0x3'));var express=require(_0x812d('0x4'));var router=express[_0x812d('0x5')]();var auth=require(_0x812d('0x6'));var interaction=require(_0x812d('0x7'));var config=require(_0x812d('0x8'));var controller=require('./intSugarcrmAccount.controller');router[_0x812d('0x9')]('/',auth[_0x812d('0xa')](),controller[_0x812d('0xb')]);router[_0x812d('0x9')](_0x812d('0xc'),auth[_0x812d('0xa')](),controller['show']);router['get'](_0x812d('0xd'),auth['isAuthenticated'](),controller[_0x812d('0xe')]);router[_0x812d('0x9')](_0x812d('0xf'),auth[_0x812d('0xa')](),controller['getFields']);router['post']('/',auth[_0x812d('0xa')](),controller[_0x812d('0x10')]);router[_0x812d('0x11')](_0x812d('0xd'),auth[_0x812d('0xa')](),controller[_0x812d('0x12')]);router[_0x812d('0x13')]('/:id',auth[_0x812d('0xa')](),controller[_0x812d('0x14')]);router[_0x812d('0x15')](_0x812d('0xc'),auth[_0x812d('0xa')](),controller[_0x812d('0x16')]);module[_0x812d('0x17')]=router; \ No newline at end of file +var _0xfbac=['path','connect-timeout','express','Router','../../components/auth/service','./intSugarcrmAccount.controller','get','isAuthenticated','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','update','/:id','destroy','exports','util'];(function(_0x4babbb,_0x49ce39){var _0x53a7bd=function(_0x68824a){while(--_0x68824a){_0x4babbb['push'](_0x4babbb['shift']());}};_0x53a7bd(++_0x49ce39);}(_0xfbac,0x167));var _0xcfba=function(_0xac9796,_0x58282a){_0xac9796=_0xac9796-0x0;var _0x170ce6=_0xfbac[_0xac9796];return _0x170ce6;};'use strict';var multer=require('multer');var util=require(_0xcfba('0x0'));var path=require(_0xcfba('0x1'));var timeout=require(_0xcfba('0x2'));var express=require(_0xcfba('0x3'));var router=express[_0xcfba('0x4')]();var auth=require(_0xcfba('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xcfba('0x6'));router[_0xcfba('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0xcfba('0x7')]('/:id',auth[_0xcfba('0x8')](),controller['show']);router[_0xcfba('0x7')](_0xcfba('0x9'),auth['isAuthenticated'](),controller[_0xcfba('0xa')]);router[_0xcfba('0x7')](_0xcfba('0xb'),auth[_0xcfba('0x8')](),controller[_0xcfba('0xc')]);router[_0xcfba('0xd')]('/',auth[_0xcfba('0x8')](),controller[_0xcfba('0xe')]);router[_0xcfba('0xd')](_0xcfba('0x9'),auth[_0xcfba('0x8')](),controller[_0xcfba('0xf')]);router['put']('/:id',auth[_0xcfba('0x8')](),controller[_0xcfba('0x10')]);router['delete'](_0xcfba('0x11'),auth[_0xcfba('0x8')](),controller[_0xcfba('0x12')]);module[_0xcfba('0x13')]=router; \ No newline at end of file