Built motion from commit a679711e.|2.6.15
[motion2.git] / server / api / intSugarcrmField / index.js
index 28ca3e5..c663445 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x939f=['create','put','destroy','exports','multer','util','Router','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','show','post'];(function(_0xf734b7,_0x228b4c){var _0x4c38a3=function(_0x2f8e61){while(--_0x2f8e61){_0xf734b7['push'](_0xf734b7['shift']());}};_0x4c38a3(++_0x228b4c);}(_0x939f,0x1c6));var _0xf939=function(_0x2a5262,_0x578588){_0x2a5262=_0x2a5262-0x0;var _0x483802=_0x939f[_0x2a5262];return _0x483802;};'use strict';var multer=require(_0xf939('0x0'));var util=require(_0xf939('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xf939('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xf939('0x3'));var config=require(_0xf939('0x4'));var controller=require('./intSugarcrmField.controller');router['get']('/',auth[_0xf939('0x5')](),controller[_0xf939('0x6')]);router[_0xf939('0x7')](_0xf939('0x8'),auth[_0xf939('0x5')](),controller[_0xf939('0x9')]);router[_0xf939('0xa')]('/',auth[_0xf939('0x5')](),controller[_0xf939('0xb')]);router[_0xf939('0xc')](_0xf939('0x8'),auth[_0xf939('0x5')](),controller['update']);router['delete'](_0xf939('0x8'),auth[_0xf939('0x5')](),controller[_0xf939('0xd')]);module[_0xf939('0xe')]=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