Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / services / email / rpc / mailAccount.js
index 583cea5..e8d5509 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x972c=['Request','GetMailAccount','service','email','ListId','TemplateId','MailServerIn','MailServerOut','getMailAccount','notify','NotifyMailAccount'];(function(_0x21d8bc,_0x479268){var _0x3014bf=function(_0x1fc5c6){while(--_0x1fc5c6){_0x21d8bc['push'](_0x21d8bc['shift']());}};_0x3014bf(++_0x479268);}(_0x972c,0xf2));var _0xc972=function(_0x50d64a,_0x51e412){_0x50d64a=_0x50d64a-0x0;var _0x5c47a5=_0x972c[_0x50d64a];return _0x5c47a5;};'use strict';var client=require('../client');exports['getMailAccounts']=function(){return function(){return client[_0xc972('0x0')](_0xc972('0x1'),{'options':{'attributes':['id','name',_0xc972('0x2'),_0xc972('0x3'),'active','key',_0xc972('0x4'),_0xc972('0x5')],'raw':![],'include':[{'model':_0xc972('0x6'),'as':'Imap'},{'model':_0xc972('0x7'),'as':'Smtp'}]},'log':_0xc972('0x8')});};};exports[_0xc972('0x9')]=function(_0x304d08,_0x5ef7c4){return client['Request']('NotifyMailAccount',{'account':{'id':_0x304d08},'body':_0x5ef7c4,'log':_0xc972('0xa')});};
\ No newline at end of file
+var _0xe225=['MailServerOut','Smtp','getMailAccount','notify','NotifyMailAccount','getMailAccounts','Request','email','key','Imap'];(function(_0x40bb60,_0x191d52){var _0x138bc2=function(_0x458b95){while(--_0x458b95){_0x40bb60['push'](_0x40bb60['shift']());}};_0x138bc2(++_0x191d52);}(_0xe225,0x1bd));var _0x5e22=function(_0x20ee5a,_0x409903){_0x20ee5a=_0x20ee5a-0x0;var _0x4573bf=_0xe225[_0x20ee5a];return _0x4573bf;};'use strict';var client=require('../client');exports[_0x5e22('0x0')]=function(){return function(){return client[_0x5e22('0x1')]('GetMailAccount',{'options':{'attributes':['id','name','service',_0x5e22('0x2'),'active',_0x5e22('0x3'),'ListId','TemplateId'],'raw':![],'include':[{'model':'MailServerIn','as':_0x5e22('0x4')},{'model':_0x5e22('0x5'),'as':_0x5e22('0x6')}]},'log':_0x5e22('0x7')});};};exports[_0x5e22('0x8')]=function(_0x36ad4d,_0x11f5c5){return client[_0x5e22('0x1')](_0x5e22('0x9'),{'account':{'id':_0x36ad4d},'body':_0x11f5c5,'log':_0x5e22('0x9')});};
\ No newline at end of file