Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / api / interval / index.js
index de4cf41..05ec53a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6f4a=['./interval.controller','get','isAuthenticated','index','/:id','/:id/sub_intervals','getIntervals','post','create','addInterval','/:id/sub_intervals/create_many','addIntervals','put','update','delete','destroy','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x6f4a,0x155));var _0xa6f4=function(_0x427612,_0x491d4d){_0x427612=_0x427612-0x0;var _0x454ecf=_0x6f4a[_0x427612];return _0x454ecf;};'use strict';var multer=require('multer');var util=require(_0xa6f4('0x0'));var path=require(_0xa6f4('0x1'));var timeout=require(_0xa6f4('0x2'));var express=require(_0xa6f4('0x3'));var router=express[_0xa6f4('0x4')]();var fs_extra=require(_0xa6f4('0x5'));var auth=require(_0xa6f4('0x6'));var interaction=require(_0xa6f4('0x7'));var config=require(_0xa6f4('0x8'));var controller=require(_0xa6f4('0x9'));router[_0xa6f4('0xa')]('/',auth[_0xa6f4('0xb')](),controller[_0xa6f4('0xc')]);router[_0xa6f4('0xa')](_0xa6f4('0xd'),auth[_0xa6f4('0xb')](),controller['show']);router['get'](_0xa6f4('0xe'),auth['isAuthenticated'](),controller[_0xa6f4('0xf')]);router[_0xa6f4('0x10')]('/',auth[_0xa6f4('0xb')](),controller[_0xa6f4('0x11')]);router[_0xa6f4('0x10')](_0xa6f4('0xe'),auth[_0xa6f4('0xb')](),controller[_0xa6f4('0x12')]);router[_0xa6f4('0x10')](_0xa6f4('0x13'),auth[_0xa6f4('0xb')](),controller[_0xa6f4('0x14')]);router[_0xa6f4('0x15')]('/:id',auth[_0xa6f4('0xb')](),controller[_0xa6f4('0x16')]);router[_0xa6f4('0x17')]('/:id',auth[_0xa6f4('0xb')](),controller[_0xa6f4('0x18')]);module['exports']=router;
\ No newline at end of file
+var _0xc13c=['post','addInterval','/:id/sub_intervals/create_many','addIntervals','delete','destroy','util','path','express','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','/:id/sub_intervals','getIntervals'];(function(_0x3fd66d,_0x410d26){var _0x5a6464=function(_0x144918){while(--_0x144918){_0x3fd66d['push'](_0x3fd66d['shift']());}};_0x5a6464(++_0x410d26);}(_0xc13c,0x15c));var _0xcc13=function(_0xf5d1f5,_0x4494d2){_0xf5d1f5=_0xf5d1f5-0x0;var _0x5f5bbd=_0xc13c[_0xf5d1f5];return _0x5f5bbd;};'use strict';var multer=require('multer');var util=require(_0xcc13('0x0'));var path=require(_0xcc13('0x1'));var timeout=require('connect-timeout');var express=require(_0xcc13('0x2'));var router=express['Router']();var fs_extra=require(_0xcc13('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xcc13('0x4'));var config=require(_0xcc13('0x5'));var controller=require('./interval.controller');router[_0xcc13('0x6')]('/',auth[_0xcc13('0x7')](),controller['index']);router[_0xcc13('0x6')](_0xcc13('0x8'),auth['isAuthenticated'](),controller[_0xcc13('0x9')]);router[_0xcc13('0x6')](_0xcc13('0xa'),auth['isAuthenticated'](),controller[_0xcc13('0xb')]);router[_0xcc13('0xc')]('/',auth[_0xcc13('0x7')](),controller['create']);router[_0xcc13('0xc')](_0xcc13('0xa'),auth[_0xcc13('0x7')](),controller[_0xcc13('0xd')]);router[_0xcc13('0xc')](_0xcc13('0xe'),auth[_0xcc13('0x7')](),controller[_0xcc13('0xf')]);router['put'](_0xcc13('0x8'),auth[_0xcc13('0x7')](),controller['update']);router[_0xcc13('0x10')](_0xcc13('0x8'),auth[_0xcc13('0x7')](),controller[_0xcc13('0x11')]);module['exports']=router;
\ No newline at end of file