Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / intSugarcrmConfiguration / index.js
index 412d938..79fea28 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x73a2=['index','/:id','show','/:id/fields','getFields','getSubjects','/:id/descriptions','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x1b12c2,_0x553a90){var _0x522d58=function(_0x5a394b){while(--_0x5a394b){_0x1b12c2['push'](_0x1b12c2['shift']());}};_0x522d58(++_0x553a90);}(_0x73a2,0x1f0));var _0x273a=function(_0x30b05e,_0x479b45){_0x30b05e=_0x30b05e-0x0;var _0x4d343b=_0x73a2[_0x30b05e];return _0x4d343b;};'use strict';var multer=require(_0x273a('0x0'));var util=require(_0x273a('0x1'));var path=require(_0x273a('0x2'));var timeout=require(_0x273a('0x3'));var express=require(_0x273a('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x273a('0x5'));var interaction=require(_0x273a('0x6'));var config=require(_0x273a('0x7'));var controller=require('./intSugarcrmConfiguration.controller');router[_0x273a('0x8')]('/',auth[_0x273a('0x9')](),controller[_0x273a('0xa')]);router[_0x273a('0x8')](_0x273a('0xb'),auth[_0x273a('0x9')](),controller[_0x273a('0xc')]);router[_0x273a('0x8')](_0x273a('0xd'),auth[_0x273a('0x9')](),controller[_0x273a('0xe')]);router[_0x273a('0x8')]('/:id/subjects',auth['isAuthenticated'](),controller[_0x273a('0xf')]);router[_0x273a('0x8')](_0x273a('0x10'),auth[_0x273a('0x9')](),controller['getDescriptions']);router[_0x273a('0x11')]('/',auth[_0x273a('0x9')](),controller[_0x273a('0x12')]);router[_0x273a('0x13')]('/:id',auth['isAuthenticated'](),controller[_0x273a('0x14')]);router[_0x273a('0x15')](_0x273a('0xb'),auth['isAuthenticated'](),controller[_0x273a('0x16')]);module['exports']=router;
\ No newline at end of file
+var _0xccc3=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intSugarcrmConfiguration.controller','isAuthenticated','index','show','/:id/fields','get','/:id/subjects','/:id/descriptions','getDescriptions','post','create','delete','/:id','exports','multer'];(function(_0x19e928,_0x26a0e4){var _0x4e941f=function(_0x52a5cd){while(--_0x52a5cd){_0x19e928['push'](_0x19e928['shift']());}};_0x4e941f(++_0x26a0e4);}(_0xccc3,0xdb));var _0x3ccc=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0xccc3[_0x57b54c];return _0x59cc19;};'use strict';var multer=require(_0x3ccc('0x0'));var util=require(_0x3ccc('0x1'));var path=require(_0x3ccc('0x2'));var timeout=require(_0x3ccc('0x3'));var express=require(_0x3ccc('0x4'));var router=express[_0x3ccc('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x3ccc('0x6'));var interaction=require(_0x3ccc('0x7'));var config=require('../../config/environment');var controller=require(_0x3ccc('0x8'));router['get']('/',auth[_0x3ccc('0x9')](),controller[_0x3ccc('0xa')]);router['get']('/:id',auth[_0x3ccc('0x9')](),controller[_0x3ccc('0xb')]);router['get'](_0x3ccc('0xc'),auth[_0x3ccc('0x9')](),controller['getFields']);router[_0x3ccc('0xd')](_0x3ccc('0xe'),auth[_0x3ccc('0x9')](),controller['getSubjects']);router[_0x3ccc('0xd')](_0x3ccc('0xf'),auth['isAuthenticated'](),controller[_0x3ccc('0x10')]);router[_0x3ccc('0x11')]('/',auth[_0x3ccc('0x9')](),controller[_0x3ccc('0x12')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0x3ccc('0x13')](_0x3ccc('0x14'),auth[_0x3ccc('0x9')](),controller['destroy']);module[_0x3ccc('0x15')]=router;
\ No newline at end of file