Built motion from commit (unavailable).|2.5.25
[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 _0x09e8=['long','out','exports','BOOLEAN','ENUM','star','thumb','TEXT','STRING','DATE'];(function(_0x3e6f57,_0x32d87d){var _0x5cc825=function(_0x2d6e97){while(--_0x2d6e97){_0x3e6f57['push'](_0x3e6f57['shift']());}};_0x5cc825(++_0x32d87d);}(_0x09e8,0x138));var _0x809e=function(_0x3bde9f,_0x44595f){_0x3bde9f=_0x3bde9f-0x0;var _0x37962f=_0x09e8[_0x3bde9f];return _0x37962f;};'use strict';var Sequelize=require('sequelize');module[_0x809e('0x0')]={'closed':{'type':Sequelize[_0x809e('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x809e('0x2')](_0x809e('0x3'),_0x809e('0x4')),'defaultValue':_0x809e('0x3')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x809e('0x5')]},'mailTranscript':{'type':Sequelize[_0x809e('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x809e('0x7')]},'disposition':{'type':Sequelize[_0x809e('0x6')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x809e('0x6')]},'note':{'type':Sequelize[_0x809e('0x6')]},'browserName':{'type':Sequelize[_0x809e('0x6')]},'browserVersion':{'type':Sequelize[_0x809e('0x6')]},'osName':{'type':Sequelize[_0x809e('0x6')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x809e('0x6')]},'deviceVendor':{'type':Sequelize[_0x809e('0x6')]},'deviceType':{'type':Sequelize[_0x809e('0x6')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0x809e('0x6')]},'formData':{'type':Sequelize[_0x809e('0x5')](_0x809e('0x8'))},'read1stAt':{'type':Sequelize[_0x809e('0x7')]},'lastMsgAt':{'type':Sequelize[_0x809e('0x7')]},'lastMsgDirection':{'type':Sequelize[_0x809e('0x2')]('in',_0x809e('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x809e('0x6')]},'customerPort':{'type':Sequelize[_0x809e('0x6')]},'vidaooSessionId':{'type':Sequelize[_0x809e('0x5')]}};