0dfa2ef4a2bbd46a6fcfa3b6b4c711c37f46a785
[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 _0x529f=['BOOLEAN','sequelize','exports','INTEGER','ENUM','star','thumb','TEXT','STRING','DATE','long','out'];(function(_0xa726f,_0x10bfda){var _0x5b277e=function(_0x1062bd){while(--_0x1062bd){_0xa726f['push'](_0xa726f['shift']());}};_0x5b277e(++_0x10bfda);}(_0x529f,0xcd));var _0xf529=function(_0x567584,_0x4123f0){_0x567584=_0x567584-0x0;var _0x54ef74=_0x529f[_0x567584];return _0x54ef74;};'use strict';var Sequelize=require(_0xf529('0x0'));module[_0xf529('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xf529('0x2')]},'ratingType':{'type':Sequelize[_0xf529('0x3')](_0xf529('0x4'),_0xf529('0x5')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0xf529('0x6')]},'pathTranscript':{'type':Sequelize[_0xf529('0x6')]},'mailTranscript':{'type':Sequelize[_0xf529('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xf529('0x8')]},'disposition':{'type':Sequelize[_0xf529('0x7')]},'secondDisposition':{'type':Sequelize[_0xf529('0x7')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xf529('0x7')]},'browserName':{'type':Sequelize[_0xf529('0x7')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0xf529('0x7')]},'osVersion':{'type':Sequelize[_0xf529('0x7')]},'deviceModel':{'type':Sequelize[_0xf529('0x7')]},'deviceVendor':{'type':Sequelize[_0xf529('0x7')]},'deviceType':{'type':Sequelize[_0xf529('0x7')]},'referer':{'type':Sequelize[_0xf529('0x6')]},'customerIp':{'type':Sequelize[_0xf529('0x7')]},'formData':{'type':Sequelize[_0xf529('0x6')](_0xf529('0x9'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0xf529('0x8')]},'lastMsgDirection':{'type':Sequelize[_0xf529('0x3')]('in',_0xf529('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xf529('0x7')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize[_0xf529('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0xf529('0xb')],'defaultValue':![]},'queueId':{'type':Sequelize['INTEGER']}};