Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / services / ami / rpc / trigger.js
index 6a23ec4..643f0fe 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb43f=['data4','data5','data6','../client','Request','GetTrigger','name','channel','status','Condition','field','operator','AnyConditions','value','Action','Actions','action','data2','data3'];(function(_0x5e7dd0,_0x18308b){var _0x5c4457=function(_0x3c8696){while(--_0x3c8696){_0x5e7dd0['push'](_0x5e7dd0['shift']());}};_0x5c4457(++_0x18308b);}(_0xb43f,0x9b));var _0xfb43=function(_0x1ce834,_0x48dac9){_0x1ce834=_0x1ce834-0x0;var _0x248554=_0xb43f[_0x1ce834];return _0x248554;};'use strict';var client=require(_0xfb43('0x0'));exports['getTriggers']=function(_0x15bc23){return function(_0xe828ef){return client[_0xfb43('0x1')](_0xfb43('0x2'),{'options':{'raw':![],'attributes':['id',_0xfb43('0x3'),_0xfb43('0x4'),_0xfb43('0x5')],'include':[{'model':_0xfb43('0x6'),'as':'AllConditions','attributes':['id',_0xfb43('0x7'),_0xfb43('0x8'),'value']},{'model':_0xfb43('0x6'),'as':_0xfb43('0x9'),'attributes':['id',_0xfb43('0x7'),_0xfb43('0x8'),_0xfb43('0xa')]},{'model':_0xfb43('0xb'),'as':_0xfb43('0xc'),'attributes':['id',_0xfb43('0xd'),'data1',_0xfb43('0xe'),_0xfb43('0xf'),_0xfb43('0x10'),_0xfb43('0x11'),_0xfb43('0x12'),'data7']}]},'log':_0xfb43('0x2')});};};
\ 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