Built motion from commit 497d3d92.|2.5.43
[motion2.git] / server / services / email / rpc / mailAccount.js
index 9c10454..1c8abd2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa498=['getMailAccount','NotifyMailAccount','getMailAccounts','Request','service','email','active','key','ListId','MailServerIn','MailServerOut','Smtp'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xa498,0x1d6));var _0x8a49=function(_0x462fe4,_0x394d3e){_0x462fe4=_0x462fe4-0x0;var _0x82b23a=_0xa498[_0x462fe4];return _0x82b23a;};'use strict';var client=require('../client');exports[_0x8a49('0x0')]=function(){return function(){return client[_0x8a49('0x1')]('GetMailAccount',{'options':{'attributes':['id','name',_0x8a49('0x2'),_0x8a49('0x3'),_0x8a49('0x4'),_0x8a49('0x5'),_0x8a49('0x6'),'TemplateId'],'raw':![],'include':[{'model':_0x8a49('0x7'),'as':'Imap'},{'model':_0x8a49('0x8'),'as':_0x8a49('0x9')}]},'log':_0x8a49('0xa')});};};exports['notify']=function(_0x3048b7,_0x29cba4){return client[_0x8a49('0x1')](_0x8a49('0xb'),{'account':{'id':_0x3048b7},'body':_0x29cba4,'log':_0x8a49('0xb')});};
\ No newline at end of file
+var _0xb8f0=['ListId','TemplateId','MailServerIn','CloudProvider','data5','type','notify','NotifyMailAccount','../client','getMailAccounts','GetMailAccount','name','provider','service','email','active','key'];(function(_0x38466c,_0x41f842){var _0x5ef824=function(_0xef3b91){while(--_0xef3b91){_0x38466c['push'](_0x38466c['shift']());}};_0x5ef824(++_0x41f842);}(_0xb8f0,0x16d));var _0x0b8f=function(_0x139343,_0x15352a){_0x139343=_0x139343-0x0;var _0x44be02=_0xb8f0[_0x139343];return _0x44be02;};'use strict';var client=require(_0x0b8f('0x0'));exports[_0x0b8f('0x1')]=function(){return function(){return client['Request'](_0x0b8f('0x2'),{'options':{'attributes':['id',_0x0b8f('0x3'),_0x0b8f('0x4'),_0x0b8f('0x5'),_0x0b8f('0x6'),_0x0b8f('0x7'),_0x0b8f('0x8'),_0x0b8f('0x9'),_0x0b8f('0xa')],'raw':![],'include':[{'model':_0x0b8f('0xb'),'as':'Imap','include':[{'model':_0x0b8f('0xc'),'attributes':['id',_0x0b8f('0x3'),_0x0b8f('0x5'),'type',_0x0b8f('0xd')],'as':_0x0b8f('0xc')}]},{'model':'MailServerOut','as':'Smtp','include':[{'model':_0x0b8f('0xc'),'attributes':['id','name',_0x0b8f('0x5'),_0x0b8f('0xe'),_0x0b8f('0xd')],'as':_0x0b8f('0xc')}]}]},'log':'getMailAccount'});};};exports[_0x0b8f('0xf')]=function(_0x11974a,_0x3a419b){return client['Request'](_0x0b8f('0x10'),{'account':{'id':_0x11974a},'body':_0x3a419b,'log':_0x0b8f('0x10')});};
\ No newline at end of file