9b58dde1245fc0a28df55278392bb409d0f5630f
[motion2.git] / server / api / chatInteraction / chatInteraction.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf4ce=['sequelize','exports','BOOLEAN','INTEGER','star','TEXT','STRING','long','DATE','ENUM','out'];(function(_0x4a084c,_0x2b0e98){var _0x3bf6dc=function(_0x1c4e81){while(--_0x1c4e81){_0x4a084c['push'](_0x4a084c['shift']());}};_0x3bf6dc(++_0x2b0e98);}(_0xf4ce,0xb0));var _0xef4c=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0xf4ce[_0x1facfa];return _0x9ec701;};'use strict';var Sequelize=require(_0xef4c('0x0'));module[_0xef4c('0x1')]={'closed':{'type':Sequelize[_0xef4c('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xef4c('0x3')]},'ratingType':{'type':Sequelize['ENUM'](_0xef4c('0x4'),'thumb'),'defaultValue':_0xef4c('0x4')},'ratingMessage':{'type':Sequelize[_0xef4c('0x5')]},'pathTranscript':{'type':Sequelize[_0xef4c('0x5')]},'mailTranscript':{'type':Sequelize[_0xef4c('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xef4c('0x6')]},'secondDisposition':{'type':Sequelize[_0xef4c('0x6')]},'thirdDisposition':{'type':Sequelize[_0xef4c('0x6')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0xef4c('0x6')]},'browserVersion':{'type':Sequelize[_0xef4c('0x6')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0xef4c('0x6')]},'deviceModel':{'type':Sequelize[_0xef4c('0x6')]},'deviceVendor':{'type':Sequelize[_0xef4c('0x6')]},'deviceType':{'type':Sequelize[_0xef4c('0x6')]},'referer':{'type':Sequelize[_0xef4c('0x5')]},'customerIp':{'type':Sequelize[_0xef4c('0x6')]},'formData':{'type':Sequelize[_0xef4c('0x5')](_0xef4c('0x7'))},'read1stAt':{'type':Sequelize[_0xef4c('0x8')]},'lastMsgAt':{'type':Sequelize[_0xef4c('0x8')]},'lastMsgDirection':{'type':Sequelize[_0xef4c('0x9')]('in',_0xef4c('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xef4c('0x6')]},'customerPort':{'type':Sequelize[_0xef4c('0x6')]},'vidaooSessionId':{'type':Sequelize[_0xef4c('0x5')]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueId':{'type':Sequelize[_0xef4c('0x3')]}};