Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / intVtigerConfiguration / index.js
index 8b134ba..8137f64 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5f2f=['put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','/:id/fields','/:id/subjects','getDescriptions','post','create'];(function(_0x1e9b0c,_0x401058){var _0xd6020b=function(_0x1b1275){while(--_0x1b1275){_0x1e9b0c['push'](_0x1e9b0c['shift']());}};_0xd6020b(++_0x401058);}(_0x5f2f,0x73));var _0xf5f2=function(_0x3c5acf,_0xfed2a5){_0x3c5acf=_0x3c5acf-0x0;var _0x12b015=_0x5f2f[_0x3c5acf];return _0x12b015;};'use strict';var multer=require(_0xf5f2('0x0'));var util=require(_0xf5f2('0x1'));var path=require(_0xf5f2('0x2'));var timeout=require(_0xf5f2('0x3'));var express=require(_0xf5f2('0x4'));var router=express[_0xf5f2('0x5')]();var auth=require(_0xf5f2('0x6'));var interaction=require(_0xf5f2('0x7'));var config=require('../../config/environment');var controller=require('./intVtigerConfiguration.controller');router[_0xf5f2('0x8')]('/',auth[_0xf5f2('0x9')](),controller[_0xf5f2('0xa')]);router[_0xf5f2('0x8')](_0xf5f2('0xb'),auth[_0xf5f2('0x9')](),controller['show']);router[_0xf5f2('0x8')](_0xf5f2('0xc'),auth[_0xf5f2('0x9')](),controller['getFields']);router[_0xf5f2('0x8')](_0xf5f2('0xd'),auth[_0xf5f2('0x9')](),controller['getSubjects']);router[_0xf5f2('0x8')]('/:id/descriptions',auth['isAuthenticated'](),controller[_0xf5f2('0xe')]);router[_0xf5f2('0xf')]('/',auth['isAuthenticated'](),controller[_0xf5f2('0x10')]);router[_0xf5f2('0x11')](_0xf5f2('0xb'),auth[_0xf5f2('0x9')](),controller[_0xf5f2('0x12')]);router[_0xf5f2('0x13')]('/:id',auth[_0xf5f2('0x9')](),controller[_0xf5f2('0x14')]);module[_0xf5f2('0x15')]=router;
\ No newline at end of file
+var _0x27bb=['util','path','connect-timeout','express','Router','../../config/environment','./intVtigerConfiguration.controller','isAuthenticated','index','get','show','getFields','/:id/subjects','getDescriptions','post','create','put','/:id','update'];(function(_0x33eedb,_0x289e6d){var _0x34dc7c=function(_0x257349){while(--_0x257349){_0x33eedb['push'](_0x33eedb['shift']());}};_0x34dc7c(++_0x289e6d);}(_0x27bb,0x130));var _0xb27b=function(_0x2925ab,_0x14b623){_0x2925ab=_0x2925ab-0x0;var _0x4dfd4=_0x27bb[_0x2925ab];return _0x4dfd4;};'use strict';var multer=require('multer');var util=require(_0xb27b('0x0'));var path=require(_0xb27b('0x1'));var timeout=require(_0xb27b('0x2'));var express=require(_0xb27b('0x3'));var router=express[_0xb27b('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xb27b('0x5'));var controller=require(_0xb27b('0x6'));router['get']('/',auth[_0xb27b('0x7')](),controller[_0xb27b('0x8')]);router[_0xb27b('0x9')]('/:id',auth[_0xb27b('0x7')](),controller[_0xb27b('0xa')]);router[_0xb27b('0x9')]('/:id/fields',auth[_0xb27b('0x7')](),controller[_0xb27b('0xb')]);router[_0xb27b('0x9')](_0xb27b('0xc'),auth[_0xb27b('0x7')](),controller['getSubjects']);router[_0xb27b('0x9')]('/:id/descriptions',auth[_0xb27b('0x7')](),controller[_0xb27b('0xd')]);router[_0xb27b('0xe')]('/',auth[_0xb27b('0x7')](),controller[_0xb27b('0xf')]);router[_0xb27b('0x10')](_0xb27b('0x11'),auth[_0xb27b('0x7')](),controller[_0xb27b('0x12')]);router['delete'](_0xb27b('0x11'),auth[_0xb27b('0x7')](),controller['destroy']);module['exports']=router;
\ No newline at end of file