Built motion from commit a61a4a20.|2.5.46
[motion2.git] / server / api / intSugarcrmField / index.js
index b6da23e..d3801dc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8c8a=['fs-extra','../../components/interaction/service','../../config/environment','./intSugarcrmField.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','destroy','exports','multer','util','connect-timeout','express','Router'];(function(_0x1ee9a1,_0x5f1434){var _0x21270f=function(_0x303251){while(--_0x303251){_0x1ee9a1['push'](_0x1ee9a1['shift']());}};_0x21270f(++_0x5f1434);}(_0x8c8a,0x18b));var _0xa8c8=function(_0x5bd426,_0x4878e5){_0x5bd426=_0x5bd426-0x0;var _0x23a7eb=_0x8c8a[_0x5bd426];return _0x23a7eb;};'use strict';var multer=require(_0xa8c8('0x0'));var util=require(_0xa8c8('0x1'));var path=require('path');var timeout=require(_0xa8c8('0x2'));var express=require(_0xa8c8('0x3'));var router=express[_0xa8c8('0x4')]();var fs_extra=require(_0xa8c8('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xa8c8('0x6'));var config=require(_0xa8c8('0x7'));var controller=require(_0xa8c8('0x8'));router[_0xa8c8('0x9')]('/',auth[_0xa8c8('0xa')](),controller[_0xa8c8('0xb')]);router[_0xa8c8('0x9')](_0xa8c8('0xc'),auth['isAuthenticated'](),controller[_0xa8c8('0xd')]);router[_0xa8c8('0xe')]('/',auth[_0xa8c8('0xa')](),controller[_0xa8c8('0xf')]);router[_0xa8c8('0x10')](_0xa8c8('0xc'),auth[_0xa8c8('0xa')](),controller[_0xa8c8('0x11')]);router['delete'](_0xa8c8('0xc'),auth['isAuthenticated'](),controller[_0xa8c8('0x12')]);module[_0xa8c8('0x13')]=router;
\ No newline at end of file
+var _0xe149=['isAuthenticated','index','get','/:id','show','post','create','update','destroy','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x1de228,_0x1935c4){var _0x3bd839=function(_0x51c0f3){while(--_0x51c0f3){_0x1de228['push'](_0x1de228['shift']());}};_0x3bd839(++_0x1935c4);}(_0xe149,0x1d9));var _0x9e14=function(_0x29fde4,_0x509383){_0x29fde4=_0x29fde4-0x0;var _0x5bb3c4=_0xe149[_0x29fde4];return _0x5bb3c4;};'use strict';var multer=require(_0x9e14('0x0'));var util=require(_0x9e14('0x1'));var path=require(_0x9e14('0x2'));var timeout=require('connect-timeout');var express=require(_0x9e14('0x3'));var router=express[_0x9e14('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x9e14('0x5'));var interaction=require(_0x9e14('0x6'));var config=require('../../config/environment');var controller=require('./intSugarcrmField.controller');router['get']('/',auth[_0x9e14('0x7')](),controller[_0x9e14('0x8')]);router[_0x9e14('0x9')](_0x9e14('0xa'),auth[_0x9e14('0x7')](),controller[_0x9e14('0xb')]);router[_0x9e14('0xc')]('/',auth['isAuthenticated'](),controller[_0x9e14('0xd')]);router['put']('/:id',auth[_0x9e14('0x7')](),controller[_0x9e14('0xe')]);router['delete']('/:id',auth[_0x9e14('0x7')](),controller[_0x9e14('0xf')]);module['exports']=router;
\ No newline at end of file