26d2e52fbd93a69286df7580e3a8a7c470a372cd
[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 _0x1eec=['INTEGER','star','thumb','TEXT','STRING','long','DATE','exports'];(function(_0x37fea9,_0x563709){var _0x2d31b4=function(_0x10ed27){while(--_0x10ed27){_0x37fea9['push'](_0x37fea9['shift']());}};_0x2d31b4(++_0x563709);}(_0x1eec,0x1bf));var _0xc1ee=function(_0x25e7cb,_0x3579b7){_0x25e7cb=_0x25e7cb-0x0;var _0x375d92=_0x1eec[_0x25e7cb];return _0x375d92;};'use strict';var Sequelize=require('sequelize');module[_0xc1ee('0x0')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xc1ee('0x1')]},'ratingType':{'type':Sequelize['ENUM'](_0xc1ee('0x2'),_0xc1ee('0x3')),'defaultValue':_0xc1ee('0x2')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0xc1ee('0x4')]},'mailTranscript':{'type':Sequelize[_0xc1ee('0x5')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xc1ee('0x5')]},'browserName':{'type':Sequelize[_0xc1ee('0x5')]},'browserVersion':{'type':Sequelize[_0xc1ee('0x5')]},'osName':{'type':Sequelize[_0xc1ee('0x5')]},'osVersion':{'type':Sequelize[_0xc1ee('0x5')]},'deviceModel':{'type':Sequelize[_0xc1ee('0x5')]},'deviceVendor':{'type':Sequelize[_0xc1ee('0x5')]},'deviceType':{'type':Sequelize[_0xc1ee('0x5')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0xc1ee('0x5')]},'formData':{'type':Sequelize[_0xc1ee('0x4')](_0xc1ee('0x6'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0xc1ee('0x7')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xc1ee('0x5')]},'customerPort':{'type':Sequelize['STRING']}};