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 _0x129d=['DATE','out','sequelize','exports','BOOLEAN','ENUM','thumb','star','STRING','TEXT','long'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0x129d,0x18e));var _0xd129=function(_0x5d522b,_0x3e5e24){_0x5d522b=_0x5d522b-0x0;var _0x84f4f1=_0x129d[_0x5d522b];return _0x84f4f1;};'use strict';var Sequelize=require(_0xd129('0x0'));module[_0xd129('0x1')]={'closed':{'type':Sequelize[_0xd129('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0xd129('0x3')]('star',_0xd129('0x4')),'defaultValue':_0xd129('0x5')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize[_0xd129('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xd129('0x6')]},'note':{'type':Sequelize[_0xd129('0x6')]},'browserName':{'type':Sequelize[_0xd129('0x6')]},'browserVersion':{'type':Sequelize[_0xd129('0x6')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0xd129('0x6')]},'deviceModel':{'type':Sequelize[_0xd129('0x6')]},'deviceVendor':{'type':Sequelize[_0xd129('0x6')]},'deviceType':{'type':Sequelize[_0xd129('0x6')]},'referer':{'type':Sequelize[_0xd129('0x7')]},'customerIp':{'type':Sequelize[_0xd129('0x6')]},'formData':{'type':Sequelize[_0xd129('0x7')](_0xd129('0x8'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0xd129('0x9')]},'lastMsgDirection':{'type':Sequelize[_0xd129('0x3')]('in',_0xd129('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0xd129('0x6')]},'vidaooSessionId':{'type':Sequelize[_0xd129('0x7')]}};