fc21cd08b82e601ad37d448c58cdbaa9546bd605
[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 _0x501b=['ENUM','star','thumb','TEXT','STRING','DATE','long','out','sequelize','exports'];(function(_0x479094,_0x1acf90){var _0x1c1d9c=function(_0x560ef9){while(--_0x560ef9){_0x479094['push'](_0x479094['shift']());}};_0x1c1d9c(++_0x1acf90);}(_0x501b,0x13e));var _0xb501=function(_0x13b52c,_0x41a79b){_0x13b52c=_0x13b52c-0x0;var _0x36e762=_0x501b[_0x13b52c];return _0x36e762;};'use strict';var Sequelize=require(_0xb501('0x0'));module[_0xb501('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0xb501('0x2')](_0xb501('0x3'),_0xb501('0x4')),'defaultValue':_0xb501('0x3')},'ratingMessage':{'type':Sequelize[_0xb501('0x5')]},'pathTranscript':{'type':Sequelize[_0xb501('0x5')]},'mailTranscript':{'type':Sequelize[_0xb501('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xb501('0x7')]},'disposition':{'type':Sequelize[_0xb501('0x6')]},'secondDisposition':{'type':Sequelize[_0xb501('0x6')]},'thirdDisposition':{'type':Sequelize[_0xb501('0x6')]},'note':{'type':Sequelize[_0xb501('0x6')]},'browserName':{'type':Sequelize[_0xb501('0x6')]},'browserVersion':{'type':Sequelize[_0xb501('0x6')]},'osName':{'type':Sequelize[_0xb501('0x6')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0xb501('0x6')]},'deviceVendor':{'type':Sequelize[_0xb501('0x6')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0xb501('0x6')]},'formData':{'type':Sequelize[_0xb501('0x5')](_0xb501('0x8'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0xb501('0x7')]},'lastMsgDirection':{'type':Sequelize[_0xb501('0x2')]('in',_0xb501('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xb501('0x6')]},'customerPort':{'type':Sequelize[_0xb501('0x6')]},'vidaooSessionId':{'type':Sequelize[_0xb501('0x5')]}};