Built motion from commit 5e31ea4.|0.0.32
[motion.git] / server / models / trigger.js
1 var _0x9ec4=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x54\x72\x69\x67\x67\x65\x72","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x74\x72\x69\x67\x67\x65\x72\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x9ec4[0]);module[_0x9ec4[1]]=function(_0x1f6fx2,_0x1f6fx3){var _0x1f6fx4=_0x1f6fx2[_0x9ec4[7]](_0x9ec4[2],{name:_0x1f6fx3[_0x9ec4[3]],channel:_0x1f6fx3[_0x9ec4[3]],description:_0x1f6fx3[_0x9ec4[3]],conditions:_0x1f6fx3[_0x9ec4[4]],actions:_0x1f6fx3[_0x9ec4[4]],status:{type:_0x1f6fx3[_0x9ec4[5]],defaultValue:false}},{tableName:_0x9ec4[6]});return _0x1f6fx4;};