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 _0x672a=['DATE','INTEGER','sequelize','lodash','exports','TEXT','long','medium','BOOLEAN','ENUM','out','STRING'];(function(_0x1b3366,_0x13c9a0){var _0x936815=function(_0x19d6c9){while(--_0x19d6c9){_0x1b3366['push'](_0x1b3366['shift']());}};_0x936815(++_0x13c9a0);}(_0x672a,0x122));var _0xa672=function(_0x20b406,_0x559ed5){_0x20b406=_0x20b406-0x0;var _0x28325d=_0x672a[_0x20b406];return _0x28325d;};'use strict';var Sequelize=require(_0xa672('0x0'));var _=require(_0xa672('0x1'));module[_0xa672('0x2')]={'body':{'type':Sequelize[_0xa672('0x3')](_0xa672('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xa672('0x3')](_0xa672('0x5'))},'read':{'type':Sequelize[_0xa672('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0xa672('0x7')]('in',_0xa672('0x8')),'defaultValue':_0xa672('0x8'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0xa672('0x9')]},'to':{'type':Sequelize[_0xa672('0x3')](_0xa672('0x4'))},'cc':{'type':Sequelize[_0xa672('0x3')](_0xa672('0x4'))},'bcc':{'type':Sequelize[_0xa672('0x3')](_0xa672('0x4'))},'subject':{'type':Sequelize[_0xa672('0x3')]},'sentAt':{'type':Sequelize[_0xa672('0xa')]},'attach':{'type':Sequelize[_0xa672('0xb')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xa672('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xa672('0xa')]},'originTo':{'type':Sequelize[_0xa672('0x3')](_0xa672('0x4'))},'originCc':{'type':Sequelize['TEXT'](_0xa672('0x4'))}};