Built motion from commit (unavailable).|2.4.4
[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 _0xe4f1=['Smtp','exports','name','Service','key','SERV','active','Imap'];(function(_0x189e5f,_0x361cd0){var _0x3752e5=function(_0xa681f1){while(--_0xa681f1){_0x189e5f['push'](_0x189e5f['shift']());}};_0x3752e5(++_0x361cd0);}(_0xe4f1,0xe2));var _0x1e4f=function(_0x326f60,_0x5707e5){_0x326f60=_0x326f60-0x0;var _0x583109=_0xe4f1[_0x326f60];return _0x583109;};'use strict';var _=require('lodash');function MailAccount(_0x56c1b0){this['id']=_0x56c1b0['id']||0x0;this[_0x1e4f('0x0')]=_0x56c1b0['name']||_0x1e4f('0x1');this['key']=_0x56c1b0[_0x1e4f('0x2')]||_0x1e4f('0x3');this['active']=_0x56c1b0[_0x1e4f('0x4')]||![];this[_0x1e4f('0x5')]=_0x56c1b0[_0x1e4f('0x5')]||[];this[_0x1e4f('0x6')]=_0x56c1b0[_0x1e4f('0x6')]||[];}module[_0x1e4f('0x7')]=MailAccount;