f08cbf4430dfebd97fbd21c2d157b759ce84ba6b
[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(_0x576d8a,_0x2d7bde){var _0x3dc3ef=function(_0xc76758){while(--_0xc76758){_0x576d8a['push'](_0x576d8a['shift']());}};_0x3dc3ef(++_0x2d7bde);}(_0xb1a6,0x147));var _0x6b1a=function(_0xdfde4c,_0x18c4f4){_0xdfde4c=_0xdfde4c-0x0;var _0x3260fa=_0xb1a6[_0xdfde4c];return _0x3260fa;};'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')]}};