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