Built motion from commit a679711e.|2.6.15
[motion2.git] / server / api / intSugarcrmField / index.js
index 5a8726a..c663445 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf562=['isAuthenticated','show','post','create','/:id','update','delete','destroy','exports','multer','util','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./intSugarcrmField.controller','get'];(function(_0x187c0f,_0x30d4fd){var _0x1ce7d7=function(_0x5e8d34){while(--_0x5e8d34){_0x187c0f['push'](_0x187c0f['shift']());}};_0x1ce7d7(++_0x30d4fd);}(_0xf562,0x129));var _0x2f56=function(_0x33b718,_0x134497){_0x33b718=_0x33b718-0x0;var _0xb7e013=_0xf562[_0x33b718];return _0xb7e013;};'use strict';var multer=require(_0x2f56('0x0'));var util=require(_0x2f56('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x2f56('0x2'));var router=express[_0x2f56('0x3')]();var fs_extra=require(_0x2f56('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x2f56('0x5'));var config=require(_0x2f56('0x6'));var controller=require(_0x2f56('0x7'));router[_0x2f56('0x8')]('/',auth[_0x2f56('0x9')](),controller['index']);router[_0x2f56('0x8')]('/:id',auth[_0x2f56('0x9')](),controller[_0x2f56('0xa')]);router[_0x2f56('0xb')]('/',auth['isAuthenticated'](),controller[_0x2f56('0xc')]);router['put'](_0x2f56('0xd'),auth[_0x2f56('0x9')](),controller[_0x2f56('0xe')]);router[_0x2f56('0xf')](_0x2f56('0xd'),auth[_0x2f56('0x9')](),controller[_0x2f56('0x10')]);module[_0x2f56('0x11')]=router;
\ No newline at end of file
+var _0xeba7=['/:id','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intSugarcrmField.controller','get','index','post','isAuthenticated','put','update'];(function(_0x24d0d2,_0x26aad8){var _0xbdebcc=function(_0x31d619){while(--_0x31d619){_0x24d0d2['push'](_0x24d0d2['shift']());}};_0xbdebcc(++_0x26aad8);}(_0xeba7,0x155));var _0x7eba=function(_0x1df5b9,_0x149d6b){_0x1df5b9=_0x1df5b9-0x0;var _0x24c9c2=_0xeba7[_0x1df5b9];return _0x24c9c2;};'use strict';var multer=require(_0x7eba('0x0'));var util=require(_0x7eba('0x1'));var path=require(_0x7eba('0x2'));var timeout=require(_0x7eba('0x3'));var express=require(_0x7eba('0x4'));var router=express[_0x7eba('0x5')]();var fs_extra=require(_0x7eba('0x6'));var auth=require(_0x7eba('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x7eba('0x8'));var controller=require(_0x7eba('0x9'));router[_0x7eba('0xa')]('/',auth['isAuthenticated'](),controller[_0x7eba('0xb')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router[_0x7eba('0xc')]('/',auth[_0x7eba('0xd')](),controller['create']);router[_0x7eba('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x7eba('0xf')]);router['delete'](_0x7eba('0x10'),auth[_0x7eba('0xd')](),controller['destroy']);module['exports']=router;
\ No newline at end of file