Built motion from commit 52c8a02d.|2.6.29
[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 _0x31a1=['thumb','TEXT','STRING','long','DATE','out','exports','BOOLEAN','INTEGER','ENUM','star'];(function(_0x17ea3c,_0x2f2f05){var _0x1cfa0f=function(_0x32fbd6){while(--_0x32fbd6){_0x17ea3c['push'](_0x17ea3c['shift']());}};_0x1cfa0f(++_0x2f2f05);}(_0x31a1,0x17c));var _0x131a=function(_0x5d2803,_0xf375bd){_0x5d2803=_0x5d2803-0x0;var _0xdcad2c=_0x31a1[_0x5d2803];return _0xdcad2c;};'use strict';var Sequelize=require('sequelize');module[_0x131a('0x0')]={'closed':{'type':Sequelize[_0x131a('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x131a('0x2')]},'ratingType':{'type':Sequelize[_0x131a('0x3')](_0x131a('0x4'),_0x131a('0x5')),'defaultValue':_0x131a('0x4')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x131a('0x6')]},'mailTranscript':{'type':Sequelize[_0x131a('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x131a('0x7')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0x131a('0x7')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x131a('0x7')]},'osVersion':{'type':Sequelize[_0x131a('0x7')]},'deviceModel':{'type':Sequelize[_0x131a('0x7')]},'deviceVendor':{'type':Sequelize[_0x131a('0x7')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0x131a('0x6')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x131a('0x6')](_0x131a('0x8'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0x131a('0x9')]},'lastMsgDirection':{'type':Sequelize[_0x131a('0x3')]('in',_0x131a('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x131a('0x7')]},'customerPort':{'type':Sequelize[_0x131a('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x131a('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0x131a('0x1')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x131a('0x2')]}};