Built motion from commit d5e4af8c.|2.6.23
[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 _0xe1d0=['INTEGER','sequelize','BOOLEAN','ENUM','star','DATE','STRING','TEXT','long'];(function(_0x3e03f7,_0x5f3edd){var _0x4436f9=function(_0x20d6bd){while(--_0x20d6bd){_0x3e03f7['push'](_0x3e03f7['shift']());}};_0x4436f9(++_0x5f3edd);}(_0xe1d0,0x6d));var _0x0e1d=function(_0x51ba5f,_0x17923b){_0x51ba5f=_0x51ba5f-0x0;var _0x31d14a=_0xe1d0[_0x51ba5f];return _0x31d14a;};'use strict';var Sequelize=require(_0x0e1d('0x0'));module['exports']={'closed':{'type':Sequelize[_0x0e1d('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x0e1d('0x2')](_0x0e1d('0x3'),'thumb'),'defaultValue':'star'},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x0e1d('0x4')]},'disposition':{'type':Sequelize[_0x0e1d('0x5')]},'secondDisposition':{'type':Sequelize[_0x0e1d('0x5')]},'thirdDisposition':{'type':Sequelize[_0x0e1d('0x5')]},'note':{'type':Sequelize[_0x0e1d('0x5')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0x0e1d('0x5')]},'osName':{'type':Sequelize[_0x0e1d('0x5')]},'osVersion':{'type':Sequelize[_0x0e1d('0x5')]},'deviceModel':{'type':Sequelize[_0x0e1d('0x5')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x0e1d('0x5')]},'referer':{'type':Sequelize[_0x0e1d('0x6')]},'customerIp':{'type':Sequelize[_0x0e1d('0x5')]},'formData':{'type':Sequelize[_0x0e1d('0x6')](_0x0e1d('0x7'))},'read1stAt':{'type':Sequelize[_0x0e1d('0x4')]},'lastMsgAt':{'type':Sequelize[_0x0e1d('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x0e1d('0x2')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x0e1d('0x5')]},'customerPort':{'type':Sequelize[_0x0e1d('0x5')]},'vidaooSessionId':{'type':Sequelize[_0x0e1d('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0x0e1d('0x1')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x0e1d('0x8')]}};