Built motion from commit 9d1906d1.|2.5.40
[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 _0x7af2=['out','exports','BOOLEAN','INTEGER','ENUM','thumb','star','TEXT','STRING','DATE'];(function(_0x3bca00,_0x24e422){var _0x36dd0d=function(_0x2ea47d){while(--_0x2ea47d){_0x3bca00['push'](_0x3bca00['shift']());}};_0x36dd0d(++_0x24e422);}(_0x7af2,0x119));var _0x27af=function(_0xd2ccbf,_0x3f652a){_0xd2ccbf=_0xd2ccbf-0x0;var _0x54c987=_0x7af2[_0xd2ccbf];return _0x54c987;};'use strict';var Sequelize=require('sequelize');module[_0x27af('0x0')]={'closed':{'type':Sequelize[_0x27af('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x27af('0x2')]},'ratingType':{'type':Sequelize[_0x27af('0x3')]('star',_0x27af('0x4')),'defaultValue':_0x27af('0x5')},'ratingMessage':{'type':Sequelize[_0x27af('0x6')]},'pathTranscript':{'type':Sequelize[_0x27af('0x6')]},'mailTranscript':{'type':Sequelize[_0x27af('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x27af('0x8')]},'disposition':{'type':Sequelize[_0x27af('0x7')]},'secondDisposition':{'type':Sequelize[_0x27af('0x7')]},'thirdDisposition':{'type':Sequelize[_0x27af('0x7')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize[_0x27af('0x7')]},'browserVersion':{'type':Sequelize[_0x27af('0x7')]},'osName':{'type':Sequelize[_0x27af('0x7')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x27af('0x7')]},'deviceVendor':{'type':Sequelize[_0x27af('0x7')]},'deviceType':{'type':Sequelize[_0x27af('0x7')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0x27af('0x7')]},'formData':{'type':Sequelize['TEXT']('long')},'read1stAt':{'type':Sequelize[_0x27af('0x8')]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x27af('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x27af('0x7')]},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize[_0x27af('0x1')],'defaultValue':![]}};