5f18a7045f457ad8dd9b70a7cd1e269648982bba
[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 _0xb889=['TEXT','STRING','long','DATE','ENUM','out','sequelize','exports','INTEGER','star'];(function(_0x404da7,_0x51a6ba){var _0xefb28c=function(_0x5301c9){while(--_0x5301c9){_0x404da7['push'](_0x404da7['shift']());}};_0xefb28c(++_0x51a6ba);}(_0xb889,0x10a));var _0x9b88=function(_0x39e283,_0x247e6b){_0x39e283=_0x39e283-0x0;var _0x7de89f=_0xb889[_0x39e283];return _0x7de89f;};'use strict';var Sequelize=require(_0x9b88('0x0'));module[_0x9b88('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x9b88('0x2')]},'ratingType':{'type':Sequelize['ENUM'](_0x9b88('0x3'),'thumb'),'defaultValue':'star'},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0x9b88('0x4')]},'mailTranscript':{'type':Sequelize[_0x9b88('0x5')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x9b88('0x5')]},'thirdDisposition':{'type':Sequelize[_0x9b88('0x5')]},'note':{'type':Sequelize[_0x9b88('0x5')]},'browserName':{'type':Sequelize[_0x9b88('0x5')]},'browserVersion':{'type':Sequelize[_0x9b88('0x5')]},'osName':{'type':Sequelize[_0x9b88('0x5')]},'osVersion':{'type':Sequelize[_0x9b88('0x5')]},'deviceModel':{'type':Sequelize[_0x9b88('0x5')]},'deviceVendor':{'type':Sequelize[_0x9b88('0x5')]},'deviceType':{'type':Sequelize[_0x9b88('0x5')]},'referer':{'type':Sequelize[_0x9b88('0x4')]},'customerIp':{'type':Sequelize[_0x9b88('0x5')]},'formData':{'type':Sequelize[_0x9b88('0x4')](_0x9b88('0x6'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0x9b88('0x7')]},'lastMsgDirection':{'type':Sequelize[_0x9b88('0x8')]('in',_0x9b88('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x9b88('0x5')]},'vidaooSessionId':{'type':Sequelize[_0x9b88('0x4')]}};