Built motion from commit a679711e.|2.6.15
[motion2.git] / server / api / interval / index.js
index 62085f3..93dec14 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xddd2=['addInterval','/:id/sub_intervals/create_many','addIntervals','put','update','delete','destroy','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./interval.controller','isAuthenticated','index','get','/:id','show','/:id/sub_intervals','getIntervals','post','create'];(function(_0x355494,_0x592917){var _0x59d215=function(_0x1c59f7){while(--_0x1c59f7){_0x355494['push'](_0x355494['shift']());}};_0x59d215(++_0x592917);}(_0xddd2,0x1e2));var _0x2ddd=function(_0xf0fe2a,_0x32d000){_0xf0fe2a=_0xf0fe2a-0x0;var _0xa6e4ef=_0xddd2[_0xf0fe2a];return _0xa6e4ef;};'use strict';var multer=require(_0x2ddd('0x0'));var util=require('util');var path=require(_0x2ddd('0x1'));var timeout=require('connect-timeout');var express=require(_0x2ddd('0x2'));var router=express[_0x2ddd('0x3')]();var fs_extra=require(_0x2ddd('0x4'));var auth=require(_0x2ddd('0x5'));var interaction=require(_0x2ddd('0x6'));var config=require(_0x2ddd('0x7'));var controller=require(_0x2ddd('0x8'));router['get']('/',auth[_0x2ddd('0x9')](),controller[_0x2ddd('0xa')]);router[_0x2ddd('0xb')](_0x2ddd('0xc'),auth[_0x2ddd('0x9')](),controller[_0x2ddd('0xd')]);router['get'](_0x2ddd('0xe'),auth[_0x2ddd('0x9')](),controller[_0x2ddd('0xf')]);router[_0x2ddd('0x10')]('/',auth[_0x2ddd('0x9')](),controller[_0x2ddd('0x11')]);router[_0x2ddd('0x10')](_0x2ddd('0xe'),auth[_0x2ddd('0x9')](),controller[_0x2ddd('0x12')]);router['post'](_0x2ddd('0x13'),auth[_0x2ddd('0x9')](),controller[_0x2ddd('0x14')]);router[_0x2ddd('0x15')](_0x2ddd('0xc'),auth[_0x2ddd('0x9')](),controller[_0x2ddd('0x16')]);router[_0x2ddd('0x17')]('/:id',auth[_0x2ddd('0x9')](),controller[_0x2ddd('0x18')]);module['exports']=router;
\ No newline at end of file
+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