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 _0xe78f=['BOOLEAN','STRING','long','TEXT','DATE','ENUM','out','sequelize','iconv','exports'];(function(_0x1cbcf1,_0x3f9fd9){var _0x3a06f0=function(_0x5425d4){while(--_0x5425d4){_0x1cbcf1['push'](_0x1cbcf1['shift']());}};_0x3a06f0(++_0x3f9fd9);}(_0xe78f,0x1d3));var _0xfe78=function(_0x11b775,_0x692f66){_0x11b775=_0x11b775-0x0;var _0x5e20ae=_0xe78f[_0x11b775];return _0x5e20ae;};'use strict';var Sequelize=require(_0xfe78('0x0'));var iconv=require(_0xfe78('0x1'));module[_0xfe78('0x2')]={'closed':{'type':Sequelize[_0xfe78('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xfe78('0x4')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xfe78('0x4')]},'inReplyTo':{'type':Sequelize[_0xfe78('0x4')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize['TEXT'](_0xfe78('0x5'))},'subject':{'type':Sequelize[_0xfe78('0x6')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xfe78('0x7')]},'substatus':{'type':Sequelize[_0xfe78('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0xfe78('0x7')]},'firstMsgDirection':{'type':Sequelize[_0xfe78('0x8')]('in',_0xfe78('0x9')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xfe78('0x7')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xfe78('0x9')),'defaultValue':'in','allowNull':![]}};