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 _0x744c=['Imap','MailServerOut','Smtp','NotifyMailAccount','../client','getMailAccounts','Request','GetMailAccount','service','email','active','key','MailServerIn'];(function(_0x3bbde7,_0x344127){var _0x117992=function(_0x1d0170){while(--_0x1d0170){_0x3bbde7['push'](_0x3bbde7['shift']());}};_0x117992(++_0x344127);}(_0x744c,0xa0));var _0xc744=function(_0x1bd146,_0x1e60c0){_0x1bd146=_0x1bd146-0x0;var _0x433dc0=_0x744c[_0x1bd146];return _0x433dc0;};'use strict';var client=require(_0xc744('0x0'));exports[_0xc744('0x1')]=function(){return function(){return client[_0xc744('0x2')](_0xc744('0x3'),{'options':{'attributes':['id','name',_0xc744('0x4'),_0xc744('0x5'),_0xc744('0x6'),_0xc744('0x7'),'ListId','TemplateId'],'raw':![],'include':[{'model':_0xc744('0x8'),'as':_0xc744('0x9')},{'model':_0xc744('0xa'),'as':_0xc744('0xb')}]},'log':'getMailAccount'});};};exports['notify']=function(_0x2bb565,_0xf1fc2f){return client['Request'](_0xc744('0xc'),{'account':{'id':_0x2bb565},'body':_0xf1fc2f,'log':_0xc744('0xc')});};