Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / services / ami / rpc / trigger.js
index eb0aef6..643f0fe 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 _0x923b=['action','data2','data3','data4','data5','data6','../client','getTriggers','Request','name','Condition','field','operator','value','Actions'];(function(_0x29df42,_0x21af68){var _0x135819=function(_0x627c79){while(--_0x627c79){_0x29df42['push'](_0x29df42['shift']());}};_0x135819(++_0x21af68);}(_0x923b,0x150));var _0xb923=function(_0x301c34,_0x15701e){_0x301c34=_0x301c34-0x0;var _0x1a8c5a=_0x923b[_0x301c34];return _0x1a8c5a;};'use strict';var client=require(_0xb923('0x0'));exports[_0xb923('0x1')]=function(_0x1b7361){return function(_0xbacbba){return client[_0xb923('0x2')]('GetTrigger',{'options':{'raw':![],'attributes':['id',_0xb923('0x3'),'channel','status'],'include':[{'model':_0xb923('0x4'),'as':'AllConditions','attributes':['id',_0xb923('0x5'),_0xb923('0x6'),_0xb923('0x7')]},{'model':_0xb923('0x4'),'as':'AnyConditions','attributes':['id',_0xb923('0x5'),_0xb923('0x6'),'value']},{'model':'Action','as':_0xb923('0x8'),'attributes':['id',_0xb923('0x9'),'data1',_0xb923('0xa'),_0xb923('0xb'),_0xb923('0xc'),_0xb923('0xd'),_0xb923('0xe'),'data7']}]},'log':'GetTrigger'});};};
\ No newline at end of file