Built motion from commit (unavailable).|2.5.30
[motion2.git] / server / services / ami / rpc / trigger.js
index d445727..49fc02f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xff84=['data7','../client','getTriggers','GetTrigger','name','channel','status','AllConditions','value','Condition','AnyConditions','field','operator','Action','action','data1','data6'];(function(_0x4b9cf0,_0x5153b4){var _0x179c85=function(_0x502876){while(--_0x502876){_0x4b9cf0['push'](_0x4b9cf0['shift']());}};_0x179c85(++_0x5153b4);}(_0xff84,0x100));var _0x4ff8=function(_0x138adb,_0x193fee){_0x138adb=_0x138adb-0x0;var _0x1b27f2=_0xff84[_0x138adb];return _0x1b27f2;};'use strict';var client=require(_0x4ff8('0x0'));exports[_0x4ff8('0x1')]=function(_0x400a5e){return function(_0x53c864){return client['Request'](_0x4ff8('0x2'),{'options':{'raw':![],'attributes':['id',_0x4ff8('0x3'),_0x4ff8('0x4'),_0x4ff8('0x5')],'include':[{'model':'Condition','as':_0x4ff8('0x6'),'attributes':['id','field','operator',_0x4ff8('0x7')]},{'model':_0x4ff8('0x8'),'as':_0x4ff8('0x9'),'attributes':['id',_0x4ff8('0xa'),_0x4ff8('0xb'),_0x4ff8('0x7')]},{'model':_0x4ff8('0xc'),'as':'Actions','attributes':['id',_0x4ff8('0xd'),_0x4ff8('0xe'),'data2','data3','data4','data5',_0x4ff8('0xf'),_0x4ff8('0x10')]}]},'log':_0x4ff8('0x2')});};};
\ No newline at end of file
+var _0xc6c9=['Condition','AllConditions','field','operator','value','AnyConditions','action','data1','data2','data4','data5','data6','../client','Request','GetTrigger'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0xc6c9,0x1bf));var _0x9c6c=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0xc6c9[_0x1facfa];return _0x9ec701;};'use strict';var client=require(_0x9c6c('0x0'));exports['getTriggers']=function(_0x3a770a){return function(_0x45976a){return client[_0x9c6c('0x1')](_0x9c6c('0x2'),{'options':{'raw':![],'attributes':['id','name','channel','status'],'include':[{'model':_0x9c6c('0x3'),'as':_0x9c6c('0x4'),'attributes':['id',_0x9c6c('0x5'),_0x9c6c('0x6'),_0x9c6c('0x7')]},{'model':'Condition','as':_0x9c6c('0x8'),'attributes':['id',_0x9c6c('0x5'),_0x9c6c('0x6'),'value']},{'model':'Action','as':'Actions','attributes':['id',_0x9c6c('0x9'),_0x9c6c('0xa'),_0x9c6c('0xb'),'data3',_0x9c6c('0xc'),_0x9c6c('0xd'),_0x9c6c('0xe'),'data7']}]},'log':_0x9c6c('0x2')});};};
\ No newline at end of file