Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / services / email / rpc / mailAccount.js
index 7033321..ccf8758 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb6c9=['Request','NotifyMailAccount','../client','GetMailAccount','provider','service','email','ListId','TemplateId','MailServerIn','Imap','CloudProvider','Smtp','name','data5','notify'];(function(_0x1ac595,_0x5d2081){var _0x455fff=function(_0x3043ee){while(--_0x3043ee){_0x1ac595['push'](_0x1ac595['shift']());}};_0x455fff(++_0x5d2081);}(_0xb6c9,0x152));var _0x9b6c=function(_0x37e845,_0x219f9f){_0x37e845=_0x37e845-0x0;var _0x59e55b=_0xb6c9[_0x37e845];return _0x59e55b;};'use strict';var client=require(_0x9b6c('0x0'));exports['getMailAccounts']=function(){return function(){return client['Request'](_0x9b6c('0x1'),{'options':{'attributes':['id','name',_0x9b6c('0x2'),_0x9b6c('0x3'),_0x9b6c('0x4'),'active','key',_0x9b6c('0x5'),_0x9b6c('0x6')],'raw':![],'include':[{'model':_0x9b6c('0x7'),'as':_0x9b6c('0x8'),'include':[{'model':'CloudProvider','attributes':['id','name','service','type','data5'],'as':_0x9b6c('0x9')}]},{'model':'MailServerOut','as':_0x9b6c('0xa'),'include':[{'model':'CloudProvider','attributes':['id',_0x9b6c('0xb'),_0x9b6c('0x3'),'type',_0x9b6c('0xc')],'as':_0x9b6c('0x9')}]}]},'log':'getMailAccount'});};};exports[_0x9b6c('0xd')]=function(_0x30736a,_0x38f7ae){return client[_0x9b6c('0xe')](_0x9b6c('0xf'),{'account':{'id':_0x30736a},'body':_0x38f7ae,'log':_0x9b6c('0xf')});};
\ No newline at end of file
+var _0x63f1=['key','ListId','TemplateId','MailServerIn','Imap','CloudProvider','name','type','data5','MailServerOut','getMailAccount','notify','Request','NotifyMailAccount','../client','getMailAccounts','GetMailAccount','provider','service','active'];(function(_0x23b85e,_0x39b209){var _0x329756=function(_0x3418e1){while(--_0x3418e1){_0x23b85e['push'](_0x23b85e['shift']());}};_0x329756(++_0x39b209);}(_0x63f1,0x1da));var _0x163f=function(_0x1deb03,_0xd05ad8){_0x1deb03=_0x1deb03-0x0;var _0x189fe7=_0x63f1[_0x1deb03];return _0x189fe7;};'use strict';var client=require(_0x163f('0x0'));exports[_0x163f('0x1')]=function(){return function(){return client['Request'](_0x163f('0x2'),{'options':{'attributes':['id','name',_0x163f('0x3'),_0x163f('0x4'),'email',_0x163f('0x5'),_0x163f('0x6'),_0x163f('0x7'),_0x163f('0x8')],'raw':![],'include':[{'model':_0x163f('0x9'),'as':_0x163f('0xa'),'include':[{'model':_0x163f('0xb'),'attributes':['id',_0x163f('0xc'),'service',_0x163f('0xd'),_0x163f('0xe')],'as':_0x163f('0xb')}]},{'model':_0x163f('0xf'),'as':'Smtp','include':[{'model':_0x163f('0xb'),'attributes':['id',_0x163f('0xc'),_0x163f('0x4'),_0x163f('0xd'),_0x163f('0xe')],'as':'CloudProvider'}]}]},'log':_0x163f('0x10')});};};exports[_0x163f('0x11')]=function(_0x54f9e7,_0x7c43ca){return client[_0x163f('0x12')](_0x163f('0x13'),{'account':{'id':_0x54f9e7},'body':_0x7c43ca,'log':_0x163f('0x13')});};
\ No newline at end of file