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 _0x3266=['exports','TEXT','long','medium','BOOLEAN','ENUM','out','STRING','DATE','INTEGER','sequelize','lodash'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x3266,0x6a));var _0x6326=function(_0x119d5a,_0x19b457){_0x119d5a=_0x119d5a-0x0;var _0x15bff4=_0x3266[_0x119d5a];return _0x15bff4;};'use strict';var Sequelize=require(_0x6326('0x0'));var _=require(_0x6326('0x1'));module[_0x6326('0x2')]={'body':{'type':Sequelize[_0x6326('0x3')](_0x6326('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x6326('0x3')](_0x6326('0x5'))},'read':{'type':Sequelize[_0x6326('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0x6326('0x7')]('in','out'),'defaultValue':_0x6326('0x8'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0x6326('0x9')]},'to':{'type':Sequelize[_0x6326('0x3')](_0x6326('0x4'))},'cc':{'type':Sequelize['TEXT'](_0x6326('0x4'))},'bcc':{'type':Sequelize['TEXT'](_0x6326('0x4'))},'subject':{'type':Sequelize[_0x6326('0x3')]},'sentAt':{'type':Sequelize[_0x6326('0xa')]},'attach':{'type':Sequelize[_0x6326('0xb')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x6326('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0x6326('0x3')](_0x6326('0x4'))},'originCc':{'type':Sequelize[_0x6326('0x3')](_0x6326('0x4'))}};