53f2ebabb1270a682649d52f0f19d03f6b1902eb
[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 _0xbb00=['active','Imap','Smtp','exports','name','Service','key','SERV'];(function(_0x175d1e,_0x48ad7e){var _0x10aefc=function(_0x508d26){while(--_0x508d26){_0x175d1e['push'](_0x175d1e['shift']());}};_0x10aefc(++_0x48ad7e);}(_0xbb00,0x134));var _0x0bb0=function(_0x10463e,_0x3be01b){_0x10463e=_0x10463e-0x0;var _0x1966c6=_0xbb00[_0x10463e];return _0x1966c6;};'use strict';var _=require('lodash');function MailAccount(_0x372239){this['id']=_0x372239['id']||0x0;this['name']=_0x372239[_0x0bb0('0x0')]||_0x0bb0('0x1');this[_0x0bb0('0x2')]=_0x372239[_0x0bb0('0x2')]||_0x0bb0('0x3');this['active']=_0x372239[_0x0bb0('0x4')]||![];this[_0x0bb0('0x5')]=_0x372239[_0x0bb0('0x5')]||[];this['Smtp']=_0x372239[_0x0bb0('0x6')]||[];}module[_0x0bb0('0x7')]=MailAccount;