4887d42680b7ee47d471322e6f66d53888ea5f74
[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 _0x5b8e=['Imap','Smtp','lodash','name','Service','key','SERV','active'];(function(_0x3480a9,_0x30239f){var _0x152676=function(_0x54d034){while(--_0x54d034){_0x3480a9['push'](_0x3480a9['shift']());}};_0x152676(++_0x30239f);}(_0x5b8e,0x162));var _0xe5b8=function(_0x1fb9d2,_0x57a208){_0x1fb9d2=_0x1fb9d2-0x0;var _0x4a8916=_0x5b8e[_0x1fb9d2];return _0x4a8916;};'use strict';var _=require(_0xe5b8('0x0'));function MailAccount(_0x22ff7c){this['id']=_0x22ff7c['id']||0x0;this[_0xe5b8('0x1')]=_0x22ff7c[_0xe5b8('0x1')]||_0xe5b8('0x2');this[_0xe5b8('0x3')]=_0x22ff7c[_0xe5b8('0x3')]||_0xe5b8('0x4');this[_0xe5b8('0x5')]=_0x22ff7c['active']||![];this[_0xe5b8('0x6')]=_0x22ff7c[_0xe5b8('0x6')]||[];this[_0xe5b8('0x7')]=_0x22ff7c[_0xe5b8('0x7')]||[];}module['exports']=MailAccount;