35fba7697f921d74ff93b4cb21211d5911444e19
[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 _0x6294=['BOOLEAN','INTEGER','ENUM','star','thumb','TEXT','STRING','DATE','long','out','sequelize','exports'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x6294,0x8e));var _0x4629=function(_0x3a15a6,_0x530210){_0x3a15a6=_0x3a15a6-0x0;var _0x416a07=_0x6294[_0x3a15a6];return _0x416a07;};'use strict';var Sequelize=require(_0x4629('0x0'));module[_0x4629('0x1')]={'closed':{'type':Sequelize[_0x4629('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x4629('0x3')]},'ratingType':{'type':Sequelize[_0x4629('0x4')](_0x4629('0x5'),_0x4629('0x6')),'defaultValue':_0x4629('0x5')},'ratingMessage':{'type':Sequelize[_0x4629('0x7')]},'pathTranscript':{'type':Sequelize[_0x4629('0x7')]},'mailTranscript':{'type':Sequelize[_0x4629('0x8')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x4629('0x9')]},'disposition':{'type':Sequelize[_0x4629('0x8')]},'secondDisposition':{'type':Sequelize[_0x4629('0x8')]},'thirdDisposition':{'type':Sequelize[_0x4629('0x8')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0x4629('0x8')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0x4629('0x8')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0x4629('0x8')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0x4629('0x8')]},'formData':{'type':Sequelize[_0x4629('0x7')](_0x4629('0xa'))},'read1stAt':{'type':Sequelize[_0x4629('0x9')]},'lastMsgAt':{'type':Sequelize[_0x4629('0x9')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x4629('0xb')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x4629('0x8')]},'customerPort':{'type':Sequelize[_0x4629('0x8')]},'vidaooSessionId':{'type':Sequelize[_0x4629('0x7')]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueId':{'type':Sequelize[_0x4629('0x3')]}};