70e123ea23fa1d4d30aa2d0748de42ad316f43b4
[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 _0xa7fa=['long','BOOLEAN','sequelize','INTEGER','ENUM','star','thumb','TEXT','STRING','DATE'];(function(_0x3b1743,_0x299e84){var _0x11a35e=function(_0x1da950){while(--_0x1da950){_0x3b1743['push'](_0x3b1743['shift']());}};_0x11a35e(++_0x299e84);}(_0xa7fa,0xfc));var _0xaa7f=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xa7fa[_0x14add3];return _0x4a174f;};'use strict';var Sequelize=require(_0xaa7f('0x0'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xaa7f('0x1')]},'ratingType':{'type':Sequelize[_0xaa7f('0x2')](_0xaa7f('0x3'),_0xaa7f('0x4')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0xaa7f('0x5')]},'pathTranscript':{'type':Sequelize[_0xaa7f('0x5')]},'mailTranscript':{'type':Sequelize[_0xaa7f('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xaa7f('0x7')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xaa7f('0x6')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0xaa7f('0x6')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0xaa7f('0x6')]},'osVersion':{'type':Sequelize[_0xaa7f('0x6')]},'deviceModel':{'type':Sequelize[_0xaa7f('0x6')]},'deviceVendor':{'type':Sequelize[_0xaa7f('0x6')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0xaa7f('0x5')]},'customerIp':{'type':Sequelize[_0xaa7f('0x6')]},'formData':{'type':Sequelize['TEXT'](_0xaa7f('0x8'))},'read1stAt':{'type':Sequelize[_0xaa7f('0x7')]},'lastMsgAt':{'type':Sequelize[_0xaa7f('0x7')]},'lastMsgDirection':{'type':Sequelize[_0xaa7f('0x2')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0xaa7f('0x6')]},'vidaooSessionId':{'type':Sequelize[_0xaa7f('0x5')]},'autoreplyExecuted':{'type':Sequelize[_0xaa7f('0x9')],'defaultValue':![]}};