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 _0x8ca9=['notify','NotifyMailAccount','../client','getMailAccounts','Request','GetMailAccount','name','service','email','ListId','MailServerIn','MailServerOut','Smtp','getMailAccount'];(function(_0xe478e9,_0xeed802){var _0x2879a9=function(_0x1e0b0d){while(--_0x1e0b0d){_0xe478e9['push'](_0xe478e9['shift']());}};_0x2879a9(++_0xeed802);}(_0x8ca9,0x9c));var _0x98ca=function(_0x278124,_0x54271a){_0x278124=_0x278124-0x0;var _0x4c4d51=_0x8ca9[_0x278124];return _0x4c4d51;};'use strict';var client=require(_0x98ca('0x0'));exports[_0x98ca('0x1')]=function(){return function(){return client[_0x98ca('0x2')](_0x98ca('0x3'),{'options':{'attributes':['id',_0x98ca('0x4'),_0x98ca('0x5'),_0x98ca('0x6'),'active','key',_0x98ca('0x7'),'TemplateId'],'raw':![],'include':[{'model':_0x98ca('0x8'),'as':'Imap'},{'model':_0x98ca('0x9'),'as':_0x98ca('0xa')}]},'log':_0x98ca('0xb')});};};exports[_0x98ca('0xc')]=function(_0x323c95,_0x28a37a){return client[_0x98ca('0x2')](_0x98ca('0xd'),{'account':{'id':_0x323c95},'body':_0x28a37a,'log':_0x98ca('0xd')});};