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 _0x7b99=['sequelize','iconv','STRING','TEXT','long','DATE','ENUM'];(function(_0x469a14,_0x1698be){var _0x236357=function(_0x272388){while(--_0x272388){_0x469a14['push'](_0x469a14['shift']());}};_0x236357(++_0x1698be);}(_0x7b99,0x1f1));var _0x97b9=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x7b99[_0x17d9e3];return _0x14192d;};'use strict';var Sequelize=require(_0x97b9('0x0'));var iconv=require(_0x97b9('0x1'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x97b9('0x2')]},'note':{'type':Sequelize[_0x97b9('0x2')]},'inReplyTo':{'type':Sequelize[_0x97b9('0x2')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x97b9('0x3')](_0x97b9('0x4'))},'subject':{'type':Sequelize[_0x97b9('0x3')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x97b9('0x5')]},'substatus':{'type':Sequelize[_0x97b9('0x2')](0x3c)},'substatusAt':{'type':Sequelize[_0x97b9('0x5')]},'firstMsgDirection':{'type':Sequelize[_0x97b9('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x97b9('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x97b9('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x97b9('0x3')](_0x97b9('0x4'))},'lastMsgText':{'type':Sequelize[_0x97b9('0x3')](_0x97b9('0x4'))}};