815e1c493b938d6fd42666bc798c300ed2fdf8d5
[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 _0x8767=['name','active','Imap','Smtp','lodash'];(function(_0x2a3707,_0x2ac9b7){var _0x173bcf=function(_0x39cf05){while(--_0x39cf05){_0x2a3707['push'](_0x2a3707['shift']());}};_0x173bcf(++_0x2ac9b7);}(_0x8767,0x103));var _0x7876=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x8767[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x7876('0x0'));function MailAccount(_0x1554d3){this['id']=_0x1554d3['id']||0x0;this[_0x7876('0x1')]=_0x1554d3[_0x7876('0x1')]||'Service';this['key']=_0x1554d3['key']||'SERV';this[_0x7876('0x2')]=_0x1554d3['active']||![];this['Imap']=_0x1554d3[_0x7876('0x3')]||[];this[_0x7876('0x4')]=_0x1554d3[_0x7876('0x4')]||[];}module['exports']=MailAccount;