Built motion from commit 3c2ce842.|2.6.31
[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 _0xa877=['star','TEXT','DATE','STRING','long','ENUM','out','sequelize','exports','BOOLEAN','INTEGER'];(function(_0x4df208,_0x105fd3){var _0xb19b91=function(_0x28536b){while(--_0x28536b){_0x4df208['push'](_0x4df208['shift']());}};_0xb19b91(++_0x105fd3);}(_0xa877,0x1eb));var _0x7a87=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0xa877[_0x40a045];return _0x1a687c;};'use strict';var Sequelize=require(_0x7a87('0x0'));module[_0x7a87('0x1')]={'closed':{'type':Sequelize[_0x7a87('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x7a87('0x3')]},'ratingType':{'type':Sequelize['ENUM'](_0x7a87('0x4'),'thumb'),'defaultValue':_0x7a87('0x4')},'ratingMessage':{'type':Sequelize[_0x7a87('0x5')]},'pathTranscript':{'type':Sequelize[_0x7a87('0x5')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x7a87('0x6')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x7a87('0x7')]},'note':{'type':Sequelize[_0x7a87('0x7')]},'browserName':{'type':Sequelize[_0x7a87('0x7')]},'browserVersion':{'type':Sequelize[_0x7a87('0x7')]},'osName':{'type':Sequelize[_0x7a87('0x7')]},'osVersion':{'type':Sequelize[_0x7a87('0x7')]},'deviceModel':{'type':Sequelize[_0x7a87('0x7')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x7a87('0x7')]},'referer':{'type':Sequelize[_0x7a87('0x5')]},'customerIp':{'type':Sequelize[_0x7a87('0x7')]},'formData':{'type':Sequelize[_0x7a87('0x5')](_0x7a87('0x8'))},'read1stAt':{'type':Sequelize[_0x7a87('0x6')]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x7a87('0x9')]('in',_0x7a87('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x7a87('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x7a87('0x5')]},'autoreplyExecuted':{'type':Sequelize[_0x7a87('0x2')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x7a87('0x3')]}};