Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / intSugarcrmConfiguration / index.js
index 4d1ce02..d4b1ed2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe4d5=['put','update','delete','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intSugarcrmConfiguration.controller','isAuthenticated','get','/:id','show','/:id/fields','getFields','getSubjects','/:id/descriptions','getDescriptions','create'];(function(_0x730a58,_0x3b6141){var _0x1a00a2=function(_0x550811){while(--_0x550811){_0x730a58['push'](_0x730a58['shift']());}};_0x1a00a2(++_0x3b6141);}(_0xe4d5,0x154));var _0x5e4d=function(_0x1301aa,_0x4da5c4){_0x1301aa=_0x1301aa-0x0;var _0x5146a1=_0xe4d5[_0x1301aa];return _0x5146a1;};'use strict';var multer=require(_0x5e4d('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x5e4d('0x1'));var express=require(_0x5e4d('0x2'));var router=express[_0x5e4d('0x3')]();var auth=require(_0x5e4d('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x5e4d('0x5'));var controller=require(_0x5e4d('0x6'));router['get']('/',auth[_0x5e4d('0x7')](),controller['index']);router[_0x5e4d('0x8')](_0x5e4d('0x9'),auth[_0x5e4d('0x7')](),controller[_0x5e4d('0xa')]);router[_0x5e4d('0x8')](_0x5e4d('0xb'),auth[_0x5e4d('0x7')](),controller[_0x5e4d('0xc')]);router['get']('/:id/subjects',auth[_0x5e4d('0x7')](),controller[_0x5e4d('0xd')]);router[_0x5e4d('0x8')](_0x5e4d('0xe'),auth[_0x5e4d('0x7')](),controller[_0x5e4d('0xf')]);router['post']('/',auth[_0x5e4d('0x7')](),controller[_0x5e4d('0x10')]);router[_0x5e4d('0x11')](_0x5e4d('0x9'),auth[_0x5e4d('0x7')](),controller[_0x5e4d('0x12')]);router[_0x5e4d('0x13')]('/:id',auth[_0x5e4d('0x7')](),controller['destroy']);module[_0x5e4d('0x14')]=router;
\ No newline at end of file
+var _0x84dc=['../../config/environment','get','index','isAuthenticated','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','delete','/:id','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x5a9e8d,_0x10c258){var _0x3a575c=function(_0x50cf63){while(--_0x50cf63){_0x5a9e8d['push'](_0x5a9e8d['shift']());}};_0x3a575c(++_0x10c258);}(_0x84dc,0x19e));var _0xc84d=function(_0x718b91,_0x37ed71){_0x718b91=_0x718b91-0x0;var _0x4d8a66=_0x84dc[_0x718b91];return _0x4d8a66;};'use strict';var multer=require(_0xc84d('0x0'));var util=require(_0xc84d('0x1'));var path=require(_0xc84d('0x2'));var timeout=require(_0xc84d('0x3'));var express=require(_0xc84d('0x4'));var router=express[_0xc84d('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xc84d('0x6'));var controller=require('./intSugarcrmConfiguration.controller');router[_0xc84d('0x7')]('/',auth['isAuthenticated'](),controller[_0xc84d('0x8')]);router['get']('/:id',auth[_0xc84d('0x9')](),controller[_0xc84d('0xa')]);router['get'](_0xc84d('0xb'),auth['isAuthenticated'](),controller[_0xc84d('0xc')]);router['get'](_0xc84d('0xd'),auth[_0xc84d('0x9')](),controller[_0xc84d('0xe')]);router[_0xc84d('0x7')](_0xc84d('0xf'),auth[_0xc84d('0x9')](),controller[_0xc84d('0x10')]);router[_0xc84d('0x11')]('/',auth['isAuthenticated'](),controller['create']);router['put']('/:id',auth[_0xc84d('0x9')](),controller['update']);router[_0xc84d('0x12')](_0xc84d('0x13'),auth[_0xc84d('0x9')](),controller['destroy']);module[_0xc84d('0x14')]=router;
\ No newline at end of file