47499f4047f1f2d7e25f8c59807d3b766e38d3af
[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 _0xbe6f=['lodash','name','Service','key','active','Imap','Smtp','exports'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xbe6f,0xe0));var _0xfbe6=function(_0x24f747,_0x2b5a82){_0x24f747=_0x24f747-0x0;var _0x3b13d3=_0xbe6f[_0x24f747];return _0x3b13d3;};'use strict';var _=require(_0xfbe6('0x0'));function MailAccount(_0x24ac08){this['id']=_0x24ac08['id']||0x0;this[_0xfbe6('0x1')]=_0x24ac08[_0xfbe6('0x1')]||_0xfbe6('0x2');this[_0xfbe6('0x3')]=_0x24ac08[_0xfbe6('0x3')]||'SERV';this[_0xfbe6('0x4')]=_0x24ac08[_0xfbe6('0x4')]||![];this[_0xfbe6('0x5')]=_0x24ac08[_0xfbe6('0x5')]||[];this[_0xfbe6('0x6')]=_0x24ac08[_0xfbe6('0x6')]||[];}module[_0xfbe6('0x7')]=MailAccount;