Built motion from commit d5e4af8c.|2.6.23
[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 _0xf6c0=['name','Service','key','active','Imap','Smtp','exports','lodash'];(function(_0x311f44,_0x1d7f5b){var _0x46f1e6=function(_0x27342a){while(--_0x27342a){_0x311f44['push'](_0x311f44['shift']());}};_0x46f1e6(++_0x1d7f5b);}(_0xf6c0,0x1bf));var _0x0f6c=function(_0xfa260b,_0xd2d0d){_0xfa260b=_0xfa260b-0x0;var _0x48fb84=_0xf6c0[_0xfa260b];return _0x48fb84;};'use strict';var _=require(_0x0f6c('0x0'));function MailAccount(_0x46881e){this['id']=_0x46881e['id']||0x0;this[_0x0f6c('0x1')]=_0x46881e['name']||_0x0f6c('0x2');this[_0x0f6c('0x3')]=_0x46881e[_0x0f6c('0x3')]||'SERV';this['active']=_0x46881e[_0x0f6c('0x4')]||![];this['Imap']=_0x46881e[_0x0f6c('0x5')]||[];this[_0x0f6c('0x6')]=_0x46881e['Smtp']||[];}module[_0x0f6c('0x7')]=MailAccount;