Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / disposition / index.js
index 756c98a..17c4f58 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0f9b=['isAuthenticated','/:id','show','post','create','put','update','delete','multer','express','Router','../../components/interaction/service'];(function(_0x1de4b8,_0x529b41){var _0x557699=function(_0xb10c18){while(--_0xb10c18){_0x1de4b8['push'](_0x1de4b8['shift']());}};_0x557699(++_0x529b41);}(_0x0f9b,0xc8));var _0xb0f9=function(_0x104b87,_0x57d161){_0x104b87=_0x104b87-0x0;var _0x37038f=_0x0f9b[_0x104b87];return _0x37038f;};'use strict';var multer=require(_0xb0f9('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb0f9('0x1'));var router=express[_0xb0f9('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0xb0f9('0x3'));var config=require('../../config/environment');var controller=require('./disposition.controller');router['get']('/',auth[_0xb0f9('0x4')](),controller['index']);router['get'](_0xb0f9('0x5'),auth[_0xb0f9('0x4')](),controller[_0xb0f9('0x6')]);router[_0xb0f9('0x7')]('/',auth['isAuthenticated'](),controller[_0xb0f9('0x8')]);router[_0xb0f9('0x9')]('/:id',auth[_0xb0f9('0x4')](),controller[_0xb0f9('0xa')]);router[_0xb0f9('0xb')](_0xb0f9('0x5'),auth['isAuthenticated'](),controller['destroy']);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