4a013b16ce63aea93352d3aa271e21f78e299312
[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 _0x96cc=['STRING','DATE','long','out','sequelize','BOOLEAN','ENUM','star','thumb','TEXT'];(function(_0x3fba9f,_0x3b7b9b){var _0x192cf1=function(_0x557290){while(--_0x557290){_0x3fba9f['push'](_0x3fba9f['shift']());}};_0x192cf1(++_0x3b7b9b);}(_0x96cc,0x16c));var _0xc96c=function(_0x387f01,_0x59628a){_0x387f01=_0x387f01-0x0;var _0x4214e5=_0x96cc[_0x387f01];return _0x4214e5;};'use strict';var Sequelize=require(_0xc96c('0x0'));module['exports']={'closed':{'type':Sequelize[_0xc96c('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0xc96c('0x2')](_0xc96c('0x3'),_0xc96c('0x4')),'defaultValue':_0xc96c('0x3')},'ratingMessage':{'type':Sequelize[_0xc96c('0x5')]},'pathTranscript':{'type':Sequelize[_0xc96c('0x5')]},'mailTranscript':{'type':Sequelize[_0xc96c('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xc96c('0x7')]},'disposition':{'type':Sequelize[_0xc96c('0x6')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xc96c('0x6')]},'note':{'type':Sequelize[_0xc96c('0x6')]},'browserName':{'type':Sequelize[_0xc96c('0x6')]},'browserVersion':{'type':Sequelize[_0xc96c('0x6')]},'osName':{'type':Sequelize[_0xc96c('0x6')]},'osVersion':{'type':Sequelize[_0xc96c('0x6')]},'deviceModel':{'type':Sequelize[_0xc96c('0x6')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0xc96c('0x6')]},'referer':{'type':Sequelize[_0xc96c('0x5')]},'customerIp':{'type':Sequelize[_0xc96c('0x6')]},'formData':{'type':Sequelize['TEXT'](_0xc96c('0x8'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0xc96c('0x7')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xc96c('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xc96c('0x6')]},'customerPort':{'type':Sequelize[_0xc96c('0x6')]},'vidaooSessionId':{'type':Sequelize[_0xc96c('0x5')]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};