Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / api / trigger / index.js
index 6880c31..b4f62fd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb73e=['./trigger.controller','get','isAuthenticated','index','/:id','show','/:id/all_conditions','/:id/any_conditions','getAnyConditions','/:id/actions','getActions','create','post','addAllCondition','addAnyCondition','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x1850e2,_0x7dab61){var _0x1f5de4=function(_0x2cfb85){while(--_0x2cfb85){_0x1850e2['push'](_0x1850e2['shift']());}};_0x1f5de4(++_0x7dab61);}(_0xb73e,0x170));var _0xeb73=function(_0x5aff1d,_0x5cc91c){_0x5aff1d=_0x5aff1d-0x0;var _0x2ae218=_0xb73e[_0x5aff1d];return _0x2ae218;};'use strict';var multer=require(_0xeb73('0x0'));var util=require(_0xeb73('0x1'));var path=require(_0xeb73('0x2'));var timeout=require('connect-timeout');var express=require(_0xeb73('0x3'));var router=express[_0xeb73('0x4')]();var auth=require(_0xeb73('0x5'));var interaction=require(_0xeb73('0x6'));var config=require('../../config/environment');var controller=require(_0xeb73('0x7'));router[_0xeb73('0x8')]('/',auth[_0xeb73('0x9')](),controller[_0xeb73('0xa')]);router[_0xeb73('0x8')](_0xeb73('0xb'),auth[_0xeb73('0x9')](),controller[_0xeb73('0xc')]);router[_0xeb73('0x8')](_0xeb73('0xd'),auth[_0xeb73('0x9')](),controller['getAllConditions']);router[_0xeb73('0x8')](_0xeb73('0xe'),auth[_0xeb73('0x9')](),controller[_0xeb73('0xf')]);router[_0xeb73('0x8')](_0xeb73('0x10'),auth['isAuthenticated'](),controller[_0xeb73('0x11')]);router['post']('/',auth[_0xeb73('0x9')](),controller[_0xeb73('0x12')]);router[_0xeb73('0x13')](_0xeb73('0xd'),auth[_0xeb73('0x9')](),controller[_0xeb73('0x14')]);router[_0xeb73('0x13')](_0xeb73('0xe'),auth[_0xeb73('0x9')](),controller[_0xeb73('0x15')]);router[_0xeb73('0x13')](_0xeb73('0x10'),auth[_0xeb73('0x9')](),controller['addAction']);router['put']('/:id',auth[_0xeb73('0x9')](),controller['update']);router[_0xeb73('0x16')](_0xeb73('0xb'),auth[_0xeb73('0x9')](),controller[_0xeb73('0x17')]);module[_0xeb73('0x18')]=router;
\ No newline at end of file
+var _0xfc61=['/:id','isAuthenticated','show','/:id/all_conditions','getAllConditions','getAnyConditions','/:id/actions','getActions','post','/:id/any_conditions','addAnyCondition','addAction','put','delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./trigger.controller','index','get'];(function(_0x3f66c4,_0x40bdf3){var _0x2349a8=function(_0x2adce8){while(--_0x2adce8){_0x3f66c4['push'](_0x3f66c4['shift']());}};_0x2349a8(++_0x40bdf3);}(_0xfc61,0x78));var _0x1fc6=function(_0x84b503,_0x1af412){_0x84b503=_0x84b503-0x0;var _0x2ec41e=_0xfc61[_0x84b503];return _0x2ec41e;};'use strict';var multer=require(_0x1fc6('0x0'));var util=require(_0x1fc6('0x1'));var path=require(_0x1fc6('0x2'));var timeout=require(_0x1fc6('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x1fc6('0x4'));var interaction=require(_0x1fc6('0x5'));var config=require(_0x1fc6('0x6'));var controller=require(_0x1fc6('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x1fc6('0x8')]);router[_0x1fc6('0x9')](_0x1fc6('0xa'),auth[_0x1fc6('0xb')](),controller[_0x1fc6('0xc')]);router['get'](_0x1fc6('0xd'),auth[_0x1fc6('0xb')](),controller[_0x1fc6('0xe')]);router[_0x1fc6('0x9')]('/:id/any_conditions',auth[_0x1fc6('0xb')](),controller[_0x1fc6('0xf')]);router['get'](_0x1fc6('0x10'),auth[_0x1fc6('0xb')](),controller[_0x1fc6('0x11')]);router[_0x1fc6('0x12')]('/',auth['isAuthenticated'](),controller['create']);router[_0x1fc6('0x12')](_0x1fc6('0xd'),auth[_0x1fc6('0xb')](),controller['addAllCondition']);router['post'](_0x1fc6('0x13'),auth['isAuthenticated'](),controller[_0x1fc6('0x14')]);router[_0x1fc6('0x12')](_0x1fc6('0x10'),auth[_0x1fc6('0xb')](),controller[_0x1fc6('0x15')]);router[_0x1fc6('0x16')](_0x1fc6('0xa'),auth[_0x1fc6('0xb')](),controller['update']);router[_0x1fc6('0x17')](_0x1fc6('0xa'),auth[_0x1fc6('0xb')](),controller[_0x1fc6('0x18')]);module[_0x1fc6('0x19')]=router;
\ No newline at end of file