Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / trigger / index.js
index 6880c31..e37299a 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 _0x4a56=['index','/:id','isAuthenticated','show','/:id/all_conditions','getAllConditions','/:id/any_conditions','getAnyConditions','/:id/actions','getActions','post','addAllCondition','addAnyCondition','put','delete','destroy','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./trigger.controller','get'];(function(_0x1a45e3,_0x385589){var _0x3615f8=function(_0x40ce0a){while(--_0x40ce0a){_0x1a45e3['push'](_0x1a45e3['shift']());}};_0x3615f8(++_0x385589);}(_0x4a56,0x17c));var _0x64a5=function(_0x159791,_0x5d957e){_0x159791=_0x159791-0x0;var _0x7fa5c1=_0x4a56[_0x159791];return _0x7fa5c1;};'use strict';var multer=require(_0x64a5('0x0'));var util=require(_0x64a5('0x1'));var path=require('path');var timeout=require(_0x64a5('0x2'));var express=require(_0x64a5('0x3'));var router=express[_0x64a5('0x4')]();var fs_extra=require(_0x64a5('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x64a5('0x6'));var config=require(_0x64a5('0x7'));var controller=require(_0x64a5('0x8'));router[_0x64a5('0x9')]('/',auth['isAuthenticated'](),controller[_0x64a5('0xa')]);router['get'](_0x64a5('0xb'),auth[_0x64a5('0xc')](),controller[_0x64a5('0xd')]);router['get'](_0x64a5('0xe'),auth[_0x64a5('0xc')](),controller[_0x64a5('0xf')]);router[_0x64a5('0x9')](_0x64a5('0x10'),auth[_0x64a5('0xc')](),controller[_0x64a5('0x11')]);router['get'](_0x64a5('0x12'),auth[_0x64a5('0xc')](),controller[_0x64a5('0x13')]);router['post']('/',auth[_0x64a5('0xc')](),controller['create']);router[_0x64a5('0x14')](_0x64a5('0xe'),auth[_0x64a5('0xc')](),controller[_0x64a5('0x15')]);router[_0x64a5('0x14')]('/:id/any_conditions',auth[_0x64a5('0xc')](),controller[_0x64a5('0x16')]);router['post'](_0x64a5('0x12'),auth[_0x64a5('0xc')](),controller['addAction']);router[_0x64a5('0x17')](_0x64a5('0xb'),auth[_0x64a5('0xc')](),controller['update']);router[_0x64a5('0x18')]('/:id',auth[_0x64a5('0xc')](),controller[_0x64a5('0x19')]);module['exports']=router;
\ No newline at end of file