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 _0xd950=['out','STRING','INTEGER','DATE','Chat','Email','sequelize','lodash','TEXT','long','medium','BOOLEAN','ENUM'];(function(_0x1c9ce8,_0x5f4a9f){var _0x265023=function(_0x52b54d){while(--_0x52b54d){_0x1c9ce8['push'](_0x1c9ce8['shift']());}};_0x265023(++_0x5f4a9f);}(_0xd950,0x17f));var _0x0d95=function(_0xab59cf,_0xdf6abc){_0xab59cf=_0xab59cf-0x0;var _0x68ddbf=_0xd950[_0xab59cf];return _0x68ddbf;};'use strict';var Sequelize=require(_0x0d95('0x0'));var _=require(_0x0d95('0x1'));module['exports']={'body':{'type':Sequelize[_0x0d95('0x2')](_0x0d95('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x0d95('0x2')](_0x0d95('0x4'))},'read':{'type':Sequelize[_0x0d95('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0x0d95('0x6')]('in',_0x0d95('0x7')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0x0d95('0x8')](0x1fe)},'from':{'type':Sequelize[_0x0d95('0x8')]},'to':{'type':Sequelize[_0x0d95('0x2')](_0x0d95('0x3'))},'cc':{'type':Sequelize['TEXT'](_0x0d95('0x3'))},'bcc':{'type':Sequelize[_0x0d95('0x2')]('long')},'subject':{'type':Sequelize[_0x0d95('0x2')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0x0d95('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x0d95('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x0d95('0xa')]},'originTo':{'type':Sequelize[_0x0d95('0x2')]('long')},'originCc':{'type':Sequelize[_0x0d95('0x2')](_0x0d95('0x3'))},'originChannel':{'type':Sequelize[_0x0d95('0x6')]('Email',_0x0d95('0xb')),'defaultValue':_0x0d95('0xc'),'allowNull':![]}};