294ee6af8981744436f6c6fb2adc249b25b8970e
[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 _0xd876=['exports','INTEGER','ENUM','star','thumb','DATE','STRING','TEXT','long','out'];(function(_0x483539,_0x4771b7){var _0x546f3f=function(_0x507c07){while(--_0x507c07){_0x483539['push'](_0x483539['shift']());}};_0x546f3f(++_0x4771b7);}(_0xd876,0x1cc));var _0x6d87=function(_0x1f8a39,_0xac239b){_0x1f8a39=_0x1f8a39-0x0;var _0x301bdf=_0xd876[_0x1f8a39];return _0x301bdf;};'use strict';var Sequelize=require('sequelize');module[_0x6d87('0x0')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x6d87('0x1')]},'ratingType':{'type':Sequelize[_0x6d87('0x2')](_0x6d87('0x3'),_0x6d87('0x4')),'defaultValue':_0x6d87('0x3')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x6d87('0x5')]},'disposition':{'type':Sequelize[_0x6d87('0x6')]},'note':{'type':Sequelize[_0x6d87('0x6')]},'browserName':{'type':Sequelize[_0x6d87('0x6')]},'browserVersion':{'type':Sequelize[_0x6d87('0x6')]},'osName':{'type':Sequelize[_0x6d87('0x6')]},'osVersion':{'type':Sequelize[_0x6d87('0x6')]},'deviceModel':{'type':Sequelize[_0x6d87('0x6')]},'deviceVendor':{'type':Sequelize[_0x6d87('0x6')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0x6d87('0x7')]},'customerIp':{'type':Sequelize[_0x6d87('0x6')]},'formData':{'type':Sequelize[_0x6d87('0x7')](_0x6d87('0x8'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0x6d87('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x6d87('0x2')]('in',_0x6d87('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x6d87('0x6')]},'customerPort':{'type':Sequelize[_0x6d87('0x6')]},'vidaooSessionId':{'type':Sequelize[_0x6d87('0x7')]}};