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