Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / interval / index.js
index b1c3d5b..9d8c5a0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3fa4=['getIntervals','create','post','/:id/sub_intervals','addInterval','/:id/sub_intervals/create_many','addIntervals','/:id','update','multer','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./interval.controller','isAuthenticated','index','get','show'];(function(_0x20dd9b,_0x3c0fb8){var _0x2de3b0=function(_0x5673d2){while(--_0x5673d2){_0x20dd9b['push'](_0x20dd9b['shift']());}};_0x2de3b0(++_0x3c0fb8);}(_0x3fa4,0xf0));var _0x43fa=function(_0xa3fe1d,_0x194364){_0xa3fe1d=_0xa3fe1d-0x0;var _0x1ce348=_0x3fa4[_0xa3fe1d];return _0x1ce348;};'use strict';var multer=require(_0x43fa('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x43fa('0x1'));var router=express[_0x43fa('0x2')]();var fs_extra=require(_0x43fa('0x3'));var auth=require(_0x43fa('0x4'));var interaction=require(_0x43fa('0x5'));var config=require(_0x43fa('0x6'));var controller=require(_0x43fa('0x7'));router['get']('/',auth[_0x43fa('0x8')](),controller[_0x43fa('0x9')]);router[_0x43fa('0xa')]('/:id',auth[_0x43fa('0x8')](),controller[_0x43fa('0xb')]);router[_0x43fa('0xa')]('/:id/sub_intervals',auth[_0x43fa('0x8')](),controller[_0x43fa('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x43fa('0xd')]);router[_0x43fa('0xe')](_0x43fa('0xf'),auth[_0x43fa('0x8')](),controller[_0x43fa('0x10')]);router['post'](_0x43fa('0x11'),auth[_0x43fa('0x8')](),controller[_0x43fa('0x12')]);router['put'](_0x43fa('0x13'),auth[_0x43fa('0x8')](),controller[_0x43fa('0x14')]);router['delete'](_0x43fa('0x13'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0xeac1=['../../components/interaction/service','../../config/environment','./interval.controller','get','isAuthenticated','index','/:id','getIntervals','post','create','/:id/sub_intervals','addInterval','/:id/sub_intervals/create_many','put','update','delete','destroy','exports','util','path','connect-timeout','Router'];(function(_0x5a67bd,_0x5be9c3){var _0x613a79=function(_0x36ca3e){while(--_0x36ca3e){_0x5a67bd['push'](_0x5a67bd['shift']());}};_0x613a79(++_0x5be9c3);}(_0xeac1,0x146));var _0x1eac=function(_0x1d1d4d,_0x44e587){_0x1d1d4d=_0x1d1d4d-0x0;var _0x485ebf=_0xeac1[_0x1d1d4d];return _0x485ebf;};'use strict';var multer=require('multer');var util=require(_0x1eac('0x0'));var path=require(_0x1eac('0x1'));var timeout=require(_0x1eac('0x2'));var express=require('express');var router=express[_0x1eac('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x1eac('0x4'));var config=require(_0x1eac('0x5'));var controller=require(_0x1eac('0x6'));router[_0x1eac('0x7')]('/',auth[_0x1eac('0x8')](),controller[_0x1eac('0x9')]);router[_0x1eac('0x7')](_0x1eac('0xa'),auth[_0x1eac('0x8')](),controller['show']);router[_0x1eac('0x7')]('/:id/sub_intervals',auth[_0x1eac('0x8')](),controller[_0x1eac('0xb')]);router[_0x1eac('0xc')]('/',auth[_0x1eac('0x8')](),controller[_0x1eac('0xd')]);router[_0x1eac('0xc')](_0x1eac('0xe'),auth[_0x1eac('0x8')](),controller[_0x1eac('0xf')]);router[_0x1eac('0xc')](_0x1eac('0x10'),auth[_0x1eac('0x8')](),controller['addIntervals']);router[_0x1eac('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x1eac('0x12')]);router[_0x1eac('0x13')](_0x1eac('0xa'),auth[_0x1eac('0x8')](),controller[_0x1eac('0x14')]);module[_0x1eac('0x15')]=router;
\ No newline at end of file