ca3429d504ed9f5438fe6e6d295d7b5ab01bfd73
[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 _0x2112=['STRING','DATE','long','ENUM','out','sequelize','exports','INTEGER','thumb','star','TEXT'];(function(_0x32b04e,_0x219063){var _0x3b3c5c=function(_0x53f15e){while(--_0x53f15e){_0x32b04e['push'](_0x32b04e['shift']());}};_0x3b3c5c(++_0x219063);}(_0x2112,0x144));var _0x2211=function(_0x3748c8,_0x509fde){_0x3748c8=_0x3748c8-0x0;var _0x2c41ac=_0x2112[_0x3748c8];return _0x2c41ac;};'use strict';var Sequelize=require(_0x2211('0x0'));module[_0x2211('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x2211('0x2')]},'ratingType':{'type':Sequelize['ENUM']('star',_0x2211('0x3')),'defaultValue':_0x2211('0x4')},'ratingMessage':{'type':Sequelize[_0x2211('0x5')]},'pathTranscript':{'type':Sequelize[_0x2211('0x5')]},'mailTranscript':{'type':Sequelize[_0x2211('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x2211('0x7')]},'disposition':{'type':Sequelize[_0x2211('0x6')]},'note':{'type':Sequelize[_0x2211('0x6')]},'browserName':{'type':Sequelize[_0x2211('0x6')]},'browserVersion':{'type':Sequelize[_0x2211('0x6')]},'osName':{'type':Sequelize[_0x2211('0x6')]},'osVersion':{'type':Sequelize[_0x2211('0x6')]},'deviceModel':{'type':Sequelize[_0x2211('0x6')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x2211('0x6')]},'referer':{'type':Sequelize[_0x2211('0x5')]},'customerIp':{'type':Sequelize[_0x2211('0x6')]},'formData':{'type':Sequelize[_0x2211('0x5')](_0x2211('0x8'))},'read1stAt':{'type':Sequelize[_0x2211('0x7')]},'lastMsgAt':{'type':Sequelize[_0x2211('0x7')]},'lastMsgDirection':{'type':Sequelize[_0x2211('0x9')]('in',_0x2211('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x2211('0x6')]},'vidaooSessionId':{'type':Sequelize[_0x2211('0x5')]}};