Built motion from commit a8d3a8d.|0.0.25
[motion.git] / server / models / mail_message.js
1 var _0x698a=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x53\x45\x4E\x54","\x53\x45\x4E\x44\x49\x4E\x47","\x52\x45\x43\x45\x49\x56\x45\x44","\x46\x41\x49\x4C\x45\x44","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x46\x72\x6F\x6D","\x54\x6F","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x68\x61\x73\x5F\x74\x6F","\x63\x61\x73\x63\x61\x64\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x43\x63","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x68\x61\x73\x5F\x63\x63","\x42\x63\x63","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x68\x61\x73\x5F\x62\x63\x63","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x698a[0]);module[_0x698a[1]]=function(_0x13bfx2,_0x13bfx3){var _0x13bfx4=_0x13bfx2[_0x698a[21]](_0x698a[2],{messageId:_0x13bfx3[_0x698a[3]],inReplyTo:_0x13bfx3[_0x698a[3]],subject:_0x13bfx3[_0x698a[3]],from:_0x13bfx3[_0x698a[3]],to:_0x13bfx3[_0x698a[3]],cc:_0x13bfx3[_0x698a[3]],bcc:_0x13bfx3[_0x698a[3]],attachment:_0x13bfx3[_0x698a[4]],html:_0x13bfx3[_0x698a[4]],text:_0x13bfx3[_0x698a[4]],reason:_0x13bfx3[_0x698a[4]],status:{type:_0x13bfx3.ENUM(_0x698a[5],_0x698a[6],_0x698a[7],_0x698a[8])}},{tableName:_0x698a[9],associate:function(_0x13bfx5){_0x13bfx4[_0x698a[10]](_0x13bfx5.MailRoom);_0x13bfx4[_0x698a[10]](_0x13bfx5.ContactEmail,{as:_0x698a[11]});_0x13bfx4[_0x698a[15]](_0x13bfx5.ContactEmail,{as:_0x698a[12],through:_0x698a[13],onDelete:_0x698a[14]});_0x13bfx4[_0x698a[15]](_0x13bfx5.ContactEmail,{as:_0x698a[16],through:_0x698a[17],onDelete:_0x698a[14]});_0x13bfx4[_0x698a[15]](_0x13bfx5.ContactEmail,{as:_0x698a[18],through:_0x698a[19],onDelete:_0x698a[14]});_0x13bfx4[_0x698a[20]](_0x13bfx5.MailAttachment);}});return _0x13bfx4;};