Built motion from commit 52c8a02d.|2.6.29
[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 _0x73de=['Smtp','lodash','name','key','SERV','Imap'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x73de,0xc7));var _0xe73d=function(_0x27209b,_0x13f886){_0x27209b=_0x27209b-0x0;var _0x219e6a=_0x73de[_0x27209b];return _0x219e6a;};'use strict';var _=require(_0xe73d('0x0'));function MailAccount(_0xce3c24){this['id']=_0xce3c24['id']||0x0;this[_0xe73d('0x1')]=_0xce3c24['name']||'Service';this[_0xe73d('0x2')]=_0xce3c24[_0xe73d('0x2')]||_0xe73d('0x3');this['active']=_0xce3c24['active']||![];this['Imap']=_0xce3c24[_0xe73d('0x4')]||[];this[_0xe73d('0x5')]=_0xce3c24['Smtp']||[];}module['exports']=MailAccount;