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 _0xfcfe=['exports','BOOLEAN','INTEGER','ENUM','star','thumb','TEXT','STRING','DATE','long','out','sequelize'];(function(_0x611576,_0x4cbff5){var _0x583242=function(_0x43934e){while(--_0x43934e){_0x611576['push'](_0x611576['shift']());}};_0x583242(++_0x4cbff5);}(_0xfcfe,0xe3));var _0xefcf=function(_0x54bd09,_0x261b46){_0x54bd09=_0x54bd09-0x0;var _0x3c9542=_0xfcfe[_0x54bd09];return _0x3c9542;};'use strict';var Sequelize=require(_0xefcf('0x0'));module[_0xefcf('0x1')]={'closed':{'type':Sequelize[_0xefcf('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xefcf('0x3')]},'ratingType':{'type':Sequelize[_0xefcf('0x4')](_0xefcf('0x5'),_0xefcf('0x6')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0xefcf('0x7')]},'pathTranscript':{'type':Sequelize[_0xefcf('0x7')]},'mailTranscript':{'type':Sequelize[_0xefcf('0x8')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xefcf('0x9')]},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0xefcf('0x8')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0xefcf('0x8')]},'osVersion':{'type':Sequelize[_0xefcf('0x8')]},'deviceModel':{'type':Sequelize[_0xefcf('0x8')]},'deviceVendor':{'type':Sequelize[_0xefcf('0x8')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0xefcf('0x8')]},'formData':{'type':Sequelize[_0xefcf('0x7')](_0xefcf('0xa'))},'read1stAt':{'type':Sequelize[_0xefcf('0x9')]},'lastMsgAt':{'type':Sequelize[_0xefcf('0x9')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xefcf('0xb')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xefcf('0x8')]},'customerPort':{'type':Sequelize[_0xefcf('0x8')]}};