Built motion from commit 97153652.|2.6.26
[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 _0x7848=['INTEGER','ENUM','star','thumb','TEXT','STRING','DATE','long','sequelize','exports','BOOLEAN'];(function(_0x53b53e,_0x498437){var _0xbb6179=function(_0x3975eb){while(--_0x3975eb){_0x53b53e['push'](_0x53b53e['shift']());}};_0xbb6179(++_0x498437);}(_0x7848,0x194));var _0x8784=function(_0x2f3b14,_0x554f94){_0x2f3b14=_0x2f3b14-0x0;var _0x20e924=_0x7848[_0x2f3b14];return _0x20e924;};'use strict';var Sequelize=require(_0x8784('0x0'));module[_0x8784('0x1')]={'closed':{'type':Sequelize[_0x8784('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x8784('0x3')]},'ratingType':{'type':Sequelize[_0x8784('0x4')](_0x8784('0x5'),_0x8784('0x6')),'defaultValue':_0x8784('0x5')},'ratingMessage':{'type':Sequelize[_0x8784('0x7')]},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize[_0x8784('0x8')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x8784('0x9')]},'disposition':{'type':Sequelize[_0x8784('0x8')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x8784('0x8')]},'browserName':{'type':Sequelize[_0x8784('0x8')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x8784('0x8')]},'osVersion':{'type':Sequelize[_0x8784('0x8')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0x8784('0x8')]},'deviceType':{'type':Sequelize[_0x8784('0x8')]},'referer':{'type':Sequelize[_0x8784('0x7')]},'customerIp':{'type':Sequelize[_0x8784('0x8')]},'formData':{'type':Sequelize[_0x8784('0x7')](_0x8784('0xa'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0x8784('0x9')]},'lastMsgDirection':{'type':Sequelize[_0x8784('0x4')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x8784('0x8')]},'customerPort':{'type':Sequelize[_0x8784('0x8')]},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize[_0x8784('0x2')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x8784('0x3')]}};