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 _0xcded=['active','key','ListId','TemplateId','Imap','MailServerOut','Smtp','getMailAccount','notify','NotifyMailAccount','getMailAccounts','Request','name','service','email'];(function(_0x46d531,_0x2497d4){var _0x335d30=function(_0x210e20){while(--_0x210e20){_0x46d531['push'](_0x46d531['shift']());}};_0x335d30(++_0x2497d4);}(_0xcded,0x64));var _0xdcde=function(_0x56260c,_0x3594bc){_0x56260c=_0x56260c-0x0;var _0x3293b9=_0xcded[_0x56260c];return _0x3293b9;};'use strict';var client=require('../client');exports[_0xdcde('0x0')]=function(){return function(){return client[_0xdcde('0x1')]('GetMailAccount',{'options':{'attributes':['id',_0xdcde('0x2'),_0xdcde('0x3'),_0xdcde('0x4'),_0xdcde('0x5'),_0xdcde('0x6'),_0xdcde('0x7'),_0xdcde('0x8')],'raw':![],'include':[{'model':'MailServerIn','as':_0xdcde('0x9')},{'model':_0xdcde('0xa'),'as':_0xdcde('0xb')}]},'log':_0xdcde('0xc')});};};exports[_0xdcde('0xd')]=function(_0x2a03de,_0x1131c0){return client[_0xdcde('0x1')](_0xdcde('0xe'),{'account':{'id':_0x2a03de},'body':_0x1131c0,'log':_0xdcde('0xe')});};