75eb0a23b5ffbb57e5c351e08b712fb2a39e4344
[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 _0x5d3a=['Imap','Smtp','exports','lodash','name','key','SERV','active'];(function(_0x103a9a,_0x2cddeb){var _0xbd5c56=function(_0x4d230a){while(--_0x4d230a){_0x103a9a['push'](_0x103a9a['shift']());}};_0xbd5c56(++_0x2cddeb);}(_0x5d3a,0x1e3));var _0xa5d3=function(_0x22f164,_0xaa4f80){_0x22f164=_0x22f164-0x0;var _0x51ab95=_0x5d3a[_0x22f164];return _0x51ab95;};'use strict';var _=require(_0xa5d3('0x0'));function MailAccount(_0x1e7704){this['id']=_0x1e7704['id']||0x0;this[_0xa5d3('0x1')]=_0x1e7704[_0xa5d3('0x1')]||'Service';this['key']=_0x1e7704[_0xa5d3('0x2')]||_0xa5d3('0x3');this['active']=_0x1e7704[_0xa5d3('0x4')]||![];this[_0xa5d3('0x5')]=_0x1e7704[_0xa5d3('0x5')]||[];this[_0xa5d3('0x6')]=_0x1e7704[_0xa5d3('0x6')]||[];}module[_0xa5d3('0x7')]=MailAccount;