X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Femail%2Frpc%2FmailAccount.js;h=21f75a399a591927445dc9dd8e76bbc5d8143274;hb=24271de0e5dd1b448821a50abace88b2fad818a2;hp=9c1045462bbda9d638999469f32a3bda18c360b0;hpb=913cc995a38cf7bfbc27d325e09fc2b6ae2f632d;p=motion2.git diff --git a/server/services/email/rpc/mailAccount.js b/server/services/email/rpc/mailAccount.js index 9c10454..21f75a3 100644 --- a/server/services/email/rpc/mailAccount.js +++ b/server/services/email/rpc/mailAccount.js @@ -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 _0x0eb2=['service','email','key','Imap','MailServerOut','Smtp','notify','NotifyMailAccount','../client','Request','GetMailAccount','name'];(function(_0x51b1a5,_0x285a4f){var _0x15c738=function(_0x5c94d7){while(--_0x5c94d7){_0x51b1a5['push'](_0x51b1a5['shift']());}};_0x15c738(++_0x285a4f);}(_0x0eb2,0x11c));var _0x20eb=function(_0x7a1373,_0x3e483a){_0x7a1373=_0x7a1373-0x0;var _0xa8512=_0x0eb2[_0x7a1373];return _0xa8512;};'use strict';var client=require(_0x20eb('0x0'));exports['getMailAccounts']=function(){return function(){return client[_0x20eb('0x1')](_0x20eb('0x2'),{'options':{'attributes':['id',_0x20eb('0x3'),_0x20eb('0x4'),_0x20eb('0x5'),'active',_0x20eb('0x6'),'ListId','TemplateId'],'raw':![],'include':[{'model':'MailServerIn','as':_0x20eb('0x7')},{'model':_0x20eb('0x8'),'as':_0x20eb('0x9')}]},'log':'getMailAccount'});};};exports[_0x20eb('0xa')]=function(_0x2093eb,_0x4443ea){return client[_0x20eb('0x1')](_0x20eb('0xb'),{'account':{'id':_0x2093eb},'body':_0x4443ea,'log':_0x20eb('0xb')});}; \ No newline at end of file