ce725e371f7d72487c9f8195f28bf39a6cd38e06
[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 _0xa239=['thumb','star','TEXT','STRING','DATE','long','out','sequelize','BOOLEAN','INTEGER','ENUM'];(function(_0x317204,_0x3a8d53){var _0x29bed7=function(_0x29c8a5){while(--_0x29c8a5){_0x317204['push'](_0x317204['shift']());}};_0x29bed7(++_0x3a8d53);}(_0xa239,0x96));var _0x9a23=function(_0x25c476,_0x47ad6d){_0x25c476=_0x25c476-0x0;var _0x4640b4=_0xa239[_0x25c476];return _0x4640b4;};'use strict';var Sequelize=require(_0x9a23('0x0'));module['exports']={'closed':{'type':Sequelize[_0x9a23('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x9a23('0x2')]},'ratingType':{'type':Sequelize[_0x9a23('0x3')]('star',_0x9a23('0x4')),'defaultValue':_0x9a23('0x5')},'ratingMessage':{'type':Sequelize[_0x9a23('0x6')]},'pathTranscript':{'type':Sequelize[_0x9a23('0x6')]},'mailTranscript':{'type':Sequelize[_0x9a23('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x9a23('0x8')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x9a23('0x7')]},'thirdDisposition':{'type':Sequelize[_0x9a23('0x7')]},'note':{'type':Sequelize[_0x9a23('0x7')]},'browserName':{'type':Sequelize[_0x9a23('0x7')]},'browserVersion':{'type':Sequelize[_0x9a23('0x7')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0x9a23('0x7')]},'deviceModel':{'type':Sequelize[_0x9a23('0x7')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0x9a23('0x6')]},'customerIp':{'type':Sequelize[_0x9a23('0x7')]},'formData':{'type':Sequelize[_0x9a23('0x6')](_0x9a23('0x9'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0x9a23('0x8')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x9a23('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x9a23('0x7')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize[_0x9a23('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0x9a23('0x1')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x9a23('0x2')]}};