65383056a632e46dc031de969148055034040a52
[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 _0xc8dc=['Imap','Smtp','exports','name','Service','key','SERV','active'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0xc8dc,0x9b));var _0xcc8d=function(_0x45ce08,_0x59dcc7){_0x45ce08=_0x45ce08-0x0;var _0x23dff2=_0xc8dc[_0x45ce08];return _0x23dff2;};'use strict';var _=require('lodash');function MailAccount(_0x4d3f4d){this['id']=_0x4d3f4d['id']||0x0;this['name']=_0x4d3f4d[_0xcc8d('0x0')]||_0xcc8d('0x1');this[_0xcc8d('0x2')]=_0x4d3f4d['key']||_0xcc8d('0x3');this[_0xcc8d('0x4')]=_0x4d3f4d[_0xcc8d('0x4')]||![];this['Imap']=_0x4d3f4d[_0xcc8d('0x5')]||[];this[_0xcc8d('0x6')]=_0x4d3f4d[_0xcc8d('0x6')]||[];}module[_0xcc8d('0x7')]=MailAccount;