Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / services / email / rpc / mailAccount.js
index 583cea5..840f2c3 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 _0x13fe=['GetMailAccount','name','service','active','key','ListId','TemplateId','MailServerIn','Imap','MailServerOut','notify','NotifyMailAccount','../client','getMailAccounts','Request'];(function(_0x353c66,_0x274bcb){var _0x5e5979=function(_0x4504b2){while(--_0x4504b2){_0x353c66['push'](_0x353c66['shift']());}};_0x5e5979(++_0x274bcb);}(_0x13fe,0x138));var _0xe13f=function(_0x47b58b,_0x41a189){_0x47b58b=_0x47b58b-0x0;var _0x46bebe=_0x13fe[_0x47b58b];return _0x46bebe;};'use strict';var client=require(_0xe13f('0x0'));exports[_0xe13f('0x1')]=function(){return function(){return client[_0xe13f('0x2')](_0xe13f('0x3'),{'options':{'attributes':['id',_0xe13f('0x4'),_0xe13f('0x5'),'email',_0xe13f('0x6'),_0xe13f('0x7'),_0xe13f('0x8'),_0xe13f('0x9')],'raw':![],'include':[{'model':_0xe13f('0xa'),'as':_0xe13f('0xb')},{'model':_0xe13f('0xc'),'as':'Smtp'}]},'log':'getMailAccount'});};};exports[_0xe13f('0xd')]=function(_0x39a413,_0x4e209c){return client['Request'](_0xe13f('0xe'),{'account':{'id':_0x39a413},'body':_0x4e209c,'log':_0xe13f('0xe')});};
\ No newline at end of file