a5f93fb404993b199f95d9744af1ebe781c0aed6
[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 _0xa6ba=['key','active','Imap','Smtp','name'];(function(_0x3e3d31,_0x38133f){var _0x27c1e0=function(_0x20ca44){while(--_0x20ca44){_0x3e3d31['push'](_0x3e3d31['shift']());}};_0x27c1e0(++_0x38133f);}(_0xa6ba,0xf9));var _0xaa6b=function(_0x5783f4,_0x4a9e0a){_0x5783f4=_0x5783f4-0x0;var _0x28e380=_0xa6ba[_0x5783f4];return _0x28e380;};'use strict';var _=require('lodash');function MailAccount(_0x515a3e){this['id']=_0x515a3e['id']||0x0;this[_0xaa6b('0x0')]=_0x515a3e[_0xaa6b('0x0')]||'Service';this[_0xaa6b('0x1')]=_0x515a3e[_0xaa6b('0x1')]||'SERV';this['active']=_0x515a3e[_0xaa6b('0x2')]||![];this[_0xaa6b('0x3')]=_0x515a3e[_0xaa6b('0x3')]||[];this[_0xaa6b('0x4')]=_0x515a3e['Smtp']||[];}module['exports']=MailAccount;