Built motion from commit (unavailable).|2.5.14
[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 _0xb82e=['ENUM','sequelize','exports','BOOLEAN','INTEGER','star','thumb','TEXT','STRING'];(function(_0x82129b,_0x484ae9){var _0x2ae5dc=function(_0x299e34){while(--_0x299e34){_0x82129b['push'](_0x82129b['shift']());}};_0x2ae5dc(++_0x484ae9);}(_0xb82e,0x172));var _0xeb82=function(_0x4a6584,_0x32afcb){_0x4a6584=_0x4a6584-0x0;var _0x54f82c=_0xb82e[_0x4a6584];return _0x54f82c;};'use strict';var Sequelize=require(_0xeb82('0x0'));module[_0xeb82('0x1')]={'closed':{'type':Sequelize[_0xeb82('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xeb82('0x3')]},'ratingType':{'type':Sequelize['ENUM'](_0xeb82('0x4'),_0xeb82('0x5')),'defaultValue':_0xeb82('0x4')},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize[_0xeb82('0x6')]},'mailTranscript':{'type':Sequelize[_0xeb82('0x7')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xeb82('0x7')]},'secondDisposition':{'type':Sequelize[_0xeb82('0x7')]},'thirdDisposition':{'type':Sequelize[_0xeb82('0x7')]},'note':{'type':Sequelize[_0xeb82('0x7')]},'browserName':{'type':Sequelize[_0xeb82('0x7')]},'browserVersion':{'type':Sequelize[_0xeb82('0x7')]},'osName':{'type':Sequelize[_0xeb82('0x7')]},'osVersion':{'type':Sequelize[_0xeb82('0x7')]},'deviceModel':{'type':Sequelize[_0xeb82('0x7')]},'deviceVendor':{'type':Sequelize[_0xeb82('0x7')]},'deviceType':{'type':Sequelize[_0xeb82('0x7')]},'referer':{'type':Sequelize['TEXT']},'customerIp':{'type':Sequelize[_0xeb82('0x7')]},'formData':{'type':Sequelize[_0xeb82('0x6')]('long')},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0xeb82('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0xeb82('0x7')]},'customerPort':{'type':Sequelize[_0xeb82('0x7')]},'vidaooSessionId':{'type':Sequelize[_0xeb82('0x6')]}};