Built motion from commit bab6f49e.|2.6.17
[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 _0x9780=['ENUM','star','thumb','TEXT','STRING','DATE','long','out','BOOLEAN','INTEGER'];(function(_0x41c849,_0x27089d){var _0x270b1e=function(_0x47e33a){while(--_0x47e33a){_0x41c849['push'](_0x41c849['shift']());}};_0x270b1e(++_0x27089d);}(_0x9780,0x1d4));var _0x0978=function(_0x5b080b,_0xe34631){_0x5b080b=_0x5b080b-0x0;var _0x3d724c=_0x9780[_0x5b080b];return _0x3d724c;};'use strict';var Sequelize=require('sequelize');module['exports']={'closed':{'type':Sequelize[_0x0978('0x0')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x0978('0x1')]},'ratingType':{'type':Sequelize[_0x0978('0x2')](_0x0978('0x3'),_0x0978('0x4')),'defaultValue':_0x0978('0x3')},'ratingMessage':{'type':Sequelize[_0x0978('0x5')]},'pathTranscript':{'type':Sequelize[_0x0978('0x5')]},'mailTranscript':{'type':Sequelize[_0x0978('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x0978('0x7')]},'disposition':{'type':Sequelize[_0x0978('0x6')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x0978('0x6')]},'note':{'type':Sequelize[_0x0978('0x6')]},'browserName':{'type':Sequelize[_0x0978('0x6')]},'browserVersion':{'type':Sequelize[_0x0978('0x6')]},'osName':{'type':Sequelize[_0x0978('0x6')]},'osVersion':{'type':Sequelize[_0x0978('0x6')]},'deviceModel':{'type':Sequelize[_0x0978('0x6')]},'deviceVendor':{'type':Sequelize[_0x0978('0x6')]},'deviceType':{'type':Sequelize[_0x0978('0x6')]},'referer':{'type':Sequelize[_0x0978('0x5')]},'customerIp':{'type':Sequelize[_0x0978('0x6')]},'formData':{'type':Sequelize['TEXT'](_0x0978('0x8'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0x0978('0x7')]},'lastMsgDirection':{'type':Sequelize[_0x0978('0x2')]('in',_0x0978('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x0978('0x6')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize[_0x0978('0x5')]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};