Built motion from commit (unavailable).|2.5.19
[motion2.git] / server / api / intFreshsalesConfiguration / index.js
index d3da121..1967729 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf8c4=['multer','path','connect-timeout','express','Router','../../components/interaction/service','./intFreshsalesConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/subjects','/:id/descriptions','getDescriptions','/:id/fields','getFields','create','put','delete','destroy','exports'];(function(_0x3f474f,_0x46f6a1){var _0x2191a1=function(_0x47f3f6){while(--_0x47f3f6){_0x3f474f['push'](_0x3f474f['shift']());}};_0x2191a1(++_0x46f6a1);}(_0xf8c4,0x1b8));var _0x4f8c=function(_0x38987f,_0xc79720){_0x38987f=_0x38987f-0x0;var _0x4cb697=_0xf8c4[_0x38987f];return _0x4cb697;};'use strict';var multer=require(_0x4f8c('0x0'));var util=require('util');var path=require(_0x4f8c('0x1'));var timeout=require(_0x4f8c('0x2'));var express=require(_0x4f8c('0x3'));var router=express[_0x4f8c('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x4f8c('0x5'));var config=require('../../config/environment');var controller=require(_0x4f8c('0x6'));router[_0x4f8c('0x7')]('/',auth[_0x4f8c('0x8')](),controller[_0x4f8c('0x9')]);router['get'](_0x4f8c('0xa'),auth['isAuthenticated'](),controller[_0x4f8c('0xb')]);router[_0x4f8c('0x7')](_0x4f8c('0xc'),auth['isAuthenticated'](),controller['getSubjects']);router['get'](_0x4f8c('0xd'),auth[_0x4f8c('0x8')](),controller[_0x4f8c('0xe')]);router[_0x4f8c('0x7')](_0x4f8c('0xf'),auth[_0x4f8c('0x8')](),controller[_0x4f8c('0x10')]);router['post']('/',auth[_0x4f8c('0x8')](),controller[_0x4f8c('0x11')]);router[_0x4f8c('0x12')](_0x4f8c('0xa'),auth[_0x4f8c('0x8')](),controller['update']);router[_0x4f8c('0x13')](_0x4f8c('0xa'),auth['isAuthenticated'](),controller[_0x4f8c('0x14')]);module[_0x4f8c('0x15')]=router;
\ No newline at end of file
+var _0xa5b6=['isAuthenticated','index','/:id','show','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','getFields','post','put','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get'];(function(_0x1cf95d,_0x375dd9){var _0x46fb0e=function(_0x4d05f2){while(--_0x4d05f2){_0x1cf95d['push'](_0x1cf95d['shift']());}};_0x46fb0e(++_0x375dd9);}(_0xa5b6,0x122));var _0x6a5b=function(_0xc14df7,_0x163f90){_0xc14df7=_0xc14df7-0x0;var _0x34a445=_0xa5b6[_0xc14df7];return _0x34a445;};'use strict';var multer=require(_0x6a5b('0x0'));var util=require('util');var path=require(_0x6a5b('0x1'));var timeout=require(_0x6a5b('0x2'));var express=require(_0x6a5b('0x3'));var router=express[_0x6a5b('0x4')]();var auth=require(_0x6a5b('0x5'));var interaction=require(_0x6a5b('0x6'));var config=require(_0x6a5b('0x7'));var controller=require('./intFreshsalesConfiguration.controller');router[_0x6a5b('0x8')]('/',auth[_0x6a5b('0x9')](),controller[_0x6a5b('0xa')]);router['get'](_0x6a5b('0xb'),auth[_0x6a5b('0x9')](),controller[_0x6a5b('0xc')]);router['get'](_0x6a5b('0xd'),auth[_0x6a5b('0x9')](),controller[_0x6a5b('0xe')]);router['get'](_0x6a5b('0xf'),auth[_0x6a5b('0x9')](),controller[_0x6a5b('0x10')]);router[_0x6a5b('0x8')]('/:id/fields',auth['isAuthenticated'](),controller[_0x6a5b('0x11')]);router[_0x6a5b('0x12')]('/',auth[_0x6a5b('0x9')](),controller['create']);router[_0x6a5b('0x13')]('/:id',auth[_0x6a5b('0x9')](),controller['update']);router[_0x6a5b('0x14')](_0x6a5b('0xb'),auth[_0x6a5b('0x9')](),controller[_0x6a5b('0x15')]);module[_0x6a5b('0x16')]=router;
\ No newline at end of file