Built motion from commit f8768ebe.|2.6.15
[motion2.git] / server / api / interval / index.js
index da32b03..46d2b4e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc586=['index','/:id/sub_intervals','create','post','addInterval','/:id/sub_intervals/create_many','addIntervals','put','/:id','delete','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./interval.controller','get','isAuthenticated'];(function(_0x1ae5d7,_0x3ede2f){var _0x7dc666=function(_0x4dea8b){while(--_0x4dea8b){_0x1ae5d7['push'](_0x1ae5d7['shift']());}};_0x7dc666(++_0x3ede2f);}(_0xc586,0xbb));var _0x6c58=function(_0x44bcb0,_0x235aa9){_0x44bcb0=_0x44bcb0-0x0;var _0xfaf881=_0xc586[_0x44bcb0];return _0xfaf881;};'use strict';var multer=require(_0x6c58('0x0'));var util=require('util');var path=require(_0x6c58('0x1'));var timeout=require('connect-timeout');var express=require(_0x6c58('0x2'));var router=express[_0x6c58('0x3')]();var fs_extra=require(_0x6c58('0x4'));var auth=require(_0x6c58('0x5'));var interaction=require(_0x6c58('0x6'));var config=require(_0x6c58('0x7'));var controller=require(_0x6c58('0x8'));router[_0x6c58('0x9')]('/',auth[_0x6c58('0xa')](),controller[_0x6c58('0xb')]);router[_0x6c58('0x9')]('/:id',auth[_0x6c58('0xa')](),controller['show']);router[_0x6c58('0x9')](_0x6c58('0xc'),auth['isAuthenticated'](),controller['getIntervals']);router['post']('/',auth[_0x6c58('0xa')](),controller[_0x6c58('0xd')]);router[_0x6c58('0xe')](_0x6c58('0xc'),auth[_0x6c58('0xa')](),controller[_0x6c58('0xf')]);router[_0x6c58('0xe')](_0x6c58('0x10'),auth[_0x6c58('0xa')](),controller[_0x6c58('0x11')]);router[_0x6c58('0x12')](_0x6c58('0x13'),auth[_0x6c58('0xa')](),controller['update']);router[_0x6c58('0x14')](_0x6c58('0x13'),auth[_0x6c58('0xa')](),controller['destroy']);module[_0x6c58('0x15')]=router;
\ No newline at end of file
+var _0xf3ff=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./interval.controller','get','index','isAuthenticated','show','getIntervals','post','/:id/sub_intervals','addInterval','/:id/sub_intervals/create_many','addIntervals','put','/:id','delete','multer','path'];(function(_0x5aa0a4,_0x57cc24){var _0x489214=function(_0xbd54b1){while(--_0xbd54b1){_0x5aa0a4['push'](_0x5aa0a4['shift']());}};_0x489214(++_0x57cc24);}(_0xf3ff,0xae));var _0xff3f=function(_0x39d9c5,_0x345d4e){_0x39d9c5=_0x39d9c5-0x0;var _0x3bf46a=_0xf3ff[_0x39d9c5];return _0x3bf46a;};'use strict';var multer=require(_0xff3f('0x0'));var util=require('util');var path=require(_0xff3f('0x1'));var timeout=require(_0xff3f('0x2'));var express=require(_0xff3f('0x3'));var router=express[_0xff3f('0x4')]();var fs_extra=require(_0xff3f('0x5'));var auth=require(_0xff3f('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xff3f('0x7'));var controller=require(_0xff3f('0x8'));router[_0xff3f('0x9')]('/',auth['isAuthenticated'](),controller[_0xff3f('0xa')]);router[_0xff3f('0x9')]('/:id',auth[_0xff3f('0xb')](),controller[_0xff3f('0xc')]);router['get']('/:id/sub_intervals',auth['isAuthenticated'](),controller[_0xff3f('0xd')]);router['post']('/',auth[_0xff3f('0xb')](),controller['create']);router[_0xff3f('0xe')](_0xff3f('0xf'),auth[_0xff3f('0xb')](),controller[_0xff3f('0x10')]);router[_0xff3f('0xe')](_0xff3f('0x11'),auth[_0xff3f('0xb')](),controller[_0xff3f('0x12')]);router[_0xff3f('0x13')](_0xff3f('0x14'),auth['isAuthenticated'](),controller['update']);router[_0xff3f('0x15')](_0xff3f('0x14'),auth[_0xff3f('0xb')](),controller['destroy']);module['exports']=router;
\ No newline at end of file