1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x3f35=['exports','TEXT','long','medium','ENUM','out','STRING','INTEGER','BOOLEAN','DATE','sequelize','lodash'];(function(_0x5627e1,_0x1b2dbf){var _0x2f013f=function(_0x142015){while(--_0x142015){_0x5627e1['push'](_0x5627e1['shift']());}};_0x2f013f(++_0x1b2dbf);}(_0x3f35,0x1ae));var _0x53f3=function(_0x1fc122,_0x5e2c17){_0x1fc122=_0x1fc122-0x0;var _0xa2cb13=_0x3f35[_0x1fc122];return _0xa2cb13;};'use strict';var Sequelize=require(_0x53f3('0x0'));var _=require(_0x53f3('0x1'));module[_0x53f3('0x2')]={'body':{'type':Sequelize[_0x53f3('0x3')](_0x53f3('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x53f3('0x3')](_0x53f3('0x5'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x53f3('0x6')]('in','out'),'defaultValue':_0x53f3('0x7'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0x53f3('0x8')]},'to':{'type':Sequelize[_0x53f3('0x3')](_0x53f3('0x4'))},'cc':{'type':Sequelize[_0x53f3('0x3')]('long')},'bcc':{'type':Sequelize[_0x53f3('0x3')]('long')},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0x53f3('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x53f3('0xa')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x53f3('0xb')]},'originTo':{'type':Sequelize[_0x53f3('0x3')]('long')},'originCc':{'type':Sequelize['TEXT'](_0x53f3('0x4'))}};