Built motion from commit 27e0a5d.|1.0.8
[motion.git] / server / config / agi / events.js
1 var _0x9457=["\x75\x74\x69\x6C","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x68\x61\x6E\x64\x6C\x65\x4D\x65\x73\x73\x61\x67\x65","\x64\x6F\x63","\x63\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x5B\x41\x47\x49\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64","\x6D\x65\x73\x73\x61\x67\x65","\x65\x72\x72\x6F\x72","\x68\x61\x6E\x64\x6C\x65\x43\x6C\x6F\x73\x65","\x5B\x41\x47\x49\x5D\x20\x46\x6F\x72\x6B\x65\x64\x20\x70\x72\x6F\x63\x65\x73\x73\x20\x63\x6C\x6F\x73\x65\x64\x20\x77\x69\x74\x68\x20\x63\x6F\x64\x65\x20\x25\x64\x20\x66\x6F\x72\x20\x73\x69\x67\x6E\x61\x6C\x20\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x68\x61\x6E\x64\x6C\x65\x45\x72\x72\x6F\x72","\x5B\x41\x47\x49\x5D\x20\x45\x72\x72\x6F\x72\x20\x6F\x6E\x20\x66\x6F\x72\x6B\x65\x64\x20\x70\x72\x6F\x63\x65\x73\x73","\x5B\x41\x47\x49\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x3A","\x4E\x6F\x74\x20\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x5B\x41\x47\x49\x5D\x20\x53\x74\x61\x63\x6B\x3A","\x73\x74\x61\x63\x6B"];var util=require(_0x9457[0]);var MailMessage=require(_0x9457[2])[_0x9457[1]];var FaxMessage=require(_0x9457[2])[_0x9457[3]];var FaxAttachment=require(_0x9457[2])[_0x9457[4]];var SmsMessage=require(_0x9457[2])[_0x9457[5]];exports[_0x9457[6]]= function(_0x88c3x6){switch(_0x88c3x6[_0x9457[13]]){case _0x9457[9]:return MailMessage[_0x9457[8]](_0x88c3x6[_0x9457[7]]);case _0x9457[10]:return FaxMessage[_0x9457[8]](_0x88c3x6[_0x9457[7]],{include:[{model:FaxAttachment}]});case _0x9457[11]:return SmsMessage[_0x9457[8]](_0x88c3x6[_0x9457[7]]);default:console[_0x9457[14]](_0x9457[12],_0x88c3x6[_0x9457[13]])}};exports[_0x9457[15]]= function(_0x88c3x7,_0x88c3x8){console[_0x9457[18]](util[_0x9457[17]](_0x9457[16],_0x88c3x7,_0x88c3x8))};exports[_0x9457[19]]= function(_0x88c3x9){console[_0x9457[14]](_0x9457[20]);console[_0x9457[14]](_0x9457[21],_0x88c3x9[_0x9457[13]]|| _0x9457[22]);console[_0x9457[14]](_0x9457[23],_0x88c3x9[_0x9457[24]]|| _0x9457[22])}