7114f86ae664dfead5c8904a4c71769e9897dfa4
[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 _0xdfc9=['Service','key','SERV','active','Smtp','exports','name'];(function(_0x2b10c6,_0x185590){var _0x3789d2=function(_0x272987){while(--_0x272987){_0x2b10c6['push'](_0x2b10c6['shift']());}};_0x3789d2(++_0x185590);}(_0xdfc9,0xfb));var _0x9dfc=function(_0x3a8697,_0x4e39e8){_0x3a8697=_0x3a8697-0x0;var _0xa4c873=_0xdfc9[_0x3a8697];return _0xa4c873;};'use strict';var _=require('lodash');function MailAccount(_0x1c9f92){this['id']=_0x1c9f92['id']||0x0;this[_0x9dfc('0x0')]=_0x1c9f92[_0x9dfc('0x0')]||_0x9dfc('0x1');this[_0x9dfc('0x2')]=_0x1c9f92[_0x9dfc('0x2')]||_0x9dfc('0x3');this[_0x9dfc('0x4')]=_0x1c9f92[_0x9dfc('0x4')]||![];this['Imap']=_0x1c9f92['Imap']||[];this[_0x9dfc('0x5')]=_0x1c9f92['Smtp']||[];}module[_0x9dfc('0x6')]=MailAccount;