Built motion from commit (unavailable).|2.4.18
[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 _0xeb8f=['thumb','star','TEXT','DATE','STRING','out','exports','BOOLEAN','ENUM'];(function(_0x1365aa,_0x18b126){var _0x59ebee=function(_0x2acb61){while(--_0x2acb61){_0x1365aa['push'](_0x1365aa['shift']());}};_0x59ebee(++_0x18b126);}(_0xeb8f,0x1bf));var _0xfeb8=function(_0x302a31,_0x5d1db8){_0x302a31=_0x302a31-0x0;var _0x229bd0=_0xeb8f[_0x302a31];return _0x229bd0;};'use strict';var Sequelize=require('sequelize');module[_0xfeb8('0x0')]={'closed':{'type':Sequelize[_0xfeb8('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0xfeb8('0x2')]('star',_0xfeb8('0x3')),'defaultValue':_0xfeb8('0x4')},'ratingMessage':{'type':Sequelize[_0xfeb8('0x5')]},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xfeb8('0x6')]},'disposition':{'type':Sequelize[_0xfeb8('0x7')]},'note':{'type':Sequelize[_0xfeb8('0x7')]},'browserName':{'type':Sequelize[_0xfeb8('0x7')]},'browserVersion':{'type':Sequelize[_0xfeb8('0x7')]},'osName':{'type':Sequelize[_0xfeb8('0x7')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0xfeb8('0x7')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0xfeb8('0x7')]},'formData':{'type':Sequelize[_0xfeb8('0x5')]('long')},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0xfeb8('0x2')]('in',_0xfeb8('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xfeb8('0x7')]},'customerPort':{'type':Sequelize[_0xfeb8('0x7')]}};