Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / intSugarcrmField / index.js
index c25a85c..7246b09 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x70a5=['../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmField.controller','get','index','/:id','isAuthenticated','show','post','put','update','delete','destroy','exports','util','path','express','Router'];(function(_0x161ac3,_0x142e49){var _0x3bb837=function(_0x269c7c){while(--_0x269c7c){_0x161ac3['push'](_0x161ac3['shift']());}};_0x3bb837(++_0x142e49);}(_0x70a5,0x1ea));var _0x570a=function(_0x2d4193,_0x409c52){_0x2d4193=_0x2d4193-0x0;var _0x2754f5=_0x70a5[_0x2d4193];return _0x2754f5;};'use strict';var multer=require('multer');var util=require(_0x570a('0x0'));var path=require(_0x570a('0x1'));var timeout=require('connect-timeout');var express=require(_0x570a('0x2'));var router=express[_0x570a('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x570a('0x4'));var interaction=require(_0x570a('0x5'));var config=require(_0x570a('0x6'));var controller=require(_0x570a('0x7'));router[_0x570a('0x8')]('/',auth['isAuthenticated'](),controller[_0x570a('0x9')]);router[_0x570a('0x8')](_0x570a('0xa'),auth[_0x570a('0xb')](),controller[_0x570a('0xc')]);router[_0x570a('0xd')]('/',auth[_0x570a('0xb')](),controller['create']);router[_0x570a('0xe')]('/:id',auth[_0x570a('0xb')](),controller[_0x570a('0xf')]);router[_0x570a('0x10')]('/:id',auth[_0x570a('0xb')](),controller[_0x570a('0x11')]);module[_0x570a('0x12')]=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