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 _0xb688=['ENUM','star','thumb','TEXT','STRING','DATE','long','exports','BOOLEAN','INTEGER'];(function(_0x5ddb1c,_0x5ea4df){var _0x354adc=function(_0x2dfb1f){while(--_0x2dfb1f){_0x5ddb1c['push'](_0x5ddb1c['shift']());}};_0x354adc(++_0x5ea4df);}(_0xb688,0xcf));var _0x8b68=function(_0x560526,_0x3e86f4){_0x560526=_0x560526-0x0;var _0x18fb22=_0xb688[_0x560526];return _0x18fb22;};'use strict';var Sequelize=require('sequelize');module[_0x8b68('0x0')]={'closed':{'type':Sequelize[_0x8b68('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x8b68('0x2')]},'ratingType':{'type':Sequelize[_0x8b68('0x3')](_0x8b68('0x4'),_0x8b68('0x5')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0x8b68('0x6')]},'pathTranscript':{'type':Sequelize[_0x8b68('0x6')]},'mailTranscript':{'type':Sequelize[_0x8b68('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x8b68('0x8')]},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x8b68('0x7')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0x8b68('0x7')]},'osName':{'type':Sequelize[_0x8b68('0x7')]},'osVersion':{'type':Sequelize[_0x8b68('0x7')]},'deviceModel':{'type':Sequelize[_0x8b68('0x7')]},'deviceVendor':{'type':Sequelize[_0x8b68('0x7')]},'deviceType':{'type':Sequelize[_0x8b68('0x7')]},'referer':{'type':Sequelize[_0x8b68('0x7')]},'customerIp':{'type':Sequelize[_0x8b68('0x7')]},'formData':{'type':Sequelize[_0x8b68('0x6')](_0x8b68('0x9'))},'read1stAt':{'type':Sequelize[_0x8b68('0x8')]},'lastMsgAt':{'type':Sequelize[_0x8b68('0x8')]},'lastMsgDirection':{'type':Sequelize[_0x8b68('0x3')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x8b68('0x7')]}};