ec0e43438a28d5d191a0e412262a15db8cc9ae97
[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 _0x84a0=['long','DATE','ENUM','sequelize','exports','BOOLEAN','INTEGER','star','thumb','TEXT','STRING'];(function(_0x4df988,_0x1af79d){var _0x3250ca=function(_0x2d936d){while(--_0x2d936d){_0x4df988['push'](_0x4df988['shift']());}};_0x3250ca(++_0x1af79d);}(_0x84a0,0x66));var _0x084a=function(_0x3baa65,_0x3a360b){_0x3baa65=_0x3baa65-0x0;var _0x2e14ee=_0x84a0[_0x3baa65];return _0x2e14ee;};'use strict';var Sequelize=require(_0x084a('0x0'));module[_0x084a('0x1')]={'closed':{'type':Sequelize[_0x084a('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x084a('0x3')]},'ratingType':{'type':Sequelize['ENUM'](_0x084a('0x4'),_0x084a('0x5')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x084a('0x6')]},'mailTranscript':{'type':Sequelize[_0x084a('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x084a('0x7')]},'secondDisposition':{'type':Sequelize[_0x084a('0x7')]},'thirdDisposition':{'type':Sequelize[_0x084a('0x7')]},'note':{'type':Sequelize[_0x084a('0x7')]},'browserName':{'type':Sequelize[_0x084a('0x7')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x084a('0x7')]},'osVersion':{'type':Sequelize[_0x084a('0x7')]},'deviceModel':{'type':Sequelize[_0x084a('0x7')]},'deviceVendor':{'type':Sequelize[_0x084a('0x7')]},'deviceType':{'type':Sequelize[_0x084a('0x7')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x084a('0x6')](_0x084a('0x8'))},'read1stAt':{'type':Sequelize[_0x084a('0x9')]},'lastMsgAt':{'type':Sequelize[_0x084a('0x9')]},'lastMsgDirection':{'type':Sequelize[_0x084a('0xa')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x084a('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x084a('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0x084a('0x2')],'defaultValue':![]}};