195e52563320c2a75bb0e3957e25046f3b41a0d6
[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 _0x91f4=['DATE','ENUM','out','sequelize','exports','star','thumb','TEXT','STRING','long'];(function(_0x3ba7c1,_0xbcf034){var _0x1ee076=function(_0x3c1b9c){while(--_0x3c1b9c){_0x3ba7c1['push'](_0x3ba7c1['shift']());}};_0x1ee076(++_0xbcf034);}(_0x91f4,0x139));var _0x491f=function(_0x44128e,_0x255ae0){_0x44128e=_0x44128e-0x0;var _0x1fae67=_0x91f4[_0x44128e];return _0x1fae67;};'use strict';var Sequelize=require(_0x491f('0x0'));module[_0x491f('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize['ENUM'](_0x491f('0x2'),_0x491f('0x3')),'defaultValue':_0x491f('0x2')},'ratingMessage':{'type':Sequelize[_0x491f('0x4')]},'pathTranscript':{'type':Sequelize[_0x491f('0x4')]},'mailTranscript':{'type':Sequelize[_0x491f('0x5')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x491f('0x5')]},'note':{'type':Sequelize[_0x491f('0x5')]},'browserName':{'type':Sequelize[_0x491f('0x5')]},'browserVersion':{'type':Sequelize[_0x491f('0x5')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0x491f('0x5')]},'deviceModel':{'type':Sequelize[_0x491f('0x5')]},'deviceVendor':{'type':Sequelize[_0x491f('0x5')]},'deviceType':{'type':Sequelize[_0x491f('0x5')]},'referer':{'type':Sequelize[_0x491f('0x4')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize['TEXT'](_0x491f('0x6'))},'read1stAt':{'type':Sequelize[_0x491f('0x7')]},'lastMsgAt':{'type':Sequelize[_0x491f('0x7')]},'lastMsgDirection':{'type':Sequelize[_0x491f('0x8')]('in',_0x491f('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x491f('0x5')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize[_0x491f('0x4')]}};