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 _0xae1e=['BOOLEAN','STRING','TEXT','long','DATE','ENUM','out','sequelize','iconv'];(function(_0xc99288,_0x6f97b1){var _0x1be2f8=function(_0x5a8e26){while(--_0x5a8e26){_0xc99288['push'](_0xc99288['shift']());}};_0x1be2f8(++_0x6f97b1);}(_0xae1e,0x10c));var _0xeae1=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0xae1e[_0x4565bf];return _0x5610ba;};'use strict';var Sequelize=require(_0xeae1('0x0'));var iconv=require(_0xeae1('0x1'));module['exports']={'closed':{'type':Sequelize[_0xeae1('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xeae1('0x3')]},'thirdDisposition':{'type':Sequelize[_0xeae1('0x3')]},'note':{'type':Sequelize[_0xeae1('0x3')]},'inReplyTo':{'type':Sequelize[_0xeae1('0x3')](0x1fe)},'to':{'type':Sequelize[_0xeae1('0x3')]},'cc':{'type':Sequelize[_0xeae1('0x4')](_0xeae1('0x5'))},'subject':{'type':Sequelize[_0xeae1('0x4')]()},'attach':{'type':Sequelize[_0xeae1('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0xeae1('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0xeae1('0x6')]},'firstMsgDirection':{'type':Sequelize[_0xeae1('0x7')]('in',_0xeae1('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xeae1('0x6')]},'lastMsgDirection':{'type':Sequelize[_0xeae1('0x7')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0xeae1('0x4')](_0xeae1('0x5'))},'lastMsgText':{'type':Sequelize[_0xeae1('0x4')](_0xeae1('0x5'))}};