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 _0xdd70=['BOOLEAN','DATE','STRING','long','TEXT','ENUM','out','sequelize','iconv','exports'];(function(_0x50519e,_0x37a9f7){var _0x1dccbe=function(_0x349f28){while(--_0x349f28){_0x50519e['push'](_0x50519e['shift']());}};_0x1dccbe(++_0x37a9f7);}(_0xdd70,0x13d));var _0x0dd7=function(_0x502826,_0x1482d2){_0x502826=_0x502826-0x0;var _0x4357d9=_0xdd70[_0x502826];return _0x4357d9;};'use strict';var Sequelize=require(_0x0dd7('0x0'));var iconv=require(_0x0dd7('0x1'));module[_0x0dd7('0x2')]={'closed':{'type':Sequelize[_0x0dd7('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x0dd7('0x4')]},'disposition':{'type':Sequelize[_0x0dd7('0x5')]},'note':{'type':Sequelize[_0x0dd7('0x5')]},'inReplyTo':{'type':Sequelize[_0x0dd7('0x5')](0x1fe)},'to':{'type':Sequelize[_0x0dd7('0x5')]},'cc':{'type':Sequelize['TEXT'](_0x0dd7('0x6'))},'subject':{'type':Sequelize[_0x0dd7('0x7')]()},'attach':{'type':Sequelize[_0x0dd7('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x0dd7('0x4')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x0dd7('0x8')]('in',_0x0dd7('0x9')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x0dd7('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x0dd7('0x8')]('in',_0x0dd7('0x9')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize['TEXT'](_0x0dd7('0x6'))},'lastMsgText':{'type':Sequelize[_0x0dd7('0x7')](_0x0dd7('0x6'))}};