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 _0x2ace=['out','STRING','long','DATE','lodash','exports','TEXT','medium','ENUM'];(function(_0x4bb8a6,_0x48f010){var _0x429c95=function(_0x4f55b3){while(--_0x4f55b3){_0x4bb8a6['push'](_0x4bb8a6['shift']());}};_0x429c95(++_0x48f010);}(_0x2ace,0x17e));var _0xe2ac=function(_0x1928c9,_0x13a6d1){_0x1928c9=_0x1928c9-0x0;var _0x51b5fb=_0x2ace[_0x1928c9];return _0x51b5fb;};'use strict';var Sequelize=require('sequelize');var _=require(_0xe2ac('0x0'));module[_0xe2ac('0x1')]={'body':{'type':Sequelize[_0xe2ac('0x2')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xe2ac('0x2')](_0xe2ac('0x3'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0xe2ac('0x4')]('in',_0xe2ac('0x5')),'defaultValue':_0xe2ac('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0xe2ac('0x6')](0x1fe)},'from':{'type':Sequelize[_0xe2ac('0x6')]},'to':{'type':Sequelize[_0xe2ac('0x2')](_0xe2ac('0x7'))},'cc':{'type':Sequelize[_0xe2ac('0x2')](_0xe2ac('0x7'))},'bcc':{'type':Sequelize[_0xe2ac('0x2')](_0xe2ac('0x7'))},'subject':{'type':Sequelize[_0xe2ac('0x2')]},'sentAt':{'type':Sequelize[_0xe2ac('0x8')]},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0xe2ac('0x8')]},'originTo':{'type':Sequelize['TEXT'](_0xe2ac('0x7'))},'originCc':{'type':Sequelize[_0xe2ac('0x2')]('long')}};