Built motion from commit bfc7a72f7045b27461c9a5d1f71c1a658cfd0b8b. Version 3.0.0...
[motion-next.git] / server / services / email / rpc / mailAccount.js
1 const a1158_0x27b2=['name','TemplateId','../client','service','getMailAccount','MailServerOut','email','GetMailAccount','notify','NotifyMailAccount','Imap','MailServerIn'];(function(_0x574cd6,_0x27b267){const _0x556f59=function(_0x1f6dc3){while(--_0x1f6dc3){_0x574cd6['push'](_0x574cd6['shift']());}};_0x556f59(++_0x27b267);}(a1158_0x27b2,0xd1));const a1158_0x556f=function(_0x574cd6,_0x27b267){_0x574cd6=_0x574cd6-0x0;let _0x556f59=a1158_0x27b2[_0x574cd6];return _0x556f59;};const _0xd99be9=a1158_0x556f;'use strict';const client=require(_0xd99be9('0x9'));exports['getMailAccounts']=function(){return function(){const _0x829da7=a1158_0x556f;return client['Request'](_0x829da7('0x2'),{'options':{'attributes':['id',_0x829da7('0x7'),_0x829da7('0xa'),_0x829da7('0x1'),'active','key','ListId',_0x829da7('0x8')],'raw':![],'include':[{'model':_0x829da7('0x6'),'as':_0x829da7('0x5')},{'model':_0x829da7('0x0'),'as':'Smtp'}]},'log':_0x829da7('0xb')});};},exports[_0xd99be9('0x3')]=function(_0x1f6dc3,_0x1143b6){const _0x7952fd=_0xd99be9;return client['Request'](_0x7952fd('0x4'),{'account':{'id':_0x1f6dc3},'body':_0x1143b6,'log':_0x7952fd('0x4')});};