Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / intSugarcrmField / index.js
index c68a424..7246b09 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 _0x16b1=['../../config/environment','get','isAuthenticated','show','post','create','put','/:id','update','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x54a229,_0x479dd1){var _0x36232e=function(_0x48a4d3){while(--_0x48a4d3){_0x54a229['push'](_0x54a229['shift']());}};_0x36232e(++_0x479dd1);}(_0x16b1,0x7d));var _0x116b=function(_0x47f6bb,_0x2bad5b){_0x47f6bb=_0x47f6bb-0x0;var _0xd73348=_0x16b1[_0x47f6bb];return _0xd73348;};'use strict';var multer=require(_0x116b('0x0'));var util=require(_0x116b('0x1'));var path=require(_0x116b('0x2'));var timeout=require('connect-timeout');var express=require(_0x116b('0x3'));var router=express[_0x116b('0x4')]();var fs_extra=require(_0x116b('0x5'));var auth=require(_0x116b('0x6'));var interaction=require(_0x116b('0x7'));var config=require(_0x116b('0x8'));var controller=require('./intSugarcrmField.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x116b('0x9')]('/:id',auth[_0x116b('0xa')](),controller[_0x116b('0xb')]);router[_0x116b('0xc')]('/',auth[_0x116b('0xa')](),controller[_0x116b('0xd')]);router[_0x116b('0xe')](_0x116b('0xf'),auth['isAuthenticated'](),controller[_0x116b('0x10')]);router['delete'](_0x116b('0xf'),auth[_0x116b('0xa')](),controller[_0x116b('0x11')]);module[_0x116b('0x12')]=router;
\ No newline at end of file