Built motion from commit f74363e9.|2.6.34
[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 _0x7a95=['TEXT','DATE','STRING','long','out','sequelize','BOOLEAN','INTEGER','ENUM','star'];(function(_0x2a12a9,_0x24894c){var _0x3ad131=function(_0x11186b){while(--_0x11186b){_0x2a12a9['push'](_0x2a12a9['shift']());}};_0x3ad131(++_0x24894c);}(_0x7a95,0x181));var _0x57a9=function(_0x56582c,_0x38e75d){_0x56582c=_0x56582c-0x0;var _0x3d5e3a=_0x7a95[_0x56582c];return _0x3d5e3a;};'use strict';var Sequelize=require(_0x57a9('0x0'));module['exports']={'closed':{'type':Sequelize[_0x57a9('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x57a9('0x2')]},'ratingType':{'type':Sequelize[_0x57a9('0x3')](_0x57a9('0x4'),'thumb'),'defaultValue':_0x57a9('0x4')},'ratingMessage':{'type':Sequelize[_0x57a9('0x5')]},'pathTranscript':{'type':Sequelize[_0x57a9('0x5')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x57a9('0x6')]},'disposition':{'type':Sequelize[_0x57a9('0x7')]},'secondDisposition':{'type':Sequelize[_0x57a9('0x7')]},'thirdDisposition':{'type':Sequelize[_0x57a9('0x7')]},'note':{'type':Sequelize[_0x57a9('0x7')]},'browserName':{'type':Sequelize[_0x57a9('0x7')]},'browserVersion':{'type':Sequelize[_0x57a9('0x7')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0x57a9('0x7')]},'deviceType':{'type':Sequelize[_0x57a9('0x7')]},'referer':{'type':Sequelize[_0x57a9('0x5')]},'customerIp':{'type':Sequelize[_0x57a9('0x7')]},'formData':{'type':Sequelize[_0x57a9('0x5')](_0x57a9('0x8'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0x57a9('0x6')]},'lastMsgDirection':{'type':Sequelize[_0x57a9('0x3')]('in',_0x57a9('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x57a9('0x7')]},'customerPort':{'type':Sequelize[_0x57a9('0x7')]},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueId':{'type':Sequelize[_0x57a9('0x2')]}};