Built motion from commit (unavailable).|2.5.15
[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 _0xb1a6=['ENUM','thumb','star','TEXT','STRING','long','DATE','sequelize','exports','INTEGER'];(function(_0x1e2eac,_0x26dddf){var _0x7a4e81=function(_0x341ed5){while(--_0x341ed5){_0x1e2eac['push'](_0x1e2eac['shift']());}};_0x7a4e81(++_0x26dddf);}(_0xb1a6,0x147));var _0x6b1a=function(_0x5d8026,_0x2611a7){_0x5d8026=_0x5d8026-0x0;var _0x3c1cd6=_0xb1a6[_0x5d8026];return _0x3c1cd6;};'use strict';var Sequelize=require(_0x6b1a('0x0'));module[_0x6b1a('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x6b1a('0x2')]},'ratingType':{'type':Sequelize[_0x6b1a('0x3')]('star',_0x6b1a('0x4')),'defaultValue':_0x6b1a('0x5')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x6b1a('0x6')]},'mailTranscript':{'type':Sequelize[_0x6b1a('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x6b1a('0x7')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x6b1a('0x7')]},'note':{'type':Sequelize[_0x6b1a('0x7')]},'browserName':{'type':Sequelize[_0x6b1a('0x7')]},'browserVersion':{'type':Sequelize[_0x6b1a('0x7')]},'osName':{'type':Sequelize[_0x6b1a('0x7')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x6b1a('0x7')]},'deviceVendor':{'type':Sequelize[_0x6b1a('0x7')]},'deviceType':{'type':Sequelize[_0x6b1a('0x7')]},'referer':{'type':Sequelize[_0x6b1a('0x6')]},'customerIp':{'type':Sequelize[_0x6b1a('0x7')]},'formData':{'type':Sequelize[_0x6b1a('0x6')](_0x6b1a('0x8'))},'read1stAt':{'type':Sequelize[_0x6b1a('0x9')]},'lastMsgAt':{'type':Sequelize[_0x6b1a('0x9')]},'lastMsgDirection':{'type':Sequelize[_0x6b1a('0x3')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x6b1a('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x6b1a('0x6')]}};