0aa9e237b0ee605637d27c97b07c7d0396318a7f
[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 _0xccde=['out','sequelize','BOOLEAN','ENUM','star','TEXT','STRING','DATE'];(function(_0x26dddb,_0x357835){var _0x5a1b78=function(_0x30a782){while(--_0x30a782){_0x26dddb['push'](_0x26dddb['shift']());}};_0x5a1b78(++_0x357835);}(_0xccde,0x1e1));var _0xeccd=function(_0x56a871,_0x18b7fe){_0x56a871=_0x56a871-0x0;var _0x124954=_0xccde[_0x56a871];return _0x124954;};'use strict';var Sequelize=require(_0xeccd('0x0'));module['exports']={'closed':{'type':Sequelize[_0xeccd('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0xeccd('0x2')](_0xeccd('0x3'),'thumb'),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0xeccd('0x4')]},'pathTranscript':{'type':Sequelize[_0xeccd('0x4')]},'mailTranscript':{'type':Sequelize[_0xeccd('0x5')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xeccd('0x6')]},'disposition':{'type':Sequelize[_0xeccd('0x5')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xeccd('0x5')]},'note':{'type':Sequelize[_0xeccd('0x5')]},'browserName':{'type':Sequelize[_0xeccd('0x5')]},'browserVersion':{'type':Sequelize[_0xeccd('0x5')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0xeccd('0x5')]},'deviceModel':{'type':Sequelize[_0xeccd('0x5')]},'deviceVendor':{'type':Sequelize[_0xeccd('0x5')]},'deviceType':{'type':Sequelize[_0xeccd('0x5')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize['TEXT']('long')},'read1stAt':{'type':Sequelize[_0xeccd('0x6')]},'lastMsgAt':{'type':Sequelize[_0xeccd('0x6')]},'lastMsgDirection':{'type':Sequelize[_0xeccd('0x2')]('in',_0xeccd('0x7')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xeccd('0x5')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize[_0xeccd('0x4')]},'autoreplyExecuted':{'type':Sequelize[_0xeccd('0x1')],'defaultValue':![]}};