X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintSugarcrmAccount%2Findex.js;h=994051ebcab86656ca12254cc2533b9637c4dee0;hb=dfacf7f441a092a1e235cb444060bf10fa72e39a;hp=85b3950982313209cf4007bc12fa00ff167ab9a8;hpb=5ce610d3f4c768865e05185aa062c8402f6dcea4;p=motion2.git diff --git a/server/api/intSugarcrmAccount/index.js b/server/api/intSugarcrmAccount/index.js index 85b3950..994051e 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 _0xd6b8=['get','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','post','create','addConfiguration','delete','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmAccount.controller'];(function(_0x1f1b33,_0x42775d){var _0x2f013f=function(_0x47869b){while(--_0x47869b){_0x1f1b33['push'](_0x1f1b33['shift']());}};_0x2f013f(++_0x42775d);}(_0xd6b8,0xdc));var _0x8d6b=function(_0x17e8dc,_0x5cf16f){_0x17e8dc=_0x17e8dc-0x0;var _0x182056=_0xd6b8[_0x17e8dc];return _0x182056;};'use strict';var multer=require(_0x8d6b('0x0'));var util=require(_0x8d6b('0x1'));var path=require(_0x8d6b('0x2'));var timeout=require(_0x8d6b('0x3'));var express=require(_0x8d6b('0x4'));var router=express[_0x8d6b('0x5')]();var auth=require(_0x8d6b('0x6'));var interaction=require(_0x8d6b('0x7'));var config=require(_0x8d6b('0x8'));var controller=require(_0x8d6b('0x9'));router[_0x8d6b('0xa')]('/',auth[_0x8d6b('0xb')](),controller['index']);router[_0x8d6b('0xa')]('/:id',auth[_0x8d6b('0xb')](),controller[_0x8d6b('0xc')]);router[_0x8d6b('0xa')](_0x8d6b('0xd'),auth[_0x8d6b('0xb')](),controller[_0x8d6b('0xe')]);router[_0x8d6b('0xa')](_0x8d6b('0xf'),auth[_0x8d6b('0xb')](),controller['getFields']);router[_0x8d6b('0x10')]('/',auth[_0x8d6b('0xb')](),controller[_0x8d6b('0x11')]);router[_0x8d6b('0x10')](_0x8d6b('0xd'),auth[_0x8d6b('0xb')](),controller[_0x8d6b('0x12')]);router['put']('/:id',auth[_0x8d6b('0xb')](),controller['update']);router[_0x8d6b('0x13')](_0x8d6b('0x14'),auth[_0x8d6b('0xb')](),controller[_0x8d6b('0x15')]);module[_0x8d6b('0x16')]=router; \ No newline at end of file