a5617959a3e11fabd9f270bcd05de7d0cb31794d
[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 _0x2f9c=['key','active','Imap','Smtp','exports','lodash','name','Service'];(function(_0x4c1200,_0x3cc36b){var _0x3d6a48=function(_0x7149d8){while(--_0x7149d8){_0x4c1200['push'](_0x4c1200['shift']());}};_0x3d6a48(++_0x3cc36b);}(_0x2f9c,0x135));var _0xc2f9=function(_0x1048ba,_0x31e6fb){_0x1048ba=_0x1048ba-0x0;var _0x44df10=_0x2f9c[_0x1048ba];return _0x44df10;};'use strict';var _=require(_0xc2f9('0x0'));function MailAccount(_0x221a4d){this['id']=_0x221a4d['id']||0x0;this[_0xc2f9('0x1')]=_0x221a4d['name']||_0xc2f9('0x2');this[_0xc2f9('0x3')]=_0x221a4d['key']||'SERV';this[_0xc2f9('0x4')]=_0x221a4d[_0xc2f9('0x4')]||![];this['Imap']=_0x221a4d[_0xc2f9('0x5')]||[];this[_0xc2f9('0x6')]=_0x221a4d[_0xc2f9('0x6')]||[];}module[_0xc2f9('0x7')]=MailAccount;