Built motion from commit b0a9a629.|2.6.33
[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 _0x9b8a=['thumb','TEXT','STRING','DATE','long','out','INTEGER','sequelize','exports','BOOLEAN','ENUM','star'];(function(_0x33b18a,_0x16c9ee){var _0x806121=function(_0x20f872){while(--_0x20f872){_0x33b18a['push'](_0x33b18a['shift']());}};_0x806121(++_0x16c9ee);}(_0x9b8a,0x193));var _0xa9b8=function(_0x4496c1,_0x103294){_0x4496c1=_0x4496c1-0x0;var _0xa2da11=_0x9b8a[_0x4496c1];return _0xa2da11;};'use strict';var Sequelize=require(_0xa9b8('0x0'));module[_0xa9b8('0x1')]={'closed':{'type':Sequelize[_0xa9b8('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0xa9b8('0x3')](_0xa9b8('0x4'),_0xa9b8('0x5')),'defaultValue':_0xa9b8('0x4')},'ratingMessage':{'type':Sequelize[_0xa9b8('0x6')]},'pathTranscript':{'type':Sequelize[_0xa9b8('0x6')]},'mailTranscript':{'type':Sequelize[_0xa9b8('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xa9b8('0x8')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xa9b8('0x7')]},'thirdDisposition':{'type':Sequelize[_0xa9b8('0x7')]},'note':{'type':Sequelize[_0xa9b8('0x7')]},'browserName':{'type':Sequelize[_0xa9b8('0x7')]},'browserVersion':{'type':Sequelize[_0xa9b8('0x7')]},'osName':{'type':Sequelize[_0xa9b8('0x7')]},'osVersion':{'type':Sequelize[_0xa9b8('0x7')]},'deviceModel':{'type':Sequelize[_0xa9b8('0x7')]},'deviceVendor':{'type':Sequelize[_0xa9b8('0x7')]},'deviceType':{'type':Sequelize[_0xa9b8('0x7')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0xa9b8('0x6')](_0xa9b8('0x9'))},'read1stAt':{'type':Sequelize[_0xa9b8('0x8')]},'lastMsgAt':{'type':Sequelize[_0xa9b8('0x8')]},'lastMsgDirection':{'type':Sequelize[_0xa9b8('0x3')]('in',_0xa9b8('0xa')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0xa9b8('0x7')]},'vidaooSessionId':{'type':Sequelize[_0xa9b8('0x6')]},'autoreplyExecuted':{'type':Sequelize[_0xa9b8('0x2')],'defaultValue':![]},'queueId':{'type':Sequelize[_0xa9b8('0xb')]}};