44e24c619be42ced2a21d6a76502fc29aa3e65b7
[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 _0x1217=['exports','BOOLEAN','INTEGER','ENUM','star','thumb','TEXT','STRING','DATE','out','sequelize'];(function(_0x1d50f2,_0x3c3ec6){var _0x3769b8=function(_0x50926a){while(--_0x50926a){_0x1d50f2['push'](_0x1d50f2['shift']());}};_0x3769b8(++_0x3c3ec6);}(_0x1217,0x112));var _0x7121=function(_0x5ac50a,_0x208248){_0x5ac50a=_0x5ac50a-0x0;var _0x17a9db=_0x1217[_0x5ac50a];return _0x17a9db;};'use strict';var Sequelize=require(_0x7121('0x0'));module[_0x7121('0x1')]={'closed':{'type':Sequelize[_0x7121('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x7121('0x3')]},'ratingType':{'type':Sequelize[_0x7121('0x4')](_0x7121('0x5'),_0x7121('0x6')),'defaultValue':_0x7121('0x5')},'ratingMessage':{'type':Sequelize[_0x7121('0x7')]},'pathTranscript':{'type':Sequelize[_0x7121('0x7')]},'mailTranscript':{'type':Sequelize[_0x7121('0x8')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x7121('0x8')]},'secondDisposition':{'type':Sequelize[_0x7121('0x8')]},'thirdDisposition':{'type':Sequelize[_0x7121('0x8')]},'note':{'type':Sequelize[_0x7121('0x8')]},'browserName':{'type':Sequelize[_0x7121('0x8')]},'browserVersion':{'type':Sequelize[_0x7121('0x8')]},'osName':{'type':Sequelize[_0x7121('0x8')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x7121('0x8')]},'deviceVendor':{'type':Sequelize[_0x7121('0x8')]},'deviceType':{'type':Sequelize[_0x7121('0x8')]},'referer':{'type':Sequelize[_0x7121('0x7')]},'customerIp':{'type':Sequelize[_0x7121('0x8')]},'formData':{'type':Sequelize[_0x7121('0x7')]('long')},'read1stAt':{'type':Sequelize[_0x7121('0x9')]},'lastMsgAt':{'type':Sequelize[_0x7121('0x9')]},'lastMsgDirection':{'type':Sequelize[_0x7121('0x4')]('in',_0x7121('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x7121('0x8')]},'customerPort':{'type':Sequelize[_0x7121('0x8')]},'vidaooSessionId':{'type':Sequelize[_0x7121('0x7')]}};