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 _0xc01b=['DATE','STRING','TEXT','long','ENUM','out','sequelize','iconv','exports','BOOLEAN'];(function(_0x32b4ea,_0x2a5d47){var _0x473238=function(_0x2123bf){while(--_0x2123bf){_0x32b4ea['push'](_0x32b4ea['shift']());}};_0x473238(++_0x2a5d47);}(_0xc01b,0x74));var _0xbc01=function(_0xb38858,_0x4c15d0){_0xb38858=_0xb38858-0x0;var _0x1cd6a6=_0xc01b[_0xb38858];return _0x1cd6a6;};'use strict';var Sequelize=require(_0xbc01('0x0'));var iconv=require(_0xbc01('0x1'));module[_0xbc01('0x2')]={'closed':{'type':Sequelize[_0xbc01('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xbc01('0x4')]},'disposition':{'type':Sequelize[_0xbc01('0x5')]},'secondDisposition':{'type':Sequelize[_0xbc01('0x5')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xbc01('0x5')]},'inReplyTo':{'type':Sequelize[_0xbc01('0x5')](0x1fe)},'to':{'type':Sequelize[_0xbc01('0x5')]},'cc':{'type':Sequelize[_0xbc01('0x6')](_0xbc01('0x7'))},'subject':{'type':Sequelize[_0xbc01('0x6')]()},'attach':{'type':Sequelize[_0xbc01('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xbc01('0x4')]},'substatus':{'type':Sequelize[_0xbc01('0x5')](0x3c)},'substatusAt':{'type':Sequelize[_0xbc01('0x4')]},'firstMsgDirection':{'type':Sequelize[_0xbc01('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0xbc01('0x8')]('in',_0xbc01('0x9')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xbc01('0x3')],'defaultValue':![]}};