5b99f1c06b123906f447a3b4d18a01d98835a549
[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 _0x7275=['STRING','long','DATE','out','sequelize','exports','BOOLEAN','ENUM','thumb','star','TEXT'];(function(_0x5e2e26,_0x4652b7){var _0x5531be=function(_0x5a739a){while(--_0x5a739a){_0x5e2e26['push'](_0x5e2e26['shift']());}};_0x5531be(++_0x4652b7);}(_0x7275,0x143));var _0x5727=function(_0x48cb69,_0x583eef){_0x48cb69=_0x48cb69-0x0;var _0x248a11=_0x7275[_0x48cb69];return _0x248a11;};'use strict';var Sequelize=require(_0x5727('0x0'));module[_0x5727('0x1')]={'closed':{'type':Sequelize[_0x5727('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x5727('0x3')]('star',_0x5727('0x4')),'defaultValue':_0x5727('0x5')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x5727('0x6')]},'mailTranscript':{'type':Sequelize[_0x5727('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x5727('0x7')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0x5727('0x7')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x5727('0x7')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x5727('0x7')]},'deviceVendor':{'type':Sequelize[_0x5727('0x7')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0x5727('0x6')]},'customerIp':{'type':Sequelize[_0x5727('0x7')]},'formData':{'type':Sequelize['TEXT'](_0x5727('0x8'))},'read1stAt':{'type':Sequelize[_0x5727('0x9')]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x5727('0x3')]('in',_0x5727('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x5727('0x7')]},'customerPort':{'type':Sequelize[_0x5727('0x7')]},'vidaooSessionId':{'type':Sequelize[_0x5727('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0x5727('0x2')],'defaultValue':![]}};