ce4682967131734fd3aeb8a5c1d94c844fcf5cb2
[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 _0x1cc9=['Imap','Smtp','exports','name','Service','key','active'];(function(_0x295569,_0x3d4dc9){var _0x3a3663=function(_0x299659){while(--_0x299659){_0x295569['push'](_0x295569['shift']());}};_0x3a3663(++_0x3d4dc9);}(_0x1cc9,0x192));var _0x91cc=function(_0x2b990d,_0x1bb188){_0x2b990d=_0x2b990d-0x0;var _0x4594b4=_0x1cc9[_0x2b990d];return _0x4594b4;};'use strict';var _=require('lodash');function MailAccount(_0x2f641a){this['id']=_0x2f641a['id']||0x0;this['name']=_0x2f641a[_0x91cc('0x0')]||_0x91cc('0x1');this[_0x91cc('0x2')]=_0x2f641a[_0x91cc('0x2')]||'SERV';this[_0x91cc('0x3')]=_0x2f641a[_0x91cc('0x3')]||![];this[_0x91cc('0x4')]=_0x2f641a['Imap']||[];this[_0x91cc('0x5')]=_0x2f641a[_0x91cc('0x5')]||[];}module[_0x91cc('0x6')]=MailAccount;