7f18724b35373d48afe619fe8c3678e8fdf8c7a4
[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 _0x017e=['exports','Service','key','active','Imap'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x017e,0xc9));var _0xe017=function(_0x11c361,_0x4f5b42){_0x11c361=_0x11c361-0x0;var _0x1f5355=_0x017e[_0x11c361];return _0x1f5355;};'use strict';var _=require('lodash');function MailAccount(_0x59b1d5){this['id']=_0x59b1d5['id']||0x0;this['name']=_0x59b1d5['name']||_0xe017('0x0');this[_0xe017('0x1')]=_0x59b1d5['key']||'SERV';this['active']=_0x59b1d5[_0xe017('0x2')]||![];this[_0xe017('0x3')]=_0x59b1d5[_0xe017('0x3')]||[];this['Smtp']=_0x59b1d5['Smtp']||[];}module[_0xe017('0x4')]=MailAccount;