a1e6d9d1b243391a0b5235051837cff929743d00
[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 _0xed42=['long','out','sequelize','exports','BOOLEAN','INTEGER','ENUM','star','thumb','TEXT','STRING','DATE'];(function(_0x5b6cf1,_0x32fdcd){var _0x46278c=function(_0x53fd9b){while(--_0x53fd9b){_0x5b6cf1['push'](_0x5b6cf1['shift']());}};_0x46278c(++_0x32fdcd);}(_0xed42,0x146));var _0x2ed4=function(_0x31985d,_0x41283d){_0x31985d=_0x31985d-0x0;var _0x5b2017=_0xed42[_0x31985d];return _0x5b2017;};'use strict';var Sequelize=require(_0x2ed4('0x0'));module[_0x2ed4('0x1')]={'closed':{'type':Sequelize[_0x2ed4('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x2ed4('0x3')]},'ratingType':{'type':Sequelize[_0x2ed4('0x4')](_0x2ed4('0x5'),_0x2ed4('0x6')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0x2ed4('0x7')]},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize[_0x2ed4('0x8')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x2ed4('0x9')]},'disposition':{'type':Sequelize[_0x2ed4('0x8')]},'note':{'type':Sequelize[_0x2ed4('0x8')]},'browserName':{'type':Sequelize[_0x2ed4('0x8')]},'browserVersion':{'type':Sequelize[_0x2ed4('0x8')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0x2ed4('0x8')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0x2ed4('0x8')]},'deviceType':{'type':Sequelize[_0x2ed4('0x8')]},'referer':{'type':Sequelize[_0x2ed4('0x7')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x2ed4('0x7')](_0x2ed4('0xa'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0x2ed4('0x9')]},'lastMsgDirection':{'type':Sequelize[_0x2ed4('0x4')]('in',_0x2ed4('0xb')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x2ed4('0x8')]},'customerPort':{'type':Sequelize[_0x2ed4('0x8')]},'vidaooSessionId':{'type':Sequelize[_0x2ed4('0x7')]}};