9b1a90651bb121b7473b728af3d7beff934e9ad6
[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 _0x3054=['Imap','Smtp','exports','name','Service','key','SERV','active'];(function(_0x4441d1,_0x1a4e3f){var _0x234e03=function(_0x20c75c){while(--_0x20c75c){_0x4441d1['push'](_0x4441d1['shift']());}};_0x234e03(++_0x1a4e3f);}(_0x3054,0x163));var _0x4305=function(_0x4683b1,_0x5d509b){_0x4683b1=_0x4683b1-0x0;var _0x1e0229=_0x3054[_0x4683b1];return _0x1e0229;};'use strict';var _=require('lodash');function MailAccount(_0xe08adc){this['id']=_0xe08adc['id']||0x0;this[_0x4305('0x0')]=_0xe08adc[_0x4305('0x0')]||_0x4305('0x1');this[_0x4305('0x2')]=_0xe08adc['key']||_0x4305('0x3');this[_0x4305('0x4')]=_0xe08adc['active']||![];this[_0x4305('0x5')]=_0xe08adc[_0x4305('0x5')]||[];this[_0x4305('0x6')]=_0xe08adc[_0x4305('0x6')]||[];}module[_0x4305('0x7')]=MailAccount;