Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / services / email / rpc / mailAccount.js
index ca5438f..3371594 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe829=['key','ListId','MailServerOut','Smtp','getMailAccount','NotifyMailAccount','getMailAccounts','Request','GetMailAccount','name','service','email'];(function(_0x4097d3,_0x2048da){var _0x42c1b0=function(_0x352683){while(--_0x352683){_0x4097d3['push'](_0x4097d3['shift']());}};_0x42c1b0(++_0x2048da);}(_0xe829,0xde));var _0x9e82=function(_0x3753f5,_0x12a1f1){_0x3753f5=_0x3753f5-0x0;var _0x419010=_0xe829[_0x3753f5];return _0x419010;};'use strict';var client=require('../client');exports[_0x9e82('0x0')]=function(){return function(){return client[_0x9e82('0x1')](_0x9e82('0x2'),{'options':{'attributes':['id',_0x9e82('0x3'),_0x9e82('0x4'),_0x9e82('0x5'),'active',_0x9e82('0x6'),_0x9e82('0x7'),'TemplateId'],'raw':![],'include':[{'model':'MailServerIn','as':'Imap'},{'model':_0x9e82('0x8'),'as':_0x9e82('0x9')}]},'log':_0x9e82('0xa')});};};exports['notify']=function(_0x166f01,_0x2b1ecb){return client[_0x9e82('0x1')](_0x9e82('0xb'),{'account':{'id':_0x166f01},'body':_0x2b1ecb,'log':'NotifyMailAccount'});};
\ No newline at end of file
+var _0x3c36=['getMailAccount','notify','Request','GetMailAccount','name','service','email','active','ListId','TemplateId','type','CloudProvider','MailServerOut','Smtp'];(function(_0x3a0d64,_0xa4119c){var _0x41cbd0=function(_0x487e4d){while(--_0x487e4d){_0x3a0d64['push'](_0x3a0d64['shift']());}};_0x41cbd0(++_0xa4119c);}(_0x3c36,0x10c));var _0x63c3=function(_0x3a87ea,_0x3daafb){_0x3a87ea=_0x3a87ea-0x0;var _0x447a3c=_0x3c36[_0x3a87ea];return _0x447a3c;};'use strict';var client=require('../client');exports['getMailAccounts']=function(){return function(){return client[_0x63c3('0x0')](_0x63c3('0x1'),{'options':{'attributes':['id',_0x63c3('0x2'),'provider',_0x63c3('0x3'),_0x63c3('0x4'),_0x63c3('0x5'),'key',_0x63c3('0x6'),_0x63c3('0x7')],'raw':![],'include':[{'model':'MailServerIn','as':'Imap','include':[{'model':'CloudProvider','attributes':['id',_0x63c3('0x2'),'service',_0x63c3('0x8'),'data5'],'as':_0x63c3('0x9')}]},{'model':_0x63c3('0xa'),'as':_0x63c3('0xb'),'include':[{'model':_0x63c3('0x9'),'attributes':['id','name',_0x63c3('0x3'),'type','data5'],'as':_0x63c3('0x9')}]}]},'log':_0x63c3('0xc')});};};exports[_0x63c3('0xd')]=function(_0x211adc,_0xcf3381){return client[_0x63c3('0x0')]('NotifyMailAccount',{'account':{'id':_0x211adc},'body':_0xcf3381,'log':'NotifyMailAccount'});};
\ No newline at end of file