Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / interval / index.js
index 8319d2a..dd5cdc2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfbbf=['multer','util','path','connect-timeout','express','Router','../../config/environment','./interval.controller','get','isAuthenticated','/:id','/:id/sub_intervals','getIntervals','post','addInterval','addIntervals','put','update','delete','exports'];(function(_0x3a4ee7,_0x28f6bb){var _0x385aa1=function(_0x1de9e0){while(--_0x1de9e0){_0x3a4ee7['push'](_0x3a4ee7['shift']());}};_0x385aa1(++_0x28f6bb);}(_0xfbbf,0x78));var _0xffbb=function(_0x13af2a,_0x3d5021){_0x13af2a=_0x13af2a-0x0;var _0x1acf86=_0xfbbf[_0x13af2a];return _0x1acf86;};'use strict';var multer=require(_0xffbb('0x0'));var util=require(_0xffbb('0x1'));var path=require(_0xffbb('0x2'));var timeout=require(_0xffbb('0x3'));var express=require(_0xffbb('0x4'));var router=express[_0xffbb('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xffbb('0x6'));var controller=require(_0xffbb('0x7'));router[_0xffbb('0x8')]('/',auth[_0xffbb('0x9')](),controller['index']);router[_0xffbb('0x8')](_0xffbb('0xa'),auth['isAuthenticated'](),controller['show']);router[_0xffbb('0x8')](_0xffbb('0xb'),auth[_0xffbb('0x9')](),controller[_0xffbb('0xc')]);router[_0xffbb('0xd')]('/',auth[_0xffbb('0x9')](),controller['create']);router[_0xffbb('0xd')]('/:id/sub_intervals',auth[_0xffbb('0x9')](),controller[_0xffbb('0xe')]);router[_0xffbb('0xd')]('/:id/sub_intervals/create_many',auth['isAuthenticated'](),controller[_0xffbb('0xf')]);router[_0xffbb('0x10')](_0xffbb('0xa'),auth['isAuthenticated'](),controller[_0xffbb('0x11')]);router[_0xffbb('0x12')](_0xffbb('0xa'),auth['isAuthenticated'](),controller['destroy']);module[_0xffbb('0x13')]=router;
\ No newline at end of file
+var _0x6440=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./interval.controller','get','isAuthenticated','index','getIntervals','post','create','addInterval','/:id/sub_intervals/create_many','addIntervals','put','/:id','update','delete','destroy','exports','multer','util'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x6440,0x1de));var _0x0644=function(_0xa6cc5c,_0x239c99){_0xa6cc5c=_0xa6cc5c-0x0;var _0x44803d=_0x6440[_0xa6cc5c];return _0x44803d;};'use strict';var multer=require(_0x0644('0x0'));var util=require(_0x0644('0x1'));var path=require('path');var timeout=require(_0x0644('0x2'));var express=require(_0x0644('0x3'));var router=express[_0x0644('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x0644('0x5'));var interaction=require(_0x0644('0x6'));var config=require(_0x0644('0x7'));var controller=require(_0x0644('0x8'));router[_0x0644('0x9')]('/',auth[_0x0644('0xa')](),controller[_0x0644('0xb')]);router[_0x0644('0x9')]('/:id',auth[_0x0644('0xa')](),controller['show']);router['get']('/:id/sub_intervals',auth[_0x0644('0xa')](),controller[_0x0644('0xc')]);router[_0x0644('0xd')]('/',auth[_0x0644('0xa')](),controller[_0x0644('0xe')]);router['post']('/:id/sub_intervals',auth[_0x0644('0xa')](),controller[_0x0644('0xf')]);router[_0x0644('0xd')](_0x0644('0x10'),auth[_0x0644('0xa')](),controller[_0x0644('0x11')]);router[_0x0644('0x12')](_0x0644('0x13'),auth[_0x0644('0xa')](),controller[_0x0644('0x14')]);router[_0x0644('0x15')](_0x0644('0x13'),auth[_0x0644('0xa')](),controller[_0x0644('0x16')]);module[_0x0644('0x17')]=router;
\ No newline at end of file