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 _0xe008=['BOOLEAN','DATE','out','INTEGER','sequelize','iconv','exports','STRING','TEXT','long'];(function(_0x505919,_0x447921){var _0x23087d=function(_0x4d469a){while(--_0x4d469a){_0x505919['push'](_0x505919['shift']());}};_0x23087d(++_0x447921);}(_0xe008,0x11c));var _0x8e00=function(_0x54fc35,_0x45abe3){_0x54fc35=_0x54fc35-0x0;var _0xc41229=_0xe008[_0x54fc35];return _0xc41229;};'use strict';var Sequelize=require(_0x8e00('0x0'));var iconv=require(_0x8e00('0x1'));module[_0x8e00('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x8e00('0x3')]},'secondDisposition':{'type':Sequelize[_0x8e00('0x3')]},'thirdDisposition':{'type':Sequelize[_0x8e00('0x3')]},'note':{'type':Sequelize[_0x8e00('0x3')]},'inReplyTo':{'type':Sequelize[_0x8e00('0x3')](0x1fe)},'to':{'type':Sequelize[_0x8e00('0x3')]},'cc':{'type':Sequelize[_0x8e00('0x4')](_0x8e00('0x5'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0x8e00('0x6')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x8e00('0x7')]},'substatus':{'type':Sequelize[_0x8e00('0x3')](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x8e00('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x8e00('0x7')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x8e00('0x8')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueId':{'type':Sequelize[_0x8e00('0x9')]}};