Built motion from commit 2438401.|1.0.5
[motion.git] / server / config / routing / replyMail.js
index c6faf65..c1ffbfc 100644 (file)
@@ -1 +1 @@
-var _0x723a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2F\x73\x74\x72\x75\x63\x74\x75\x72\x65","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x6D\x75\x73\x74\x61\x63\x68\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x61\x70\x70","\x64\x61\x74\x61","\x6D\x73\x67","\x6C\x6F\x67","\x6E\x65\x78\x74","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x73\x75\x62\x6A\x65\x63\x74","\x72\x65\x6E\x64\x65\x72","\x66\x72\x6F\x6D","\x74\x6F","\x63\x63","\x62\x63\x63","\x61\x63\x63\x6F\x75\x6E\x74\x4E\x61\x6D\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x68\x74\x6D\x6C","\x61\x75\x74\x6F","\x72\x6F\x6F\x6D\x69\x64","\x63\x72\x65\x61\x74\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x75\x73\x68","\x72\x65\x70\x6C\x79\x41\x6C\x6C","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x39","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x64\x61\x74\x61\x38","\x65\x78\x70\x6F\x72\x74\x73"];_0x723a[0];const _=require(_0x723a[1]);const config=require(_0x723a[2]);const structure=require(_0x723a[3]);const cp=require(_0x723a[4]);const util=require(_0x723a[5]);const moment=require(_0x723a[6]);const Mustache=require(_0x723a[7]);const User=require(_0x723a[9])[_0x723a[8]];const Message=require(_0x723a[9])[_0x723a[10]];const Account=require(_0x723a[9])[_0x723a[11]];const Template=require(_0x723a[9])[_0x723a[12]];function ReplyMail(_0x66bdxd,_0x66bdxe,_0x66bdxf,_0x66bdx10){this[_0x723a[13]]= _0x66bdxd;this[_0x723a[14]]= _0x66bdxe;this[_0x723a[15]]= _0x66bdx10;console[_0x723a[16]](_0x66bdx10);this[_0x723a[17]]= _0x66bdxf}ReplyMail[_0x723a[19]][_0x723a[18]]= function init(){var _0x66bdx12=this;var _0x66bdx13;var _0x66bdx14={from:[],to:[]};return Account[_0x723a[41]](_0x66bdx12[_0x723a[13]][_0x723a[43]])[_0x723a[22]](function(_0x66bdx18){return _0x66bdx18[_0x723a[42]]()})[_0x723a[22]](function(_0x66bdx17){_0x66bdx13= _0x66bdx17;_0x66bdx14[_0x723a[25]][_0x723a[37]](_0x66bdx13[_0x723a[36]]);_0x66bdx14[_0x723a[26]][_0x723a[37]](_0x66bdx12[_0x723a[14]][_0x723a[25]]);switch(_0x66bdx12[_0x723a[13]][_0x723a[39]]){case _0x723a[38]:_0x66bdx14[_0x723a[27]]= _0x66bdx12[_0x723a[14]][_0x723a[27]];break;default:};return Template[_0x723a[41]](_0x66bdx12[_0x723a[13]][_0x723a[40]])})[_0x723a[22]](function(_0x66bdx16){var _0x66bdx10={subject:_0x66bdx16[_0x723a[23]]?Mustache[_0x723a[24]](_0x66bdx16[_0x723a[23]],_0x66bdx12[_0x723a[15]]):null,from:_0x66bdx12[_0x723a[15]][_0x723a[25]],to:_0x66bdx12[_0x723a[15]][_0x723a[26]],cc:_0x66bdx12[_0x723a[15]][_0x723a[27]],bcc:_0x66bdx12[_0x723a[15]][_0x723a[28]],accountName:_0x66bdx12[_0x723a[15]][_0x723a[29]],interactionId:_0x66bdx12[_0x723a[15]][_0x723a[30]],createdAt:_0x66bdx12[_0x723a[15]][_0x723a[31]]};_0x66bdx14[_0x723a[23]]= _0x66bdx16[_0x723a[23]]?Mustache[_0x723a[24]](_0x66bdx16[_0x723a[23]],_0x66bdx10):null;_0x66bdx14[_0x723a[32]]= _0x66bdx16[_0x723a[32]]?Mustache[_0x723a[24]](_0x66bdx16[_0x723a[32]],_0x66bdx10):null;_0x66bdx14[_0x723a[33]]= true;_0x66bdx14[_0x723a[30]]= _0x66bdx12[_0x723a[14]][_0x723a[34]];return Message[_0x723a[35]](_0x66bdx14)})[_0x723a[22]](function(){_0x66bdx12[_0x723a[17]]()})[_0x723a[21]](function(_0x66bdx15){console[_0x723a[20]](_0x66bdx15)})};module[_0x723a[44]]= ReplyMail
\ No newline at end of file
+var _0x698e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2F\x73\x74\x72\x75\x63\x74\x75\x72\x65","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x6D\x75\x73\x74\x61\x63\x68\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x61\x70\x70","\x64\x61\x74\x61","\x6D\x73\x67","\x6C\x6F\x67","\x6E\x65\x78\x74","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x73\x75\x62\x6A\x65\x63\x74","\x72\x65\x6E\x64\x65\x72","\x66\x72\x6F\x6D","\x74\x6F","\x63\x63","\x62\x63\x63","\x61\x63\x63\x6F\x75\x6E\x74\x4E\x61\x6D\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x68\x74\x6D\x6C","\x61\x75\x74\x6F","\x72\x6F\x6F\x6D\x69\x64","\x63\x72\x65\x61\x74\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x75\x73\x68","\x72\x65\x70\x6C\x79\x41\x6C\x6C","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x39","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x64\x61\x74\x61\x38","\x65\x78\x70\x6F\x72\x74\x73"];_0x698e[0];const _=require(_0x698e[1]);const config=require(_0x698e[2]);const structure=require(_0x698e[3]);const cp=require(_0x698e[4]);const util=require(_0x698e[5]);const moment=require(_0x698e[6]);const Mustache=require(_0x698e[7]);const User=require(_0x698e[9])[_0x698e[8]];const Message=require(_0x698e[9])[_0x698e[10]];const Account=require(_0x698e[9])[_0x698e[11]];const Template=require(_0x698e[9])[_0x698e[12]];function ReplyMail(_0x78cexd,_0x78cexe,_0x78cexf,_0x78cex10){this[_0x698e[13]]= _0x78cexd;this[_0x698e[14]]= _0x78cexe;this[_0x698e[15]]= _0x78cex10;console[_0x698e[16]](_0x78cex10);this[_0x698e[17]]= _0x78cexf}ReplyMail[_0x698e[19]][_0x698e[18]]= function init(){var _0x78cex12=this;var _0x78cex13;var _0x78cex14={from:[],to:[]};return Account[_0x698e[41]](_0x78cex12[_0x698e[13]][_0x698e[43]])[_0x698e[22]](function(_0x78cex18){return _0x78cex18[_0x698e[42]]()})[_0x698e[22]](function(_0x78cex17){_0x78cex13= _0x78cex17;_0x78cex14[_0x698e[25]][_0x698e[37]](_0x78cex13[_0x698e[36]]);_0x78cex14[_0x698e[26]][_0x698e[37]](_0x78cex12[_0x698e[14]][_0x698e[25]]);switch(_0x78cex12[_0x698e[13]][_0x698e[39]]){case _0x698e[38]:_0x78cex14[_0x698e[27]]= _0x78cex12[_0x698e[14]][_0x698e[27]];break;default:};return Template[_0x698e[41]](_0x78cex12[_0x698e[13]][_0x698e[40]])})[_0x698e[22]](function(_0x78cex16){var _0x78cex10={subject:_0x78cex16[_0x698e[23]]?Mustache[_0x698e[24]](_0x78cex16[_0x698e[23]],_0x78cex12[_0x698e[15]]):null,from:_0x78cex12[_0x698e[15]][_0x698e[25]],to:_0x78cex12[_0x698e[15]][_0x698e[26]],cc:_0x78cex12[_0x698e[15]][_0x698e[27]],bcc:_0x78cex12[_0x698e[15]][_0x698e[28]],accountName:_0x78cex12[_0x698e[15]][_0x698e[29]],interactionId:_0x78cex12[_0x698e[15]][_0x698e[30]],createdAt:_0x78cex12[_0x698e[15]][_0x698e[31]]};_0x78cex14[_0x698e[23]]= _0x78cex16[_0x698e[23]]?Mustache[_0x698e[24]](_0x78cex16[_0x698e[23]],_0x78cex10):null;_0x78cex14[_0x698e[32]]= _0x78cex16[_0x698e[32]]?Mustache[_0x698e[24]](_0x78cex16[_0x698e[32]],_0x78cex10):null;_0x78cex14[_0x698e[33]]= true;_0x78cex14[_0x698e[30]]= _0x78cex12[_0x698e[14]][_0x698e[34]];return Message[_0x698e[35]](_0x78cex14)})[_0x698e[22]](function(){_0x78cex12[_0x698e[17]]()})[_0x698e[21]](function(_0x78cex15){console[_0x698e[20]](_0x78cex15)})};module[_0x698e[44]]= ReplyMail
\ No newline at end of file