8f674ffb38ace2123fe47125450f55ee4ec424b0
[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 _0x7d98=['out','sequelize','BOOLEAN','INTEGER','ENUM','star','TEXT','STRING','long','DATE'];(function(_0x209941,_0x5c9988){var _0x1e8729=function(_0x51a9b8){while(--_0x51a9b8){_0x209941['push'](_0x209941['shift']());}};_0x1e8729(++_0x5c9988);}(_0x7d98,0xe7));var _0x87d9=function(_0xf31767,_0x381746){_0xf31767=_0xf31767-0x0;var _0x24bd0c=_0x7d98[_0xf31767];return _0x24bd0c;};'use strict';var Sequelize=require(_0x87d9('0x0'));module['exports']={'closed':{'type':Sequelize[_0x87d9('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x87d9('0x2')]},'ratingType':{'type':Sequelize[_0x87d9('0x3')](_0x87d9('0x4'),'thumb'),'defaultValue':_0x87d9('0x4')},'ratingMessage':{'type':Sequelize[_0x87d9('0x5')]},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize[_0x87d9('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x87d9('0x6')]},'note':{'type':Sequelize[_0x87d9('0x6')]},'browserName':{'type':Sequelize[_0x87d9('0x6')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x87d9('0x6')]},'osVersion':{'type':Sequelize[_0x87d9('0x6')]},'deviceModel':{'type':Sequelize[_0x87d9('0x6')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x87d9('0x6')]},'referer':{'type':Sequelize[_0x87d9('0x5')]},'customerIp':{'type':Sequelize[_0x87d9('0x6')]},'formData':{'type':Sequelize[_0x87d9('0x5')](_0x87d9('0x7'))},'read1stAt':{'type':Sequelize[_0x87d9('0x8')]},'lastMsgAt':{'type':Sequelize[_0x87d9('0x8')]},'lastMsgDirection':{'type':Sequelize[_0x87d9('0x3')]('in',_0x87d9('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x87d9('0x6')]},'customerPort':{'type':Sequelize[_0x87d9('0x6')]},'vidaooSessionId':{'type':Sequelize[_0x87d9('0x5')]},'autoreplyExecuted':{'type':Sequelize[_0x87d9('0x1')],'defaultValue':![]}};