cd9d33518a1c366712614178f6ab45a5bff1a2c5
[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 _0x36d8=['key','SERV','active','Imap','exports','lodash','name'];(function(_0x7e70b,_0xb33869){var _0x1b8b92=function(_0x402e76){while(--_0x402e76){_0x7e70b['push'](_0x7e70b['shift']());}};_0x1b8b92(++_0xb33869);}(_0x36d8,0x139));var _0x836d=function(_0x49ccc1,_0x4b796a){_0x49ccc1=_0x49ccc1-0x0;var _0xfa3100=_0x36d8[_0x49ccc1];return _0xfa3100;};'use strict';var _=require(_0x836d('0x0'));function MailAccount(_0x20645c){this['id']=_0x20645c['id']||0x0;this[_0x836d('0x1')]=_0x20645c[_0x836d('0x1')]||'Service';this[_0x836d('0x2')]=_0x20645c[_0x836d('0x2')]||_0x836d('0x3');this[_0x836d('0x4')]=_0x20645c['active']||![];this[_0x836d('0x5')]=_0x20645c[_0x836d('0x5')]||[];this['Smtp']=_0x20645c['Smtp']||[];}module[_0x836d('0x6')]=MailAccount;