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 _0x339a=['TEXT','sequelize','exports','DATE','STRING','long','BOOLEAN','ENUM','out'];(function(_0x32ff74,_0x569110){var _0x1b32e4=function(_0x4f1a49){while(--_0x4f1a49){_0x32ff74['push'](_0x32ff74['shift']());}};_0x1b32e4(++_0x569110);}(_0x339a,0xd0));var _0xa339=function(_0x1dfb17,_0x4aafb0){_0x1dfb17=_0x1dfb17-0x0;var _0x63824b=_0x339a[_0x1dfb17];return _0x63824b;};'use strict';var Sequelize=require(_0xa339('0x0'));var iconv=require('iconv');module[_0xa339('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xa339('0x2')]},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xa339('0x3')]},'inReplyTo':{'type':Sequelize[_0xa339('0x3')](0x1fe)},'to':{'type':Sequelize[_0xa339('0x3')]},'cc':{'type':Sequelize['TEXT'](_0xa339('0x4'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0xa339('0x5')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xa339('0x2')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize[_0xa339('0x2')]},'firstMsgDirection':{'type':Sequelize[_0xa339('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xa339('0x2')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xa339('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0xa339('0x8')](_0xa339('0x4'))},'lastMsgText':{'type':Sequelize['TEXT']('long')}};