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 _0xa321=['TEXT','medium','ENUM','out','long','INTEGER','BOOLEAN','sequelize','lodash','exports'];(function(_0x2d2c16,_0x4e88b6){var _0x53f2fb=function(_0x6b6dac){while(--_0x6b6dac){_0x2d2c16['push'](_0x2d2c16['shift']());}};_0x53f2fb(++_0x4e88b6);}(_0xa321,0x9d));var _0x1a32=function(_0x164eca,_0x555e28){_0x164eca=_0x164eca-0x0;var _0x2ce562=_0xa321[_0x164eca];return _0x2ce562;};'use strict';var Sequelize=require(_0x1a32('0x0'));var _=require(_0x1a32('0x1'));module[_0x1a32('0x2')]={'body':{'type':Sequelize[_0x1a32('0x3')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0x1a32('0x3')](_0x1a32('0x4'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x1a32('0x5')]('in',_0x1a32('0x6')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x1a32('0x3')]('long')},'cc':{'type':Sequelize[_0x1a32('0x3')](_0x1a32('0x7'))},'bcc':{'type':Sequelize[_0x1a32('0x3')](_0x1a32('0x7'))},'subject':{'type':Sequelize[_0x1a32('0x3')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0x1a32('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x1a32('0x9')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0x1a32('0x3')](_0x1a32('0x7'))},'originCc':{'type':Sequelize[_0x1a32('0x3')](_0x1a32('0x7'))}};