Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / disposition / index.js
index 981befe..17c4f58 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd922=['util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./disposition.controller','get','isAuthenticated','index','/:id','show','create','put','delete','destroy'];(function(_0x53a95d,_0x50883d){var _0x1e78f8=function(_0x38710e){while(--_0x38710e){_0x53a95d['push'](_0x53a95d['shift']());}};_0x1e78f8(++_0x50883d);}(_0xd922,0x121));var _0x2d92=function(_0x2e01a3,_0x342093){_0x2e01a3=_0x2e01a3-0x0;var _0x49589c=_0xd922[_0x2e01a3];return _0x49589c;};'use strict';var multer=require('multer');var util=require(_0x2d92('0x0'));var path=require(_0x2d92('0x1'));var timeout=require(_0x2d92('0x2'));var express=require(_0x2d92('0x3'));var router=express['Router']();var fs_extra=require(_0x2d92('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x2d92('0x5'));var config=require(_0x2d92('0x6'));var controller=require(_0x2d92('0x7'));router[_0x2d92('0x8')]('/',auth[_0x2d92('0x9')](),controller[_0x2d92('0xa')]);router['get'](_0x2d92('0xb'),auth[_0x2d92('0x9')](),controller[_0x2d92('0xc')]);router['post']('/',auth[_0x2d92('0x9')](),controller[_0x2d92('0xd')]);router[_0x2d92('0xe')](_0x2d92('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x2d92('0xf')](_0x2d92('0xb'),auth['isAuthenticated'](),controller[_0x2d92('0x10')]);module['exports']=router;
\ No newline at end of file
+var _0xc80a=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./disposition.controller','get','isAuthenticated','index','/:id','show','update','delete','destroy','exports','path','Router'];(function(_0x5962b4,_0x84be73){var _0xe6443c=function(_0x2b37d4){while(--_0x2b37d4){_0x5962b4['push'](_0x5962b4['shift']());}};_0xe6443c(++_0x84be73);}(_0xc80a,0x8e));var _0xac80=function(_0x77b027,_0x5a935a){_0x77b027=_0x77b027-0x0;var _0x2f1e0b=_0xc80a[_0x77b027];return _0x2f1e0b;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xac80('0x0'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xac80('0x1')]();var fs_extra=require(_0xac80('0x2'));var auth=require(_0xac80('0x3'));var interaction=require(_0xac80('0x4'));var config=require(_0xac80('0x5'));var controller=require(_0xac80('0x6'));router[_0xac80('0x7')]('/',auth[_0xac80('0x8')](),controller[_0xac80('0x9')]);router['get'](_0xac80('0xa'),auth[_0xac80('0x8')](),controller[_0xac80('0xb')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router['put'](_0xac80('0xa'),auth['isAuthenticated'](),controller[_0xac80('0xc')]);router[_0xac80('0xd')]('/:id',auth[_0xac80('0x8')](),controller[_0xac80('0xe')]);module[_0xac80('0xf')]=router;
\ No newline at end of file