fa990c0178b994e3c4337fbb0dca22f82d973b93
[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 _0x7fbe=['exports','INTEGER','ENUM','star','thumb','TEXT','STRING','long','DATE','out','sequelize'];(function(_0x2aa91e,_0x380411){var _0x1c8143=function(_0x2df28c){while(--_0x2df28c){_0x2aa91e['push'](_0x2aa91e['shift']());}};_0x1c8143(++_0x380411);}(_0x7fbe,0x1cd));var _0xe7fb=function(_0x1bef07,_0x2a4e64){_0x1bef07=_0x1bef07-0x0;var _0x29edf6=_0x7fbe[_0x1bef07];return _0x29edf6;};'use strict';var Sequelize=require(_0xe7fb('0x0'));module[_0xe7fb('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xe7fb('0x2')]},'ratingType':{'type':Sequelize[_0xe7fb('0x3')](_0xe7fb('0x4'),_0xe7fb('0x5')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0xe7fb('0x6')]},'mailTranscript':{'type':Sequelize[_0xe7fb('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xe7fb('0x7')]},'secondDisposition':{'type':Sequelize[_0xe7fb('0x7')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0xe7fb('0x7')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0xe7fb('0x7')]},'deviceVendor':{'type':Sequelize[_0xe7fb('0x7')]},'deviceType':{'type':Sequelize[_0xe7fb('0x7')]},'referer':{'type':Sequelize[_0xe7fb('0x6')]},'customerIp':{'type':Sequelize[_0xe7fb('0x7')]},'formData':{'type':Sequelize[_0xe7fb('0x6')](_0xe7fb('0x8'))},'read1stAt':{'type':Sequelize[_0xe7fb('0x9')]},'lastMsgAt':{'type':Sequelize[_0xe7fb('0x9')]},'lastMsgDirection':{'type':Sequelize[_0xe7fb('0x3')]('in',_0xe7fb('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xe7fb('0x7')]},'customerPort':{'type':Sequelize[_0xe7fb('0x7')]},'vidaooSessionId':{'type':Sequelize[_0xe7fb('0x6')]}};