Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / intDynamics365Configuration / index.js
index 063a804..feea949 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8ccb=['put','update','delete','destroy','util','path','connect-timeout','express','./intDynamics365Configuration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','getSubjects','/:id/descriptions','getDescriptions','post','create'];(function(_0x47a7d0,_0x4e182d){var _0xb9bd08=function(_0x588ee2){while(--_0x588ee2){_0x47a7d0['push'](_0x47a7d0['shift']());}};_0xb9bd08(++_0x4e182d);}(_0x8ccb,0x12a));var _0xb8cc=function(_0x4ec13d,_0x358a8f){_0x4ec13d=_0x4ec13d-0x0;var _0x3c3fa7=_0x8ccb[_0x4ec13d];return _0x3c3fa7;};'use strict';var multer=require('multer');var util=require(_0xb8cc('0x0'));var path=require(_0xb8cc('0x1'));var timeout=require(_0xb8cc('0x2'));var express=require(_0xb8cc('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb8cc('0x4'));router[_0xb8cc('0x5')]('/',auth[_0xb8cc('0x6')](),controller[_0xb8cc('0x7')]);router['get'](_0xb8cc('0x8'),auth['isAuthenticated'](),controller[_0xb8cc('0x9')]);router[_0xb8cc('0x5')](_0xb8cc('0xa'),auth[_0xb8cc('0x6')](),controller[_0xb8cc('0xb')]);router[_0xb8cc('0x5')]('/:id/subjects',auth[_0xb8cc('0x6')](),controller[_0xb8cc('0xc')]);router[_0xb8cc('0x5')](_0xb8cc('0xd'),auth[_0xb8cc('0x6')](),controller[_0xb8cc('0xe')]);router[_0xb8cc('0xf')]('/',auth[_0xb8cc('0x6')](),controller[_0xb8cc('0x10')]);router[_0xb8cc('0x11')](_0xb8cc('0x8'),auth[_0xb8cc('0x6')](),controller[_0xb8cc('0x12')]);router[_0xb8cc('0x13')](_0xb8cc('0x8'),auth['isAuthenticated'](),controller[_0xb8cc('0x14')]);module['exports']=router;
\ No newline at end of file
+var _0xf4af=['destroy','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','show','/:id/fields','getFields','/:id/subjects','/:id/descriptions','getDescriptions','post','put','/:id','update','delete'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0xf4af,0x7a));var _0xff4a=function(_0x4b48e5,_0xc3c425){_0x4b48e5=_0x4b48e5-0x0;var _0x210b17=_0xf4af[_0x4b48e5];return _0x210b17;};'use strict';var multer=require('multer');var util=require(_0xff4a('0x0'));var path=require(_0xff4a('0x1'));var timeout=require(_0xff4a('0x2'));var express=require(_0xff4a('0x3'));var router=express['Router']();var fs_extra=require(_0xff4a('0x4'));var auth=require(_0xff4a('0x5'));var interaction=require(_0xff4a('0x6'));var config=require(_0xff4a('0x7'));var controller=require('./intDynamics365Configuration.controller');router[_0xff4a('0x8')]('/',auth[_0xff4a('0x9')](),controller[_0xff4a('0xa')]);router['get']('/:id',auth[_0xff4a('0x9')](),controller[_0xff4a('0xb')]);router[_0xff4a('0x8')](_0xff4a('0xc'),auth[_0xff4a('0x9')](),controller[_0xff4a('0xd')]);router[_0xff4a('0x8')](_0xff4a('0xe'),auth[_0xff4a('0x9')](),controller['getSubjects']);router[_0xff4a('0x8')](_0xff4a('0xf'),auth[_0xff4a('0x9')](),controller[_0xff4a('0x10')]);router[_0xff4a('0x11')]('/',auth[_0xff4a('0x9')](),controller['create']);router[_0xff4a('0x12')](_0xff4a('0x13'),auth['isAuthenticated'](),controller[_0xff4a('0x14')]);router[_0xff4a('0x15')](_0xff4a('0x13'),auth[_0xff4a('0x9')](),controller[_0xff4a('0x16')]);module[_0xff4a('0x17')]=router;
\ No newline at end of file