d7aed5b86260b58020898b91c7e07d7766ef332c
[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 _0x7290=['Smtp','exports','name','Service','key','SERV','active','Imap'];(function(_0x514628,_0x4983c7){var _0x5ed6d8=function(_0x4f9998){while(--_0x4f9998){_0x514628['push'](_0x514628['shift']());}};_0x5ed6d8(++_0x4983c7);}(_0x7290,0x10a));var _0x0729=function(_0x1bae8b,_0x87c842){_0x1bae8b=_0x1bae8b-0x0;var _0x33d115=_0x7290[_0x1bae8b];return _0x33d115;};'use strict';var _=require('lodash');function MailAccount(_0xfce8a9){this['id']=_0xfce8a9['id']||0x0;this[_0x0729('0x0')]=_0xfce8a9[_0x0729('0x0')]||_0x0729('0x1');this[_0x0729('0x2')]=_0xfce8a9[_0x0729('0x2')]||_0x0729('0x3');this[_0x0729('0x4')]=_0xfce8a9['active']||![];this[_0x0729('0x5')]=_0xfce8a9[_0x0729('0x5')]||[];this[_0x0729('0x6')]=_0xfce8a9[_0x0729('0x6')]||[];}module[_0x0729('0x7')]=MailAccount;