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 _0x5a13=['medium','ENUM','out','DATE','INTEGER','BOOLEAN','lodash','exports','TEXT','long'];(function(_0x13cf44,_0x280e95){var _0xe11d55=function(_0x2136f8){while(--_0x2136f8){_0x13cf44['push'](_0x13cf44['shift']());}};_0xe11d55(++_0x280e95);}(_0x5a13,0x92));var _0x35a1=function(_0x5e416d,_0x20e7c7){_0x5e416d=_0x5e416d-0x0;var _0xefa899=_0x5a13[_0x5e416d];return _0xefa899;};'use strict';var Sequelize=require('sequelize');var _=require(_0x35a1('0x0'));module[_0x35a1('0x1')]={'body':{'type':Sequelize[_0x35a1('0x2')](_0x35a1('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x35a1('0x2')](_0x35a1('0x4'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x35a1('0x5')]('in','out'),'defaultValue':_0x35a1('0x6'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize['TEXT'](_0x35a1('0x3'))},'cc':{'type':Sequelize[_0x35a1('0x2')](_0x35a1('0x3'))},'bcc':{'type':Sequelize[_0x35a1('0x2')](_0x35a1('0x3'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0x35a1('0x7')]},'attach':{'type':Sequelize[_0x35a1('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x35a1('0x9')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x35a1('0x7')]},'originTo':{'type':Sequelize[_0x35a1('0x2')](_0x35a1('0x3'))},'originCc':{'type':Sequelize[_0x35a1('0x2')](_0x35a1('0x3'))}};