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 _0x57ca=['ENUM','out','STRING','INTEGER','lodash','exports','long','TEXT','medium','BOOLEAN'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x57ca,0x108));var _0xa57c=function(_0xf8a7f,_0x19433f){_0xf8a7f=_0xf8a7f-0x0;var _0x51ecff=_0x57ca[_0xf8a7f];return _0x51ecff;};'use strict';var Sequelize=require('sequelize');var _=require(_0xa57c('0x0'));module[_0xa57c('0x1')]={'body':{'type':Sequelize['TEXT'](_0xa57c('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xa57c('0x3')](_0xa57c('0x4'))},'read':{'type':Sequelize[_0xa57c('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0xa57c('0x6')]('in','out'),'defaultValue':_0xa57c('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0xa57c('0x8')](0x1fe)},'from':{'type':Sequelize[_0xa57c('0x8')]},'to':{'type':Sequelize[_0xa57c('0x3')](_0xa57c('0x2'))},'cc':{'type':Sequelize[_0xa57c('0x3')](_0xa57c('0x2'))},'bcc':{'type':Sequelize[_0xa57c('0x3')]('long')},'subject':{'type':Sequelize[_0xa57c('0x3')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0xa57c('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xa57c('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0xa57c('0x3')]('long')},'originCc':{'type':Sequelize[_0xa57c('0x3')](_0xa57c('0x2'))}};