Built motion from commit 497d3d92.|2.5.43
[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 _0x3276=['BOOLEAN','sequelize','INTEGER','ENUM','star','thumb','TEXT','STRING','DATE'];(function(_0x49b52a,_0x4071ac){var _0x60cdb=function(_0x51deae){while(--_0x51deae){_0x49b52a['push'](_0x49b52a['shift']());}};_0x60cdb(++_0x4071ac);}(_0x3276,0xc7));var _0x6327=function(_0x1c2414,_0x1e4fb6){_0x1c2414=_0x1c2414-0x0;var _0x572c46=_0x3276[_0x1c2414];return _0x572c46;};'use strict';var Sequelize=require(_0x6327('0x0'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x6327('0x1')]},'ratingType':{'type':Sequelize[_0x6327('0x2')](_0x6327('0x3'),_0x6327('0x4')),'defaultValue':_0x6327('0x3')},'ratingMessage':{'type':Sequelize[_0x6327('0x5')]},'pathTranscript':{'type':Sequelize[_0x6327('0x5')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x6327('0x6')]},'secondDisposition':{'type':Sequelize[_0x6327('0x6')]},'thirdDisposition':{'type':Sequelize[_0x6327('0x6')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0x6327('0x6')]},'browserVersion':{'type':Sequelize[_0x6327('0x6')]},'osName':{'type':Sequelize[_0x6327('0x6')]},'osVersion':{'type':Sequelize[_0x6327('0x6')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0x6327('0x6')]},'deviceType':{'type':Sequelize[_0x6327('0x6')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0x6327('0x6')]},'formData':{'type':Sequelize[_0x6327('0x5')]('long')},'read1stAt':{'type':Sequelize[_0x6327('0x7')]},'lastMsgAt':{'type':Sequelize[_0x6327('0x7')]},'lastMsgDirection':{'type':Sequelize[_0x6327('0x2')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x6327('0x6')]},'customerPort':{'type':Sequelize[_0x6327('0x6')]},'vidaooSessionId':{'type':Sequelize[_0x6327('0x5')]},'autoreplyExecuted':{'type':Sequelize[_0x6327('0x8')],'defaultValue':![]}};