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 _0x3266=['exports','TEXT','long','medium','BOOLEAN','ENUM','out','STRING','DATE','INTEGER','sequelize','lodash'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x3266,0x6a));var _0x6326=function(_0x3c8e9a,_0x384306){_0x3c8e9a=_0x3c8e9a-0x0;var _0x2d4c57=_0x3266[_0x3c8e9a];return _0x2d4c57;};'use strict';var Sequelize=require(_0x6326('0x0'));var _=require(_0x6326('0x1'));module[_0x6326('0x2')]={'body':{'type':Sequelize[_0x6326('0x3')](_0x6326('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x6326('0x3')](_0x6326('0x5'))},'read':{'type':Sequelize[_0x6326('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0x6326('0x7')]('in','out'),'defaultValue':_0x6326('0x8'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0x6326('0x9')]},'to':{'type':Sequelize[_0x6326('0x3')](_0x6326('0x4'))},'cc':{'type':Sequelize['TEXT'](_0x6326('0x4'))},'bcc':{'type':Sequelize['TEXT'](_0x6326('0x4'))},'subject':{'type':Sequelize[_0x6326('0x3')]},'sentAt':{'type':Sequelize[_0x6326('0xa')]},'attach':{'type':Sequelize[_0x6326('0xb')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x6326('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0x6326('0x3')](_0x6326('0x4'))},'originCc':{'type':Sequelize[_0x6326('0x3')](_0x6326('0x4'))}};