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 _0x7574=['long','medium','ENUM','out','STRING','BOOLEAN','Email','lodash','exports','TEXT'];(function(_0x2637ac,_0x377857){var _0x4a5758=function(_0x5d5043){while(--_0x5d5043){_0x2637ac['push'](_0x2637ac['shift']());}};_0x4a5758(++_0x377857);}(_0x7574,0x93));var _0x4757=function(_0x31f37b,_0x5394b5){_0x31f37b=_0x31f37b-0x0;var _0x230039=_0x7574[_0x31f37b];return _0x230039;};'use strict';var Sequelize=require('sequelize');var _=require(_0x4757('0x0'));module[_0x4757('0x1')]={'body':{'type':Sequelize[_0x4757('0x2')](_0x4757('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT'](_0x4757('0x4'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x4757('0x5')]('in',_0x4757('0x6')),'defaultValue':_0x4757('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0x4757('0x7')](0x1fe)},'from':{'type':Sequelize[_0x4757('0x7')]},'to':{'type':Sequelize[_0x4757('0x2')](_0x4757('0x3'))},'cc':{'type':Sequelize[_0x4757('0x2')](_0x4757('0x3'))},'bcc':{'type':Sequelize[_0x4757('0x2')]('long')},'subject':{'type':Sequelize[_0x4757('0x2')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize[_0x4757('0x8')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0x4757('0x2')](_0x4757('0x3'))},'originCc':{'type':Sequelize['TEXT']('long')},'originChannel':{'type':Sequelize[_0x4757('0x5')]('Email','Chat'),'defaultValue':_0x4757('0x9'),'allowNull':![]}};