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 _0x35c1=['Email','Chat','sequelize','lodash','TEXT','medium','BOOLEAN','ENUM','out','STRING','long','DATE','INTEGER'];(function(_0x2a6e5c,_0x28c1e1){var _0x2e1027=function(_0x2d818c){while(--_0x2d818c){_0x2a6e5c['push'](_0x2a6e5c['shift']());}};_0x2e1027(++_0x28c1e1);}(_0x35c1,0x113));var _0x135c=function(_0x2a7bf1,_0x2c1220){_0x2a7bf1=_0x2a7bf1-0x0;var _0x4d5458=_0x35c1[_0x2a7bf1];return _0x4d5458;};'use strict';var Sequelize=require(_0x135c('0x0'));var _=require(_0x135c('0x1'));module['exports']={'body':{'type':Sequelize[_0x135c('0x2')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT'](_0x135c('0x3'))},'read':{'type':Sequelize[_0x135c('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x135c('0x5')]('in',_0x135c('0x6')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0x135c('0x7')](0x1fe)},'from':{'type':Sequelize[_0x135c('0x7')]},'to':{'type':Sequelize[_0x135c('0x2')](_0x135c('0x8'))},'cc':{'type':Sequelize[_0x135c('0x2')](_0x135c('0x8'))},'bcc':{'type':Sequelize[_0x135c('0x2')]('long')},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0x135c('0x9')]},'attach':{'type':Sequelize[_0x135c('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x135c('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize['TEXT'](_0x135c('0x8'))},'originCc':{'type':Sequelize[_0x135c('0x2')](_0x135c('0x8'))},'originChannel':{'type':Sequelize[_0x135c('0x5')](_0x135c('0xb'),_0x135c('0xc')),'defaultValue':_0x135c('0xb'),'allowNull':![]}};