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 _0xa3cc=['out','long','sequelize','DATE','STRING','TEXT','BOOLEAN','ENUM'];(function(_0x224dda,_0x16d0f9){var _0x2987ac=function(_0x3b1033){while(--_0x3b1033){_0x224dda['push'](_0x224dda['shift']());}};_0x2987ac(++_0x16d0f9);}(_0xa3cc,0x192));var _0xca3c=function(_0x5ac902,_0x56b2bc){_0x5ac902=_0x5ac902-0x0;var _0x9dd97=_0xa3cc[_0x5ac902];return _0x9dd97;};'use strict';var Sequelize=require(_0xca3c('0x0'));var iconv=require('iconv');module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xca3c('0x1')]},'disposition':{'type':Sequelize[_0xca3c('0x2')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xca3c('0x2')]},'note':{'type':Sequelize[_0xca3c('0x2')]},'inReplyTo':{'type':Sequelize[_0xca3c('0x2')](0x1fe)},'to':{'type':Sequelize[_0xca3c('0x2')]},'cc':{'type':Sequelize[_0xca3c('0x3')]('long')},'subject':{'type':Sequelize[_0xca3c('0x3')]()},'attach':{'type':Sequelize[_0xca3c('0x4')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xca3c('0x1')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize[_0xca3c('0x1')]},'firstMsgDirection':{'type':Sequelize[_0xca3c('0x5')]('in',_0xca3c('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0xca3c('0x5')]('in',_0xca3c('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0xca3c('0x3')](_0xca3c('0x7'))},'lastMsgText':{'type':Sequelize[_0xca3c('0x3')]('long')}};