b7c2609bfded2a198a9b506fd867655a62d6c982
[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 _0x4e4c=['Service','key','SERV','active','Imap','Smtp','name'];(function(_0x252229,_0x574468){var _0x44b9da=function(_0x3e7547){while(--_0x3e7547){_0x252229['push'](_0x252229['shift']());}};_0x44b9da(++_0x574468);}(_0x4e4c,0xae));var _0xc4e4=function(_0x198c2d,_0x178353){_0x198c2d=_0x198c2d-0x0;var _0x1014ee=_0x4e4c[_0x198c2d];return _0x1014ee;};'use strict';var _=require('lodash');function MailAccount(_0x5296fa){this['id']=_0x5296fa['id']||0x0;this[_0xc4e4('0x0')]=_0x5296fa['name']||_0xc4e4('0x1');this[_0xc4e4('0x2')]=_0x5296fa['key']||_0xc4e4('0x3');this[_0xc4e4('0x4')]=_0x5296fa['active']||![];this['Imap']=_0x5296fa[_0xc4e4('0x5')]||[];this[_0xc4e4('0x6')]=_0x5296fa[_0xc4e4('0x6')]||[];}module['exports']=MailAccount;