Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / services / ami / rpc / trigger.js
index eb0aef6..e9ea492 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xefa1=['field','value','Action','action','data1','data2','data3','data4','data5','data6','data7','GetTrigger','../client','getTriggers','channel','Condition','operator'];(function(_0x4e7a3d,_0x41d47a){var _0x373953=function(_0x394777){while(--_0x394777){_0x4e7a3d['push'](_0x4e7a3d['shift']());}};_0x373953(++_0x41d47a);}(_0xefa1,0xc7));var _0x1efa=function(_0x1d024c,_0x18a151){_0x1d024c=_0x1d024c-0x0;var _0x20d6a6=_0xefa1[_0x1d024c];return _0x20d6a6;};'use strict';var client=require(_0x1efa('0x0'));exports[_0x1efa('0x1')]=function(_0x31652a){return function(_0x238c45){return client['Request']('GetTrigger',{'options':{'raw':![],'attributes':['id','name',_0x1efa('0x2'),'status'],'include':[{'model':_0x1efa('0x3'),'as':'AllConditions','attributes':['id','field',_0x1efa('0x4'),'value']},{'model':'Condition','as':'AnyConditions','attributes':['id',_0x1efa('0x5'),_0x1efa('0x4'),_0x1efa('0x6')]},{'model':_0x1efa('0x7'),'as':'Actions','attributes':['id',_0x1efa('0x8'),_0x1efa('0x9'),_0x1efa('0xa'),_0x1efa('0xb'),_0x1efa('0xc'),_0x1efa('0xd'),_0x1efa('0xe'),_0x1efa('0xf')]}]},'log':_0x1efa('0x10')});};};
\ No newline at end of file
+var _0x15a4=['getTriggers','Request','name','status','Condition','AllConditions','field','value','AnyConditions','Action','Actions','data1','data2','data3','data4','data5','data6','data7','GetTrigger','../client'];(function(_0x50a0c2,_0x4befab){var _0x5ebadd=function(_0x3a3342){while(--_0x3a3342){_0x50a0c2['push'](_0x50a0c2['shift']());}};_0x5ebadd(++_0x4befab);}(_0x15a4,0x1f3));var _0x415a=function(_0x3cb1ba,_0x41f8f0){_0x3cb1ba=_0x3cb1ba-0x0;var _0x371d9b=_0x15a4[_0x3cb1ba];return _0x371d9b;};'use strict';var client=require(_0x415a('0x0'));exports[_0x415a('0x1')]=function(_0xbad08f){return function(_0x4e9ccd){return client[_0x415a('0x2')]('GetTrigger',{'options':{'raw':![],'attributes':['id',_0x415a('0x3'),'channel',_0x415a('0x4')],'include':[{'model':_0x415a('0x5'),'as':_0x415a('0x6'),'attributes':['id',_0x415a('0x7'),'operator',_0x415a('0x8')]},{'model':_0x415a('0x5'),'as':_0x415a('0x9'),'attributes':['id',_0x415a('0x7'),'operator',_0x415a('0x8')]},{'model':_0x415a('0xa'),'as':_0x415a('0xb'),'attributes':['id','action',_0x415a('0xc'),_0x415a('0xd'),_0x415a('0xe'),_0x415a('0xf'),_0x415a('0x10'),_0x415a('0x11'),_0x415a('0x12')]}]},'log':_0x415a('0x13')});};};
\ No newline at end of file