1431d3f30429e514d9ae8bcc89aecacd14fb9807
[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 _0x4535=['BOOLEAN','INTEGER','thumb','star','TEXT','DATE','STRING','ENUM','exports'];(function(_0x30821a,_0x61e78b){var _0x6db77=function(_0x384c45){while(--_0x384c45){_0x30821a['push'](_0x30821a['shift']());}};_0x6db77(++_0x61e78b);}(_0x4535,0xb3));var _0x5453=function(_0x1de777,_0x34ef16){_0x1de777=_0x1de777-0x0;var _0x11a982=_0x4535[_0x1de777];return _0x11a982;};'use strict';var Sequelize=require('sequelize');module[_0x5453('0x0')]={'closed':{'type':Sequelize[_0x5453('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x5453('0x2')]},'ratingType':{'type':Sequelize['ENUM']('star',_0x5453('0x3')),'defaultValue':_0x5453('0x4')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x5453('0x5')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x5453('0x6')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x5453('0x7')]},'thirdDisposition':{'type':Sequelize[_0x5453('0x7')]},'note':{'type':Sequelize[_0x5453('0x7')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0x5453('0x7')]},'osName':{'type':Sequelize[_0x5453('0x7')]},'osVersion':{'type':Sequelize[_0x5453('0x7')]},'deviceModel':{'type':Sequelize[_0x5453('0x7')]},'deviceVendor':{'type':Sequelize[_0x5453('0x7')]},'deviceType':{'type':Sequelize[_0x5453('0x7')]},'referer':{'type':Sequelize[_0x5453('0x5')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x5453('0x5')]('long')},'read1stAt':{'type':Sequelize[_0x5453('0x6')]},'lastMsgAt':{'type':Sequelize[_0x5453('0x6')]},'lastMsgDirection':{'type':Sequelize[_0x5453('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x5453('0x7')]},'customerPort':{'type':Sequelize[_0x5453('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x5453('0x5')]},'autoreplyExecuted':{'type':Sequelize[_0x5453('0x1')],'defaultValue':![]},'queueId':{'type':Sequelize['INTEGER']}};