499ea7230bf3cdbca87f97e4f2dad0a6431cf835
[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 _0xaf4c=['long','DATE','out','exports','BOOLEAN','ENUM','star','thumb','TEXT','STRING'];(function(_0x515b35,_0x570c68){var _0x209ece=function(_0x4f4537){while(--_0x4f4537){_0x515b35['push'](_0x515b35['shift']());}};_0x209ece(++_0x570c68);}(_0xaf4c,0x1ed));var _0xcaf4=function(_0x3533cf,_0x4bd5e3){_0x3533cf=_0x3533cf-0x0;var _0x30eb32=_0xaf4c[_0x3533cf];return _0x30eb32;};'use strict';var Sequelize=require('sequelize');module[_0xcaf4('0x0')]={'closed':{'type':Sequelize[_0xcaf4('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0xcaf4('0x2')](_0xcaf4('0x3'),_0xcaf4('0x4')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0xcaf4('0x5')]},'pathTranscript':{'type':Sequelize[_0xcaf4('0x5')]},'mailTranscript':{'type':Sequelize[_0xcaf4('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xcaf4('0x6')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xcaf4('0x6')]},'note':{'type':Sequelize[_0xcaf4('0x6')]},'browserName':{'type':Sequelize[_0xcaf4('0x6')]},'browserVersion':{'type':Sequelize[_0xcaf4('0x6')]},'osName':{'type':Sequelize[_0xcaf4('0x6')]},'osVersion':{'type':Sequelize[_0xcaf4('0x6')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0xcaf4('0x6')]},'referer':{'type':Sequelize[_0xcaf4('0x5')]},'customerIp':{'type':Sequelize[_0xcaf4('0x6')]},'formData':{'type':Sequelize[_0xcaf4('0x5')](_0xcaf4('0x7'))},'read1stAt':{'type':Sequelize[_0xcaf4('0x8')]},'lastMsgAt':{'type':Sequelize[_0xcaf4('0x8')]},'lastMsgDirection':{'type':Sequelize[_0xcaf4('0x2')]('in',_0xcaf4('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0xcaf4('0x6')]},'vidaooSessionId':{'type':Sequelize[_0xcaf4('0x5')]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};