Built motion from commit f541bb3b.|2.6.14
[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 _0x93a8=['Smtp','name','Service','key','SERV','active','Imap'];(function(_0x1dd83b,_0xb402d){var _0x2bc75f=function(_0x547b4d){while(--_0x547b4d){_0x1dd83b['push'](_0x1dd83b['shift']());}};_0x2bc75f(++_0xb402d);}(_0x93a8,0x6a));var _0x893a=function(_0x21181a,_0x2641d1){_0x21181a=_0x21181a-0x0;var _0x380d95=_0x93a8[_0x21181a];return _0x380d95;};'use strict';var _=require('lodash');function MailAccount(_0x29933b){this['id']=_0x29933b['id']||0x0;this[_0x893a('0x0')]=_0x29933b['name']||_0x893a('0x1');this[_0x893a('0x2')]=_0x29933b[_0x893a('0x2')]||_0x893a('0x3');this[_0x893a('0x4')]=_0x29933b[_0x893a('0x4')]||![];this['Imap']=_0x29933b[_0x893a('0x5')]||[];this[_0x893a('0x6')]=_0x29933b[_0x893a('0x6')]||[];}module['exports']=MailAccount;