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 _0x8aca=['TEXT','ENUM','out','long','sequelize','iconv','exports','DATE','STRING'];(function(_0x42bdad,_0x12836c){var _0x122626=function(_0x2eb29c){while(--_0x2eb29c){_0x42bdad['push'](_0x42bdad['shift']());}};_0x122626(++_0x12836c);}(_0x8aca,0xe5));var _0xa8ac=function(_0x11ce46,_0x177a85){_0x11ce46=_0x11ce46-0x0;var _0x368a1e=_0x8aca[_0x11ce46];return _0x368a1e;};'use strict';var Sequelize=require(_0xa8ac('0x0'));var iconv=require(_0xa8ac('0x1'));module[_0xa8ac('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xa8ac('0x3')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xa8ac('0x4')]},'thirdDisposition':{'type':Sequelize[_0xa8ac('0x4')]},'note':{'type':Sequelize[_0xa8ac('0x4')]},'inReplyTo':{'type':Sequelize[_0xa8ac('0x4')](0x1fe)},'to':{'type':Sequelize[_0xa8ac('0x4')]},'cc':{'type':Sequelize[_0xa8ac('0x5')]('long')},'subject':{'type':Sequelize[_0xa8ac('0x5')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xa8ac('0x3')]},'substatus':{'type':Sequelize[_0xa8ac('0x4')](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0xa8ac('0x6')]('in',_0xa8ac('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xa8ac('0x3')]},'lastMsgDirection':{'type':Sequelize[_0xa8ac('0x6')]('in',_0xa8ac('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0xa8ac('0x5')]('long')},'lastMsgText':{'type':Sequelize['TEXT'](_0xa8ac('0x8'))}};