Built motion from commit (unavailable).|2.5.4
[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 _0x2aa7=['TEXT','STRING','long','DATE','ENUM','out','exports','INTEGER','thumb'];(function(_0x5e8b46,_0x21eb4a){var _0x252814=function(_0x327288){while(--_0x327288){_0x5e8b46['push'](_0x5e8b46['shift']());}};_0x252814(++_0x21eb4a);}(_0x2aa7,0x1a4));var _0x72aa=function(_0x4307e0,_0x57a10f){_0x4307e0=_0x4307e0-0x0;var _0x114911=_0x2aa7[_0x4307e0];return _0x114911;};'use strict';var Sequelize=require('sequelize');module[_0x72aa('0x0')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x72aa('0x1')]},'ratingType':{'type':Sequelize['ENUM']('star',_0x72aa('0x2')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0x72aa('0x3')]},'pathTranscript':{'type':Sequelize[_0x72aa('0x3')]},'mailTranscript':{'type':Sequelize[_0x72aa('0x4')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x72aa('0x4')]},'note':{'type':Sequelize[_0x72aa('0x4')]},'browserName':{'type':Sequelize[_0x72aa('0x4')]},'browserVersion':{'type':Sequelize[_0x72aa('0x4')]},'osName':{'type':Sequelize[_0x72aa('0x4')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x72aa('0x4')]},'deviceVendor':{'type':Sequelize[_0x72aa('0x4')]},'deviceType':{'type':Sequelize[_0x72aa('0x4')]},'referer':{'type':Sequelize[_0x72aa('0x3')]},'customerIp':{'type':Sequelize[_0x72aa('0x4')]},'formData':{'type':Sequelize[_0x72aa('0x3')](_0x72aa('0x5'))},'read1stAt':{'type':Sequelize[_0x72aa('0x6')]},'lastMsgAt':{'type':Sequelize[_0x72aa('0x6')]},'lastMsgDirection':{'type':Sequelize[_0x72aa('0x7')]('in',_0x72aa('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x72aa('0x4')]},'customerPort':{'type':Sequelize[_0x72aa('0x4')]},'vidaooSessionId':{'type':Sequelize[_0x72aa('0x3')]}};