Built motion from commit d5e4af8c.|2.6.23
[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 _0x50e9=['long','out','sequelize','exports','BOOLEAN','ENUM','star','TEXT','STRING','DATE'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x50e9,0x14c));var _0x950e=function(_0x32908e,_0x33ff9f){_0x32908e=_0x32908e-0x0;var _0x33759d=_0x50e9[_0x32908e];return _0x33759d;};'use strict';var Sequelize=require(_0x950e('0x0'));module[_0x950e('0x1')]={'closed':{'type':Sequelize[_0x950e('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x950e('0x3')](_0x950e('0x4'),'thumb'),'defaultValue':_0x950e('0x4')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x950e('0x5')]},'mailTranscript':{'type':Sequelize[_0x950e('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x950e('0x7')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x950e('0x6')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0x950e('0x6')]},'browserVersion':{'type':Sequelize[_0x950e('0x6')]},'osName':{'type':Sequelize[_0x950e('0x6')]},'osVersion':{'type':Sequelize[_0x950e('0x6')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0x950e('0x6')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0x950e('0x5')]},'customerIp':{'type':Sequelize[_0x950e('0x6')]},'formData':{'type':Sequelize[_0x950e('0x5')](_0x950e('0x8'))},'read1stAt':{'type':Sequelize[_0x950e('0x7')]},'lastMsgAt':{'type':Sequelize[_0x950e('0x7')]},'lastMsgDirection':{'type':Sequelize[_0x950e('0x3')]('in',_0x950e('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x950e('0x6')]},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize[_0x950e('0x2')],'defaultValue':![]},'queueId':{'type':Sequelize['INTEGER']}};