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 _0xa01e=['TEXT','medium','BOOLEAN','ENUM','out','STRING','long','DATE','Email','Chat','lodash'];(function(_0x5816c3,_0x716e32){var _0x4eb1bb=function(_0x47b97d){while(--_0x47b97d){_0x5816c3['push'](_0x5816c3['shift']());}};_0x4eb1bb(++_0x716e32);}(_0xa01e,0x175));var _0xea01=function(_0x220dbb,_0x99328d){_0x220dbb=_0x220dbb-0x0;var _0x2b77de=_0xa01e[_0x220dbb];return _0x2b77de;};'use strict';var Sequelize=require('sequelize');var _=require(_0xea01('0x0'));module['exports']={'body':{'type':Sequelize[_0xea01('0x1')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xea01('0x1')](_0xea01('0x2'))},'read':{'type':Sequelize[_0xea01('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0xea01('0x4')]('in',_0xea01('0x5')),'defaultValue':_0xea01('0x5'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0xea01('0x6')]},'to':{'type':Sequelize[_0xea01('0x1')](_0xea01('0x7'))},'cc':{'type':Sequelize[_0xea01('0x1')](_0xea01('0x7'))},'bcc':{'type':Sequelize[_0xea01('0x1')](_0xea01('0x7'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0xea01('0x8')]},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0xea01('0x8')]},'originTo':{'type':Sequelize[_0xea01('0x1')]('long')},'originCc':{'type':Sequelize[_0xea01('0x1')](_0xea01('0x7'))},'originChannel':{'type':Sequelize['ENUM'](_0xea01('0x9'),_0xea01('0xa')),'defaultValue':_0xea01('0x9'),'allowNull':![]}};