be3a3b61651eb0673a49dac625df90a26d93f3ef
[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 _0x3c66=['STRING','DATE','long','out','INTEGER','ENUM','star','thumb','TEXT'];(function(_0x554788,_0x3bd1ba){var _0x80a82c=function(_0x4d779a){while(--_0x4d779a){_0x554788['push'](_0x554788['shift']());}};_0x80a82c(++_0x3bd1ba);}(_0x3c66,0x8b));var _0x63c6=function(_0x4cd394,_0x4dba1f){_0x4cd394=_0x4cd394-0x0;var _0x4b10a7=_0x3c66[_0x4cd394];return _0x4b10a7;};'use strict';var Sequelize=require('sequelize');module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x63c6('0x0')]},'ratingType':{'type':Sequelize[_0x63c6('0x1')](_0x63c6('0x2'),_0x63c6('0x3')),'defaultValue':_0x63c6('0x2')},'ratingMessage':{'type':Sequelize[_0x63c6('0x4')]},'pathTranscript':{'type':Sequelize[_0x63c6('0x4')]},'mailTranscript':{'type':Sequelize[_0x63c6('0x5')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x63c6('0x6')]},'disposition':{'type':Sequelize[_0x63c6('0x5')]},'secondDisposition':{'type':Sequelize[_0x63c6('0x5')]},'thirdDisposition':{'type':Sequelize[_0x63c6('0x5')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0x63c6('0x5')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x63c6('0x5')]},'osVersion':{'type':Sequelize[_0x63c6('0x5')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0x63c6('0x5')]},'deviceType':{'type':Sequelize[_0x63c6('0x5')]},'referer':{'type':Sequelize[_0x63c6('0x4')]},'customerIp':{'type':Sequelize[_0x63c6('0x5')]},'formData':{'type':Sequelize[_0x63c6('0x4')](_0x63c6('0x7'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0x63c6('0x6')]},'lastMsgDirection':{'type':Sequelize[_0x63c6('0x1')]('in',_0x63c6('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};