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 _0x62cf=['exports','long','TEXT','ENUM','out','STRING','DATE','INTEGER','BOOLEAN','sequelize'];(function(_0x2e2464,_0x5e6a10){var _0xd5d06f=function(_0x54e01d){while(--_0x54e01d){_0x2e2464['push'](_0x2e2464['shift']());}};_0xd5d06f(++_0x5e6a10);}(_0x62cf,0x81));var _0xf62c=function(_0x327603,_0x5b2136){_0x327603=_0x327603-0x0;var _0x4aeff8=_0x62cf[_0x327603];return _0x4aeff8;};'use strict';var Sequelize=require(_0xf62c('0x0'));var _=require('lodash');module[_0xf62c('0x1')]={'body':{'type':Sequelize['TEXT'](_0xf62c('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xf62c('0x3')]('medium')},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0xf62c('0x4')]('in',_0xf62c('0x5')),'defaultValue':_0xf62c('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0xf62c('0x6')](0x1fe)},'from':{'type':Sequelize[_0xf62c('0x6')]},'to':{'type':Sequelize[_0xf62c('0x3')](_0xf62c('0x2'))},'cc':{'type':Sequelize[_0xf62c('0x3')](_0xf62c('0x2'))},'bcc':{'type':Sequelize['TEXT'](_0xf62c('0x2'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0xf62c('0x7')]},'attach':{'type':Sequelize[_0xf62c('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xf62c('0x9')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xf62c('0x7')]},'originTo':{'type':Sequelize[_0xf62c('0x3')](_0xf62c('0x2'))},'originCc':{'type':Sequelize[_0xf62c('0x3')](_0xf62c('0x2'))}};