Built motion from commit db94841.|2.5.3
[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 _0x1489=['ENUM','star','DATE','STRING','TEXT','long','out','sequelize','exports'];(function(_0x51ebdd,_0x3e5629){var _0x3fe842=function(_0x37881f){while(--_0x37881f){_0x51ebdd['push'](_0x51ebdd['shift']());}};_0x3fe842(++_0x3e5629);}(_0x1489,0x97));var _0x9148=function(_0x35c990,_0x51d242){_0x35c990=_0x35c990-0x0;var _0x340044=_0x1489[_0x35c990];return _0x340044;};'use strict';var Sequelize=require(_0x9148('0x0'));module[_0x9148('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x9148('0x2')](_0x9148('0x3'),'thumb'),'defaultValue':'star'},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x9148('0x4')]},'disposition':{'type':Sequelize[_0x9148('0x5')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x9148('0x5')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x9148('0x5')]},'deviceVendor':{'type':Sequelize[_0x9148('0x5')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0x9148('0x6')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x9148('0x6')](_0x9148('0x7'))},'read1stAt':{'type':Sequelize[_0x9148('0x4')]},'lastMsgAt':{'type':Sequelize[_0x9148('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x9148('0x2')]('in',_0x9148('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x9148('0x5')]},'vidaooSessionId':{'type':Sequelize[_0x9148('0x6')]}};