Built motion from commit b5996064.|2.6.21
[motion2.git] / server / services / ami / rpc / trigger.js
index a65f538..aef89c6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xab71=['action','data4','data5','data7','../client','Request','GetTrigger','name','channel','status','AllConditions','operator','value','Condition','AnyConditions','Action'];(function(_0x397cfb,_0xb8f317){var _0x15fed9=function(_0x3eba43){while(--_0x3eba43){_0x397cfb['push'](_0x397cfb['shift']());}};_0x15fed9(++_0xb8f317);}(_0xab71,0x84));var _0x1ab7=function(_0x3eb630,_0x552586){_0x3eb630=_0x3eb630-0x0;var _0x1b840d=_0xab71[_0x3eb630];return _0x1b840d;};'use strict';var client=require(_0x1ab7('0x0'));exports['getTriggers']=function(_0xc251e1){return function(_0x27ee48){return client[_0x1ab7('0x1')](_0x1ab7('0x2'),{'options':{'raw':![],'attributes':['id',_0x1ab7('0x3'),_0x1ab7('0x4'),_0x1ab7('0x5')],'include':[{'model':'Condition','as':_0x1ab7('0x6'),'attributes':['id','field',_0x1ab7('0x7'),_0x1ab7('0x8')]},{'model':_0x1ab7('0x9'),'as':_0x1ab7('0xa'),'attributes':['id','field','operator',_0x1ab7('0x8')]},{'model':_0x1ab7('0xb'),'as':'Actions','attributes':['id',_0x1ab7('0xc'),'data1','data2','data3',_0x1ab7('0xd'),_0x1ab7('0xe'),'data6',_0x1ab7('0xf')]}]},'log':_0x1ab7('0x2')});};};
\ No newline at end of file
+var _0x6c45=['data4','data7','../client','getTriggers','Request','GetTrigger','channel','status','Condition','AllConditions','field','operator','value','AnyConditions','Action','Actions','action','data1','data2'];(function(_0x185e54,_0x512708){var _0x1a830a=function(_0x4da2df){while(--_0x4da2df){_0x185e54['push'](_0x185e54['shift']());}};_0x1a830a(++_0x512708);}(_0x6c45,0x10c));var _0x56c4=function(_0x3d3cad,_0x5ce903){_0x3d3cad=_0x3d3cad-0x0;var _0x205c22=_0x6c45[_0x3d3cad];return _0x205c22;};'use strict';var client=require(_0x56c4('0x0'));exports[_0x56c4('0x1')]=function(_0x2d8a4a){return function(_0x310133){return client[_0x56c4('0x2')](_0x56c4('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x56c4('0x4'),_0x56c4('0x5')],'include':[{'model':_0x56c4('0x6'),'as':_0x56c4('0x7'),'attributes':['id',_0x56c4('0x8'),_0x56c4('0x9'),_0x56c4('0xa')]},{'model':_0x56c4('0x6'),'as':_0x56c4('0xb'),'attributes':['id',_0x56c4('0x8'),_0x56c4('0x9'),'value']},{'model':_0x56c4('0xc'),'as':_0x56c4('0xd'),'attributes':['id',_0x56c4('0xe'),_0x56c4('0xf'),_0x56c4('0x10'),'data3',_0x56c4('0x11'),'data5','data6',_0x56c4('0x12')]}]},'log':_0x56c4('0x3')});};};
\ No newline at end of file