a72f08b77fd1a6b30592347abda2d2cdeac6a48d
[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 _0x12d6=['sequelize','BOOLEAN','INTEGER','ENUM','star','thumb','TEXT','STRING','DATE','long','out'];(function(_0x4be38f,_0x268580){var _0x19dbfd=function(_0x31b813){while(--_0x31b813){_0x4be38f['push'](_0x4be38f['shift']());}};_0x19dbfd(++_0x268580);}(_0x12d6,0x1a2));var _0x612d=function(_0x52085a,_0x3717ca){_0x52085a=_0x52085a-0x0;var _0x5afc1a=_0x12d6[_0x52085a];return _0x5afc1a;};'use strict';var Sequelize=require(_0x612d('0x0'));module['exports']={'closed':{'type':Sequelize[_0x612d('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x612d('0x2')]},'ratingType':{'type':Sequelize[_0x612d('0x3')](_0x612d('0x4'),_0x612d('0x5')),'defaultValue':_0x612d('0x4')},'ratingMessage':{'type':Sequelize[_0x612d('0x6')]},'pathTranscript':{'type':Sequelize[_0x612d('0x6')]},'mailTranscript':{'type':Sequelize[_0x612d('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x612d('0x8')]},'disposition':{'type':Sequelize[_0x612d('0x7')]},'secondDisposition':{'type':Sequelize[_0x612d('0x7')]},'thirdDisposition':{'type':Sequelize[_0x612d('0x7')]},'note':{'type':Sequelize[_0x612d('0x7')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0x612d('0x7')]},'osName':{'type':Sequelize[_0x612d('0x7')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x612d('0x7')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x612d('0x7')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x612d('0x6')](_0x612d('0x9'))},'read1stAt':{'type':Sequelize[_0x612d('0x8')]},'lastMsgAt':{'type':Sequelize[_0x612d('0x8')]},'lastMsgDirection':{'type':Sequelize[_0x612d('0x3')]('in',_0x612d('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x612d('0x7')]},'customerPort':{'type':Sequelize[_0x612d('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x612d('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0x612d('0x1')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x612d('0x2')]}};