Built motion from commit (unavailable).|2.4.0
[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 _0x1be1=['thumb','TEXT','STRING','DATE','ENUM','out','BOOLEAN','INTEGER','star'];(function(_0x3c8cfb,_0x26995a){var _0x5767ea=function(_0x4aaee6){while(--_0x4aaee6){_0x3c8cfb['push'](_0x3c8cfb['shift']());}};_0x5767ea(++_0x26995a);}(_0x1be1,0x192));var _0x11be=function(_0x28da1a,_0xcb2f2){_0x28da1a=_0x28da1a-0x0;var _0x3e7bdf=_0x1be1[_0x28da1a];return _0x3e7bdf;};'use strict';var Sequelize=require('sequelize');module['exports']={'closed':{'type':Sequelize[_0x11be('0x0')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x11be('0x1')]},'ratingType':{'type':Sequelize['ENUM'](_0x11be('0x2'),_0x11be('0x3')),'defaultValue':_0x11be('0x2')},'ratingMessage':{'type':Sequelize[_0x11be('0x4')]},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize[_0x11be('0x5')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x11be('0x6')]},'disposition':{'type':Sequelize[_0x11be('0x5')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0x11be('0x5')]},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x11be('0x5')]},'osVersion':{'type':Sequelize[_0x11be('0x5')]},'deviceModel':{'type':Sequelize[_0x11be('0x5')]},'deviceVendor':{'type':Sequelize[_0x11be('0x5')]},'deviceType':{'type':Sequelize[_0x11be('0x5')]},'referer':{'type':Sequelize['STRING']},'customerIp':{'type':Sequelize[_0x11be('0x5')]},'formData':{'type':Sequelize[_0x11be('0x4')]('long')},'read1stAt':{'type':Sequelize[_0x11be('0x6')]},'lastMsgAt':{'type':Sequelize[_0x11be('0x6')]},'lastMsgDirection':{'type':Sequelize[_0x11be('0x7')]('in',_0x11be('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']}};