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 _0x96fd=['email','active','key','TemplateId','MailServerIn','CloudProvider','type','data5','MailServerOut','Smtp','getMailAccount','notify','NotifyMailAccount','getMailAccounts','GetMailAccount','name','service'];(function(_0x2e6e35,_0x4486d5){var _0x227b27=function(_0x4f3465){while(--_0x4f3465){_0x2e6e35['push'](_0x2e6e35['shift']());}};_0x227b27(++_0x4486d5);}(_0x96fd,0x1e9));var _0xd96f=function(_0x277ab2,_0x5b0624){_0x277ab2=_0x277ab2-0x0;var _0x8902d2=_0x96fd[_0x277ab2];return _0x8902d2;};'use strict';var client=require('../client');exports[_0xd96f('0x0')]=function(){return function(){return client['Request'](_0xd96f('0x1'),{'options':{'attributes':['id',_0xd96f('0x2'),'provider',_0xd96f('0x3'),_0xd96f('0x4'),_0xd96f('0x5'),_0xd96f('0x6'),'ListId',_0xd96f('0x7')],'raw':![],'include':[{'model':_0xd96f('0x8'),'as':'Imap','include':[{'model':_0xd96f('0x9'),'attributes':['id',_0xd96f('0x2'),_0xd96f('0x3'),_0xd96f('0xa'),_0xd96f('0xb')],'as':_0xd96f('0x9')}]},{'model':_0xd96f('0xc'),'as':_0xd96f('0xd'),'include':[{'model':_0xd96f('0x9'),'attributes':['id',_0xd96f('0x2'),_0xd96f('0x3'),_0xd96f('0xa'),_0xd96f('0xb')],'as':_0xd96f('0x9')}]}]},'log':_0xd96f('0xe')});};};exports[_0xd96f('0xf')]=function(_0x2b2226,_0x187274){return client['Request']('NotifyMailAccount',{'account':{'id':_0x2b2226},'body':_0x187274,'log':_0xd96f('0x10')});};