Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / api / intDeskAccount / index.js
index a6d22c1..07b8b77 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdb8e=['put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intDeskAccount.controller','get','isAuthenticated','index','/:id','/:id/configurations','/:id/fields','getFields','post','create','addConfiguration'];(function(_0x5d7d87,_0x50af5d){var _0xb94d29=function(_0x4bdcab){while(--_0x4bdcab){_0x5d7d87['push'](_0x5d7d87['shift']());}};_0xb94d29(++_0x50af5d);}(_0xdb8e,0x125));var _0xedb8=function(_0x116546,_0x427c25){_0x116546=_0x116546-0x0;var _0x18c601=_0xdb8e[_0x116546];return _0x18c601;};'use strict';var multer=require(_0xedb8('0x0'));var util=require(_0xedb8('0x1'));var path=require('path');var timeout=require(_0xedb8('0x2'));var express=require(_0xedb8('0x3'));var router=express[_0xedb8('0x4')]();var fs_extra=require(_0xedb8('0x5'));var auth=require(_0xedb8('0x6'));var interaction=require(_0xedb8('0x7'));var config=require('../../config/environment');var controller=require(_0xedb8('0x8'));router[_0xedb8('0x9')]('/',auth[_0xedb8('0xa')](),controller[_0xedb8('0xb')]);router['get'](_0xedb8('0xc'),auth[_0xedb8('0xa')](),controller['show']);router[_0xedb8('0x9')](_0xedb8('0xd'),auth[_0xedb8('0xa')](),controller['getConfigurations']);router[_0xedb8('0x9')](_0xedb8('0xe'),auth['isAuthenticated'](),controller[_0xedb8('0xf')]);router[_0xedb8('0x10')]('/',auth[_0xedb8('0xa')](),controller[_0xedb8('0x11')]);router[_0xedb8('0x10')](_0xedb8('0xd'),auth[_0xedb8('0xa')](),controller[_0xedb8('0x12')]);router[_0xedb8('0x13')](_0xedb8('0xc'),auth[_0xedb8('0xa')](),controller[_0xedb8('0x14')]);router[_0xedb8('0x15')]('/:id',auth['isAuthenticated'](),controller[_0xedb8('0x16')]);module[_0xedb8('0x17')]=router;
\ No newline at end of file
+var _0xfb1f=['getFields','post','addConfiguration','put','/:id','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','get','index','isAuthenticated','/:id/configurations','getConfigurations','/:id/fields'];(function(_0xe72e1b,_0x1ad97a){var _0x17f85c=function(_0x14fc5a){while(--_0x14fc5a){_0xe72e1b['push'](_0xe72e1b['shift']());}};_0x17f85c(++_0x1ad97a);}(_0xfb1f,0x104));var _0xffb1=function(_0x5601e7,_0x1ac673){_0x5601e7=_0x5601e7-0x0;var _0x58a60=_0xfb1f[_0x5601e7];return _0x58a60;};'use strict';var multer=require(_0xffb1('0x0'));var util=require(_0xffb1('0x1'));var path=require(_0xffb1('0x2'));var timeout=require(_0xffb1('0x3'));var express=require(_0xffb1('0x4'));var router=express[_0xffb1('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xffb1('0x6'));var controller=require('./intDeskAccount.controller');router[_0xffb1('0x7')]('/',auth['isAuthenticated'](),controller[_0xffb1('0x8')]);router[_0xffb1('0x7')]('/:id',auth[_0xffb1('0x9')](),controller['show']);router[_0xffb1('0x7')](_0xffb1('0xa'),auth[_0xffb1('0x9')](),controller[_0xffb1('0xb')]);router[_0xffb1('0x7')](_0xffb1('0xc'),auth['isAuthenticated'](),controller[_0xffb1('0xd')]);router['post']('/',auth[_0xffb1('0x9')](),controller['create']);router[_0xffb1('0xe')](_0xffb1('0xa'),auth[_0xffb1('0x9')](),controller[_0xffb1('0xf')]);router[_0xffb1('0x10')](_0xffb1('0x11'),auth[_0xffb1('0x9')](),controller[_0xffb1('0x12')]);router[_0xffb1('0x13')]('/:id',auth[_0xffb1('0x9')](),controller['destroy']);module[_0xffb1('0x14')]=router;
\ No newline at end of file