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