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 _0xf567=['ENUM','out','STRING','DATE','INTEGER','sequelize','lodash','exports','long','TEXT','BOOLEAN'];(function(_0x2f6e96,_0x59619f){var _0x5d73dd=function(_0x25b214){while(--_0x25b214){_0x2f6e96['push'](_0x2f6e96['shift']());}};_0x5d73dd(++_0x59619f);}(_0xf567,0x118));var _0x7f56=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0xf567[_0x4565bf];return _0x5610ba;};'use strict';var Sequelize=require(_0x7f56('0x0'));var _=require(_0x7f56('0x1'));module[_0x7f56('0x2')]={'body':{'type':Sequelize['TEXT'](_0x7f56('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x7f56('0x4')]('medium')},'read':{'type':Sequelize[_0x7f56('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0x7f56('0x6')]('in',_0x7f56('0x7')),'defaultValue':_0x7f56('0x7'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0x7f56('0x8')]},'to':{'type':Sequelize[_0x7f56('0x4')](_0x7f56('0x3'))},'cc':{'type':Sequelize['TEXT'](_0x7f56('0x3'))},'bcc':{'type':Sequelize[_0x7f56('0x4')](_0x7f56('0x3'))},'subject':{'type':Sequelize[_0x7f56('0x4')]},'sentAt':{'type':Sequelize[_0x7f56('0x9')]},'attach':{'type':Sequelize[_0x7f56('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x7f56('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x7f56('0x9')]},'originTo':{'type':Sequelize[_0x7f56('0x4')](_0x7f56('0x3'))},'originCc':{'type':Sequelize[_0x7f56('0x4')](_0x7f56('0x3'))}};