1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xf8bb=['NotifyMailAccount','../client','getMailAccounts','Request','name','service','email','active','key','ListId','TemplateId','MailServerIn','Imap','MailServerOut','Smtp','getMailAccount','notify'];(function(_0x360af4,_0x34f939){var _0x2cb5a4=function(_0x23aa9f){while(--_0x23aa9f){_0x360af4['push'](_0x360af4['shift']());}};_0x2cb5a4(++_0x34f939);}(_0xf8bb,0x111));var _0xbf8b=function(_0x1da495,_0x443de1){_0x1da495=_0x1da495-0x0;var _0x1240c9=_0xf8bb[_0x1da495];return _0x1240c9;};'use strict';var client=require(_0xbf8b('0x0'));exports[_0xbf8b('0x1')]=function(){return function(){return client[_0xbf8b('0x2')]('GetMailAccount',{'options':{'attributes':['id',_0xbf8b('0x3'),_0xbf8b('0x4'),_0xbf8b('0x5'),_0xbf8b('0x6'),_0xbf8b('0x7'),_0xbf8b('0x8'),_0xbf8b('0x9')],'raw':![],'include':[{'model':_0xbf8b('0xa'),'as':_0xbf8b('0xb')},{'model':_0xbf8b('0xc'),'as':_0xbf8b('0xd')}]},'log':_0xbf8b('0xe')});};};exports[_0xbf8b('0xf')]=function(_0x4b554f,_0x36692f){return client['Request']('NotifyMailAccount',{'account':{'id':_0x4b554f},'body':_0x36692f,'log':_0xbf8b('0x10')});};