Built motion from commit (unavailable).|2.5.15
[motion2.git] / server / api / userProfile / index.js
index 7252a97..5de0daa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5198=['clone','addSections','addResources','put','/:id','update','delete','destroy','/:id/sections','removeResources','multer','path','connect-timeout','express','../../components/auth/service','../../config/environment','get','isAuthenticated','/describe','describe','/:id/resources','getResources','post','/:id/clone'];(function(_0x441964,_0x3070ae){var _0x4211f0=function(_0x5065c9){while(--_0x5065c9){_0x441964['push'](_0x441964['shift']());}};_0x4211f0(++_0x3070ae);}(_0x5198,0x1ba));var _0x8519=function(_0x5db950,_0x5ca43e){_0x5db950=_0x5db950-0x0;var _0x480220=_0x5198[_0x5db950];return _0x480220;};'use strict';var multer=require(_0x8519('0x0'));var util=require('util');var path=require(_0x8519('0x1'));var timeout=require(_0x8519('0x2'));var express=require(_0x8519('0x3'));var router=express['Router']();var auth=require(_0x8519('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x8519('0x5'));var controller=require('./userProfile.controller');router[_0x8519('0x6')]('/',auth[_0x8519('0x7')](),controller['index']);router[_0x8519('0x6')](_0x8519('0x8'),auth[_0x8519('0x7')](),controller[_0x8519('0x9')]);router[_0x8519('0x6')]('/:id',auth[_0x8519('0x7')](),controller['show']);router[_0x8519('0x6')]('/:id/sections',auth['isAuthenticated'](),controller['getSections']);router['get'](_0x8519('0xa'),auth['isAuthenticated'](),controller[_0x8519('0xb')]);router[_0x8519('0xc')]('/',auth[_0x8519('0x7')](),controller['create']);router[_0x8519('0xc')](_0x8519('0xd'),auth[_0x8519('0x7')](),controller[_0x8519('0xe')]);router[_0x8519('0xc')]('/:id/sections',auth[_0x8519('0x7')](),controller[_0x8519('0xf')]);router['post'](_0x8519('0xa'),auth[_0x8519('0x7')](),controller[_0x8519('0x10')]);router[_0x8519('0x11')](_0x8519('0x12'),auth[_0x8519('0x7')](),controller[_0x8519('0x13')]);router[_0x8519('0x14')](_0x8519('0x12'),auth[_0x8519('0x7')](),controller[_0x8519('0x15')]);router[_0x8519('0x14')](_0x8519('0x16'),auth[_0x8519('0x7')](),controller['removeSections']);router[_0x8519('0x14')](_0x8519('0xa'),auth[_0x8519('0x7')](),controller[_0x8519('0x17')]);module['exports']=router;
\ No newline at end of file
+var _0xc20a=['update','destroy','delete','removeResources','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfile.controller','get','index','/describe','isAuthenticated','describe','/:id','show','getSections','/:id/resources','getResources','create','post','/:id/clone','clone','/:id/sections','addSections','addResources','put'];(function(_0x2ac4fe,_0x119c45){var _0x2d73d8=function(_0x37dbe2){while(--_0x37dbe2){_0x2ac4fe['push'](_0x2ac4fe['shift']());}};_0x2d73d8(++_0x119c45);}(_0xc20a,0x16c));var _0xac20=function(_0x4091ba,_0x154c9f){_0x4091ba=_0x4091ba-0x0;var _0x133dca=_0xc20a[_0x4091ba];return _0x133dca;};'use strict';var multer=require(_0xac20('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xac20('0x1'));var express=require(_0xac20('0x2'));var router=express[_0xac20('0x3')]();var auth=require(_0xac20('0x4'));var interaction=require(_0xac20('0x5'));var config=require(_0xac20('0x6'));var controller=require(_0xac20('0x7'));router[_0xac20('0x8')]('/',auth['isAuthenticated'](),controller[_0xac20('0x9')]);router['get'](_0xac20('0xa'),auth[_0xac20('0xb')](),controller[_0xac20('0xc')]);router[_0xac20('0x8')](_0xac20('0xd'),auth[_0xac20('0xb')](),controller[_0xac20('0xe')]);router[_0xac20('0x8')]('/:id/sections',auth[_0xac20('0xb')](),controller[_0xac20('0xf')]);router[_0xac20('0x8')](_0xac20('0x10'),auth[_0xac20('0xb')](),controller[_0xac20('0x11')]);router['post']('/',auth[_0xac20('0xb')](),controller[_0xac20('0x12')]);router[_0xac20('0x13')](_0xac20('0x14'),auth[_0xac20('0xb')](),controller[_0xac20('0x15')]);router['post'](_0xac20('0x16'),auth[_0xac20('0xb')](),controller[_0xac20('0x17')]);router[_0xac20('0x13')](_0xac20('0x10'),auth[_0xac20('0xb')](),controller[_0xac20('0x18')]);router[_0xac20('0x19')](_0xac20('0xd'),auth['isAuthenticated'](),controller[_0xac20('0x1a')]);router['delete'](_0xac20('0xd'),auth[_0xac20('0xb')](),controller[_0xac20('0x1b')]);router[_0xac20('0x1c')](_0xac20('0x16'),auth[_0xac20('0xb')](),controller['removeSections']);router[_0xac20('0x1c')]('/:id/resources',auth[_0xac20('0xb')](),controller[_0xac20('0x1d')]);module['exports']=router;
\ No newline at end of file