Built motion from commit (unavailable).|2.4.19
[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 _0x1af0=['long','sequelize','exports','ENUM','thumb','star','TEXT','STRING','DATE'];(function(_0x364af7,_0x3ac72b){var _0x3f5a1f=function(_0x2723b5){while(--_0x2723b5){_0x364af7['push'](_0x364af7['shift']());}};_0x3f5a1f(++_0x3ac72b);}(_0x1af0,0x1cc));var _0x01af=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x1af0[_0x2641f9];return _0x585741;};'use strict';var Sequelize=require(_0x01af('0x0'));module[_0x01af('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x01af('0x2')]('star',_0x01af('0x3')),'defaultValue':_0x01af('0x4')},'ratingMessage':{'type':Sequelize[_0x01af('0x5')]},'pathTranscript':{'type':Sequelize[_0x01af('0x5')]},'mailTranscript':{'type':Sequelize[_0x01af('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x01af('0x7')]},'disposition':{'type':Sequelize[_0x01af('0x6')]},'note':{'type':Sequelize[_0x01af('0x6')]},'browserName':{'type':Sequelize[_0x01af('0x6')]},'browserVersion':{'type':Sequelize[_0x01af('0x6')]},'osName':{'type':Sequelize[_0x01af('0x6')]},'osVersion':{'type':Sequelize[_0x01af('0x6')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0x01af('0x6')]},'deviceType':{'type':Sequelize[_0x01af('0x6')]},'referer':{'type':Sequelize[_0x01af('0x5')]},'customerIp':{'type':Sequelize[_0x01af('0x6')]},'formData':{'type':Sequelize[_0x01af('0x5')](_0x01af('0x8'))},'read1stAt':{'type':Sequelize[_0x01af('0x7')]},'lastMsgAt':{'type':Sequelize[_0x01af('0x7')]},'lastMsgDirection':{'type':Sequelize[_0x01af('0x2')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x01af('0x6')]},'customerPort':{'type':Sequelize[_0x01af('0x6')]}};