Built motion from commit 47436d59.|2.6.7
[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 _0xc756=['exports','name','Service','key','active','Imap','Smtp'];(function(_0x1a9a3d,_0x4c743a){var _0x52690b=function(_0x4f478f){while(--_0x4f478f){_0x1a9a3d['push'](_0x1a9a3d['shift']());}};_0x52690b(++_0x4c743a);}(_0xc756,0x1eb));var _0x6c75=function(_0x256685,_0x5ce7c9){_0x256685=_0x256685-0x0;var _0x904ca0=_0xc756[_0x256685];return _0x904ca0;};'use strict';var _=require('lodash');function MailAccount(_0x357dde){this['id']=_0x357dde['id']||0x0;this[_0x6c75('0x0')]=_0x357dde['name']||_0x6c75('0x1');this[_0x6c75('0x2')]=_0x357dde[_0x6c75('0x2')]||'SERV';this[_0x6c75('0x3')]=_0x357dde['active']||![];this[_0x6c75('0x4')]=_0x357dde[_0x6c75('0x4')]||[];this[_0x6c75('0x5')]=_0x357dde[_0x6c75('0x5')]||[];}module[_0x6c75('0x6')]=MailAccount;