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 _0x2087=['service','email','active','key','MailServerIn','MailServerOut','getMailAccount','notify','NotifyMailAccount','../client','getMailAccounts','Request','GetMailAccount'];(function(_0x484c03,_0x13c1d2){var _0x294127=function(_0x45a834){while(--_0x45a834){_0x484c03['push'](_0x484c03['shift']());}};_0x294127(++_0x13c1d2);}(_0x2087,0xf3));var _0x7208=function(_0x3d8e0b,_0x2ec330){_0x3d8e0b=_0x3d8e0b-0x0;var _0x5f533c=_0x2087[_0x3d8e0b];return _0x5f533c;};'use strict';var client=require(_0x7208('0x0'));exports[_0x7208('0x1')]=function(){return function(){return client[_0x7208('0x2')](_0x7208('0x3'),{'options':{'attributes':['id','name',_0x7208('0x4'),_0x7208('0x5'),_0x7208('0x6'),_0x7208('0x7'),'ListId','TemplateId'],'raw':![],'include':[{'model':_0x7208('0x8'),'as':'Imap'},{'model':_0x7208('0x9'),'as':'Smtp'}]},'log':_0x7208('0xa')});};};exports[_0x7208('0xb')]=function(_0x2bf5f4,_0x94a960){return client[_0x7208('0x2')](_0x7208('0xc'),{'account':{'id':_0x2bf5f4},'body':_0x94a960,'log':_0x7208('0xc')});};