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 _0xd5da=['getMailAccounts','GetMailAccount','name','service','active','ListId','TemplateId','MailServerIn','Imap','MailServerOut','Smtp','getMailAccount','notify','Request','NotifyMailAccount','../client'];(function(_0x4d8ed9,_0x2ae284){var _0x1e2140=function(_0x9cca89){while(--_0x9cca89){_0x4d8ed9['push'](_0x4d8ed9['shift']());}};_0x1e2140(++_0x2ae284);}(_0xd5da,0x9f));var _0xad5d=function(_0x2e3545,_0x20a6ec){_0x2e3545=_0x2e3545-0x0;var _0xcf18f=_0xd5da[_0x2e3545];return _0xcf18f;};'use strict';var client=require(_0xad5d('0x0'));exports[_0xad5d('0x1')]=function(){return function(){return client['Request'](_0xad5d('0x2'),{'options':{'attributes':['id',_0xad5d('0x3'),_0xad5d('0x4'),'email',_0xad5d('0x5'),'key',_0xad5d('0x6'),_0xad5d('0x7')],'raw':![],'include':[{'model':_0xad5d('0x8'),'as':_0xad5d('0x9')},{'model':_0xad5d('0xa'),'as':_0xad5d('0xb')}]},'log':_0xad5d('0xc')});};};exports[_0xad5d('0xd')]=function(_0xdda3bb,_0x5df98e){return client[_0xad5d('0xe')](_0xad5d('0xf'),{'account':{'id':_0xdda3bb},'body':_0x5df98e,'log':'NotifyMailAccount'});};