Built motion from commit ffdca78c.|2.6.24
[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 _0x9361=['active','Smtp','lodash','name','key','SERV'];(function(_0x30f8df,_0x4de6c6){var _0x2e0318=function(_0xed7023){while(--_0xed7023){_0x30f8df['push'](_0x30f8df['shift']());}};_0x2e0318(++_0x4de6c6);}(_0x9361,0x8c));var _0x1936=function(_0x2ca7da,_0x19d893){_0x2ca7da=_0x2ca7da-0x0;var _0x553832=_0x9361[_0x2ca7da];return _0x553832;};'use strict';var _=require(_0x1936('0x0'));function MailAccount(_0x3f7b1){this['id']=_0x3f7b1['id']||0x0;this[_0x1936('0x1')]=_0x3f7b1['name']||'Service';this[_0x1936('0x2')]=_0x3f7b1['key']||_0x1936('0x3');this[_0x1936('0x4')]=_0x3f7b1[_0x1936('0x4')]||![];this['Imap']=_0x3f7b1['Imap']||[];this['Smtp']=_0x3f7b1[_0x1936('0x5')]||[];}module['exports']=MailAccount;