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 _0xe8c9=['ENUM','out','sequelize','iconv','exports','DATE','STRING','long','TEXT','BOOLEAN'];(function(_0x4f71b6,_0x39720f){var _0x3d53ec=function(_0x84e062){while(--_0x84e062){_0x4f71b6['push'](_0x4f71b6['shift']());}};_0x3d53ec(++_0x39720f);}(_0xe8c9,0xc0));var _0x9e8c=function(_0x3a99cb,_0x4381c4){_0x3a99cb=_0x3a99cb-0x0;var _0x2cace1=_0xe8c9[_0x3a99cb];return _0x2cace1;};'use strict';var Sequelize=require(_0x9e8c('0x0'));var iconv=require(_0x9e8c('0x1'));module[_0x9e8c('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x9e8c('0x3')]},'disposition':{'type':Sequelize[_0x9e8c('0x4')]},'note':{'type':Sequelize[_0x9e8c('0x4')]},'inReplyTo':{'type':Sequelize[_0x9e8c('0x4')](0x1fe)},'to':{'type':Sequelize[_0x9e8c('0x4')]},'cc':{'type':Sequelize['TEXT'](_0x9e8c('0x5'))},'subject':{'type':Sequelize[_0x9e8c('0x6')]()},'attach':{'type':Sequelize[_0x9e8c('0x7')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize[_0x9e8c('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x9e8c('0x8')]('in',_0x9e8c('0x9')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x9e8c('0x9')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x9e8c('0x6')](_0x9e8c('0x5'))},'lastMsgText':{'type':Sequelize[_0x9e8c('0x6')]('long')}};