Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / intSugarcrmConfiguration / index.js
index d27526f..999ea3b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1bf0=['isAuthenticated','/:id','show','/:id/fields','getFields','getSubjects','getDescriptions','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./intSugarcrmConfiguration.controller','get'];(function(_0x6077d0,_0x4d45c3){var _0x50f77c=function(_0x11f671){while(--_0x11f671){_0x6077d0['push'](_0x6077d0['shift']());}};_0x50f77c(++_0x4d45c3);}(_0x1bf0,0x116));var _0x01bf=function(_0x236da9,_0x3da09b){_0x236da9=_0x236da9-0x0;var _0x57f0d4=_0x1bf0[_0x236da9];return _0x57f0d4;};'use strict';var multer=require(_0x01bf('0x0'));var util=require(_0x01bf('0x1'));var path=require(_0x01bf('0x2'));var timeout=require(_0x01bf('0x3'));var express=require(_0x01bf('0x4'));var router=express['Router']();var fs_extra=require(_0x01bf('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x01bf('0x6'));var config=require(_0x01bf('0x7'));var controller=require(_0x01bf('0x8'));router[_0x01bf('0x9')]('/',auth[_0x01bf('0xa')](),controller['index']);router[_0x01bf('0x9')](_0x01bf('0xb'),auth[_0x01bf('0xa')](),controller[_0x01bf('0xc')]);router['get'](_0x01bf('0xd'),auth['isAuthenticated'](),controller[_0x01bf('0xe')]);router[_0x01bf('0x9')]('/:id/subjects',auth[_0x01bf('0xa')](),controller[_0x01bf('0xf')]);router[_0x01bf('0x9')]('/:id/descriptions',auth[_0x01bf('0xa')](),controller[_0x01bf('0x10')]);router[_0x01bf('0x11')]('/',auth[_0x01bf('0xa')](),controller[_0x01bf('0x12')]);router[_0x01bf('0x13')](_0x01bf('0xb'),auth['isAuthenticated'](),controller[_0x01bf('0x14')]);router[_0x01bf('0x15')](_0x01bf('0xb'),auth['isAuthenticated'](),controller[_0x01bf('0x16')]);module[_0x01bf('0x17')]=router;
\ No newline at end of file
+var _0x6bea=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','create','/:id','update','delete','destroy','util','path','connect-timeout','express','Router'];(function(_0x4efc87,_0x17a7d1){var _0x191fc4=function(_0x19dda1){while(--_0x19dda1){_0x4efc87['push'](_0x4efc87['shift']());}};_0x191fc4(++_0x17a7d1);}(_0x6bea,0x85));var _0xa6be=function(_0x6c2f7e,_0x5ea309){_0x6c2f7e=_0x6c2f7e-0x0;var _0x6dce36=_0x6bea[_0x6c2f7e];return _0x6dce36;};'use strict';var multer=require('multer');var util=require(_0xa6be('0x0'));var path=require(_0xa6be('0x1'));var timeout=require(_0xa6be('0x2'));var express=require(_0xa6be('0x3'));var router=express[_0xa6be('0x4')]();var fs_extra=require(_0xa6be('0x5'));var auth=require(_0xa6be('0x6'));var interaction=require(_0xa6be('0x7'));var config=require(_0xa6be('0x8'));var controller=require('./intSugarcrmConfiguration.controller');router[_0xa6be('0x9')]('/',auth[_0xa6be('0xa')](),controller[_0xa6be('0xb')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router[_0xa6be('0x9')](_0xa6be('0xc'),auth[_0xa6be('0xa')](),controller[_0xa6be('0xd')]);router[_0xa6be('0x9')](_0xa6be('0xe'),auth[_0xa6be('0xa')](),controller[_0xa6be('0xf')]);router[_0xa6be('0x9')](_0xa6be('0x10'),auth['isAuthenticated'](),controller[_0xa6be('0x11')]);router['post']('/',auth['isAuthenticated'](),controller[_0xa6be('0x12')]);router['put'](_0xa6be('0x13'),auth[_0xa6be('0xa')](),controller[_0xa6be('0x14')]);router[_0xa6be('0x15')](_0xa6be('0x13'),auth[_0xa6be('0xa')](),controller[_0xa6be('0x16')]);module['exports']=router;
\ No newline at end of file