Built motion from commit c738b9ac.|2.6.25
[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 _0x8441=['star','TEXT','STRING','long','DATE','out','INTEGER','exports','BOOLEAN','ENUM'];(function(_0x27a6f8,_0x3b1641){var _0x4ca64e=function(_0x405667){while(--_0x405667){_0x27a6f8['push'](_0x27a6f8['shift']());}};_0x4ca64e(++_0x3b1641);}(_0x8441,0x115));var _0x1844=function(_0x40d743,_0x54ab83){_0x40d743=_0x40d743-0x0;var _0x1578ac=_0x8441[_0x40d743];return _0x1578ac;};'use strict';var Sequelize=require('sequelize');module[_0x1844('0x0')]={'closed':{'type':Sequelize[_0x1844('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x1844('0x2')]('star','thumb'),'defaultValue':_0x1844('0x3')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x1844('0x4')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x1844('0x5')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x1844('0x5')]},'browserName':{'type':Sequelize[_0x1844('0x5')]},'browserVersion':{'type':Sequelize[_0x1844('0x5')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0x1844('0x5')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x1844('0x5')]},'referer':{'type':Sequelize[_0x1844('0x4')]},'customerIp':{'type':Sequelize[_0x1844('0x5')]},'formData':{'type':Sequelize[_0x1844('0x4')](_0x1844('0x6'))},'read1stAt':{'type':Sequelize[_0x1844('0x7')]},'lastMsgAt':{'type':Sequelize[_0x1844('0x7')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x1844('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x1844('0x5')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize[_0x1844('0x4')]},'autoreplyExecuted':{'type':Sequelize[_0x1844('0x1')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x1844('0x9')]}};