875498183f2c5f4a194d3a904dc16e82fb9853f5
[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 _0x7189=['star','TEXT','STRING','DATE','long','out','sequelize','exports','BOOLEAN'];(function(_0x17adeb,_0x28e4c0){var _0x418c29=function(_0x4dc6b1){while(--_0x4dc6b1){_0x17adeb['push'](_0x17adeb['shift']());}};_0x418c29(++_0x28e4c0);}(_0x7189,0x14a));var _0x9718=function(_0x133990,_0x334b7a){_0x133990=_0x133990-0x0;var _0x176242=_0x7189[_0x133990];return _0x176242;};'use strict';var Sequelize=require(_0x9718('0x0'));module[_0x9718('0x1')]={'closed':{'type':Sequelize[_0x9718('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize['ENUM']('star','thumb'),'defaultValue':_0x9718('0x3')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x9718('0x4')]},'mailTranscript':{'type':Sequelize[_0x9718('0x5')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x9718('0x6')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x9718('0x5')]},'thirdDisposition':{'type':Sequelize[_0x9718('0x5')]},'note':{'type':Sequelize[_0x9718('0x5')]},'browserName':{'type':Sequelize[_0x9718('0x5')]},'browserVersion':{'type':Sequelize[_0x9718('0x5')]},'osName':{'type':Sequelize[_0x9718('0x5')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x9718('0x5')]},'deviceVendor':{'type':Sequelize[_0x9718('0x5')]},'deviceType':{'type':Sequelize[_0x9718('0x5')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0x9718('0x5')]},'formData':{'type':Sequelize[_0x9718('0x4')](_0x9718('0x7'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0x9718('0x6')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x9718('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x9718('0x5')]},'customerPort':{'type':Sequelize[_0x9718('0x5')]},'vidaooSessionId':{'type':Sequelize[_0x9718('0x4')]}};