ff5c382855abf36329eba34e5881b3d821e11736
[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 _0xba11=['key','SERV','active','Imap','Smtp','lodash','name'];(function(_0x34ceea,_0x2f8e44){var _0x559f9c=function(_0x42714d){while(--_0x42714d){_0x34ceea['push'](_0x34ceea['shift']());}};_0x559f9c(++_0x2f8e44);}(_0xba11,0xd0));var _0x1ba1=function(_0xa4994d,_0xe05eec){_0xa4994d=_0xa4994d-0x0;var _0x881702=_0xba11[_0xa4994d];return _0x881702;};'use strict';var _=require(_0x1ba1('0x0'));function MailAccount(_0xffac78){this['id']=_0xffac78['id']||0x0;this[_0x1ba1('0x1')]=_0xffac78['name']||'Service';this[_0x1ba1('0x2')]=_0xffac78[_0x1ba1('0x2')]||_0x1ba1('0x3');this[_0x1ba1('0x4')]=_0xffac78[_0x1ba1('0x4')]||![];this['Imap']=_0xffac78[_0x1ba1('0x5')]||[];this[_0x1ba1('0x6')]=_0xffac78[_0x1ba1('0x6')]||[];}module['exports']=MailAccount;