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 _0x677a=['out','STRING','INTEGER','DATE','sequelize','exports','TEXT','long','medium','ENUM'];(function(_0x2b9b29,_0x3e5bcf){var _0x249937=function(_0x5742bf){while(--_0x5742bf){_0x2b9b29['push'](_0x2b9b29['shift']());}};_0x249937(++_0x3e5bcf);}(_0x677a,0xd6));var _0xa677=function(_0x540ea6,_0x4501c0){_0x540ea6=_0x540ea6-0x0;var _0x1e5743=_0x677a[_0x540ea6];return _0x1e5743;};'use strict';var Sequelize=require(_0xa677('0x0'));var _=require('lodash');module[_0xa677('0x1')]={'body':{'type':Sequelize[_0xa677('0x2')](_0xa677('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xa677('0x2')](_0xa677('0x4'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0xa677('0x5')]('in',_0xa677('0x6')),'defaultValue':_0xa677('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0xa677('0x7')](0x1fe)},'from':{'type':Sequelize[_0xa677('0x7')]},'to':{'type':Sequelize['TEXT'](_0xa677('0x3'))},'cc':{'type':Sequelize[_0xa677('0x2')](_0xa677('0x3'))},'bcc':{'type':Sequelize[_0xa677('0x2')]('long')},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0xa677('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0xa677('0x9')]},'originTo':{'type':Sequelize[_0xa677('0x2')]('long')},'originCc':{'type':Sequelize[_0xa677('0x2')](_0xa677('0x3'))}};