cf2fdf56cb672ce4fbf462b05b262cdbf999b033
[motion2.git] / server / services / email / model / mailAccount.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x1d94=['SERV','active','Smtp','exports','lodash','name','Service','key'];(function(_0x443fcd,_0x396d23){var _0x6051ab=function(_0x427c54){while(--_0x427c54){_0x443fcd['push'](_0x443fcd['shift']());}};_0x6051ab(++_0x396d23);}(_0x1d94,0xdc));var _0x41d9=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x1d94[_0x2641f9];return _0x585741;};'use strict';var _=require(_0x41d9('0x0'));function MailAccount(_0x12bb08){this['id']=_0x12bb08['id']||0x0;this[_0x41d9('0x1')]=_0x12bb08[_0x41d9('0x1')]||_0x41d9('0x2');this[_0x41d9('0x3')]=_0x12bb08['key']||_0x41d9('0x4');this['active']=_0x12bb08[_0x41d9('0x5')]||![];this['Imap']=_0x12bb08['Imap']||[];this[_0x41d9('0x6')]=_0x12bb08[_0x41d9('0x6')]||[];}module[_0x41d9('0x7')]=MailAccount;