Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / services / email / rpc / mailAccount.js
index cb4d340..d89da0c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3fc6=['MailServerOut','Smtp','getMailAccount','NotifyMailAccount','../client','Request','GetMailAccount','name','service','active','key','ListId','MailServerIn'];(function(_0x77bf1f,_0x598df6){var _0x35cef3=function(_0x2e450f){while(--_0x2e450f){_0x77bf1f['push'](_0x77bf1f['shift']());}};_0x35cef3(++_0x598df6);}(_0x3fc6,0x115));var _0x63fc=function(_0x33c77c,_0x4a4af7){_0x33c77c=_0x33c77c-0x0;var _0x140a9f=_0x3fc6[_0x33c77c];return _0x140a9f;};'use strict';var client=require(_0x63fc('0x0'));exports['getMailAccounts']=function(){return function(){return client[_0x63fc('0x1')](_0x63fc('0x2'),{'options':{'attributes':['id',_0x63fc('0x3'),_0x63fc('0x4'),'email',_0x63fc('0x5'),_0x63fc('0x6'),_0x63fc('0x7'),'TemplateId'],'raw':![],'include':[{'model':_0x63fc('0x8'),'as':'Imap'},{'model':_0x63fc('0x9'),'as':_0x63fc('0xa')}]},'log':_0x63fc('0xb')});};};exports['notify']=function(_0x3ec832,_0xffe000){return client[_0x63fc('0x1')](_0x63fc('0xc'),{'account':{'id':_0x3ec832},'body':_0xffe000,'log':_0x63fc('0xc')});};
\ No newline at end of file
+var _0xf981=['TemplateId','MailServerIn','Imap','data5','CloudProvider','MailServerOut','Smtp','type','notify','NotifyMailAccount','../client','getMailAccounts','Request','GetMailAccount','name','provider','service','email','key','ListId'];(function(_0x2a7ecc,_0x3ee0b0){var _0x57cf6b=function(_0x123f21){while(--_0x123f21){_0x2a7ecc['push'](_0x2a7ecc['shift']());}};_0x57cf6b(++_0x3ee0b0);}(_0xf981,0xe6));var _0x1f98=function(_0x3a2ae7,_0x568762){_0x3a2ae7=_0x3a2ae7-0x0;var _0x531c3e=_0xf981[_0x3a2ae7];return _0x531c3e;};'use strict';var client=require(_0x1f98('0x0'));exports[_0x1f98('0x1')]=function(){return function(){return client[_0x1f98('0x2')](_0x1f98('0x3'),{'options':{'attributes':['id',_0x1f98('0x4'),_0x1f98('0x5'),_0x1f98('0x6'),_0x1f98('0x7'),'active',_0x1f98('0x8'),_0x1f98('0x9'),_0x1f98('0xa')],'raw':![],'include':[{'model':_0x1f98('0xb'),'as':_0x1f98('0xc'),'include':[{'model':'CloudProvider','attributes':['id','name',_0x1f98('0x6'),'type',_0x1f98('0xd')],'as':_0x1f98('0xe')}]},{'model':_0x1f98('0xf'),'as':_0x1f98('0x10'),'include':[{'model':_0x1f98('0xe'),'attributes':['id','name',_0x1f98('0x6'),_0x1f98('0x11'),_0x1f98('0xd')],'as':_0x1f98('0xe')}]}]},'log':'getMailAccount'});};};exports[_0x1f98('0x12')]=function(_0x508e25,_0x4398ea){return client[_0x1f98('0x2')](_0x1f98('0x13'),{'account':{'id':_0x508e25},'body':_0x4398ea,'log':'NotifyMailAccount'});};
\ No newline at end of file