Built motion from commit d84f5db.|0.0.24
[motion.git] / server / api / mail_attachment / mail_attachment.controller.js
1 var _0xf963=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x66\x73","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x70\x61\x74\x68","\x66\x69\x6C\x65\x4E\x61\x6D\x65","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xf963[0];var _=require(_0xf963[1]);var fs=require(_0xf963[2]);var MailAttachment=require(_0xf963[4])[_0xf963[3]];exports[_0xf963[5]]=function(_0x9e26x4,_0x9e26x5,_0x9e26x6){MailAttachment[_0xf963[10]]()[_0xf963[9]](function(_0x9e26x8){return _0x9e26x5[_0xf963[8]](200)[_0xf963[7]](_0x9e26x8)})[_0xf963[6]](function(_0x9e26x7){return _0x9e26x6(_0x9e26x7)})};exports[_0xf963[11]]=function(_0x9e26x4,_0x9e26x5,_0x9e26x6){MailAttachment[_0xf963[17]](_0x9e26x4[_0xf963[16]][_0xf963[15]])[_0xf963[9]](function(_0x9e26x9){_0x9e26x5[_0xf963[14]](_0x9e26x9[_0xf963[12]],_0x9e26x9[_0xf963[13]])})[_0xf963[6]](function(_0x9e26x7){return _0x9e26x6(_0x9e26x7)})};exports[_0xf963[18]]=function(_0x9e26x4,_0x9e26x5,_0x9e26x6){MailAttachment[_0xf963[18]](_0x9e26x4[_0xf963[19]])[_0xf963[9]](function(_0x9e26x9){return _0x9e26x5[_0xf963[8]](201)[_0xf963[7]](_0x9e26x9)})[_0xf963[6]](function(_0x9e26x7){return _0x9e26x6(_0x9e26x7)})};exports[_0xf963[20]]=function(_0x9e26x4,_0x9e26x5,_0x9e26x6){if(_0x9e26x4[_0xf963[19]][_0xf963[15]]){delete _0x9e26x4[_0xf963[19]][_0xf963[15]]};MailAttachment[_0xf963[17]](_0x9e26x4[_0xf963[16]][_0xf963[15]])[_0xf963[9]](function(_0x9e26x9){if(!_0x9e26x9){return _0x9e26x5[_0xf963[21]](404)};var _0x9e26xa=_[_0xf963[22]](_0x9e26x9,_0x9e26x4[_0xf963[19]]);_0x9e26xa[_0xf963[23]]()[_0xf963[9]](function(){return _0x9e26x5[_0xf963[8]](200)[_0xf963[7]](_0x9e26x9)})[_0xf963[6]](function(_0x9e26x7){return _0x9e26x6(_0x9e26x7)});})[_0xf963[6]](function(_0x9e26x7){return _0x9e26x6(_0x9e26x7)});};exports[_0xf963[24]]=function(_0x9e26x4,_0x9e26x5,_0x9e26x6){MailAttachment[_0xf963[17]](_0x9e26x4[_0xf963[16]][_0xf963[15]])[_0xf963[9]](function(_0x9e26x9){if(!_0x9e26x9){return _0x9e26x5[_0xf963[21]](404)};_0x9e26x9[_0xf963[24]]()[_0xf963[9]](function(){return _0x9e26x5[_0xf963[21]](204)})[_0xf963[6]](function(_0x9e26x7){return _0x9e26x6(_0x9e26x7)});})[_0xf963[6]](function(_0x9e26x7){return _0x9e26x6(_0x9e26x7)})};