Built motion from commit (unavailable).|2.5.10
[motion2.git] / server / api / userProfile / index.js
index 9c3e2ae..474dd77 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbe42=['destroy','delete','exports','util','path','express','../../components/auth/service','../../components/interaction/service','./userProfile.controller','/describe','isAuthenticated','describe','get','/:id','show','/:id/sections','/:id/resources','getResources','post','addSections','addResources','put','update'];(function(_0x203fed,_0x26bd9b){var _0x1f6d65=function(_0x1fabda){while(--_0x1fabda){_0x203fed['push'](_0x203fed['shift']());}};_0x1f6d65(++_0x26bd9b);}(_0xbe42,0x100));var _0x2be4=function(_0x5235a6,_0x680b76){_0x5235a6=_0x5235a6-0x0;var _0x1cf37e=_0xbe42[_0x5235a6];return _0x1cf37e;};'use strict';var multer=require('multer');var util=require(_0x2be4('0x0'));var path=require(_0x2be4('0x1'));var timeout=require('connect-timeout');var express=require(_0x2be4('0x2'));var router=express['Router']();var auth=require(_0x2be4('0x3'));var interaction=require(_0x2be4('0x4'));var config=require('../../config/environment');var controller=require(_0x2be4('0x5'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x2be4('0x6'),auth[_0x2be4('0x7')](),controller[_0x2be4('0x8')]);router[_0x2be4('0x9')](_0x2be4('0xa'),auth['isAuthenticated'](),controller[_0x2be4('0xb')]);router[_0x2be4('0x9')](_0x2be4('0xc'),auth[_0x2be4('0x7')](),controller['getSections']);router[_0x2be4('0x9')](_0x2be4('0xd'),auth[_0x2be4('0x7')](),controller[_0x2be4('0xe')]);router[_0x2be4('0xf')]('/',auth[_0x2be4('0x7')](),controller['create']);router[_0x2be4('0xf')]('/:id/clone',auth[_0x2be4('0x7')](),controller['clone']);router['post']('/:id/sections',auth[_0x2be4('0x7')](),controller[_0x2be4('0x10')]);router['post'](_0x2be4('0xd'),auth[_0x2be4('0x7')](),controller[_0x2be4('0x11')]);router[_0x2be4('0x12')]('/:id',auth[_0x2be4('0x7')](),controller[_0x2be4('0x13')]);router['delete'](_0x2be4('0xa'),auth[_0x2be4('0x7')](),controller[_0x2be4('0x14')]);router[_0x2be4('0x15')](_0x2be4('0xc'),auth['isAuthenticated'](),controller['removeSections']);router[_0x2be4('0x15')](_0x2be4('0xd'),auth['isAuthenticated'](),controller['removeResources']);module[_0x2be4('0x16')]=router;
\ No newline at end of file
+var _0xc584=['destroy','removeSections','removeResources','exports','path','express','Router','../../components/interaction/service','../../config/environment','./userProfile.controller','isAuthenticated','index','/describe','describe','get','/:id','show','/:id/sections','/:id/resources','getResources','post','create','/:id/clone','clone','addSections','addResources','update','delete'];(function(_0x48dc2c,_0x44ac55){var _0x1c7a44=function(_0x58e182){while(--_0x58e182){_0x48dc2c['push'](_0x48dc2c['shift']());}};_0x1c7a44(++_0x44ac55);}(_0xc584,0x1c4));var _0x4c58=function(_0x2307fa,_0x266e5e){_0x2307fa=_0x2307fa-0x0;var _0x496486=_0xc584[_0x2307fa];return _0x496486;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x4c58('0x0'));var timeout=require('connect-timeout');var express=require(_0x4c58('0x1'));var router=express[_0x4c58('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x4c58('0x3'));var config=require(_0x4c58('0x4'));var controller=require(_0x4c58('0x5'));router['get']('/',auth[_0x4c58('0x6')](),controller[_0x4c58('0x7')]);router['get'](_0x4c58('0x8'),auth[_0x4c58('0x6')](),controller[_0x4c58('0x9')]);router[_0x4c58('0xa')](_0x4c58('0xb'),auth['isAuthenticated'](),controller[_0x4c58('0xc')]);router[_0x4c58('0xa')](_0x4c58('0xd'),auth['isAuthenticated'](),controller['getSections']);router[_0x4c58('0xa')](_0x4c58('0xe'),auth['isAuthenticated'](),controller[_0x4c58('0xf')]);router[_0x4c58('0x10')]('/',auth[_0x4c58('0x6')](),controller[_0x4c58('0x11')]);router['post'](_0x4c58('0x12'),auth[_0x4c58('0x6')](),controller[_0x4c58('0x13')]);router[_0x4c58('0x10')](_0x4c58('0xd'),auth[_0x4c58('0x6')](),controller[_0x4c58('0x14')]);router['post'](_0x4c58('0xe'),auth[_0x4c58('0x6')](),controller[_0x4c58('0x15')]);router['put'](_0x4c58('0xb'),auth[_0x4c58('0x6')](),controller[_0x4c58('0x16')]);router[_0x4c58('0x17')](_0x4c58('0xb'),auth[_0x4c58('0x6')](),controller[_0x4c58('0x18')]);router['delete']('/:id/sections',auth[_0x4c58('0x6')](),controller[_0x4c58('0x19')]);router[_0x4c58('0x17')](_0x4c58('0xe'),auth['isAuthenticated'](),controller[_0x4c58('0x1a')]);module[_0x4c58('0x1b')]=router;
\ No newline at end of file