1adfffe1d8d3b15cf08bc2ca07219dc4b1c93d25
[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 _0x382e=['star','TEXT','STRING','DATE','out','INTEGER','sequelize','exports','BOOLEAN','ENUM'];(function(_0x484a60,_0x63e920){var _0x18217b=function(_0x15ff9a){while(--_0x15ff9a){_0x484a60['push'](_0x484a60['shift']());}};_0x18217b(++_0x63e920);}(_0x382e,0x178));var _0xe382=function(_0x3b6376,_0x351f18){_0x3b6376=_0x3b6376-0x0;var _0x35291d=_0x382e[_0x3b6376];return _0x35291d;};'use strict';var Sequelize=require(_0xe382('0x0'));module[_0xe382('0x1')]={'closed':{'type':Sequelize[_0xe382('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0xe382('0x3')](_0xe382('0x4'),'thumb'),'defaultValue':_0xe382('0x4')},'ratingMessage':{'type':Sequelize[_0xe382('0x5')]},'pathTranscript':{'type':Sequelize[_0xe382('0x5')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xe382('0x6')]},'secondDisposition':{'type':Sequelize[_0xe382('0x6')]},'thirdDisposition':{'type':Sequelize[_0xe382('0x6')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0xe382('0x6')]},'browserVersion':{'type':Sequelize[_0xe382('0x6')]},'osName':{'type':Sequelize[_0xe382('0x6')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0xe382('0x6')]},'deviceVendor':{'type':Sequelize[_0xe382('0x6')]},'deviceType':{'type':Sequelize[_0xe382('0x6')]},'referer':{'type':Sequelize[_0xe382('0x5')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize['TEXT']('long')},'read1stAt':{'type':Sequelize[_0xe382('0x7')]},'lastMsgAt':{'type':Sequelize[_0xe382('0x7')]},'lastMsgDirection':{'type':Sequelize[_0xe382('0x3')]('in',_0xe382('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xe382('0x6')]},'customerPort':{'type':Sequelize[_0xe382('0x6')]},'vidaooSessionId':{'type':Sequelize[_0xe382('0x5')]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueId':{'type':Sequelize[_0xe382('0x9')]}};