46090f8f6a7f74b344014ad1fa0134eb7ec0b4b8
[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 _0xe29d=['Smtp','exports','name','Service','key','SERV','active','Imap'];(function(_0x416f54,_0x2f24cf){var _0x48016f=function(_0x48049f){while(--_0x48049f){_0x416f54['push'](_0x416f54['shift']());}};_0x48016f(++_0x2f24cf);}(_0xe29d,0x13a));var _0xde29=function(_0x4fdebf,_0x46c8ff){_0x4fdebf=_0x4fdebf-0x0;var _0x467374=_0xe29d[_0x4fdebf];return _0x467374;};'use strict';var _=require('lodash');function MailAccount(_0xcb473f){this['id']=_0xcb473f['id']||0x0;this['name']=_0xcb473f[_0xde29('0x0')]||_0xde29('0x1');this[_0xde29('0x2')]=_0xcb473f['key']||_0xde29('0x3');this[_0xde29('0x4')]=_0xcb473f[_0xde29('0x4')]||![];this[_0xde29('0x5')]=_0xcb473f[_0xde29('0x5')]||[];this[_0xde29('0x6')]=_0xcb473f[_0xde29('0x6')]||[];}module[_0xde29('0x7')]=MailAccount;