Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / interval / index.js
index 93dec14..f4dd58a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2df7=['Router','fs-extra','../../components/auth/service','../../config/environment','./interval.controller','get','index','show','isAuthenticated','create','post','/:id/sub_intervals','addInterval','/:id/sub_intervals/create_many','addIntervals','put','update','delete','destroy','exports','multer','path','connect-timeout','express'];(function(_0x296a2a,_0x3c12ed){var _0x3aa260=function(_0x1be52f){while(--_0x1be52f){_0x296a2a['push'](_0x296a2a['shift']());}};_0x3aa260(++_0x3c12ed);}(_0x2df7,0x1f4));var _0x72df=function(_0x3a2321,_0x2fbd26){_0x3a2321=_0x3a2321-0x0;var _0x20d155=_0x2df7[_0x3a2321];return _0x20d155;};'use strict';var multer=require(_0x72df('0x0'));var util=require('util');var path=require(_0x72df('0x1'));var timeout=require(_0x72df('0x2'));var express=require(_0x72df('0x3'));var router=express[_0x72df('0x4')]();var fs_extra=require(_0x72df('0x5'));var auth=require(_0x72df('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x72df('0x7'));var controller=require(_0x72df('0x8'));router[_0x72df('0x9')]('/',auth['isAuthenticated'](),controller[_0x72df('0xa')]);router[_0x72df('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x72df('0xb')]);router[_0x72df('0x9')]('/:id/sub_intervals',auth[_0x72df('0xc')](),controller['getIntervals']);router['post']('/',auth[_0x72df('0xc')](),controller[_0x72df('0xd')]);router[_0x72df('0xe')](_0x72df('0xf'),auth[_0x72df('0xc')](),controller[_0x72df('0x10')]);router[_0x72df('0xe')](_0x72df('0x11'),auth[_0x72df('0xc')](),controller[_0x72df('0x12')]);router[_0x72df('0x13')]('/:id',auth[_0x72df('0xc')](),controller[_0x72df('0x14')]);router[_0x72df('0x15')]('/:id',auth[_0x72df('0xc')](),controller[_0x72df('0x16')]);module[_0x72df('0x17')]=router;
\ No newline at end of file
+var _0xe260=['update','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./interval.controller','get','/:id','isAuthenticated','show','/:id/sub_intervals','post','create','/:id/sub_intervals/create_many','addIntervals','put'];(function(_0x4a4e87,_0x485791){var _0x83444f=function(_0x2b666e){while(--_0x2b666e){_0x4a4e87['push'](_0x4a4e87['shift']());}};_0x83444f(++_0x485791);}(_0xe260,0x94));var _0x0e26=function(_0x8a0fe6,_0x23df1c){_0x8a0fe6=_0x8a0fe6-0x0;var _0x28c9d1=_0xe260[_0x8a0fe6];return _0x28c9d1;};'use strict';var multer=require(_0x0e26('0x0'));var util=require('util');var path=require(_0x0e26('0x1'));var timeout=require(_0x0e26('0x2'));var express=require(_0x0e26('0x3'));var router=express[_0x0e26('0x4')]();var fs_extra=require(_0x0e26('0x5'));var auth=require(_0x0e26('0x6'));var interaction=require(_0x0e26('0x7'));var config=require(_0x0e26('0x8'));var controller=require(_0x0e26('0x9'));router[_0x0e26('0xa')]('/',auth['isAuthenticated'](),controller['index']);router[_0x0e26('0xa')](_0x0e26('0xb'),auth[_0x0e26('0xc')](),controller[_0x0e26('0xd')]);router[_0x0e26('0xa')](_0x0e26('0xe'),auth[_0x0e26('0xc')](),controller['getIntervals']);router[_0x0e26('0xf')]('/',auth['isAuthenticated'](),controller[_0x0e26('0x10')]);router[_0x0e26('0xf')](_0x0e26('0xe'),auth['isAuthenticated'](),controller['addInterval']);router[_0x0e26('0xf')](_0x0e26('0x11'),auth['isAuthenticated'](),controller[_0x0e26('0x12')]);router[_0x0e26('0x13')](_0x0e26('0xb'),auth['isAuthenticated'](),controller[_0x0e26('0x14')]);router[_0x0e26('0x15')](_0x0e26('0xb'),auth[_0x0e26('0xc')](),controller[_0x0e26('0x16')]);module[_0x0e26('0x17')]=router;
\ No newline at end of file