911c8aac577ac7a80c05416e097d1ec87acd7695
[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 _0x38e6=['TEXT','STRING','ENUM','out','sequelize','exports','BOOLEAN','INTEGER','star','thumb'];(function(_0x5a18c3,_0x5c6928){var _0x3e22e7=function(_0x1cc5a5){while(--_0x1cc5a5){_0x5a18c3['push'](_0x5a18c3['shift']());}};_0x3e22e7(++_0x5c6928);}(_0x38e6,0x90));var _0x638e=function(_0x435686,_0x105683){_0x435686=_0x435686-0x0;var _0x14e285=_0x38e6[_0x435686];return _0x14e285;};'use strict';var Sequelize=require(_0x638e('0x0'));module[_0x638e('0x1')]={'closed':{'type':Sequelize[_0x638e('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x638e('0x3')]},'ratingType':{'type':Sequelize['ENUM'](_0x638e('0x4'),_0x638e('0x5')),'defaultValue':_0x638e('0x4')},'ratingMessage':{'type':Sequelize[_0x638e('0x6')]},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize[_0x638e('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x638e('0x7')]},'thirdDisposition':{'type':Sequelize[_0x638e('0x7')]},'note':{'type':Sequelize[_0x638e('0x7')]},'browserName':{'type':Sequelize[_0x638e('0x7')]},'browserVersion':{'type':Sequelize[_0x638e('0x7')]},'osName':{'type':Sequelize[_0x638e('0x7')]},'osVersion':{'type':Sequelize[_0x638e('0x7')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0x638e('0x7')]},'deviceType':{'type':Sequelize[_0x638e('0x7')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0x638e('0x7')]},'formData':{'type':Sequelize['TEXT']('long')},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x638e('0x8')]('in',_0x638e('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x638e('0x7')]},'customerPort':{'type':Sequelize[_0x638e('0x7')]},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueId':{'type':Sequelize[_0x638e('0x3')]}};