d225f1bf10c88098e1cebec3cd0ad60237e19e7d
[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 _0x0664=['thumb','star','TEXT','STRING','DATE','long','BOOLEAN','exports','INTEGER','ENUM'];(function(_0x43f552,_0x42808c){var _0x17911b=function(_0x4407a7){while(--_0x4407a7){_0x43f552['push'](_0x43f552['shift']());}};_0x17911b(++_0x42808c);}(_0x0664,0x93));var _0x4066=function(_0x2e84e5,_0x11c0e9){_0x2e84e5=_0x2e84e5-0x0;var _0x281a09=_0x0664[_0x2e84e5];return _0x281a09;};'use strict';var Sequelize=require('sequelize');module[_0x4066('0x0')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x4066('0x1')]},'ratingType':{'type':Sequelize[_0x4066('0x2')]('star',_0x4066('0x3')),'defaultValue':_0x4066('0x4')},'ratingMessage':{'type':Sequelize[_0x4066('0x5')]},'pathTranscript':{'type':Sequelize[_0x4066('0x5')]},'mailTranscript':{'type':Sequelize[_0x4066('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x4066('0x7')]},'disposition':{'type':Sequelize[_0x4066('0x6')]},'secondDisposition':{'type':Sequelize[_0x4066('0x6')]},'thirdDisposition':{'type':Sequelize[_0x4066('0x6')]},'note':{'type':Sequelize[_0x4066('0x6')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0x4066('0x6')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0x4066('0x6')]},'deviceModel':{'type':Sequelize[_0x4066('0x6')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0x4066('0x5')]},'customerIp':{'type':Sequelize[_0x4066('0x6')]},'formData':{'type':Sequelize[_0x4066('0x5')](_0x4066('0x8'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x4066('0x6')]},'customerPort':{'type':Sequelize[_0x4066('0x6')]},'vidaooSessionId':{'type':Sequelize[_0x4066('0x5')]},'autoreplyExecuted':{'type':Sequelize[_0x4066('0x9')],'defaultValue':![]}};