Built motion from commit 092f8824.|2.5.49
[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 _0x6215=['out','sequelize','exports','BOOLEAN','ENUM','star','thumb','TEXT','STRING','long','DATE'];(function(_0x289b89,_0x4c8079){var _0x5e94dd=function(_0x4771b0){while(--_0x4771b0){_0x289b89['push'](_0x289b89['shift']());}};_0x5e94dd(++_0x4c8079);}(_0x6215,0x198));var _0x5621=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6215[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x5621('0x0'));module[_0x5621('0x1')]={'closed':{'type':Sequelize[_0x5621('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x5621('0x3')](_0x5621('0x4'),_0x5621('0x5')),'defaultValue':_0x5621('0x4')},'ratingMessage':{'type':Sequelize[_0x5621('0x6')]},'pathTranscript':{'type':Sequelize[_0x5621('0x6')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x5621('0x7')]},'note':{'type':Sequelize[_0x5621('0x7')]},'browserName':{'type':Sequelize[_0x5621('0x7')]},'browserVersion':{'type':Sequelize[_0x5621('0x7')]},'osName':{'type':Sequelize[_0x5621('0x7')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x5621('0x7')]},'deviceVendor':{'type':Sequelize[_0x5621('0x7')]},'deviceType':{'type':Sequelize[_0x5621('0x7')]},'referer':{'type':Sequelize[_0x5621('0x6')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x5621('0x6')](_0x5621('0x8'))},'read1stAt':{'type':Sequelize[_0x5621('0x9')]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x5621('0x3')]('in',_0x5621('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x5621('0x7')]},'customerPort':{'type':Sequelize[_0x5621('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x5621('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0x5621('0x2')],'defaultValue':![]}};