Built motion from commit 1fd437e9.|2.6.19
[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 _0xa5bb=['out','BOOLEAN','sequelize','exports','INTEGER','ENUM','star','thumb','TEXT','STRING','DATE'];(function(_0x400ac4,_0x2eb641){var _0xda0dc8=function(_0x2a13bb){while(--_0x2a13bb){_0x400ac4['push'](_0x400ac4['shift']());}};_0xda0dc8(++_0x2eb641);}(_0xa5bb,0x18e));var _0xba5b=function(_0x16c3d5,_0x17b09e){_0x16c3d5=_0x16c3d5-0x0;var _0xd8a02a=_0xa5bb[_0x16c3d5];return _0xd8a02a;};'use strict';var Sequelize=require(_0xba5b('0x0'));module[_0xba5b('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xba5b('0x2')]},'ratingType':{'type':Sequelize[_0xba5b('0x3')](_0xba5b('0x4'),_0xba5b('0x5')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0xba5b('0x6')]},'pathTranscript':{'type':Sequelize[_0xba5b('0x6')]},'mailTranscript':{'type':Sequelize[_0xba5b('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xba5b('0x8')]},'disposition':{'type':Sequelize[_0xba5b('0x7')]},'secondDisposition':{'type':Sequelize[_0xba5b('0x7')]},'thirdDisposition':{'type':Sequelize[_0xba5b('0x7')]},'note':{'type':Sequelize[_0xba5b('0x7')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0xba5b('0x7')]},'osName':{'type':Sequelize[_0xba5b('0x7')]},'osVersion':{'type':Sequelize[_0xba5b('0x7')]},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0xba5b('0x7')]},'deviceType':{'type':Sequelize[_0xba5b('0x7')]},'referer':{'type':Sequelize[_0xba5b('0x6')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0xba5b('0x6')]('long')},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0xba5b('0x8')]},'lastMsgDirection':{'type':Sequelize[_0xba5b('0x3')]('in',_0xba5b('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0xba5b('0x7')]},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize[_0xba5b('0xa')],'defaultValue':![]},'queueId':{'type':Sequelize[_0xba5b('0x2')]}};