0a742fa8b45dcabd26e5ddda1abf2dc4112803bd
[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 _0x8312=['TEXT','STRING','DATE','long','out','exports','BOOLEAN','INTEGER','ENUM','star','thumb'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x8312,0x94));var _0x2831=function(_0x5573fe,_0x3207e2){_0x5573fe=_0x5573fe-0x0;var _0x19b5fa=_0x8312[_0x5573fe];return _0x19b5fa;};'use strict';var Sequelize=require('sequelize');module[_0x2831('0x0')]={'closed':{'type':Sequelize[_0x2831('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x2831('0x2')]},'ratingType':{'type':Sequelize[_0x2831('0x3')](_0x2831('0x4'),_0x2831('0x5')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0x2831('0x6')]},'pathTranscript':{'type':Sequelize[_0x2831('0x6')]},'mailTranscript':{'type':Sequelize[_0x2831('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x2831('0x8')]},'disposition':{'type':Sequelize[_0x2831('0x7')]},'secondDisposition':{'type':Sequelize[_0x2831('0x7')]},'thirdDisposition':{'type':Sequelize[_0x2831('0x7')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0x2831('0x7')]},'browserVersion':{'type':Sequelize[_0x2831('0x7')]},'osName':{'type':Sequelize[_0x2831('0x7')]},'osVersion':{'type':Sequelize[_0x2831('0x7')]},'deviceModel':{'type':Sequelize[_0x2831('0x7')]},'deviceVendor':{'type':Sequelize[_0x2831('0x7')]},'deviceType':{'type':Sequelize[_0x2831('0x7')]},'referer':{'type':Sequelize[_0x2831('0x6')]},'customerIp':{'type':Sequelize[_0x2831('0x7')]},'formData':{'type':Sequelize[_0x2831('0x6')](_0x2831('0x9'))},'read1stAt':{'type':Sequelize[_0x2831('0x8')]},'lastMsgAt':{'type':Sequelize[_0x2831('0x8')]},'lastMsgDirection':{'type':Sequelize[_0x2831('0x3')]('in',_0x2831('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x2831('0x7')]},'customerPort':{'type':Sequelize[_0x2831('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x2831('0x6')]}};