Built motion from commit ab870f9e.|2.5.44
[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 _0xae87=['ENUM','star','STRING','DATE','TEXT','BOOLEAN'];(function(_0x5bfe25,_0x56a866){var _0xef7504=function(_0x1d11ac){while(--_0x1d11ac){_0x5bfe25['push'](_0x5bfe25['shift']());}};_0xef7504(++_0x56a866);}(_0xae87,0x1ce));var _0x7ae8=function(_0x2ac5f8,_0x4c3a9f){_0x2ac5f8=_0x2ac5f8-0x0;var _0x3b8229=_0xae87[_0x2ac5f8];return _0x3b8229;};'use strict';var Sequelize=require('sequelize');module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x7ae8('0x0')](_0x7ae8('0x1'),'thumb'),'defaultValue':_0x7ae8('0x1')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize[_0x7ae8('0x2')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x7ae8('0x3')]},'disposition':{'type':Sequelize[_0x7ae8('0x2')]},'secondDisposition':{'type':Sequelize[_0x7ae8('0x2')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x7ae8('0x2')]},'browserName':{'type':Sequelize[_0x7ae8('0x2')]},'browserVersion':{'type':Sequelize[_0x7ae8('0x2')]},'osName':{'type':Sequelize[_0x7ae8('0x2')]},'osVersion':{'type':Sequelize[_0x7ae8('0x2')]},'deviceModel':{'type':Sequelize[_0x7ae8('0x2')]},'deviceVendor':{'type':Sequelize[_0x7ae8('0x2')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0x7ae8('0x2')]},'formData':{'type':Sequelize[_0x7ae8('0x4')]('long')},'read1stAt':{'type':Sequelize[_0x7ae8('0x3')]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x7ae8('0x0')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x7ae8('0x2')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize[_0x7ae8('0x4')]},'autoreplyExecuted':{'type':Sequelize[_0x7ae8('0x5')],'defaultValue':![]}};