Built motion from commit e1760111.|2.6.18
[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 _0xb688=['INTEGER','ENUM','star','thumb','TEXT','STRING','DATE','long','out','exports','BOOLEAN'];(function(_0x1af71a,_0x1d18ee){var _0x3acd6a=function(_0x3b7233){while(--_0x3b7233){_0x1af71a['push'](_0x1af71a['shift']());}};_0x3acd6a(++_0x1d18ee);}(_0xb688,0xcf));var _0x8b68=function(_0x1f5795,_0x5280b9){_0x1f5795=_0x1f5795-0x0;var _0x1786ae=_0xb688[_0x1f5795];return _0x1786ae;};'use strict';var Sequelize=require('sequelize');module[_0x8b68('0x0')]={'closed':{'type':Sequelize[_0x8b68('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x8b68('0x2')]},'ratingType':{'type':Sequelize[_0x8b68('0x3')](_0x8b68('0x4'),_0x8b68('0x5')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0x8b68('0x6')]},'pathTranscript':{'type':Sequelize[_0x8b68('0x6')]},'mailTranscript':{'type':Sequelize[_0x8b68('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x8b68('0x8')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x8b68('0x7')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x8b68('0x7')]},'browserName':{'type':Sequelize[_0x8b68('0x7')]},'browserVersion':{'type':Sequelize[_0x8b68('0x7')]},'osName':{'type':Sequelize[_0x8b68('0x7')]},'osVersion':{'type':Sequelize[_0x8b68('0x7')]},'deviceModel':{'type':Sequelize[_0x8b68('0x7')]},'deviceVendor':{'type':Sequelize[_0x8b68('0x7')]},'deviceType':{'type':Sequelize[_0x8b68('0x7')]},'referer':{'type':Sequelize[_0x8b68('0x6')]},'customerIp':{'type':Sequelize[_0x8b68('0x7')]},'formData':{'type':Sequelize[_0x8b68('0x6')](_0x8b68('0x9'))},'read1stAt':{'type':Sequelize[_0x8b68('0x8')]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x8b68('0x3')]('in',_0x8b68('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x8b68('0x7')]},'customerPort':{'type':Sequelize[_0x8b68('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x8b68('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0x8b68('0x1')],'defaultValue':![]}};