faa454cb3876390f3e4a8b81da397eef3c3a0017
[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 _0x7ca7=['ENUM','star','thumb','TEXT','DATE','STRING','long','sequelize','BOOLEAN','INTEGER'];(function(_0x33fce4,_0x3c9512){var _0x485cbe=function(_0x4a818a){while(--_0x4a818a){_0x33fce4['push'](_0x33fce4['shift']());}};_0x485cbe(++_0x3c9512);}(_0x7ca7,0xcf));var _0x77ca=function(_0x30f5bb,_0x4db4bd){_0x30f5bb=_0x30f5bb-0x0;var _0x1cfc00=_0x7ca7[_0x30f5bb];return _0x1cfc00;};'use strict';var Sequelize=require(_0x77ca('0x0'));module['exports']={'closed':{'type':Sequelize[_0x77ca('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x77ca('0x2')]},'ratingType':{'type':Sequelize[_0x77ca('0x3')](_0x77ca('0x4'),_0x77ca('0x5')),'defaultValue':_0x77ca('0x4')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x77ca('0x6')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x77ca('0x7')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x77ca('0x8')]},'note':{'type':Sequelize[_0x77ca('0x8')]},'browserName':{'type':Sequelize[_0x77ca('0x8')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x77ca('0x8')]},'osVersion':{'type':Sequelize[_0x77ca('0x8')]},'deviceModel':{'type':Sequelize[_0x77ca('0x8')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x77ca('0x8')]},'referer':{'type':Sequelize[_0x77ca('0x6')]},'customerIp':{'type':Sequelize[_0x77ca('0x8')]},'formData':{'type':Sequelize[_0x77ca('0x6')](_0x77ca('0x9'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x77ca('0x3')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x77ca('0x8')]},'customerPort':{'type':Sequelize[_0x77ca('0x8')]},'vidaooSessionId':{'type':Sequelize[_0x77ca('0x6')]}};