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 _0x2157=['sequelize','iconv','exports','DATE','STRING','TEXT','long','BOOLEAN','ENUM','out'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x2157,0x104));var _0x7215=function(_0x5cd8eb,_0x14a42d){_0x5cd8eb=_0x5cd8eb-0x0;var _0x5d57ba=_0x2157[_0x5cd8eb];return _0x5d57ba;};'use strict';var Sequelize=require(_0x7215('0x0'));var iconv=require(_0x7215('0x1'));module[_0x7215('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x7215('0x3')]},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x7215('0x4')]},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0x7215('0x4')]},'cc':{'type':Sequelize[_0x7215('0x5')](_0x7215('0x6'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0x7215('0x7')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x7215('0x3')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x7215('0x8')]('in',_0x7215('0x9')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x7215('0x3')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x7215('0x9')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize['TEXT']('long')},'lastMsgText':{'type':Sequelize['TEXT'](_0x7215('0x6'))}};