b94e4671fc1f55916b05d70581db8184e3ef9155
[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 _0xe9b6=['lodash','name','Service','key','active','Imap','Smtp','exports'];(function(_0x7a87aa,_0x20cde6){var _0x148457=function(_0x3d5d06){while(--_0x3d5d06){_0x7a87aa['push'](_0x7a87aa['shift']());}};_0x148457(++_0x20cde6);}(_0xe9b6,0x80));var _0x6e9b=function(_0x1c1e01,_0x2bec13){_0x1c1e01=_0x1c1e01-0x0;var _0x8d00db=_0xe9b6[_0x1c1e01];return _0x8d00db;};'use strict';var _=require(_0x6e9b('0x0'));function MailAccount(_0x3eb6d0){this['id']=_0x3eb6d0['id']||0x0;this[_0x6e9b('0x1')]=_0x3eb6d0[_0x6e9b('0x1')]||_0x6e9b('0x2');this[_0x6e9b('0x3')]=_0x3eb6d0['key']||'SERV';this[_0x6e9b('0x4')]=_0x3eb6d0[_0x6e9b('0x4')]||![];this[_0x6e9b('0x5')]=_0x3eb6d0[_0x6e9b('0x5')]||[];this[_0x6e9b('0x6')]=_0x3eb6d0['Smtp']||[];}module[_0x6e9b('0x7')]=MailAccount;