Built motion from commit 775e2a94.|2.6.3
[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 _0x30fc=['sequelize','exports','INTEGER','ENUM','star','thumb','TEXT','STRING','DATE','out'];(function(_0x5d6456,_0x58ecc7){var _0x4d66c1=function(_0x4335e3){while(--_0x4335e3){_0x5d6456['push'](_0x5d6456['shift']());}};_0x4d66c1(++_0x58ecc7);}(_0x30fc,0x64));var _0xc30f=function(_0x304c47,_0x4e0e20){_0x304c47=_0x304c47-0x0;var _0x2dbd2c=_0x30fc[_0x304c47];return _0x2dbd2c;};'use strict';var Sequelize=require(_0xc30f('0x0'));module[_0xc30f('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xc30f('0x2')]},'ratingType':{'type':Sequelize[_0xc30f('0x3')](_0xc30f('0x4'),_0xc30f('0x5')),'defaultValue':'star'},'ratingMessage':{'type':Sequelize[_0xc30f('0x6')]},'pathTranscript':{'type':Sequelize[_0xc30f('0x6')]},'mailTranscript':{'type':Sequelize[_0xc30f('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xc30f('0x8')]},'disposition':{'type':Sequelize[_0xc30f('0x7')]},'secondDisposition':{'type':Sequelize[_0xc30f('0x7')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xc30f('0x7')]},'browserName':{'type':Sequelize[_0xc30f('0x7')]},'browserVersion':{'type':Sequelize[_0xc30f('0x7')]},'osName':{'type':Sequelize[_0xc30f('0x7')]},'osVersion':{'type':Sequelize[_0xc30f('0x7')]},'deviceModel':{'type':Sequelize[_0xc30f('0x7')]},'deviceVendor':{'type':Sequelize[_0xc30f('0x7')]},'deviceType':{'type':Sequelize[_0xc30f('0x7')]},'referer':{'type':Sequelize[_0xc30f('0x6')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0xc30f('0x6')]('long')},'read1stAt':{'type':Sequelize[_0xc30f('0x8')]},'lastMsgAt':{'type':Sequelize[_0xc30f('0x8')]},'lastMsgDirection':{'type':Sequelize[_0xc30f('0x3')]('in',_0xc30f('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xc30f('0x7')]},'customerPort':{'type':Sequelize[_0xc30f('0x7')]},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};