Built motion from commit a679711e.|2.6.15
[motion2.git] / server / api / intSugarcrmField / index.js
index c68a424..c663445 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x40b1=['../../components/interaction/service','get','/:id','isAuthenticated','show','post','create','update','delete','destroy','exports','multer','path','connect-timeout','express','Router'];(function(_0x54ecd7,_0x212beb){var _0xd465a6=function(_0x46234e){while(--_0x46234e){_0x54ecd7['push'](_0x54ecd7['shift']());}};_0xd465a6(++_0x212beb);}(_0x40b1,0x11b));var _0x140b=function(_0x489e4a,_0x3d214d){_0x489e4a=_0x489e4a-0x0;var _0x463ccc=_0x40b1[_0x489e4a];return _0x463ccc;};'use strict';var multer=require(_0x140b('0x0'));var util=require('util');var path=require(_0x140b('0x1'));var timeout=require(_0x140b('0x2'));var express=require(_0x140b('0x3'));var router=express[_0x140b('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x140b('0x5'));var config=require('../../config/environment');var controller=require('./intSugarcrmField.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x140b('0x6')](_0x140b('0x7'),auth[_0x140b('0x8')](),controller[_0x140b('0x9')]);router[_0x140b('0xa')]('/',auth[_0x140b('0x8')](),controller[_0x140b('0xb')]);router['put'](_0x140b('0x7'),auth[_0x140b('0x8')](),controller[_0x140b('0xc')]);router[_0x140b('0xd')](_0x140b('0x7'),auth['isAuthenticated'](),controller[_0x140b('0xe')]);module[_0x140b('0xf')]=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