a2c79f635520dcc02d1b666eeb2ab52015bb17df
[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 _0x61bd=['Smtp','exports','lodash','name','Service','key','SERV','Imap'];(function(_0xfc52ed,_0x500326){var _0x51f6bd=function(_0x310156){while(--_0x310156){_0xfc52ed['push'](_0xfc52ed['shift']());}};_0x51f6bd(++_0x500326);}(_0x61bd,0xca));var _0xd61b=function(_0x4ce028,_0x526d4b){_0x4ce028=_0x4ce028-0x0;var _0x583d0c=_0x61bd[_0x4ce028];return _0x583d0c;};'use strict';var _=require(_0xd61b('0x0'));function MailAccount(_0x2324d8){this['id']=_0x2324d8['id']||0x0;this[_0xd61b('0x1')]=_0x2324d8['name']||_0xd61b('0x2');this[_0xd61b('0x3')]=_0x2324d8[_0xd61b('0x3')]||_0xd61b('0x4');this['active']=_0x2324d8['active']||![];this[_0xd61b('0x5')]=_0x2324d8[_0xd61b('0x5')]||[];this['Smtp']=_0x2324d8[_0xd61b('0x6')]||[];}module[_0xd61b('0x7')]=MailAccount;