Built motion from commit 14588770.|2.5.38
[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 _0xceb0=['out','BOOLEAN','ENUM','thumb','star','TEXT','DATE','STRING','long'];(function(_0x1cfe2e,_0x1ebbcd){var _0x39233f=function(_0x48831a){while(--_0x48831a){_0x1cfe2e['push'](_0x1cfe2e['shift']());}};_0x39233f(++_0x1ebbcd);}(_0xceb0,0x173));var _0x0ceb=function(_0x412e43,_0x582e48){_0x412e43=_0x412e43-0x0;var _0x46004b=_0xceb0[_0x412e43];return _0x46004b;};'use strict';var Sequelize=require('sequelize');module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x0ceb('0x0')]('star',_0x0ceb('0x1')),'defaultValue':_0x0ceb('0x2')},'ratingMessage':{'type':Sequelize[_0x0ceb('0x3')]},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x0ceb('0x4')]},'disposition':{'type':Sequelize[_0x0ceb('0x5')]},'secondDisposition':{'type':Sequelize[_0x0ceb('0x5')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x0ceb('0x5')]},'browserName':{'type':Sequelize[_0x0ceb('0x5')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x0ceb('0x5')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x0ceb('0x5')]},'deviceVendor':{'type':Sequelize[_0x0ceb('0x5')]},'deviceType':{'type':Sequelize[_0x0ceb('0x5')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x0ceb('0x3')](_0x0ceb('0x6'))},'read1stAt':{'type':Sequelize[_0x0ceb('0x4')]},'lastMsgAt':{'type':Sequelize[_0x0ceb('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x0ceb('0x0')]('in',_0x0ceb('0x7')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x0ceb('0x5')]},'vidaooSessionId':{'type':Sequelize[_0x0ceb('0x3')]},'autoreplyExecuted':{'type':Sequelize[_0x0ceb('0x8')],'defaultValue':![]}};