228864e430ba1a12f24e3c0d39b4d428732f5650
[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 _0x050e=['active','Imap','Smtp','exports','name','Service','key','SERV'];(function(_0x35bd6c,_0x585087){var _0x2f421d=function(_0x42ae70){while(--_0x42ae70){_0x35bd6c['push'](_0x35bd6c['shift']());}};_0x2f421d(++_0x585087);}(_0x050e,0xfc));var _0xe050=function(_0x487363,_0xabd92c){_0x487363=_0x487363-0x0;var _0x198e1d=_0x050e[_0x487363];return _0x198e1d;};'use strict';var _=require('lodash');function MailAccount(_0xe2c41){this['id']=_0xe2c41['id']||0x0;this['name']=_0xe2c41[_0xe050('0x0')]||_0xe050('0x1');this[_0xe050('0x2')]=_0xe2c41[_0xe050('0x2')]||_0xe050('0x3');this['active']=_0xe2c41[_0xe050('0x4')]||![];this['Imap']=_0xe2c41[_0xe050('0x5')]||[];this[_0xe050('0x6')]=_0xe2c41[_0xe050('0x6')]||[];}module[_0xe050('0x7')]=MailAccount;