Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / analyticMetric / index.js
index 28472ee..bc64ab8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf494=['path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticMetric.controller','get','isAuthenticated','index','/:id','post','create','put','update','delete','destroy','multer','util'];(function(_0x220430,_0x6e7218){var _0x4c1ae4=function(_0x53bba5){while(--_0x53bba5){_0x220430['push'](_0x220430['shift']());}};_0x4c1ae4(++_0x6e7218);}(_0xf494,0x1c6));var _0x4f49=function(_0x58071b,_0x2a7ef0){_0x58071b=_0x58071b-0x0;var _0x5742ce=_0xf494[_0x58071b];return _0x5742ce;};'use strict';var multer=require(_0x4f49('0x0'));var util=require(_0x4f49('0x1'));var path=require(_0x4f49('0x2'));var timeout=require('connect-timeout');var express=require(_0x4f49('0x3'));var router=express[_0x4f49('0x4')]();var auth=require(_0x4f49('0x5'));var interaction=require(_0x4f49('0x6'));var config=require(_0x4f49('0x7'));var controller=require(_0x4f49('0x8'));router[_0x4f49('0x9')]('/',auth[_0x4f49('0xa')](),controller[_0x4f49('0xb')]);router[_0x4f49('0x9')](_0x4f49('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x4f49('0xd')]('/',auth[_0x4f49('0xa')](),controller[_0x4f49('0xe')]);router[_0x4f49('0xf')](_0x4f49('0xc'),auth[_0x4f49('0xa')](),controller[_0x4f49('0x10')]);router[_0x4f49('0x11')]('/:id',auth[_0x4f49('0xa')](),controller[_0x4f49('0x12')]);module['exports']=router;
\ No newline at end of file
+var _0xedf2=['fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated','index','post','create','put','/:id','update','delete','destroy','util','path','connect-timeout','Router'];(function(_0x4a7725,_0x4b41a5){var _0x137f3b=function(_0x2ccad1){while(--_0x2ccad1){_0x4a7725['push'](_0x4a7725['shift']());}};_0x137f3b(++_0x4b41a5);}(_0xedf2,0x1ac));var _0x2edf=function(_0x2b46b7,_0x1a97d2){_0x2b46b7=_0x2b46b7-0x0;var _0x10cf9a=_0xedf2[_0x2b46b7];return _0x10cf9a;};'use strict';var multer=require('multer');var util=require(_0x2edf('0x0'));var path=require(_0x2edf('0x1'));var timeout=require(_0x2edf('0x2'));var express=require('express');var router=express[_0x2edf('0x3')]();var fs_extra=require(_0x2edf('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x2edf('0x5'));var config=require(_0x2edf('0x6'));var controller=require('./analyticMetric.controller');router['get']('/',auth[_0x2edf('0x7')](),controller[_0x2edf('0x8')]);router['get']('/:id',auth[_0x2edf('0x7')](),controller['show']);router[_0x2edf('0x9')]('/',auth['isAuthenticated'](),controller[_0x2edf('0xa')]);router[_0x2edf('0xb')](_0x2edf('0xc'),auth[_0x2edf('0x7')](),controller[_0x2edf('0xd')]);router[_0x2edf('0xe')](_0x2edf('0xc'),auth[_0x2edf('0x7')](),controller[_0x2edf('0xf')]);module['exports']=router;
\ No newline at end of file