Built motion from commit 753c950e.|2.5.42
[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 _0xb74d=['star','TEXT','STRING','DATE','long','out','sequelize','BOOLEAN','ENUM','thumb'];(function(_0x30f385,_0x30d4c7){var _0x9ec4b0=function(_0x1274a2){while(--_0x1274a2){_0x30f385['push'](_0x30f385['shift']());}};_0x9ec4b0(++_0x30d4c7);}(_0xb74d,0x16e));var _0xdb74=function(_0x1af5b2,_0x1b82fe){_0x1af5b2=_0x1af5b2-0x0;var _0xf1aa2d=_0xb74d[_0x1af5b2];return _0xf1aa2d;};'use strict';var Sequelize=require(_0xdb74('0x0'));module['exports']={'closed':{'type':Sequelize[_0xdb74('0x1')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0xdb74('0x2')]('star',_0xdb74('0x3')),'defaultValue':_0xdb74('0x4')},'ratingMessage':{'type':Sequelize[_0xdb74('0x5')]},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize[_0xdb74('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xdb74('0x7')]},'disposition':{'type':Sequelize[_0xdb74('0x6')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xdb74('0x6')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0xdb74('0x6')]},'osName':{'type':Sequelize[_0xdb74('0x6')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0xdb74('0x6')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0xdb74('0x6')]},'referer':{'type':Sequelize[_0xdb74('0x5')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0xdb74('0x5')](_0xdb74('0x8'))},'read1stAt':{'type':Sequelize[_0xdb74('0x7')]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xdb74('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xdb74('0x6')]},'customerPort':{'type':Sequelize[_0xdb74('0x6')]},'vidaooSessionId':{'type':Sequelize[_0xdb74('0x5')]},'autoreplyExecuted':{'type':Sequelize[_0xdb74('0x1')],'defaultValue':![]}};