82cde15581d978e282a0fbb0f23bb61765f49afa
[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 _0xcdab=['Smtp','name','Service','key','active','Imap'];(function(_0x19d48d,_0xc31e9e){var _0x1da815=function(_0x18686){while(--_0x18686){_0x19d48d['push'](_0x19d48d['shift']());}};_0x1da815(++_0xc31e9e);}(_0xcdab,0xe5));var _0xbcda=function(_0x3b876c,_0x340f60){_0x3b876c=_0x3b876c-0x0;var _0x2d5333=_0xcdab[_0x3b876c];return _0x2d5333;};'use strict';var _=require('lodash');function MailAccount(_0x36e7c3){this['id']=_0x36e7c3['id']||0x0;this['name']=_0x36e7c3[_0xbcda('0x0')]||_0xbcda('0x1');this[_0xbcda('0x2')]=_0x36e7c3[_0xbcda('0x2')]||'SERV';this['active']=_0x36e7c3[_0xbcda('0x3')]||![];this[_0xbcda('0x4')]=_0x36e7c3['Imap']||[];this['Smtp']=_0x36e7c3[_0xbcda('0x5')]||[];}module['exports']=MailAccount;