cf9efc8bd52157ed4dead2d1f259a3819e27494c
[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 _0xfa34=['Smtp','lodash','key','SERV','active','Imap'];(function(_0x392ffa,_0x3d0057){var _0xc01b26=function(_0x5c74af){while(--_0x5c74af){_0x392ffa['push'](_0x392ffa['shift']());}};_0xc01b26(++_0x3d0057);}(_0xfa34,0xf7));var _0x4fa3=function(_0x24cc72,_0x4dc73a){_0x24cc72=_0x24cc72-0x0;var _0xd49f1e=_0xfa34[_0x24cc72];return _0xd49f1e;};'use strict';var _=require(_0x4fa3('0x0'));function MailAccount(_0x2d466f){this['id']=_0x2d466f['id']||0x0;this['name']=_0x2d466f['name']||'Service';this[_0x4fa3('0x1')]=_0x2d466f[_0x4fa3('0x1')]||_0x4fa3('0x2');this[_0x4fa3('0x3')]=_0x2d466f['active']||![];this[_0x4fa3('0x4')]=_0x2d466f['Imap']||[];this[_0x4fa3('0x5')]=_0x2d466f[_0x4fa3('0x5')]||[];}module['exports']=MailAccount;