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