Built motion from commit fe909640.|2.6.8
[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 _0xbdb7=['thumb','TEXT','STRING','long','DATE','sequelize','exports','BOOLEAN','INTEGER','ENUM','star'];(function(_0x157867,_0x2a6ddb){var _0x5c7524=function(_0x29344b){while(--_0x29344b){_0x157867['push'](_0x157867['shift']());}};_0x5c7524(++_0x2a6ddb);}(_0xbdb7,0x12e));var _0x7bdb=function(_0x26a10d,_0xe5c001){_0x26a10d=_0x26a10d-0x0;var _0xf90201=_0xbdb7[_0x26a10d];return _0xf90201;};'use strict';var Sequelize=require(_0x7bdb('0x0'));module[_0x7bdb('0x1')]={'closed':{'type':Sequelize[_0x7bdb('0x2')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x7bdb('0x3')]},'ratingType':{'type':Sequelize[_0x7bdb('0x4')](_0x7bdb('0x5'),_0x7bdb('0x6')),'defaultValue':_0x7bdb('0x5')},'ratingMessage':{'type':Sequelize[_0x7bdb('0x7')]},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize[_0x7bdb('0x8')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x7bdb('0x8')]},'thirdDisposition':{'type':Sequelize[_0x7bdb('0x8')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0x7bdb('0x8')]},'osName':{'type':Sequelize[_0x7bdb('0x8')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize['STRING']},'deviceVendor':{'type':Sequelize[_0x7bdb('0x8')]},'deviceType':{'type':Sequelize[_0x7bdb('0x8')]},'referer':{'type':Sequelize[_0x7bdb('0x7')]},'customerIp':{'type':Sequelize[_0x7bdb('0x8')]},'formData':{'type':Sequelize[_0x7bdb('0x7')](_0x7bdb('0x9'))},'read1stAt':{'type':Sequelize[_0x7bdb('0xa')]},'lastMsgAt':{'type':Sequelize[_0x7bdb('0xa')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x7bdb('0x8')]},'vidaooSessionId':{'type':Sequelize[_0x7bdb('0x7')]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};