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 _0x0adf=['ENUM','out','STRING','DATE','sequelize','lodash','exports','long','TEXT','medium','BOOLEAN'];(function(_0x2e592f,_0x3cc4e7){var _0x4de189=function(_0x12e44f){while(--_0x12e44f){_0x2e592f['push'](_0x2e592f['shift']());}};_0x4de189(++_0x3cc4e7);}(_0x0adf,0x1d2));var _0xf0ad=function(_0x2a9afd,_0x4c0d40){_0x2a9afd=_0x2a9afd-0x0;var _0x59d3fa=_0x0adf[_0x2a9afd];return _0x59d3fa;};'use strict';var Sequelize=require(_0xf0ad('0x0'));var _=require(_0xf0ad('0x1'));module[_0xf0ad('0x2')]={'body':{'type':Sequelize['TEXT'](_0xf0ad('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xf0ad('0x4')](_0xf0ad('0x5'))},'read':{'type':Sequelize[_0xf0ad('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0xf0ad('0x7')]('in',_0xf0ad('0x8')),'defaultValue':_0xf0ad('0x8'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0xf0ad('0x9')]},'to':{'type':Sequelize['TEXT'](_0xf0ad('0x3'))},'cc':{'type':Sequelize[_0xf0ad('0x4')](_0xf0ad('0x3'))},'bcc':{'type':Sequelize[_0xf0ad('0x4')](_0xf0ad('0x3'))},'subject':{'type':Sequelize[_0xf0ad('0x4')]},'sentAt':{'type':Sequelize[_0xf0ad('0xa')]},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize[_0xf0ad('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0xf0ad('0x4')](_0xf0ad('0x3'))},'originCc':{'type':Sequelize[_0xf0ad('0x4')](_0xf0ad('0x3'))}};