69d82efc7af1f3200d9c3d008fdd1047772e8d9f
[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 _0x4fd7=['key','SERV','active','Imap','Smtp','exports','lodash','name'];(function(_0x5397bb,_0x22af37){var _0xa900aa=function(_0x148a2d){while(--_0x148a2d){_0x5397bb['push'](_0x5397bb['shift']());}};_0xa900aa(++_0x22af37);}(_0x4fd7,0x1d6));var _0x74fd=function(_0x416048,_0x3e30b1){_0x416048=_0x416048-0x0;var _0x522fcd=_0x4fd7[_0x416048];return _0x522fcd;};'use strict';var _=require(_0x74fd('0x0'));function MailAccount(_0x5bd0ee){this['id']=_0x5bd0ee['id']||0x0;this['name']=_0x5bd0ee[_0x74fd('0x1')]||'Service';this['key']=_0x5bd0ee[_0x74fd('0x2')]||_0x74fd('0x3');this[_0x74fd('0x4')]=_0x5bd0ee[_0x74fd('0x4')]||![];this[_0x74fd('0x5')]=_0x5bd0ee[_0x74fd('0x5')]||[];this['Smtp']=_0x5bd0ee[_0x74fd('0x6')]||[];}module[_0x74fd('0x7')]=MailAccount;