Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / analyticMetric / index.js
index 0d0f05a..bc64ab8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x444e=['isAuthenticated','index','/:id','show','create','put','update','delete','multer','path','express','fs-extra','../../components/interaction/service','../../config/environment','./analyticMetric.controller','get'];(function(_0x163f58,_0x1c8ae4){var _0x472ed9=function(_0xca7deb){while(--_0xca7deb){_0x163f58['push'](_0x163f58['shift']());}};_0x472ed9(++_0x1c8ae4);}(_0x444e,0xe8));var _0xe444=function(_0x1a0383,_0x44ba85){_0x1a0383=_0x1a0383-0x0;var _0x22583f=_0x444e[_0x1a0383];return _0x22583f;};'use strict';var multer=require(_0xe444('0x0'));var util=require('util');var path=require(_0xe444('0x1'));var timeout=require('connect-timeout');var express=require(_0xe444('0x2'));var router=express['Router']();var fs_extra=require(_0xe444('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xe444('0x4'));var config=require(_0xe444('0x5'));var controller=require(_0xe444('0x6'));router[_0xe444('0x7')]('/',auth[_0xe444('0x8')](),controller[_0xe444('0x9')]);router['get'](_0xe444('0xa'),auth['isAuthenticated'](),controller[_0xe444('0xb')]);router['post']('/',auth[_0xe444('0x8')](),controller[_0xe444('0xc')]);router[_0xe444('0xd')]('/:id',auth['isAuthenticated'](),controller[_0xe444('0xe')]);router[_0xe444('0xf')]('/:id',auth[_0xe444('0x8')](),controller['destroy']);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