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 _0xf19c=['STRING','DATE','INTEGER','sequelize','lodash','exports','long','TEXT','BOOLEAN','ENUM','out'];(function(_0x4f096e,_0x30d3c3){var _0x4a33ce=function(_0x107ba6){while(--_0x107ba6){_0x4f096e['push'](_0x4f096e['shift']());}};_0x4a33ce(++_0x30d3c3);}(_0xf19c,0x10b));var _0xcf19=function(_0x5112fc,_0x16f44a){_0x5112fc=_0x5112fc-0x0;var _0x2dd464=_0xf19c[_0x5112fc];return _0x2dd464;};'use strict';var Sequelize=require(_0xcf19('0x0'));var _=require(_0xcf19('0x1'));module[_0xcf19('0x2')]={'body':{'type':Sequelize['TEXT'](_0xcf19('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xcf19('0x4')]('medium')},'read':{'type':Sequelize[_0xcf19('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0xcf19('0x6')]('in',_0xcf19('0x7')),'defaultValue':_0xcf19('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0xcf19('0x8')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0xcf19('0x4')](_0xcf19('0x3'))},'cc':{'type':Sequelize[_0xcf19('0x4')](_0xcf19('0x3'))},'bcc':{'type':Sequelize[_0xcf19('0x4')](_0xcf19('0x3'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0xcf19('0x9')]},'attach':{'type':Sequelize[_0xcf19('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xcf19('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xcf19('0x9')]},'originTo':{'type':Sequelize[_0xcf19('0x4')](_0xcf19('0x3'))},'originCc':{'type':Sequelize[_0xcf19('0x4')](_0xcf19('0x3'))}};