Built motion from commit 639a1a7f.|2.6.19
[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 _0x3580=['key','Imap','Smtp','exports','name'];(function(_0x3e63af,_0x4239ad){var _0x11c411=function(_0x320722){while(--_0x320722){_0x3e63af['push'](_0x3e63af['shift']());}};_0x11c411(++_0x4239ad);}(_0x3580,0xef));var _0x0358=function(_0x3252f7,_0x1678e5){_0x3252f7=_0x3252f7-0x0;var _0x591cf0=_0x3580[_0x3252f7];return _0x591cf0;};'use strict';var _=require('lodash');function MailAccount(_0x5a8d8f){this['id']=_0x5a8d8f['id']||0x0;this[_0x0358('0x0')]=_0x5a8d8f['name']||'Service';this['key']=_0x5a8d8f[_0x0358('0x1')]||'SERV';this['active']=_0x5a8d8f['active']||![];this[_0x0358('0x2')]=_0x5a8d8f[_0x0358('0x2')]||[];this[_0x0358('0x3')]=_0x5a8d8f[_0x0358('0x3')]||[];}module[_0x0358('0x4')]=MailAccount;