Built motion from commit (unavailable).|2.5.12
[motion2.git] / server / api / intSugarcrmAccount / index.js
index b409ace..f59c66a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x94c3=['addConfiguration','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','./intSugarcrmAccount.controller','get','isAuthenticated','/:id','/:id/configurations','getConfigurations','/:id/fields','getFields','post'];(function(_0x28ef4e,_0x202aa3){var _0x1aa097=function(_0x38ca63){while(--_0x38ca63){_0x28ef4e['push'](_0x28ef4e['shift']());}};_0x1aa097(++_0x202aa3);}(_0x94c3,0x1ea));var _0x394c=function(_0x3aa414,_0x5587ea){_0x3aa414=_0x3aa414-0x0;var _0x251ccc=_0x94c3[_0x3aa414];return _0x251ccc;};'use strict';var multer=require(_0x394c('0x0'));var util=require(_0x394c('0x1'));var path=require(_0x394c('0x2'));var timeout=require(_0x394c('0x3'));var express=require(_0x394c('0x4'));var router=express[_0x394c('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x394c('0x6'));var controller=require(_0x394c('0x7'));router[_0x394c('0x8')]('/',auth[_0x394c('0x9')](),controller['index']);router['get'](_0x394c('0xa'),auth[_0x394c('0x9')](),controller['show']);router[_0x394c('0x8')](_0x394c('0xb'),auth['isAuthenticated'](),controller[_0x394c('0xc')]);router['get'](_0x394c('0xd'),auth['isAuthenticated'](),controller[_0x394c('0xe')]);router[_0x394c('0xf')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0x394c('0xb'),auth[_0x394c('0x9')](),controller[_0x394c('0x10')]);router[_0x394c('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x394c('0x12')]);router[_0x394c('0x13')](_0x394c('0xa'),auth[_0x394c('0x9')](),controller[_0x394c('0x14')]);module[_0x394c('0x15')]=router;
\ No newline at end of file
+var _0xdfcc=['../../config/environment','index','get','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','/:id','delete','exports','multer','util','path','express','Router','../../components/auth/service'];(function(_0x2a90d1,_0x3e8b39){var _0x3a0a7c=function(_0x3a61a6){while(--_0x3a61a6){_0x2a90d1['push'](_0x2a90d1['shift']());}};_0x3a0a7c(++_0x3e8b39);}(_0xdfcc,0x8d));var _0xcdfc=function(_0x11e05d,_0x3a4491){_0x11e05d=_0x11e05d-0x0;var _0x335588=_0xdfcc[_0x11e05d];return _0x335588;};'use strict';var multer=require(_0xcdfc('0x0'));var util=require(_0xcdfc('0x1'));var path=require(_0xcdfc('0x2'));var timeout=require('connect-timeout');var express=require(_0xcdfc('0x3'));var router=express[_0xcdfc('0x4')]();var auth=require(_0xcdfc('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xcdfc('0x6'));var controller=require('./intSugarcrmAccount.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xcdfc('0x7')]);router[_0xcdfc('0x8')]('/:id',auth[_0xcdfc('0x9')](),controller[_0xcdfc('0xa')]);router[_0xcdfc('0x8')](_0xcdfc('0xb'),auth['isAuthenticated'](),controller[_0xcdfc('0xc')]);router['get'](_0xcdfc('0xd'),auth[_0xcdfc('0x9')](),controller[_0xcdfc('0xe')]);router[_0xcdfc('0xf')]('/',auth[_0xcdfc('0x9')](),controller[_0xcdfc('0x10')]);router['post']('/:id/configurations',auth[_0xcdfc('0x9')](),controller[_0xcdfc('0x11')]);router['put'](_0xcdfc('0x12'),auth[_0xcdfc('0x9')](),controller['update']);router[_0xcdfc('0x13')](_0xcdfc('0x12'),auth[_0xcdfc('0x9')](),controller['destroy']);module[_0xcdfc('0x14')]=router;
\ No newline at end of file