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 _0x5817=['DATE','STRING','TEXT','long','ENUM','out','sequelize','iconv','exports','BOOLEAN'];(function(_0x55075d,_0x5c4d62){var _0x3c1c0a=function(_0x24218d){while(--_0x24218d){_0x55075d['push'](_0x55075d['shift']());}};_0x3c1c0a(++_0x5c4d62);}(_0x5817,0x9c));var _0x7581=function(_0x160c73,_0x2ee678){_0x160c73=_0x160c73-0x0;var _0xd9302=_0x5817[_0x160c73];return _0xd9302;};'use strict';var Sequelize=require(_0x7581('0x0'));var iconv=require(_0x7581('0x1'));module[_0x7581('0x2')]={'closed':{'type':Sequelize[_0x7581('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x7581('0x4')]},'disposition':{'type':Sequelize[_0x7581('0x5')]},'note':{'type':Sequelize[_0x7581('0x5')]},'inReplyTo':{'type':Sequelize[_0x7581('0x5')](0x1fe)},'to':{'type':Sequelize[_0x7581('0x5')]},'cc':{'type':Sequelize[_0x7581('0x6')](_0x7581('0x7'))},'subject':{'type':Sequelize[_0x7581('0x6')]()},'attach':{'type':Sequelize[_0x7581('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x7581('0x4')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize[_0x7581('0x4')]},'firstMsgDirection':{'type':Sequelize[_0x7581('0x8')]('in',_0x7581('0x9')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x7581('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x7581('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x7581('0x6')](_0x7581('0x7'))},'lastMsgText':{'type':Sequelize[_0x7581('0x6')]('long')}};