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 _0xd483=['exports','STRING','TEXT','BOOLEAN','ENUM','out','long','sequelize','iconv'];(function(_0x576e2b,_0x328953){var _0x46461a=function(_0xce4d9e){while(--_0xce4d9e){_0x576e2b['push'](_0x576e2b['shift']());}};_0x46461a(++_0x328953);}(_0xd483,0x73));var _0x3d48=function(_0x36e5d6,_0x3d0ecc){_0x36e5d6=_0x36e5d6-0x0;var _0x41bd0a=_0xd483[_0x36e5d6];return _0x41bd0a;};'use strict';var Sequelize=require(_0x3d48('0x0'));var iconv=require(_0x3d48('0x1'));module[_0x3d48('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x3d48('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x3d48('0x3')]},'note':{'type':Sequelize[_0x3d48('0x3')]},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0x3d48('0x3')]},'cc':{'type':Sequelize['TEXT']('long')},'subject':{'type':Sequelize[_0x3d48('0x4')]()},'attach':{'type':Sequelize[_0x3d48('0x5')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x3d48('0x6')]('in',_0x3d48('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x3d48('0x6')]('in',_0x3d48('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x3d48('0x4')]('long')},'lastMsgText':{'type':Sequelize[_0x3d48('0x4')](_0x3d48('0x8'))}};