c820722b89c7cf01c1833d2e98e3d3ba0d37f647
[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 _0xc7ea=['exports','name','Service','key','SERV','active','Imap'];(function(_0x307e23,_0x81517b){var _0x3f13b9=function(_0x367e){while(--_0x367e){_0x307e23['push'](_0x307e23['shift']());}};_0x3f13b9(++_0x81517b);}(_0xc7ea,0x13c));var _0xac7e=function(_0x2e3084,_0x170398){_0x2e3084=_0x2e3084-0x0;var _0x233549=_0xc7ea[_0x2e3084];return _0x233549;};'use strict';var _=require('lodash');function MailAccount(_0x106213){this['id']=_0x106213['id']||0x0;this[_0xac7e('0x0')]=_0x106213['name']||_0xac7e('0x1');this[_0xac7e('0x2')]=_0x106213[_0xac7e('0x2')]||_0xac7e('0x3');this['active']=_0x106213[_0xac7e('0x4')]||![];this[_0xac7e('0x5')]=_0x106213['Imap']||[];this['Smtp']=_0x106213['Smtp']||[];}module[_0xac7e('0x6')]=MailAccount;