7ef9a110eb17d4e04f8c1c4c63f5fed454d06b45
[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 _0xbc9d=['sequelize','exports','BOOLEAN','INTEGER','ENUM','TEXT','STRING','DATE','long','out'];(function(_0x361769,_0x30568b){var _0x2f771d=function(_0x589a78){while(--_0x589a78){_0x361769['push'](_0x361769['shift']());}};_0x2f771d(++_0x30568b);}(_0xbc9d,0xb4));var _0xdbc9=function(_0x45adba,_0x3064c4){_0x45adba=_0x45adba-0x0;var _0x3f405e=_0xbc9d[_0x45adba];return _0x3f405e;};'use strict';var Sequelize=require(_0xdbc9('0x0'));module[_0xdbc9('0x1')]={'closed':{'type':Sequelize[_0xdbc9('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xdbc9('0x3')]},'ratingType':{'type':Sequelize[_0xdbc9('0x4')]('star','thumb'),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0xdbc9('0x5')]},'pathTranscript':{'type':Sequelize[_0xdbc9('0x5')]},'mailTranscript':{'type':Sequelize[_0xdbc9('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xdbc9('0x7')]},'disposition':{'type':Sequelize[_0xdbc9('0x6')]},'secondDisposition':{'type':Sequelize[_0xdbc9('0x6')]},'thirdDisposition':{'type':Sequelize[_0xdbc9('0x6')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0xdbc9('0x6')]},'browserVersion':{'type':Sequelize[_0xdbc9('0x6')]},'osName':{'type':Sequelize[_0xdbc9('0x6')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0xdbc9('0x6')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0xdbc9('0x5')]},'customerIp':{'type':Sequelize[_0xdbc9('0x6')]},'formData':{'type':Sequelize[_0xdbc9('0x5')](_0xdbc9('0x8'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0xdbc9('0x7')]},'lastMsgDirection':{'type':Sequelize[_0xdbc9('0x4')]('in',_0xdbc9('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xdbc9('0x6')]},'customerPort':{'type':Sequelize[_0xdbc9('0x6')]},'vidaooSessionId':{'type':Sequelize[_0xdbc9('0x5')]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};