920cf59a04c152a6ad3ee541bf0dc9c9043e6bae
[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 _0x0bb5=['ENUM','star','thumb','TEXT','STRING','DATE','long','out','sequelize','exports'];(function(_0x22bd91,_0x56a648){var _0x488b43=function(_0x4bb581){while(--_0x4bb581){_0x22bd91['push'](_0x22bd91['shift']());}};_0x488b43(++_0x56a648);}(_0x0bb5,0x148));var _0x50bb=function(_0x447d21,_0x3363ed){_0x447d21=_0x447d21-0x0;var _0x17a53e=_0x0bb5[_0x447d21];return _0x17a53e;};'use strict';var Sequelize=require(_0x50bb('0x0'));module[_0x50bb('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x50bb('0x2')](_0x50bb('0x3'),_0x50bb('0x4')),'defaultValue':_0x50bb('0x3')},'ratingMessage':{'type':Sequelize[_0x50bb('0x5')]},'pathTranscript':{'type':Sequelize[_0x50bb('0x5')]},'mailTranscript':{'type':Sequelize[_0x50bb('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x50bb('0x7')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x50bb('0x6')]},'note':{'type':Sequelize[_0x50bb('0x6')]},'browserName':{'type':Sequelize[_0x50bb('0x6')]},'browserVersion':{'type':Sequelize[_0x50bb('0x6')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x50bb('0x6')]},'deviceVendor':{'type':Sequelize[_0x50bb('0x6')]},'deviceType':{'type':Sequelize[_0x50bb('0x6')]},'referer':{'type':Sequelize[_0x50bb('0x5')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x50bb('0x5')](_0x50bb('0x8'))},'read1stAt':{'type':Sequelize[_0x50bb('0x7')]},'lastMsgAt':{'type':Sequelize[_0x50bb('0x7')]},'lastMsgDirection':{'type':Sequelize[_0x50bb('0x2')]('in',_0x50bb('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x50bb('0x6')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize[_0x50bb('0x5')]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};