Built motion from commit a61a4a20.|2.5.46
[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 _0x66cd=['Smtp','exports','name','Service','key','SERV','active','Imap'];(function(_0x46111d,_0x5d286b){var _0xe82586=function(_0x39551b){while(--_0x39551b){_0x46111d['push'](_0x46111d['shift']());}};_0xe82586(++_0x5d286b);}(_0x66cd,0x6a));var _0xd66c=function(_0x6c993a,_0x5ea3ab){_0x6c993a=_0x6c993a-0x0;var _0x27f547=_0x66cd[_0x6c993a];return _0x27f547;};'use strict';var _=require('lodash');function MailAccount(_0x9076f4){this['id']=_0x9076f4['id']||0x0;this['name']=_0x9076f4[_0xd66c('0x0')]||_0xd66c('0x1');this[_0xd66c('0x2')]=_0x9076f4[_0xd66c('0x2')]||_0xd66c('0x3');this[_0xd66c('0x4')]=_0x9076f4[_0xd66c('0x4')]||![];this['Imap']=_0x9076f4[_0xd66c('0x5')]||[];this['Smtp']=_0x9076f4[_0xd66c('0x6')]||[];}module[_0xd66c('0x7')]=MailAccount;