Built motion from commit 25580385.|2.6.2
[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 _0x95af=['exports','INTEGER','ENUM','star','thumb','TEXT','DATE','STRING','long','out','BOOLEAN','sequelize'];(function(_0x405c38,_0x2f5610){var _0x16e710=function(_0x6cb343){while(--_0x6cb343){_0x405c38['push'](_0x405c38['shift']());}};_0x16e710(++_0x2f5610);}(_0x95af,0x173));var _0xf95a=function(_0x4e676e,_0x2a7c6d){_0x4e676e=_0x4e676e-0x0;var _0x336a3c=_0x95af[_0x4e676e];return _0x336a3c;};'use strict';var Sequelize=require(_0xf95a('0x0'));module[_0xf95a('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xf95a('0x2')]},'ratingType':{'type':Sequelize[_0xf95a('0x3')](_0xf95a('0x4'),_0xf95a('0x5')),'defaultValue':_0xf95a('0x4')},'ratingMessage':{'type':Sequelize[_0xf95a('0x6')]},'pathTranscript':{'type':Sequelize[_0xf95a('0x6')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xf95a('0x7')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xf95a('0x8')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xf95a('0x8')]},'browserName':{'type':Sequelize[_0xf95a('0x8')]},'browserVersion':{'type':Sequelize[_0xf95a('0x8')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0xf95a('0x8')]},'deviceModel':{'type':Sequelize[_0xf95a('0x8')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0xf95a('0x8')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0xf95a('0x8')]},'formData':{'type':Sequelize[_0xf95a('0x6')](_0xf95a('0x9'))},'read1stAt':{'type':Sequelize[_0xf95a('0x7')]},'lastMsgAt':{'type':Sequelize[_0xf95a('0x7')]},'lastMsgDirection':{'type':Sequelize[_0xf95a('0x3')]('in',_0xf95a('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xf95a('0x8')]},'customerPort':{'type':Sequelize[_0xf95a('0x8')]},'vidaooSessionId':{'type':Sequelize[_0xf95a('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0xf95a('0xb')],'defaultValue':![]}};