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 _0x3d10=['TEXT','DATE','out','ENUM','long','sequelize','exports','STRING'];(function(_0x37d1f3,_0x4120b4){var _0x2e2ddf=function(_0x58d7a4){while(--_0x58d7a4){_0x37d1f3['push'](_0x37d1f3['shift']());}};_0x2e2ddf(++_0x4120b4);}(_0x3d10,0x145));var _0x03d1=function(_0x11c573,_0x9e7c6e){_0x11c573=_0x11c573-0x0;var _0x6b72de=_0x3d10[_0x11c573];return _0x6b72de;};'use strict';var Sequelize=require(_0x03d1('0x0'));var iconv=require('iconv');module[_0x03d1('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x03d1('0x2')]},'secondDisposition':{'type':Sequelize[_0x03d1('0x2')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x03d1('0x2')]},'inReplyTo':{'type':Sequelize[_0x03d1('0x2')](0x1fe)},'to':{'type':Sequelize[_0x03d1('0x2')]},'cc':{'type':Sequelize[_0x03d1('0x3')]('long')},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x03d1('0x4')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize[_0x03d1('0x4')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x03d1('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x03d1('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x03d1('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x03d1('0x3')]('long')},'lastMsgText':{'type':Sequelize[_0x03d1('0x3')](_0x03d1('0x7'))}};