Built motion from commit da617fac.|2.6.6
[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 _0xa066=['SERV','active','Imap','Smtp','exports','lodash','name','Service','key'];(function(_0x1b6186,_0x1ec7f2){var _0x186121=function(_0x1748a8){while(--_0x1748a8){_0x1b6186['push'](_0x1b6186['shift']());}};_0x186121(++_0x1ec7f2);}(_0xa066,0x1ac));var _0x6a06=function(_0x18ab9b,_0x5de071){_0x18ab9b=_0x18ab9b-0x0;var _0x15087=_0xa066[_0x18ab9b];return _0x15087;};'use strict';var _=require(_0x6a06('0x0'));function MailAccount(_0x42c8b8){this['id']=_0x42c8b8['id']||0x0;this[_0x6a06('0x1')]=_0x42c8b8['name']||_0x6a06('0x2');this[_0x6a06('0x3')]=_0x42c8b8[_0x6a06('0x3')]||_0x6a06('0x4');this[_0x6a06('0x5')]=_0x42c8b8['active']||![];this[_0x6a06('0x6')]=_0x42c8b8[_0x6a06('0x6')]||[];this[_0x6a06('0x7')]=_0x42c8b8['Smtp']||[];}module[_0x6a06('0x8')]=MailAccount;