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 _0x770d=['MailServerIn','Smtp','getMailAccount','notify','NotifyMailAccount','../client','getMailAccounts','Request','GetMailAccount','name','service','email','key','ListId','TemplateId'];(function(_0xc6c302,_0x54051a){var _0x109300=function(_0x2f13db){while(--_0x2f13db){_0xc6c302['push'](_0xc6c302['shift']());}};_0x109300(++_0x54051a);}(_0x770d,0x122));var _0xd770=function(_0x2967b3,_0x2fbe22){_0x2967b3=_0x2967b3-0x0;var _0x3993b8=_0x770d[_0x2967b3];return _0x3993b8;};'use strict';var client=require(_0xd770('0x0'));exports[_0xd770('0x1')]=function(){return function(){return client[_0xd770('0x2')](_0xd770('0x3'),{'options':{'attributes':['id',_0xd770('0x4'),_0xd770('0x5'),_0xd770('0x6'),'active',_0xd770('0x7'),_0xd770('0x8'),_0xd770('0x9')],'raw':![],'include':[{'model':_0xd770('0xa'),'as':'Imap'},{'model':'MailServerOut','as':_0xd770('0xb')}]},'log':_0xd770('0xc')});};};exports[_0xd770('0xd')]=function(_0x433e3d,_0xe597a3){return client[_0xd770('0x2')](_0xd770('0xe'),{'account':{'id':_0x433e3d},'body':_0xe597a3,'log':'NotifyMailAccount'});};