Built motion from commit 0900f080.|2.5.45
[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 _0x580b=['Imap','Smtp','name','Service','key','SERV','active'];(function(_0x4ec9e3,_0x15fbf4){var _0x2883ce=function(_0x3e9998){while(--_0x3e9998){_0x4ec9e3['push'](_0x4ec9e3['shift']());}};_0x2883ce(++_0x15fbf4);}(_0x580b,0x8e));var _0xb580=function(_0x37c982,_0x283e37){_0x37c982=_0x37c982-0x0;var _0x2b70d3=_0x580b[_0x37c982];return _0x2b70d3;};'use strict';var _=require('lodash');function MailAccount(_0x4024fc){this['id']=_0x4024fc['id']||0x0;this[_0xb580('0x0')]=_0x4024fc[_0xb580('0x0')]||_0xb580('0x1');this[_0xb580('0x2')]=_0x4024fc['key']||_0xb580('0x3');this[_0xb580('0x4')]=_0x4024fc[_0xb580('0x4')]||![];this['Imap']=_0x4024fc[_0xb580('0x5')]||[];this[_0xb580('0x6')]=_0x4024fc[_0xb580('0x6')]||[];}module['exports']=MailAccount;