10d6f3f32d1ea1657d006ae727bac23e670303c8
[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 _0x5cc9=['name','key','SERV','active','Imap','Smtp','exports'];(function(_0xc45b00,_0xec0276){var _0xd56475=function(_0x5a54e4){while(--_0x5a54e4){_0xc45b00['push'](_0xc45b00['shift']());}};_0xd56475(++_0xec0276);}(_0x5cc9,0x70));var _0x95cc=function(_0x33cb1a,_0x678789){_0x33cb1a=_0x33cb1a-0x0;var _0x571bfa=_0x5cc9[_0x33cb1a];return _0x571bfa;};'use strict';var _=require('lodash');function MailAccount(_0x50c3e4){this['id']=_0x50c3e4['id']||0x0;this[_0x95cc('0x0')]=_0x50c3e4[_0x95cc('0x0')]||'Service';this[_0x95cc('0x1')]=_0x50c3e4[_0x95cc('0x1')]||_0x95cc('0x2');this[_0x95cc('0x3')]=_0x50c3e4['active']||![];this['Imap']=_0x50c3e4[_0x95cc('0x4')]||[];this[_0x95cc('0x5')]=_0x50c3e4['Smtp']||[];}module[_0x95cc('0x6')]=MailAccount;