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