Built motion from commit (unavailable).|2.5.3
[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 _0xf0fd=['star','thumb','TEXT','STRING','DATE','long','ENUM','out','sequelize','BOOLEAN'];(function(_0x5de967,_0x515918){var _0x5b07a3=function(_0x563020){while(--_0x563020){_0x5de967['push'](_0x5de967['shift']());}};_0x5b07a3(++_0x515918);}(_0xf0fd,0x102));var _0xdf0f=function(_0xe7c9bc,_0x23e87a){_0xe7c9bc=_0xe7c9bc-0x0;var _0x281921=_0xf0fd[_0xe7c9bc];return _0x281921;};'use strict';var Sequelize=require(_0xdf0f('0x0'));module['exports']={'closed':{'type':Sequelize[_0xdf0f('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize['ENUM'](_0xdf0f('0x2'),_0xdf0f('0x3')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0xdf0f('0x4')]},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize[_0xdf0f('0x5')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xdf0f('0x6')]},'disposition':{'type':Sequelize[_0xdf0f('0x5')]},'note':{'type':Sequelize[_0xdf0f('0x5')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0xdf0f('0x5')]},'osName':{'type':Sequelize[_0xdf0f('0x5')]},'osVersion':{'type':Sequelize[_0xdf0f('0x5')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0xdf0f('0x5')]},'deviceType':{'type':Sequelize[_0xdf0f('0x5')]},'referer':{'type':Sequelize[_0xdf0f('0x4')]},'customerIp':{'type':Sequelize[_0xdf0f('0x5')]},'formData':{'type':Sequelize['TEXT'](_0xdf0f('0x7'))},'read1stAt':{'type':Sequelize[_0xdf0f('0x6')]},'lastMsgAt':{'type':Sequelize[_0xdf0f('0x6')]},'lastMsgDirection':{'type':Sequelize[_0xdf0f('0x8')]('in',_0xdf0f('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0xdf0f('0x5')]},'vidaooSessionId':{'type':Sequelize[_0xdf0f('0x4')]}};